mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2026-03-10 18:55:03 +00:00
Uncommented code in List.java and ListGetter.java to prevent merge conflict
This commit is contained in:
@@ -83,15 +83,15 @@ public class List {
|
||||
return uiPosition;
|
||||
}
|
||||
|
||||
// public void setUiPosition(Integer uiPosition) {
|
||||
// this.uiPosition = uiPosition;
|
||||
// }
|
||||
//
|
||||
// public ItemEntry[] getEntries() {
|
||||
// return entries.toArray(new ItemEntry[entries.size()]);
|
||||
// }
|
||||
//
|
||||
// public void addItemEntry(ItemEntry entry) {
|
||||
// entries.add(entry);
|
||||
// }
|
||||
public void setUiPosition(Integer uiPosition) {
|
||||
this.uiPosition = uiPosition;
|
||||
}
|
||||
|
||||
public ItemEntry[] getEntries() {
|
||||
return entries.toArray(new ItemEntry[entries.size()]);
|
||||
}
|
||||
|
||||
public void addItemEntry(ItemEntry entry) {
|
||||
entries.add(entry);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ public class ListGetter implements CallHandler{
|
||||
getListEntries.setInt(1, id);
|
||||
ResultSet getEntryResults = getListEntries.executeQuery();
|
||||
while (getEntryResults.next()) {
|
||||
//retrievedList.addItemEntry(new ItemEntry(id, getEntryResults));
|
||||
retrievedList.addItemEntry(new ItemEntry(id, getEntryResults));
|
||||
}
|
||||
System.out.println(retrievedList);
|
||||
return retrievedList;
|
||||
|
||||
Reference in New Issue
Block a user