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

[libvirt] [libvirt-java] [PATCH 04/10] Remove unused fields of Error class



These fields of the Error class are no longer used, no need to
keep them around.
---
 src/main/java/org/libvirt/Error.java | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/main/java/org/libvirt/Error.java b/src/main/java/org/libvirt/Error.java
index 6f68f57..9da3a80 100644
--- a/src/main/java/org/libvirt/Error.java
+++ b/src/main/java/org/libvirt/Error.java
@@ -203,14 +203,11 @@ public class Error implements Serializable {
     private ErrorDomain domain;
     private String message;
     private ErrorLevel level;
-    private ConnectionPointer VCP; /* Deprecated */
-    private DomainPointer VDP; /* Deprecated */
     private String str1;
     private String str2;
     private String str3;
     private int int1;
     private int int2;
-    private NetworkPointer VNP; /* Deprecated */
 
     public Error(virError vError) {
         code = ErrorNumber.wrap(vError.code);
@@ -222,9 +219,6 @@ public class Error implements Serializable {
         str3 = vError.str3;
         int1 = vError.int1;
         int2 = vError.int2;
-        VCP = vError.conn;
-        VDP = vError.dom;
-        VNP = vError.net;
     }
 
     /**
-- 
1.8.5.2.msysgit.0


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