Skip to content

Commit

Permalink
refactor: remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu committed Dec 28, 2024
1 parent 9d4d32d commit 8338a9c
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 39 deletions.
3 changes: 0 additions & 3 deletions framework/src/org/apache/cordova/AllowList.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,9 @@ Licensed to the Apache Software Foundation (ASF) under one

import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import org.apache.cordova.LOG;

import android.net.Uri;

public class AllowList {
Expand Down
5 changes: 0 additions & 5 deletions framework/src/org/apache/cordova/AllowListPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ Licensed to the Apache Software Foundation (ASF) under one

package org.apache.cordova;

import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.ConfigXmlParser;
import org.apache.cordova.LOG;
import org.apache.cordova.AllowList;
import org.apache.cordova.CordovaPreferences;
import org.xmlpull.v1.XmlPullParser;

import android.content.Context;
Expand Down
2 changes: 0 additions & 2 deletions framework/src/org/apache/cordova/BuildHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@ Licensed to the Apache Software Foundation (ASF) under one
*
*/

import android.app.Activity;
import android.content.Context;

import java.lang.reflect.Field;


public class BuildHelper {


Expand Down
3 changes: 0 additions & 3 deletions framework/src/org/apache/cordova/CallbackContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ Licensed to the Apache Software Foundation (ASF) under one
package org.apache.cordova;

import org.json.JSONArray;

import org.apache.cordova.CordovaWebView;
import org.apache.cordova.PluginResult;
import org.json.JSONObject;

public class CallbackContext {
Expand Down
1 change: 0 additions & 1 deletion framework/src/org/apache/cordova/CordovaActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ Licensed to the Apache Software Foundation (ASF) under one

import android.app.AlertDialog;
import android.annotation.SuppressLint;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Configuration;
import android.graphics.Color;
Expand Down
2 changes: 0 additions & 2 deletions framework/src/org/apache/cordova/CordovaBridge.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ Licensed to the Apache Software Foundation (ASF) under one
*/
package org.apache.cordova;

import android.annotation.SuppressLint;

import java.security.SecureRandom;

import org.json.JSONArray;
Expand Down
1 change: 0 additions & 1 deletion framework/src/org/apache/cordova/CordovaDialogsHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Licensed to the Apache Software Foundation (ASF) under one

import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.view.KeyEvent;
import android.widget.EditText;

Expand Down
1 change: 0 additions & 1 deletion framework/src/org/apache/cordova/CordovaInterfaceImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Licensed to the Apache Software Foundation (ASF) under one
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.util.Pair;

Expand Down
6 changes: 0 additions & 6 deletions framework/src/org/apache/cordova/CordovaPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,12 @@ Licensed to the Apache Software Foundation (ASF) under one
*/
package org.apache.cordova;

import org.apache.cordova.CordovaArgs;
import org.apache.cordova.CordovaWebView;
import org.apache.cordova.CordovaInterface;
import org.apache.cordova.CallbackContext;
import org.json.JSONArray;
import org.json.JSONException;

import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.res.Configuration;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.webkit.RenderProcessGoneDetail;
import android.webkit.WebView;
Expand Down
3 changes: 0 additions & 3 deletions framework/src/org/apache/cordova/CordovaPreferences.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ Licensed to the Apache Software Foundation (ASF) under one
import java.util.Locale;
import java.util.Map;

import org.apache.cordova.LOG;

import android.app.Activity;
import android.os.Bundle;

public class CordovaPreferences {
Expand Down
1 change: 0 additions & 1 deletion framework/src/org/apache/cordova/CordovaResourceApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Licensed to the Apache Software Foundation (ASF) under one
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.channels.FileChannel;
Expand Down
2 changes: 0 additions & 2 deletions framework/src/org/apache/cordova/CoreAndroid.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ Licensed to the Apache Software Foundation (ASF) under one

package org.apache.cordova;

import org.apache.cordova.BuildHelper;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
Expand Down
2 changes: 0 additions & 2 deletions framework/src/org/apache/cordova/PluginEntry.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ Licensed to the Apache Software Foundation (ASF) under one
*/
package org.apache.cordova;

import org.apache.cordova.CordovaPlugin;

/**
* This class represents a service entry object.
*/
Expand Down
1 change: 0 additions & 1 deletion framework/src/org/apache/cordova/PluginManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Licensed to the Apache Software Foundation (ASF) under one
import android.net.Uri;
import android.os.Bundle;
import android.os.Debug;
import android.os.Build;
import android.webkit.RenderProcessGoneDetail;
import android.webkit.WebView;

Expand Down
1 change: 0 additions & 1 deletion framework/src/org/apache/cordova/ResumeCallback.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Licensed to the Apache Software Foundation (ASF) under one
*/
package org.apache.cordova;


import org.json.JSONException;
import org.json.JSONObject;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ Licensed to the Apache Software Foundation (ASF) under one
package org.apache.cordova.engine;

import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.ApplicationInfo;
import android.os.Build;
import android.view.View;
import android.webkit.ValueCallback;
import android.webkit.WebSettings;
Expand All @@ -44,9 +42,6 @@ Licensed to the Apache Software Foundation (ASF) under one
import org.apache.cordova.NativeToJsMessageQueue;
import org.apache.cordova.PluginManager;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;


/**
* Glue class between CordovaWebView (main Cordova logic) and SystemWebView (the actual View).
Expand Down

0 comments on commit 8338a9c

Please sign in to comment.