Browse Source

Remove unnecessary @SuppressWarnings("null")

Change-Id: I5bddcdab2c5cc92622144a7b207bad90cb601609
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-3.2
Matthias Sohn 11 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
1ec72e9a1c
  1. 5
      org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitOnlyTest.java

5
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitOnlyTest.java

@ -1043,7 +1043,6 @@ public class CommitOnlyTest extends RepositoryTestCase {
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;
@ -1059,7 +1058,6 @@ public class CommitOnlyTest extends RepositoryTestCase {
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;
@ -1077,7 +1075,6 @@ public class CommitOnlyTest extends RepositoryTestCase {
+ 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;
@ -1129,7 +1126,6 @@ public class CommitOnlyTest extends RepositoryTestCase {
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;
@ -1192,7 +1188,6 @@ public class CommitOnlyTest extends RepositoryTestCase {
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