You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2017/01/17 07:06:22 UTC
svn commit: r1779146 [2/2] - in
/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb:
gco/ gmd/ gml/ gmx/
Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gml/TimePeriod.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gml/TimePeriod.java?rev=1779146&r1=1779145&r2=1779146&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gml/TimePeriod.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gml/TimePeriod.java [UTF-8] Tue Jan 17 07:06:21 2017
@@ -73,7 +73,7 @@ public final class TimePeriod extends GM
/**
* Creates a new Time Period bounded by the begin and end time specified in the given object.
*
- * @param period The period to use for initializing this object.
+ * @param period the period to use for initializing this object.
*/
public TimePeriod(final Period period) {
super(period);
@@ -91,7 +91,7 @@ public final class TimePeriod extends GM
/**
* Returns a string representation for debugging and formatting error message.
*
- * @return A string representation of this time period.
+ * @return a string representation of this time period.
*/
@Override
public String toString() {
Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gml/TimePeriodBound.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gml/TimePeriodBound.java?rev=1779146&r1=1779145&r2=1779146&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gml/TimePeriodBound.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gml/TimePeriodBound.java [UTF-8] Tue Jan 17 07:06:21 2017
@@ -52,7 +52,7 @@ public abstract class TimePeriodBound {
/**
* Returns a string representation of this bound for debugging purpose.
*
- * @return A string representation of the time currently set.
+ * @return a string representation of the time currently set.
*/
@Override
public String toString() {
@@ -98,8 +98,8 @@ public abstract class TimePeriodBound {
/**
* Creates a bound initialized to the given instant.
*
- * @param instant The instant of the new bound, or {@code null}.
- * @param indeterminate The value to give to {@link #indeterminatePosition} if the date is null.
+ * @param instant the instant of the new bound, or {@code null}.
+ * @param indeterminate the value to give to {@link #indeterminatePosition} if the date is null.
*/
GML3(final Instant instant, final String indeterminate) {
value = TimeInstant.toXML(instant);
Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/Anchor.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/Anchor.java?rev=1779146&r1=1779145&r2=1779146&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/Anchor.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/Anchor.java [UTF-8] Tue Jan 17 07:06:21 2017
@@ -18,14 +18,12 @@ package org.apache.sis.internal.jaxb.gmx
import java.net.URI;
import java.util.Locale;
+import java.util.Objects;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import org.opengis.util.InternationalString;
import org.apache.sis.xml.XLink;
-// Branch-dependent imports
-import java.util.Objects;
-
/**
* The {@code Anchor} element, which is included in {@code CharacterString} elements.
@@ -66,8 +64,8 @@ public final class Anchor extends XLink
/**
* Creates an {@code Anchor} initialized to the given {@code xlink} value.
*
- * @param xlink The {@code xlink} from which to copy the attributes.
- * @param value Often a short textual description of the URI target.
+ * @param xlink the {@code xlink} from which to copy the attributes.
+ * @param value often a short textual description of the URI target.
*/
public Anchor(final XLink xlink, final String value) {
super(xlink);
@@ -77,8 +75,8 @@ public final class Anchor extends XLink
/**
* Creates an {@code Anchor} initialized to the given {@code href} value.
*
- * @param href A URI to an external resources or an identifier.
- * @param value Often a short textual description of the URI target.
+ * @param href a URI to an external resources or an identifier.
+ * @param value often a short textual description of the URI target.
*/
public Anchor(final URI href, final String value) {
setHRef(href);
@@ -97,8 +95,8 @@ public final class Anchor extends XLink
/**
* Returns the text as a string, or {@code null} if none.
*
- * @param locale Ignored in current implementation.
- * @return The anchor text, or {@code null} if none.
+ * @param locale ignored in current implementation.
+ * @return the anchor text, or {@code null} if none.
*/
@Override
public String toString(final Locale locale) {
@@ -134,7 +132,7 @@ public final class Anchor extends XLink
original = "";
}
final String substring = original.substring(start, end);
- if (substring == original) { // Identity comparison is ok here.
+ if (substring == original) { // Identity comparison is ok here.
return this;
}
return new Anchor(this, substring);
@@ -144,7 +142,7 @@ public final class Anchor extends XLink
* Compares the value of this object with the given international string for order.
* Null values are sorted last.
*
- * @param other The string to compare with this anchor type.
+ * @param other the string to compare with this anchor type.
*/
@Override
public int compareTo(final InternationalString other) {
@@ -158,7 +156,7 @@ public final class Anchor extends XLink
/**
* Compares this {@code Anchor} with the given object for equality.
*
- * @param object The object to compare with this anchor type.
+ * @param object the object to compare with this anchor type.
*/
@Override
public boolean equals(final Object object) {
Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/FileName.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/FileName.java?rev=1779146&r1=1779145&r2=1779146&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/FileName.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/FileName.java [UTF-8] Tue Jan 17 07:06:21 2017
@@ -50,8 +50,8 @@ public final class FileName {
private String src;
/**
- * A human-readable description of the filename. If {@link #src} is null,
- * then this will be taken as the file path.
+ * A human-readable description of the filename.
+ * If {@link #src} is null, then this will be taken as the file path.
*/
@XmlValue
private String value;
@@ -65,7 +65,7 @@ public final class FileName {
/**
* Creates a new {@code <gml:FileName>} for the given URI.
*
- * @param uri The string representation of the URI.
+ * @param uri the string representation of the URI.
*/
public FileName(final String uri) {
src = uri;
@@ -79,7 +79,7 @@ public final class FileName {
* Returning {@code null} is usually not recommended for a {@code toString()} method,
* but this class is for internal usage only.</div>
*
- * @return The file path, or {@code null} if none.
+ * @return the file path, or {@code null} if none.
*/
@Override
public String toString() {
Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/MimeFileType.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/MimeFileType.java?rev=1779146&r1=1779145&r2=1779146&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/MimeFileType.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/MimeFileType.java [UTF-8] Tue Jan 17 07:06:21 2017
@@ -65,11 +65,11 @@ public final class MimeFileType {
/**
* Creates a new {@code <gml:MimeFileType>} for the given type.
*
- * @param type The MIME type.
+ * @param type the MIME type.
*/
public MimeFileType(final String type) {
this.type = type;
- this.value = type; // May provide a more human-redeable value in a future SIS version.
+ this.value = type; // May provide a more human-redeable value in a future SIS version.
}
/**
@@ -79,7 +79,7 @@ public final class MimeFileType {
* Returning {@code null} is usually not recommended for a {@code toString()} method,
* but this class is for internal usage only.</div>
*
- * @return The MIME type, or {@code null} if none.
+ * @return the MIME type, or {@code null} if none.
*/
@Override
public String toString() {
Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/MimeFileTypeAdapter.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/MimeFileTypeAdapter.java?rev=1779146&r1=1779145&r2=1779146&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/MimeFileTypeAdapter.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gmx/MimeFileTypeAdapter.java [UTF-8] Tue Jan 17 07:06:21 2017
@@ -41,8 +41,8 @@ public final class MimeFileTypeAdapter e
* Converts a MIME type to the object to be marshalled in a XML file or stream.
* JAXB calls automatically this method at marshalling time.
*
- * @param value The MIME type, or {@code null}.
- * @return The wrapper for the given MIME type, or {@code null}.
+ * @param value the MIME type, or {@code null}.
+ * @return the wrapper for the given MIME type, or {@code null}.
*/
@Override
public GO_CharacterString marshal(final String value) {