/src/main/java/net/finmath/parser/CSVSwaptionParser.java
final BufferedReader atmReader = final BufferedReader atmReader = BufferedReader( new InputStreamReader( otmStream) ) ;
final BufferedReader atmReader = new BufferedReader ( new InputStreamReader ( atmStream ) ) ;
atmZip.close(); otmZip.close(); return lattices.toArray(new SwaptionDataLattice[0]); } private SwaptionDataLattice parseStreams(final InputStream atmStream, final InputStream otmStream, final LocalDate referenceDate, final String currency, final String index, final String discountCurveName) throws IOException { <extra_id_0> final BufferedReader otmReader = new BufferedReader(new InputStreamReader(otmStream)); double shift = 0; final ArrayList<String> codes = new ArrayList<>(); final ArrayList<Integer> moneynesss = new ArrayList<>(); final ArrayList<Double> values = new ArrayList<>(); String line;