Revision ebead1b5 src/gr/grnet/pithos/web/client/rest/GetRequest.java

b/src/gr/grnet/pithos/web/client/rest/GetRequest.java
46 46
import com.google.gwt.http.client.RequestBuilder;
47 47
import com.google.gwt.http.client.RequestException;
48 48
import com.google.gwt.http.client.Response;
49
import com.google.gwt.http.client.URL;
50
import com.google.gwt.i18n.client.DateTimeFormat;
51
import com.google.gwt.i18n.client.DateTimeFormat.PredefinedFormat;
52 49

  
53 50
public abstract class GetRequest<T extends Resource> implements ScheduledCommand {
54 51

  
......
110 107
                }
111 108

  
112 109
                @Override
113
                public void onError(@SuppressWarnings("unused") Request request, Throwable throwable) {
110
                public void onError(Request request, Throwable throwable) {
114 111
                    if (throwable instanceof RestException) {
115 112
                        if (((RestException) throwable).getHttpStatusCode() == 304 && result != null){
116 113
                            GWT.log("Using cache: " + result.toString(), null);

Also available in: Unified diff