diff options
| author | abranson <andrew.branson@cern.ch> | 2011-08-01 13:57:20 +0200 |
|---|---|---|
| committer | abranson <andrew.branson@cern.ch> | 2011-08-01 13:57:20 +0200 |
| commit | 29bbf451a22916d39017ec1a3f53f4e0f0e65ee0 (patch) | |
| tree | b6e5d3a4c79e6afb4369c70a4d178156cbf43eeb /source/com/c2kernel/utils | |
| parent | 5b0919b3601340e7f71eee2b4cda8bf0a98090ee (diff) | |
Java7 compatibility and some code refresh
Diffstat (limited to 'source/com/c2kernel/utils')
| -rw-r--r--[-rwxr-xr-x] | source/com/c2kernel/utils/CastorXMLUtility.java | 2 | ||||
| -rw-r--r--[-rwxr-xr-x] | source/com/c2kernel/utils/SoftCache.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/com/c2kernel/utils/CastorXMLUtility.java b/source/com/c2kernel/utils/CastorXMLUtility.java index 3f23d53..07e8e3f 100755..100644 --- a/source/com/c2kernel/utils/CastorXMLUtility.java +++ b/source/com/c2kernel/utils/CastorXMLUtility.java @@ -41,7 +41,7 @@ public class CastorXMLUtility Logger.msg(3, "Loading maps from "+mapURL);
String index;
try {
- index = FileStringUtility.url2String( new URL(mapURL, "index.xml") );
+ index = FileStringUtility.url2String( new URL(mapURL, "index") );
} catch (Exception e) {
Logger.warning("Could not load map index from "+mapURL.toString());
return;
diff --git a/source/com/c2kernel/utils/SoftCache.java b/source/com/c2kernel/utils/SoftCache.java index ce2b390..f13c87d 100755..100644 --- a/source/com/c2kernel/utils/SoftCache.java +++ b/source/com/c2kernel/utils/SoftCache.java @@ -5,7 +5,7 @@ import java.lang.ref.SoftReference; import java.util.*;
/*******************************************************************************
- * SoftReferences are reaped if not strong references are left and the vm is
+ * SoftReferences are reaped if no strong references are left and the vm is
* running out of memory. Most caches in the kernel use this.
*
* $Revision: 1.5 $ $Date: 2004/10/29 13:29:09 $
|
