Change in ovirt-engine[master]: findbugs: Random object recreated each call

shavivi at redhat.com shavivi at redhat.com
Sun Jun 2 12:23:29 UTC 2013


Shahar Havivi has submitted this change and it was merged.

Change subject: findbugs: Random object recreated each call
......................................................................


findbugs: Random object recreated each call

for better random use the same object instead of creating a new one.

findbugs reason:
DMI: Random object created and used only once (DMI_RANDOM_USED_ONLY_ONCE)

Change-Id: I4d88d7c80698e6d0ec1fed9ba8cb78c2b524ebae
Signed-off-by: Shahar Havivi <shavivi at redhat.com>
---
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/crypt/TicketUtils.java
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Shahar Havivi: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4d88d7c80698e6d0ec1fed9ba8cb78c2b524ebae
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list