Skip to content

Commit

Permalink
removed google.common.collect.Lists.*
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Feb 5, 2024
1 parent b30d3ef commit 7638115
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
package org.eclipse.xtext.xbase.validation;

import static com.google.common.collect.Iterables.*;
import static com.google.common.collect.Lists.*;
import static org.eclipse.xtext.util.Strings.*;
import static org.eclipse.xtext.xbase.validation.IssueCodes.*;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
Expand Down Expand Up @@ -259,7 +259,7 @@ protected void checkDefaultSuperConstructor(EObject sourceType, JvmGenericType t
return;
}
if(size(constructors) == 1 && typeExtensions.isSingleSyntheticDefaultConstructor(constructors.iterator().next())) {
List<String> issueData = newArrayList();
List<String> issueData = new ArrayList<>();
for(JvmConstructor superConstructor:superConstructors) {
issueData.add(EcoreUtil.getURI(superConstructor).toString());
issueData.add(doGetReadableSignature(type.getSimpleName(), superConstructor.getParameters()));
Expand Down

0 comments on commit 7638115

Please sign in to comment.