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

[libvirt] [libvirt-java] [PATCH 14/15] Remove ErrorHandler.processError(Libvirt) method



It was deprecated and is no longer used.
---
 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.8.5.2.msysgit.0


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