aboutsummaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-05-31 21:47:25 +0200
committerChristian Schneppe <christian@pix-art.de>2016-05-31 21:47:25 +0200
commit1a46ae528a7894a405c9fb1cfba90a6386e826d4 (patch)
tree91ef4792a357284f487fbec28ca1dcbcd993d1f9 /libs
parent5f8de512f5d14515146d341bc3e0ae0e066837b8 (diff)
optimize imports
Diffstat (limited to 'libs')
-rw-r--r--libs/MemorizingTrustManager/example/src/de/duenndns/mtmexample/JULHandler.java4
-rw-r--r--libs/MemorizingTrustManager/example/src/de/duenndns/mtmexample/MTMExample.java2
-rw-r--r--libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingActivity.java9
-rw-r--r--libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingTrustManager.java14
-rw-r--r--libs/audiowife/src/main/java/nl/changer/audiowife/AudioWife.java1
5 files changed, 17 insertions, 13 deletions
diff --git a/libs/MemorizingTrustManager/example/src/de/duenndns/mtmexample/JULHandler.java b/libs/MemorizingTrustManager/example/src/de/duenndns/mtmexample/JULHandler.java
index 40f71f580..6d183eb60 100644
--- a/libs/MemorizingTrustManager/example/src/de/duenndns/mtmexample/JULHandler.java
+++ b/libs/MemorizingTrustManager/example/src/de/duenndns/mtmexample/JULHandler.java
@@ -1,5 +1,7 @@
package de.duenndns.mtmexample;
+import android.util.Log;
+
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
@@ -12,8 +14,6 @@ import java.util.logging.LogManager;
import java.util.logging.LogRecord;
import java.util.logging.Logger;
-import android.util.Log;
-
/**
* A <code>java.util.logging</code> (JUL) Handler for Android.
* <p>
diff --git a/libs/MemorizingTrustManager/example/src/de/duenndns/mtmexample/MTMExample.java b/libs/MemorizingTrustManager/example/src/de/duenndns/mtmexample/MTMExample.java
index 0d16ae82f..52e20dff6 100644
--- a/libs/MemorizingTrustManager/example/src/de/duenndns/mtmexample/MTMExample.java
+++ b/libs/MemorizingTrustManager/example/src/de/duenndns/mtmexample/MTMExample.java
@@ -18,8 +18,8 @@ import java.util.ArrayList;
import java.util.Collections;
import javax.net.ssl.HostnameVerifier;
-import javax.net.ssl.SSLContext;
import javax.net.ssl.HttpsURLConnection;
+import javax.net.ssl.SSLContext;
import javax.net.ssl.X509TrustManager;
import de.duenndns.ssl.MemorizingTrustManager;
diff --git a/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingActivity.java b/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingActivity.java
index 013ac29b5..567c2d817 100644
--- a/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingActivity.java
+++ b/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingActivity.java
@@ -24,16 +24,17 @@
package de.duenndns.ssl;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
-import android.content.DialogInterface.*;
+import android.content.DialogInterface.OnCancelListener;
+import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
import android.os.Bundle;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
public class MemorizingActivity extends Activity
implements OnClickListener,OnCancelListener {
diff --git a/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingTrustManager.java b/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingTrustManager.java
index 9032ba25b..547328f1f 100644
--- a/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingTrustManager.java
+++ b/libs/MemorizingTrustManager/src/de/duenndns/ssl/MemorizingTrustManager.java
@@ -30,27 +30,31 @@ import android.app.Activity;
import android.app.Application;
import android.app.Notification;
import android.app.NotificationManager;
-import android.app.Service;
import android.app.PendingIntent;
+import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
-import android.util.SparseArray;
import android.os.Handler;
+import android.util.SparseArray;
import java.io.File;
import java.io.IOException;
-import java.security.cert.*;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.MessageDigest;
-import java.util.logging.Level;
-import java.util.logging.Logger;
+import java.security.cert.Certificate;
+import java.security.cert.CertificateException;
+import java.security.cert.CertificateExpiredException;
+import java.security.cert.CertificateParsingException;
+import java.security.cert.X509Certificate;
import java.text.SimpleDateFormat;
import java.util.Collection;
import java.util.Enumeration;
import java.util.List;
import java.util.Locale;
+import java.util.logging.Level;
+import java.util.logging.Logger;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;
diff --git a/libs/audiowife/src/main/java/nl/changer/audiowife/AudioWife.java b/libs/audiowife/src/main/java/nl/changer/audiowife/AudioWife.java
index 776108499..26fb08e91 100644
--- a/libs/audiowife/src/main/java/nl/changer/audiowife/AudioWife.java
+++ b/libs/audiowife/src/main/java/nl/changer/audiowife/AudioWife.java
@@ -37,7 +37,6 @@ import android.view.ViewGroup;
import android.widget.SeekBar;
import android.widget.TextView;
-import java.io.IOException;
import java.util.ArrayList;
import java.util.concurrent.TimeUnit;