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

@ -18,8 +18,11 @@ import com.google.inject.Singleton;
@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

@ -25,6 +25,8 @@ import com.google.inject.Singleton;
@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

@ -18,6 +18,8 @@ import com.google.inject.Singleton;
@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

@ -24,6 +24,8 @@ import com.google.inject.Singleton;
@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