mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 23:15:24 +02:00
Cosmetics.
This commit is contained in:
parent
8c0ea6af0b
commit
a913d61e4f
1 changed files with 13 additions and 13 deletions
|
@ -634,8 +634,8 @@ public class IncludeOrganizer {
|
|||
for (InclusionRequest request : requests) {
|
||||
if (!request.isResolved() && !isExportedBinding(request, headerSubstitutor)) {
|
||||
List<IPath> candidatePaths = request.getCandidatePaths();
|
||||
Set<IPath> representativeHeaders = new HashSet<IPath>();
|
||||
Set<IPath> representedHeaders = new HashSet<IPath>();
|
||||
Set<IPath> representativeHeaders = new HashSet<>();
|
||||
Set<IPath> representedHeaders = new HashSet<>();
|
||||
boolean allRepresented = true;
|
||||
for (IPath path : candidatePaths) {
|
||||
if (fContext.isIncluded(path)) {
|
||||
|
@ -813,7 +813,7 @@ public class IncludeOrganizer {
|
|||
private List<InclusionRequest> createInclusionRequests(IASTTranslationUnit ast,
|
||||
Set<IBinding> bindingsToInclude, boolean allowDeclarations,
|
||||
IIndexFileSet reachableHeaders) throws CoreException {
|
||||
List<InclusionRequest> requests = new ArrayList<InclusionRequest>(bindingsToInclude.size());
|
||||
List<InclusionRequest> requests = new ArrayList<>(bindingsToInclude.size());
|
||||
IIndex index = fContext.getIndex();
|
||||
|
||||
binding_loop: for (IBinding binding : bindingsToInclude) {
|
||||
|
|
Loading…
Add table
Reference in a new issue