Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit 32cbc24

Browse files
committed
Add author tags
Indicate authors as well as primary owners for important classes/interfaces
1 parent 0bf3147 commit 32cbc24

31 files changed

+62
-4
lines changed

asyncutil-flow/src/main/java/com/ibm/asyncutil/flow/FlowAdapter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727

2828
/**
2929
* Adapters to convert between {@link Flow.Publisher} and {@link AsyncIterator}.
30+
*
31+
* @author Ravi Khadiwala
3032
*/
3133
public class FlowAdapter {
3234
private FlowAdapter() {}

asyncutil/src/main/java/com/ibm/asyncutil/iteration/AsyncIterator.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@
180180
* case requires no resources the user should only call close if it is possible that the
181181
* {@link AsyncIterator} has resources.
182182
*
183+
* @author Ravi Khadiwala
184+
* @author Renar Narubin
183185
* @param <T> Type of object being iterated over.
184186
* @see Stream
185187
*/

asyncutil/src/main/java/com/ibm/asyncutil/iteration/AsyncIterators.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@
2727
import com.ibm.asyncutil.util.Either;
2828
import com.ibm.asyncutil.util.StageSupport;
2929

30-
/** Package private methods to use in {@link AsyncIterator} */
30+
/**
31+
* Package private methods to use in {@link AsyncIterator}
32+
*
33+
* @author Ravi Khadiwala
34+
* @author Renar Narubin
35+
*/
3136
class AsyncIterators {
3237

3338
private AsyncIterators() {}

asyncutil/src/main/java/com/ibm/asyncutil/iteration/AsyncQueue.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
* you actually use a consumption operation somewhere, otherwise no one will ever read what was sent
115115
* </ul>
116116
*
117+
* @author Ravi Khadiwala
117118
* @param <T> The type of the elements in this queue
118119
* @see AsyncQueues
119120
* @see BoundedAsyncQueue

asyncutil/src/main/java/com/ibm/asyncutil/iteration/AsyncQueues.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
/**
1919
* Methods to construct various multi-producer-single-consumer (mpsc) AsyncQueues.
2020
*
21+
* @author Ravi Khadiwala
2122
* @see AsyncQueue
2223
* @see BoundedAsyncQueue
2324
*/

asyncutil/src/main/java/com/ibm/asyncutil/iteration/AsyncTrampoline.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@
7373
* example, the preceding snippet can be expressed as {@code
7474
* AsyncIterator.generate(this::getNextNumber).find(i -> i % 2 != 0)}
7575
*
76+
* @author Renar Narubin
77+
* @author Ravi Khadiwala
7678
* @see AsyncIterator
7779
*/
7880
public final class AsyncTrampoline {

asyncutil/src/main/java/com/ibm/asyncutil/iteration/BoundedAsyncQueue.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
* In practice, this means that if your number of senders is very large you can still consume too
101101
* much memory even if you are respecting the send interface.
102102
*
103+
* @author Ravi Khadiwala
103104
* @param <T> the type of the items sent and consumed from this queue
104105
* @see AsyncIterator
105106
* @see AsyncQueue

asyncutil/src/main/java/com/ibm/asyncutil/locks/AbstractSimpleEpoch.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
import java.util.concurrent.atomic.AtomicInteger;
1010

1111
/**
12-
* A base epoch implementation used to construct various epoch mechanisms, e.g.
13-
* {@link AsyncEpoch}
12+
* A base epoch implementation used to construct various epoch mechanisms, e.g. {@link AsyncEpoch}
13+
*
14+
* @author Renar Narubin
1415
*/
1516
@SuppressWarnings("serial")
1617
abstract class AbstractSimpleEpoch

asyncutil/src/main/java/com/ibm/asyncutil/locks/AsyncEpoch.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
* CompletionStage<Void> close() { return epoch.terminate(); }
3939
* }
4040
* </pre>
41+
*
42+
* @author Renar Narubin
4143
*/
4244
public interface AsyncEpoch {
4345

asyncutil/src/main/java/com/ibm/asyncutil/locks/AsyncEpochImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515

1616
/**
17+
* @author Renar Narubin
1718
* @see AsyncEpoch
1819
*/
1920
@SuppressWarnings("serial")

0 commit comments

Comments
 (0)