Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Code such as the following does not really follow a recognized design pattern:
AParserWrapper parser = AParserWrapper.createParser(false);
For ease of code maintenance, this should be replaced by something such as:
ParserWrapper parser = ParserFactory.createParser(false);