From 9c681f38b742b26b841eb42bc19879cb90ac03de Mon Sep 17 00:00:00 2001 From: Benjamin Culkin Date: Mon, 8 Jul 2024 17:30:58 -0400 Subject: Add XML property lists Implement support for the XML property lists that are the newer version of the ASCII ones. There are a few things that still need to be done, but all of the basics are there Next things - Allow collapsing a property list into a series of objects - Serialize both the property list and flattened objects to XML --- .../src/main/java/net/wotonomy/ui/DebuggingDelegate.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'projects/net.wotonomy.ui/src/main/java/net/wotonomy/ui/DebuggingDelegate.java') 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 NSArray displayGroupDisplayArrayForObjects(EODisplayGroup aDisplayGroup, List 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 NSArray get(String aTitle, EODisplayGroup aDisplayGroup, List anObjectList) { report(aTitle, aDisplayGroup, new Object[] { anObjectList }); - return new NSArray(anObjectList); + return new NSArray<>(anObjectList); } /** -- cgit v1.2.3