Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.ua.tests/cheatsheet/org/eclipse/ua/tests/cheatsheet/composite/TestTaskEvents.java')
-rw-r--r--org.eclipse.ua.tests/cheatsheet/org/eclipse/ua/tests/cheatsheet/composite/TestTaskEvents.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.ua.tests/cheatsheet/org/eclipse/ua/tests/cheatsheet/composite/TestTaskEvents.java b/org.eclipse.ua.tests/cheatsheet/org/eclipse/ua/tests/cheatsheet/composite/TestTaskEvents.java
index d31914609..c11ce85dd 100644
--- a/org.eclipse.ua.tests/cheatsheet/org/eclipse/ua/tests/cheatsheet/composite/TestTaskEvents.java
+++ b/org.eclipse.ua.tests/cheatsheet/org/eclipse/ua/tests/cheatsheet/composite/TestTaskEvents.java
@@ -39,7 +39,7 @@ import org.junit.Test;
public class TestTaskEvents {
- public class TaskMap {
+ public static class TaskMap {
private Map<String, TaskCounter> map = new HashMap<>();
private int eventCount = 0;
@@ -68,7 +68,7 @@ public class TestTaskEvents {
}
}
- public class TaskCounter {
+ public static class TaskCounter {
private int count = 1;
public int getCount() {

Back to the top