From 1652c78d30300aba7d69fd3c9263ee422ea39e56 Mon Sep 17 00:00:00 2001 From: murphy Date: Sun, 21 Sep 2008 17:16:08 +0000 Subject: Fixed the test for Java Scanner. --- test/scanners/java/jruby.expected.raydebug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/scanners/java/jruby.expected.raydebug b/test/scanners/java/jruby.expected.raydebug index e5c3491..d56328c 100644 --- a/test/scanners/java/jruby.expected.raydebug +++ b/test/scanners/java/jruby.expected.raydebug @@ -32546,7 +32546,7 @@ directive(public) type(class) class(RubyNil) directive(extends) ident(RubyObject */) annotation(@JRubyMethod)operator(()ident(name) operator(=) stringoperator(\)) directive(public) directive(static) ident(RubyFloat) ident(to_f)operator(()ident(IRubyObject) ident(recv)operator(\)) operator({) - keyword(return) ident(RubyFloat)operator(.)ident(newFloat)operator(()ident(recv)operator(.)ident(getRuntime)operator(()operator(\))operator(,) float(0.0)ident(D)operator(\))operator(;) + keyword(return) ident(RubyFloat)operator(.)ident(newFloat)operator(()ident(recv)operator(.)ident(getRuntime)operator(()operator(\))operator(,) float(0.0D)operator(\))operator(;) operator(}) comment(/** nil_to_s @@ -47630,7 +47630,7 @@ directive(public) type(class) class(RubyThread) directive(extends) ident(RubyObj operator(}) comment(// MRI behavior: value given in seconds; converted to Float; less) comment(// than or equal to zero returns immediately; returns nil) - ident(timeoutMillis) operator(=) operator(()type(long)operator(\))operator(()float(1000.0)ident(D) operator(*) ident(args)operator([)integer(0)operator(])operator(.)ident(convertToFloat)operator(()operator(\))operator(.)ident(getValue)operator(()operator(\))operator(\))operator(;) + ident(timeoutMillis) operator(=) operator(()type(long)operator(\))operator(()float(1000.0D) operator(*) ident(args)operator([)integer(0)operator(])operator(.)ident(convertToFloat)operator(()operator(\))operator(.)ident(getValue)operator(()operator(\))operator(\))operator(;) keyword(if) operator(()ident(timeoutMillis) operator(<=) integer(0)operator(\)) operator({) comment(// TODO: not sure that we should skip calling join(\) altogether.) comment(// Thread.join(\) has some implications for Java Memory Model, etc.) -- cgit v1.2.1