Skip to content

Commit 649444f

Browse files
committed
remove more logic
1 parent c3deefd commit 649444f

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

  • src/main/java/org/apache/maven/shared/utils/cli/shell

src/main/java/org/apache/maven/shared/utils/cli/shell/Shell.java

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
import java.util.Arrays;
2424
import java.util.List;
2525

26-
import org.apache.maven.shared.utils.StringUtils;
27-
2826
/**
2927
* Class that abstracts the Shell functionality,
3028
* with subclasses for shells that behave particularly, like
@@ -96,14 +94,7 @@ String[] getShellArgs() {
9694
}
9795

9896
protected String quoteOneItem(String inputString, boolean isExecutable) {
99-
char[] escapeChars = {};
100-
return StringUtils.quoteAndEscape(
101-
inputString,
102-
isExecutable ? '\"' : '\"',
103-
escapeChars,
104-
getQuotingTriggerChars(),
105-
'\\',
106-
unconditionalQuoting);
97+
return inputString;
10798
}
10899

109100
/**

0 commit comments

Comments
 (0)