Example usage for org.eclipse.jgit.revwalk RevObject remove

List of usage examples for org.eclipse.jgit.revwalk RevObject remove

Introduction

In this page you can find the example usage for org.eclipse.jgit.revwalk RevObject remove.

Prototype

public final void remove(RevFlagSet set) 

Source Link

Document

Remove a set of flags from this object.

Usage

From source file:org.eclipse.egit.ui.internal.history.FindResults.java

License:Open Source License

/**
 * Cleans the find results. All match item indexes are removed.
 *///ww w . ja v  a2  s.  com
public synchronized void clear() {
    if (highlight != null) {
        for (RevObject o : revObjList) {
            o.remove(highlight);
        }
    }
    matchesMap.clear();
    revObjList.clear();
    keysArray = null;
    matchesCount = 0;
}