Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.jdbc.test')
-rw-r--r--plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/JdbcReadWriteTest.java2
-rw-r--r--plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/internal/osgi/JdbcComponentFactoryTest.java2
-rw-r--r--plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/internal/osgi/JdbcSvcCfgChangeTypeTest.java4
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/JdbcReadWriteTest.java b/plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/JdbcReadWriteTest.java
index 7ebee8158d6..7954e241c9f 100644
--- a/plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/JdbcReadWriteTest.java
+++ b/plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/JdbcReadWriteTest.java
@@ -95,7 +95,7 @@ public class JdbcReadWriteTest {
client.migrate(new JdbcMigrationOptions(true, true), Collections.singleton(migrationResource));
client.runBatchUpdate("insert into books (id, title, author) values (?,?,?)", Arrays.asList(DB_DATA));
- List<Book> books = new ArrayList<Book>();
+ List<Book> books = new ArrayList<>();
client.runQuery(newBookProcessor(books), "select * from books");
assertEquals(4, books.size());
diff --git a/plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/internal/osgi/JdbcComponentFactoryTest.java b/plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/internal/osgi/JdbcComponentFactoryTest.java
index e3ce2f9345b..745a745fe3f 100644
--- a/plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/internal/osgi/JdbcComponentFactoryTest.java
+++ b/plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/internal/osgi/JdbcComponentFactoryTest.java
@@ -258,7 +258,7 @@ public class JdbcComponentFactoryTest {
}
private static Map<String, Object> map(Object... keyVals) {
- Map<String, Object> data = new HashMap<String, Object>();
+ Map<String, Object> data = new HashMap<>();
String key = null;
boolean isKey = true;
for (Object keyVal : keyVals) {
diff --git a/plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/internal/osgi/JdbcSvcCfgChangeTypeTest.java b/plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/internal/osgi/JdbcSvcCfgChangeTypeTest.java
index 351a2067b11..004322da1be 100644
--- a/plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/internal/osgi/JdbcSvcCfgChangeTypeTest.java
+++ b/plugins/org.eclipse.osee.jdbc.test/src/org/eclipse/osee/jdbc/internal/osgi/JdbcSvcCfgChangeTypeTest.java
@@ -55,7 +55,7 @@ public class JdbcSvcCfgChangeTypeTest {
@Parameters
public static Collection<Object[]> data() {
- List<Object[]> tests = new ArrayList<Object[]>();
+ List<Object[]> tests = new ArrayList<>();
//@formatter:off
tests.add(row(NO_CHANGE, map("a", "1"), map("a", "1")));
@@ -76,7 +76,7 @@ public class JdbcSvcCfgChangeTypeTest {
}
private static Map<String, Object> map(Object... keyVals) {
- Map<String, Object> data = new HashMap<String, Object>();
+ Map<String, Object> data = new HashMap<>();
String key = null;
boolean isKey = true;
for (Object keyVal : keyVals) {

Back to the top