mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2025-12-13 09:48:47 +00:00
Uncommented code to allow merge, in ListGetter and List
This commit is contained in:
parent
81bb6623f9
commit
56ab66a3fc
@ -83,16 +83,16 @@ public class List {
|
||||
return uiPosition;
|
||||
}
|
||||
|
||||
// public void setUiPosition(Integer uiPosition) {
|
||||
// this.uiPosition = uiPosition;
|
||||
//
|
||||
// public ItemEntry[] getEntries() {
|
||||
// //return entries.toArray(new ItemEntry[entries.size()]);
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// public void addItemEntry(ItemEntry entry) {
|
||||
// //entries.add(entry);
|
||||
// return;
|
||||
// }
|
||||
public void setUiPosition(Integer uiPosition) {
|
||||
this.uiPosition = uiPosition;
|
||||
|
||||
public ItemEntry[] getEntries() {
|
||||
//return entries.toArray(new ItemEntry[entries.size()]);
|
||||
return;
|
||||
}
|
||||
|
||||
public void addItemEntry(ItemEntry entry) {
|
||||
//entries.add(entry);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@ -72,7 +72,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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user