diff options
Diffstat (limited to 'source/com/c2kernel/persistency/XMLClusterStorage.java')
| -rw-r--r-- | source/com/c2kernel/persistency/XMLClusterStorage.java | 4 |
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);
|
