Initialization of authorization service from the code is now working.
[photos] / src / main / java / org / wamblee / photos / wicket / HomePage.java
index acc2877089ee1cf209e25cfceea83048fc5cb473..26331e6fec69d83494ca993d8b1aafd61a8c3ba5 100644 (file)
@@ -51,9 +51,8 @@ public class HomePage extends BasePage {
 
     /**
      * Constructor that is invoked when page is invoked without a session.
-     * 
-     * @param parameters
-     *            Page parameters
+     *
+     * @param parameters Page parameters
      */
     public HomePage(final PageParameters parameters) throws Exception {
         super();
@@ -70,15 +69,13 @@ public class HomePage extends BasePage {
         System.out.println("Entries: " + album.size());
         for (int i = 0; i < album.size(); i++) {
             PhotoEntry entry = album.getEntry(i);
-            System.out.println("Entry " + i + " " + entry.getId() + " " +
-                entry.getPath());
+            System.out.println("Entry " + i + " " + entry.getId() + " " + entry.getPath());
         }
 
         System.out.println("Authorized Entries: " + authorized.size());
         for (int i = 0; i < authorized.size(); i++) {
             PhotoEntry entry = authorized.getEntry(i);
-            System.out.println("Entry " + i + " " + entry.getId() + " " +
-                entry.getPath());
+            System.out.println("Entry " + i + " " + entry.getId() + " " + entry.getPath());
         }
     }
 }