diff options
author | Alexander Kurtakov | 2017-07-25 16:06:05 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2017-07-25 16:06:05 +0000 |
commit | a5e1a790fce0ff0a0f9f166694b1e56324b185f4 (patch) | |
tree | 48b728800254c949c579df27f3f090bb1c24e8ad /bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/StringMatcher.java | |
parent | 3734ce46345e063654bf3bdc0ff6a3096bc0d501 (diff) | |
download | eclipse.platform.team-a5e1a790fce0ff0a0f9f166694b1e56324b185f4.tar.gz eclipse.platform.team-a5e1a790fce0ff0a0f9f166694b1e56324b185f4.tar.xz eclipse.platform.team-a5e1a790fce0ff0a0f9f166694b1e56324b185f4.zip |
Bug 520159 - Modernize o.e.team.core S4_8_0_M1I20170808-2000I20170807-2000I20170806-2000I20170805-1500I20170804-2000I20170802-2000I20170802-0800I20170801-2000I20170801-0800I20170731-2000I20170731-0800I20170730-2000I20170729-2000I20170728-2000I20170727-2000I20170727-0610I20170726-2000I20170725-2000
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.java | 4 |
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(); |