diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2010-07-30 16:43:34 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2010-08-20 17:41:27 -0700 |
commit | 69f8fa31be85e9fbb6befa6cadf98c95c49a5c83 (patch) | |
tree | 888ed97f20c30ecacb7b2e61b9ea23b5dcb074b7 | |
parent | 109c695936d3b4029b16f2c9cff7ef993133f303 (diff) | |
download | jgit-69f8fa31be85e9fbb6befa6cadf98c95c49a5c83.tar.gz jgit-69f8fa31be85e9fbb6befa6cadf98c95c49a5c83.zip |
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>
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java index ae70638672..7bdc5bce45 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java +++ b/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 { /** 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. |