agelencs / moa

Automatically exported from code.google.com/p/moa
0 stars 0 forks source link

AbstractOptionHandler is inconsistent with MOA manual #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
"For the system to automatically take care of option handling, the  options 
need to be public members of the class, that extend the moa.options.Option 
type."

Line 115 of AbstractOptionHandler.java:
>>> if (fName.endsWith("Option")) {
should be (one of the possible solutions):
>>> if (fType.getName().endsWith("Option")) {

Original issue reported on code.google.com by ankha...@gmail.com on 16 Oct 2012 at 6:50

GoogleCodeExporter commented 8 years ago
Thanks! I updated the code of AbstractOptionHandler.java

Original comment by abi...@gmail.com on 16 Oct 2012 at 7:33