From commits-return-8485-apmail-sis-commits-archive=sis.apache.org@sis.apache.org Wed Dec 7 04:15:04 2016
Return-Path:
X-Original-To: apmail-sis-commits-archive@www.apache.org
Delivered-To: apmail-sis-commits-archive@www.apache.org
Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by minotaur.apache.org (Postfix) with SMTP id 20A7D19AA7
for ; Wed, 7 Dec 2016 04:15:04 +0000 (UTC)
Received: (qmail 29672 invoked by uid 500); 7 Dec 2016 04:15:04 -0000
Delivered-To: apmail-sis-commits-archive@sis.apache.org
Received: (qmail 29646 invoked by uid 500); 7 Dec 2016 04:15:04 -0000
Mailing-List: contact commits-help@sis.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: sis-dev@sis.apache.org
Delivered-To: mailing list commits@sis.apache.org
Received: (qmail 29637 invoked by uid 99); 7 Dec 2016 04:15:03 -0000
Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142)
by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2016 04:15:03 +0000
Received: from localhost (localhost [127.0.0.1])
by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 49F8B1A02B7
for ; Wed, 7 Dec 2016 04:15:03 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org
X-Spam-Flag: NO
X-Spam-Score: -1.199
X-Spam-Level:
X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31
tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1,
RP_MATCHES_RCVD=-2.999] autolearn=disabled
Received: from mx1-lw-eu.apache.org ([10.40.0.8])
by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024)
with ESMTP id cFOQ3YHVVUVG for ;
Wed, 7 Dec 2016 04:14:52 +0000 (UTC)
Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139])
by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 53A1B5FB6B
for ; Wed, 7 Dec 2016 04:14:51 +0000 (UTC)
Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6])
by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7D15AE8EA8
for ; Wed, 7 Dec 2016 04:14:49 +0000 (UTC)
Received: from svn01-us-west.apache.org (localhost [127.0.0.1])
by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 59B513A0EDB
for ; Wed, 7 Dec 2016 04:14:49 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: svn commit: r1773010 [6/8] - in /sis/branches/JDK7: ./
application/sis-console/src/main/artifact/
application/sis-openoffice/src/main/unopkg/
core/sis-build-helper/src/main/javadoc/
core/sis-feature/src/main/java/org/apache/sis/feature/ core/sis-featur...
Date: Wed, 07 Dec 2016 04:14:47 -0000
To: commits@sis.apache.org
From: desruisseaux@apache.org
X-Mailer: svnmailer-1.0.9
Message-Id: <20161207041449.59B513A0EDB@svn01-us-west.apache.org>
Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors_fr.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors_fr.properties?rev=1773010&r1=1773009&r2=1773010&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors_fr.properties [ISO-8859-1] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Errors_fr.properties [ISO-8859-1] Wed Dec 7 04:14:44 2016
@@ -41,7 +41,7 @@ CircularReference = R\u0
ClassNotFinal_1 = La classe \u2018{0}\u2019 n\u2019est pas finale.
CloneNotSupported_1 = Un objet de type \u2018{0}\u2019 ne peut pas \u00eatre clon\u00e9.
ClosedReader_1 = Ce lecteur {0} est ferm\u00e9.
-DatabaseError_2 = Erreur de base de donn\u00e9es lors de la cr\u00e9ation d\u2019un objet \u2018{0}\u2019 pour le code \u00ab\u202f{1}\u202f\u00bb.
+DatabaseError_2 = Erreur de base de donn\u00e9es lors de la cr\u00e9ation d\u2019un objet \u2018{0}\u2019 pour l\u2019identifiant \u00ab\u202f{1}\u202f\u00bb.
DeadThread_1 = La t\u00e2che \u00ab\u202f{0}\u202f\u00bb est morte.
DisposedInstanceOf_1 = Cette instance de \u2018{0}\u2019 a \u00e9t\u00e9 dispos\u00e9e.
DuplicatedElement_1 = L\u2019\u00e9lement \u00ab\u202f{0}\u202f\u00bb est dupliqu\u00e9.
@@ -141,6 +141,7 @@ OddArrayLength_1 = La l
OutsideDomainOfValidity = La coordonn\u00e9e est en dehors du domaine de validit\u00e9.
PropertyNotFound_2 = Aucune propri\u00e9t\u00e9 nomm\u00e9e \u00ab\u202f{1}\u202f\u00bb n\u2019a \u00e9t\u00e9 trouv\u00e9e dans \u00ab\u202f{0}\u202f\u00bb.
RecordAlreadyDefined_2 = L\u2019enregistrement \u00ab\u202f{1}\u202f\u00bb est d\u00e9j\u00e0 d\u00e9finit dans le sch\u00e9ma \u00ab\u202f{0}\u202f\u00bb.
+RecordNotFound_2 = Aucune entr\u00e9e n\u2019a \u00e9t\u00e9 trouv\u00e9e dans la table \u00ab\u202f{0}\u202f\u00bb pour la cl\u00e9 \u00ab\u202f{1}\u202f\u00bb.
RecursiveCreateCallForKey_1 = Appel r\u00e9cursif lors de la cr\u00e9ation d\u2019un objet pour la cl\u00e9 \u00ab\u202f{0}\u202f\u00bb.
RequireDecimalSeparator = Un s\u00e9parateur d\u00e9cimal est requis.
StalledThread_1 = La t\u00e2che \u00ab\u202f{0}\u202f\u00bb semble bloqu\u00e9e.
Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.java?rev=1773010&r1=1773009&r2=1773010&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.java [UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.java [UTF-8] Wed Dec 7 04:14:44 2016
@@ -197,6 +197,11 @@ public final class Vocabulary extends In
public static final short DefaultValue = 71;
/**
+ * Deprecated
+ */
+ public static final short Deprecated = 117;
+
+ /**
* Derived from {0}
*/
public static final short DerivedFrom_1 = 108;
@@ -487,6 +492,11 @@ public final class Vocabulary extends In
public static final short Quoted_1 = 86;
/**
+ * Remarks
+ */
+ public static final short Remarks = 116;
+
+ /**
* Remote configuration
*/
public static final short RemoteConfiguration = 93;
Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.properties?rev=1773010&r1=1773009&r2=1773010&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.properties [ISO-8859-1] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary.properties [ISO-8859-1] Wed Dec 7 04:14:44 2016
@@ -42,6 +42,7 @@ Datum = Datum
DatumShift = Datum shift
DaylightTime = Daylight time
DefaultValue = Default value
+Deprecated = Deprecated
DerivedFrom_1 = Derived from {0}
Description = Description
Destination = Destination
@@ -100,6 +101,7 @@ Others = Others
OtherSurface = Other surface
Paths = Paths
Quoted_1 = \u201c{0}\u201d
+Remarks = Remarks
RemoteConfiguration = Remote configuration
Root = Root
RootMeanSquare = Root Mean Square
Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary_fr.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary_fr.properties?rev=1773010&r1=1773009&r2=1773010&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary_fr.properties [ISO-8859-1] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/util/resources/Vocabulary_fr.properties [ISO-8859-1] Wed Dec 7 04:14:44 2016
@@ -49,6 +49,7 @@ Datum = R\u00e9f\u00e9
DatumShift = Changement de r\u00e9f\u00e9rentiel
DaylightTime = Heure normale
DefaultValue = Valeur par d\u00e9faut
+Deprecated = Obsol\u00e8te
DerivedFrom_1 = D\u00e9riv\u00e9 de {0}
Description = Description
Destination = Destination
@@ -107,6 +108,7 @@ Others = Autres
OtherSurface = Autre surface
Paths = Chemins
Quoted_1 = \u00ab\u202f{0}\u202f\u00bb
+Remarks = Remarques
RemoteConfiguration = Configuration distante
Root = Racine
RootMeanSquare = Moyenne quadratique
Modified: sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/xml/MarshallerPool.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/xml/MarshallerPool.java?rev=1773010&r1=1773009&r2=1773010&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/xml/MarshallerPool.java [UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/xml/MarshallerPool.java [UTF-8] Wed Dec 7 04:14:44 2016
@@ -160,8 +160,8 @@ public class MarshallerPool {
* for the {@code Unmarshaller}, then consider overriding the {@link #createMarshaller()}
* or {@link #createUnmarshaller()} methods instead.
*
- * @param properties The properties to be given to the (un)marshaller, or {@code null} if none.
- * @throws JAXBException If the JAXB context can not be created.
+ * @param properties the properties to be given to the (un)marshaller, or {@code null} if none.
+ * @throws JAXBException if the JAXB context can not be created.
*/
public MarshallerPool(final Map properties) throws JAXBException {
this(TypeRegistration.getSharedContext(), properties);
@@ -177,11 +177,11 @@ public class MarshallerPool {
* for the {@code Unmarshaller}, then consider overriding the {@link #createMarshaller()}
* or {@link #createUnmarshaller()} methods instead.
*
- * @param context The JAXB context.
- * @param properties The properties to be given to the (un)marshaller, or {@code null} if none.
- * @throws JAXBException If the marshaller pool can not be created.
+ * @param context the JAXB context.
+ * @param properties the properties to be given to the (un)marshaller, or {@code null} if none.
+ * @throws JAXBException if the marshaller pool can not be created.
*/
- @SuppressWarnings({"unchecked", "rawtypes"}) // Generic array creation
+ @SuppressWarnings({"unchecked", "rawtypes"}) // Generic array creation
public MarshallerPool(final JAXBContext context, final Map properties) throws JAXBException {
ArgumentChecks.ensureNonNull("context", context);
this.context = context;
@@ -276,7 +276,7 @@ public class MarshallerPool {
final void removeExpired() {
isRemovalScheduled.set(false);
final long now = System.nanoTime();
- if (!removeExpired(marshallers, now) | // Really |, not ||
+ if (!removeExpired(marshallers, now) | // Really |, not ||
!removeExpired(unmarshallers, now))
{
scheduleRemoval();
@@ -286,9 +286,9 @@ public class MarshallerPool {
/**
* Removes expired (un)marshallers from the given queue.
*
- * @param Either {@code Marshaller} or {@code Unmarshaller} type.
- * @param queue The queue from which to remove expired (un)marshallers.
- * @param now Current value of {@link System#nanoTime()}.
+ * @param either {@code Marshaller} or {@code Unmarshaller} type.
+ * @param queue the queue from which to remove expired (un)marshallers.
+ * @param now current value of {@link System#nanoTime()}.
* @return {@code true} if the queue became empty as a result of this method call.
*/
private static boolean removeExpired(final Deque queue, final long now) {
@@ -333,8 +333,8 @@ public class MarshallerPool {
* Note that {@link #recycle(Marshaller)} shall not be invoked in case of exception,
* since the marshaller may be in an invalid state.
*
- * @return A marshaller configured for formatting OGC/ISO XML.
- * @throws JAXBException If an error occurred while creating and configuring a marshaller.
+ * @return a marshaller configured for formatting OGC/ISO XML.
+ * @throws JAXBException if an error occurred while creating and configuring a marshaller.
*/
public Marshaller acquireMarshaller() throws JAXBException {
Marshaller marshaller = marshallers.poll();
@@ -359,8 +359,8 @@ public class MarshallerPool {
* Note that {@link #recycle(Unmarshaller)} shall not be invoked in case of exception,
* since the unmarshaller may be in an invalid state.
*
- * @return A unmarshaller configured for parsing OGC/ISO XML.
- * @throws JAXBException If an error occurred while creating and configuring the unmarshaller.
+ * @return a unmarshaller configured for parsing OGC/ISO XML.
+ * @throws JAXBException if an error occurred while creating and configuring the unmarshaller.
*/
public Unmarshaller acquireUnmarshaller() throws JAXBException {
Unmarshaller unmarshaller = unmarshallers.poll();
@@ -388,7 +388,7 @@ public class MarshallerPool {
* Note that this method does not close any output stream.
* Closing the marshaller stream is caller's or JAXB responsibility.
*
- * @param marshaller The marshaller to return to the pool.
+ * @param marshaller the marshaller to return to the pool.
*/
public void recycle(final Marshaller marshaller) {
recycle(marshallers, marshaller);
@@ -412,7 +412,7 @@ public class MarshallerPool {
* Note that this method does not close any input stream.
* Closing the unmarshaller stream is caller's or JAXB responsibility.
*
- * @param unmarshaller The unmarshaller to return to the pool.
+ * @param unmarshaller the unmarshaller to return to the pool.
*/
public void recycle(final Unmarshaller unmarshaller) {
recycle(unmarshallers, unmarshaller);
@@ -423,8 +423,8 @@ public class MarshallerPool {
* This method is invoked only when no existing marshaller is available in the pool.
* Subclasses can override this method if they need to change the marshaller configuration.
*
- * @return A new marshaller configured for formatting OGC/ISO XML.
- * @throws JAXBException If an error occurred while creating and configuring the marshaller.
+ * @return a new marshaller configured for formatting OGC/ISO XML.
+ * @throws JAXBException if an error occurred while creating and configuring the marshaller.
*/
protected Marshaller createMarshaller() throws JAXBException {
final Marshaller marshaller = context.createMarshaller();
@@ -456,8 +456,8 @@ public class MarshallerPool {
* This method is invoked only when no existing unmarshaller is available in the pool.
* Subclasses can override this method if they need to change the unmarshaller configuration.
*
- * @return A new unmarshaller configured for parsing OGC/ISO XML.
- * @throws JAXBException If an error occurred while creating and configuring the unmarshaller.
+ * @return a new unmarshaller configured for parsing OGC/ISO XML.
+ * @throws JAXBException if an error occurred while creating and configuring the unmarshaller.
*/
protected Unmarshaller createUnmarshaller() throws JAXBException {
final Unmarshaller unmarshaller = context.createUnmarshaller();
Propchange: sis/branches/JDK7/core/sis-utility/src/main/javadoc/overview.html
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Wed Dec 7 04:14:44 2016
@@ -1 +1 @@
-text/html
+text/html;charset=UTF-8
Modified: sis/branches/JDK7/core/sis-utility/src/main/resources/org/apache/sis/measure/UnitNames.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/resources/org/apache/sis/measure/UnitNames.properties?rev=1773010&r1=1773009&r2=1773010&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/resources/org/apache/sis/measure/UnitNames.properties [ISO-8859-1] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/resources/org/apache/sis/measure/UnitNames.properties [ISO-8859-1] Wed Dec 7 04:14:44 2016
@@ -9,7 +9,8 @@ d=day
dbar=decibar
F=farad
ft=foot
-ft_US=US survey foot
+ftCla=Clarke\u2019s foot
+ftUS=US survey foot
grad=grad
h=hour
ha=hectare
@@ -26,8 +27,8 @@ lm=lumen
lx=lux
M=nautical mile
m=metre
-m²=square metre
-m³=cubic metre
+m\u00b2=square metre
+m\u00b3=cubic metre
m\u2215s=metres per second
mi=statute mile
min=minute
@@ -51,11 +52,11 @@ V=volt
W=watt
Wb=weber
wk=week
-µrad=microradian
+\u00b5rad=microradian
\u03a9=ohm
%=percentage
-°=degree
+\u00b0=degree
\u2032=arc-minute
\u2033=arc-second
-°C=Celsius
-°F=Fahrenheit
+\u00b0C=Celsius
+\u00b0F=Fahrenheit
Modified: sis/branches/JDK7/core/sis-utility/src/main/resources/org/apache/sis/measure/UnitNames_fr.properties
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/resources/org/apache/sis/measure/UnitNames_fr.properties?rev=1773010&r1=1773009&r2=1773010&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/main/resources/org/apache/sis/measure/UnitNames_fr.properties [ISO-8859-1] (original)
+++ sis/branches/JDK7/core/sis-utility/src/main/resources/org/apache/sis/measure/UnitNames_fr.properties [ISO-8859-1] Wed Dec 7 04:14:44 2016
@@ -1,31 +1,33 @@
# Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
-A=ampère
-a=année
-atm=atmosphère
-cm=centimètre
+A=amp\u00e8re
+a=ann\u00e9e
+atm=atmosph\u00e8re
+cm=centim\u00e8tre
d=jour
ft=pied
+ftCla=pied de Clarke
+ftUS=pied am\u00e9ricain
grad=grade
h=heure
in=pouce
kg=kilogramme
-km=kilomètre
-km\u2215h=kilomètres par heure
+km=kilom\u00e8tre
+km\u2215h=kilom\u00e8tres par heure
M=mille marin international
-m=mètre
-m²=mètre carré
-m³=mètre cube
-m\u2215s=mètres par seconde
+m=m\u00e8tre
+m\u00b2=m\u00e8tre carr\u00e9
+m\u00b3=m\u00e8tre cube
+m\u2215s=m\u00e8tres par seconde
mi=mille terrestre international
-mm=millimètre
+mm=millim\u00e8tre
ms=milliseconde
-nm=nanomètre
+nm=nanom\u00e8tre
ppm=parties par million
s=seconde
-sr=stéradian
-unity=unité
+sr=st\u00e9radian
+unity=unit\u00e9
wk=semaine
%=pourcentage
-°=degrée
+\u00b0=degr\u00e9e
\u2032=arc-minute
\u2033=arc-seconde
Modified: sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/measure/RangeFormatTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/measure/RangeFormatTest.java?rev=1773010&r1=1773009&r2=1773010&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/measure/RangeFormatTest.java [UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/measure/RangeFormatTest.java [UTF-8] Wed Dec 7 04:14:44 2016
@@ -144,7 +144,7 @@ public final strictfp class RangeFormatT
assertEquals("maxPos.endIndex", 1, maxPos.getEndIndex());
// Negative infinity
- assertEquals("(-∞ … 30]", format(NumberRange.create(Double.NEGATIVE_INFINITY, true, 30, true)));
+ assertEquals("(−∞ … 30]", format(NumberRange.create(Double.NEGATIVE_INFINITY, true, 30, true)));
assertEquals("minPos.beginIndex", 1, minPos.getBeginIndex());
assertEquals("minPos.endIndex", 3, minPos.getEndIndex());
assertEquals("maxPos.beginIndex", 6, maxPos.getBeginIndex());
@@ -158,7 +158,7 @@ public final strictfp class RangeFormatT
assertEquals("maxPos.endIndex", 7, maxPos.getEndIndex());
// Positive infinities
- assertEquals("(-∞ … ∞)", format(NumberRange.create(Double.NEGATIVE_INFINITY, true, Double.POSITIVE_INFINITY, true)));
+ assertEquals("(−∞ … ∞)", format(NumberRange.create(Double.NEGATIVE_INFINITY, true, Double.POSITIVE_INFINITY, true)));
assertEquals("minPos.beginIndex", 1, minPos.getBeginIndex());
assertEquals("minPos.endIndex", 3, minPos.getEndIndex());
assertEquals("maxPos.beginIndex", 6, maxPos.getBeginIndex());
@@ -172,7 +172,7 @@ public final strictfp class RangeFormatT
assertEquals("maxPos.endIndex", 7, maxPos.getEndIndex());
// Negative infinity with integers
- assertEquals("(-∞ … 40]", format(new NumberRange<>(Integer.class, null, true, 40, true)));
+ assertEquals("(−∞ … 40]", format(new NumberRange<>(Integer.class, null, true, 40, true)));
assertEquals("minPos.beginIndex", 1, minPos.getBeginIndex());
assertEquals("minPos.endIndex", 3, minPos.getEndIndex());
assertEquals("maxPos.beginIndex", 6, maxPos.getBeginIndex());
@@ -247,6 +247,7 @@ public final strictfp class RangeFormatT
assertEquals(NumberRange.create(-10.0, true, 20.0, true), parse("[-10 … 20]" ));
assertEquals(NumberRange.create(NEGATIVE_INFINITY, true, 30.0, true), parse("[-∞ … 30]"));
+ assertEquals(NumberRange.create(NEGATIVE_INFINITY, true, 30.0, true), parse("[−∞ … 30]"));
assertEquals(NumberRange.create(50.0, true, POSITIVE_INFINITY, true), parse("[50 … ∞]"));
}
@@ -334,7 +335,7 @@ public final strictfp class RangeFormatT
it = format.formatToCharacterIterator(range);
text = it.toString();
findYears(it, RangeFormat.Field.MAX_VALUE, maxPos);
- assertEquals("(-∞ … 01/01/90 00:00]", text);
+ assertEquals("(−∞ … 01/01/90 00:00]", text);
assertEquals(12, maxPos.getBeginIndex());
assertEquals(14, maxPos.getEndIndex());
assertEquals(range, parse(text));
Modified: sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/measure/UnitFormatTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/measure/UnitFormatTest.java?rev=1773010&r1=1773009&r2=1773010&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/measure/UnitFormatTest.java [UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/measure/UnitFormatTest.java [UTF-8] Wed Dec 7 04:14:44 2016
@@ -64,7 +64,8 @@ public final strictfp class UnitFormatTe
verify(declared, "KILOMETRE", "L", "km", "kilometre", Units.KILOMETRE);
verify(declared, "NAUTICAL_MILE", "L", "M", "nautical mile", Units.NAUTICAL_MILE);
verify(declared, "STATUTE_MILE", "L", "mi", "statute mile", Units.STATUTE_MILE);
- verify(declared, "US_SURVEY_FOOT", "L", "ft_US", "US survey foot", Units.US_SURVEY_FOOT);
+ verify(declared, "US_SURVEY_FOOT", "L", "ftUS", "US survey foot", Units.US_SURVEY_FOOT);
+ verify(declared, "CLARKE_FOOT", "L", "ftCla", "Clarke’s foot", Units.CLARKE_FOOT);
verify(declared, "FOOT", "L", "ft", "foot", Units.FOOT);
verify(declared, "INCH", "L", "in", "inch", Units.INCH);
verify(declared, "POINT", "L", "pt", "point", Units.POINT);
Modified: sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/test/Assert.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/test/Assert.java?rev=1773010&r1=1773009&r2=1773010&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/test/Assert.java [UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/test/Assert.java [UTF-8] Wed Dec 7 04:14:44 2016
@@ -182,7 +182,7 @@ public strictfp class Assert extends org
*/
public static void assertSetEquals(final Collection> expected, final Collection> actual) {
if (expected != null && actual != null && !expected.isEmpty()) {
- final Set