Use findbugs for Nullable annotations instead of jetbrains
authorMatt Corallo <git@bluematt.me>
Thu, 5 Aug 2021 03:17:43 +0000 (03:17 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 9 Aug 2021 05:53:31 +0000 (05:53 +0000)
javatester/pom.xml
pom.xml
src/main/java/org/ldk/batteries/ChannelManagerConstructor.java

index 02137e3f21cb6367f3651921ccdae66887931c95..17ea0e1ead282d836596af3efc96de5d898ed64e 100644 (file)
@@ -21,9 +21,9 @@
             <scope>compile</scope>
         </dependency>
         <dependency>
-            <groupId>org.jetbrains</groupId>
-            <artifactId>annotations</artifactId>
-            <version>RELEASE</version>
+            <groupId>com.google.code.findbugs</groupId>
+            <artifactId>jsr305</artifactId>
+            <version>3.0.2</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
diff --git a/pom.xml b/pom.xml
index 03201f289f5ce51cb6fb15d4c82543c751ea3bf4..f26ae43c7a7f0587a97c7efa9c518066c6feb777 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -27,9 +27,9 @@
             <scope>test</scope>
         </dependency>
         <dependency>
-            <groupId>org.jetbrains</groupId>
-            <artifactId>annotations</artifactId>
-            <version>RELEASE</version>
+            <groupId>com.google.code.findbugs</groupId>
+            <artifactId>jsr305</artifactId>
+            <version>3.0.2</version>
             <scope>compile</scope>
         </dependency>
     </dependencies>
index da5e3fb9c6f3bf9c2ab33200d7b1e80df5bfc5d3..40f6ac1919aa1e455564af98ab6d7b25c54f3917 100644 (file)
@@ -1,6 +1,6 @@
 package org.ldk.batteries;
 
-import org.jetbrains.annotations.Nullable;
+import javax.annotation.Nullable;
 import org.ldk.enums.Network;
 import org.ldk.structs.*;
 import org.ldk.util.TwoTuple;