From 29bbf451a22916d39017ec1a3f53f4e0f0e65ee0 Mon Sep 17 00:00:00 2001 From: abranson Date: Mon, 1 Aug 2011 13:57:20 +0200 Subject: Java7 compatibility and some code refresh --- source/com/c2kernel/utils/CastorXMLUtility.java | 2 +- source/com/c2kernel/utils/SoftCache.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 source/com/c2kernel/utils/CastorXMLUtility.java mode change 100755 => 100644 source/com/c2kernel/utils/SoftCache.java (limited to 'source/com/c2kernel/utils') diff --git a/source/com/c2kernel/utils/CastorXMLUtility.java b/source/com/c2kernel/utils/CastorXMLUtility.java old mode 100755 new mode 100644 index 3f23d53..07e8e3f --- 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 old mode 100755 new mode 100644 index ce2b390..f13c87d --- 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 $ -- cgit v1.2.3