Skip to content

Commit 73f47a4

Browse files
Eric Bottardericbottard
Eric Bottard
authored andcommitted
SHL-177: Remove unused code
1 parent 3bbd895 commit 73f47a4

File tree

4 files changed

+0
-164
lines changed

4 files changed

+0
-164
lines changed

src/main/java/org/springframework/shell/core/CliOptionContext.java

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/main/java/org/springframework/shell/core/CliSimpleParserContext.java

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/main/java/org/springframework/shell/core/SimpleParser.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,6 @@ else if (!specifiedKey) {
251251

252252
// Now we're ready to perform a conversion
253253
try {
254-
CliOptionContext.setOptionContext(cliOption.optionContext());
255-
CliSimpleParserContext.setSimpleParserContext(this);
256254
Object result;
257255
Converter<?> c = null;
258256
for (Converter<?> candidate : converters) {
@@ -287,10 +285,6 @@ else if (!specifiedKey) {
287285
}
288286
return null;
289287
}
290-
finally {
291-
CliOptionContext.resetOptionContext();
292-
CliSimpleParserContext.resetSimpleParserContext();
293-
}
294288
}
295289

296290
// Check for options specified by the user but are unavailable for the command

src/test/java/org/springframework/shell/core/CliOptionContextTest.java

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)