[libbluray-devel] [cleanup][java] Remove some unused imports.

ace20022 git at videolan.org
Fri Nov 28 09:39:16 CET 2014


libbluray | branch: master | ace20022 <ace20022 at ymail.com> | Thu Nov 27 15:50:00 2014 +0100| [280df36b848677990efa004e14683ed38e95dd5c] | committer: hpi1

[cleanup][java] Remove some unused imports.

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=280df36b848677990efa004e14683ed38e95dd5c
---

 src/libbluray/bdj/java-j2se/org/videolan/LockFile.java              |    1 -
 src/libbluray/bdj/java/java/awt/BDImageConsumer.java                |    1 -
 src/libbluray/bdj/java/java/awt/BDOffScreenImageSource.java         |    1 -
 src/libbluray/bdj/java/java/io/BDFileSystem.java                    |    1 -
 src/libbluray/bdj/java/java/io/FileInputStream.java                 |    2 --
 src/libbluray/bdj/java/org/dvb/ui/DVBTextLayoutManager.java         |    3 ---
 src/libbluray/bdj/java/org/dvb/ui/FontFactory.java                  |    2 --
 src/libbluray/bdj/java/org/videolan/BDJXletContext.java             |    1 -
 src/libbluray/bdj/java/org/videolan/MountManager.java               |    2 --
 src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java    |    1 -
 .../bdj/java/org/videolan/media/content/audio/Handler.java          |    3 ---
 .../org/videolan/media/content/playlist/UOMaskTableControlImpl.java |    1 -
 .../bdj/java/org/videolan/media/content/sound/Handler.java          |    2 --
 13 files changed, 21 deletions(-)

diff --git a/src/libbluray/bdj/java-j2se/org/videolan/LockFile.java b/src/libbluray/bdj/java-j2se/org/videolan/LockFile.java
index 7fc2758..d1940fa 100644
--- a/src/libbluray/bdj/java-j2se/org/videolan/LockFile.java
+++ b/src/libbluray/bdj/java-j2se/org/videolan/LockFile.java
@@ -19,7 +19,6 @@
 
 package org.videolan;
 
-import java.io.File;
 import java.io.IOException;
 import java.io.RandomAccessFile;
 
diff --git a/src/libbluray/bdj/java/java/awt/BDImageConsumer.java b/src/libbluray/bdj/java/java/awt/BDImageConsumer.java
index 6091535..59e2af3 100644
--- a/src/libbluray/bdj/java/java/awt/BDImageConsumer.java
+++ b/src/libbluray/bdj/java/java/awt/BDImageConsumer.java
@@ -19,7 +19,6 @@
 
 package java.awt;
 
-import java.awt.*;
 import java.util.Hashtable;
 import java.awt.image.ImageProducer;
 import java.awt.image.ImageObserver;
diff --git a/src/libbluray/bdj/java/java/awt/BDOffScreenImageSource.java b/src/libbluray/bdj/java/java/awt/BDOffScreenImageSource.java
index a936dc8..d42eff7 100644
--- a/src/libbluray/bdj/java/java/awt/BDOffScreenImageSource.java
+++ b/src/libbluray/bdj/java/java/awt/BDOffScreenImageSource.java
@@ -20,7 +20,6 @@
 package java.awt;
 
 import java.util.Hashtable;
-import java.awt.Component;
 import java.awt.color.ColorSpace;
 import java.awt.image.ColorModel;
 import java.awt.image.DataBuffer;
diff --git a/src/libbluray/bdj/java/java/io/BDFileSystem.java b/src/libbluray/bdj/java/java/io/BDFileSystem.java
index 7716ff2..6bb7987 100644
--- a/src/libbluray/bdj/java/java/io/BDFileSystem.java
+++ b/src/libbluray/bdj/java/java/io/BDFileSystem.java
@@ -31,7 +31,6 @@ import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
 import java.lang.reflect.Modifier;
 
-import java.net.URL;
 
 import org.videolan.BDJLoader;
 import org.videolan.BDJXletContext;
diff --git a/src/libbluray/bdj/java/java/io/FileInputStream.java b/src/libbluray/bdj/java/java/io/FileInputStream.java
index bd86acf..04f5bf7 100644
--- a/src/libbluray/bdj/java/java/io/FileInputStream.java
+++ b/src/libbluray/bdj/java/java/io/FileInputStream.java
@@ -18,8 +18,6 @@
 
 package java.io;
 
-import java.net.URL;
-//import java.nio.channels.FileChannel;
 
 import org.videolan.BDJLoader;
 import org.videolan.BDJXletContext;
diff --git a/src/libbluray/bdj/java/org/dvb/ui/DVBTextLayoutManager.java b/src/libbluray/bdj/java/org/dvb/ui/DVBTextLayoutManager.java
index 9e6b580..39f4529 100644
--- a/src/libbluray/bdj/java/org/dvb/ui/DVBTextLayoutManager.java
+++ b/src/libbluray/bdj/java/org/dvb/ui/DVBTextLayoutManager.java
@@ -19,9 +19,6 @@
 
 package org.dvb.ui;
 
-import java.awt.Color;
-import java.awt.Dimension;
-import java.awt.Font;
 import java.awt.Insets;
 
 import org.havi.ui.HVisible;
diff --git a/src/libbluray/bdj/java/org/dvb/ui/FontFactory.java b/src/libbluray/bdj/java/org/dvb/ui/FontFactory.java
index 426c065..3b0c913 100644
--- a/src/libbluray/bdj/java/org/dvb/ui/FontFactory.java
+++ b/src/libbluray/bdj/java/org/dvb/ui/FontFactory.java
@@ -22,12 +22,10 @@ package org.dvb.ui;
 
 import java.awt.Font;
 import java.io.File;
-import java.io.FileInputStream;
 import java.io.InputStream;
 import java.io.IOException;
 import java.net.URL;
 import java.util.HashMap;
-import java.util.LinkedList;
 import java.util.Map;
 
 import org.videolan.BDJUtil;
diff --git a/src/libbluray/bdj/java/org/videolan/BDJXletContext.java b/src/libbluray/bdj/java/org/videolan/BDJXletContext.java
index 80351d5..55fe985 100644
--- a/src/libbluray/bdj/java/org/videolan/BDJXletContext.java
+++ b/src/libbluray/bdj/java/org/videolan/BDJXletContext.java
@@ -23,7 +23,6 @@ import java.awt.Container;
 import java.awt.EventQueue;
 import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
-import java.net.URL;
 import java.util.LinkedList;
 import java.util.HashMap;
 import java.security.AccessController;
diff --git a/src/libbluray/bdj/java/org/videolan/MountManager.java b/src/libbluray/bdj/java/org/videolan/MountManager.java
index 91bdc41..dfa16c8 100644
--- a/src/libbluray/bdj/java/org/videolan/MountManager.java
+++ b/src/libbluray/bdj/java/org/videolan/MountManager.java
@@ -25,10 +25,8 @@ import java.io.FileOutputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.OutputStream;
-import java.util.Collections;
 import java.util.Enumeration;
 import java.util.HashMap;
-import java.util.Iterator;
 import java.util.Map;
 import java.util.jar.JarEntry;
 import java.util.jar.JarFile;
diff --git a/src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java b/src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java
index daf4f84..964d0b7 100644
--- a/src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java
+++ b/src/libbluray/bdj/java/org/videolan/media/content/BDHandler.java
@@ -20,7 +20,6 @@ package org.videolan.media.content;
 
 import java.awt.Component;
 import java.io.IOException;
-import java.util.LinkedList;
 
 import javax.media.Clock;
 import javax.media.ClockStoppedException;
diff --git a/src/libbluray/bdj/java/org/videolan/media/content/audio/Handler.java b/src/libbluray/bdj/java/org/videolan/media/content/audio/Handler.java
index 5f600c0..a878965 100644
--- a/src/libbluray/bdj/java/org/videolan/media/content/audio/Handler.java
+++ b/src/libbluray/bdj/java/org/videolan/media/content/audio/Handler.java
@@ -18,9 +18,7 @@
 
 package org.videolan.media.content.audio;
 
-import java.awt.Component;
 import java.io.IOException;
-import java.util.ArrayList;
 
 import javax.media.Control;
 import javax.media.ControllerErrorEvent;
@@ -28,7 +26,6 @@ import javax.media.IncompatibleSourceException;
 import javax.media.Time;
 import javax.media.protocol.DataSource;
 
-import org.bluray.net.BDLocator;
 
 import org.videolan.media.content.playlist.OverallGainControlImpl;
 import org.videolan.media.content.playlist.PanningControlImpl;
diff --git a/src/libbluray/bdj/java/org/videolan/media/content/playlist/UOMaskTableControlImpl.java b/src/libbluray/bdj/java/org/videolan/media/content/playlist/UOMaskTableControlImpl.java
index 21c5e94..ec33b19 100644
--- a/src/libbluray/bdj/java/org/videolan/media/content/playlist/UOMaskTableControlImpl.java
+++ b/src/libbluray/bdj/java/org/videolan/media/content/playlist/UOMaskTableControlImpl.java
@@ -21,7 +21,6 @@
 package org.videolan.media.content.playlist;
 
 import java.awt.Component;
-import java.util.LinkedList;
 
 import org.bluray.media.UOMaskTableControl;
 import org.bluray.media.UOMaskTableListener;
diff --git a/src/libbluray/bdj/java/org/videolan/media/content/sound/Handler.java b/src/libbluray/bdj/java/org/videolan/media/content/sound/Handler.java
index aa9df46..4e36c68 100644
--- a/src/libbluray/bdj/java/org/videolan/media/content/sound/Handler.java
+++ b/src/libbluray/bdj/java/org/videolan/media/content/sound/Handler.java
@@ -18,9 +18,7 @@
 
 package org.videolan.media.content.sound;
 
-import java.awt.Component;
 import java.io.IOException;
-import java.util.ArrayList;
 
 import javax.media.ClockStartedError;
 import javax.media.ClockStoppedException;



More information about the libbluray-devel mailing list