directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r265672 - /directory/protocol-providers/changepw/trunk/src/java/org/apache/changepw/service/ChangePasswordConfiguration.java
Date Thu, 01 Sep 2005 08:31:44 GMT
Author: erodriguez
Date: Thu Sep  1 01:31:41 2005
New Revision: 265672

URL: http://svn.apache.org/viewcvs?rev=265672&view=rev
Log:
Minor update to property key constant naming convention.

Modified:
    directory/protocol-providers/changepw/trunk/src/java/org/apache/changepw/service/ChangePasswordConfiguration.java

Modified: directory/protocol-providers/changepw/trunk/src/java/org/apache/changepw/service/ChangePasswordConfiguration.java
URL: http://svn.apache.org/viewcvs/directory/protocol-providers/changepw/trunk/src/java/org/apache/changepw/service/ChangePasswordConfiguration.java?rev=265672&r1=265671&r2=265672&view=diff
==============================================================================
--- directory/protocol-providers/changepw/trunk/src/java/org/apache/changepw/service/ChangePasswordConfiguration.java
(original)
+++ directory/protocol-providers/changepw/trunk/src/java/org/apache/changepw/service/ChangePasswordConfiguration.java
Thu Sep  1 01:31:41 2005
@@ -47,10 +47,10 @@
     public static final int CHANGEPW_DEFAULT_PORT = 464;
 
     /** the prop key const for changepw.encryption.types */
-    private static final String CHANGEPW_ENCRYPTION_TYPES = "changepw.encryption.types";
+    private static final String CHANGEPW_ENCRYPTION_TYPES_KEY = "changepw.encryption.types";
 
     /** the prop key const for changepw.buffer.size */
-    private static final String CHANGEPW_BUFFER_SIZE = "changepw.buffer.size";
+    private static final String CHANGEPW_BUFFER_SIZE_KEY = "changepw.buffer.size";
 
     /** the default changepw buffer size */
     private static final int CHANGEPW_DEFAULT_BUFFER_SIZE = 1024;
@@ -110,7 +110,7 @@
 
     public int getBufferSize()
     {
-        String key = CHANGEPW_BUFFER_SIZE;
+        String key = CHANGEPW_BUFFER_SIZE_KEY;
 
         if ( properties.containsKey( key ) )
         {
@@ -148,7 +148,7 @@
     {
         String[] encryptionTypeStrings = null;
 
-        String key = CHANGEPW_ENCRYPTION_TYPES;
+        String key = CHANGEPW_ENCRYPTION_TYPES_KEY;
 
         if ( properties.containsKey( key ) )
         {



Mime
View raw message