mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[terminal] IJPL-220311 Refactor ShellCommandParserOptions
Make it an interface with a builder. GitOrigin-RevId: 2e9a6de571330fa8e44843c160fe5f5b4677bd19
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0b149898aa
commit
d6f1fc80e0
@@ -19,7 +19,10 @@ class JavaShellCommandSpecsProvider : ShellCommandSpecsProvider {
|
||||
}
|
||||
|
||||
private fun getSpecs(): ShellCommandSpec = ShellCommandSpec("java") {
|
||||
parserOptions = ShellCommandParserOptions.create(flagsArePosixNonCompliant = true, optionsMustPrecedeArguments = true)
|
||||
parserOptions = ShellCommandParserOptions.builder()
|
||||
.flagsArePosixNonCompliant(true)
|
||||
.optionsMustPrecedeArguments(true)
|
||||
.build()
|
||||
|
||||
dynamicOptions { terminalContext ->
|
||||
val javaContext = JavaShellCommandContext.create(terminalContext)
|
||||
|
||||
Reference in New Issue
Block a user