• 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

BathyScapheのリンクをクリックした時に開くアプリケーションを設定するためのツール


Commit MetaInfo

Révision7ec866a55eeaeade677ae57cfb3fdad1784d335a (tree)
l'heure2012-07-16 21:39:12
Auteurmasakih <masakih@user...>
Commitermasakih

Message de Log

[Mod] copyWithZone:は多分もう古い

Change Summary

Modification

--- a/BSLinkConductorItem.m
+++ b/BSLinkConductorItem.m
@@ -53,7 +53,7 @@ static NSString *const BSLCItemUserCopyKey = @"BSLCItemUserCopyKey";
5353 if([targetApplicationName isEqualToString:inAppName]) return;
5454
5555 [targetApplicationName autorelease];
56- targetApplicationName = [inAppName copyWithZone:[self zone]];
56+ targetApplicationName = [inAppName copy];
5757
5858 NSWorkspace *ws = [NSWorkspace sharedWorkspace];
5959 NSString *fullPath = [ws fullPathForApplication:targetApplicationName];
@@ -67,7 +67,7 @@ static NSString *const BSLCItemUserCopyKey = @"BSLCItemUserCopyKey";
6767 return;
6868 }
6969
70- targetIdentifier = [[bundle bundleIdentifier] copyWithZone:[self zone]];
70+ targetIdentifier = [[bundle bundleIdentifier] copy];
7171 }
7272
7373 - (id)copyWithZone:(NSZone *)zone