Skip to content

Commit 0d9ec40

Browse files
chore: clean up stale dep refs (#4256)
* chore: clean up stale dep refs Change-Id: Ie3bbb33df4b14e7a4326b147c324dc6a0fddd2d5 * format Change-Id: I15af77d9dd2e093d53ee8173ac53a339fd389c0c * a couple more missing bits Change-Id: I896864e031fa3b582094caac34c34f4163bba1d3
1 parent 26173b3 commit 0d9ec40

File tree

16 files changed

+28
-68
lines changed

16 files changed

+28
-68
lines changed

bigtable-hbase-1.x-parent/bigtable-hbase-1.x-mapreduce/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ limitations under the License.
130130
<plugin>
131131
<groupId>org.codehaus.mojo</groupId>
132132
<artifactId>build-helper-maven-plugin</artifactId>
133-
<version>3.3.0</version>
134133
<executions>
135134
<execution>
136135
<id>add-source</id>

bigtable-hbase-1.x-parent/bigtable-hbase-1.x-tools/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<dependency>
8989
<groupId>junit</groupId>
9090
<artifactId>junit</artifactId>
91-
<version>4.13.2</version>
91+
<version>${junit.version}</version>
9292
<scope>test</scope>
9393
</dependency>
9494
</dependencies>

hbase-migration-tools/mirroring-client/bigtable-hbase-mirroring-client-1.x-parent/bigtable-hbase-mirroring-client-1.x-hadoop/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ limitations under the License.
3333
Bigtable/HBase Mirroring Client conforming to HBase API 1.x. Uses hbase-client and shades all dependencies.
3434
</description>
3535

36-
<properties>
37-
<!-- define a property that can be ignored by renovate -->
38-
<hbase1-hadoop-slf4j.version>1.6.1</hbase1-hadoop-slf4j.version>
39-
</properties>
4036

4137
<dependencies>
4238
<!-- Environment deps first -->

hbase-migration-tools/mirroring-client/bigtable-hbase-mirroring-client-2.x-parent/bigtable-hbase-mirroring-client-2.x-hadoop/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ limitations under the License.
3333
Bigtable/HBase Mirroring Client conforming to HBase API 2.x. Uses hbase-client and shades all dependencies.
3434
</description>
3535

36-
<properties>
37-
<!-- define a property that can be ignored by renovate -->
38-
<hbase2-hadoop-slf4j.version>1.7.30</hbase2-hadoop-slf4j.version>
39-
</properties>
40-
4136
<dependencies>
4237
<dependency>
4338
<groupId>org.apache.hbase</groupId>

hbase-migration-tools/mirroring-client/bigtable-hbase-mirroring-client-core-parent/bigtable-hbase-mirroring-client-core/pom.xml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,20 +83,15 @@ limitations under the License.
8383
<groupId>com.google.api</groupId>
8484
<artifactId>api-common</artifactId>
8585
<version>1.10.6</version>
86+
<scope>compile</scope>
8687
</dependency>
8788
<dependency>
8889
<groupId>com.google.guava</groupId>
8990
<artifactId>guava</artifactId>
9091
<version>${guava.version}</version>
9192
</dependency>
9293

93-
<dependency>
94-
<groupId>org.checkerframework</groupId>
95-
<artifactId>checker-compat-qual</artifactId>
96-
<version>2.5.5</version>
97-
<scope>provided</scope>
98-
</dependency>
99-
94+
<!-- deps to be shaded -->
10095
<dependency>
10196
<groupId>com.fasterxml.jackson.core</groupId>
10297
<artifactId>jackson-databind</artifactId>

hbase-migration-tools/mirroring-client/bigtable-hbase-mirroring-client-core-parent/bigtable-hbase-mirroring-client-core/src/main/java/com/google/cloud/bigtable/mirroring/core/MirroringTable.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
import org.apache.hadoop.hbase.shaded.com.google.protobuf.Message;
8181
import org.apache.hadoop.hbase.shaded.com.google.protobuf.Service;
8282
import org.apache.hadoop.hbase.util.Bytes;
83-
import org.checkerframework.checker.nullness.compatqual.NullableDecl;
8483

8584
/**
8685
* Table which mirrors every two mutations to two underlying tables.
@@ -96,7 +95,7 @@ public class MirroringTable implements Table {
9695
private static final Predicate<Object> resultIsFaultyPredicate =
9796
new Predicate<Object>() {
9897
@Override
99-
public boolean apply(@NullableDecl Object o) {
98+
public boolean apply(Object o) {
10099
return o == null || o instanceof Throwable;
101100
}
102101
};

hbase-migration-tools/mirroring-client/bigtable-hbase-mirroring-client-core-parent/bigtable-hbase-mirroring-client-core/src/main/java/com/google/cloud/bigtable/mirroring/core/WriteOperationFutureCallback.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
package com.google.cloud.bigtable.mirroring.core;
1717

1818
import com.google.common.util.concurrent.FutureCallback;
19-
import org.checkerframework.checker.nullness.compatqual.NullableDecl;
2019

2120
/**
2221
* Write operations do not perform verification, only report failed writes. For this reason callback
@@ -26,7 +25,7 @@
2625
public abstract class WriteOperationFutureCallback<T> implements FutureCallback<T> {
2726

2827
@Override
29-
public final void onSuccess(@NullableDecl T t) {}
28+
public final void onSuccess(T t) {}
3029

3130
public abstract void onFailure(Throwable throwable);
3231
}

hbase-migration-tools/mirroring-client/bigtable-hbase-mirroring-client-core-parent/bigtable-hbase-mirroring-client-core/src/main/java/com/google/cloud/bigtable/mirroring/core/bufferedmutator/ConcurrentMirroringBufferedMutator.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
import org.apache.hadoop.hbase.client.Mutation;
4646
import org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException;
4747
import org.apache.hadoop.hbase.client.Row;
48-
import org.checkerframework.checker.nullness.compatqual.NullableDecl;
4948

5049
/**
5150
* {@link MirroringBufferedMutator} implementation that performs writes to primary and secondary
@@ -204,7 +203,7 @@ public void run() {
204203
this.mirroringTracer.spanFactory.wrapWithCurrentSpan(
205204
new FutureCallback<Void>() {
206205
@Override
207-
public void onSuccess(@NullableDecl Void aVoid) {
206+
public void onSuccess(Void aVoid) {
208207
flushFinished.run();
209208
}
210209

@@ -225,7 +224,7 @@ public void onFailure(Throwable throwable) {
225224
this.mirroringTracer.spanFactory.wrapWithCurrentSpan(
226225
new FutureCallback<Void>() {
227226
@Override
228-
public void onSuccess(@NullableDecl Void aVoid) {
227+
public void onSuccess(Void aVoid) {
229228
flushFinished.run();
230229
}
231230

hbase-migration-tools/mirroring-client/bigtable-hbase-mirroring-client-core-parent/bigtable-hbase-mirroring-client-core/src/main/java/com/google/cloud/bigtable/mirroring/core/bufferedmutator/SequentialMirroringBufferedMutator.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
import org.apache.hadoop.hbase.client.Mutation;
5050
import org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException;
5151
import org.apache.hadoop.hbase.client.Row;
52-
import org.checkerframework.checker.nullness.compatqual.NullableDecl;
5352

5453
/**
5554
* {@link MirroringBufferedMutator} implementation that performs mutations on secondary database
@@ -249,7 +248,7 @@ protected FlushFutures scheduleFlushScoped(
249248
this.mirroringTracer.spanFactory.wrapWithCurrentSpan(
250249
new FutureCallback<Void>() {
251250
@Override
252-
public void onSuccess(@NullableDecl Void aVoid) {
251+
public void onSuccess(Void aVoid) {
253252
primaryFlushErrorsReported.set(null);
254253
performSecondaryFlush(
255254
dataToFlush,

hbase-migration-tools/mirroring-client/bigtable-hbase-mirroring-client-core-parent/bigtable-hbase-mirroring-client-core/src/main/java/com/google/cloud/bigtable/mirroring/core/utils/BatchHelpers.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
import org.apache.hadoop.hbase.client.Row;
4343
import org.apache.hadoop.hbase.client.RowMutations;
4444
import org.apache.hadoop.hbase.client.Table;
45-
import org.checkerframework.checker.nullness.compatqual.NullableDecl;
4645

4746
public class BatchHelpers {
4847
public static FutureCallback<Void> createBatchVerificationCallback(
@@ -55,7 +54,7 @@ public static FutureCallback<Void> createBatchVerificationCallback(
5554
final MirroringTracer mirroringTracer) {
5655
return new FutureCallback<Void>() {
5756
@Override
58-
public void onSuccess(@NullableDecl Void t) {
57+
public void onSuccess(Void t) {
5958
// Batch is successful - all results are correct.
6059
List<? extends Row> secondaryOperations =
6160
failedAndSuccessfulPrimaryOperations.successfulOperations;

0 commit comments

Comments
 (0)