deduplicator-indexer/src/main/java/is/landsbokasafn/deduplicator/indexer/CrawlLogIterator.java
/**
     * Ready the next item.  When the method returns, either next is non-null
     * or there are no more items in the crawl log.
     * @throws IOException If unable to read the next item.
     */
Ready the next item.  When the method returns, either next is non-null
or there are no more items in the crawl log.
@throws IOException If unable to read the next item.
Ready the next item . When the method returns either next is non - null or there are no more items in the crawl log . @throws IOException If unable to read the next item .
protected void prepareNext() throws IOException{
    	if (next!=null) {
    		throw new IllegalStateException("Can't prepare next, when next is non-null");
    	}
        String line;
        while ((line = in.readLine()) != null) {
            next = parseLine(line);
            if (next != null) {
                return;
            }
        }
     }
protected void prepareNext ( ) throws IOException { if ( next != null ) { throw new IllegalStateException ( "Can't prepare next, when next is non-null" ) ; } String line ; while ( ( line = in . readLine ( ) ) != null ) { next = parseLine ( line ) ; if ( next != null ) { return ; } } }
Ready the next item.
Ready the next item .