diff options
author | James Moger <james.moger@gitblit.com> | 2011-07-22 09:37:14 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-07-22 09:37:14 -0400 |
commit | 88598bb2f779b73479512d818c675dea8fa72138 (patch) | |
tree | 77e1a8e89da1faa3444f03aefa8a201f77010e9e /src/com/gitblit/wicket/pages/EditRepositoryPage.java | |
parent | 0d3e3ca5b85d7e81066030a5081ea3a9cbe76607 (diff) | |
download | gitblit-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.java | 14 |
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);
}
|