mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-21 02:20:55 +00:00
* EOAccess/EOEntity.m: Remove unnecessary include.
(-setClassProperties:, -setPrimaryKeyAttributes:) (-setAttributesUsedForLocking:): Remove unnecessary casts. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20737 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
11fac539ea
commit
cd0f130fc7
2 changed files with 12 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-02-17 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* EOAccess/EOEntity.m: Remove unnecessary include.
|
||||
(-setClassProperties:, -setPrimaryKeyAttributes:)
|
||||
(-setAttributesUsedForLocking:): Remove unnecessary casts.
|
||||
|
||||
2005-02-16 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* EOControl/EOClassDescription.m ([NSObject-snapshot]):
|
||||
|
|
|
@ -47,7 +47,6 @@ RCS_ID("$Id$")
|
|||
#include <Foundation/NSSet.h>
|
||||
#include <Foundation/NSEnumerator.h>
|
||||
#include <Foundation/NSValue.h>
|
||||
#include <Foundation/NSNull.h>
|
||||
#include <Foundation/NSProcessInfo.h>
|
||||
#include <Foundation/NSFileManager.h>
|
||||
#include <Foundation/NSFormatter.h>
|
||||
|
@ -2142,9 +2141,9 @@ createInstanceWithEditingContext:globalID:zone:
|
|||
DESTROY(_classProperties);
|
||||
if ([properties isKindOfClass:[GCArray class]]
|
||||
|| [properties isKindOfClass: [GCMutableArray class]])
|
||||
_classProperties = [((NSArray*)[GCMutableArray alloc]) initWithArray: properties];
|
||||
_classProperties = [[GCMutableArray alloc] initWithArray: properties];
|
||||
else
|
||||
_classProperties = [((NSArray*)[GCMutableArray alloc]) initWithArray: properties]; //TODO
|
||||
_classProperties = [[GCMutableArray alloc] initWithArray: properties]; //TODO
|
||||
|
||||
[self _setIsEdited]; //To clean cache
|
||||
|
||||
|
@ -2163,9 +2162,9 @@ createInstanceWithEditingContext:globalID:zone:
|
|||
|
||||
if ([keys isKindOfClass:[GCArray class]]
|
||||
|| [keys isKindOfClass: [GCMutableArray class]])
|
||||
_primaryKeyAttributes = [((NSArray*)[GCMutableArray alloc]) initWithArray: keys];
|
||||
_primaryKeyAttributes = [[GCMutableArray alloc] initWithArray: keys];
|
||||
else
|
||||
_primaryKeyAttributes = [((NSArray*)[GCMutableArray alloc]) initWithArray: keys]; // TODO
|
||||
_primaryKeyAttributes = [[GCMutableArray alloc] initWithArray: keys]; // TODO
|
||||
|
||||
[self _setIsEdited];//To clean cache
|
||||
|
||||
|
@ -2184,10 +2183,10 @@ createInstanceWithEditingContext:globalID:zone:
|
|||
|
||||
if ([attributes isKindOfClass: [GCArray class]] // TODO
|
||||
|| [attributes isKindOfClass: [GCMutableArray class]])
|
||||
_attributesUsedForLocking = [((NSArray*)[GCMutableArray alloc])
|
||||
_attributesUsedForLocking = [[GCMutableArray alloc]
|
||||
initWithArray: attributes];
|
||||
else
|
||||
_attributesUsedForLocking = [((NSArray*)[GCMutableArray alloc])
|
||||
_attributesUsedForLocking = [[GCMutableArray alloc]
|
||||
initWithArray: attributes];
|
||||
|
||||
[self _setIsEdited]; //To clean cache
|
||||
|
|
Loading…
Reference in a new issue