Browse Source

Remove unnecessary @SuppressWarnings("null")

Change-Id: I5bddcdab2c5cc92622144a7b207bad90cb601609
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v3.2.0.201311130903-m3
Matthias Sohn 10 years ago
parent
commit
1ec72e9a1c

+ 0
- 5
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitOnlyTest.java View File

return f1; return f1;
} }


@SuppressWarnings("null")
private void executeAndCheck_f1_1(final Git git, final int state) private void executeAndCheck_f1_1(final Git git, final int state)
throws Exception { throws Exception {
JGitInternalException exception = null; JGitInternalException exception = null;
assertEquals(expected_f3_idx(state), indexState(CONTENT)); assertEquals(expected_f3_idx(state), indexState(CONTENT));
} }


@SuppressWarnings("null")
private void executeAndCheck_f1_1_f2_f14(final Git git, final int state) private void executeAndCheck_f1_1_f2_f14(final Git git, final int state)
throws Exception { throws Exception {
JGitInternalException exception = null; JGitInternalException exception = null;
+ expected_f3_idx(state), indexState(CONTENT)); + expected_f3_idx(state), indexState(CONTENT));
} }


@SuppressWarnings("null")
private void executeAndCheck_f1_2(final Git git, final int state) private void executeAndCheck_f1_2(final Git git, final int state)
throws Exception { throws Exception {
JGitInternalException exception = null; JGitInternalException exception = null;
executeAndCheck_f1_3(git, state); executeAndCheck_f1_3(git, state);
} }


@SuppressWarnings("null")
private void executeAndCheck_f1_6(final Git git, final int state) private void executeAndCheck_f1_6(final Git git, final int state)
throws Exception { throws Exception {
JGitInternalException exception = null; JGitInternalException exception = null;
executeAndCheck_f1_8(git, state); executeAndCheck_f1_8(git, state);
} }


@SuppressWarnings("null")
private void executeAndCheck_f1_12(final Git git, final int state) private void executeAndCheck_f1_12(final Git git, final int state)
throws Exception { throws Exception {
JGitInternalException exception = null; JGitInternalException exception = null;

Loading…
Cancel
Save