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

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

 



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

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