/[Apache-SVN]/incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ThemeConfigViewController.java
ViewVC logotype

Diff of /incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ThemeConfigViewController.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ThemeConfigViewController.java	2006/02/04 21:44:01	374935
+++ incubator/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ThemeConfigViewController.java	2006/02/04 21:47:46	374936
@@ -1,23 +1,25 @@
+package org.apache.myfaces.tobago.example.demo.clientConfig;
+
 /*
  * Copyright 2002-2005 The Apache Software Foundation.
- * 
- *    Licensed under the Apache License, Version 2.0 (the "License");
- *    you may not use this file except in compliance with the License.
- *    You may obtain a copy of the License at
- * 
- *        http://www.apache.org/licenses/LICENSE-2.0
- * 
- *    Unless required by applicable law or agreed to in writing, software
- *    distributed under the License is distributed on an "AS IS" BASIS,
- *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *    See the License for the specific language governing permissions and
- *    limitations under the License.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  */
+
 /*
   * Created 13.07.2004 at 10:48:28.
   * $Id: ThemeConfigViewController.java 1271 2005-08-08 20:44:11 +0200 (Mo, 08 Aug 2005) lofwyr $
   */
-package org.apache.myfaces.tobago.example.demo.clientConfig;
 
 import org.apache.commons.collections.KeyValue;
 import org.apache.commons.collections.keyvalue.DefaultKeyValue;
@@ -46,7 +48,6 @@ import java.util.Set;
 
 public class ThemeConfigViewController {
 
-// ///////////////////////////////////////////// constant
 
   private static final Log LOG = LogFactory.getLog(ThemeConfigViewController.class);
 
@@ -105,8 +106,6 @@ public class ThemeConfigViewController {
     "Verbatim"
   };
 
-// ///////////////////////////////////////////// attribute
-
   private String[] propertyNames;
 
   private KeyValue[] entrys;
@@ -121,15 +120,11 @@ public class ThemeConfigViewController {
 
   private UIComponent component;
 
-// ///////////////////////////////////////////// constructor
-
   public ThemeConfigViewController() {
     component = new UIInput();
     init();
   }
 
-// ///////////////////////////////////////////// code
-
   private void init() {
     String[] themes;
     if (themeNames != null) {
@@ -139,7 +134,7 @@ public class ThemeConfigViewController {
     }
 
     final Set<String> names = new HashSet<String>();
-    for (int j = 0; j < DEFAULT_THEMES.length ; j++) {
+    for (int j = 0; j < DEFAULT_THEMES.length; j++) {
       Properties properties = new Properties();
       String file = PROPERTY_FILE_PREFIX + themes[j] + PROPERTY_FILE_POSTFIX;
       InputStream inputStream = null;

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26