sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1794728 - /sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/FormattedOutputCommand.java
Date Wed, 10 May 2017 14:40:09 GMT
Author: desruisseaux
Date: Wed May 10 14:40:09 2017
New Revision: 1794728

URL: http://svn.apache.org/viewvc?rev=1794728&view=rev
Log:
Command-line should display a compact view of metadata.

Modified:
    sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/FormattedOutputCommand.java

Modified: sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/FormattedOutputCommand.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/FormattedOutputCommand.java?rev=1794728&r1=1794727&r2=1794728&view=diff
==============================================================================
--- sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/FormattedOutputCommand.java
[UTF-8] (original)
+++ sis/branches/JDK8/application/sis-console/src/main/java/org/apache/sis/console/FormattedOutputCommand.java
[UTF-8] Wed May 10 14:40:09 2017
@@ -218,7 +218,7 @@ abstract class FormattedOutputCommand ex
             case TEXT: {
                 final TreeTable tree = MetadataStandard.ISO_19115.asTreeTable(object,
                         (object instanceof Metadata) ? Metadata.class : null,
-                        ValueExistencePolicy.NON_EMPTY);
+                        ValueExistencePolicy.COMPACT);
                 final TreeTableFormat tf = new TreeTableFormat(locale, timezone);
                 tf.setColumns(TableColumn.NAME, TableColumn.VALUE);
                 tf.format(tree, out);



Mime
View raw message