Permalink
Browse files

made a few methods in CWQueue easier to follow in debugging

  • Loading branch information...
Machx committed Jun 4, 2012
1 parent 2b4c9a5 commit 5de2cc24d3848c56ff1474b19462b99b9c83da7f
Showing with 6 additions and 3 deletions.
  1. +6 −3 Source/CWQueue.m
View
@@ -170,17 +170,20 @@ -(void)dequeueToObject:(id)targetObject
*/
-(NSString *)description
{
- return [self.queue description];
+ NSString *queueDescription = [self.queue description];
+ return queueDescription;
}
-(NSUInteger)count
{
- return [self.queue count];
+ NSUInteger queueCount = [self.queue count];
+ return queueCount;
}
-(BOOL)isEmpty
{
- return ([self count] == 0);
+ BOOL queueEmpty = ([self count] == 0);
+ return queueEmpty;
}
//MARK: Comparison

0 comments on commit 5de2cc2

Please sign in to comment.