directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r151447 - incubator/directory/kerberos/trunk/core/src/java/org/apache/kerberos/sam/SamSubsystem.java
Date Fri, 04 Feb 2005 23:29:29 GMT
Author: akarasulu
Date: Fri Feb  4 15:29:27 2005
New Revision: 151447

URL: http://svn.apache.org/viewcvs?view=rev&rev=151447
Log:
oops start using env instead of system properites

Modified:
    incubator/directory/kerberos/trunk/core/src/java/org/apache/kerberos/sam/SamSubsystem.java

Modified: incubator/directory/kerberos/trunk/core/src/java/org/apache/kerberos/sam/SamSubsystem.java
URL: http://svn.apache.org/viewcvs/incubator/directory/kerberos/trunk/core/src/java/org/apache/kerberos/sam/SamSubsystem.java?view=diff&r1=151446&r2=151447
==============================================================================
--- incubator/directory/kerberos/trunk/core/src/java/org/apache/kerberos/sam/SamSubsystem.java
(original)
+++ incubator/directory/kerberos/trunk/core/src/java/org/apache/kerberos/sam/SamSubsystem.java
Fri Feb  4 15:29:27 2005
@@ -91,14 +91,14 @@
 
         String key = PROPKEY_BASE + entry.getSamType().getOrdinal();
 
-        if ( System.getProperties().containsKey( key ) )
+        if ( env.containsKey( key ) )
         {
             String msg = "Could not find property '" + key + "'";
 
             throw new SamException( entry.getSamType(), msg );
         }
 
-        String fqcn = System.getProperty( key );
+        String fqcn = ( String ) env.get( key );
 
         try
         {



Mime
View raw message