summaryrefslogtreecommitdiff
path: root/projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java
diff options
context:
space:
mode:
Diffstat (limited to 'projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java')
-rw-r--r--projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java b/projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java
index 3512c2a..a09df1e 100644
--- a/projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java
+++ b/projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java
@@ -101,7 +101,7 @@ public class DebuggingDelegate implements EODisplayGroup.Delegate {
* @return An NSArray containing the objects to be displayed for the objects in
* the specified list.
*/
- public NSArray displayGroupDisplayArrayForObjects(EODisplayGroup aDisplayGroup, List aList) {
+ public <T> NSArray<T> displayGroupDisplayArrayForObjects(EODisplayGroup aDisplayGroup, List<T> aList) {
return get("displayGroupDisplayArrayForObjects", aDisplayGroup, aList);
}
@@ -155,7 +155,7 @@ public class DebuggingDelegate implements EODisplayGroup.Delegate {
* insertion.
*/
public boolean displayGroupShouldInsertObject(EODisplayGroup aDisplayGroup, Object anObject, int anIndex) {
- return ask("displayGroupShouldInsertObject", aDisplayGroup, new Object[] { anObject, new Integer(anIndex) });
+ return ask("displayGroupShouldInsertObject", aDisplayGroup, new Object[] { anObject, Integer.valueOf(anIndex) });
}
/**
@@ -190,9 +190,9 @@ public class DebuggingDelegate implements EODisplayGroup.Delegate {
* This method is called by displayGroupDisplayArrayForObjects. This
* implementation calls report and returns a copy of the specified list.
*/
- protected NSArray get(String aTitle, EODisplayGroup aDisplayGroup, List anObjectList) {
+ protected <T> NSArray<T> get(String aTitle, EODisplayGroup aDisplayGroup, List<T> anObjectList) {
report(aTitle, aDisplayGroup, new Object[] { anObjectList });
- return new NSArray(anObjectList);
+ return new NSArray<>(anObjectList);
}
/**