diff --git a/src/main/java/org/rometools/certiorem/example/HubServlet.java b/src/main/java/org/rometools/certiorem/example/HubServlet.java index 6ef9d9f..7a6f68f 100644 --- a/src/main/java/org/rometools/certiorem/example/HubServlet.java +++ b/src/main/java/org/rometools/certiorem/example/HubServlet.java @@ -12,14 +12,17 @@ import com.google.inject.Inject; import com.google.inject.Singleton; /** - * + * * @author robert.cooper */ @Singleton public class HubServlet extends AbstractHubServlet { + private static final long serialVersionUID = 1L; + @Inject public HubServlet(final Hub hub) { super(hub); } + } diff --git a/src/main/java/org/rometools/certiorem/example/NotifyTest.java b/src/main/java/org/rometools/certiorem/example/NotifyTest.java index 0ccd54e..f829e31 100644 --- a/src/main/java/org/rometools/certiorem/example/NotifyTest.java +++ b/src/main/java/org/rometools/certiorem/example/NotifyTest.java @@ -19,12 +19,14 @@ import org.rometools.certiorem.pub.Publisher; import com.google.inject.Singleton; /** - * + * * @author robert.cooper */ @Singleton public class NotifyTest extends HttpServlet { + private static final long serialVersionUID = 1L; + @Override public void doGet(final HttpServletRequest request, final HttpServletResponse response) throws ServletException { final Publisher pub = new Publisher(); @@ -35,4 +37,5 @@ public class NotifyTest extends HttpServlet { throw new ServletException(ex); } } + } diff --git a/src/main/java/org/rometools/certiorem/example/SubServlet.java b/src/main/java/org/rometools/certiorem/example/SubServlet.java index 6114283..97d40f4 100644 --- a/src/main/java/org/rometools/certiorem/example/SubServlet.java +++ b/src/main/java/org/rometools/certiorem/example/SubServlet.java @@ -12,12 +12,14 @@ import com.google.inject.Inject; import com.google.inject.Singleton; /** - * + * * @author robert.cooper */ @Singleton public class SubServlet extends AbstractSubServlet { + private static final long serialVersionUID = 1L; + @Inject public SubServlet(final Subscriptions subscriptions) { super(subscriptions); diff --git a/src/main/java/org/rometools/certiorem/example/SubTest.java b/src/main/java/org/rometools/certiorem/example/SubTest.java index ba4c2c3..6a43249 100644 --- a/src/main/java/org/rometools/certiorem/example/SubTest.java +++ b/src/main/java/org/rometools/certiorem/example/SubTest.java @@ -18,12 +18,14 @@ import com.google.inject.Inject; import com.google.inject.Singleton; /** - * + * * @author robert.cooper */ @Singleton public class SubTest extends HttpServlet { + private static final long serialVersionUID = 1L; + private final Subscriptions subs; @Inject