Github user andrea-patricelli commented on a diff in the pull request:

    https://github.com/apache/syncope/pull/81#discussion_r210284153
  
    --- Diff: 
ide/netbeans/src/main/java/org/apache/syncope/ide/netbeans/view/ResourceExplorerTopComponent.java
 ---
    @@ -312,6 +312,26 @@ private void addReportXslts() {
             treeModel.reload();
         }
     
    +    private void addGroovyScripts() {
    +        for (ImplementationType type : ImplementationType.values()) {
    +            String implType = type.toString();
    +            DefaultMutableTreeNode tempNode = new 
DefaultMutableTreeNode(implType.toString());
    +           if (implType.equals("JWT_SSO_PROVIDER") || 
implType.equals("AUDIT_APPENDER")) {
    +                continue ;
    +           }
    +            List<ImplementationTO> scripts = 
implementationManagerService.list(type);
    +            for (ImplementationTO script : scripts) {
    +                 if (script.getEngine() == ImplementationEngine.GROOVY) {
    --- End diff --
    
    Use `.equals()` instead.


---

Reply via email to