Skip to content

Commit

Permalink
Release 1.0.3. Removed the method checkTableSchemaCompatibility(Strin…
Browse files Browse the repository at this point in the history
…g, String...).

There is also the other method taking String... which makes an
awkward API for calls with two Strings (ambiguous method call).
  • Loading branch information
khituras committed May 7, 2018
1 parent 69aa784 commit b4b94ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>costosys</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
<name>Corpus Storage System</name>
<description>A utility for managing documents stored in a PostgreSQL database. The documents are imported into a
PostgreSQL DB as full texts with the goal to be able to retrieve the documents by their PubMedID efficiently.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3710,13 +3710,6 @@ public List<Integer> getPrimaryKeyIndices() {
return pkIndices;
}

public void checkTableSchemaCompatibility(String referenceSchema, String... schemaNames) throws TableSchemaMismatchException {
String[] schemas = new String[schemaNames.length + 1];
schemas[0] = referenceSchema;
System.arraycopy(schemaNames, 0, schemas, 1, schemaNames.length);
checkTableSchemaCompatibility(schemas);
}

public void checkTableSchemaCompatibility(String... schemaNames) throws TableSchemaMismatchException {
if (null == schemaNames || schemaNames.length == 0) {
LOG.warn("No table schema names were passed - nothing to check.");
Expand Down

0 comments on commit b4b94ee

Please sign in to comment.