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

desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit c63edcccd4279b729d9b23306ed61626ee3a8f3f
Author: Martin Desruisseaux <martin.desruisse...@geomatys.com>
AuthorDate: Sat Oct 19 14:35:36 2019 +0200

    Actually the <h4> numbering in Javadoc seems to be incompatible with the 
numbers expected by Java 11.
    Require Java 13 for building Apache SIS (but still produce code executable 
on Java 8) so we can write
    Javadoc comments compliant with most recent Java version.
---
 .../src/test/java/org/apache/sis/geometry/CoordinateFormatTest.java     | 1 -
 pom.xml                                                                 | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/core/sis-referencing/src/test/java/org/apache/sis/geometry/CoordinateFormatTest.java
 
b/core/sis-referencing/src/test/java/org/apache/sis/geometry/CoordinateFormatTest.java
index e97ff9a..c225e3b 100644
--- 
a/core/sis-referencing/src/test/java/org/apache/sis/geometry/CoordinateFormatTest.java
+++ 
b/core/sis-referencing/src/test/java/org/apache/sis/geometry/CoordinateFormatTest.java
@@ -151,7 +151,6 @@ public final strictfp class CoordinateFormatTest extends 
TestCase {
         position.setCoordinateReferenceSystem(null);
         assertEquals("getPattern(Angle)", anglePattern, 
format.getPattern(Angle.class));
         assertEquals("getPattern(Date)",   datePattern, format.getPattern(Date 
.class));
-        if (false)  // TODO remove this line if we can require JDK13 at build 
time.
         assertEquals("23,78 -12,74 127,9 54 000,25",    
format.format(position));
         /*
          * Try again with the original CRS, but different separator.
diff --git a/pom.xml b/pom.xml
index b7931f2..5afaae9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -624,7 +624,7 @@
             <configuration>
               <rules>
                 <requireJavaVersion>
-                  <version>11</version>
+                  <version>13</version>
                 </requireJavaVersion>
               </rules>
             </configuration>

Reply via email to