Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbrooks2010-08-23 12:16:11 -0400
committerrbrooks2010-08-23 12:16:11 -0400
commit8bd530a26cf23587cd0fa6f3e0b7a0ba19d83046 (patch)
treee8ab9ce853d2bf55aa7fa62ad85ed4d7e89aa7f7 /plugins/org.eclipse.osee.framework.core.datastore
parentcbc5e97c56b998adfa0cede78273b1cdd2793b8b (diff)
downloadorg.eclipse.osee-8bd530a26cf23587cd0fa6f3e0b7a0ba19d83046.tar.gz
org.eclipse.osee-8bd530a26cf23587cd0fa6f3e0b7a0ba19d83046.tar.xz
org.eclipse.osee-8bd530a26cf23587cd0fa6f3e0b7a0ba19d83046.zip
removed redundant Collections.toString() that had reversed arguments
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.datastore')
-rw-r--r--plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/data/ConstraintElement.java2
-rw-r--r--plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/data/ReferenceClause.java2
-rw-r--r--plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/MysqlSqlManager.java2
-rw-r--r--plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/OracleSqlManager.java2
-rw-r--r--plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/PostgreSqlManager.java2
-rw-r--r--plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/SqlManagerImpl.java2
6 files changed, 6 insertions, 6 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/data/ConstraintElement.java b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/data/ConstraintElement.java
index 1042cbf067..d283aae0a6 100644
--- a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/data/ConstraintElement.java
+++ b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/data/ConstraintElement.java
@@ -99,7 +99,7 @@ public class ConstraintElement implements Xmlizable {
}
public String getCommaSeparatedColumnsList() {
- return org.eclipse.osee.framework.jdk.core.util.Collections.toString(columns, ",");
+ return org.eclipse.osee.framework.jdk.core.util.Collections.toString(",", columns);
}
@Override
diff --git a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/data/ReferenceClause.java b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/data/ReferenceClause.java
index 3667500f03..6f064135e8 100644
--- a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/data/ReferenceClause.java
+++ b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/data/ReferenceClause.java
@@ -112,7 +112,7 @@ public class ReferenceClause implements Xmlizable {
}
public String getCommaSeparatedColumnsList() {
- return org.eclipse.osee.framework.jdk.core.util.Collections.toString(columns, ",");
+ return org.eclipse.osee.framework.jdk.core.util.Collections.toString(",", columns);
}
@Override
diff --git a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/MysqlSqlManager.java b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/MysqlSqlManager.java
index cec121b19b..ecb1bfc385 100644
--- a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/MysqlSqlManager.java
+++ b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/MysqlSqlManager.java
@@ -50,7 +50,7 @@ public class MysqlSqlManager extends SqlManagerImpl {
Map<ColumnFields, String> column = columns.get(key).getColumnFields();
lines.add(columnDataToSQL(column));
}
- String toExecute = org.eclipse.osee.framework.jdk.core.util.Collections.toString(lines, ",\n");
+ String toExecute = org.eclipse.osee.framework.jdk.core.util.Collections.toString(",\n", lines);
return toExecute;
}
diff --git a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/OracleSqlManager.java b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/OracleSqlManager.java
index 7b8a7dedf8..bdcd8920e3 100644
--- a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/OracleSqlManager.java
+++ b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/OracleSqlManager.java
@@ -40,7 +40,7 @@ public class OracleSqlManager extends SqlManager {
Map<ColumnFields, String> column = columns.get(key).getColumnFields();
lines.add(columnDataToSQL(column));
}
- String toExecute = org.eclipse.osee.framework.jdk.core.util.Collections.toString(lines, ",\n");
+ String toExecute = org.eclipse.osee.framework.jdk.core.util.Collections.toString(",\n", lines);
return toExecute;
}
diff --git a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/PostgreSqlManager.java b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/PostgreSqlManager.java
index 5a64c1f93a..abd0a98ffe 100644
--- a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/PostgreSqlManager.java
+++ b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/PostgreSqlManager.java
@@ -50,7 +50,7 @@ public class PostgreSqlManager extends SqlManagerImpl {
Map<ColumnFields, String> column = columns.get(key).getColumnFields();
lines.add(columnDataToSQL(column));
}
- String toExecute = org.eclipse.osee.framework.jdk.core.util.Collections.toString(lines, ",\n");
+ String toExecute = org.eclipse.osee.framework.jdk.core.util.Collections.toString(",\n", lines);
return toExecute;
}
diff --git a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/SqlManagerImpl.java b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/SqlManagerImpl.java
index b0efcf1297..10c698953d 100644
--- a/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/SqlManagerImpl.java
+++ b/plugins/org.eclipse.osee.framework.core.datastore/src/org/eclipse/osee/framework/core/datastore/schema/sql/SqlManagerImpl.java
@@ -39,7 +39,7 @@ public class SqlManagerImpl extends SqlManager {
Map<ColumnFields, String> column = columns.get(key).getColumnFields();
lines.add(columnDataToSQL(column));
}
- String toExecute = org.eclipse.osee.framework.jdk.core.util.Collections.toString(lines, ",\n");
+ String toExecute = org.eclipse.osee.framework.jdk.core.util.Collections.toString(",\n", lines);
return toExecute;
}

Back to the top