directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r122819 - /incubator/directory/kerberos/trunk/store/src/java/org/apache/kerberos/kdc/EmbeddedEveStore.java
Date Mon, 20 Dec 2004 06:07:29 GMT
Author: akarasulu
Date: Sun Dec 19 22:07:27 2004
New Revision: 122819

URL: http://svn.apache.org/viewcvs?view=rev&rev=122819
Log:
trim those values from properties file that are not parsed
Modified:
   incubator/directory/kerberos/trunk/store/src/java/org/apache/kerberos/kdc/EmbeddedEveStore.java

Modified: incubator/directory/kerberos/trunk/store/src/java/org/apache/kerberos/kdc/EmbeddedEveStore.java
Url: http://svn.apache.org/viewcvs/incubator/directory/kerberos/trunk/store/src/java/org/apache/kerberos/kdc/EmbeddedEveStore.java?view=diff&rev=122819&p1=incubator/directory/kerberos/trunk/store/src/java/org/apache/kerberos/kdc/EmbeddedEveStore.java&r1=122818&p2=incubator/directory/kerberos/trunk/store/src/java/org/apache/kerberos/kdc/EmbeddedEveStore.java&r2=122819
==============================================================================
--- incubator/directory/kerberos/trunk/store/src/java/org/apache/kerberos/kdc/EmbeddedEveStore.java
(original)
+++ incubator/directory/kerberos/trunk/store/src/java/org/apache/kerberos/kdc/EmbeddedEveStore.java
Sun Dec 19 22:07:27 2004
@@ -159,9 +159,9 @@
 
         try
         {
-            File file = new File( ( String ) env.get( KDC_ENTRY_LDIF_FILE ) );
+            File file = new File( ( ( String ) env.get( KDC_ENTRY_LDIF_FILE ) ).trim() );
 
-            if ( ! file.exists() )
+            if ( ! file.getAbsoluteFile().exists() )
             {
                 System.err.println( "LDIF file '" + file.getAbsolutePath() + "' does not
exit!" );
 

Mime
View raw message