Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/gcov
diff options
context:
space:
mode:
authorAlexander Kurtakov2014-04-17 13:13:28 +0000
committerAlexander Kurtakov2014-04-17 14:11:25 +0000
commitbabc9130b956e91c465438668e363d87e98b61c2 (patch)
treeea7d4fb575057f2a7bb842e535acfa7a3259e0c8 /gcov
parent990a2e4521d7180978b414a922e2467028dd81ec (diff)
downloadorg.eclipse.linuxtools-babc9130b956e91c465438668e363d87e98b61c2.tar.gz
org.eclipse.linuxtools-babc9130b956e91c465438668e363d87e98b61c2.tar.xz
org.eclipse.linuxtools-babc9130b956e91c465438668e363d87e98b61c2.zip
binutils: API overview.
* Hide Activator. * Merge multiple binutils factories into STBinutilsFactoryManager * Formatting * swt garbage reduced * follow naming conventions * members to local variables Change-Id: Ib862f9385afd6809368885f2396dc53ba342e027 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/25207 Tested-by: Hudson CI
Diffstat (limited to 'gcov')
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/utils/STGcovProgramChecker.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/utils/STGcovProgramChecker.java b/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/utils/STGcovProgramChecker.java
index fc0534d146..05e80de74c 100644
--- a/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/utils/STGcovProgramChecker.java
+++ b/gcov/org.eclipse.linuxtools.gcov.core/src/org/eclipse/linuxtools/internal/gcov/utils/STGcovProgramChecker.java
@@ -17,7 +17,7 @@ import java.util.WeakHashMap;
import org.eclipse.cdt.core.IBinaryParser.IBinaryObject;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.Path;
-import org.eclipse.linuxtools.binutils.utils.STNMFactory;
+import org.eclipse.linuxtools.binutils.utils.STBinutilsFactoryManager;
import org.eclipse.linuxtools.binutils.utils.STNMSymbolsHandler;
import org.eclipse.linuxtools.binutils.utils.STSymbolManager;
@@ -37,14 +37,14 @@ public class STGcovProgramChecker implements STNMSymbolsHandler {
STGcovProgramChecker pg = map.get(program);
if (pg == null) {
pg = new STGcovProgramChecker(program.lastModified());
- STNMFactory.getNM(object.getCPU(), object.getPath().toOSString(), pg, project);
+ STBinutilsFactoryManager.getNM(object.getCPU(), object.getPath().toOSString(), pg, project);
map.put(program, pg);
} else {
long fileTime = program.lastModified();
if (fileTime > pg.timestamp) {
pg.timestamp = fileTime;
pg.gcovFound = false;
- STNMFactory.getNM(object.getCPU(), object.getPath().toOSString(), pg, project);
+ STBinutilsFactoryManager.getNM(object.getCPU(), object.getPath().toOSString(), pg, project);
}
}
return pg;

Back to the top