Added missing serialVersionUIDs

This commit is contained in:
Patrick Gotthard 2014-04-12 15:07:15 +02:00
parent 5ccf176ac3
commit 536f926dcc
4 changed files with 14 additions and 4 deletions

View file

@ -12,14 +12,17 @@ import com.google.inject.Inject;
import com.google.inject.Singleton; import com.google.inject.Singleton;
/** /**
* *
* @author robert.cooper * @author robert.cooper
*/ */
@Singleton @Singleton
public class HubServlet extends AbstractHubServlet { public class HubServlet extends AbstractHubServlet {
private static final long serialVersionUID = 1L;
@Inject @Inject
public HubServlet(final Hub hub) { public HubServlet(final Hub hub) {
super(hub); super(hub);
} }
} }

View file

@ -19,12 +19,14 @@ import org.rometools.certiorem.pub.Publisher;
import com.google.inject.Singleton; import com.google.inject.Singleton;
/** /**
* *
* @author robert.cooper * @author robert.cooper
*/ */
@Singleton @Singleton
public class NotifyTest extends HttpServlet { public class NotifyTest extends HttpServlet {
private static final long serialVersionUID = 1L;
@Override @Override
public void doGet(final HttpServletRequest request, final HttpServletResponse response) throws ServletException { public void doGet(final HttpServletRequest request, final HttpServletResponse response) throws ServletException {
final Publisher pub = new Publisher(); final Publisher pub = new Publisher();
@ -35,4 +37,5 @@ public class NotifyTest extends HttpServlet {
throw new ServletException(ex); throw new ServletException(ex);
} }
} }
} }

View file

@ -12,12 +12,14 @@ import com.google.inject.Inject;
import com.google.inject.Singleton; import com.google.inject.Singleton;
/** /**
* *
* @author robert.cooper * @author robert.cooper
*/ */
@Singleton @Singleton
public class SubServlet extends AbstractSubServlet { public class SubServlet extends AbstractSubServlet {
private static final long serialVersionUID = 1L;
@Inject @Inject
public SubServlet(final Subscriptions subscriptions) { public SubServlet(final Subscriptions subscriptions) {
super(subscriptions); super(subscriptions);

View file

@ -18,12 +18,14 @@ import com.google.inject.Inject;
import com.google.inject.Singleton; import com.google.inject.Singleton;
/** /**
* *
* @author robert.cooper * @author robert.cooper
*/ */
@Singleton @Singleton
public class SubTest extends HttpServlet { public class SubTest extends HttpServlet {
private static final long serialVersionUID = 1L;
private final Subscriptions subs; private final Subscriptions subs;
@Inject @Inject