package lemming.ui.page;

import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.link.BookmarkablePageLink;

import lemming.HomePage;

/**
 * Displayed when access to a Page instance is denied.
 */
public class AccessDeniedPage extends EmptyBasePage {
    /**
     * Determines if a deserialized file is compatible with this class.
     */
    private static final long serialVersionUID = 1L;

    /**
     * Initializes an access denied page.
     */
    @Override
    protected void onInitialize() {
        super.onInitialize();
        add(new Label("accessDeniedHeader",
                getString("AccessDeniedPage.header")));
        add(new Label("accessDeniedMessage",
                getString("AccessDeniedPage.message")));
        add(new BookmarkablePageLink<Void>("accessDeniedRedirectionLink",
                HomePage.class));
    }
}

@@ -600,32 +600,16 @@
 Header%22,
-%0A               
  getStri
@@ -685,32 +685,16 @@
 essage%22,
-%0A               
  getStri
@@ -804,24 +804,8 @@
 nk%22,
-%0A               
  Hom

Fix code wrapping in class AccessDeniedPage.