felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r381218 - /incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/cache/DefaultBundleArchive.java
Date Mon, 27 Feb 2006 02:04:05 GMT
Author: rickhall
Date: Sun Feb 26 18:04:03 2006
New Revision: 381218

URL: http://svn.apache.org/viewcvs?rev=381218&view=rev
Log:
Fixed a typo...added a '!' to the check for File.exists().

Modified:
    incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/cache/DefaultBundleArchive.java

Modified: incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/cache/DefaultBundleArchive.java
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/cache/DefaultBundleArchive.java?rev=381218&r1=381217&r2=381218&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/cache/DefaultBundleArchive.java
(original)
+++ incubator/felix/trunk/org.apache.felix.framework/src/main/java/org/apache/felix/framework/cache/DefaultBundleArchive.java
Sun Feb 26 18:04:03 2006
@@ -435,7 +435,7 @@
         // Get bundle data directory.
         File dataDir = new File(m_archiveRootDir, DATA_DIRECTORY);
         // Create the data directory if necessary.
-        if (DefaultBundleCache.getSecureAction().fileExists(dataDir))
+        if (!DefaultBundleCache.getSecureAction().fileExists(dataDir))
         {
             if (!DefaultBundleCache.getSecureAction().mkdir(dataDir))
             {



Mime
View raw message