summaryrefslogtreecommitdiff
path: root/source/com/c2kernel/gui/tabs/collection
diff options
context:
space:
mode:
authorabranson <andrew.branson@cern.ch>2011-08-02 22:10:28 +0200
committerabranson <andrew.branson@cern.ch>2011-08-02 22:10:28 +0200
commit5664fd4644c78f4571a1a72e6b9f0511fb10720a (patch)
tree7be1c346d1d001bf6b079089f995a60c52b955c1 /source/com/c2kernel/gui/tabs/collection
parent29bbf451a22916d39017ec1a3f53f4e0f0e65ee0 (diff)
Finished move to generics. Enforced 1.6 compliance for now. No errors or
warnings :)
Diffstat (limited to 'source/com/c2kernel/gui/tabs/collection')
-rw-r--r--[-rwxr-xr-x]source/com/c2kernel/gui/tabs/collection/CollectionHistoryWindow.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/com/c2kernel/gui/tabs/collection/CollectionHistoryWindow.java b/source/com/c2kernel/gui/tabs/collection/CollectionHistoryWindow.java
index ef20a1a..bb71cd8 100755..100644
--- a/source/com/c2kernel/gui/tabs/collection/CollectionHistoryWindow.java
+++ b/source/com/c2kernel/gui/tabs/collection/CollectionHistoryWindow.java
@@ -48,17 +48,16 @@ public class CollectionHistoryWindow extends JFrame {
private class HistoryTableModel extends AbstractTableModel implements EntityProxyObserver {
ItemProxy item;
- ArrayList collEvents, collEventData;
+ ArrayList<Object> collEvents, collEventData;
Collection coll;
public HistoryTableModel(ItemProxy item, Collection coll) {
this.item = item;
this.coll = coll;
- collEvents = new ArrayList();
- collEventData = new ArrayList();
+ collEvents = new ArrayList<Object>();
+ collEventData = new ArrayList<Object>();
item.subscribe(this, ClusterStorage.HISTORY, true);
}
public int getColumnCount() {
- // TODO Auto-generated method stub
return 4;
}
@@ -72,7 +71,6 @@ public class CollectionHistoryWindow extends JFrame {
}
}
public int getRowCount() {
- // TODO Auto-generated method stub
return collEvents.size();
}
public Object getValueAt(int rowIndex, int columnIndex) {