Allon Mureinik has uploaded a new change for review.

Change subject: core: Remove redundant cast from AuditLogableBase
......................................................................

core: Remove redundant cast from AuditLogableBase

Removed a cast of getuser_id() to NGuid, as it is already an NGuid, so
the cast is pointless.

Change-Id: If1ff45e0910965e695a91f3f4de2719f00f216ad
Signed-off-by: Allon Mureinik <[email protected]>
---
M 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogableBase.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/02/11902/1

diff --git 
a/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogableBase.java
 
b/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogableBase.java
index a960b3a..a18c2b0 100644
--- 
a/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogableBase.java
+++ 
b/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogableBase.java
@@ -97,7 +97,7 @@
         this.glusterVolumeId = auditLog.getGlusterVolumeId();
         this.glusterVolumeName = auditLog.getGlusterVolumeName();
         this.jobId = auditLog.getJobId();
-        this.mUserId = (NGuid) auditLog.getuser_id();
+        this.mUserId = auditLog.getuser_id();
         this.mUserName = auditLog.getuser_name();
         this.mVdsGroupId = (Guid) auditLog.getvds_group_id();
         this.mVdsId = auditLog.getvds_id();


--
To view, visit http://gerrit.ovirt.org/11902
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If1ff45e0910965e695a91f3f4de2719f00f216ad
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

Reply via email to