Revision dc8cc18a src/gr/grnet/pithos/web/client/rest/DeleteRequest.java

b/src/gr/grnet/pithos/web/client/rest/DeleteRequest.java
35 35

  
36 36
package gr.grnet.pithos.web.client.rest;
37 37

  
38
import gr.grnet.pithos.web.client.Pithos;
39 38
import gr.grnet.pithos.web.client.Resource;
40 39

  
41 40
import java.util.HashMap;
......
56 55
	
57 56
	protected static final int MAX_RETRIES = 3; 
58 57

  
59
    private final Pithos app;
60

  
61 58
	protected int retries = 0; 
62 59

  
63 60
	private String api;
......
72 69

  
73 70
    public abstract void onError(Throwable t);
74 71

  
75
    public DeleteRequest(Pithos app, String api, String owner, String path) {
76
        this.app = app;
72
    public DeleteRequest(String api, String owner, String path) {
77 73
        this.api = api;
78 74
        this.owner = owner;
79 75
        this.path = path;
......
94 90

  
95 91
                @Override
96 92
                public Resource deserialize(Response response) {
97
                    return Resource.createFromResponse(app, Resource.class, owner, response, null);
93
                    return Resource.createFromResponse(Resource.class, owner, response, null);
98 94
                }
99 95

  
100 96
                @Override

Also available in: Unified diff