Author: desruisseaux
Date: Thu Mar 19 19:48:08 2015
New Revision: 1667856
URL: http://svn.apache.org/r1667856
Log:
Method was public by accident (should be protected).
Modified:
sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/AbstractMathTransform.java
sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/ConcatenatedTransform.java
sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java
Modified:
sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/AbstractMathTransform.java
URL:
http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/AbstractMathTransform.java?rev=1667856&r1=1667855&r2=1667856&view=diff
==============================================================================
---
sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/AbstractMathTransform.java
[UTF-8] (original)
+++
sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/AbstractMathTransform.java
[UTF-8] Thu Mar 19 19:48:08 2015
@@ -945,7 +945,7 @@ public abstract class AbstractMathTransf
* @return The WKT element name, which is {@code "Param_MT"} in the
default implementation.
*/
@Override
- public String formatTo(final Formatter formatter) {
+ protected String formatTo(final Formatter formatter) {
final ParameterValueGroup parameters = getParameterValues();
if (parameters != null) {
WKTUtilities.appendName(parameters.getDescriptor(), formatter,
null);
@@ -1108,7 +1108,7 @@ public abstract class AbstractMathTransf
* {@code "Inverse_MT"} in the default implementation.
*/
@Override
- public String formatTo(final Formatter formatter) {
+ protected String formatTo(final Formatter formatter) {
final ParameterValueGroup parameters = getParameterValues();
if (parameters != null) {
WKTUtilities.appendName(parameters.getDescriptor(), formatter,
null);
Modified:
sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/ConcatenatedTransform.java
URL:
http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/ConcatenatedTransform.java?rev=1667856&r1=1667855&r2=1667856&view=diff
==============================================================================
---
sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/ConcatenatedTransform.java
[UTF-8] (original)
+++
sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/ConcatenatedTransform.java
[UTF-8] Thu Mar 19 19:48:08 2015
@@ -904,7 +904,7 @@ class ConcatenatedTransform extends Abst
* @return The WKT element name, which is {@code "Concat_MT"}.
*/
@Override
- public String formatTo(final Formatter formatter) {
+ protected String formatTo(final Formatter formatter) {
final List<? super MathTransform> transforms;
if (formatter.getConvention() == Convention.INTERNAL) {
transforms = getSteps();
Modified:
sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java
URL:
http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java?rev=1667856&r1=1667855&r2=1667856&view=diff
==============================================================================
---
sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java
[UTF-8] (original)
+++
sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/PassThroughTransform.java
[UTF-8] Thu Mar 19 19:48:08 2015
@@ -619,7 +619,7 @@ public class PassThroughTransform extend
* @return The WKT element name, which is {@code "PassThrough_MT"}.
*/
@Override
- public String formatTo(final Formatter formatter) {
+ protected String formatTo(final Formatter formatter) {
formatter.append(firstAffectedOrdinate);
if (numTrailingOrdinates != 0) {
formatter.append(numTrailingOrdinates);