Skip to content

Commit 32a3e58

Browse files
author
Arun Gupta
committed
Removing redundant code
1 parent 67ba8a1 commit 32a3e58

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

websocket/websocket-vs-rest/src/main/java/org/javaee7/websocket/websocket/vs/rest/ApplicationConfig.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,11 @@
4040

4141
package org.javaee7.websocket.websocket.vs.rest;
4242

43-
import java.util.Set;
4443
import javax.ws.rs.core.Application;
4544

4645
/**
4746
* @author Arun Gupta
4847
*/
4948
@javax.ws.rs.ApplicationPath("webresources")
5049
public class ApplicationConfig extends Application {
51-
52-
@Override
53-
public Set<Class<?>> getClasses() {
54-
return getRestResourceClasses();
55-
}
56-
57-
/**
58-
* Do not modify this method. It is automatically generated by NetBeans REST support.
59-
*/
60-
private Set<Class<?>> getRestResourceClasses() {
61-
Set<Class<?>> resources = new java.util.HashSet<Class<?>>();
62-
resources.add(org.javaee7.websocket.websocket.vs.rest.MyRestEndpoint.class);
63-
return resources;
64-
}
65-
6650
}

0 commit comments

Comments
 (0)