Skip to content

Commit

Permalink
Update ServerServlet.java
Browse files Browse the repository at this point in the history
Fixed merge issues
  • Loading branch information
jlouvel committed Oct 30, 2024
1 parent 2d621e7 commit 20be0a8
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@
import org.restlet.Client;
import org.restlet.Component;
import org.restlet.Context;
import org.restlet.Request;
import org.restlet.Response;
import org.restlet.Server;
import org.restlet.data.Method;
import org.restlet.data.Protocol;
import org.restlet.engine.Engine;
import org.restlet.engine.adapter.HttpServerHelper;
Expand Down Expand Up @@ -404,7 +401,6 @@ protected Component createComponent() {

if (targetClass != null) {
try {
.getConstructor();
@SuppressWarnings("unchecked")
Constructor<? extends Component> ctor = ((Class<? extends Component>) targetClass)
.getConstructor();
Expand Down

0 comments on commit 20be0a8

Please sign in to comment.