Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-07-25 16:06:05 +0000
committerAlexander Kurtakov2017-07-25 16:06:05 +0000
commita5e1a790fce0ff0a0f9f166694b1e56324b185f4 (patch)
tree48b728800254c949c579df27f3f090bb1c24e8ad /bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/StringMatcher.java
parent3734ce46345e063654bf3bdc0ff6a3096bc0d501 (diff)
downloadeclipse.platform.team-a5e1a790fce0ff0a0f9f166694b1e56324b185f4.tar.gz
eclipse.platform.team-a5e1a790fce0ff0a0f9f166694b1e56324b185f4.tar.xz
eclipse.platform.team-a5e1a790fce0ff0a0f9f166694b1e56324b185f4.zip
Take 2: * Generify. * Replace non-javadoc with @Override * Convert to lambdas Change-Id: Ia44170d3e752ad6513f007964463692e1cc6288e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/StringMatcher.java')
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/StringMatcher.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/StringMatcher.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/StringMatcher.java
index 7fd92a786..ad683e742 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/StringMatcher.java
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/StringMatcher.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2010 IBM Corporation and others.
+ * Copyright (c) 2000, 2017 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -257,7 +257,7 @@ public class StringMatcher {
}
}
- Vector temp = new Vector();
+ Vector<String> temp = new Vector<>();
int pos = 0;
StringBuffer buf = new StringBuffer();

Back to the top