Tal Nisan has uploaded a new change for review.

Change subject: core: Removed MatchCollection class
......................................................................

core: Removed MatchCollection class

Removed the class MatchCollection from the compat module, also
removed the methods using it, all of which did not have any references

Change-Id: Ifc8ccf733c85caa257390595b2eb79f9546c2fdd
Signed-off-by: Tal Nisan <[email protected]>
---
D 
backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/MatchCollection.java
M 
backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Regex.java
2 files changed, 0 insertions(+), 16 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/64/11664/1

diff --git 
a/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/MatchCollection.java
 
b/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/MatchCollection.java
deleted file mode 100644
index 3acb3e8..0000000
--- 
a/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/MatchCollection.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package org.ovirt.engine.core.compat;
-
-import java.util.ArrayList;
-
-@Deprecated
-public class MatchCollection extends ArrayList<Match> {
-}
diff --git 
a/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Regex.java
 
b/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Regex.java
index 80a4064..20a738d 100644
--- 
a/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Regex.java
+++ 
b/backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Regex.java
@@ -34,15 +34,6 @@
         return pattern.matcher(candidate).find();
     }
 
-    public MatchCollection Matches(String message) {
-        MatchCollection coll = new MatchCollection();
-        Matcher matcher = pattern.matcher(message);
-        while (matcher.find()) {
-            coll.add(new Match(matcher.toMatchResult(), true));
-        }
-        return coll;
-    }
-
     public static boolean IsMatch(String candidate, String regEx) {
         return (new Regex(regEx)).IsMatch(candidate);
     }


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc8ccf733c85caa257390595b2eb79f9546c2fdd
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tal Nisan <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to