Updated copyright in source files
[pub/Android/ownCloud.git] / src / eu / alefzero / webdav / WebdavClient.java
index 6f98f50..5332536 100644 (file)
@@ -1,5 +1,6 @@
 /* ownCloud Android client application\r
  *   Copyright (C) 2011  Bartek Przybylski\r
+ *   Copyright (C) 2012-2013 ownCloud Inc.\r
  *\r
  *   This program is free software: you can redistribute it and/or modify\r
  *   it under the terms of the GNU General Public License as published by\r
@@ -337,19 +338,4 @@ public class WebdavClient extends HttpClient {
         return mUri;\r
     }\r
 \r
-    public String getResultAsString(String targetUrl) {\r
-        String getResult = null;\r
-        try {\r
-            GetMethod get = new GetMethod(targetUrl);\r
-            int status = executeMethod(get);\r
-            if (status == HttpStatus.SC_OK) {\r
-                getResult = get.getResponseBodyAsString();\r
-            }\r
-        } catch (Exception e) {\r
-            Log.e(TAG, "Error while getting requested file: " + targetUrl, e);\r
-            getResult = null;\r
-        }\r
-        return getResult;\r
-    }\r
-    \r
 }\r