summaryrefslogtreecommitdiffstats
path: root/ajbrowser
diff options
context:
space:
mode:
authoraclement <aclement>2011-08-12 17:23:18 +0000
committeraclement <aclement>2011-08-12 17:23:18 +0000
commit241a346ba80447482d7a34993c9b74c6710a020f (patch)
treea18a4270bf4d24217d8f6851e8ae5f75772bcc50 /ajbrowser
parent96c36dc38385049da37901df868ac3c2bbbf37f6 (diff)
downloadaspectj-241a346ba80447482d7a34993c9b74c6710a020f.tar.gz
aspectj-241a346ba80447482d7a34993c9b74c6710a020f.zip
generics refactoring
Diffstat (limited to 'ajbrowser')
-rw-r--r--ajbrowser/src/org/aspectj/tools/ajbrowser/BrowserManager.java13
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]);