public void readDescription(Reader in) throws IOException, NoSuchVerseException { raiseEventSuppresion(); raiseNormalizeProtection(); int count = 0; // number of lines read // Quiet Android from complaining about using the default BufferReader buffer size. // The actual buffer size is undocumented. So this is a good idea any way. BufferedReader bin = new BufferedReader(in, 8192); String v11nName = bin.readLine(); v11n = Versifications.instance().getVersification(v11nName); while (true) { String line = bin.readLine(); if (line == null) { break; } count++; addVerses(line, null); } // If the file was empty then there is nothing to do if (count == 0) { return; } lowerNormalizeProtection(); if (lowerEventSuppressionAndTest()) { fireIntervalAdded(this, getVerseAt(0), getVerseAt(countVerses() - 1)); } }