Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2009-09-02 20:30:27 +0000
committereutarass2009-09-02 20:30:27 +0000
commit63c23ca255c52bd0ca6c29fd4f3758cdef1da49a (patch)
tree383f60e29ff169e42ee13c6dcc402c077fbb4bde /plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestEchoFP.java
parentd1598d1e38275606cade2dbcfed327bf9593ff5f (diff)
downloadorg.eclipse.tcf-63c23ca255c52bd0ca6c29fd4f3758cdef1da49a.tar.gz
org.eclipse.tcf-63c23ca255c52bd0ca6c29fd4f3758cdef1da49a.tar.xz
org.eclipse.tcf-63c23ca255c52bd0ca6c29fd4f3758cdef1da49a.zip
Code cleanup: trailing spaces are removed from the source line
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestEchoFP.java')
-rw-r--r--plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestEchoFP.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestEchoFP.java b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestEchoFP.java
index 358c22fd9..28ee0323b 100644
--- a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestEchoFP.java
+++ b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestEchoFP.java
@@ -21,7 +21,7 @@ public class TestEchoFP implements ITCFTest, IDiagnostics.DoneEchoFP {
this.test_suite = test_suite;
diag = channel.getRemoteService(IDiagnostics.class);
}
-
+
public void start() {
if (diag == null) {
test_suite.done(this, null);
@@ -30,18 +30,18 @@ public class TestEchoFP implements ITCFTest, IDiagnostics.DoneEchoFP {
for (int i = 0; i < 32; i++) sendMessage();
}
}
-
+
private void sendMessage() {
BigDecimal n = BigDecimal.valueOf(rnd.nextInt(), rnd.nextInt(61) - 30);
msgs.add(n);
diag.echoFP(n, this);
count++;
}
-
+
private boolean cmp(double x, double y) {
return (float)x == (float)y;
}
-
+
public void doneEchoFP(IToken token, Throwable error, BigDecimal b) {
BigDecimal s = msgs.removeFirst();
if (!test_suite.isActive(this)) return;

Back to the top