diff --git a/proteus-core/src/main/java/io/sinistral/proteus/server/ServerResponse.java b/proteus-core/src/main/java/io/sinistral/proteus/server/ServerResponse.java index dd21481..5076290 100644 --- a/proteus-core/src/main/java/io/sinistral/proteus/server/ServerResponse.java +++ b/proteus-core/src/main/java/io/sinistral/proteus/server/ServerResponse.java @@ -709,10 +709,6 @@ public static ServerResponse response(String body) public static ServerResponse response(T entity) { - if(entity == null) - { - return new ServerResponse().notFound(); - } return new ServerResponse().entity(entity); }