Skip to content

Commit 0ee7c79

Browse files
committed
Remove unneeded trim call
1 parent 79c7f0a commit 0ee7c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/cf/maybelambda/fedora/ConsoleIOHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ static List<String> promptForExclusions(List<String> packages, Scanner scanner)
5050
}
5151
}
5252
} else {
53-
int idx = Integer.parseInt(part.trim());
53+
int idx = Integer.parseInt(part);
5454
if (idx >= 1 && idx <= packages.size()) {
5555
excludeIndexes.add(idx - 1);
5656
}

0 commit comments

Comments
 (0)