Skip to content

Commit 389a25e

Browse files
author
Marcus Linke
committed
Beautify source
1 parent b27aac3 commit 389a25e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/main/java/com/github/dockerjava/core/dockerfile/Dockerfile.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ public ScannedResult() throws IOException {
188188
*/
189189
private List<String> matchingIgnorePatterns(String fileName) {
190190
List<String> matches = new ArrayList<String>();
191+
191192
int lineNumber = 0;
192193
for (String pattern : ignores) {
193194
lineNumber++;
@@ -199,8 +200,8 @@ private List<String> matchingIgnorePatterns(String fileName) {
199200
throw new DockerClientException(String.format(
200201
"Invalid pattern '%s' on line %s in .dockerignore file", pattern, lineNumber));
201202
}
202-
203203
}
204+
204205
return matches;
205206
}
206207

@@ -286,10 +287,7 @@ private Collection<File> resolveWildcards(File file, List<String> ignores) {
286287
}
287288

288289
private void processEnvStatement(DockerfileStatement.Env env) {
289-
290290
environmentMap.put(env.variable, env.value);
291291
}
292-
293292
}
294-
295293
}

0 commit comments

Comments
 (0)