[libvirt-java] [Patch] remove unused imports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Clean up all java classes which have imports which are not used.

Greetings

Stefan Majer
---
 src/main/java/org/libvirt/Device.java         |    1 -
 src/main/java/org/libvirt/Domain.java         |    1 -
 src/main/java/org/libvirt/DomainSnapshot.java |    1 -
 src/main/java/org/libvirt/ErrorHandler.java   |    1 -
 src/main/java/org/libvirt/Interface.java      |    1 -
 src/main/java/org/libvirt/StorageVol.java     |    1 -
 6 files changed, 6 deletions(-)

diff --git a/src/main/java/org/libvirt/Device.java b/src/main/java/org/libvirt/Device.java
index 416e06a..fe49ce9 100644
--- a/src/main/java/org/libvirt/Device.java
+++ b/src/main/java/org/libvirt/Device.java
@@ -1,7 +1,6 @@
 package org.libvirt;
 
 import org.libvirt.jna.DevicePointer;
-import org.libvirt.jna.Libvirt;
 import static org.libvirt.Library.libvirt;
 
 /**
diff --git a/src/main/java/org/libvirt/Domain.java b/src/main/java/org/libvirt/Domain.java
index 12ff7f5..85de9b3 100644
--- a/src/main/java/org/libvirt/Domain.java
+++ b/src/main/java/org/libvirt/Domain.java
@@ -17,7 +17,6 @@ import com.sun.jna.Native;
 import com.sun.jna.NativeLong;
 import com.sun.jna.Pointer;
 import com.sun.jna.ptr.IntByReference;
-import com.sun.jna.ptr.PointerByReference;
 
 /**
  * A virtual machine defined within libvirt.
diff --git a/src/main/java/org/libvirt/DomainSnapshot.java b/src/main/java/org/libvirt/DomainSnapshot.java
index 355d9d0..b58fd20 100644
--- a/src/main/java/org/libvirt/DomainSnapshot.java
+++ b/src/main/java/org/libvirt/DomainSnapshot.java
@@ -1,7 +1,6 @@
 package org.libvirt;
 
 import org.libvirt.jna.DomainSnapshotPointer;
-import org.libvirt.jna.Libvirt;
 import static org.libvirt.Library.libvirt;
 
 public class DomainSnapshot {
diff --git a/src/main/java/org/libvirt/ErrorHandler.java b/src/main/java/org/libvirt/ErrorHandler.java
index 4dd7c90..434c85d 100644
--- a/src/main/java/org/libvirt/ErrorHandler.java
+++ b/src/main/java/org/libvirt/ErrorHandler.java
@@ -1,6 +1,5 @@
 package org.libvirt;
 
-import org.libvirt.jna.ConnectionPointer;
 import org.libvirt.jna.Libvirt;
 import org.libvirt.jna.virError;
 
diff --git a/src/main/java/org/libvirt/Interface.java b/src/main/java/org/libvirt/Interface.java
index 71ba3da..7782fb9 100644
--- a/src/main/java/org/libvirt/Interface.java
+++ b/src/main/java/org/libvirt/Interface.java
@@ -1,7 +1,6 @@
 package org.libvirt;
 
 import org.libvirt.jna.InterfacePointer;
-import org.libvirt.jna.Libvirt;
 import static org.libvirt.Library.libvirt;
 
 import com.sun.jna.Pointer;
diff --git a/src/main/java/org/libvirt/StorageVol.java b/src/main/java/org/libvirt/StorageVol.java
index 39776b2..561cb4d 100644
--- a/src/main/java/org/libvirt/StorageVol.java
+++ b/src/main/java/org/libvirt/StorageVol.java
@@ -1,6 +1,5 @@
 package org.libvirt;
 
-import org.libvirt.jna.Libvirt;
 import org.libvirt.jna.StoragePoolPointer;
 import org.libvirt.jna.StorageVolPointer;
 import org.libvirt.jna.virStorageVolInfo;
-- 
1.7.9.5

--
Stefan Majer
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]