Change in ovirt-engine[master]: core: TagsDirector: stop using compat's Regex

amureini at redhat.com amureini at redhat.com
Mon Mar 17 08:45:37 UTC 2014


Allon Mureinik has submitted this change and it was merged.

Change subject: core: TagsDirector: stop using compat's Regex
......................................................................


core: TagsDirector: stop using compat's Regex

org.ovirt.engine.core.compat.Regex is deprecated, and should only be
used for GWT-compiled classes.

This patch removes the call to Regex.IsMatch(String, String), and
replaces it with calls to equivelant calls to
java.util.regexp.Pattern.

Note: This patch does nothing but unwrap the Regex call. It's possible
there's a better way of achieving the same functionality, but that
should be left to a different patch.

Change-Id: I98c1bc6204a7bb8642e3f215b1547260f36b0152
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TagsDirector.java
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Allon Mureinik: Verified
  Yair Zaslavsky: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I98c1bc6204a7bb8642e3f215b1547260f36b0152
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list