Commit df6ffcc2 authored by Claes Sjofors's avatar Claes Sjofors

java, GlowCon didn't implement getName()

parent 7294a41d
......@@ -259,6 +259,7 @@ public class GlowCon extends GlowArrayElem {
}
}
}
public String getName() { return "Con";}
}
......@@ -875,7 +875,6 @@ public class GrowCtx implements GrowCtxIfc {
public GlowArrayElem findByName( String name) {
for ( int i = 0; i < cmn.a.size(); i++) {
System.out.println("findByName: " + ((GlowArrayElem)cmn.a.get(i)).getName());
if ( ((GlowArrayElem)cmn.a.get(i)).getName().equalsIgnoreCase(name))
return (GlowArrayElem)cmn.a.get(i);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment