Skip to content
Snippets Groups Projects
Commit 336fb500 authored by Tahir, Ali (UG - Comp Sci & Elec Eng)'s avatar Tahir, Ali (UG - Comp Sci & Elec Eng)
Browse files

Formatted BaseQuery

parent a2826428
No related branches found
No related tags found
No related merge requests found
......@@ -83,10 +83,6 @@ public class BaseQuery {
while (rs.next()) {
/*
* Assign results from query to their own variable. We can reference columns by
* their name of index value e.g. 0
*/
int customerNumber = rs.getInt("customerNumber");
double amount = rs.getDouble("amount");
payments.add(new Payment(customerNumber, amount));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment