summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/wicket/pages/EditRepositoryPage.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-07-22 09:37:14 -0400
committerJames Moger <james.moger@gitblit.com>2011-07-22 09:37:14 -0400
commit88598bb2f779b73479512d818c675dea8fa72138 (patch)
tree77e1a8e89da1faa3444f03aefa8a201f77010e9e /src/com/gitblit/wicket/pages/EditRepositoryPage.java
parent0d3e3ca5b85d7e81066030a5081ea3a9cbe76607 (diff)
downloadgitblit-88598bb2f779b73479512d818c675dea8fa72138.tar.gz
gitblit-88598bb2f779b73479512d818c675dea8fa72138.zip
Documentation. Unit testing. Checkstyle. Findbugs.
Diffstat (limited to 'src/com/gitblit/wicket/pages/EditRepositoryPage.java')
-rw-r--r--src/com/gitblit/wicket/pages/EditRepositoryPage.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/com/gitblit/wicket/pages/EditRepositoryPage.java b/src/com/gitblit/wicket/pages/EditRepositoryPage.java
index 824f13dc..eea389ea 100644
--- a/src/com/gitblit/wicket/pages/EditRepositoryPage.java
+++ b/src/com/gitblit/wicket/pages/EditRepositoryPage.java
@@ -184,17 +184,17 @@ public class EditRepositoryPage extends BasePage {
form.add(usersPalette);
form.add(new Button("save"));
- Button cancel = new Button("cancel"){
+ Button cancel = new Button("cancel") {
private static final long serialVersionUID = 1L;
@Override
public void onSubmit() {
- setResponsePage(RepositoriesPage.class);
- }
- };
- cancel.setDefaultFormProcessing(false);
- form.add(cancel);
-
+ setResponsePage(RepositoriesPage.class);
+ }
+ };
+ cancel.setDefaultFormProcessing(false);
+ form.add(cancel);
+
add(form);
}