diff --git a/amazon-redshift-plugin/pom.xml b/amazon-redshift-plugin/pom.xml index f2ff77c93..043760250 100644 --- a/amazon-redshift-plugin/pom.xml +++ b/amazon-redshift-plugin/pom.xml @@ -93,12 +93,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - diff --git a/aurora-mysql-plugin/pom.xml b/aurora-mysql-plugin/pom.xml index 17dd4f3d9..bb97695c0 100644 --- a/aurora-mysql-plugin/pom.xml +++ b/aurora-mysql-plugin/pom.xml @@ -77,12 +77,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - diff --git a/aurora-postgresql-plugin/pom.xml b/aurora-postgresql-plugin/pom.xml index 105b010b3..7627d3251 100644 --- a/aurora-postgresql-plugin/pom.xml +++ b/aurora-postgresql-plugin/pom.xml @@ -77,12 +77,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - io.cdap.plugin postgresql-plugin diff --git a/cloudsql-mysql-plugin/pom.xml b/cloudsql-mysql-plugin/pom.xml index 312a82ec5..195ff799b 100644 --- a/cloudsql-mysql-plugin/pom.xml +++ b/cloudsql-mysql-plugin/pom.xml @@ -115,12 +115,6 @@ ${mockito.version} test - - org.jetbrains - annotations - RELEASE - compile - com.google.cloud.sql diff --git a/cloudsql-postgresql-plugin/pom.xml b/cloudsql-postgresql-plugin/pom.xml index 2256d7b44..b297705a5 100644 --- a/cloudsql-postgresql-plugin/pom.xml +++ b/cloudsql-postgresql-plugin/pom.xml @@ -119,12 +119,6 @@ ${mockito.version} test - - org.jetbrains - annotations - RELEASE - compile - com.google.cloud.sql diff --git a/db2-plugin/pom.xml b/db2-plugin/pom.xml index 2ae0facd7..bcd81b0f0 100644 --- a/db2-plugin/pom.xml +++ b/db2-plugin/pom.xml @@ -77,12 +77,6 @@ db2jcc4 test - - org.jetbrains - annotations - RELEASE - compile - diff --git a/generic-database-plugin/pom.xml b/generic-database-plugin/pom.xml index 6ef15e97c..76021e623 100644 --- a/generic-database-plugin/pom.xml +++ b/generic-database-plugin/pom.xml @@ -76,12 +76,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - diff --git a/generic-db-argument-setter/pom.xml b/generic-db-argument-setter/pom.xml index e7ce6a940..38b7ef499 100644 --- a/generic-db-argument-setter/pom.xml +++ b/generic-db-argument-setter/pom.xml @@ -76,12 +76,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - diff --git a/mariadb-plugin/pom.xml b/mariadb-plugin/pom.xml index dbdbdc931..aa4f79ce7 100644 --- a/mariadb-plugin/pom.xml +++ b/mariadb-plugin/pom.xml @@ -77,12 +77,6 @@ 2.7.3 test - - org.jetbrains - annotations - RELEASE - compile - io.cdap.plugin mysql-plugin diff --git a/memsql-plugin/pom.xml b/memsql-plugin/pom.xml index b1cd0b459..e2746b4d8 100644 --- a/memsql-plugin/pom.xml +++ b/memsql-plugin/pom.xml @@ -50,12 +50,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - diff --git a/mssql-plugin/pom.xml b/mssql-plugin/pom.xml index fcfb5bfae..67a2022d2 100644 --- a/mssql-plugin/pom.xml +++ b/mssql-plugin/pom.xml @@ -120,12 +120,6 @@ 8.2.1.jre8 test - - org.jetbrains - annotations - RELEASE - compile - diff --git a/mysql-plugin/pom.xml b/mysql-plugin/pom.xml index 6fad6e689..f1c6923e4 100644 --- a/mysql-plugin/pom.xml +++ b/mysql-plugin/pom.xml @@ -120,12 +120,6 @@ 8.0.19 test - - org.jetbrains - annotations - RELEASE - compile - ${testSourceLocation} diff --git a/netezza-plugin/pom.xml b/netezza-plugin/pom.xml index 97a823483..b0576080e 100644 --- a/netezza-plugin/pom.xml +++ b/netezza-plugin/pom.xml @@ -71,12 +71,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - test - diff --git a/oracle-plugin/pom.xml b/oracle-plugin/pom.xml index 922c7f188..c7a4dab7d 100644 --- a/oracle-plugin/pom.xml +++ b/oracle-plugin/pom.xml @@ -132,12 +132,6 @@ 1.1.6 test - - org.jetbrains - annotations - RELEASE - compile - diff --git a/oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleSourceSchemaReader.java b/oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleSourceSchemaReader.java index 208b70410..fabac2e3a 100644 --- a/oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleSourceSchemaReader.java +++ b/oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleSourceSchemaReader.java @@ -19,7 +19,6 @@ import com.google.common.collect.ImmutableSet; import io.cdap.cdap.api.data.schema.Schema; import io.cdap.plugin.db.CommonSchemaReader; -import org.jetbrains.annotations.NotNull; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -141,7 +140,7 @@ public Schema getSchema(ResultSetMetaData metadata, int index) throws SQLExcepti } } - private @NotNull Schema getTimestampLtzSchema() { + private Schema getTimestampLtzSchema() { return isTimestampOldBehavior || isTimestampLtzFieldTimestamp ? Schema.of(Schema.LogicalType.TIMESTAMP_MICROS) : Schema.of(Schema.LogicalType.DATETIME); diff --git a/postgresql-plugin/pom.xml b/postgresql-plugin/pom.xml index 0bb320554..14de92aab 100644 --- a/postgresql-plugin/pom.xml +++ b/postgresql-plugin/pom.xml @@ -108,12 +108,6 @@ ${cdap.version} test - - org.jetbrains - annotations - RELEASE - compile - org.mockito mockito-core diff --git a/saphana-plugin/pom.xml b/saphana-plugin/pom.xml index dbea07734..6351c3cba 100644 --- a/saphana-plugin/pom.xml +++ b/saphana-plugin/pom.xml @@ -67,12 +67,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile - diff --git a/teradata-plugin/pom.xml b/teradata-plugin/pom.xml index d01207087..09f42ac7d 100644 --- a/teradata-plugin/pom.xml +++ b/teradata-plugin/pom.xml @@ -72,12 +72,6 @@ cdap-api provided - - org.jetbrains - annotations - RELEASE - compile -