Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Hohenegger2015-09-22 09:14:59 -0400
committerMatthias Sohn2015-09-22 12:32:49 -0400
commit15884dc0e072d0fc47f6bbc21a6b78d19f01d6a9 (patch)
tree831f901a165f00ec3a545b842b5c1f4a0620c535
parent9088b6b19b49de5a070607a14e9afb91c4568ed4 (diff)
downloadegit-15884dc0e072d0fc47f6bbc21a6b78d19f01d6a9.tar.gz
egit-15884dc0e072d0fc47f6bbc21a6b78d19f01d6a9.tar.xz
egit-15884dc0e072d0fc47f6bbc21a6b78d19f01d6a9.zip
Fixed FindBugs warning: Inner class should be static
Change-Id: I619511ff9d8681c49bee4bdf6282832703d1ffb3 Signed-off-by: Max Hohenegger <eclipse@hohenegger.eu>
-rw-r--r--org.eclipse.egit.gitflow.ui/src/org/eclipse/egit/gitflow/ui/internal/dialogs/InitDialog.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.egit.gitflow.ui/src/org/eclipse/egit/gitflow/ui/internal/dialogs/InitDialog.java b/org.eclipse.egit.gitflow.ui/src/org/eclipse/egit/gitflow/ui/internal/dialogs/InitDialog.java
index 984f60f2d..44fc0882e 100644
--- a/org.eclipse.egit.gitflow.ui/src/org/eclipse/egit/gitflow/ui/internal/dialogs/InitDialog.java
+++ b/org.eclipse.egit.gitflow.ui/src/org/eclipse/egit/gitflow/ui/internal/dialogs/InitDialog.java
@@ -79,7 +79,7 @@ import org.eclipse.swt.widgets.Text;
* Dialog to gather inputs for the git flow init operation.
*/
public class InitDialog extends TitleAreaDialog {
- private final class BranchValidator implements IValidator {
+ private static final class BranchValidator implements IValidator {
@Override
public IStatus validate(Object value) {
if (value == null || !isValidRefName(R_HEADS + value)) {
@@ -89,7 +89,7 @@ public class InitDialog extends TitleAreaDialog {
}
}
- private final class BranchExistsValidator implements IValidator {
+ private static final class BranchExistsValidator implements IValidator {
private List<String> list;
public BranchExistsValidator(List<Ref> branchList) {

Back to the top