diff options
author | Alexander Kurtakov | 2014-04-17 07:07:51 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2014-04-17 09:02:08 +0000 |
commit | 16d0fab0f8f83799b98aa35aae2b82c3ac96e34f (patch) | |
tree | a11cf794401383563f768b5e1bd44ae4c09a83fc /gcov | |
parent | e9633b627399173d6d5f0d4642ef71db1e53283f (diff) | |
download | org.eclipse.linuxtools-16d0fab0f8f83799b98aa35aae2b82c3ac96e34f.tar.gz org.eclipse.linuxtools-16d0fab0f8f83799b98aa35aae2b82c3ac96e34f.tar.xz org.eclipse.linuxtools-16d0fab0f8f83799b98aa35aae2b82c3ac96e34f.zip |
profiling: Java 8 javadoc generation.
With doclint enabled by default this is needed to make javadoc
generation in profiling dir without an error (still ~100 warnings).
The patch has some side effects like removing code, making methods
private and other changes that are easier to do than writing the javadoc
for things that are unclear what do they do.
Change-Id: I72ef24e84128c4b3dc58609b2cc0368c9047801b
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/25178
Tested-by: Hudson CI
Diffstat (limited to 'gcov')
2 files changed, 2 insertions, 2 deletions
diff --git a/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/view/annotatedsource/GcovAnnotationModel.java b/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/view/annotatedsource/GcovAnnotationModel.java index f3170c2d36..cfd5fe7334 100644 --- a/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/view/annotatedsource/GcovAnnotationModel.java +++ b/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/view/annotatedsource/GcovAnnotationModel.java @@ -178,7 +178,7 @@ public final class GcovAnnotationModel implements IAnnotationModel { for (SourceFile sf : sources) { IPath sfPath = new Path(sf.getName()); - IFile file = STLink2SourceSupport.sharedInstance.getFileForPath(sfPath, cProject.getProject()); + IFile file = STLink2SourceSupport.getFileForPath(sfPath, cProject.getProject()); if (file != null && element.getLocationURI().getPath().equals(file.getLocation().toOSString())) { return sf; } diff --git a/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/view/annotatedsource/OpenSourceFileAction.java b/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/view/annotatedsource/OpenSourceFileAction.java index 8597604563..39bfc0d6f8 100644 --- a/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/view/annotatedsource/OpenSourceFileAction.java +++ b/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/view/annotatedsource/OpenSourceFileAction.java @@ -48,7 +48,7 @@ public class OpenSourceFileAction { // FIXME: move this method in binutils plugin. private IFileStore getFileStore(IProject project, IPath path) { - IEditorInput input = STLink2SourceSupport.sharedInstance.getEditorInput(path, project); + IEditorInput input = STLink2SourceSupport.getEditorInput(path, project); if (input instanceof IURIEditorInput) { IURIEditorInput editorInput = (IURIEditorInput) input; URI uri = editorInput.getURI(); |