Browse Source

[findbugs] Make CheckoutResult constants final

Change-Id: I9117f212e2ad7051fdc6e7417ebc7c2d15b357a8
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-0.11
Matthias Sohn 14 years ago
parent
commit
65ccadeced
  1. 7
      org.eclipse.jgit/src/org/eclipse/jgit/api/CheckoutResult.java

7
org.eclipse.jgit/src/org/eclipse/jgit/api/CheckoutResult.java

@ -54,18 +54,19 @@ public class CheckoutResult {
/** /**
* The {@link Status#OK} result; * The {@link Status#OK} result;
*/ */
public static CheckoutResult OK_RESULT = new CheckoutResult(Status.OK, null); public static final CheckoutResult OK_RESULT = new CheckoutResult(
Status.OK, null);
/** /**
* The {@link Status#ERROR} result; * The {@link Status#ERROR} result;
*/ */
public static CheckoutResult ERROR_RESULT = new CheckoutResult( public static final CheckoutResult ERROR_RESULT = new CheckoutResult(
Status.ERROR, null); Status.ERROR, null);
/** /**
* The {@link Status#NOT_TRIED} result; * The {@link Status#NOT_TRIED} result;
*/ */
public static CheckoutResult NOT_TRIED_RESULT = new CheckoutResult( public static final CheckoutResult NOT_TRIED_RESULT = new CheckoutResult(
Status.NOT_TRIED, null); Status.NOT_TRIED, null);
/** /**

Loading…
Cancel
Save