Browse Source

Merge "[findbugs] Make CheckoutResult constants final"

stable-0.11
Shawn Pearce 14 years ago committed by Code Review
parent
commit
9a3ce780fc
  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