diff --git a/facebook-core/src/main/java/com/facebook/appevents/restrictivedatafilter/AddressFilterManager.java b/facebook-core/src/main/java/com/facebook/appevents/restrictivedatafilter/AddressFilterManager.java index 7003d1b8f0..47a6b47a0e 100644 --- a/facebook-core/src/main/java/com/facebook/appevents/restrictivedatafilter/AddressFilterManager.java +++ b/facebook-core/src/main/java/com/facebook/appevents/restrictivedatafilter/AddressFilterManager.java @@ -69,7 +69,7 @@ public static void processParameters(Map parameters) { private static boolean shouldFilterKey(String textFeature) { float[] dense = new float[30]; - Arrays.fill(dense, new Float(0)); + Arrays.fill(dense, 0); String shouldFilter = ModelManager.predict( ModelManager.MODEL_ADDRESS_DETECTION, dense, textFeature); return shouldFilter != null && shouldFilter.equals(Model.SHOULD_FILTER);