Revert "Work in progress. Do not rely on this commit"
[pithos-web-client] / src / gr / grnet / pithos / web / client / FilePublishDialog.java
index eca3581..b074f01 100644 (file)
@@ -230,10 +230,10 @@ public class FilePublishDialog extends AbstractPropertiesDialog {
 \r
        protected void updateMetaData(String api, String owner, final String path, final Boolean published) {\r
         if (published != null) {\r
-            PostRequest updateFile = new PostRequest(app, api, owner, path) {\r
+            PostRequest updateFile = new PostRequest(api, owner, path) {\r
                 @Override\r
                 public void onSuccess(Resource result) {\r
-                       HeadRequest<File> headFile = new HeadRequest<File>(app, File.class, app.getApiPath(), file.getOwnerID(), path, file) {\r
+                       HeadRequest<File> headFile = new HeadRequest<File>(File.class, app.getApiPath(), file.getOwnerID(), path, file) {\r
 \r
                                                @Override\r
                                                public void onSuccess(File _result) {\r