diff options
author | aclement <aclement> | 2011-08-12 17:23:18 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-08-12 17:23:18 +0000 |
commit | 241a346ba80447482d7a34993c9b74c6710a020f (patch) | |
tree | a18a4270bf4d24217d8f6851e8ae5f75772bcc50 /ajbrowser | |
parent | 96c36dc38385049da37901df868ac3c2bbbf37f6 (diff) | |
download | aspectj-241a346ba80447482d7a34993c9b74c6710a020f.tar.gz aspectj-241a346ba80447482d7a34993c9b74c6710a020f.zip |
generics refactoring
Diffstat (limited to 'ajbrowser')
-rw-r--r-- | ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java b/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java index fc4b4e350..84bb63683 100644 --- a/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java +++ b/ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java @@ -61,7 +61,7 @@ public class BrowserManager { private UserPreferencesAdapter preferencesAdapter; private static TopFrame topFrame = null; - private List configFiles = new ArrayList(); + private List<String> configFiles = new ArrayList<String>(); private JavaBuildOptions javaBuildOptions; public static BrowserManager getDefault() { @@ -138,8 +138,11 @@ public class BrowserManager { } public void resetEditor() { - BrowserManager.getDefault().getRootFrame().setSize(BrowserManager.getDefault().getRootFrame().getWidth() + 1, - BrowserManager.getDefault().getRootFrame().getHeight() + 1); + BrowserManager + .getDefault() + .getRootFrame() + .setSize(BrowserManager.getDefault().getRootFrame().getWidth() + 1, + BrowserManager.getDefault().getRootFrame().getHeight() + 1); BrowserManager.getDefault().getRootFrame().doLayout(); BrowserManager.getDefault().getRootFrame().repaint(); } @@ -178,8 +181,8 @@ public class BrowserManager { } } - private List getConfigFilesList(String[] configFiles) { - List configs = new ArrayList(); + private List<String> getConfigFilesList(String[] configFiles) { + List<String> configs = new ArrayList<String>(); for (int i = 0; i < configFiles.length; i++) { if (configFiles[i].endsWith(BuildConfigManager.CONFIG_FILE_SUFFIX)) { configs.add(configFiles[i]); |