mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-17 15:35:00 +00:00
Formatting: line length.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436835 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c683446d5b
commit
1a5a24da2d
@ -82,7 +82,8 @@ public class BoundedBuffer<E> extends SynchronizedBuffer<E> implements BoundedCo
|
|||||||
* @throws IllegalArgumentException if the buffer is null
|
* @throws IllegalArgumentException if the buffer is null
|
||||||
* @throws IllegalArgumentException if the maximum size is zero or less
|
* @throws IllegalArgumentException if the maximum size is zero or less
|
||||||
*/
|
*/
|
||||||
public static <E> BoundedBuffer<E> boundedBuffer(final Buffer<E> buffer, final int maximumSize, final long timeout) {
|
public static <E> BoundedBuffer<E> boundedBuffer(final Buffer<E> buffer, final int maximumSize,
|
||||||
|
final long timeout) {
|
||||||
return new BoundedBuffer<E>(buffer, maximumSize, timeout);
|
return new BoundedBuffer<E>(buffer, maximumSize, timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,7 +54,8 @@ public class PredicatedBuffer<E> extends PredicatedCollection<E> implements Buff
|
|||||||
* @throws IllegalArgumentException if buffer or predicate is null
|
* @throws IllegalArgumentException if buffer or predicate is null
|
||||||
* @throws IllegalArgumentException if the buffer contains invalid elements
|
* @throws IllegalArgumentException if the buffer contains invalid elements
|
||||||
*/
|
*/
|
||||||
public static <E> PredicatedBuffer<E> predicatedBuffer(final Buffer<E> buffer, final Predicate<? super E> predicate) {
|
public static <E> PredicatedBuffer<E> predicatedBuffer(final Buffer<E> buffer,
|
||||||
|
final Predicate<? super E> predicate) {
|
||||||
return new PredicatedBuffer<E>(buffer, predicate);
|
return new PredicatedBuffer<E>(buffer, predicate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user