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:
Shawn Pearce 2014-03-03 10:37:06 -08:00
parent 83c743e6e2
commit fc8ff50e1a
2 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,7 @@ public abstract class TextBuiltin {
*
* @deprecated Use outw instead
*/
@Deprecated
protected PrintWriter out;
/** Git repository the command was invoked within. */

View File

@ -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);