Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/envvar/ContributedEnvironment.java')
-rw-r--r--core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/envvar/ContributedEnvironment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/envvar/ContributedEnvironment.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/envvar/ContributedEnvironment.java
index ae454d819c7..1055fda7f6d 100644
--- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/envvar/ContributedEnvironment.java
+++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/envvar/ContributedEnvironment.java
@@ -80,7 +80,7 @@ public class ContributedEnvironment implements IContributedEnvironment {
EnvVarCollector cr = EnvironmentVariableManager.getVariables(getContextInfo(des), true);
if (cr != null) {
EnvVarDescriptor collected[] = cr.toArray(true);
- List<IEnvironmentVariable> vars = new ArrayList<IEnvironmentVariable>(collected.length);
+ List<IEnvironmentVariable> vars = new ArrayList<>(collected.length);
IEnvironmentVariable var;
IEnvironmentContextInfo info = new DefaultEnvironmentContextInfo(des);//getContextInfo(des);
for (int i = 0; i < collected.length; i++) {

Back to the top