From 8654ee50f432de3c465c99c6985fa03396534b14 Mon Sep 17 00:00:00 2001
From: Mike Bailey <jmbailey@nps.edu>
Date: Wed, 24 Jul 2019 13:52:37 -0700
Subject: [PATCH] Method name typo, add toString method.

---
 src-generated/edu/nps/moves/dis/Domain.java | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/src-generated/edu/nps/moves/dis/Domain.java b/src-generated/edu/nps/moves/dis/Domain.java
index e553fbb0d5..f9111d5207 100644
--- a/src-generated/edu/nps/moves/dis/Domain.java
+++ b/src-generated/edu/nps/moves/dis/Domain.java
@@ -47,13 +47,13 @@ public class Domain
     Class c = enumInst.getClass();
     try {
       //@formatter:off
-      marshalBuff =   c.getDeclaredMethod("marshal",   new Class[]{ByteBuffer.class});
-      marshalDos =    c.getDeclaredMethod("marshal",   new Class[]{DataOutputStream.class});
+      marshalBuff =   c.getDeclaredMethod("marshal",       new Class[]{ByteBuffer.class});
+      marshalDos =    c.getDeclaredMethod("marshal",       new Class[]{DataOutputStream.class});
       unmarshalBuff = c.getDeclaredMethod("unmarshalEnum", new Class[]{ByteBuffer.class});
       unmarshalDis =  c.getDeclaredMethod("unmarshalEnum", new Class[]{DataInputStream.class});
-      mSize =         c.getDeclaredMethod("getMarshalSize", (Class[]) null);
-      getValue =              c.getMethod("getValue",       (Class[]) null);
-      getDescription =        c.getMethod("getDescription", (Class[]) null);
+      mSize =         c.getDeclaredMethod("getMarshalledSize", (Class[]) null);
+      getValue =      c.getDeclaredMethod("getValue",          (Class[]) null);
+      getDescription =c.getDeclaredMethod("getDescription",    (Class[]) null);
       //@formatter:on
     }
     catch (NoSuchMethodException ex) {
@@ -110,5 +110,10 @@ public class Domain
       throw new RuntimeException("bad " + m.getName());
     }
   }
+
+  public String toString()
+  {
+    return getDescription();
+  }
 }
 
-- 
GitLab