diff --git a/dependencies/java/butterknife/BUCK b/dependencies/java/butterknife/BUCK deleted file mode 100644 index af8411ff2..000000000 --- a/dependencies/java/butterknife/BUCK +++ /dev/null @@ -1,7 +0,0 @@ -prebuilt_jar( - name = 'butterknife', - binary_jar = 'butterknife-7.0.1.jar', - visibility = [ - 'PUBLIC', - ], -) diff --git a/dependencies/java/butterknife/butterknife-7.0.1.jar b/dependencies/java/butterknife/butterknife-7.0.1.jar deleted file mode 100644 index 7a03a8a2c..000000000 Binary files a/dependencies/java/butterknife/butterknife-7.0.1.jar and /dev/null differ diff --git a/dependencies/java/junit/BUCK b/dependencies/java/junit/BUCK deleted file mode 100644 index 1e20f558d..000000000 --- a/dependencies/java/junit/BUCK +++ /dev/null @@ -1,20 +0,0 @@ - -prebuilt_jar( - name = 'hamcrest', - binary_jar = 'hamcrest-core-1.3.jar', - visibility = [ - 'PUBLIC' - ] -) - -prebuilt_jar( - name = 'junit', - binary_jar = 'junit-4.11.jar', - deps = [ - ':hamcrest' - ], - visibility = [ - 'PUBLIC' - ] -) - diff --git a/dependencies/java/junit/hamcrest-core-1.3.jar b/dependencies/java/junit/hamcrest-core-1.3.jar deleted file mode 100755 index 9d5fe16e3..000000000 Binary files a/dependencies/java/junit/hamcrest-core-1.3.jar and /dev/null differ diff --git a/dependencies/java/junit/junit-4.11.jar b/dependencies/java/junit/junit-4.11.jar deleted file mode 100755 index aaf744484..000000000 Binary files a/dependencies/java/junit/junit-4.11.jar and /dev/null differ diff --git a/dependencies/java/opencsv/BUCK b/dependencies/java/opencsv/BUCK deleted file mode 100644 index 4ad693de6..000000000 --- a/dependencies/java/opencsv/BUCK +++ /dev/null @@ -1,7 +0,0 @@ -prebuilt_jar( - name = 'opencsv', - binary_jar = 'opencsv-2.3.jar', - visibility = [ - 'PUBLIC' - ] -) diff --git a/dependencies/java/opencsv/license.txt b/dependencies/java/opencsv/license.txt deleted file mode 100644 index dedecdcf6..000000000 --- a/dependencies/java/opencsv/license.txt +++ /dev/null @@ -1 +0,0 @@ -http://www.apache.org/licenses/LICENSE-2.0 diff --git a/dependencies/java/opencsv/opencsv-2.3.jar b/dependencies/java/opencsv/opencsv-2.3.jar deleted file mode 100644 index 32b00f927..000000000 Binary files a/dependencies/java/opencsv/opencsv-2.3.jar and /dev/null differ diff --git a/infer/tests/codetoanalyze/java/eradicate/FieldNotInitialized.java b/infer/tests/codetoanalyze/java/eradicate/FieldNotInitialized.java index 28610335b..f47952370 100644 --- a/infer/tests/codetoanalyze/java/eradicate/FieldNotInitialized.java +++ b/infer/tests/codetoanalyze/java/eradicate/FieldNotInitialized.java @@ -13,14 +13,15 @@ package codetoanalyze.java.eradicate; import android.support.annotation.NonNull; import android.widget.EditText; -import butterknife.Bind; - import com.facebook.infer.annotation.SuppressViewNullability; import javax.annotation.Nonnull; import javax.annotation.Nullable; import javax.inject.Inject; +// for butterknife +@interface Bind {} + public class FieldNotInitialized { String a; @@ -33,7 +34,7 @@ public class FieldNotInitialized { @NonNull String e; - @Bind(42) EditText f; // Means: assume it will be initialized, and ignore null assignment + @Bind EditText f; // Means: assume it will be initialized, and ignore null assignment @SuppressViewNullability EditText g; diff --git a/infer/tests/java.make b/infer/tests/java.make index d0c36e5a6..5168ab1ae 100644 --- a/infer/tests/java.make +++ b/infer/tests/java.make @@ -12,11 +12,9 @@ include $(ROOT_DIR)/Makefile.config ANDROID = $(JAVA_LIB_DIR)/android/android-23.jar ANDROIDSUPPORT = $(DEPENDENCIES_DIR)/java/android/support/v4/android-support-v4.jar ANNOTATIONS = $(ANNOTATIONS_DIR)/annotations.jar -BUTTERKNIFE = $(DEPENDENCIES_DIR)/java/butterknife/butterknife-7.0.1.jar GUAVA = $(DEPENDENCIES_DIR)/java/guava/guava-10.0.1-fork.jar JACKSON = $(DEPENDENCIES_DIR)/java/jackson/jackson-2.2.3.jar JSR305 = $(DEPENDENCIES_DIR)/java/jsr-305/jsr305.jar INJECT = $(DEPENDENCIES_DIR)/java/jsr-330/javax.inject.jar -JUNIT = $(DEPENDENCIES_DIR)/java/junit/junit-4.11.jar -CLASSPATH=$(ANDROID):$(ANDROIDSUPPORT):$(ANNOTATIONS):$(BUTTERKNIFE):$(GUAVA):$(JACKSON):$(JSR305):$(INJECT):$(JAVA_BUILTINS_DIR):$(JUNIT):. +CLASSPATH=$(ANDROID):$(ANDROIDSUPPORT):$(ANNOTATIONS):$(GUAVA):$(JACKSON):$(JSR305):$(INJECT):$(JAVA_BUILTINS_DIR):.