incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [3/6] ios commit: Remove deprecated methods in CDVFile.
Date Sat, 06 Oct 2012 02:19:49 GMT
Remove deprecated methods in CDVFile.

They've been deprecated for 7 months now.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/9f254606
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/9f254606
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/9f254606

Branch: refs/heads/master
Commit: 9f254606c2d9b06f3c691a2de7ecaa60998a4ec0
Parents: 3247261
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Fri Oct 5 16:05:48 2012 -0400
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Fri Oct 5 16:05:48 2012 -0400

----------------------------------------------------------------------
 CordovaLib/Classes/CDVFile.h |    9 ---------
 CordovaLib/Classes/CDVFile.m |   14 --------------
 2 files changed, 0 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/9f254606/CordovaLib/Classes/CDVFile.h
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVFile.h b/CordovaLib/Classes/CDVFile.h
index 478ebf3..204c9f0 100644
--- a/CordovaLib/Classes/CDVFile.h
+++ b/CordovaLib/Classes/CDVFile.h
@@ -72,11 +72,6 @@ typedef int CDVFileSystemType;
 - (void)getFileMetadata:(CDVInvokedUrlCommand*)command;
 - (void)readEntries:(CDVInvokedUrlCommand*)command;
 
-// DEPRECATED
-- (void)readFile:(CDVInvokedUrlCommand*)command __attribute__((deprecated));
-
-// DEPRECATED
-
 - (void)readAsText:(CDVInvokedUrlCommand*)command;
 - (void)readAsDataURL:(CDVInvokedUrlCommand*)command;
 - (NSString*)getMimeTypeFromPath:(NSString*)fullPath;
@@ -87,10 +82,6 @@ typedef int CDVFileSystemType;
 // - (void) deleteDirectory:(CDVInvokedUrlCommand*)command;
 // - (void) deleteFile:(CDVInvokedUrlCommand*)command;
 - (void)getFreeDiskSpace:(CDVInvokedUrlCommand*)command;
-// DEPRECATED
-- (void)truncateFile:(CDVInvokedUrlCommand*)command __attribute__((deprecated));
-
-// DEPRECATED
 - (void)truncate:(CDVInvokedUrlCommand*)command;
 
 // - (BOOL) fileExists:(NSString*)fileName;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/9f254606/CordovaLib/Classes/CDVFile.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVFile.m b/CordovaLib/Classes/CDVFile.m
index fdea0d1..1e5d009 100644
--- a/CordovaLib/Classes/CDVFile.m
+++ b/CordovaLib/Classes/CDVFile.m
@@ -903,13 +903,6 @@ extern NSString * const NSURLIsExcludedFromBackupKey __attribute__((weak_import)
     [self.commandDelegate sendPluginResult:result callbackId:command.callbackId];
 }
 
-// DEPRECATED
-- (void)readFile:(CDVInvokedUrlCommand*)command
-{
-    NSLog(@"readFile is DEPRECATED!  Use readAsText");
-    [self readAsText:command];
-}
-
 /* read and return file data
  * IN:
  * NSArray* arguments
@@ -1015,13 +1008,6 @@ extern NSString * const NSURLIsExcludedFromBackupKey __attribute__((weak_import)
     return mimeType;
 }
 
-// DEPRECATED
-- (void)truncateFile:(CDVInvokedUrlCommand*)command
-{
-    NSLog(@"truncateFile is DEPRECATED!  Use truncate");
-    [self truncate:command];
-}
-
 - (void)truncate:(CDVInvokedUrlCommand*)command
 {
     // arguments


Mime
View raw message