mooli tayer has uploaded a new change for review. Change subject: backend: rename _eventNotificationTypeMap eventNotificationTypeMap. ......................................................................
backend: rename _eventNotificationTypeMap eventNotificationTypeMap. Change-Id: I81460dd81dfa7f49336b1c53d5531c0b46129417 Signed-off-by: Mooli Tayer <mta...@redhat.com> --- M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java 1 file changed, 6 insertions(+), 6 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/97/26397/1 diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java index faceb52..60676fb 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcEventNotificationUtils.java @@ -6,7 +6,7 @@ public final class VdcEventNotificationUtils { - private static final Map<EventNotificationEntity, HashSet<AuditLogType>> _eventNotificationTypeMap = + private static final Map<EventNotificationEntity, HashSet<AuditLogType>> eventNotificationTypeMap = new HashMap<EventNotificationEntity, HashSet<AuditLogType>>(); /** @@ -147,7 +147,7 @@ * @return */ public static Map<EventNotificationEntity, HashSet<AuditLogType>> getNotificationEvents() { - return _eventNotificationTypeMap; + return eventNotificationTypeMap; } /** @@ -161,8 +161,8 @@ EventNotificationEntity type) { Map<EventNotificationEntity, HashSet<AuditLogType>> map = new HashMap<EventNotificationEntity, HashSet<AuditLogType>>(); - if (_eventNotificationTypeMap.containsKey(type)) { - map.put(type, _eventNotificationTypeMap.get(type)); + if (eventNotificationTypeMap.containsKey(type)) { + map.put(type, eventNotificationTypeMap.get(type)); } return map; } @@ -176,10 +176,10 @@ * Type of the audit log. */ private static void AddEventNotificationEntry(EventNotificationEntity entity, AuditLogType auditLogType) { - HashSet<AuditLogType> entry = _eventNotificationTypeMap.get(entity); + HashSet<AuditLogType> entry = eventNotificationTypeMap.get(entity); if (entry == null) { entry = new HashSet<AuditLogType>(); - _eventNotificationTypeMap.put(entity, entry); + eventNotificationTypeMap.put(entity, entry); } entry.add(auditLogType); } -- To view, visit http://gerrit.ovirt.org/26397 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I81460dd81dfa7f49336b1c53d5531c0b46129417 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: mooli tayer <mta...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches