[libvirt-java] [PATCH 28/65] Remove ErrorHandler.processError(Libvirt) method

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

 



It was deprecated and is no longer used.

Signed-off-by: Claudio Bley <cbley@xxxxxxxxxx>
---
 src/main/java/org/libvirt/ErrorHandler.java |   12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/main/java/org/libvirt/ErrorHandler.java b/src/main/java/org/libvirt/ErrorHandler.java
index 01e25d6..c2e7337 100644
--- a/src/main/java/org/libvirt/ErrorHandler.java
+++ b/src/main/java/org/libvirt/ErrorHandler.java
@@ -16,18 +16,6 @@ import com.sun.jna.PointerType;
  */
 public class ErrorHandler {
 
-    /**
-     * Look for the latest error from libvirt not tied to a connection
-     *
-     * @param libvirt
-     *            the active connection
-     * @throws LibvirtException
-     */
-    @Deprecated
-    static void processError(Libvirt libvirt) throws LibvirtException {
-        processError();
-    }
-
     private static final void processError() throws LibvirtException {
         virError vError = libvirt.virGetLastError();
         if (vError != null) {
-- 
1.7.9.5

--
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]