Add missing @Deprecated to deprecated fields and methods
Java spec requires the @Deprecated annotation on any deprecated field or method. Add the missing annotation to fields and methods already declared deprecated in the javadoc. Change-Id: Ic0ef24b43cfd99ac947e771ef5a28e493c304274
This commit is contained in:
parent
83c743e6e2
commit
fc8ff50e1a
|
@ -103,6 +103,7 @@ public abstract class TextBuiltin {
|
|||
*
|
||||
* @deprecated Use outw instead
|
||||
*/
|
||||
@Deprecated
|
||||
protected PrintWriter out;
|
||||
|
||||
/** Git repository the command was invoked within. */
|
||||
|
|
|
@ -810,6 +810,7 @@ else if (!entry.isSmudged())
|
|||
* @return true if content is most likely different.
|
||||
* @deprecated Use {@link #isModified(DirCacheEntry, boolean, ObjectReader)}
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean isModified(DirCacheEntry entry, boolean forceContentCheck) {
|
||||
try {
|
||||
return isModified(entry, forceContentCheck, null);
|
||||
|
|
Loading…
Reference in New Issue