diff options
author | Jonah Graham | 2018-11-23 13:04:51 +0000 |
---|---|---|
committer | Jonah Graham | 2018-11-23 13:59:46 +0000 |
commit | 3caea240a38caa9b4913481ba9fb41d9b57a032c (patch) | |
tree | 240ffcb07ecd6e2d5029743bacd81e280e07adf8 /debug/org.eclipse.cdt.debug.ui/src/org | |
parent | ff75ae80fa44dfc925064f7ca0169ac80997bc77 (diff) | |
download | org.eclipse.cdt-3caea240a38caa9b4913481ba9fb41d9b57a032c.tar.gz org.eclipse.cdt-3caea240a38caa9b4913481ba9fb41d9b57a032c.tar.xz org.eclipse.cdt-3caea240a38caa9b4913481ba9fb41d9b57a032c.zip |
Bug 540373: Format some Java files that were missed
Some files which has other cleanups applied meant they needed to be
reformatted again. e.g. the removing of type parameters shortened
some lines of code that meant the wrapping changed.
Change-Id: I68ca09567b9530cc2a085c33923642b6de2ec77b
Diffstat (limited to 'debug/org.eclipse.cdt.debug.ui/src/org')
2 files changed, 2 insertions, 4 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/CSourceNotFoundEditor.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/CSourceNotFoundEditor.java index 17b5f678337..f1ef15d5607 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/CSourceNotFoundEditor.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/CSourceNotFoundEditor.java @@ -313,8 +313,7 @@ public class CSourceNotFoundEditor extends CommonSourceNotFoundEditor { private void addSourceMappingToDirector(String missingPath, IPath newSourcePath, AbstractSourceLookupDirector director) throws CoreException { - ArrayList<ISourceContainer> containerList = new ArrayList<>( - Arrays.asList(director.getSourceContainers())); + ArrayList<ISourceContainer> containerList = new ArrayList<>(Arrays.asList(director.getSourceContainers())); MappingSourceContainer foundMappings = null; for (ISourceContainer container : containerList) { if (container instanceof MappingSourceContainer) { diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/executables/SourceFilesViewer.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/executables/SourceFilesViewer.java index 1d52a2e3178..c9e0a9fed28 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/executables/SourceFilesViewer.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/views/executables/SourceFilesViewer.java @@ -77,8 +77,7 @@ public class SourceFilesViewer extends BaseViewer { /** Tradeoff expensiveness of checking filesystem against likelihood * that files will be added/removed/changed in the given time period */ static final long FILE_CHECK_DELTA = 30 * 1000; - private static LRUCache<Object, TranslationUnitInfo> translationUnitInfoCache = new LRUCache<>( - 1024); + private static LRUCache<Object, TranslationUnitInfo> translationUnitInfoCache = new LRUCache<>(1024); public SourceFilesViewer(ExecutablesView view, Composite parent, int style) { super(view, parent, style); |