Fix whitespace JDK-8215445-branch
authorerikj
Wed, 19 Dec 2018 14:42:34 +0100
branchJDK-8215445-branch
changeset 57083 947cfcf92dbe
parent 57082 dc3a6c647672
child 57084 3292894e5734
Fix whitespace
make/autoconf/basics_windows.m4
make/jdk/src/classes/build/tools/generatecurrencydata/GenerateCurrencyData.java
make/jdk/src/classes/build/tools/spp/Spp.java
--- 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])
--- 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);
--- 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<String> 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")) {