Source:
<code>public static void main(String[] args) { try { CommandLine cmd = argumentParser.parseCommandLine(args); if (argumentParser.shouldPrintHelp()) { argumentParser.printHelp(); System.exit(EXIT_SUCCESS); } String pathname = ""; if (cmd.getArgs().length >= 1) { pathname = cmd.getArgs()[0]; } if (cmd.getArgs().length < 1 || pathname.isEmpty()) { System.err.println("Swift source file must be provided."); argumentParser.printHelp(); System.exit(EXIT_FAILURE); } Severity maxSeverity = null; try { maxSeverity = argumentParser.getSeverityLevel(); } catch (Severity.IllegalSeverityException e) { System.err.println("Invalid value provided for option " + ArgumentParser.MAX_SEVERITY_OPT + "."); argumentParser.printHelp(); <START> System.exit(1); <END> } File inputFile = new File(pathname); FileInputStream inputStream = new FileInputStream(inputFile); SwiftLexer lexer = new SwiftLexer(new ANTLRInputStream(inputStream)); CommonTokenStream stream = new CommonTokenStream(lexer); SwiftParser swiftParser = new SwiftParser(stream); SwiftParser.TopLevelContext tree = swiftParser.topLevel(); MaxLengths maxLengths = argumentParser.parseMaxLengths(); try (Printer printer = new Printer(inputFile, maxSeverity)) { MainListener listener = new MainListener(printer, maxLengths); ParseTreeWalker walker = new ParseTreeWalker(); walker.walk(listener, tree); FileListener fileListener = new FileListener(printer, inputFile, maxLengths); fileListener.verify(); } } catch (ArgumentParserException | ParseException | IOException e) { System.err.println("Source file analysis failed. Reason: " + e.getMessage()); System.exit(EXIT_FAILURE); } }</code><technical_language>Please EXIT_FAILURE constant</technical_language>

Target:
public static void main(String[] args) { try { CommandLine cmd = argumentParser.parseCommandLine(args); if (argumentParser.shouldPrintHelp()) { argumentParser.printHelp(); System.exit(EXIT_SUCCESS); } String pathname = ""; if (cmd.getArgs().length >= 1) { pathname = cmd.getArgs()[0]; } if (cmd.getArgs().length < 1 || pathname.isEmpty()) { System.err.println("Swift source file must be provided."); argumentParser.printHelp(); System.exit(EXIT_FAILURE); } MaxLengths maxLengths = argumentParser.parseMaxLengths(); Severity maxSeverity = argumentParser.getMaxSeverity(); File inputFile = new File(pathname); FileInputStream inputStream = new FileInputStream(inputFile); SwiftLexer lexer = new SwiftLexer(new ANTLRInputStream(inputStream)); CommonTokenStream stream = new CommonTokenStream(lexer); SwiftParser swiftParser = new SwiftParser(stream); SwiftParser.TopLevelContext tree = swiftParser.topLevel(); try (Printer printer = new Printer(inputFile, maxSeverity)) { MainListener listener = new MainListener(printer, maxLengths); ParseTreeWalker walker = new ParseTreeWalker(); walker.walk(listener, tree); FileListener fileListener = new FileListener(printer, inputFile, maxLengths); fileListener.verify(); } } catch (ParseException | IOException e) { System.err.println("Source file analysis failed. Reason: " + e.getMessage()); System.exit(EXIT_FAILURE); } catch (ArgumentParserException e) { System.err.println(e.getMessage()); argumentParser.printHelp(); System.exit(EXIT_FAILURE); } }