Allon Mureinik has uploaded a new change for review. Change subject: core: Remove Unused methods from VdsFenceOptions ......................................................................
core: Remove Unused methods from VdsFenceOptions Removed the unused methods getFencingAgentInstanceOptionsMap(), setFencingAgentInstanceOptionsMap(ValueObjectMap), getFencingOptionTypesMap() and setFencingOptionTypesMap(ValueOptionMap) from VdsFenceOptions. Change-Id: I7f25ace235c3022a8b1299b08bf65250b4bce3f9 Signed-off-by: Allon Mureinik <[email protected]> --- M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/pm/VdsFenceOptions.java 1 file changed, 0 insertions(+), 19 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/18/16818/1 diff --git a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/pm/VdsFenceOptions.java b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/pm/VdsFenceOptions.java index db4f782..b70f1cf 100644 --- a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/pm/VdsFenceOptions.java +++ b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/pm/VdsFenceOptions.java @@ -10,7 +10,6 @@ import org.apache.commons.lang.StringUtils; import org.ovirt.engine.core.common.config.Config; import org.ovirt.engine.core.common.config.ConfigValues; -import org.ovirt.engine.core.common.queries.ValueObjectMap; import org.ovirt.engine.core.compat.IntegerCompat; import org.ovirt.engine.core.utils.log.Log; import org.ovirt.engine.core.utils.log.LogFactory; @@ -64,28 +63,10 @@ Init(); } - public ValueObjectMap getFencingAgentInstanceOptionsMap() { - return new ValueObjectMap(fencingAgentInstanceOptions, false); - } - - @SuppressWarnings("unchecked") - public void setFencingAgentInstanceOptionsMap(ValueObjectMap value) { - fencingAgentInstanceOptions = (value != null) ? new HashMap<String, String>(value.asMap()) : null; - } - public HashMap<String, HashMap<String, String>> getFencingOptionMappingMap() { return fencingOptionMapping; } - public ValueObjectMap getFencingOptionTypesMap() { - return new ValueObjectMap(fencingOptionTypes, false); - } - - @SuppressWarnings("unchecked") - public void setFencingOptionTypesMap(ValueObjectMap value) { - fencingOptionTypes = (value != null) ? new HashMap<String, String>(value.asMap()) - : null; - } /** * Caches the fencing agents options mapping. Mapping are stored in the following format <!-- -- To view, visit http://gerrit.ovirt.org/16818 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7f25ace235c3022a8b1299b08bf65250b4bce3f9 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Allon Mureinik <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
