Browse Source

代码格式

gaosboy 12 years ago
parent
commit
fc7c3ebdfa
5 changed files with 14 additions and 20 deletions
  1. 3 4
      Kache/KHolder.m
  2. 1 1
      Kache/KObject.m
  3. 2 4
      Kache/KPool.m
  4. 3 4
      Kache/KQueue.m
  5. 5 7
      Kache/Kache.m

+ 3 - 4
Kache/KHolder.m

@@ -6,13 +6,12 @@
 //  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
 //
 
+#import "KConfig.h"
 #import "KHolder.h"
-
-#import "KQueue.h"
+#import "KObject.h"
 #import "KPool.h"
+#import "KQueue.h"
 #import "KUtil.h"
-#import "KObject.h"
-#import "KConfig.h"
 
 @interface KHolder ()
 

+ 1 - 1
Kache/KObject.m

@@ -9,9 +9,9 @@
 #define KCH_OBJ_DATA        @"data"
 #define KCH_OBJ_LIFE        @"life"
 
+#import "KConfig.h"
 #import "KObject.h"
 #import "KUtil.h"
-#import "KConfig.h"
 
 @interface KObject ()
 

+ 2 - 4
Kache/KPool.m

@@ -6,13 +6,11 @@
 //  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
 //
 
-#import "KPool.h"
-
+#import "KConfig.h"
 #import "KHolder.h"
 #import "KObject.h"
-
+#import "KPool.h"
 #import "KUtil.h"
-#import "KConfig.h"
 
 @interface KPool ()
 

+ 3 - 4
Kache/KQueue.m

@@ -6,12 +6,11 @@
 //  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
 //
 
-#import "KQueue.h"
-
-#import "KHolder.h"
-#import "KUtil.h"
 #import "KConfig.h"
+#import "KHolder.h"
 #import "KObject.h"
+#import "KQueue.h"
+#import "KUtil.h"
 
 @interface KQueue ()
 

+ 5 - 7
Kache/Kache.m

@@ -6,16 +6,14 @@
 //  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
 //
 
-#define KACHE_DEFAULT_QUEUE_NAME            @"kache_default_queue_name_QWEDFVHUIOPPLMUYTRDX:"
 #define KACHE_DEFAULT_POOL_NAME             @"kache_default_pool_name_LKJHGFDWQSFASRTYUIOP:"
-
-#import "Kache.h"
-
-#import "KQueue.h"
-#import "KPool.h"
-#import "KHolder.h"
+#define KACHE_DEFAULT_QUEUE_NAME            @"kache_default_queue_name_QWEDFVHUIOPPLMUYTRDX:"
 
 #import "KConfig.h"
+#import "KHolder.h"
+#import "KPool.h"
+#import "KQueue.h"
+#import "Kache.h"
 
 @interface Kache ()