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

andy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jena.git


The following commit(s) were added to refs/heads/master by this push:
     new 3f1ebac  Fix whitespace; fix typo
3f1ebac is described below

commit 3f1ebac3771cdf94244b50f5130c2f7d57f3cff4
Author: Andy Seaborne <[email protected]>
AuthorDate: Sat Jan 18 09:59:18 2020 +0000

    Fix whitespace; fix typo
---
 .../src/main/java/org/apache/jena/atlas/lib/DateTimeUtils.java     | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git 
a/jena-base/src/main/java/org/apache/jena/atlas/lib/DateTimeUtils.java 
b/jena-base/src/main/java/org/apache/jena/atlas/lib/DateTimeUtils.java
index 4507180..6645251 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/lib/DateTimeUtils.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/lib/DateTimeUtils.java
@@ -66,7 +66,7 @@ public class DateTimeUtils {
     public static String calendarToXSDDateTimeString(Calendar cal) {
         DateTimeFormatter fmt = hasZeroMilliSeconds(cal)
             ? dateTimeFmt_XSD_ms0
-                : dateTimeFmt_XSD_ms ;
+            : dateTimeFmt_XSD_ms ;
         return calendarToXSDString(cal, fmt) ;
     }
 
@@ -77,18 +77,17 @@ public class DateTimeUtils {
         return x;
     }
 
-    // Canonical fom : if ms == 0, don't include in the string.
+    // Canonical form : if ms == 0, don't include in the string.
     public static String calendarToXSDTimeString(Calendar cal) {
         DateTimeFormatter fmt = hasZeroMilliSeconds(cal)
             ? timeFmt_XSD_ms0
-                : timeFmt_XSD_ms ;
+            : timeFmt_XSD_ms ;
         return calendarToXSDString(cal, fmt) ;
     }
 
     private static String calendarToXSDString(Calendar cal, DateTimeFormatter 
fmt) {
         ZonedDateTime zdt = ((GregorianCalendar)cal).toZonedDateTime();
         String lex = fmt.format(zdt) ;
-        // lex = lex + calcTimezone(cal) ;
         return lex ;
     }
 }

Reply via email to