myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hno...@apache.org
Subject [myfaces-tobago] branch master updated: fix checkstyle
Date Fri, 03 Apr 2020 09:45:46 GMT
This is an automated email from the ASF dual-hosted git repository.

hnoeth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new b84ca16  fix checkstyle
b84ca16 is described below

commit b84ca16851108f7fa307bad56252652192703cc6
Author: Henning Nöth <hnoeth@apache.org>
AuthorDate: Fri Apr 3 11:39:44 2020 +0200

    fix checkstyle
    
    * SheetController.java (whitespace) NoWhitespaceBefore: ';' is preceded with whitespace.
    * CategoryNode.java (whitespace) OperatorWrap: '+' should be on a new line.
---
 .../org/apache/myfaces/tobago/example/demo/CategoryNode.java   | 10 +++++-----
 .../apache/myfaces/tobago/example/demo/SheetController.java    |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/CategoryNode.java
b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/CategoryNode.java
index 8637d16..2f6ed78 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/CategoryNode.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/CategoryNode.java
@@ -37,10 +37,10 @@ public class CategoryNode {
 
   @Override
   public String toString() {
-    return "CategoryNode{" +
-        "id='" + id + '\'' +
-        ", name='" + name + '\'' +
-        ", children=" + children +
-        '}';
+    return "CategoryNode{"
+        + "id='" + id + '\''
+        + ", name='" + name + '\''
+        + ", children=" + children
+        + '}';
   }
 }
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/SheetController.java
b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/SheetController.java
index 53fff0f..ef75cae 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/SheetController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/SheetController.java
@@ -85,7 +85,7 @@ public class SheetController implements Serializable {
 
     int j = 1;
     hugeSolarList = new ArrayList<>();
-    for (; ; ) {
+    while (true) {
       for (final SolarObject solarObject : solarList) {
         final SolarObject solarObjectClone = new SolarObject(solarObject);
         hugeSolarList.add(solarObjectClone);


Mime
View raw message