Skip to content

Commit cd8af14

Browse files
committed
Javadoc
1 parent 022030c commit cd8af14

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/main/java/org/apache/commons/collections4/list/AbstractLinkedListJava21.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ protected void setValue(final E value) {
551551
* <p>
552552
* If this constructor is used by a serializable subclass then the init()
553553
* method must be called.
554+
* </p>
554555
*/
555556
protected AbstractLinkedListJava21() {
556557
}
@@ -629,6 +630,7 @@ protected void addNode(final Node<E> nodeToInsert, final Node<E> insertBeforeNod
629630
* <p>
630631
* This implementation uses {@link #createNode(Object)} and
631632
* {@link #addNode(AbstractLinkedListJava21.Node,AbstractLinkedListJava21.Node)}.
633+
* </p>
632634
*
633635
* @param node node to insert after
634636
* @param value value of the newly added node
@@ -645,6 +647,7 @@ protected void addNodeAfter(final Node<E> node, final E value) {
645647
* <p>
646648
* This implementation uses {@link #createNode(Object)} and
647649
* {@link #addNode(AbstractLinkedListJava21.Node,AbstractLinkedListJava21.Node)}.
650+
* </p>
648651
*
649652
* @param node node to insert before
650653
* @param value value of the newly added node
@@ -724,6 +727,7 @@ protected ListIterator<E> createSubListListIterator(final LinkedSubList<E> subLi
724727
* <p>
725728
* The first serializable subclass must call this method from
726729
* {@code readObject}.
730+
* </p>
727731
*
728732
* @param inputStream the stream to read the object from
729733
* @throws IOException if any error occurs while reading from the stream
@@ -743,6 +747,7 @@ protected void doReadObject(final ObjectInputStream inputStream) throws IOExcept
743747
* <p>
744748
* The first serializable subclass must call this method from
745749
* {@code writeObject}.
750+
* </p>
746751
*
747752
* @param outputStream the stream to write the object to
748753
* @throws IOException if anything goes wrong
@@ -952,6 +957,7 @@ public boolean remove(final Object value) {
952957
* from this list. As a consequence, it is advised to use a collection type for
953958
* {@code coll} that provides a fast (for example O(1)) implementation of
954959
* {@link Collection#contains(Object)}.
960+
* </p>
955961
*/
956962
@Override
957963
public boolean removeAll(final Collection<?> coll) {
@@ -1024,6 +1030,7 @@ protected void removeNode(final Node<E> node) {
10241030
* from this list. As a consequence, it is advised to use a collection type for
10251031
* {@code coll} that provides a fast (for example O(1)) implementation of
10261032
* {@link Collection#contains(Object)}.
1033+
* </p>
10271034
*/
10281035
@Override
10291036
public boolean retainAll(final Collection<?> coll) {

src/main/java/org/apache/commons/collections4/properties/SortedProperties.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ public class SortedProperties extends Properties {
4242

4343
private static final long serialVersionUID = 1L;
4444

45+
/**
46+
* Constructs a new instance.
47+
*/
48+
public SortedProperties() {
49+
// empty
50+
}
51+
4552
@Override
4653
public Set<Map.Entry<Object, Object>> entrySet() {
4754
final Stream<SimpleEntry<Object, Object>> stream = sortedKeys().map(k -> new AbstractMap.SimpleEntry<>(k, getProperty(k)));

0 commit comments

Comments
 (0)