polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [1/8] zest-java git commit: Minor fix in AbstractJsonDateFormatTest
Date Mon, 12 Sep 2016 01:16:05 GMT
Repository: zest-java
Updated Branches:
  refs/heads/develop 8fd9d5ac0 -> ea3f3a6f2


Minor fix in AbstractJsonDateFormatTest

Somehow, we were able to mistakenly cast a Period to ZonedDateTime.
This doesn't work anymore on JDK 9 b135


Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/0a7e237e
Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/0a7e237e
Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/0a7e237e

Branch: refs/heads/develop
Commit: 0a7e237eb10524933a8f7fc214f87778cc926296
Parents: 8fd9d5a
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Sat Sep 10 20:47:08 2016 -0700
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Sat Sep 10 20:47:08 2016 -0700

----------------------------------------------------------------------
 .../org/apache/zest/test/value/AbstractJsonDateFormatTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-java/blob/0a7e237e/core/testsupport/src/main/java/org/apache/zest/test/value/AbstractJsonDateFormatTest.java
----------------------------------------------------------------------
diff --git a/core/testsupport/src/main/java/org/apache/zest/test/value/AbstractJsonDateFormatTest.java
b/core/testsupport/src/main/java/org/apache/zest/test/value/AbstractJsonDateFormatTest.java
index 4cb33ba..9725380 100644
--- a/core/testsupport/src/main/java/org/apache/zest/test/value/AbstractJsonDateFormatTest.java
+++ b/core/testsupport/src/main/java/org/apache/zest/test/value/AbstractJsonDateFormatTest.java
@@ -143,7 +143,7 @@ public class AbstractJsonDateFormatTest
         throws Exception
     {
         CollectionType collectionType = new CollectionType( List.class, periodType );
-        List<ZonedDateTime> value = valueDeserializer.deserialize( module, collectionType,
"[\"P3Y5M13D\"]" );
+        List<Period> value = valueDeserializer.deserialize( module, collectionType,
"[\"P3Y5M13D\"]" );
         Period expected = Period.of( 3, 5, 13);
         assertThat( value.get( 0 ), equalTo( expected ) );
     }


Mime
View raw message