harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r574198 - /harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java
Date Mon, 10 Sep 2007 10:20:52 GMT
Author: leoli
Date: Mon Sep 10 03:20:41 2007
New Revision: 574198

URL: http://svn.apache.org/viewvc?rev=574198&view=rev
Log:
Fix bug in ([classlib][jndi]javax.naming.InitialContext.getURLOrDefaultInitCtx()).

Modified:
    harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java

Modified: harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java?rev=574198&r1=574197&r2=574198&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/jndi/src/main/java/javax/naming/InitialContext.java
Mon Sep 10 03:20:41 2007
@@ -362,8 +362,9 @@
                 if (null == ctx) {
                     ctx = getDefaultInitCtx();
                 }
-                contextCache.put(scheme, ctx);                
+                contextCache.put(scheme, ctx);               
             }
+            return ctx;
         }
         return getDefaultInitCtx();
     }



Mime
View raw message