\r
import org.apache.wicket.Component;\r
import org.apache.wicket.PageParameters;\r
+import org.apache.wicket.RestartResponseException;\r
import org.apache.wicket.behavior.SimpleAttributeModifier;\r
import org.apache.wicket.markup.html.basic.Label;\r
import org.apache.wicket.markup.html.form.DropDownChoice;\r
}\r
\r
if (!getRepositoryModel().hasCommits) {\r
- setResponsePage(EmptyRepositoryPage.class, params);\r
+ throw new RestartResponseException(EmptyRepositoryPage.class, params);\r
}\r
\r
if (getRepositoryModel().isCollectingGarbage) {\r