@@ -87,7 +87,7 @@ JNIEXPORT void JNICALL JNI_OnUnload(JavaVM *vm, void *reserved) {
87
87
}
88
88
89
89
static void deliverToJava (NSString *s) {
90
- NSLog (@" [DeepLink] deliverToJava called with URL: %@ " , s );
90
+ NSLog (@" [DeepLink] deliverToJava called with URL" );
91
91
// These should never be null since we control registration timing
92
92
if (!gHandlerClass || !gDeliverMID ) {
93
93
abortWithMessage (@" JNI handler not initialized - applicationStartBeforeSwt must be called first" );
@@ -103,7 +103,7 @@ static void deliverToJava(NSString *s) {
103
103
if (utf8) {
104
104
jstring jstr = (*env)->NewStringUTF (env, utf8);
105
105
if (jstr) {
106
- NSLog (@" [DeepLink] Calling Java deliverURL with: %@ " , s );
106
+ NSLog (@" [DeepLink] Calling Java deliverURL" );
107
107
(*env)->CallStaticVoidMethod (env, gHandlerClass , gDeliverMID , jstr);
108
108
if ((*env)->ExceptionCheck (env)) {
109
109
NSLog (@" [DeepLink] Java exception occurred!" );
@@ -137,7 +137,7 @@ + (instancetype)sharedHandler {
137
137
138
138
- (void )handleGetURL : (NSAppleEventDescriptor *)event withReply : (NSAppleEventDescriptor *)reply {
139
139
NSString *urlString = [[event paramDescriptorForKeyword: keyDirectObject] stringValue ];
140
- NSLog (@" [DeepLink] Apple Event received URL: %@ " , urlString );
140
+ NSLog (@" [DeepLink] Apple Event received URL" );
141
141
if (urlString.length ) {
142
142
deliverToJava (urlString);
143
143
}
@@ -200,7 +200,7 @@ - (void)application:(NSApplication *)app openURLs:(NSArray<NSURL *> *)urls {
200
200
for (NSURL *u in urls) {
201
201
if (!u) continue ;
202
202
NSString *s = u.absoluteString ;
203
- NSLog (@" [DeepLink] DPDelegateProxy processing URL: %@ " , s );
203
+ NSLog (@" [DeepLink] DPDelegateProxy processing URL" );
204
204
if (s.length ) deliverToJava (s);
205
205
}
206
206
}
0 commit comments