aboutsummaryrefslogtreecommitdiffstats
path: root/ajbrowser
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2019-06-03 10:03:51 -0700
committerAndy Clement <aclement@pivotal.io>2019-06-03 10:03:51 -0700
commit01f7d8ba8e3ff34ffacb95ae25787b0f0ce9f1d8 (patch)
tree66d8b8c86978297ddd3f56aa1f8fe7e4b9b885cd /ajbrowser
parent7aa5fe4edc27b77b2d23d1dc72fe761cbef38313 (diff)
downloadaspectj-01f7d8ba8e3ff34ffacb95ae25787b0f0ce9f1d8.tar.gz
aspectj-01f7d8ba8e3ff34ffacb95ae25787b0f0ce9f1d8.zip
Update to 1.9.5.BUILD-SNAPSHOT in poms
Diffstat (limited to 'ajbrowser')
-rw-r--r--ajbrowser/pom.xml2
-rw-r--r--ajbrowser/src/main/java/org/aspectj/tools/ajbrowser/ui/swing/MessageHandlerPanel.java26
2 files changed, 14 insertions, 14 deletions
diff --git a/ajbrowser/pom.xml b/ajbrowser/pom.xml
index b301ea927..79bf8eb6d 100644
--- a/ajbrowser/pom.xml
+++ b/ajbrowser/pom.xml
@@ -6,7 +6,7 @@
<parent>
<groupId>org.aspectj</groupId>
<artifactId>aspectj-parent</artifactId>
- <version>1.9.4</version>
+ <version>1.9.5.BUILD-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
diff --git a/ajbrowser/src/main/java/org/aspectj/tools/ajbrowser/ui/swing/MessageHandlerPanel.java b/ajbrowser/src/main/java/org/aspectj/tools/ajbrowser/ui/swing/MessageHandlerPanel.java
index 32224832c..fa24f709f 100644
--- a/ajbrowser/src/main/java/org/aspectj/tools/ajbrowser/ui/swing/MessageHandlerPanel.java
+++ b/ajbrowser/src/main/java/org/aspectj/tools/ajbrowser/ui/swing/MessageHandlerPanel.java
@@ -1,11 +1,11 @@
/********************************************************************
- * Copyright (c) 2007 Contributors. All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://eclipse.org/legal/epl-v10.html
- *
- * Contributors: IBM Corporation - initial API and implementation
+ * Copyright (c) 2007 Contributors. All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors: IBM Corporation - initial API and implementation
* Helen Hawkins - initial version (bug 148190)
*******************************************************************/
package org.aspectj.tools.ajbrowser.ui.swing;
@@ -31,7 +31,7 @@ import org.aspectj.tools.ajbrowser.ui.BrowserMessageHandler;
* Panel used to display messages from the message handler
*/
public class MessageHandlerPanel extends JPanel {
-
+
private static final long serialVersionUID = -2251912345065588977L;
private JScrollPane jScrollPane1 = new JScrollPane();
private JList list;
@@ -44,12 +44,12 @@ public class MessageHandlerPanel extends JPanel {
return;
}
createList(handler.getMessages());
-
+
try {
jbInit();
} catch (Exception e) {
e.printStackTrace();
- }
+ }
list.setModel(listModel);
MouseListener mouseListener = new MouseAdapter() {
@@ -69,11 +69,11 @@ public class MessageHandlerPanel extends JPanel {
list.setCellRenderer(new CompilerMessagesCellRenderer());
setVisible(showPanel);
}
-
- private void createList(List messages) {
+
+ private void createList(List<IMessage> messages) {
list = new JList();
listModel = new DefaultListModel();
- for (Iterator iterator = messages.iterator(); iterator.hasNext();) {
+ for (Iterator<IMessage> iterator = messages.iterator(); iterator.hasNext();) {
listModel.addElement(iterator.next());
}
}