File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ hs_err_pid*
13
13
/. *
14
14
/build /
15
15
/bin /
16
-
16
+ * .iml
Original file line number Diff line number Diff line change @@ -618,8 +618,7 @@ private RevObject getInitialCommit(Git git) throws Exception {
618
618
RevCommit root = rw .parseCommit (headId );
619
619
rw .sort (RevSort .REVERSE );
620
620
rw .markStart (root );
621
- RevCommit res = rw .next ();
622
- return res ;
621
+ return rw .next ();
623
622
}
624
623
}
625
624
Original file line number Diff line number Diff line change 18
18
public class GitVCSTest extends VCSAbstractTest {
19
19
20
20
private Repository localGitRepo ;
21
- private RuntimeException testGitResetException = new RuntimeException ("test exeption on git.reset()" );
21
+ private final RuntimeException testGitResetException = new RuntimeException ("test exeption on git.reset()" );
22
22
23
23
@ Override
24
24
public void setUp () throws Exception {
@@ -48,8 +48,7 @@ protected String getTestRepoUrl() {
48
48
49
49
@ Override
50
50
protected IVCS getVCS (IVCSRepositoryWorkspace mockedVCSRepo ) {
51
- IVCS vcs = Mockito .spy (new GitVCS (mockedVCSRepo ));
52
- return vcs ;
51
+ return Mockito .spy (new GitVCS (mockedVCSRepo ));
53
52
}
54
53
55
54
@ Override
You can’t perform that action at this time.
0 commit comments