Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change affected testcases by DEFERENCE_OF_NULLABLE #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nonnull-interned-demo/checkers/testdemo/nonnull.1.expected
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
src/checkers/nonnull/NonnullAnnotatedTypeFactory.java:204: error: dereference of possibly-null reference elt
if (elt.getKind() == ElementKind.ENUM_CONSTANT)
^
^
1 error

BUILD FAILED
Expand Down
10 changes: 5 additions & 5 deletions nonnull-interned-demo/junit/testdemo/assert.0.expected
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
src/org/junit/Assert.java:105: error: dereference of possibly-null reference expected
return expected.equals(actual);
^
^
src/org/junit/Assert.java:152: error: dereference of possibly-null reference o1
if (o1.getClass().isArray() && o2.getClass().isArray()) {
^
^
src/org/junit/Assert.java:152: error: dereference of possibly-null reference o2
if (o1.getClass().isArray() && o2.getClass().isArray()) {
^
^
src/org/junit/Assert.java:359: error: dereference of possibly-null reference expected
+ expected.getClass().getName()
^
^
src/org/junit/Assert.java:362: error: dereference of possibly-null reference actual
+ actual.getClass().getName()
^
^
5 errors

BUILD FAILED
Expand Down
2 changes: 1 addition & 1 deletion nonnull-interned-demo/lookup/testdemo/lookup.0.expected
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
src/utilMDE/UtilMDE.java:564: error: dereference of possibly-null reference files
for (int i = 0; i < files.length; i++) {
^
^
src/utilMDE/UtilMDE.java:716: error: incompatible types in return.
return hm.put(key, new Integer(new_total));
^
Expand Down