1. remove database variable from RevisionInternal.java