langtools/test/tools/javac/lambda/LambdaLambdaSerialized.java
changeset 28592 4f1da6e809b0
parent 16551 c08f5b2c7232
--- a/langtools/test/tools/javac/lambda/LambdaLambdaSerialized.java	Tue Jan 20 21:49:55 2015 +0100
+++ b/langtools/test/tools/javac/lambda/LambdaLambdaSerialized.java	Wed Jan 21 19:02:20 2015 +0100
@@ -67,13 +67,13 @@
         out.writeObject(lamb);
     }
 
-    static void readAssert(ObjectInputStream in, String expected)  throws IOException, ClassNotFoundException {
-        LSI<LSI<Map>> ls = (LSI<LSI<Map>>) in.readObject();
+    static void readAssert(ObjectInputStream in, String expected) throws IOException, ClassNotFoundException {
+        LSI<LSI<Map>> ls = (LSI<LSI<Map>>)in.readObject();
         Map result = ls.get().get();
         System.out.printf("Result: %s\n", result);
     }
+
+    interface LSI<T> extends Serializable {
+        T get();
+    }
 }
-
-interface LSI<T> extends Serializable {
-    T get();
-}