Permalink
Browse files

Prefer java_import to include_class.

  • Loading branch information...
1 parent 38b3a5c commit bd21b5d795e29abc44006125e8aa8b087343c507 Adam Zell committed Nov 4, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/fishwife/rack_servlet.rb
@@ -28,8 +28,8 @@ module Fishwife
java_import 'javax.servlet.http.HttpServlet'
class RackServlet < HttpServlet
- include_class java.io.FileInputStream
- include_class org.eclipse.jetty.continuation.ContinuationSupport
+ java_import 'java.io.FileInputStream'
+ java_import 'org.eclipse.jetty.continuation.ContinuationSupport'
def initialize( app )
super()

0 comments on commit bd21b5d

Please sign in to comment.