Skip to content

Commit 097523f

Browse files
author
ntwigg
committed
Migrate MacDeepLink out of the widgets package.
1 parent f26d30e commit 097523f

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.diffplug.common.swt.widgets;
16+
package com.diffplug.common.swt;
1717

1818
import com.diffplug.common.base.Preconditions;
19-
import com.diffplug.common.swt.SwtMisc;
2019
import java.util.ArrayList;
2120
import java.util.concurrent.atomic.AtomicReference;
2221
import java.util.function.Consumer;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.diffplug.common.swt.widgets;
16+
package com.diffplug.common.swt;
1717

1818
import com.diffplug.common.base.Preconditions;
1919
import java.util.ArrayList;

natives/mac-deep-link/DeepLinkBridge.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ - (void)application:(NSApplication *)app openURLs:(NSArray<NSURL *> *)urls {
216216
#pragma mark - JNI exports
217217

218218
// Java calls this early, before SWT initialization
219-
JNIEXPORT void JNICALL Java_com_diffplug_common_swt_widgets_MacDeepLink_nativeBeforeSwt
219+
JNIEXPORT void JNICALL Java_com_diffplug_common_swt_MacDeepLink_nativeBeforeSwt
220220
(JNIEnv *env, jclass clazz) {
221221

222222
os_log_info(getLog(), "nativeBeforeSwt called from Java");
@@ -240,7 +240,7 @@ - (void)application:(NSApplication *)app openURLs:(NSArray<NSURL *> *)urls {
240240
}
241241

242242
// Java calls this after SWT is initialized to install the delegate proxy
243-
JNIEXPORT void JNICALL Java_com_diffplug_common_swt_widgets_MacDeepLink_nativeAfterSwt
243+
JNIEXPORT void JNICALL Java_com_diffplug_common_swt_MacDeepLink_nativeAfterSwt
244244
(JNIEnv *env, jclass clazz) {
245245

246246
os_log_info(getLog(), "nativeAfterSwt called from Java");

0 commit comments

Comments
 (0)