[203252] [formatting] JSP formatter makes code less readable (J2SE-1.4 compat)
diff --git a/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/internal/preferences/ui/HTMLSourcePreferencePage.java b/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/internal/preferences/ui/HTMLSourcePreferencePage.java
index 865985e..8c63e1b 100644
--- a/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/internal/preferences/ui/HTMLSourcePreferencePage.java
+++ b/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/internal/preferences/ui/HTMLSourcePreferencePage.java
@@ -12,7 +12,7 @@
 
 import java.lang.reflect.InvocationTargetException;
 import java.util.ArrayList;
-import java.util.Collections;
+import java.util.Arrays;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Locale;
@@ -488,9 +488,7 @@
 		private List fElements;
 
 		public ContentProvider() {
-			Object[] elements = HTMLFormattingUtil.getInlineElements();
-			fElements = new ArrayList(elements.length);
-			Collections.addAll(fElements, elements);
+			fElements = new ArrayList(Arrays.asList(HTMLFormattingUtil.getInlineElements()));
 		}
 
 		public void dispose() {
@@ -513,9 +511,7 @@
 		}
 
 		public void restoreDefaults() {
-			Object[] elements = HTMLFormattingUtil.getDefaultInlineElements();
-			fElements = new ArrayList(elements.length);
-			Collections.addAll(fElements, elements);
+			fElements = new ArrayList(Arrays.asList(HTMLFormattingUtil.getDefaultInlineElements()));
 		}
 		
 	}