From 65fcd5c1fc4ec32576d2de3050c730a1acfb44fb Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Sat, 20 Jul 2019 10:04:52 +0800 Subject: [PATCH] rename package --- Android/app/src/main/AndroidManifest.xml | 6 +++--- .../doricdemo/MainActivity.java | 6 +++--- .../doricdemo/MyApplication.java | 4 ++-- .../app/src/main/res/layout/activity_main.xml | 2 +- .../doric/test/ExampleInstrumentedTest.java | 2 +- Android/doric/src/main/AndroidManifest.xml | 2 +- .../doric/Doric.java | 2 +- .../doric/DoricContext.java | 8 ++++---- .../doric/DoricContextManager.java | 6 ++---- .../doric/DoricDriver.java | 12 ++++++------ .../doric/DoricPanel.java | 2 +- .../doric/IDoricDriver.java | 4 ++-- .../doric/async/AsyncCall.java | 2 +- .../doric/async/AsyncResult.java | 2 +- .../doric/async/SettableFuture.java | 2 +- .../doric/engine/DoricJSEngine.java | 14 +++++++------- .../doric/engine/DoricJSExecutor.java | 2 +- .../doric/engine/IDoricJSE.java | 2 +- .../extension/bridge/DoricBridgeExtension.java | 17 +++++++---------- .../doric/extension/bridge/DoricComponent.java | 2 +- .../doric/extension/bridge/DoricMethod.java | 2 +- .../doric/extension/bridge/DoricPluginInfo.java | 8 ++++---- .../doric/extension/bridge/DoricPromise.java | 6 +++--- .../extension/timer/DoricTimerExtension.java | 2 +- .../doric/plugin/DoricNativePlugin.java | 4 ++-- .../doric/plugin/ModalPlugin.java | 10 +++++----- .../doric/utils/DoricConstant.java | 2 +- .../doric/utils/DoricLog.java | 4 ++-- .../doric/utils/DoricUtils.java | 8 ++------ .../doric/test/ExampleUnitTest.java | 2 +- 30 files changed, 69 insertions(+), 78 deletions(-) rename Android/app/src/main/java/com/github/{pengfeizhou => penfeizhou}/doricdemo/MainActivity.java (75%) rename Android/app/src/main/java/com/github/{pengfeizhou => penfeizhou}/doricdemo/MyApplication.java (76%) rename Android/doric/src/androidTest/java/com/github/{pengfeizhou => penfeizhou}/doric/test/ExampleInstrumentedTest.java (94%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/Doric.java (94%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/DoricContext.java (89%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/DoricContextManager.java (90%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/DoricDriver.java (91%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/DoricPanel.java (97%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/IDoricDriver.java (88%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/async/AsyncCall.java (95%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/async/AsyncResult.java (97%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/async/SettableFuture.java (97%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/engine/DoricJSEngine.java (94%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/engine/DoricJSExecutor.java (97%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/engine/IDoricJSE.java (98%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/extension/bridge/DoricBridgeExtension.java (85%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/extension/bridge/DoricComponent.java (88%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/extension/bridge/DoricMethod.java (90%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/extension/bridge/DoricPluginInfo.java (89%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/extension/bridge/DoricPromise.java (85%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/extension/timer/DoricTimerExtension.java (97%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/plugin/DoricNativePlugin.java (79%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/plugin/ModalPlugin.java (71%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/utils/DoricConstant.java (97%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/utils/DoricLog.java (93%) rename Android/doric/src/main/java/com/github/{pengfeizhou => penfeizhou}/doric/utils/DoricUtils.java (94%) rename Android/doric/src/test/java/com/github/{pengfeizhou => penfeizhou}/doric/test/ExampleUnitTest.java (88%) diff --git a/Android/app/src/main/AndroidManifest.xml b/Android/app/src/main/AndroidManifest.xml index 9291365d..b0b496b6 100644 --- a/Android/app/src/main/AndroidManifest.xml +++ b/Android/app/src/main/AndroidManifest.xml @@ -1,16 +1,16 @@ + package="com.github.penfeizhou.doricdemo"> - + diff --git a/Android/app/src/main/java/com/github/pengfeizhou/doricdemo/MainActivity.java b/Android/app/src/main/java/com/github/penfeizhou/doricdemo/MainActivity.java similarity index 75% rename from Android/app/src/main/java/com/github/pengfeizhou/doricdemo/MainActivity.java rename to Android/app/src/main/java/com/github/penfeizhou/doricdemo/MainActivity.java index 327a7743..ce001567 100644 --- a/Android/app/src/main/java/com/github/pengfeizhou/doricdemo/MainActivity.java +++ b/Android/app/src/main/java/com/github/penfeizhou/doricdemo/MainActivity.java @@ -1,10 +1,10 @@ -package com.github.pengfeizhou.doricdemo; +package com.github.penfeizhou.doricdemo; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; -import com.github.pengfeizhou.doric.DoricContext; -import com.github.pengfeizhou.doric.utils.DoricUtils; +import com.github.penfeizhou.doric.DoricContext; +import com.github.penfeizhou.doric.utils.DoricUtils; public class MainActivity extends AppCompatActivity { diff --git a/Android/app/src/main/java/com/github/pengfeizhou/doricdemo/MyApplication.java b/Android/app/src/main/java/com/github/penfeizhou/doricdemo/MyApplication.java similarity index 76% rename from Android/app/src/main/java/com/github/pengfeizhou/doricdemo/MyApplication.java rename to Android/app/src/main/java/com/github/penfeizhou/doricdemo/MyApplication.java index ecb50d34..e0f80bbf 100644 --- a/Android/app/src/main/java/com/github/pengfeizhou/doricdemo/MyApplication.java +++ b/Android/app/src/main/java/com/github/penfeizhou/doricdemo/MyApplication.java @@ -1,8 +1,8 @@ -package com.github.pengfeizhou.doricdemo; +package com.github.penfeizhou.doricdemo; import android.app.Application; -import com.github.pengfeizhou.doric.Doric; +import com.github.penfeizhou.doric.Doric; /** * @Description: Doric diff --git a/Android/app/src/main/res/layout/activity_main.xml b/Android/app/src/main/res/layout/activity_main.xml index 84f19512..c4d9f0f3 100644 --- a/Android/app/src/main/res/layout/activity_main.xml +++ b/Android/app/src/main/res/layout/activity_main.xml @@ -4,7 +4,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - tools:context=".MainActivity"> + tools:context="com.github.penfeizhou.doricdemo.MainActivity"> + package="com.github.penfeizhou.doric" /> diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/Doric.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/Doric.java similarity index 94% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/Doric.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/Doric.java index 836d5fc7..66154fe6 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/Doric.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/Doric.java @@ -1,4 +1,4 @@ -package com.github.pengfeizhou.doric; +package com.github.penfeizhou.doric; import android.app.Application; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/DoricContext.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/DoricContext.java similarity index 89% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/DoricContext.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/DoricContext.java index 4e6468d3..c34882ec 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/DoricContext.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/DoricContext.java @@ -1,10 +1,10 @@ -package com.github.pengfeizhou.doric; +package com.github.penfeizhou.doric; import android.content.Context; -import com.github.pengfeizhou.doric.async.AsyncResult; -import com.github.pengfeizhou.doric.plugin.DoricNativePlugin; -import com.github.pengfeizhou.doric.extension.bridge.DoricPluginInfo; +import com.github.penfeizhou.doric.async.AsyncResult; +import com.github.penfeizhou.doric.plugin.DoricNativePlugin; +import com.github.penfeizhou.doric.extension.bridge.DoricPluginInfo; import com.github.pengfeizhou.jscore.JSDecoder; import java.util.HashMap; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/DoricContextManager.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/DoricContextManager.java similarity index 90% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/DoricContextManager.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/DoricContextManager.java index c23d9f26..1249c3f6 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/DoricContextManager.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/DoricContextManager.java @@ -1,10 +1,8 @@ -package com.github.pengfeizhou.doric; +package com.github.penfeizhou.doric; import android.content.Context; -import com.github.pengfeizhou.doric.async.AsyncCall; -import com.github.pengfeizhou.doric.async.AsyncResult; -import com.github.pengfeizhou.doric.utils.DoricLog; +import com.github.penfeizhou.doric.async.AsyncResult; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/DoricDriver.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/DoricDriver.java similarity index 91% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/DoricDriver.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/DoricDriver.java index 38b43823..71d58d06 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/DoricDriver.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/DoricDriver.java @@ -1,13 +1,13 @@ -package com.github.pengfeizhou.doric; +package com.github.penfeizhou.doric; import android.os.Handler; import android.os.Looper; -import com.github.pengfeizhou.doric.async.AsyncCall; -import com.github.pengfeizhou.doric.async.AsyncResult; -import com.github.pengfeizhou.doric.engine.DoricJSEngine; -import com.github.pengfeizhou.doric.utils.DoricConstant; -import com.github.pengfeizhou.doric.utils.DoricLog; +import com.github.penfeizhou.doric.async.AsyncCall; +import com.github.penfeizhou.doric.async.AsyncResult; +import com.github.penfeizhou.doric.engine.DoricJSEngine; +import com.github.penfeizhou.doric.utils.DoricConstant; +import com.github.penfeizhou.doric.utils.DoricLog; import com.github.pengfeizhou.jscore.JSDecoder; import java.util.concurrent.Callable; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/DoricPanel.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/DoricPanel.java similarity index 97% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/DoricPanel.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/DoricPanel.java index 5faaa61a..3848d431 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/DoricPanel.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/DoricPanel.java @@ -1,4 +1,4 @@ -package com.github.pengfeizhou.doric; +package com.github.penfeizhou.doric; import android.content.Context; import android.os.Build; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/IDoricDriver.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/IDoricDriver.java similarity index 88% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/IDoricDriver.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/IDoricDriver.java index 2d89ced2..f999ccff 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/IDoricDriver.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/IDoricDriver.java @@ -1,7 +1,7 @@ -package com.github.pengfeizhou.doric; +package com.github.penfeizhou.doric; -import com.github.pengfeizhou.doric.async.AsyncResult; +import com.github.penfeizhou.doric.async.AsyncResult; import com.github.pengfeizhou.jscore.JSDecoder; /** diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/async/AsyncCall.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/async/AsyncCall.java similarity index 95% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/async/AsyncCall.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/async/AsyncCall.java index e80bfc25..1f51adb3 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/async/AsyncCall.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/async/AsyncCall.java @@ -1,4 +1,4 @@ -package com.github.pengfeizhou.doric.async; +package com.github.penfeizhou.doric.async; import android.os.Handler; import android.os.Looper; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/async/AsyncResult.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/async/AsyncResult.java similarity index 97% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/async/AsyncResult.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/async/AsyncResult.java index 5ee471ec..632c4d26 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/async/AsyncResult.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/async/AsyncResult.java @@ -1,4 +1,4 @@ -package com.github.pengfeizhou.doric.async; +package com.github.penfeizhou.doric.async; /** * @Description: com.github.pengfeizhou.doric.async diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/async/SettableFuture.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/async/SettableFuture.java similarity index 97% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/async/SettableFuture.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/async/SettableFuture.java index c9561e2c..589e40f4 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/async/SettableFuture.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/async/SettableFuture.java @@ -1,4 +1,4 @@ -package com.github.pengfeizhou.doric.async; +package com.github.penfeizhou.doric.async; /** * @Description: com.github.pengfeizhou.doric.async diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/engine/DoricJSEngine.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/engine/DoricJSEngine.java similarity index 94% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/engine/DoricJSEngine.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/engine/DoricJSEngine.java index 71a904eb..fd966a4f 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/engine/DoricJSEngine.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/engine/DoricJSEngine.java @@ -1,4 +1,4 @@ -package com.github.pengfeizhou.doric.engine; +package com.github.penfeizhou.doric.engine; import android.os.Handler; import android.os.HandlerThread; @@ -6,12 +6,12 @@ import android.os.Looper; import android.os.Message; import android.text.TextUtils; -import com.github.pengfeizhou.doric.Doric; -import com.github.pengfeizhou.doric.extension.bridge.DoricBridgeExtension; -import com.github.pengfeizhou.doric.utils.DoricConstant; -import com.github.pengfeizhou.doric.utils.DoricLog; -import com.github.pengfeizhou.doric.extension.timer.DoricTimerExtension; -import com.github.pengfeizhou.doric.utils.DoricUtils; +import com.github.penfeizhou.doric.Doric; +import com.github.penfeizhou.doric.extension.bridge.DoricBridgeExtension; +import com.github.penfeizhou.doric.extension.timer.DoricTimerExtension; +import com.github.penfeizhou.doric.utils.DoricConstant; +import com.github.penfeizhou.doric.utils.DoricLog; +import com.github.penfeizhou.doric.utils.DoricUtils; import com.github.pengfeizhou.jscore.JSDecoder; import com.github.pengfeizhou.jscore.JavaFunction; import com.github.pengfeizhou.jscore.JavaValue; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/engine/DoricJSExecutor.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/engine/DoricJSExecutor.java similarity index 97% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/engine/DoricJSExecutor.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/engine/DoricJSExecutor.java index d44a1cc6..10fb23a7 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/engine/DoricJSExecutor.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/engine/DoricJSExecutor.java @@ -1,4 +1,4 @@ -package com.github.pengfeizhou.doric.engine; +package com.github.penfeizhou.doric.engine; import com.github.pengfeizhou.jscore.JSDecoder; import com.github.pengfeizhou.jscore.JSExecutor; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/engine/IDoricJSE.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/engine/IDoricJSE.java similarity index 98% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/engine/IDoricJSE.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/engine/IDoricJSE.java index 5ea58c18..8455ba88 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/engine/IDoricJSE.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/engine/IDoricJSE.java @@ -1,4 +1,4 @@ -package com.github.pengfeizhou.doric.engine; +package com.github.penfeizhou.doric.engine; import com.github.pengfeizhou.jscore.JSDecoder; import com.github.pengfeizhou.jscore.JSRuntimeException; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricBridgeExtension.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricBridgeExtension.java similarity index 85% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricBridgeExtension.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricBridgeExtension.java index 5b782ff9..03b50e93 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricBridgeExtension.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricBridgeExtension.java @@ -1,19 +1,16 @@ -package com.github.pengfeizhou.doric.extension.bridge; +package com.github.penfeizhou.doric.extension.bridge; import android.text.TextUtils; -import com.github.pengfeizhou.doric.Doric; -import com.github.pengfeizhou.doric.DoricContext; -import com.github.pengfeizhou.doric.DoricContextManager; -import com.github.pengfeizhou.doric.DoricDriver; -import com.github.pengfeizhou.doric.plugin.DoricNativePlugin; -import com.github.pengfeizhou.doric.plugin.ModalPlugin; -import com.github.pengfeizhou.doric.utils.DoricLog; -import com.github.pengfeizhou.doric.utils.DoricUtils; +import com.github.penfeizhou.doric.DoricContext; +import com.github.penfeizhou.doric.plugin.DoricNativePlugin; +import com.github.penfeizhou.doric.plugin.ModalPlugin; +import com.github.penfeizhou.doric.DoricContextManager; +import com.github.penfeizhou.doric.utils.DoricLog; +import com.github.penfeizhou.doric.utils.DoricUtils; import com.github.pengfeizhou.jscore.JSDecoder; import com.github.pengfeizhou.jscore.JavaValue; -import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricComponent.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricComponent.java similarity index 88% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricComponent.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricComponent.java index b37417dd..16726f10 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricComponent.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricComponent.java @@ -1,4 +1,4 @@ -package com.github.pengfeizhou.doric.extension.bridge; +package com.github.penfeizhou.doric.extension.bridge; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricMethod.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricMethod.java similarity index 90% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricMethod.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricMethod.java index 218abe7d..baeef317 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricMethod.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricMethod.java @@ -1,4 +1,4 @@ -package com.github.pengfeizhou.doric.extension.bridge; +package com.github.penfeizhou.doric.extension.bridge; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricPluginInfo.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricPluginInfo.java similarity index 89% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricPluginInfo.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricPluginInfo.java index 78984dc1..d84d57da 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricPluginInfo.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricPluginInfo.java @@ -1,10 +1,10 @@ -package com.github.pengfeizhou.doric.extension.bridge; +package com.github.penfeizhou.doric.extension.bridge; import android.text.TextUtils; -import com.github.pengfeizhou.doric.DoricContext; -import com.github.pengfeizhou.doric.plugin.DoricNativePlugin; -import com.github.pengfeizhou.doric.utils.DoricLog; +import com.github.penfeizhou.doric.DoricContext; +import com.github.penfeizhou.doric.plugin.DoricNativePlugin; +import com.github.penfeizhou.doric.utils.DoricLog; import java.lang.reflect.Constructor; import java.lang.reflect.Method; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricPromise.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricPromise.java similarity index 85% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricPromise.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricPromise.java index 60a1ec2e..a17677cc 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/bridge/DoricPromise.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/extension/bridge/DoricPromise.java @@ -1,7 +1,7 @@ -package com.github.pengfeizhou.doric.extension.bridge; +package com.github.penfeizhou.doric.extension.bridge; -import com.github.pengfeizhou.doric.DoricContext; -import com.github.pengfeizhou.doric.utils.DoricConstant; +import com.github.penfeizhou.doric.DoricContext; +import com.github.penfeizhou.doric.utils.DoricConstant; import com.github.pengfeizhou.jscore.JavaValue; /** diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/timer/DoricTimerExtension.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/extension/timer/DoricTimerExtension.java similarity index 97% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/timer/DoricTimerExtension.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/extension/timer/DoricTimerExtension.java index 0f169e98..e4efc15f 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/extension/timer/DoricTimerExtension.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/extension/timer/DoricTimerExtension.java @@ -1,4 +1,4 @@ -package com.github.pengfeizhou.doric.extension.timer; +package com.github.penfeizhou.doric.extension.timer; import android.os.Handler; import android.os.Looper; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/plugin/DoricNativePlugin.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/plugin/DoricNativePlugin.java similarity index 79% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/plugin/DoricNativePlugin.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/plugin/DoricNativePlugin.java index 14e96000..cb4511f9 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/plugin/DoricNativePlugin.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/plugin/DoricNativePlugin.java @@ -1,6 +1,6 @@ -package com.github.pengfeizhou.doric.plugin; +package com.github.penfeizhou.doric.plugin; -import com.github.pengfeizhou.doric.DoricContext; +import com.github.penfeizhou.doric.DoricContext; /** * @Description: Doric diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/plugin/ModalPlugin.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/plugin/ModalPlugin.java similarity index 71% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/plugin/ModalPlugin.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/plugin/ModalPlugin.java index 13ea2517..16976d29 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/plugin/ModalPlugin.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/plugin/ModalPlugin.java @@ -1,11 +1,11 @@ -package com.github.pengfeizhou.doric.plugin; +package com.github.penfeizhou.doric.plugin; import android.widget.Toast; -import com.github.pengfeizhou.doric.DoricContext; -import com.github.pengfeizhou.doric.extension.bridge.DoricComponent; -import com.github.pengfeizhou.doric.extension.bridge.DoricMethod; -import com.github.pengfeizhou.doric.extension.bridge.DoricPromise; +import com.github.penfeizhou.doric.DoricContext; +import com.github.penfeizhou.doric.extension.bridge.DoricComponent; +import com.github.penfeizhou.doric.extension.bridge.DoricMethod; +import com.github.penfeizhou.doric.extension.bridge.DoricPromise; import com.github.pengfeizhou.jscore.ArchiveException; import com.github.pengfeizhou.jscore.JSDecoder; diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/utils/DoricConstant.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/utils/DoricConstant.java similarity index 97% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/utils/DoricConstant.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/utils/DoricConstant.java index 7a33e835..1fe52a47 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/utils/DoricConstant.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/utils/DoricConstant.java @@ -1,4 +1,4 @@ -package com.github.pengfeizhou.doric.utils; +package com.github.penfeizhou.doric.utils; /** * @Description: Doric diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/utils/DoricLog.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/utils/DoricLog.java similarity index 93% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/utils/DoricLog.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/utils/DoricLog.java index b560aaac..862bf521 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/utils/DoricLog.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/utils/DoricLog.java @@ -1,9 +1,9 @@ -package com.github.pengfeizhou.doric.utils; +package com.github.penfeizhou.doric.utils; import android.text.TextUtils; import android.util.Log; -import com.github.pengfeizhou.doric.Doric; +import com.github.penfeizhou.doric.Doric; /** * @Description: Doric diff --git a/Android/doric/src/main/java/com/github/pengfeizhou/doric/utils/DoricUtils.java b/Android/doric/src/main/java/com/github/penfeizhou/doric/utils/DoricUtils.java similarity index 94% rename from Android/doric/src/main/java/com/github/pengfeizhou/doric/utils/DoricUtils.java rename to Android/doric/src/main/java/com/github/penfeizhou/doric/utils/DoricUtils.java index 3fb815bb..3aee16c3 100644 --- a/Android/doric/src/main/java/com/github/pengfeizhou/doric/utils/DoricUtils.java +++ b/Android/doric/src/main/java/com/github/penfeizhou/doric/utils/DoricUtils.java @@ -1,15 +1,11 @@ -package com.github.pengfeizhou.doric.utils; +package com.github.penfeizhou.doric.utils; import android.content.res.AssetManager; -import android.os.Handler; -import android.os.Looper; import android.support.annotation.NonNull; -import com.github.pengfeizhou.doric.Doric; -import com.github.pengfeizhou.jscore.ArchiveException; +import com.github.penfeizhou.doric.Doric; import com.github.pengfeizhou.jscore.JSArray; import com.github.pengfeizhou.jscore.JSDecoder; -import com.github.pengfeizhou.jscore.JSNull; import com.github.pengfeizhou.jscore.JSValue; import com.github.pengfeizhou.jscore.JavaValue; diff --git a/Android/doric/src/test/java/com/github/pengfeizhou/doric/test/ExampleUnitTest.java b/Android/doric/src/test/java/com/github/penfeizhou/doric/test/ExampleUnitTest.java similarity index 88% rename from Android/doric/src/test/java/com/github/pengfeizhou/doric/test/ExampleUnitTest.java rename to Android/doric/src/test/java/com/github/penfeizhou/doric/test/ExampleUnitTest.java index 12620b8f..bb308716 100644 --- a/Android/doric/src/test/java/com/github/pengfeizhou/doric/test/ExampleUnitTest.java +++ b/Android/doric/src/test/java/com/github/penfeizhou/doric/test/ExampleUnitTest.java @@ -1,4 +1,4 @@ -package com.github.pengfeizhou.doric.test; +package com.github.penfeizhou.doric.test; import org.junit.Test;