summaryrefslogtreecommitdiff
path: root/source/com/c2kernel/persistency/XMLClusterStorage.java
diff options
context:
space:
mode:
authorabranson <andrew.branson@cern.ch>2011-08-04 16:08:49 +0200
committerabranson <andrew.branson@cern.ch>2011-08-04 16:08:49 +0200
commit379ed8a0e133bee650e0acb24f6b743f657a50d0 (patch)
treebdcac37cabe3f2f3d40715519b830469dc9e63ad /source/com/c2kernel/persistency/XMLClusterStorage.java
parent0ec8481c10cd8277d84c7c1a785483a0a739e5a0 (diff)
Last bit of cleanup honest
New castor and dependent commons libs
Diffstat (limited to 'source/com/c2kernel/persistency/XMLClusterStorage.java')
-rw-r--r--source/com/c2kernel/persistency/XMLClusterStorage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/com/c2kernel/persistency/XMLClusterStorage.java b/source/com/c2kernel/persistency/XMLClusterStorage.java
index 277551d..5909fac 100644
--- a/source/com/c2kernel/persistency/XMLClusterStorage.java
+++ b/source/com/c2kernel/persistency/XMLClusterStorage.java
@@ -117,12 +117,12 @@ public class XMLClusterStorage extends ClusterStorage {
String[] result = new String[0];
try {
String filePath = getFilePath(sysKey, path);
- ArrayList<?> paths = FileStringUtility.listDir( filePath, true, false );
+ ArrayList<String> paths = FileStringUtility.listDir( filePath, true, false );
if (paths == null) return result; // dir doesn't exist yet
ArrayList<String> contents = new ArrayList<String>();
String previous = null;
for (int i=0; i<paths.size(); i++) {
- String next = (String)paths.get(i);
+ String next = paths.get(i);
// trim off the xml from the end if it's there
if (next.endsWith(".xml")) next = next.substring(0, next.length()-4);