File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
google-cloud-spanner-executor
src/main/java/com/google/cloud/executor/spanner Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 121121 <artifactId >commons-io</artifactId >
122122 <version >2.11.0</version >
123123 </dependency >
124-
125- <dependency >
126- <groupId >org.jetbrains</groupId >
127- <artifactId >annotations</artifactId >
128- <version >RELEASE</version >
129- <scope >compile</scope >
130- </dependency >
131124 </dependencies >
132125 <build >
133126 <finalName >google-spanner-cloud-executor</finalName >
Original file line number Diff line number Diff line change 168168import java .util .logging .Level ;
169169import java .util .logging .Logger ;
170170import java .util .stream .Collectors ;
171+ import javax .annotation .Nonnull ;
171172import javax .annotation .Nullable ;
172173import org .apache .commons .io .FileUtils ;
173- import org .jetbrains .annotations .NotNull ;
174174import org .threeten .bp .Duration ;
175175import org .threeten .bp .LocalDate ;
176176
@@ -652,7 +652,7 @@ public synchronized void bufferMutations(List<Mutation> mutations) throws Spanne
652652 }
653653
654654 /** 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 )
656656 throws SpannerException {
657657 for (int i = 0 ; i < stmts .size (); i ++) {
658658 LOGGER .log (
@@ -3323,7 +3323,7 @@ private static com.google.cloud.spanner.Type typeProtoToCloudType(
33233323 }
33243324
33253325 /** 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 ) {
33273327 switch (cloudTypeProto .getCode ()) {
33283328 case BOOL :
33293329 return com .google .spanner .v1 .Type .newBuilder ().setCode (TypeCode .BOOL ).build ();
You can’t perform that action at this time.
0 commit comments