Browse Source

Expose OBJ_ANY in ObjectReader

Storage implementations or application code using an ObjectReader
may want to access this constant without being inside of a subclass
of the reader.

Change-Id: I6c871a03d5846b9bb899de4d14a265e8b204d8e0
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
stable-0.9
Shawn O. Pearce 15 years ago
parent
commit
69f8fa31be
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java

2
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java

@ -57,7 +57,7 @@ import org.eclipse.jgit.storage.pack.ObjectReuseAsIs;
*/ */
public abstract class ObjectReader { public abstract class ObjectReader {
/** Type hint indicating the caller doesn't know the type. */ /** Type hint indicating the caller doesn't know the type. */
protected static final int OBJ_ANY = -1; public static final int OBJ_ANY = -1;
/** /**
* Construct a new reader from the same data. * Construct a new reader from the same data.

Loading…
Cancel
Save