You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2019/08/29 06:34:29 UTC
[myfaces-tobago] branch master updated: checkstyle
This is an automated email from the ASF dual-hosted git repository.
lofwyr 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 fdb6c5d checkstyle
fdb6c5d is described below
commit fdb6c5d4dc7d365b5b7f1f393ab9b331a65de0f3
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu Aug 29 08:34:18 2019 +0200
checkstyle
---
.../java/org/apache/myfaces/tobago/context/ThemeScript.java | 10 +++++-----
.../java/org/apache/myfaces/tobago/context/ThemeStyle.java | 8 ++++----
.../myfaces/tobago/convert/DurationConverterUnitTest.java | 12 ++++++------
3 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/context/ThemeScript.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/context/ThemeScript.java
index cb16ed9..8b55a74 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/context/ThemeScript.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/context/ThemeScript.java
@@ -58,11 +58,11 @@ public final class ThemeScript extends ThemeResource {
@Override
public String toString() {
- return "ThemeScript{" +
- "type='" + type + '\'' +
- ", name='" + getName() + '\'' +
- ", priority=" + getPriority() +
- '}';
+ return "ThemeScript{"
+ + "type='" + type + '\''
+ + ", name='" + getName() + '\''
+ + ", priority=" + getPriority()
+ + '}';
}
}
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/context/ThemeStyle.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/context/ThemeStyle.java
index 7182542..c61b83d 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/context/ThemeStyle.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/context/ThemeStyle.java
@@ -26,10 +26,10 @@ public final class ThemeStyle extends ThemeResource {
@Override
public String toString() {
- return "ThemeStyle{" +
- "name='" + getName() + '\'' +
- ", priority=" + getPriority() +
- '}';
+ return "ThemeStyle{"
+ + "name='" + getName() + '\''
+ + ", priority=" + getPriority()
+ + '}';
}
}
diff --git a/tobago-core/src/test/java/org/apache/myfaces/tobago/convert/DurationConverterUnitTest.java b/tobago-core/src/test/java/org/apache/myfaces/tobago/convert/DurationConverterUnitTest.java
index 2a9368a..8794ee1 100644
--- a/tobago-core/src/test/java/org/apache/myfaces/tobago/convert/DurationConverterUnitTest.java
+++ b/tobago-core/src/test/java/org/apache/myfaces/tobago/convert/DurationConverterUnitTest.java
@@ -45,9 +45,9 @@ public class DurationConverterUnitTest {
format("hour", 1L, "1:00:00");
format("day", 1L, "24:00:00");
format("year", 1L, "8765:45:36");
- format("milli",75_000L,"1:15");
- format("hour",1L,"1:00:00");
- format(null,4_500_000L,"1:15:00");
+ format("milli", 75_000L, "1:15");
+ format("hour", 1L, "1:00:00");
+ format(null, 4_500_000L, "1:15:00");
}
@Test
@@ -60,9 +60,9 @@ public class DurationConverterUnitTest {
parse("hour", 1L, "1:00:00");
parse("day", 1L, "24:00:00");
parse("year", 1L, "8765:45:36");
- parse("milli",75_000L,"1:15");
- parse("hour",1L,"1:15:00");
- parse(null,4_500_000L,"1:15:00");
+ parse("milli", 75_000L, "1:15");
+ parse("hour", 1L, "1:15:00");
+ parse(null, 4_500_000L, "1:15:00");
}
private void format(final String unit, final Long aLong, final String string) {