directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1805833 - in /directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model: ./ database/ io/ overlay/ widgets/
Date Tue, 22 Aug 2017 22:08:58 GMT
Author: elecharny
Date: Tue Aug 22 22:08:57 2017
New Revision: 1805833

URL: http://svn.apache.org/viewvc?rev=1805833&view=rev
Log:
Fixed many Sonar lint warnings

Modified:
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcChainConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcDbIndex.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcDistProcConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcFrontendConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcGlobal.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcIncludeFile.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcModuleList.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcPBindConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcSchemaConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OpenLdapConfiguration.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcBdbConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcBdbConfigLockDetectEnum.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDatabaseConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDbPerlConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDbSocketConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcHdbConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcLDAPConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcLdifConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMdbConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMetaConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMonitorConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcNdbConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcNullConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcPasswdConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcRelayConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcShellConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcSqlConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/io/ConfigurationReader.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/io/ConfigurationUtils.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcAccessLogConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcAuditlogConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcMemberOf.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcMemberOfDanglingReferenceBehaviorEnum.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcPPolicyConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRefintConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRwmConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRwmMapValueTypeEnum.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcSyncProvConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcValSortConfig.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcValSortMethodEnum.java
    directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/widgets/LockDetectWidget.java

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcChainConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcChainConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcChainConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcChainConfig.java Tue Aug 22 22:08:57 2017
@@ -151,6 +151,7 @@ public class OlcChainConfig extends OlcO
     /**
      * {@inheritDoc}
      */
+    @Override
     public OlcChainConfig copy()
     {
         return new OlcChainConfig( this );

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcConfig.java Tue Aug 22 22:08:57 2017
@@ -37,7 +37,7 @@ public class OlcConfig
     protected Dn parentDn;
 
     /** The list of auxiliary object classes */
-    protected List<AuxiliaryObjectClass> auxiliaryObjectClasses = new ArrayList<AuxiliaryObjectClass>();
+    protected List<AuxiliaryObjectClass> auxiliaryObjectClasses = new ArrayList<>();
 
 
     /**
@@ -59,7 +59,7 @@ public class OlcConfig
      */
     public List<AuxiliaryObjectClass> getAuxiliaryObjectClasses()
     {
-        List<AuxiliaryObjectClass> copy = new ArrayList<AuxiliaryObjectClass>( auxiliaryObjectClasses.size() );
+        List<AuxiliaryObjectClass> copy = new ArrayList<>( auxiliaryObjectClasses.size() );
         copy.addAll( auxiliaryObjectClasses );
 
         return copy;
@@ -109,14 +109,14 @@ public class OlcConfig
     {
         if ( original != null )
         { 
-            List<String> copy = new ArrayList<String>( original.size() );
+            List<String> copy = new ArrayList<>( original.size() );
             copy.addAll( original );
     
             return copy;
         }
         else
         {
-            return new ArrayList<String>();
+            return new ArrayList<>();
         }
     }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcDbIndex.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcDbIndex.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcDbIndex.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcDbIndex.java Tue Aug 22 22:08:57 2017
@@ -48,10 +48,10 @@ public class OlcDbIndex
     private boolean isDefault = false;
 
     /** The list of attributes */
-    private List<String> attributes = new ArrayList<String>();
+    private List<String> attributes = new ArrayList<>();
 
     /** The list of index types */
-    private Set<DbIndexTypeEnum> indexTypes = new HashSet<DbIndexTypeEnum>();
+    private Set<DbIndexTypeEnum> indexTypes = new HashSet<>();
 
 
     /**
@@ -75,11 +75,11 @@ public class OlcDbIndex
 
             if ( components.length > 0 )
             {
-                String[] attributes = components[0].split( COMMA_SEPARATOR );
+                String[] attrs = components[0].split( COMMA_SEPARATOR );
 
-                if ( attributes.length > 0 )
+                if ( attrs.length > 0 )
                 {
-                    for ( String attribute : attributes )
+                    for ( String attribute : attrs )
                     {
                         addAttribute( attribute );
                     }
@@ -87,11 +87,11 @@ public class OlcDbIndex
 
                 if ( components.length == 2 )
                 {
-                    String[] indexTypes = components[1].split( COMMA_SEPARATOR );
+                    String[] indexes = components[1].split( COMMA_SEPARATOR );
 
-                    if ( indexTypes.length > 0 )
+                    if ( indexes.length > 0 )
                     {
-                        for ( String indexType : indexTypes )
+                        for ( String indexType : indexes )
                         {
                             DbIndexTypeEnum type = DbIndexTypeEnum.valueOf( indexType );
 
@@ -234,7 +234,7 @@ public class OlcDbIndex
         }
         else
         {
-            if ( attributes.size() > 0 )
+            if ( !attributes.isEmpty() )
             {
                 for ( String attribute : attributes )
                 {
@@ -252,7 +252,7 @@ public class OlcDbIndex
             }
         }
 
-        if ( indexTypes.size() > 0 )
+        if ( !indexTypes.isEmpty() )
         {
             sb.append( SPACE_SEPARATOR );
             isFirst = true;

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcDistProcConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcDistProcConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcDistProcConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcDistProcConfig.java Tue Aug 22 22:08:57 2017
@@ -101,6 +101,7 @@ public class OlcDistProcConfig extends O
     /**
      * {@inheritDoc}
      */
+    @Override
     public OlcDistProcConfig copy()
     {
         return new OlcDistProcConfig( this );

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcFrontendConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcFrontendConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcFrontendConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcFrontendConfig.java Tue Aug 22 22:08:57 2017
@@ -41,13 +41,13 @@ public class OlcFrontendConfig implement
      * Field for the 'olcPasswordHash' attribute.
      */
     @ConfigurationElement(attributeType = "olcPasswordHash")
-    private List<String> olcPasswordHash = new ArrayList<String>();
+    private List<String> olcPasswordHash = new ArrayList<>();
 
     /**
      * Field for the 'olcSortVals' attribute.
      */
     @ConfigurationElement(attributeType = "olcSortVals")
-    private List<String> olcSortVals = new ArrayList<String>();
+    private List<String> olcSortVals = new ArrayList<>();
 
 
     /**

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcGlobal.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcGlobal.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcGlobal.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcGlobal.java Tue Aug 22 22:08:57 2017
@@ -47,13 +47,13 @@ public class OlcGlobal extends OlcConfig
      * Field for the 'cn' attribute.
      */
     @ConfigurationElement(attributeType = "cn", isRdn = true)
-    private List<String> cn = new ArrayList<String>();
+    private List<String> cn = new ArrayList<>();
 
     /**
      * Field for the 'olcAllows' attribute.
      */
     @ConfigurationElement(attributeType = "olcAllows")
-    private List<String> olcAllows = new ArrayList<String>();
+    private List<String> olcAllows = new ArrayList<>();
 
     /**
      * Field for the 'olcArgsFile' attribute.
@@ -65,19 +65,19 @@ public class OlcGlobal extends OlcConfig
      * Field for the 'olcAttributeOptions' attribute.
      */
     @ConfigurationElement(attributeType = "olcAttributeOptions")
-    private List<String> olcAttributeOptions = new ArrayList<String>();
+    private List<String> olcAttributeOptions = new ArrayList<>();
 
     /**
      * Field for the 'olcAttributeTypes' attribute.
      */
     @ConfigurationElement(attributeType = "olcAttributeTypes")
-    private List<String> olcAttributeTypes = new ArrayList<String>();
+    private List<String> olcAttributeTypes = new ArrayList<>();
 
     /**
      * Field for the 'olcAuthIDRewrite' attribute.
      */
     @ConfigurationElement(attributeType = "olcAuthIDRewrite")
-    private List<String> olcAuthIDRewrite = new ArrayList<String>();
+    private List<String> olcAuthIDRewrite = new ArrayList<>();
 
     /**
      * Field for the 'olcAuthzPolicy' attribute.
@@ -89,7 +89,7 @@ public class OlcGlobal extends OlcConfig
      * Field for the 'olcAuthzRegexp' attribute.
      */
     @ConfigurationElement(attributeType = "olcAuthzRegexp")
-    private List<String> olcAuthzRegexp = new ArrayList<String>();
+    private List<String> olcAuthzRegexp = new ArrayList<>();
 
     /**
      * Field for the 'olcConcurrency' attribute.
@@ -125,13 +125,13 @@ public class OlcGlobal extends OlcConfig
      * Field for the 'olcDisallows' attribute.
      */
     @ConfigurationElement(attributeType = "olcDisallows")
-    private List<String> olcDisallows = new ArrayList<String>();
+    private List<String> olcDisallows = new ArrayList<>();
 
     /**
      * Field for the 'olcDitContentRules' attribute.
      */
     @ConfigurationElement(attributeType = "olcDitContentRules")
-    private List<String> olcDitContentRules = new ArrayList<String>();
+    private List<String> olcDitContentRules = new ArrayList<>();
 
     /**
      * Field for the 'olcGentleHUP' attribute.
@@ -185,7 +185,7 @@ public class OlcGlobal extends OlcConfig
      * Field for the 'olcLdapSyntaxes' attribute.
      */
     @ConfigurationElement(attributeType = "olcLdapSyntaxes")
-    private List<String> olcLdapSyntaxes = new ArrayList<String>();
+    private List<String> olcLdapSyntaxes = new ArrayList<>();
 
     /**
      * Field for the 'olcListenerThreads' attribute.  (Added in OpenLDAP 2.4.36)
@@ -209,19 +209,19 @@ public class OlcGlobal extends OlcConfig
      * Field for the 'olcLogLevel' attribute.
      */
     @ConfigurationElement(attributeType = "olcLogLevel")
-    private List<String> olcLogLevel = new ArrayList<String>();
+    private List<String> olcLogLevel = new ArrayList<>();
 
     /**
      * Field for the 'olcObjectClasses' attribute.
      */
     @ConfigurationElement(attributeType = "olcObjectClasses")
-    private List<String> olcObjectClasses = new ArrayList<String>();
+    private List<String> olcObjectClasses = new ArrayList<>();
 
     /**
      * Field for the 'olcObjectIdentifier' attribute.
      */
     @ConfigurationElement(attributeType = "olcObjectIdentifier")
-    private List<String> olcObjectIdentifier = new ArrayList<String>();
+    private List<String> olcObjectIdentifier = new ArrayList<>();
 
     /**
      * Field for the 'olcPasswordCryptSaltFormat' attribute.
@@ -233,7 +233,7 @@ public class OlcGlobal extends OlcConfig
      * Field for the 'olcPasswordHash' attribute.
      */
     @ConfigurationElement(attributeType = "olcPasswordHash")
-    private List<String> olcPasswordHash = new ArrayList<String>();
+    private List<String> olcPasswordHash = new ArrayList<>();
 
     /**
      * Field for the 'olcPidFile' attribute.
@@ -269,13 +269,13 @@ public class OlcGlobal extends OlcConfig
      * Field for the 'olcRequires' attribute.
      */
     @ConfigurationElement(attributeType = "olcRequires")
-    private List<String> olcRequires = new ArrayList<String>();
+    private List<String> olcRequires = new ArrayList<>();
 
     /**
      * Field for the 'olcRestrict' attribute.
      */
     @ConfigurationElement(attributeType = "olcRestrict")
-    private List<String> olcRestrict = new ArrayList<String>();
+    private List<String> olcRestrict = new ArrayList<>();
 
     /**
      * Field for the 'olcReverseLookup' attribute.
@@ -329,13 +329,13 @@ public class OlcGlobal extends OlcConfig
      * Field for the 'olcSecurity' attribute.
      */
     @ConfigurationElement(attributeType = "olcSecurity")
-    private List<String> olcSecurity = new ArrayList<String>();
+    private List<String> olcSecurity = new ArrayList<>();
 
     /**
      * Field for the 'olcServerID' attribute.
      */
     @ConfigurationElement(attributeType = "olcServerID")
-    private List<String> olcServerID = new ArrayList<String>();
+    private List<String> olcServerID = new ArrayList<>();
 
     /**
      * Field for the 'olcSizeLimit' attribute.
@@ -359,7 +359,7 @@ public class OlcGlobal extends OlcConfig
      * Field for the 'olcTCPBuffer' attribute. (Added in OpenLDAP 2.4.18)
      */
     @ConfigurationElement(attributeType = "olcTCPBuffer")
-    private List<String> olcTCPBuffer = new ArrayList<String>();
+    private List<String> olcTCPBuffer = new ArrayList<>();
 
     /**
      * Field for the 'olcThreads' attribute. (Added in OpenLDAP 2.4.36)
@@ -377,7 +377,7 @@ public class OlcGlobal extends OlcConfig
      * Field for the 'olcTimeLimit' attribute.
      */
     @ConfigurationElement(attributeType = "olcTimeLimit")
-    private List<String> olcTimeLimit = new ArrayList<String>();
+    private List<String> olcTimeLimit = new ArrayList<>();
 
     /**
      * Field for the 'olcTLSCACertificateFile' attribute.

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcIncludeFile.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcIncludeFile.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcIncludeFile.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcIncludeFile.java Tue Aug 22 22:08:57 2017
@@ -35,19 +35,19 @@ public class OlcIncludeFile extends OlcC
      * Field for the 'cn' attribute.
      */
     @ConfigurationElement(attributeType = "cn", isRdn = true)
-    private List<String> cn = new ArrayList<String>();
+    private List<String> cn = new ArrayList<>();
 
     /**
      * Field for the 'olcInclude' attribute.
      */
     @ConfigurationElement(attributeType = "olcInclude", isOptional = false)
-    private List<String> olcInclude = new ArrayList<String>();
+    private List<String> olcInclude = new ArrayList<>();
 
     /**
      * Field for the 'olcRootDSE' attribute.
      */
     @ConfigurationElement(attributeType = "olcRootDSE")
-    private List<String> olcRootDSE = new ArrayList<String>();
+    private List<String> olcRootDSE = new ArrayList<>();
 
 
     /**

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcModuleList.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcModuleList.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcModuleList.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcModuleList.java Tue Aug 22 22:08:57 2017
@@ -35,13 +35,13 @@ public class OlcModuleList extends OlcCo
      * Field for the 'cn' attribute.
      */
     @ConfigurationElement(attributeType = "cn", isRdn = true)
-    private List<String> cn = new ArrayList<String>();
+    private List<String> cn = new ArrayList<>();
 
     /**
      * Field for the 'olcAllows' attribute.
      */
     @ConfigurationElement(attributeType = "olcModuleLoad")
-    private List<String> olcModuleLoad = new ArrayList<String>();
+    private List<String> olcModuleLoad = new ArrayList<>();
 
     /**
      * Field for the 'olcModulePath' attribute.

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcPBindConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcPBindConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcPBindConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcPBindConfig.java Tue Aug 22 22:08:57 2017
@@ -151,6 +151,7 @@ public class OlcPBindConfig extends OlcO
     /**
      * {@inheritDoc}
      */
+    @Override
     public OlcPBindConfig copy()
     {
         return new OlcPBindConfig( this );

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcSchemaConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcSchemaConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcSchemaConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OlcSchemaConfig.java Tue Aug 22 22:08:57 2017
@@ -35,37 +35,37 @@ public class OlcSchemaConfig extends Olc
      * Field for the 'cn' attribute.
      */
     @ConfigurationElement(attributeType = "cn", isRdn = true)
-    private List<String> cn = new ArrayList<String>();
+    private List<String> cn = new ArrayList<>();
 
     /**
      * Field for the 'olcAttributeTypes' attribute.
      */
     @ConfigurationElement(attributeType = "olcAttributeTypes")
-    private List<String> olcAttributeTypes = new ArrayList<String>();
+    private List<String> olcAttributeTypes = new ArrayList<>();
 
     /**
      * Field for the 'olcDitContentRules' attribute.
      */
     @ConfigurationElement(attributeType = "olcDitContentRules")
-    private List<String> olcDitContentRules = new ArrayList<String>();
+    private List<String> olcDitContentRules = new ArrayList<>();
 
     /**
      * Field for the 'olcLdapSyntaxes' attribute.
      */
     @ConfigurationElement(attributeType = "olcLdapSyntaxes")
-    private List<String> olcLdapSyntaxes = new ArrayList<String>();
+    private List<String> olcLdapSyntaxes = new ArrayList<>();
 
     /**
      * Field for the 'olcObjectClasses' attribute.
      */
     @ConfigurationElement(attributeType = "olcObjectClasses")
-    private List<String> olcObjectClasses = new ArrayList<String>();
+    private List<String> olcObjectClasses = new ArrayList<>();
 
     /**
      * Field for the 'olcObjectIdentifier' attribute.
      */
     @ConfigurationElement(attributeType = "olcObjectIdentifier")
-    private List<String> olcObjectIdentifier = new ArrayList<String>();
+    private List<String> olcObjectIdentifier = new ArrayList<>();
 
 
     public void clearCn()

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OpenLdapConfiguration.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OpenLdapConfiguration.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OpenLdapConfiguration.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/OpenLdapConfiguration.java Tue Aug 22 22:08:57 2017
@@ -43,13 +43,13 @@ public class OpenLdapConfiguration
     private OlcGlobal global;
 
     /** The databases list */
-    private List<OlcDatabaseConfig> databases = new ArrayList<OlcDatabaseConfig>();
+    private List<OlcDatabaseConfig> databases = new ArrayList<>();
 
     /** The other configuration elements list*/
-    private List<OlcConfig> configurationElements = new ArrayList<OlcConfig>();
+    private List<OlcConfig> configurationElements = new ArrayList<>();
     
     /** The loaded modules */
-    private List<OlcModuleList> modules = new ArrayList<OlcModuleList>();
+    private List<OlcModuleList> modules = new ArrayList<>();
 
 
     /**

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcBdbConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcBdbConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcBdbConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcBdbConfig.java Tue Aug 22 22:08:57 2017
@@ -62,7 +62,7 @@ public class OlcBdbConfig extends OlcDat
      * Field for the 'olcDbConfig' attribute.
      */
     @ConfigurationElement(attributeType = "olcDbConfig")
-    private List<String> olcDbConfig = new ArrayList<String>();
+    private List<String> olcDbConfig = new ArrayList<>();
 
     /**
      * Field for the 'olcDbCryptFile' attribute.
@@ -98,7 +98,7 @@ public class OlcBdbConfig extends OlcDat
      * Field for the 'olcDbIndex' attribute.
      */
     @ConfigurationElement(attributeType = "olcDbIndex")
-    private List<String> olcDbIndex = new ArrayList<String>();
+    private List<String> olcDbIndex = new ArrayList<>();
 
     /**
      * Field for the 'olcDbLinearIndex' attribute.
@@ -128,7 +128,7 @@ public class OlcBdbConfig extends OlcDat
      * Field for the 'olcDbPageSize' attribute.
      */
     @ConfigurationElement(attributeType = "olcDbPageSize")
-    private List<String> olcDbPageSize = new ArrayList<String>();
+    private List<String> olcDbPageSize = new ArrayList<>();
 
     /**
      * Field for the 'olcDbSearchStack' attribute.
@@ -540,8 +540,9 @@ public class OlcBdbConfig extends OlcDat
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.BDB.toString().toLowerCase();
-    };
+    }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcBdbConfigLockDetectEnum.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcBdbConfigLockDetectEnum.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcBdbConfigLockDetectEnum.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcBdbConfigLockDetectEnum.java Tue Aug 22 22:08:57 2017
@@ -94,6 +94,7 @@ public enum OlcBdbConfigLockDetectEnum
     /**
      * {@inheritDoc}
      */
+    @Override
     public String toString()
     {
         switch ( this )

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDatabaseConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDatabaseConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDatabaseConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDatabaseConfig.java Tue Aug 22 22:08:57 2017
@@ -75,7 +75,7 @@ public class OlcDatabaseConfig extends O
      * Field for the 'olcAccess' attribute, which is an ordered multi-value String attribute
      */
     @ConfigurationElement(attributeType = "olcAccess")
-    private List<String> olcAccess = new ArrayList<String>();
+    private List<String> olcAccess = new ArrayList<>();
 
 
     /**
@@ -118,7 +118,7 @@ public class OlcDatabaseConfig extends O
      * Field for the 'olcLimits' attribute.
      */
     @ConfigurationElement(attributeType = "olcLimits")
-    private List<String> olcLimits = new ArrayList<String>();
+    private List<String> olcLimits = new ArrayList<>();
 
     /**
      * Field for the 'olcMaxDerefDepth' attribute.
@@ -142,7 +142,7 @@ public class OlcDatabaseConfig extends O
      * Field for the 'olcPlugin' attribute.
      */
     @ConfigurationElement(attributeType = "olcPlugin")
-    private List<String> olcPlugin = new ArrayList<String>();
+    private List<String> olcPlugin = new ArrayList<>();
 
     /**
      * Field for the 'olcReadOnly' attribute.
@@ -154,7 +154,7 @@ public class OlcDatabaseConfig extends O
      * Field for the 'olcReplica' attribute.
      */
     @ConfigurationElement(attributeType = "olcReplica")
-    private List<String> olcReplica = new ArrayList<String>();
+    private List<String> olcReplica = new ArrayList<>();
 
     /**
      * Field for the 'olcReplicaArgsFile' attribute.
@@ -184,13 +184,13 @@ public class OlcDatabaseConfig extends O
      * Field for the 'olcRequires' attribute.
      */
     @ConfigurationElement(attributeType = "olcRequires")
-    private List<String> olcRequires = new ArrayList<String>();
+    private List<String> olcRequires = new ArrayList<>();
 
     /**
      * Field for the 'olcRestrict' attribute.
      */
     @ConfigurationElement(attributeType = "olcRestrict")
-    private List<String> olcRestrict = new ArrayList<String>();
+    private List<String> olcRestrict = new ArrayList<>();
 
     /**
      * Field for the 'olcRootDN' attribute.
@@ -214,7 +214,7 @@ public class OlcDatabaseConfig extends O
      * Field for the 'olcSecurity' attribute.
      */
     @ConfigurationElement(attributeType = "olcSecurity")
-    private List<String> olcSecurity = new ArrayList<String>();
+    private List<String> olcSecurity = new ArrayList<>();
 
     /**
      * Field for the 'olcSizeLimit' attribute.
@@ -232,13 +232,13 @@ public class OlcDatabaseConfig extends O
      * Field for the 'olcSuffix' attribute.
      */
     @ConfigurationElement(attributeType = "olcSuffix")
-    private List<Dn> olcSuffix = new ArrayList<Dn>();
+    private List<Dn> olcSuffix = new ArrayList<>();
 
     /**
      * Field for the 'olcSyncrepl' attribute.
      */
     @ConfigurationElement(attributeType = "olcSyncrepl")
-    private List<String> olcSyncrepl = new ArrayList<String>();
+    private List<String> olcSyncrepl = new ArrayList<>();
 
     /**
      * Field for the 'olcSyncUseSubentry' attribute. (Added in OpenLDAP 2.4.20)
@@ -250,7 +250,7 @@ public class OlcDatabaseConfig extends O
      * Field for the 'olcTimeLimit' attribute.
      */
     @ConfigurationElement(attributeType = "olcTimeLimit")
-    private List<String> olcTimeLimit = new ArrayList<String>();
+    private List<String> olcTimeLimit = new ArrayList<>();
 
     /**
      * Field for the 'olcUpdateDN' attribute.
@@ -262,12 +262,12 @@ public class OlcDatabaseConfig extends O
      * Field for the 'olcUpdateRef' attribute.
      */
     @ConfigurationElement(attributeType = "olcUpdateRef")
-    private List<String> olcUpdateRef = new ArrayList<String>();
+    private List<String> olcUpdateRef = new ArrayList<>();
     
     /**
      * The overlays list
      */
-    private List<OlcOverlayConfig> overlays = new ArrayList<OlcOverlayConfig>();
+    private List<OlcOverlayConfig> overlays = new ArrayList<>();
 
 
     /**

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDbPerlConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDbPerlConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDbPerlConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDbPerlConfig.java Tue Aug 22 22:08:57 2017
@@ -33,8 +33,9 @@ public class OlcDbPerlConfig extends Olc
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.DB_PERL.toString().toLowerCase();
-    };
+    }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDbSocketConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDbSocketConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDbSocketConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcDbSocketConfig.java Tue Aug 22 22:08:57 2017
@@ -44,7 +44,7 @@ public class OlcDbSocketConfig extends O
      * Field for the 'olcDbSocketExtensions' attribute.
      */
     @ConfigurationElement(attributeType = "olcDbSocketExtensions")
-    private List<String> olcDbSocketExtensions = new ArrayList<String>();
+    private List<String> olcDbSocketExtensions = new ArrayList<>();
 
 
     /**
@@ -104,8 +104,9 @@ public class OlcDbSocketConfig extends O
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.DB_SOCKET.toString().toLowerCase();
-    };
+    }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcHdbConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcHdbConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcHdbConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcHdbConfig.java Tue Aug 22 22:08:57 2017
@@ -33,8 +33,9 @@ public class OlcHdbConfig extends OlcBdb
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.HDB.toString().toLowerCase();
-    };
+    }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcLDAPConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcLDAPConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcLDAPConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcLDAPConfig.java Tue Aug 22 22:08:57 2017
@@ -87,7 +87,7 @@ public class OlcLDAPConfig extends OlcDa
      * Field for the 'olcDbIDAssertAuthzFrom' attribute.
      */
     @ConfigurationElement(attributeType = "olcDbIDAssertAuthzFrom")
-    private List<String> olcDbIDAssertAuthzFrom = new ArrayList<String>();
+    private List<String> olcDbIDAssertAuthzFrom = new ArrayList<>();
 
     /**
      * Field for the 'olcDbIDAssertBind' attribute.
@@ -105,7 +105,7 @@ public class OlcLDAPConfig extends OlcDa
      * Field for the 'olcDbIDAssertPassThru' attribute.
      */
     @ConfigurationElement(attributeType = "olcDbIDAssertPassThru")
-    private List<String> olcDbIDAssertPassThru = new ArrayList<String>();
+    private List<String> olcDbIDAssertPassThru = new ArrayList<>();
 
     /**
      * Field for the 'olcDbIDAssertPasswd' attribute.
@@ -795,8 +795,9 @@ public class OlcLDAPConfig extends OlcDa
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.LDAP.toString().toLowerCase();
-    };
+    }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcLdifConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcLdifConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcLdifConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcLdifConfig.java Tue Aug 22 22:08:57 2017
@@ -57,8 +57,9 @@ public class OlcLdifConfig extends OlcDa
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.LDIF.toString().toLowerCase();
-    };
+    }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMdbConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMdbConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMdbConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMdbConfig.java Tue Aug 22 22:08:57 2017
@@ -64,13 +64,13 @@ public class OlcMdbConfig extends OlcDat
      * Field for the 'olcDbEnvFlags' attribute.
      */
     @ConfigurationElement(attributeType = "olcDbEnvFlags")
-    private List<String> olcDbEnvFlags = new ArrayList<String>();
+    private List<String> olcDbEnvFlags = new ArrayList<>();
 
     /**
      * Field for the 'olcDbIndex' attribute.
      */
     @ConfigurationElement(attributeType = "olcDbIndex")
-    private List<String> olcDbIndex = new ArrayList<String>();
+    private List<String> olcDbIndex = new ArrayList<>();
 
     /**
      * Field for the 'olcDbMaxEntrySize' attribute.
@@ -328,10 +328,11 @@ public class OlcMdbConfig extends OlcDat
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.MDB.toString().toLowerCase();
-    };
+    }
     
     
     /**
@@ -339,7 +340,7 @@ public class OlcMdbConfig extends OlcDat
      */
     public String toString()
     {
-        if ( getOlcSuffix().size() > 0 )
+        if ( !getOlcSuffix().isEmpty() )
         { 
             return getOlcDatabase() + ":" + getOlcSuffix().get( 0 );
         }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMetaConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMetaConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMetaConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMetaConfig.java Tue Aug 22 22:08:57 2017
@@ -33,8 +33,9 @@ public class OlcMetaConfig extends OlcDa
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.META.toString().toLowerCase();
-    };
+    }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMonitorConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMonitorConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMonitorConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcMonitorConfig.java Tue Aug 22 22:08:57 2017
@@ -35,8 +35,9 @@ public class OlcMonitorConfig extends Ol
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.MONITOR.toString().toLowerCase();
-    };
+    }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcNdbConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcNdbConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcNdbConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcNdbConfig.java Tue Aug 22 22:08:57 2017
@@ -35,8 +35,9 @@ public class OlcNdbConfig extends OlcDat
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.NDB.toString().toLowerCase();
-    };
+    }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcNullConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcNullConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcNullConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcNullConfig.java Tue Aug 22 22:08:57 2017
@@ -59,8 +59,9 @@ public class OlcNullConfig extends OlcDa
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.NULL.toString().toLowerCase();
-    };
+    }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcPasswdConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcPasswdConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcPasswdConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcPasswdConfig.java Tue Aug 22 22:08:57 2017
@@ -35,8 +35,9 @@ public class OlcPasswdConfig extends Olc
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.PASSWD.toString().toLowerCase();
-    };
+    }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcRelayConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcRelayConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcRelayConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcRelayConfig.java Tue Aug 22 22:08:57 2017
@@ -60,8 +60,9 @@ public class OlcRelayConfig extends OlcD
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.RELAY.toString().toLowerCase();
-    };
+    }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcShellConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcShellConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcShellConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcShellConfig.java Tue Aug 22 22:08:57 2017
@@ -35,8 +35,9 @@ public class OlcShellConfig extends OlcD
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.SHELL.toString().toLowerCase();
-    };
+    }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcSqlConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcSqlConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcSqlConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/database/OlcSqlConfig.java Tue Aug 22 22:08:57 2017
@@ -35,8 +35,9 @@ public class OlcSqlConfig extends OlcDat
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getOlcDatabaseType()
     {
         return DatabaseTypeEnum.SQL.toString().toLowerCase();
-    };
+    }
 }

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/io/ConfigurationReader.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/io/ConfigurationReader.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/io/ConfigurationReader.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/io/ConfigurationReader.java Tue Aug 22 22:08:57 2017
@@ -85,6 +85,12 @@ import org.eclipse.osgi.util.NLS;
  */
 public class ConfigurationReader
 {
+    private ConfigurationReader()
+    {
+        // Nothing to do
+    }
+    
+    
     /** The package name where the model classes are stored */
     private static final String MODEL_PACKAGE_NAME = "org.apache.directory.studio.openldap.config.model";
 

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/io/ConfigurationUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/io/ConfigurationUtils.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/io/ConfigurationUtils.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/io/ConfigurationUtils.java Tue Aug 22 22:08:57 2017
@@ -42,6 +42,12 @@ import org.eclipse.core.runtime.NullProg
  */
 public class ConfigurationUtils
 {
+    private ConfigurationUtils()
+    {
+        // Nothing to do
+    }
+    
+    
     /** The default OpenLDAP configuration DN */
     public static final String DEFAULT_CONFIG_DN = "cn=config";
 

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcAccessLogConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcAccessLogConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcAccessLogConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcAccessLogConfig.java Tue Aug 22 22:08:57 2017
@@ -51,13 +51,13 @@ public class OlcAccessLogConfig extends
      * Field for the 'olcAccessLogOldAttr' attribute.
      */
     @ConfigurationElement(attributeType = "olcAccessLogOldAttr")
-    private List<String> olcAccessLogOldAttr = new ArrayList<String>();
+    private List<String> olcAccessLogOldAttr = new ArrayList<>();
 
     /**
      * Field for the 'olcAccessLogOps' attribute.
      */
     @ConfigurationElement(attributeType = "olcAccessLogOps")
-    private List<String> olcAccessLogOps = new ArrayList<String>();
+    private List<String> olcAccessLogOps = new ArrayList<>();
 
     /**
      * Field for the 'olcAccessLogPurge' attribute.
@@ -92,8 +92,8 @@ public class OlcAccessLogConfig extends
         super( o );
         olcAccessLogDB = o.olcAccessLogDB;
         olcAccessLogOld = o.olcAccessLogOld;
-        olcAccessLogOldAttr = new ArrayList<String>( olcAccessLogOldAttr );
-        olcAccessLogOps = new ArrayList<String>( o.olcAccessLogOps );
+        olcAccessLogOldAttr = new ArrayList<>( olcAccessLogOldAttr );
+        olcAccessLogOps = new ArrayList<>( o.olcAccessLogOps );
         olcAccessLogPurge = o.olcAccessLogPurge;
         olcAccessLogSuccess = o.olcAccessLogSuccess;
     }
@@ -246,6 +246,7 @@ public class OlcAccessLogConfig extends
     /**
      * {@inheritDoc}
      */
+    @Override
     public OlcAccessLogConfig copy()
     {
         return new OlcAccessLogConfig( this );

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcAuditlogConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcAuditlogConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcAuditlogConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcAuditlogConfig.java Tue Aug 22 22:08:57 2017
@@ -38,7 +38,7 @@ public class OlcAuditlogConfig extends O
      * Field for the 'olcAuditlogFile' attribute.
      */
     @ConfigurationElement(attributeType = "olcAuditlogFile")
-    private List<String> olcAuditlogFile = new ArrayList<String>();
+    private List<String> olcAuditlogFile = new ArrayList<>();
 
 
     /**
@@ -59,7 +59,7 @@ public class OlcAuditlogConfig extends O
     public OlcAuditlogConfig( OlcAuditlogConfig o )
     {
         super( o );
-        olcAuditlogFile = new ArrayList<String>( olcAuditlogFile );
+        olcAuditlogFile = new ArrayList<>( olcAuditlogFile );
     }
 
 
@@ -102,6 +102,7 @@ public class OlcAuditlogConfig extends O
     /**
      * {@inheritDoc}
      */
+    @Override
     public OlcAuditlogConfig copy()
     {
         return new OlcAuditlogConfig( this );

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcMemberOf.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcMemberOf.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcMemberOf.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcMemberOf.java Tue Aug 22 22:08:57 2017
@@ -232,6 +232,7 @@ public class OlcMemberOf extends OlcOver
     /**
      * {@inheritDoc}
      */
+    @Override
     public OlcMemberOf copy()
     {
         return new OlcMemberOf( this );

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcMemberOfDanglingReferenceBehaviorEnum.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcMemberOfDanglingReferenceBehaviorEnum.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcMemberOfDanglingReferenceBehaviorEnum.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcMemberOfDanglingReferenceBehaviorEnum.java Tue Aug 22 22:08:57 2017
@@ -74,6 +74,7 @@ public enum OlcMemberOfDanglingReference
     /**
      * {@inheritDoc}
      */
+    @Override
     public String toString()
     {
         switch ( this )

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcPPolicyConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcPPolicyConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcPPolicyConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcPPolicyConfig.java Tue Aug 22 22:08:57 2017
@@ -157,6 +157,7 @@ public class OlcPPolicyConfig extends Ol
     /**
      * {@inheritDoc}
      */
+    @Override
     public OlcPPolicyConfig copy()
     {
         return new OlcPPolicyConfig( this );

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRefintConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRefintConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRefintConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRefintConfig.java Tue Aug 22 22:08:57 2017
@@ -39,7 +39,7 @@ public class OlcRefintConfig extends Olc
      * Field for the 'olcRefintAttribute' attribute.
      */
     @ConfigurationElement(attributeType = "olcRefintAttribute")
-    private List<String> olcRefintAttribute = new ArrayList<String>();
+    private List<String> olcRefintAttribute = new ArrayList<>();
 
     /**
      * Field for the 'olcRefintNothing' attribute.
@@ -147,6 +147,7 @@ public class OlcRefintConfig extends Olc
     /**
      * {@inheritDoc}
      */
+    @Override
     public OlcRefintConfig copy()
     {
         return new OlcRefintConfig( this );

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRwmConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRwmConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRwmConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRwmConfig.java Tue Aug 22 22:08:57 2017
@@ -38,7 +38,7 @@ public class OlcRwmConfig extends OlcOve
      * Field for the 'olcRwmMap' attribute.
      */
     @ConfigurationElement(attributeType = "olcRwmMap")
-    private List<String> olcRwmMap = new ArrayList<String>();
+    private List<String> olcRwmMap = new ArrayList<>();
 
     /**
      * Field for the 'olcRwmNormalizeMapped' attribute.
@@ -50,7 +50,7 @@ public class OlcRwmConfig extends OlcOve
      * Field for the 'olcRwmRewrite' attribute.
      */
     @ConfigurationElement(attributeType = "olcRwmRewrite")
-    private List<String> olcRwmRewrite = new ArrayList<String>();
+    private List<String> olcRwmRewrite = new ArrayList<>();
 
     /**
      * Field for the 'olcRwmTFSupport' attribute.
@@ -200,6 +200,7 @@ public class OlcRwmConfig extends OlcOve
     /**
      * {@inheritDoc}
      */
+    @Override
     public OlcRwmConfig copy()
     {
         return new OlcRwmConfig( this );

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRwmMapValueTypeEnum.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRwmMapValueTypeEnum.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRwmMapValueTypeEnum.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcRwmMapValueTypeEnum.java Tue Aug 22 22:08:57 2017
@@ -64,6 +64,7 @@ public enum OlcRwmMapValueTypeEnum
     /**
      * {@inheritDoc}
      */
+    @Override
     public String toString()
     {
         switch ( this )

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcSyncProvConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcSyncProvConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcSyncProvConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcSyncProvConfig.java Tue Aug 22 22:08:57 2017
@@ -155,6 +155,7 @@ public class OlcSyncProvConfig extends O
     /**
      * {@inheritDoc}
      */
+    @Override
     public OlcSyncProvConfig copy()
     {
         return new OlcSyncProvConfig( this );

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcValSortConfig.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcValSortConfig.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcValSortConfig.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcValSortConfig.java Tue Aug 22 22:08:57 2017
@@ -38,7 +38,7 @@ public class OlcValSortConfig extends Ol
      * Field for the 'olcValSortAttr' attribute.
      */
     @ConfigurationElement(attributeType = "olcValSortAttr", isOptional = false)
-    private List<String> olcValSortAttr = new ArrayList<String>();
+    private List<String> olcValSortAttr = new ArrayList<>();
 
 
     /**
@@ -104,6 +104,7 @@ public class OlcValSortConfig extends Ol
     /**
      * {@inheritDoc}
      */
+    @Override
     public OlcValSortConfig copy()
     {
         return new OlcValSortConfig( this );

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcValSortMethodEnum.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcValSortMethodEnum.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcValSortMethodEnum.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/overlay/OlcValSortMethodEnum.java Tue Aug 22 22:08:57 2017
@@ -84,6 +84,7 @@ public enum OlcValSortMethodEnum
     /**
      * {@inheritDoc}
      */
+    @Override
     public String toString()
     {
         switch ( this )

Modified: directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/widgets/LockDetectWidget.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/widgets/LockDetectWidget.java?rev=1805833&r1=1805832&r2=1805833&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/widgets/LockDetectWidget.java (original)
+++ directory/studio/branches/studio-value/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/model/widgets/LockDetectWidget.java Tue Aug 22 22:08:57 2017
@@ -90,6 +90,7 @@ public class LockDetectWidget extends Ab
         comboViewer.setContentProvider( new ArrayContentProvider() );
         comboViewer.setLabelProvider( new LabelProvider()
         {
+            @Override
             public String getText( Object element )
             {
                 if ( element instanceof NoneObject )
@@ -118,9 +119,7 @@ public class LockDetectWidget extends Ab
                 return super.getText( element );
             }
         } );
-        comboViewer.addSelectionChangedListener( new ISelectionChangedListener()
-        {
-            public void selectionChanged( SelectionChangedEvent event )
+        comboViewer.addSelectionChangedListener( event ->
             {
                 value = null;
 
@@ -137,8 +136,7 @@ public class LockDetectWidget extends Ab
                 }
 
                 notifyListeners();
-            }
-        } );
+            } );
         comboViewer.setInput( comboViewerValues );
         comboViewer.setSelection( new StructuredSelection( comboViewerValues[0] ) );
     }



Mime
View raw message