public static List<String> getCurrentRevisionIDs(Document doc) throws ForestException {
        List<String> currentRevIDs = new ArrayList<String>();
        do {
            currentRevIDs.add(doc.getSelectedRevID());
        } while (doc.selectNextLeaf(false, false));
        return currentRevIDs;
    }
public static List < String > getCurrentRevisionIDs ( Document doc ) throws ForestException { List < String > currentRevIDs = new ArrayList < String > ( ) ; do { currentRevIDs . add ( doc . getSelectedRevID ( ) ) ; } while ( doc . selectNextLeaf ( false , false ) ) ; return currentRevIDs ; }
Not include deleted leaf node