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

tnisan at redhat.com tnisan at redhat.com
Mon Jul 18 09:29:17 UTC 2016


Tal Nisan 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>
(cherry picked from commit 85642149c1780dd943b2aef817f586b7defb0cc2)
---
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
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I659b9a6043643cc3ad2358bb12fa46cadb6e0f4d
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Ondra Machacek <omachace 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: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list