Skip to content

Commit

Permalink
Fix comments and pom.xml
Browse files Browse the repository at this point in the history
Signed-off-by: canthonyl <cheung.yi.lung@gmail.com>
  • Loading branch information
canthonyl committed May 3, 2019
1 parent 154651f commit df036cd
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

/**
* A MultiReaderBag provides thread-safe iteration for a bag through methods {@code withReadLockAndDelegate()} and {@code withWriteLockAndDelegate()}.
*
* @since 10.0.
*/
public interface MultiReaderBag<T>
extends MutableBag<T>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@

/**
* A factory which creates instances of type {@link MultiReaderBag}.
*
* @since 10.0.
*/
public interface MultiReaderBagFactory
{
/**
* @since 6.0
*/
<T> MultiReaderBag<T> empty();

/**
Expand Down Expand Up @@ -60,8 +59,5 @@ default <T> MultiReaderBag<T> ofAll(Iterable<? extends T> items)

<T> MultiReaderBag<T> withAll(Iterable<? extends T> items);

/**
* @since 10.0.
*/
<T> MultiReaderBag<T> fromStream(Stream<? extends T> stream);
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
import org.eclipse.collections.api.block.function.Function0;
import org.eclipse.collections.api.list.MultiReaderList;

/**
* A factory which creates instances of type {@link MultiReaderList}.
*
* @since 10.0.
*/
public interface MultiReaderListFactory
{
/**
* @since 6.0
*/
<T> MultiReaderList<T> empty();

/**
Expand Down Expand Up @@ -71,9 +73,6 @@ default <T> MultiReaderList<T> ofAll(Iterable<? extends T> iterable)

<T> MultiReaderList<T> withAll(Iterable<? extends T> iterable);

/**
* @since 10.0.
*/
<T> MultiReaderList<T> fromStream(Stream<? extends T> stream);

<T> MultiReaderList<T> withNValues(int size, Function0<? extends T> factory);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@

import org.eclipse.collections.api.set.MultiReaderSet;

/**
* A factory which creates instances of type {@link MultiReaderSet}.
*
* @since 10.0.
*/
public interface MultiReaderSetFactory
{
/**
* @since 6.0
*/
<T> MultiReaderSet<T> empty();

/**
Expand Down Expand Up @@ -70,8 +72,5 @@ default <T> MultiReaderSet<T> ofAll(Iterable<? extends T> items)

<T> MultiReaderSet<T> withAll(Iterable<? extends T> items);

/**
* @since 10.0.
*/
<T> MultiReaderSet<T> fromStream(Stream<? extends T> stream);
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

/**
* A MultiReaderList provides thread-safe iteration for a list through methods {@code withReadLockAndDelegate()} and {@code withWriteLockAndDelegate()}.
*
* @since 10.0.
*/
public interface MultiReaderList<T>
extends MutableList<T>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

/**
* A MultiReaderSet provides thread-safe iteration for a set through methods {@code withReadLockAndDelegate()} and {@code withWriteLockAndDelegate()}.
*
* @since 10.0.
*/
public interface MultiReaderSet<T>
extends MutableSet<T>
Expand Down
15 changes: 1 addition & 14 deletions eclipse-collections-forkjoin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

<!-- Testing Dependencies -->

<dependency>
<dependency>
<groupId>org.eclipse.collections</groupId>
<artifactId>eclipse-collections-testutils</artifactId>
<version>${project.version}</version>
Expand All @@ -54,21 +54,8 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<!--
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
-->
</dependencies>

<build>
Expand Down

0 comments on commit df036cd

Please sign in to comment.