You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2022/09/16 07:50:00 UTC

[myfaces-tobago] branch main updated: fix: checkstyle

This is an automated email from the ASF dual-hosted git repository.

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


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

commit 9c97d090d389305bddaa037f013fe3ed9e29ebe5
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Fri Sep 16 09:43:17 2022 +0200

    fix: checkstyle
---
 .../java/org/apache/myfaces/tobago/example/demo/TestController.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/TestController.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/TestController.java
index 0a392428a4..5a684295f5 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/TestController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/TestController.java
@@ -136,8 +136,8 @@ public class TestController implements Serializable {
       this.id = id;
       this.base = base;
       String back = label.startsWith("content/") ? label.substring("content/".length()) : label;
-      this.label = StringUtils.abbreviateMiddle(back,"...", 50);
-      this.shortLabel = StringUtils.abbreviateMiddle(back,"...", 30);
+      this.label = StringUtils.abbreviateMiddle(back, "...", 50);
+      this.shortLabel = StringUtils.abbreviateMiddle(back, "...", 30);
     }
 
     public String getId() {