File tree Expand file tree Collapse file tree 6 files changed +7
-11
lines changed
main/java/com/projectkaiser/scm/vcs/api
test/java/com/projectkaiser/scm/vcs/api/workingcopy Expand file tree Collapse file tree 6 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ hs_err_pid*
1414/. *
1515/bin
1616build
17+ /* .iml
Original file line number Diff line number Diff line change 11apply plugin : ' java'
22apply plugin : ' maven'
33
4-
54sourceCompatibility = JavaVersion . VERSION_1_7
65targetCompatibility = JavaVersion . VERSION_1_7
76
87group = ' com.projectkaiser.scm'
98version = ' 2.0-SNAPSHOT'
109
11-
1210repositories {
1311 mavenCentral()
1412}
Original file line number Diff line number Diff line change 1- # Wed Aug 10 11:04:58 GMT+03:00 2016
1+ # Sun Mar 26 13:53:29 MSK 2017
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-2.4-bin .zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-2.4-all .zip
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ public enum VCSChangeType {
1212 MODIFY ,
1313
1414 /** Delete an existing file from the project */
15- DELETE ;
15+ DELETE
1616}
Original file line number Diff line number Diff line change @@ -58,9 +58,7 @@ private void init() {
5858 if (!lockFile .exists ()) {
5959 continue ;
6060 }
61- if (!tryLockFile (lockFile )) {
62- continue ;
63- } else {
61+ if (tryLockFile (lockFile )) {
6462 folder = file ;
6563 state = VCSLockedWorkingCopyState .LOCKED ;
6664 return ;
Original file line number Diff line number Diff line change 99import org .junit .Test ;
1010
1111public class VCSLockedWorkingCopyTest extends VCSWCTestBase {
12-
13- private IVCSWorkspace w ;
12+
1413 private IVCSRepositoryWorkspace r ;
1514
1615 @ Before
1716 public void setUp () {
18- w = new VCSWorkspace (WORKSPACE_DIR );
17+ IVCSWorkspace w = new VCSWorkspace (WORKSPACE_DIR );
1918 r = w .getVCSRepositoryWorkspace (TEST_REPO_URL );
2019 }
2120
You can’t perform that action at this time.
0 commit comments