directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r291083 - /directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/acl/AuthenticationLevel.java
Date Fri, 23 Sep 2005 06:40:04 GMT
Author: trustin
Date: Thu Sep 22 23:40:00 2005
New Revision: 291083

URL: http://svn.apache.org/viewcvs?rev=291083&view=rev
Log:
Renamed AuthenticationLevel.getDescription() to AuthenticationLevel.getName()

Modified:
    directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/acl/AuthenticationLevel.java

Modified: directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/acl/AuthenticationLevel.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/acl/AuthenticationLevel.java?rev=291083&r1=291082&r2=291083&view=diff
==============================================================================
--- directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/acl/AuthenticationLevel.java
(original)
+++ directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/acl/AuthenticationLevel.java
Thu Sep 22 23:40:00 2005
@@ -32,12 +32,12 @@
         new AuthenticationLevel( 2, "strong" );
 
     private final int level;
-    private final String desc;
+    private final String name;
     
-    private AuthenticationLevel( int level, String desc )
+    private AuthenticationLevel( int level, String name )
     {
         this.level = level;
-        this.desc = desc;
+        this.name = name;
     }
     
     public int getLevel()
@@ -45,14 +45,14 @@
         return level;
     }
     
-    public String getDescription()
+    public String getName()
     {
-        return desc;
+        return name;
     }
     
     public String toString()
     {
-        return desc;
+        return name;
     }
     
     public boolean equals( Object o )



Mime
View raw message