myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r921972 - in /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago: component/ internal/context/ internal/layout/ taglib/component/
Date Thu, 11 Mar 2010 18:32:12 GMT
Author: bommel
Date: Thu Mar 11 18:31:59 2010
New Revision: 921972

URL: http://svn.apache.org/viewvc?rev=921972&view=rev
Log:
checkstyle

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/AbstractUIMessages.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Position.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ResponseWriterDivider.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/BankHead.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/Grid.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/Interval.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/HiddenTagDeclaration.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TreeListboxTagDeclaration.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/AbstractUIMessages.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/AbstractUIMessages.java?rev=921972&r1=921971&r2=921972&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/AbstractUIMessages.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/AbstractUIMessages.java
Thu Mar 11 18:31:59 2010
@@ -19,7 +19,6 @@ package org.apache.myfaces.tobago.compon
 
 import org.apache.commons.collections.iterators.SingletonIterator;
 import org.apache.myfaces.tobago.layout.LayoutComponent;
-import org.apache.myfaces.tobago.layout.Measure;
 
 import javax.faces.application.FacesMessage;
 import javax.faces.context.FacesContext;

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Position.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Position.java?rev=921972&r1=921971&r2=921972&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Position.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Position.java
Thu Mar 11 18:31:59 2010
@@ -33,4 +33,4 @@ public interface Position {
 
   void setTop(Measure top);
 
-}
\ No newline at end of file
+}

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ResponseWriterDivider.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ResponseWriterDivider.java?rev=921972&r1=921971&r2=921972&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ResponseWriterDivider.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/context/ResponseWriterDivider.java
Thu Mar 11 18:31:59 2010
@@ -46,7 +46,7 @@ public class ResponseWriterDivider {
   private String nameInRequest;
 
   public static ResponseWriterDivider getInstance(FacesContext facesContext, String nameInRequest)
{
-    final Map<String,Object> map = facesContext.getExternalContext().getRequestMap();
+    final Map<String, Object> map = facesContext.getExternalContext().getRequestMap();
     ResponseWriterDivider divider = (ResponseWriterDivider) map.get(nameInRequest);
     if (divider == null) {
       divider = new ResponseWriterDivider(facesContext);
@@ -128,7 +128,7 @@ public class ResponseWriterDivider {
       original.write(buffer.toString());
     }
     // clean up.
-    final Map<String,Object> map = facesContext.getExternalContext().getRequestMap();
+    final Map<String, Object> map = facesContext.getExternalContext().getRequestMap();
     map.remove(nameInRequest);
   }
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/BankHead.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/BankHead.java?rev=921972&r1=921971&r2=921972&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/BankHead.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/BankHead.java
Thu Mar 11 18:31:59 2010
@@ -61,10 +61,10 @@ public class BankHead {
 
   @Override
   public String toString() {
-    return "BankHead{" +
-        "token='" + token +
-        "', measure='" + measure +
-        "', rendered=" + rendered +
-        '}';
+    return "BankHead{"
+        + "token='" + token
+        + "', measure='" + measure
+        + "', rendered=" + rendered
+        + '}';
   }
 }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/Grid.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/Grid.java?rev=921972&r1=921971&r2=921972&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/Grid.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/Grid.java
Thu Mar 11 18:31:59 2010
@@ -167,7 +167,7 @@ public class Grid {
     rowHeads = newRowHeads;
     // todo: shorter in jdk 1.6: rowHeads = Arrays.copyOf(rowHeads, rowHeads.length + newRows);
     
-    for (int i = rowCount; i <rowCount + newRows; i++ ) {
+    for (int i = rowCount; i < rowCount + newRows; i++) {
       rowHeads[i] = new BankHead(RelativeLayoutToken.DEFAULT_INSTANCE);
     }
 

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/Interval.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/Interval.java?rev=921972&r1=921971&r2=921972&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/Interval.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/internal/layout/Interval.java
Thu Mar 11 18:31:59 2010
@@ -1,9 +1,5 @@
 package org.apache.myfaces.tobago.internal.layout;
 
-import org.apache.myfaces.tobago.layout.LayoutComponent;
-import org.apache.myfaces.tobago.layout.Measure;
-import org.apache.myfaces.tobago.layout.Orientation;
-
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -21,6 +17,11 @@ import org.apache.myfaces.tobago.layout.
  * limitations under the License.
  */
 
+import org.apache.myfaces.tobago.layout.LayoutComponent;
+import org.apache.myfaces.tobago.layout.Measure;
+import org.apache.myfaces.tobago.layout.Orientation;
+
+
 public class Interval {
 
   private final Measure minimum;

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/HiddenTagDeclaration.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/HiddenTagDeclaration.java?rev=921972&r1=921971&r2=921972&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/HiddenTagDeclaration.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/HiddenTagDeclaration.java
Thu Mar 11 18:31:59 2010
@@ -35,5 +35,6 @@ import org.apache.myfaces.tobago.taglib.
     uiComponentBaseClass = "javax.faces.component.UIInput",
     rendererType = RendererTypes.HIDDEN,
     allowedChildComponenents = "NONE")
-public interface HiddenTagDeclaration extends HasIdBindingAndRendered, HasValue, HasConverter,
HasValidator, IsReadonly {
+public interface HiddenTagDeclaration extends HasIdBindingAndRendered, HasValue, HasConverter,
HasValidator,
+    IsReadonly {
 }

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TreeListboxTagDeclaration.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TreeListboxTagDeclaration.java?rev=921972&r1=921971&r2=921972&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TreeListboxTagDeclaration.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TreeListboxTagDeclaration.java
Thu Mar 11 18:31:59 2010
@@ -72,4 +72,4 @@ public interface TreeListboxTagDeclarati
   @TagAttribute
   @UIComponentTagAttribute(type = "java.lang.Object", expression = DynamicExpression.VALUE_BINDING_REQUIRED)
   void setState(String state);
-}
\ No newline at end of file
+}



Mime
View raw message