Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2016-08-24 13:33:28 -0400
committerMarkus Keller2016-08-24 13:33:28 -0400
commit42bc4529afd2190f44e4152bf8bac1ec23a6aaa2 (patch)
tree56cb06afd084cf9a59edfe914f1e6ac831f55924
parentbed9c77d1c33402e1902d2cbd33f9008774b7c49 (diff)
downloadrt.equinox.p2-42bc4529afd2190f44e4152bf8bac1ec23a6aaa2.tar.gz
rt.equinox.p2-42bc4529afd2190f44e4152bf8bac1ec23a6aaa2.tar.xz
rt.equinox.p2-42bc4529afd2190f44e4152bf8bac1ec23a6aaa2.zip
Bug 500225: Endless loop in Install/Update dialogY20160825-1000I20160830-0800I20160824-1429
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUDetailsGroup.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUDetailsGroup.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUDetailsGroup.java
index 474ffaf41..d63f4a81d 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUDetailsGroup.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUDetailsGroup.java
@@ -112,7 +112,7 @@ public class IUDetailsGroup {
*/
public void setDetailHighlight(String pattern) {
detailsArea.setStyleRanges(new StyleRange[0]);
- if (pattern != null) {
+ if (pattern != null && !pattern.isEmpty()) {
StringMatcher matcher = new StringMatcher(pattern, true, false);
int i = 0;
StringMatcher.Position match = null;

Back to the top