Normalize setter Javadoc

This commit is contained in:
Gary Gregory 2023-10-31 07:00:47 -04:00
parent cbb98b0f29
commit 06ce80f114
7 changed files with 9 additions and 9 deletions

View File

@ -1737,7 +1737,7 @@ public class MapUtils {
*
* <pre>
* Map m = MapUtils.synchronizedMap(myMap);
* Set s = m.keySet(); // outside synchronized block
* Sets s = m.keySet(); // outside synchronized block
* synchronized (m) { // synchronized on MAP!
* Iterator i = s.iterator();
* while (i.hasNext()) {
@ -1767,7 +1767,7 @@ public class MapUtils {
*
* <pre>
* Map m = MapUtils.synchronizedSortedMap(myMap);
* Set s = m.keySet(); // outside synchronized block
* Sets s = m.keySet(); // outside synchronized block
* synchronized (m) { // synchronized on MAP!
* Iterator i = s.iterator();
* while (i.hasNext()) {

View File

@ -435,7 +435,7 @@ public class SetUtils {
* avoid non-deterministic behavior:
*
* <pre>
* Set s = SetUtils.synchronizedSet(mySet);
* Sets s = SetUtils.synchronizedSet(mySet);
* synchronized (s) {
* Iterator i = s.iterator();
* while (i.hasNext()) {

View File

@ -160,7 +160,7 @@ public class FilterIterator<E> implements Iterator<E> {
}
/**
* Set nextObject to the next object. If there are no more
* Sets nextObject to the next object. If there are no more
* objects, then return false. Otherwise, return true.
*/
private boolean setNextObject() {

View File

@ -155,7 +155,7 @@ public class SingletonListIterator<E> implements ResettableListIterator<E> {
}
/**
* Set sets the value of the singleton.
* Sets sets the value of the singleton.
*
* @param obj the object to set
* @throws IllegalStateException if {@code next} has not been called

View File

@ -1356,7 +1356,7 @@ public abstract class AbstractCollectionTest<E> extends AbstractObjectTest {
}
/**
* Set the collection.
* Sets the collection.
* @param collection the Collection<E> to set
*/
public void setCollection(final Collection<E> collection) {
@ -1368,7 +1368,7 @@ public abstract class AbstractCollectionTest<E> extends AbstractObjectTest {
}
/**
* Set the confirmed.
* Sets the confirmed.
* @param confirmed the Collection<E> to set
*/
public void setConfirmed(final Collection<E> confirmed) {

View File

@ -51,7 +51,7 @@ public class FilterIteratorTest<E> extends AbstractIteratorTest<E> {
private FilterIterator<E> iterator;
/**
* Set up instance variables required by this test case.
* Sets up instance variables required by this test case.
*/
@BeforeEach
public void setUp() {

View File

@ -72,7 +72,7 @@ public abstract class AbstractSetTest<E> extends AbstractCollectionTest<E> {
}
/**
* Set equals method is defined.
* Sets equals method is defined.
*/
@Override
public boolean isEqualsCheckable() {