directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1686391 - in /directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/model: AllowFeatureEnum.java SaslSecPropEnum.java
Date Fri, 19 Jun 2015 11:46:59 GMT
Author: elecharny
Date: Fri Jun 19 11:46:58 2015
New Revision: 1686391

URL: http://svn.apache.org/r1686391
Log:
Added Javadoc

Modified:
    directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/model/AllowFeatureEnum.java
    directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/model/SaslSecPropEnum.java

Modified: directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/model/AllowFeatureEnum.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/model/AllowFeatureEnum.java?rev=1686391&r1=1686390&r2=1686391&view=diff
==============================================================================
--- directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/model/AllowFeatureEnum.java
(original)
+++ directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/model/AllowFeatureEnum.java
Fri Jun 19 11:46:58 2015
@@ -20,7 +20,7 @@
 package org.apache.directory.studio.openldap.common.ui.model;
 
 /**
- * An enum for the various possible value of the olcRequires parameter. One of
+ * An enum for the various possible value of the olcAllows parameter. One of
  * <ul>
  * <li>bind_v2</li>
  * <li>bind_anon_cred</li>
@@ -52,7 +52,13 @@ public enum AllowFeatureEnum
     }
 
     
-    public static AllowFeatureEnum getFlag( String name )
+    /**
+     * Return an instance of AllowFeatureEnum from a String
+     * 
+     * @param name The feature's name
+     * @return The associated AllowFeatureEnum
+     */
+    public static AllowFeatureEnum getFeature( String name )
     {
         if ( BIND_V2.name.equalsIgnoreCase( name ) )
         {

Modified: directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/model/SaslSecPropEnum.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/model/SaslSecPropEnum.java?rev=1686391&r1=1686390&r2=1686391&view=diff
==============================================================================
--- directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/model/SaslSecPropEnum.java
(original)
+++ directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/model/SaslSecPropEnum.java
Fri Jun 19 11:46:58 2015
@@ -43,6 +43,7 @@ public enum SaslSecPropEnum
     
     /** A flag set when the property has a value */
     private boolean hasValue;
+    
     /**
      * A private constructor for this enum
      */



Mime
View raw message