/** Adds a key->value assignment to the values HashMap */ private void createKeyValueAssignment(String line, int lineNr) { String[] split = line.split("="); if (split.length == 1) { split = new String[] {split[0], ""}; } if (split[0].matches(PlotConstants.KEY_INT_GRID_WIDTH)) { parserResult.addPlotGridValue(split[0], new KeyValue(split[0], split[1], lineNr)); } else { tempPlotValuesCache.put(split[0], new KeyValue(split[0], split[1], lineNr)); } }