sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] 01/02: Documentation fixes.
Date Mon, 25 Feb 2019 20:17:45 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 c01aadc270ffe9a37ad0564049a4eefe498e13c6
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Sat Feb 23 16:49:41 2019 +0100

    Documentation fixes.
---
 .../src/main/java/org/apache/sis/internal/doclet/Rewriter.java       | 5 +++--
 .../src/main/java/org/apache/sis/storage/netcdf/AttributeNames.java  | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/Rewriter.java
b/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/Rewriter.java
index 038f961..5785184 100644
--- a/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/Rewriter.java
+++ b/core/sis-build-helper/src/main/java/org/apache/sis/internal/doclet/Rewriter.java
@@ -33,7 +33,8 @@ import java.io.Writer;
  *
  * <ul>
  *   <li>For any Java identifier, insert soft-hyphens between lower-case letters followed
by an upper-case letter.</li>
- *   <li>Between any Java identifiers separated by a {@code '.'} character, insert
a zero-width space before the dot.</li>
+ *   <li>Between any Java identifiers separated by a {@code '.'} or {@code '_'} character,
+ *       insert a zero-width space before the dot or underscore.</li>
  * </ul>
  *
  * The intent is to avoid large amount of white spaces in Javadoc when a line content long
code.
@@ -238,7 +239,7 @@ process:    while (i < stopAt) {
                      */
                     if (c == '(') c = content.codePointAt(++i);
                     if (c == ')') c = content.codePointAt(++i);
-                    if (c == '.' && Character.isJavaIdentifierStart(content.codePointAt(i+1)))
{
+                    if ((c == '.' || c == '_') && Character.isJavaIdentifierStart(content.codePointAt(i+1)))
{
                         content.insert(i++, '\u200B');              // Zero width space.
                         stopAt++;
                     }
diff --git a/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/AttributeNames.java
b/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/AttributeNames.java
index 9d9a086..e4a3038 100644
--- a/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/AttributeNames.java
+++ b/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/AttributeNames.java
@@ -699,7 +699,8 @@ public class AttributeNames {
      *
      * <p><b>Path in ISO 19115:</b></p> <ul><li>{@link
Metadata} /
      * {@link Metadata#getIdentificationInfo() identificationInfo} /
-     * {@link DataIdentification#getCitation() citation} with {@link Role#ORIGINATOR}</li></ul>
+     * {@link DataIdentification#getCitation() citation} /
+     * {@link Citation#getCitedResponsibleParties() citedResponsibleParty} with {@link Role#ORIGINATOR}</li></ul>
      *
      * @see #CONTRIBUTOR
      * @see #PUBLISHER


Mime
View raw message