# HG changeset patch # User erikj # Date 1545226954 -3600 # Node ID 947cfcf92dbea9c39d6eb9558d0448593ce92202 # Parent dc3a6c64767244a0db6a776260ba121a165ebb2f Fix whitespace diff -r dc3a6c647672 -r 947cfcf92dbe make/autoconf/basics_windows.m4 --- a/make/autoconf/basics_windows.m4 Wed Dec 19 03:35:40 2018 -0800 +++ b/make/autoconf/basics_windows.m4 Wed Dec 19 14:42:34 2018 +0100 @@ -491,7 +491,7 @@ AC_MSG_CHECKING([WSL kernel release]) WSL_KERNEL_RELEASE=`$UNAME -r` AC_MSG_RESULT([$WSL_KERNEL_RELEASE]) - + AC_MSG_CHECKING([WSL distribution]) WSL_DISTRIBUTION=`$LSB_RELEASE -d | sed 's/Description:\t//'` AC_MSG_RESULT([$WSL_DISTRIBUTION]) @@ -566,8 +566,8 @@ BASIC_APPEND_TO_PATH(WSLENV, "FIXPATH_PATH") export WSLENV export FIXPATH_PATH=$VS_PATH_WINDOWS - AC_MSG_NOTICE([FIXPATH_PATH is $FIXPATH_PATH]) - AC_MSG_NOTICE([Rewriting WSLENV from $OLD_WSLENV to $WSLENV]) + AC_MSG_NOTICE([FIXPATH_PATH is $FIXPATH_PATH]) + AC_MSG_NOTICE([Rewriting WSLENV from $OLD_WSLENV to $WSLENV]) fi AC_MSG_CHECKING([if fixpath.exe works]) diff -r dc3a6c647672 -r 947cfcf92dbe make/jdk/src/classes/build/tools/generatecurrencydata/GenerateCurrencyData.java --- a/make/jdk/src/classes/build/tools/generatecurrencydata/GenerateCurrencyData.java Wed Dec 19 03:35:40 2018 -0800 +++ b/make/jdk/src/classes/build/tools/generatecurrencydata/GenerateCurrencyData.java Wed Dec 19 14:42:34 2018 +0100 @@ -136,44 +136,44 @@ private static String currenciesWithMinorUnitsUndefined; public static void main(String[] args) { - InputStream in = System.in; + InputStream in = System.in; // Look for "-o outputfilename" option for (int n = 0; n < args.length; ++n) { if (args[n].equals("-o")) { - ++n; - if (n >= args.length) { - System.err.println("Error: Invalid argument format"); - System.exit(1); - } - try { - out = new DataOutputStream(new FileOutputStream(args[n])); - } catch ( FileNotFoundException e ) { - System.err.println("Error: " + e.getMessage()); - e.printStackTrace(System.err); - System.exit(1); - } - } else if (args[n].equals("-i")) { - ++n; - if (n >= args.length) { - System.err.println("Error: Invalid argument format"); - System.exit(1); - } - try { - in = new FileInputStream(args[n]); - } catch ( FileNotFoundException e ) { - System.err.println("Error: " + e.getMessage()); - e.printStackTrace(System.err); - System.exit(1); - } - } else { - System.err.println("Error: Invalid argument " + args[n]); - System.exit(1); - } + ++n; + if (n >= args.length) { + System.err.println("Error: Invalid argument format"); + System.exit(1); + } + try { + out = new DataOutputStream(new FileOutputStream(args[n])); + } catch ( FileNotFoundException e ) { + System.err.println("Error: " + e.getMessage()); + e.printStackTrace(System.err); + System.exit(1); + } + } else if (args[n].equals("-i")) { + ++n; + if (n >= args.length) { + System.err.println("Error: Invalid argument format"); + System.exit(1); + } + try { + in = new FileInputStream(args[n]); + } catch ( FileNotFoundException e ) { + System.err.println("Error: " + e.getMessage()); + e.printStackTrace(System.err); + System.exit(1); + } + } else { + System.err.println("Error: Invalid argument " + args[n]); + System.exit(1); + } } if (out == null) { - System.err.println("Error: Invalid argument format"); - System.exit(1); + System.err.println("Error: Invalid argument format"); + System.exit(1); } format = new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss", Locale.US); diff -r dc3a6c647672 -r 947cfcf92dbe make/jdk/src/classes/build/tools/spp/Spp.java --- a/make/jdk/src/classes/build/tools/spp/Spp.java Wed Dec 19 03:35:40 2018 -0800 +++ b/make/jdk/src/classes/build/tools/spp/Spp.java Wed Dec 19 14:42:34 2018 +0100 @@ -71,8 +71,8 @@ Set keys = new HashSet<>(); boolean be = false; boolean el = true; - String inputFile = null; - String outputFile = null; + String inputFile = null; + String outputFile = null; for (String arg:args) { if (arg.startsWith("-D")) {