No effective change - code cleanup - remove redundant casts

This commit is contained in:
Robin Bygrave committed 2015-07-31 20:11:31 +12:00
1 parent 9fe47194ff
commit ea504a93cf
10 files changed
+13 -13

No files matched your search

@@ -192,7 +192,7 @@ public class DnodeParser extends DefaultHandler {
stack.pop();
if (!stack.isEmpty()) {
// get the new currentNode
currentNode = (Dnode) stack.pop();
currentNode = stack.pop();
stack.push(currentNode);
}
}
@@ -241,7 +241,7 @@ public class StringHelper {
int startPos = 0;
delimiter(str, delimiter, keepEmpties, startPos, list);
String[] result = new String[list.size()];
return (String[]) list.toArray(result);
return list.toArray(result);
}
private static void delimiter(String str, String delimiter, boolean keepEmpties, int startPos,