Skip to content

Commit

Permalink
JRUBY-2372: Sample script java2.rb doesn't neccesarily open the corre…
Browse files Browse the repository at this point in the history
…ct file.

(Patch by Conrad Meyer)


git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@6430 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information
vvs committed Apr 8, 2008
1 parent a0a3e4b commit 9f05890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/java2.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require "java"

filename = "./samples/java2.rb"
filename = __FILE__
fr = java.io.FileReader.new filename
br = java.io.BufferedReader.new fr

Expand Down

0 comments on commit 9f05890

Please sign in to comment.