• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

iSightを使ってBooklog,MediaMarkerインポート用CSVファイルを生成するアプリ


Commit MetaInfo

Révision10ce157cbc2997d76f6d82d38a606194e0a5e1fe (tree)
l'heure2011-06-02 22:52:51
Auteurmasakih <masakih@user...>
Commitermasakih

Message de Log

[Fix] メソッド名がおかしかったので修正。

Change Summary

Modification

--- a/BEBooklogBooksExporter.m
+++ b/BEBooklogBooksExporter.m
@@ -71,7 +71,7 @@
7171 normalizeString([registerDateFormatter stringFromDate:book.readDate]),
7272 normalizeString([registerDateFormatter stringFromDate:book.registerDate])];
7373 }
74-- (BOOL)needsNewLineToEndOfFile
74+- (BOOL)needsNewLineAtEndOfFile
7575 {
7676 return YES;
7777 }
--- a/BEBooksExporter.h
+++ b/BEBooksExporter.h
@@ -42,6 +42,6 @@ NSString *tagsString(NSArray *tags);
4242 - (NSString *)lineForBook:(BEBookInformation *)book;
4343 - (NSString *)lineSeparator; // default line sparator is CRLF.
4444 - (NSStringEncoding)fileEncoding; // default fileEncoding is NSShiftJISStringEncoding.
45-- (BOOL)needsNewLineToEndOfFile; // default is NO.
45+- (BOOL)needsNewLineAtEndOfFile; // default is NO.
4646
4747 @end
--- a/BEBooksExporter.m
+++ b/BEBooksExporter.m
@@ -65,7 +65,7 @@
6565
6666 NSString *string = [lines componentsJoinedByString:[self lineSeparator]];
6767 [lines release]; lines = nil;
68- if([self needsNewLineToEndOfFile]) {
68+ if([self needsNewLineAtEndOfFile]) {
6969 string = [string stringByAppendingString:[self lineSeparator]];
7070 }
7171 NSError *error = nil;
@@ -116,6 +116,6 @@ NSString *normalizeString(NSString *string)
116116 - (NSString *)lineForBook:(BEBookInformation *)book { return nil; }
117117 - (NSString *)lineSeparator { return @"\r\n"; }
118118 - (NSStringEncoding)fileEncoding { return NSShiftJISStringEncoding; }
119-- (BOOL)needsNewLineToEndOfFile { return NO; }
119+- (BOOL)needsNewLineAtEndOfFile { return NO; }
120120
121121 @end
--- a/BEMonoColleExporter.m
+++ b/BEMonoColleExporter.m
@@ -63,7 +63,7 @@
6363 doubleQuoteQuotedString(tag[4])
6464 ];
6565 }
66-- (BOOL)needsNewLineToEndOfFile
66+- (BOOL)needsNewLineAtEndOfFile
6767 {
6868 return YES;
6969 }