sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] 03/05: Remove spurious warnings about "org.apache.sis.xml.defaultNamespace" property.
Date Mon, 02 Sep 2019 13:21:43 GMT
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 599ef94e2a0026616f1d1dfd622fb04fbb2f1d5f
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Mon Sep 2 12:37:35 2019 +0200

    Remove spurious warnings about "org.apache.sis.xml.defaultNamespace" property.
---
 core/sis-metadata/src/main/java/org/apache/sis/xml/MarshallerPool.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/sis-metadata/src/main/java/org/apache/sis/xml/MarshallerPool.java b/core/sis-metadata/src/main/java/org/apache/sis/xml/MarshallerPool.java
index cb025b1..b40c1c2 100644
--- a/core/sis-metadata/src/main/java/org/apache/sis/xml/MarshallerPool.java
+++ b/core/sis-metadata/src/main/java/org/apache/sis/xml/MarshallerPool.java
@@ -188,7 +188,7 @@ public class MarshallerPool {
          * properties which are handled especially by this constructor.
          */
         template = new PooledTemplate(properties, implementation);
-        final Object rootNamespace = template.remove(XML.DEFAULT_NAMESPACE, "");
+        final Object rootNamespace = template.remove(XML.DEFAULT_NAMESPACE, null);
         if (rootNamespace != null) {
             Logging.getLogger(Loggers.XML).warning(XML.DEFAULT_NAMESPACE + " property is
no longer supported.");
         }


Mime
View raw message