From e37fd784eefe513eda7ab946dcf92b8e8fe1b8a6 Mon Sep 17 00:00:00 2001 From: Nils Schwabe Date: Mon, 23 Jun 2014 15:12:57 +0200 Subject: Fix some issues with the ftp connection and the ftp user management Remove some not needed imports from various files --- .../openslx/imagemaster/util/AsymMessageVerifier.java | 1 - src/main/java/org/openslx/imagemaster/util/Util.java | 18 ------------------ 2 files changed, 19 deletions(-) (limited to 'src/main/java/org/openslx/imagemaster/util') diff --git a/src/main/java/org/openslx/imagemaster/util/AsymMessageVerifier.java b/src/main/java/org/openslx/imagemaster/util/AsymMessageVerifier.java index e2a0a0e..ccd7ced 100644 --- a/src/main/java/org/openslx/imagemaster/util/AsymMessageVerifier.java +++ b/src/main/java/org/openslx/imagemaster/util/AsymMessageVerifier.java @@ -14,7 +14,6 @@ import java.security.cert.CertificateException; import java.security.spec.X509EncodedKeySpec; import org.openslx.imagemaster.db.DbKey; -import org.openslx.imagemaster.db.DbSatellite; public class AsymMessageVerifier { diff --git a/src/main/java/org/openslx/imagemaster/util/Util.java b/src/main/java/org/openslx/imagemaster/util/Util.java index 9805c21..fb13c86 100644 --- a/src/main/java/org/openslx/imagemaster/util/Util.java +++ b/src/main/java/org/openslx/imagemaster/util/Util.java @@ -1,27 +1,9 @@ package org.openslx.imagemaster.util; import java.io.File; -import java.io.FileInputStream; -import java.io.FileNotFoundException; -import java.io.IOException; -import java.security.InvalidKeyException; -import java.security.Key; -import java.security.KeyPair; -import java.security.KeyStore; -import java.security.KeyStoreException; -import java.security.NoSuchAlgorithmException; -import java.security.PrivateKey; -import java.security.PublicKey; -import java.security.Signature; -import java.security.SignatureException; -import java.security.UnrecoverableKeyException; -import java.security.cert.Certificate; -import java.security.cert.CertificateException; import java.util.Random; import org.apache.log4j.Logger; -import org.openslx.imagemaster.Globals; -import org.openslx.imagemaster.Globals.PropString; public class Util { -- cgit v1.2.3-55-g7522