cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kelv...@apache.org
Subject [6/7] git commit: refs/heads/master - Make RecreatableFencer's constructor public so that it can instantiated through reflection
Date Wed, 06 Mar 2013 01:11:38 GMT
Make RecreatableFencer's constructor public so that it can instantiated through reflection


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/f077fd9b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/f077fd9b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/f077fd9b

Branch: refs/heads/master
Commit: f077fd9b29007cf986ca24eca7b20d5f7b06c1dc
Parents: cc91d82
Author: Kelven Yang <kelveny@gmail.com>
Authored: Tue Mar 5 18:01:44 2013 -0500
Committer: Kelven Yang <kelveny@gmail.com>
Committed: Tue Mar 5 19:03:31 2013 -0500

----------------------------------------------------------------------
 server/src/com/cloud/ha/RecreatableFencer.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/f077fd9b/server/src/com/cloud/ha/RecreatableFencer.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/ha/RecreatableFencer.java b/server/src/com/cloud/ha/RecreatableFencer.java
index 52ab34f..dd3e71c 100644
--- a/server/src/com/cloud/ha/RecreatableFencer.java
+++ b/server/src/com/cloud/ha/RecreatableFencer.java
@@ -39,7 +39,7 @@ public class RecreatableFencer extends AdapterBase implements FenceBuilder
{
     @Inject VolumeDao _volsDao;
     @Inject StoragePoolDao _poolDao;
     
-    protected RecreatableFencer() {
+    public RecreatableFencer() {
         super();
     }
 
@@ -56,7 +56,7 @@ public class RecreatableFencer extends AdapterBase implements FenceBuilder
{
         for (VolumeVO vol : vols) {
             if (!vol.isRecreatable()) {
                 if (s_logger.isDebugEnabled()) {
-                    s_logger.debug("Unable to fence off volumes that are not recreatable:
" + vol);
+                    s_logger.debug("Unable to f	ence off volumes that are not recreatable:
" + vol);
                 }
                 return null;
             }


Mime
View raw message