File tree 2 files changed +3
-10
lines changed
google-cloud-spanner-executor
src/main/java/com/google/cloud/executor/spanner
2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 121
121
<artifactId >commons-io</artifactId >
122
122
<version >2.11.0</version >
123
123
</dependency >
124
-
125
- <dependency >
126
- <groupId >org.jetbrains</groupId >
127
- <artifactId >annotations</artifactId >
128
- <version >RELEASE</version >
129
- <scope >compile</scope >
130
- </dependency >
131
124
</dependencies >
132
125
<build >
133
126
<finalName >google-spanner-cloud-executor</finalName >
Original file line number Diff line number Diff line change 168
168
import java .util .logging .Level ;
169
169
import java .util .logging .Logger ;
170
170
import java .util .stream .Collectors ;
171
+ import javax .annotation .Nonnull ;
171
172
import javax .annotation .Nullable ;
172
173
import org .apache .commons .io .FileUtils ;
173
- import org .jetbrains .annotations .NotNull ;
174
174
import org .threeten .bp .Duration ;
175
175
import org .threeten .bp .LocalDate ;
176
176
@@ -652,7 +652,7 @@ public synchronized void bufferMutations(List<Mutation> mutations) throws Spanne
652
652
}
653
653
654
654
/** Execute a batch of updates in a read-write transaction. */
655
- public synchronized long [] executeBatchDml (@ NotNull List <Statement > stmts )
655
+ public synchronized long [] executeBatchDml (@ Nonnull List <Statement > stmts )
656
656
throws SpannerException {
657
657
for (int i = 0 ; i < stmts .size (); i ++) {
658
658
LOGGER .log (
@@ -3323,7 +3323,7 @@ private static com.google.cloud.spanner.Type typeProtoToCloudType(
3323
3323
}
3324
3324
3325
3325
/** Convert a cloud Type to a Type proto. */
3326
- private static com .google .spanner .v1 .Type cloudTypeToTypeProto (@ NotNull Type cloudTypeProto ) {
3326
+ private static com .google .spanner .v1 .Type cloudTypeToTypeProto (@ Nonnull Type cloudTypeProto ) {
3327
3327
switch (cloudTypeProto .getCode ()) {
3328
3328
case BOOL :
3329
3329
return com .google .spanner .v1 .Type .newBuilder ().setCode (TypeCode .BOOL ).build ();
You can’t perform that action at this time.
0 commit comments