Skip to content

Commit d23788f

Browse files
committed
Fix whitespace
1 parent 507f61a commit d23788f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/main/groovy/net/researchgate/release/SvnAdapter.groovy

+10-10
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ class SvnAdapter extends BaseScmAdapter {
6868
@Override
6969
void checkCommitNeeded() {
7070
String out = svnExec(['status'])
71-
int changes = 0
72-
int unknown = 0
71+
int changes = 0
72+
int unknown = 0
7373
out.eachLine { line ->
7474
line = line.trim()
7575
if (line.length() >= 2 && line.charAt(1) == ' ' as char) {
@@ -105,14 +105,14 @@ class SvnAdapter extends BaseScmAdapter {
105105
String out = svnExec(['status', '-q', '-u'])
106106
int missing = 0
107107
out.eachLine { line ->
108-
line = line.trim()
109-
if (line.length() >= 2 && line.charAt(1) == ' ' as char) {
110-
switch (line.charAt(0)) {
111-
case '*':
112-
missing++
113-
break
114-
}
115-
}
108+
line = line.trim()
109+
if (line.length() >= 2 && line.charAt(1) == ' ' as char) {
110+
switch (line.charAt(0)) {
111+
case '*':
112+
missing++
113+
break
114+
}
115+
}
116116
}
117117
if (missing > 0) {
118118
warnOrThrow(extension.failOnUpdateNeeded, "You are missing ${missing} changes.")

0 commit comments

Comments
 (0)