public Revision next(){
  try {
    Revision revision=new Revision(result.getInt(2));
    this.primaryKey=result.getInt(1);
    revision.setPrimaryKey(this.primaryKey);
    revision.setRevisionID(result.getInt(3));
    revision.setArticleID(result.getInt(4));
    revision.setTimeStamp(new Timestamp(result.getLong(5)));
    revision.setFullRevisionID(result.getInt(6));
    return revision;
  }
 catch (  Exception e) {
    e.printStackTrace();
    throw new RuntimeException(e);
  }
}

public Revision next ( ) { try { Revision revision = new Revision ( result . getInt ( 2 ) ) ; this . primaryKey = result . getInt ( 1 ) ; revision . setPrimaryKey ( this . primaryKey ) ; revision . setRevisionID ( result . getInt ( 3 ) ) ; revision . setArticleID ( result . getInt ( 4 ) ) ; revision . setTimeStamp ( new Timestamp ( result . getLong ( 5 ) ) ) ; revision . setFullRevisionID ( result . getInt ( 6 ) ) ; return revision ; } catch ( Exception e ) { e . printStackTrace ( ) ; throw new RuntimeException ( e ) ; } }
returns the next revision information . ( does not contain the encoded diff )
