diff --git a/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java b/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java index f09b6a1f9..27fc00098 100644 --- a/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java +++ b/infer/tests/codetoanalyze/java/incremental/changed_only_mode/Child.java @@ -12,7 +12,7 @@ package codetoanalyze.java.incremental.changed_only_mode; class Child { Object bar() { - return new Object(); + return null; } Object dontReanalyze(Object o) { diff --git a/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java b/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java index 1fb836cf3..aaf2e1fec 100644 --- a/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java +++ b/infer/tests/codetoanalyze/java/incremental/child_changed/Child.java @@ -12,7 +12,7 @@ package codetoanalyze.java.incremental.child_changed; class Child { Object bar() { - return new Object(); + return null; } Object dontReanalyze(Object o) {