You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2010/01/16 18:05:02 UTC
svn commit: r899992 - in /myfaces/tobago/trunk/example:
data/src/main/java/org/apache/myfaces/tobago/example/data/
demo/src/main/java/org/apache/myfaces/tobago/example/demo/
demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/
demo/s...
Author: bommel
Date: Sat Jan 16 17:05:01 2010
New Revision: 899992
URL: http://svn.apache.org/viewvc?rev=899992&view=rev
Log:
checkstyle
Modified:
myfaces/tobago/trunk/example/data/src/main/java/org/apache/myfaces/tobago/example/data/SolarObject.java
myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/Navigation.java
myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ThemeConfigViewController.java
myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/reference/InputSuggestController.java
Modified: myfaces/tobago/trunk/example/data/src/main/java/org/apache/myfaces/tobago/example/data/SolarObject.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/data/src/main/java/org/apache/myfaces/tobago/example/data/SolarObject.java?rev=899992&r1=899991&r2=899992&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/data/src/main/java/org/apache/myfaces/tobago/example/data/SolarObject.java (original)
+++ myfaces/tobago/trunk/example/data/src/main/java/org/apache/myfaces/tobago/example/data/SolarObject.java Sat Jan 16 17:05:01 2010
@@ -43,7 +43,8 @@
private String population;
public SolarObject(
- String name, String number, String orbit, Integer distance, Double period, Double incl, Double eccen, String discoverer, Integer discoverYear) {
+ String name, String number, String orbit, Integer distance, Double period,
+ Double incl, Double eccen, String discoverer, Integer discoverYear) {
this.name = name;
this.number = number;
this.orbit = orbit;
Modified: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/Navigation.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/Navigation.java?rev=899992&r1=899991&r2=899992&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/Navigation.java (original)
+++ myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/Navigation.java Sat Jan 16 17:05:01 2010
@@ -94,9 +94,9 @@
state = new TreeState();
state.getExpanded().add(new TreePath(0));
- state.getExpanded().add(new TreePath(0,0));
- state.getExpanded().add(new TreePath(0,1));
- state.getMarked().add(new TreePath(0,0));
+ state.getExpanded().add(new TreePath(0, 0));
+ state.getExpanded().add(new TreePath(0, 1));
+ state.getMarked().add(new TreePath(0, 0));
}
public String navigate() {
Modified: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ThemeConfigViewController.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ThemeConfigViewController.java?rev=899992&r1=899991&r2=899992&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ThemeConfigViewController.java (original)
+++ myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ThemeConfigViewController.java Sat Jan 16 17:05:01 2010
@@ -170,10 +170,9 @@
component.setRendererType(rendererType);
ArrayList<KeyValue> found = new ArrayList<KeyValue>();
- for (int i = 0; i < propertyNames.length; i++) {
- String propertyName = propertyNames[i];
+ for (String propertyName : propertyNames) {
try {
- Measure measure = ResourceManagerUtil.getThemeMeasure(facesContext, (LayoutBase)component, propertyName);
+ Measure measure = ResourceManagerUtil.getThemeMeasure(facesContext, (LayoutBase) component, propertyName);
found.add(new DefaultKeyValue(propertyName, measure.toString()));
} catch (Exception e) {
if (LOG.isDebugEnabled()) {
Modified: myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/reference/InputSuggestController.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/reference/InputSuggestController.java?rev=899992&r1=899991&r2=899992&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/reference/InputSuggestController.java (original)
+++ myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/reference/InputSuggestController.java Sat Jan 16 17:05:01 2010
@@ -1,5 +1,22 @@
package org.apache.myfaces.tobago.example.reference;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
import org.apache.myfaces.tobago.model.AutoSuggestExtensionItem;
import org.apache.myfaces.tobago.model.AutoSuggestItem;
import org.apache.myfaces.tobago.model.AutoSuggestItems;