Author: oheger
Date: Fri Mar 18 20:29:53 2011
New Revision: 1083052
URL: http://svn.apache.org/viewvc?rev=1083052&view=rev
Log:
Checkstyle and trailing spaces.
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/NumericEntityEscaper.java
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/NumericEntityEscaper.java
URL:
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/NumericEntityEscaper.java?rev=1083052&r1=1083051&r2=1083052&view=diff
==============================================================================
---
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/NumericEntityEscaper.java
(original)
+++
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/NumericEntityEscaper.java
Fri Mar 18 20:29:53 2011
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -21,7 +21,7 @@ import java.io.Writer;
/**
* Translates codepoints to their XML numeric entity escaped value.
- *
+ *
* @author Apache Software Foundation
* @since 3.0
* @version $Id$
@@ -33,9 +33,9 @@ public class NumericEntityEscaper extend
private final boolean between;
/**
- * <p>Constructs a <code>NumericEntityEscaper</code> for the specified
range. This is
+ * <p>Constructs a <code>NumericEntityEscaper</code> for the specified
range. This is
* the underlying method for the other constructors/builders. The
<code>below</code>
- * and <code>above</code> boundaries are inclusive when
<code>between</code> is
+ * and <code>above</code> boundaries are inclusive when
<code>between</code> is
* <code>true</code> and exclusive when it is <code>false</code>. </p>
*
* @param below int value representing the lowest codepoint boundary
@@ -51,7 +51,7 @@ public class NumericEntityEscaper extend
/**
* <p>Constructs a <code>NumericEntityEscaper</code> for all characters.
</p>
*/
- public NumericEntityEscaper() {
+ public NumericEntityEscaper() {
this(0, Integer.MAX_VALUE, true);
}
@@ -59,6 +59,7 @@ public class NumericEntityEscaper extend
* <p>Constructs a <code>NumericEntityEscaper</code> below the specified
value (exclusive). </p>
*
* @param codepoint below which to escape
+ * @return the newly created {@code NumericEntityEscaper} instance
*/
public static NumericEntityEscaper below(int codepoint) {
return outsideOf(codepoint, Integer.MAX_VALUE);
@@ -68,6 +69,7 @@ public class NumericEntityEscaper extend
* <p>Constructs a <code>NumericEntityEscaper</code> above the specified
value (exclusive). </p>
*
* @param codepoint above which to escape
+ * @return the newly created {@code NumericEntityEscaper} instance
*/
public static NumericEntityEscaper above(int codepoint) {
return outsideOf(0, codepoint);
@@ -78,6 +80,7 @@ public class NumericEntityEscaper extend
*
* @param codepointLow above which to escape
* @param codepointHigh below which to escape
+ * @return the newly created {@code NumericEntityEscaper} instance
*/
public static NumericEntityEscaper between(int codepointLow, int
codepointHigh) {
return new NumericEntityEscaper(codepointLow, codepointHigh, true);
@@ -88,6 +91,7 @@ public class NumericEntityEscaper extend
*
* @param codepointLow below which to escape
* @param codepointHigh above which to escape
+ * @return the newly created {@code NumericEntityEscaper} instance
*/
public static NumericEntityEscaper outsideOf(int codepointLow, int
codepointHigh) {
return new NumericEntityEscaper(codepointLow, codepointHigh, false);