arjansh commented on issue #221: Access CSVParser in a synchronized manner
URL: https://github.com/apache/metamodel/pull/221#issuecomment-502040305
 
 
   I removed the synchronization in favor of instantiating the CSVParser each 
time. Opencsv doesn't provide an option to parse a line in a static way.
   
   To achieve this I deprecated the current constructor for 
SingleLineCsvDataSet and introduced a new one which takes has a 
_CsvConfiguration_ object as a parameter and I moved the _createParser_  method 
which creates the CSVParser to the _CsvConfiguration_  class.
   
   I'm not sure if this is the best approach, so please provide some feedback.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to