2005-07-20 Helge Hess <helge.hess@opengroupware.org>
+ * FdExt.subproj/NSNull+misc.m: fixed a stupid bug in -isNotEmpty
+ (v4.5.165)
+
* FdExt.subproj/NSNull+misc.m: added -isNotEmpty for NSArray and
NSDictionary (return YES in case they have no elements) (v4.5.164)
@implementation NSArray(NSNullMisc)
- (BOOL)isNotEmpty {
- return [self count] == 0 ? YES : NO;
+ return [self count] == 0 ? NO : YES;
}
@end /* NSArray(NSNullMisc) */
@implementation NSDictionary(NSNullMisc)
- (BOOL)isNotEmpty {
- return [self count] == 0 ? YES : NO;
+ return [self count] == 0 ? NO : YES;
}
@end /* NSDictionary(NSNullMisc) */
# version
-SUBMINOR_VERSION:=164
+SUBMINOR_VERSION:=165
# v4.3.115 requires libFoundation v1.0.59
# v4.2.72 requires libEOControl v4.2.39