Add missing @since tag and silence API error
These methods were introduced for 4.11.1 so we have to silence the API error adding API in a service release raises. Change-Id: Ic847cebbed439912d3979ec2ec1809f77a28f61e Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
61e4f16652
commit
4de2a9d57d
|
@ -1,5 +1,13 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<component id="org.eclipse.jgit" version="2">
|
<component id="org.eclipse.jgit" version="2">
|
||||||
|
<resource path="META-INF/MANIFEST.MF">
|
||||||
|
<filter id="924844039">
|
||||||
|
<message_arguments>
|
||||||
|
<message_argument value="4.11.1"/>
|
||||||
|
<message_argument value="4.11.0"/>
|
||||||
|
</message_arguments>
|
||||||
|
</filter>
|
||||||
|
</resource>
|
||||||
<resource path="src/org/eclipse/jgit/diff/DiffEntry.java" type="org.eclipse.jgit.diff.DiffEntry">
|
<resource path="src/org/eclipse/jgit/diff/DiffEntry.java" type="org.eclipse.jgit.diff.DiffEntry">
|
||||||
<filter id="336658481">
|
<filter id="336658481">
|
||||||
<message_arguments>
|
<message_arguments>
|
||||||
|
|
|
@ -108,6 +108,7 @@ public static void write(OutputStream out, @Nullable AnyObjectId id)
|
||||||
* the object id to serialize; never null
|
* the object id to serialize; never null
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
* the stream writing failed
|
* the stream writing failed
|
||||||
|
* @since 4.11
|
||||||
*/
|
*/
|
||||||
public static void writeWithoutMarker(OutputStream out, @NonNull AnyObjectId id)
|
public static void writeWithoutMarker(OutputStream out, @NonNull AnyObjectId id)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
|
@ -147,6 +148,7 @@ public static ObjectId read(InputStream in) throws IOException {
|
||||||
* @return the object id; never null
|
* @return the object id; never null
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
* there was an error reading the stream
|
* there was an error reading the stream
|
||||||
|
* @since 4.11
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
public static ObjectId readWithoutMarker(InputStream in) throws IOException {
|
public static ObjectId readWithoutMarker(InputStream in) throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue