From ffdb3d8b2940342df04c160c96005613ef544ee5 Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 1 Feb 2022 12:54:29 -0500 Subject: [PATCH] Remove Duktape stubs Should use QuickJS instead --- .../java/com/squareup/duktape/Duktape.java | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 library/src/main/java/com/squareup/duktape/Duktape.java diff --git a/library/src/main/java/com/squareup/duktape/Duktape.java b/library/src/main/java/com/squareup/duktape/Duktape.java deleted file mode 100644 index 4c3c84b..0000000 --- a/library/src/main/java/com/squareup/duktape/Duktape.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.squareup.duktape; - -import java.io.Closeable; -import java.io.IOException; - -@SuppressWarnings("all") -public class Duktape implements Closeable { - - public static Duktape create() { - throw new RuntimeException("Stub!"); - } - - @Override - public synchronized void close() throws IOException { - throw new RuntimeException("Stub!"); - } - - public synchronized Object evaluate(String script) { - throw new RuntimeException("Stub!"); - } - - public synchronized void set(String name, Class type, T object) { - throw new RuntimeException("Stub!"); - } - -}