Checkstyle and trailing spaces.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083198 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oliver Heger 2011-03-19 15:50:58 +00:00
parent c0798a65fc
commit cd23f77879
1 changed files with 12 additions and 11 deletions

View File

@ -18,12 +18,12 @@ package org.apache.commons.lang3;
/** /**
* Mutable concrete manifestation of the {@link Pair} type. * Mutable concrete manifestation of the {@link Pair} type.
* *
* <p>#ThreadSafe# if the objects are threadsafe</p> * <p>#ThreadSafe# if the objects are threadsafe</p>
* @since Lang 3.0 * @since Lang 3.0
* @author Matt Benson * @author Matt Benson
* @version $Id$ * @version $Id$
* *
* @param <L> left generic type * @param <L> left generic type
* @param <R> right generic type * @param <R> right generic type
*/ */
@ -43,9 +43,9 @@ public class MutablePair<L, R> extends Pair<L, R> {
/** /**
* Create a new MutablePair instance. * Create a new MutablePair instance.
* *
* @param leftElement * @param leftElement the left value
* @param rightElement * @param rightElement the right value
*/ */
public MutablePair(L leftElement, R rightElement) { public MutablePair(L leftElement, R rightElement) {
super(); super();
@ -63,7 +63,7 @@ public class MutablePair<L, R> extends Pair<L, R> {
/** /**
* Set the left element of the pair. * Set the left element of the pair.
* @param leftElement * @param leftElement the value of the left element
*/ */
public void setLeftElement(L leftElement) { public void setLeftElement(L leftElement) {
this.leftElement = leftElement; this.leftElement = leftElement;
@ -79,7 +79,7 @@ public class MutablePair<L, R> extends Pair<L, R> {
/** /**
* Set the right element of the pair. * Set the right element of the pair.
* @param rightElement * @param rightElement the value of the right element
*/ */
public void setRightElement(R rightElement) { public void setRightElement(R rightElement) {
this.rightElement = rightElement; this.rightElement = rightElement;
@ -88,6 +88,7 @@ public class MutablePair<L, R> extends Pair<L, R> {
/** /**
* Implement {@link java.util.Map.Entry#setValue(Object)}. * Implement {@link java.util.Map.Entry#setValue(Object)}.
* @param value value (<code>rightElement</code>) to set * @param value value (<code>rightElement</code>) to set
* @return the old value for the right element
*/ */
public R setValue(R value) { public R setValue(R value) {
R result = getRightElement(); R result = getRightElement();
@ -98,10 +99,10 @@ public class MutablePair<L, R> extends Pair<L, R> {
/** /**
* Static fluent creation method for a {@link MutablePair}<L, R>: * Static fluent creation method for a {@link MutablePair}<L, R>:
* <code>MutablePair.of(left, right)</code> * <code>MutablePair.of(left, right)</code>
* @param <L> * @param <L> the left generic type
* @param <R> * @param <R> the right generic type
* @param left * @param left the left value
* @param right * @param right the right value
* @return MutablePair<L, R>(left, right) * @return MutablePair<L, R>(left, right)
*/ */
public static <L, R> MutablePair<L, R> of(L left, R right) { public static <L, R> MutablePair<L, R> of(L left, R right) {