commit 00079d8eafa305bc3f0ace03a4e9a33aec620a80
parent 28656b6834f84b0b588f103aa9c9d7f22af2a510
Author: Tomas Hlavaty <tom@logand.com>
Date: Fri, 25 Dec 2015 23:09:04 +0100
fix package and class name
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/jmultimethod/DispatchTest.java b/src/jmultimethod/DispatchTest.java
@@ -2,7 +2,9 @@
// for asteroid example see wikipedia visitor pattern
-public class Dispatch {
+package jmultimethod;
+
+public class DispatchTest {
static class Asteroid {
String id;
public Asteroid(String id) {this.id = id;}