List of usage examples for org.apache.commons.jrcs.rcs Node isGhost
public boolean isGhost()
From source file:org.opensolaris.opengrok.history.RCSHistoryParser.java
private void traverse(Node n, List<HistoryEntry> history) { if (n == null) { return;/*from ww w . jav a 2 s . c o m*/ } traverse(n.getChild(), history); TreeMap<?, ?> brt = n.getBranches(); if (brt != null) { for (Iterator<?> i = brt.values().iterator(); i.hasNext();) { Node b = (Node) i.next(); traverse(b, history); } } if (!n.isGhost()) { HistoryEntry entry = new HistoryEntry(); entry.setRevision(n.getVersion().toString()); entry.setDate(n.getDate()); entry.setAuthor(n.getAuthor()); entry.setMessage(n.getLog()); entry.setActive(true); history.add(entry); } }