Hi, I'd like to submit a small patch to libvirt-java. This patch make Flags used to manipulate Domain accessible from outside of the package I'm new to libvirt-java development process, please let me know if I miss something. Thanks! Yoshikazu Nojima <mail@xxxxxxxxxxx>
From 9eebc8caef1f8b4f87d63e5e74079b1ced3c0e7e Mon Sep 17 00:00:00 2001 From: ynojima <mail@xxxxxxxxxxx> Date: Fri, 21 Mar 2014 13:34:07 -0600 Subject: [PATCH] Make Flags used to manipulate Domain accessible from outside of the package --- src/main/java/org/libvirt/Domain.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/libvirt/Domain.java b/src/main/java/org/libvirt/Domain.java index 2f70bf2..d6b16b8 100644 --- a/src/main/java/org/libvirt/Domain.java +++ b/src/main/java/org/libvirt/Domain.java @@ -30,7 +30,7 @@ public class Domain { public static final int BYTES = 1; } - static final class CreateFlags { + public static final class CreateFlags { static final int VIR_DOMAIN_NONE = 0; static final int VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE = (1 << 0); /* Restore or alter metadata */ @@ -52,7 +52,7 @@ public class Domain { partial changes */ } - static final class MigrateFlags { + public static final class MigrateFlags { static final int VIR_MIGRATE_LIVE = (1 << 0); /* live migration */ static final int VIR_MIGRATE_PEER2PEER = (1 << 1); /* direct source -> dest host control channel */ /* Note the less-common spelling that we're stuck with: @@ -70,7 +70,7 @@ public class Domain { static final int VIR_MIGRATE_UNSAFE = (1 << 9); /* force migration even if it is considered unsafe */ } - static final class XMLFlags { + public static final class XMLFlags { /** * dump security sensitive information too */ -- 1.8.3.msysgit.0
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list