directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1690999 - in /directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers: LimitWrapper.java LimitsWrapper.java
Date Tue, 14 Jul 2015 15:49:36 GMT
Author: elecharny
Date: Tue Jul 14 15:49:36 2015
New Revision: 1690999

URL: http://svn.apache.org/r1690999
Log:
o Fixed the LimitsWrapper toString() method
o Made the LimitWrapper method extend Comparable

Modified:
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers/LimitWrapper.java
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers/LimitsWrapper.java

Modified: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers/LimitWrapper.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers/LimitWrapper.java?rev=1690999&r1=1690998&r2=1690999&view=diff
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers/LimitWrapper.java
(original)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers/LimitWrapper.java
Tue Jul 14 15:49:36 2015
@@ -24,7 +24,7 @@ package org.apache.directory.studio.open
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public interface LimitWrapper
+public interface LimitWrapper extends Comparable<LimitWrapper>
 {
     // Define some of the used constants
     public static final Integer HARD_SOFT = Integer.valueOf( -3 );

Modified: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers/LimitsWrapper.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers/LimitsWrapper.java?rev=1690999&r1=1690998&r2=1690999&view=diff
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers/LimitsWrapper.java
(original)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers/LimitsWrapper.java
Tue Jul 14 15:49:36 2015
@@ -873,7 +873,11 @@ public class LimitsWrapper implements Cl
                     sb.append( '.' ).append( dnSpecStyle.getName() );
                 }
 
-                // fall through
+                sb.append( "=\"" );
+                sb.append( selectorPattern );
+                sb.append(  '\"' );
+                
+                break;
                 
             case GROUP :
                 if ( objectClass != null )
@@ -889,6 +893,7 @@ public class LimitsWrapper implements Cl
                 sb.append( "=\"" );
                 sb.append( selectorPattern );
                 sb.append(  '\"' );
+                
                 break;
         }
         



Mime
View raw message