commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject [4/6] [lang] Replace tabs with spaces in DateUtils
Date Sun, 12 Mar 2017 16:58:10 GMT
Replace tabs with spaces in DateUtils


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

Branch: refs/heads/master
Commit: 4259a706ab8641f408afc3ce224b1c0ba5a43d17
Parents: ba7c788
Author: Allon Mureinik <amureini@redhat.com>
Authored: Sat Mar 11 09:54:27 2017 +0200
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Sun Mar 12 17:41:50 2017 +0100

----------------------------------------------------------------------
 src/main/java/org/apache/commons/lang3/time/DateUtils.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/4259a706/src/main/java/org/apache/commons/lang3/time/DateUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/time/DateUtils.java b/src/main/java/org/apache/commons/lang3/time/DateUtils.java
index fc9f577..859011a 100644
--- a/src/main/java/org/apache/commons/lang3/time/DateUtils.java
+++ b/src/main/java/org/apache/commons/lang3/time/DateUtils.java
@@ -675,9 +675,9 @@ public class DateUtils {
      * @throws NullPointerException if {@code date} or {@code tz} is null
      */
     public static Calendar toCalendar(final Date date, final TimeZone tz) {
-    	final Calendar c = Calendar.getInstance(tz);
-    	c.setTime(date);
-    	return c;
+        final Calendar c = Calendar.getInstance(tz);
+        c.setTime(date);
+        return c;
     }
     
     //-----------------------------------------------------------------------


Mime
View raw message