Skip to content

Commit

Permalink
Javadoc fix for #912
Browse files Browse the repository at this point in the history
  • Loading branch information
llorllale committed Jun 25, 2018
1 parent 478041c commit 92b77ed
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/org/cactoos/collection/CollectionEnvelope.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ public final <T> T[] toArray(final T[] array) {
@Override
public final boolean add(final X item) {
throw new UnsupportedOperationException(
"#add(): the collection is ready only"
"#add(): the collection is read-only"
);
}

@Override
public final boolean remove(final Object object) {
throw new UnsupportedOperationException(
"#remove(): the collection is ready only"
"#remove(): the collection is read-only"
);
}

Expand All @@ -122,28 +122,28 @@ public final boolean containsAll(final Collection<?> list) {
@Override
public final boolean addAll(final Collection<? extends X> list) {
throw new UnsupportedOperationException(
"#addAll(): the collection is ready only"
"#addAll(): the collection is read-only"
);
}

@Override
public final boolean removeAll(final Collection<?> list) {
throw new UnsupportedOperationException(
"#removeAll(): the collection is ready only"
"#removeAll(): the collection is read-only"
);
}

@Override
public final boolean retainAll(final Collection<?> list) {
throw new UnsupportedOperationException(
"#retainAll(): the collection is ready only"
"#retainAll(): the collection is read-only"
);
}

@Override
public final void clear() {
throw new UnsupportedOperationException(
"#clear(): the collection is ready only"
"#clear(): the collection is read-only"
);
}

Expand Down

0 comments on commit 92b77ed

Please sign in to comment.