summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/util
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub/util')
-rw-r--r--mock/jrummikub/util/MockEvent1.java3
-rw-r--r--mock/jrummikub/util/MockEvent2.java6
2 files changed, 6 insertions, 3 deletions
diff --git a/mock/jrummikub/util/MockEvent1.java b/mock/jrummikub/util/MockEvent1.java
index 7b44c88..955215c 100644
--- a/mock/jrummikub/util/MockEvent1.java
+++ b/mock/jrummikub/util/MockEvent1.java
@@ -6,7 +6,7 @@ import java.util.HashSet;
* Mock class for Event1s
*
* @param <T>
- * event type
+ * event type
*/
public class MockEvent1<T> implements IEvent1<T> {
/** */
@@ -31,6 +31,7 @@ public class MockEvent1<T> implements IEvent1<T> {
/**
* @param value
+ * the event parameter
*/
public void emit(T value) {
for (IListener1<T> listener : listeners) {
diff --git a/mock/jrummikub/util/MockEvent2.java b/mock/jrummikub/util/MockEvent2.java
index 38c9686..bb4582f 100644
--- a/mock/jrummikub/util/MockEvent2.java
+++ b/mock/jrummikub/util/MockEvent2.java
@@ -6,9 +6,9 @@ import java.util.HashSet;
* Mock class for Event2s
*
* @param <T1>
- * first event type
+ * first event type
* @param <T2>
- * second event type
+ * second event type
*/
public class MockEvent2<T1, T2> implements IEvent2<T1, T2> {
/** */
@@ -33,7 +33,9 @@ public class MockEvent2<T1, T2> implements IEvent2<T1, T2> {
/**
* @param value1
+ * the first event parameter
* @param value2
+ * the second event parameter
*/
public void emit(T1 value1, T2 value2) {
for (IListener2<T1, T2> listener : listeners) {