Revision: 4054
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4054&view=rev
Author:   hofman
Date:     2008-06-22 13:34:00 -0700 (Sun, 22 Jun 2008)

Log Message:
-----------
Rename argument for consistency

Modified Paths:
--------------
    trunk/SkimNotes/SKNExtendedAttributeManager.h
    trunk/SkimNotes/SKNExtendedAttributeManager.m

Modified: trunk/SkimNotes/SKNExtendedAttributeManager.h
===================================================================
--- trunk/SkimNotes/SKNExtendedAttributeManager.h       2008-06-22 20:26:29 UTC 
(rev 4053)
+++ trunk/SkimNotes/SKNExtendedAttributeManager.h       2008-06-22 20:34:00 UTC 
(rev 4054)
@@ -120,10 +120,10 @@
     @param      attr (description)
     @param      path (description)
     @param      traverse (description)
-    @param      outError (description)
+    @param      error (description)
     @result     (description)
 */
-- (id)propertyListFromExtendedAttributeNamed:(NSString *)attr atPath:(NSString 
*)path traverseLink:(BOOL)traverse error:(NSError **)outError;
+- (id)propertyListFromExtendedAttributeNamed:(NSString *)attr atPath:(NSString 
*)path traverseLink:(BOOL)traverse error:(NSError **)error;
 
 /*!
     @method     setExtendedAttributeNamed:toValue:atPath:options:error:

Modified: trunk/SkimNotes/SKNExtendedAttributeManager.m
===================================================================
--- trunk/SkimNotes/SKNExtendedAttributeManager.m       2008-06-22 20:26:29 UTC 
(rev 4053)
+++ trunk/SkimNotes/SKNExtendedAttributeManager.m       2008-06-22 20:34:00 UTC 
(rev 4054)
@@ -266,13 +266,13 @@
     return [attribute autorelease];
 }
 
-- (id)propertyListFromExtendedAttributeNamed:(NSString *)attr atPath:(NSString 
*)path traverseLink:(BOOL)traverse error:(NSError **)outError;
+- (id)propertyListFromExtendedAttributeNamed:(NSString *)attr atPath:(NSString 
*)path traverseLink:(BOOL)traverse error:(NSError **)error;
 {
-    NSError *error;
-    NSData *data = [self extendedAttributeNamed:attr atPath:path 
traverseLink:traverse error:&error];
+    NSError *anError;
+    NSData *data = [self extendedAttributeNamed:attr atPath:path 
traverseLink:traverse error:&anError];
     id plist = nil;
     if (nil == data) {
-        if (outError) *outError = [NSError errorWithDomain:SKNErrorDomain 
code:0 userInfo:[NSDictionary dictionaryWithObjectsAndKeys:path, 
NSFilePathErrorKey, error, NSUnderlyingErrorKey, nil]];
+        if (error) *error = [NSError errorWithDomain:SKNErrorDomain code:0 
userInfo:[NSDictionary dictionaryWithObjectsAndKeys:path, NSFilePathErrorKey, 
anError, NSUnderlyingErrorKey, nil]];
     } else {
         // decompress the data if necessary, we may have compressed when 
setting
         static NSData *bzipHeaderData = nil;
@@ -290,7 +290,7 @@
                                                            format:NULL 
                                                  
errorDescription:&errorString];
         if (nil == plist) {
-            if (outError) *outError = [NSError errorWithDomain:SKNErrorDomain 
code:0 userInfo:[NSDictionary dictionaryWithObjectsAndKeys:path, 
NSFilePathErrorKey, errorString, NSLocalizedDescriptionKey, nil]];
+            if (error) *error = [NSError errorWithDomain:SKNErrorDomain code:0 
userInfo:[NSDictionary dictionaryWithObjectsAndKeys:path, NSFilePathErrorKey, 
errorString, NSLocalizedDescriptionKey, nil]];
             [errorString release];
         }
     }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to