FieldParseInfo is now an abstract class, with a concrete subclass for each IsoType. This greatly improves the parsing speed.
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@66 db60a039-f72e-0410-b1d2-baa000846441
This commit is contained in:
@@ -172,7 +172,7 @@ public class ConfigParser {
|
||||
if (f.getAttribute("length").length() > 0) {
|
||||
length = Integer.parseInt(f.getAttribute("length"));
|
||||
}
|
||||
parseMap.put(num, new FieldParseInfo(itype, length));
|
||||
parseMap.put(num, FieldParseInfo.getInstance(itype, length));
|
||||
}
|
||||
mfact.setParseMap(type, parseMap);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user