aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge
diff options
context:
space:
mode:
authorAndrew Su <[email protected]>2011-04-20 15:02:56 -0400
committerAndrew Su <[email protected]>2011-04-20 15:02:56 -0400
commitf11b95ad87e7bc39ea732dd407a6c932f9236a18 (patch)
tree807b95cfe0e862cd46a4ed4b2293e484601a2fb9 /netx/net/sourceforge
parentcbfb2e88fcd89b117c7531970697bd037c1d5aa3 (diff)
Update itw-setting's cache viewer to display new directory structure
Diffstat (limited to 'netx/net/sourceforge')
-rw-r--r--netx/net/sourceforge/jnlp/controlpanel/CachePane.java22
1 files changed, 12 insertions, 10 deletions
diff --git a/netx/net/sourceforge/jnlp/controlpanel/CachePane.java b/netx/net/sourceforge/jnlp/controlpanel/CachePane.java
index 950dc36..91849c4 100644
--- a/netx/net/sourceforge/jnlp/controlpanel/CachePane.java
+++ b/netx/net/sourceforge/jnlp/controlpanel/CachePane.java
@@ -235,16 +235,18 @@ public class CachePane extends JPanel {
CacheDirectory.getDirStructure(root);
ArrayList<Object[]> data = new ArrayList<Object[]>();
- for (DirectoryNode type : root.getChildren()) {
- for (DirectoryNode domain : type.getChildren()) {
- for (DirectoryNode leaf : CacheDirectory.getLeafData(domain)) {
- Object[] o = { leaf,
- leaf.getFile().getAbsolutePath(),
- type,
- domain,
- leaf.getFile().length(),
- new SimpleDateFormat("MM/dd/yyyy").format(leaf.getFile().lastModified()) };
- data.add(o);
+ for (DirectoryNode identifier : root.getChildren()) {
+ for (DirectoryNode type : identifier.getChildren()) {
+ for (DirectoryNode domain : type.getChildren()) {
+ for (DirectoryNode leaf : CacheDirectory.getLeafData(domain)) {
+ Object[] o = { leaf,
+ leaf.getFile().getAbsolutePath(),
+ type,
+ domain,
+ leaf.getFile().length(),
+ new SimpleDateFormat("MM/dd/yyyy").format(leaf.getFile().lastModified()) };
+ data.add(o);
+ }
}
}
}