Skip to content
Snippets Groups Projects
Commit 7c9e0066 authored by Eike Cochu's avatar Eike Cochu
Browse files

removed etag generation, unused anyway

parent 03ab729d
No related branches found
No related tags found
No related merge requests found
......@@ -83,10 +83,6 @@ public class Wrapper<T> {
meta.put(key, value);
}
public String tag() {
return data != null ? Integer.toString(data.hashCode()) : null;
}
public void addPaginationLinks(URI base, Integer skip, Integer limit, long count) {
if (skip == null || limit == null || limit == 0)
return;
......@@ -131,7 +127,7 @@ public class Wrapper<T> {
}
public Response ok() {
return Response.ok().entity(this).tag(tag()).build();
return Response.ok().entity(this).build();
}
public Response ok(T data) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment