--- jsr166/src/test/jtreg/util/Collections/WrappedNull.java 2010/09/05 21:32:19 1.3 +++ jsr166/src/test/jtreg/util/Collections/WrappedNull.java 2010/10/16 16:00:28 1.4 @@ -33,7 +33,7 @@ import java.util.*; public class WrappedNull { public static void main(String argv[]) throws Exception { boolean testSucceeded = false; - try{ + try { List l = Arrays.asList(null); } catch (NullPointerException e) { @@ -43,7 +43,7 @@ public class WrappedNull { throw new Exception("Arrays.asList"); testSucceeded = false; - try{ + try { Collection c = Collections.unmodifiableCollection(null); } catch (NullPointerException e) { @@ -53,7 +53,7 @@ public class WrappedNull { throw new Exception("unmodifiableCollection"); testSucceeded = false; - try{ + try { Set c = Collections.unmodifiableSet(null); } catch (NullPointerException e) { @@ -63,7 +63,7 @@ public class WrappedNull { throw new Exception("unmodifiableSet"); testSucceeded = false; - try{ + try { List c = Collections.unmodifiableList(null); } catch (NullPointerException e) { @@ -73,7 +73,7 @@ public class WrappedNull { throw new Exception("unmodifiableList"); testSucceeded = false; - try{ + try { Map c = Collections.unmodifiableMap(null); } catch (NullPointerException e) { @@ -83,7 +83,7 @@ public class WrappedNull { throw new Exception("unmodifiableMap"); testSucceeded = false; - try{ + try { SortedSet c = Collections.unmodifiableSortedSet(null); } catch (NullPointerException e) { @@ -93,7 +93,7 @@ public class WrappedNull { throw new Exception("unmodifiableSortedSet"); testSucceeded = false; - try{ + try { SortedMap c = Collections.unmodifiableSortedMap(null); } catch (NullPointerException e) { @@ -103,7 +103,7 @@ public class WrappedNull { throw new Exception("unmodifiableSortedMap"); testSucceeded = false; - try{ + try { Collection c = Collections.synchronizedCollection(null); } catch (NullPointerException e) { @@ -113,7 +113,7 @@ public class WrappedNull { throw new Exception("synchronizedCollection"); testSucceeded = false; - try{ + try { Set c = Collections.synchronizedSet(null); } catch (NullPointerException e) { @@ -123,7 +123,7 @@ public class WrappedNull { throw new Exception("synchronizedSet"); testSucceeded = false; - try{ + try { List c = Collections.synchronizedList(null); } catch (NullPointerException e) { @@ -133,7 +133,7 @@ public class WrappedNull { throw new Exception("synchronizedList"); testSucceeded = false; - try{ + try { Map c = Collections.synchronizedMap(null); } catch (NullPointerException e) { @@ -143,7 +143,7 @@ public class WrappedNull { throw new Exception("synchronizedMap"); testSucceeded = false; - try{ + try { SortedSet c = Collections.synchronizedSortedSet(null); } catch (NullPointerException e) { @@ -153,7 +153,7 @@ public class WrappedNull { throw new Exception("synchronizedSortedSet"); testSucceeded = false; - try{ + try { SortedMap c = Collections.synchronizedSortedMap(null); } catch (NullPointerException e) {