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

Up to date version

parent 96bde99e
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ package com.com1028.cw.mt00969; ...@@ -6,7 +6,7 @@ package com.com1028.cw.mt00969;
/** /**
* @author alita * @author alita
* *
* pwd for db is * pwd for db is 1234
*/ */
public class Main { public class Main {
...@@ -98,7 +98,7 @@ public class Main { ...@@ -98,7 +98,7 @@ public class Main {
} }
} }
// Main obj = new Main("root", ""); // Main obj = new Main("root", "1234");
// try { // try {
// ResultSet rs = obj.useTable("orders"); // ResultSet rs = obj.useTable("orders");
// while (rs.next()) { // while (rs.next()) {
......
...@@ -166,7 +166,7 @@ public class OrderDAOImpl implements OrderDAO { ...@@ -166,7 +166,7 @@ public class OrderDAOImpl implements OrderDAO {
} }
return out + "\n" + counter + " records\n"; return out + counter + " records\n";
} }
......
...@@ -176,7 +176,7 @@ public class PaymentDAOImpl implements PaymentDAO { ...@@ -176,7 +176,7 @@ public class PaymentDAOImpl implements PaymentDAO {
} }
} }
} }
return out + "\n" + counter + " records\n"; return out + counter + " records\n";
} }
} }
...@@ -111,7 +111,7 @@ public class TestReq2 { ...@@ -111,7 +111,7 @@ public class TestReq2 {
} }
} }
} }
return out + "\n" + counter + " records\n"; return out + counter + " records\n";
} }
@Test @Test
......
...@@ -101,7 +101,7 @@ public class TestReq3 { ...@@ -101,7 +101,7 @@ public class TestReq3 {
} }
return out + "\n" + counter + " records\n"; return out + counter + " records\n";
} }
......
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