mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2025-12-13 09:48:47 +00:00
Uncommented code in List.java and ListGetter.java to prevent merge conflict
This commit is contained in:
parent
337c2e117b
commit
7bdd65b122
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user