Skip to content

Commit

Permalink
Updating some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiehanson committed Feb 20, 2012
1 parent 3339bab commit 5ba35ce
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 10 deletions.
4 changes: 0 additions & 4 deletions Extensions/CoreDataStorage/XMPPCoreDataStorage.m
Expand Up @@ -325,7 +325,6 @@ - (XMPPJID *)myJIDForXMPPStream:(XMPPStream *)stream
if (!result)
{
result = [stream myJID];

if (result)
{
[myJidCache setObject:result forKey:key];
Expand Down Expand Up @@ -770,13 +769,10 @@ - (void)dealloc
[[self class] unregisterDatabaseFileName:databaseFileName];
}


if (storageQueue)
{
dispatch_release(storageQueue);
}


}

@end
2 changes: 2 additions & 0 deletions Extensions/Roster/CoreDataStorage/XMPPRosterCoreDataStorage.h
Expand Up @@ -45,6 +45,8 @@
@property (readonly) NSManagedObjectModel *managedObjectModel;
@property (readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (readonly) NSManagedObjectContext *mainThreadManagedObjectContext;
*/

Expand Down
Expand Up @@ -11,7 +11,14 @@

@interface XMPPCapabilitiesCoreDataStorage : XMPPCoreDataStorage <XMPPCapabilitiesStorage>
{
// Inherits protected variables from XMPPCoreDataStorage
/* Inherited protected variables from XMPPCoreDataStorage
NSString *databaseFileName;
NSUInteger saveThreshold;
dispatch_queue_t storageQueue;
*/
}

/**
Expand All @@ -26,10 +33,22 @@
**/
+ (XMPPCapabilitiesCoreDataStorage *)sharedInstance;

//
// This class inherits from XMPPCoreDataStorage.
//
// Please see the XMPPCoreDataStorage header file for more information.
//

/* Inherited from XMPPCoreDataStorage
* Please see the XMPPCoreDataStorage header file for extensive documentation.
- (id)initWithDatabaseFilename:(NSString *)databaseFileName;
- (id)initWithInMemoryStore;
@property (readonly) NSString *databaseFileName;
@property (readwrite) NSUInteger saveThreshold;
@property (readonly) NSManagedObjectModel *managedObjectModel;
@property (readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (readonly) NSManagedObjectContext *mainThreadManagedObjectContext;
*/

@end

0 comments on commit 5ba35ce

Please sign in to comment.