summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorDmitry Kozlov2012-04-05 08:22:49 (EDT)
committer Roland Grunberg2012-04-12 17:01:32 (EDT)
commit0960bd3597eff9268912bfef380a9c4bc3fe88cb (patch)
treee67380d9ed9bb2db8d8b6f8ded75f4609bb658a8
parentc3066b2fe503b27cbf99e82d2b8268d3a35fdad2 (diff)
downloadorg.eclipse.linuxtools-0960bd3597eff9268912bfef380a9c4bc3fe88cb.zip
org.eclipse.linuxtools-0960bd3597eff9268912bfef380a9c4bc3fe88cb.tar.gz
org.eclipse.linuxtools-0960bd3597eff9268912bfef380a9c4bc3fe88cb.tar.bz2
Cleanup leading underscores from identifiers' names in org.eclipse.linuxtools.internal.oprofile.core.linux.LinuxOpxmlProvider
and org.eclipse.linuxtools.internal.oprofile.core.linux.OpxmlRunner.
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/linux/LinuxOpxmlProvider.java4
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/linux/OpxmlRunner.java10
2 files changed, 7 insertions, 7 deletions
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/linux/LinuxOpxmlProvider.java b/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/linux/LinuxOpxmlProvider.java
index cb80a73..7d07423 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/linux/LinuxOpxmlProvider.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/linux/LinuxOpxmlProvider.java
@@ -38,8 +38,8 @@ public class LinuxOpxmlProvider implements IOpxmlProvider {
private boolean b;
final private OpInfo info;
- public OpInfoRunner(OpInfo _info) {
- info = _info;
+ public OpInfoRunner(OpInfo info) {
+ this.info = info;
}
public boolean run0(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/linux/OpxmlRunner.java b/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/linux/OpxmlRunner.java
index dae18c7..3b1ae09 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/linux/OpxmlRunner.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/linux/OpxmlRunner.java
@@ -56,7 +56,7 @@ import org.xml.sax.XMLReader;
* BFD and the oprofile plugins.
*/
public class OpxmlRunner {
- private OprofileSAXHandler _handler;
+ private OprofileSAXHandler handler;
/**
@@ -64,7 +64,7 @@ public class OpxmlRunner {
* @return the processor
*/
public XMLProcessor getProcessor() {
- return _handler.getProcessor();
+ return handler.getProcessor();
}
/**
@@ -76,7 +76,7 @@ public class OpxmlRunner {
*/
public boolean run(String[] args, Object callData) {
XMLReader reader = null;
- _handler = OprofileSAXHandler.getInstance(callData);
+ handler = OprofileSAXHandler.getInstance(callData);
// Create XMLReader
SAXParserFactory factory = SAXParserFactory.newInstance();
@@ -88,8 +88,8 @@ public class OpxmlRunner {
}
// Set content/error handlers
- reader.setContentHandler(_handler);
- reader.setErrorHandler(_handler);
+ reader.setContentHandler(handler);
+ reader.setErrorHandler(handler);
// Check for timer support
InfoAdapter.checkTimerSupport();