commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject [lang] Checkstyle: Remove trailing white spaces on all lines.
Date Mon, 09 Oct 2017 21:44:20 GMT
Repository: commons-lang
Updated Branches:
  refs/heads/master d848328a7 -> 15d550321


Checkstyle: Remove trailing white spaces on all lines.

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/15d55032
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/15d55032
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/15d55032

Branch: refs/heads/master
Commit: 15d5503215a4cd1efc1ae6659d82194a22ebee9b
Parents: d848328
Author: Gary Gregory <ggregory@apache.org>
Authored: Mon Oct 9 15:44:17 2017 -0600
Committer: Gary Gregory <ggregory@apache.org>
Committed: Mon Oct 9 15:44:17 2017 -0600

----------------------------------------------------------------------
 .../java/org/apache/commons/lang3/time/FastDateParser.java   | 8 ++++----
 .../apache/commons/lang3/text/ExtendedMessageFormatTest.java | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/15d55032/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/time/FastDateParser.java b/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
index d41f0ad..3c8fe8c 100644
--- a/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
+++ b/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
@@ -956,7 +956,7 @@ public class FastDateParser implements DateParser, Serializable {
             return iValue-1;
         }
     };
-    
+
     private static final Strategy LITERAL_YEAR_STRATEGY = new NumberStrategy(Calendar.YEAR);
     private static final Strategy WEEK_OF_YEAR_STRATEGY = new NumberStrategy(Calendar.WEEK_OF_YEAR);
     private static final Strategy WEEK_OF_MONTH_STRATEGY = new NumberStrategy(Calendar.WEEK_OF_MONTH);
@@ -968,7 +968,7 @@ public class FastDateParser implements DateParser, Serializable {
             return iValue != 7 ? iValue + 1 : Calendar.SUNDAY;
         }
     };
-    
+
     private static final Strategy DAY_OF_WEEK_IN_MONTH_STRATEGY = new NumberStrategy(Calendar.DAY_OF_WEEK_IN_MONTH);
     private static final Strategy HOUR_OF_DAY_STRATEGY = new NumberStrategy(Calendar.HOUR_OF_DAY);
     private static final Strategy HOUR24_OF_DAY_STRATEGY = new NumberStrategy(Calendar.HOUR_OF_DAY)
{
@@ -977,14 +977,14 @@ public class FastDateParser implements DateParser, Serializable {
             return iValue == 24 ? 0 : iValue;
         }
     };
-    
+
     private static final Strategy HOUR12_STRATEGY = new NumberStrategy(Calendar.HOUR) {
         @Override
         int modify(final FastDateParser parser, final int iValue) {
             return iValue == 12 ? 0 : iValue;
         }
     };
-    
+
     private static final Strategy HOUR_STRATEGY = new NumberStrategy(Calendar.HOUR);
     private static final Strategy MINUTE_STRATEGY = new NumberStrategy(Calendar.MINUTE);
     private static final Strategy SECOND_STRATEGY = new NumberStrategy(Calendar.SECOND);

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/15d55032/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java b/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
index b5f3717..6b0f725 100644
--- a/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
+++ b/src/test/java/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
@@ -424,7 +424,7 @@ public class ExtendedMessageFormatTest {
         public StringBuffer format(final Object obj, final StringBuffer toAppendTo, final
FieldPosition pos) {
             return toAppendTo.append(((String) obj).toUpperCase(Locale.ROOT));
         }
-        
+
         @Override
         public Object parseObject(final String source, final ParsePosition pos) {
             throw new UnsupportedOperationException();
@@ -438,7 +438,7 @@ public class ExtendedMessageFormatTest {
      */
     private static class LowerCaseFormatFactory implements FormatFactory {
         private static final Format LOWER_INSTANCE = new LowerCaseFormat();
-        
+
         @Override
         public Format getFormat(final String name, final String arguments, final Locale locale)
{
             return LOWER_INSTANCE;
@@ -449,7 +449,7 @@ public class ExtendedMessageFormatTest {
      */
     private static class UpperCaseFormatFactory implements FormatFactory {
         private static final Format UPPER_INSTANCE = new UpperCaseFormat();
-        
+
         @Override
         public Format getFormat(final String name, final String arguments, final Locale locale)
{
             return UPPER_INSTANCE;
@@ -459,7 +459,7 @@ public class ExtendedMessageFormatTest {
      * {@link FormatFactory} implementation to override date format "short" to "default".
      */
     private static class OverrideShortDateFormatFactory implements FormatFactory {
-        
+
         @Override
         public Format getFormat(final String name, final String arguments, final Locale locale)
{
             return !"short".equals(arguments) ? null


Mime
View raw message