Skip to content

Commit c0b3a4f

Browse files
author
ntwigg
committed
deliverURL -> __internal_deliverUrl
1 parent 097523f commit c0b3a4f

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

durian-swt.cocoa.macosx.aarch64/src/main/java/com/diffplug/common/swt/MacDeepLink.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static void swtHasInitializedBeginReceiving(Consumer<String> handler) {
7272
*
7373
* @param url The URL string received from the operating system
7474
*/
75-
public static void deliverURL(String url) {
75+
public static void __internal_deliverUrl(String url) {
7676
var was = state.get();
7777
if (was instanceof Consumer) {
7878
((Consumer<String>) was).accept(url);

natives/mac-deep-link/DeepLinkBridge.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ - (void)application:(NSApplication *)app openURLs:(NSArray<NSURL *> *)urls {
227227
os_log_debug(getLog(), "Cached Java class reference");
228228
}
229229
if (!gDeliverMID) {
230-
gDeliverMID = (*env)->GetStaticMethodID(env, gHandlerClass, "deliverURL", "(Ljava/lang/String;)V");
230+
gDeliverMID = (*env)->GetStaticMethodID(env, gHandlerClass, "__internal_deliverUrl", "(Ljava/lang/String;)V");
231231
if (!gDeliverMID) {
232232
os_log_error(getLog(), "Could not find deliverURL method");
233233
return;

0 commit comments

Comments
 (0)