Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Ferrazzutti2014-04-25 10:05:37 -0400
committerAlexander Kurtakov2014-04-26 01:35:49 -0400
commit9f5e0ed5dfda7ac2bf14f4b59228135bdbcb6a10 (patch)
tree6460ae9326e2948a1c746798febd00f82321f638 /systemtap/org.eclipse.linuxtools.systemtap.ui.tests
parentfe48cecc1b6ba671cf0a70014e760413dae4cce9 (diff)
downloadorg.eclipse.linuxtools-9f5e0ed5dfda7ac2bf14f4b59228135bdbcb6a10.tar.gz
org.eclipse.linuxtools-9f5e0ed5dfda7ac2bf14f4b59228135bdbcb6a10.tar.xz
org.eclipse.linuxtools-9f5e0ed5dfda7ac2bf14f4b59228135bdbcb6a10.zip
Change tabs to spaces; elim trailing whitespace.
To comply with Sonar style requirements, replace all tab characters with four whitespace characters/spaces, and remove all trailing whitespace. Perform this change to all Java and XML files. Also replace tabs with "\t" in test strings that require tabs, and edit STPIndenterTest so that it doesn't rely on indented comments. Change-Id: I48c3c5449a58fe5310967d998a05df1a28fbcbb0 Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com> Reviewed-on: https://git.eclipse.org/r/25561 Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'systemtap/org.eclipse.linuxtools.systemtap.ui.tests')
-rw-r--r--systemtap/org.eclipse.linuxtools.systemtap.ui.tests/src/org/eclipse/linuxtools/systemtap/ui/tests/SystemtapTest.java32
1 files changed, 16 insertions, 16 deletions
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.tests/src/org/eclipse/linuxtools/systemtap/ui/tests/SystemtapTest.java b/systemtap/org.eclipse.linuxtools.systemtap.ui.tests/src/org/eclipse/linuxtools/systemtap/ui/tests/SystemtapTest.java
index a7f617bbd7..c2d413942b 100644
--- a/systemtap/org.eclipse.linuxtools.systemtap.ui.tests/src/org/eclipse/linuxtools/systemtap/ui/tests/SystemtapTest.java
+++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.tests/src/org/eclipse/linuxtools/systemtap/ui/tests/SystemtapTest.java
@@ -19,22 +19,22 @@ import org.junit.BeforeClass;
* Generic utilities for systemtap tests.
*/
public class SystemtapTest {
- public static boolean stapInstalled;
+ public static boolean stapInstalled;
- @BeforeClass
- public static void checkStapInstalled() throws IOException {
- stapInstalled = SystemtapTest.stapInstalled();
- }
+ @BeforeClass
+ public static void checkStapInstalled() throws IOException {
+ stapInstalled = SystemtapTest.stapInstalled();
+ }
- /**
- * Check that stap is installed
- *
- * @return true if stap is installed, false otherwise.
- * @throws IOException
- */
- protected static boolean stapInstalled() throws IOException {
- Process process = RuntimeProcessFactory.getFactory().exec(
- new String[] { "stap", "-V" }, null); //$NON-NLS-1$ //$NON-NLS-2$
- return (process != null);
- }
+ /**
+ * Check that stap is installed
+ *
+ * @return true if stap is installed, false otherwise.
+ * @throws IOException
+ */
+ protected static boolean stapInstalled() throws IOException {
+ Process process = RuntimeProcessFactory.getFactory().exec(
+ new String[] { "stap", "-V" }, null); //$NON-NLS-1$ //$NON-NLS-2$
+ return (process != null);
+ }
}

Back to the top