Change in ovirt-engine[master]: bll: search: don't replace all ocurrence of pattern

mperina at redhat.com mperina at redhat.com
Mon Jul 18 08:05:20 UTC 2016


Martin Peřina has submitted this change and it was merged.

Change subject: bll: search: don't replace all ocurrence of pattern
......................................................................


bll: search: don't replace all ocurrence of pattern

Previously we replaced all occurances of pattern in search text,
which could lead in replacing unwanted characters. This patch
changes the behaviour in a way, that we just replace first found
characters.

Change-Id: I659b9a6043643cc3ad2358bb12fa46cadb6e0f4d
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1356675
Signed-off-by: Ondra Machacek <omachace at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SearchQuery.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ondra Machacek: Verified
  Martin Peřina: Looks good to me, approved
  Eli Mesika: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/60764
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I659b9a6043643cc3ad2358bb12fa46cadb6e0f4d
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list