Skip to content

Commit

Permalink
Prefer java_import to include_class.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Zell committed Nov 4, 2011
1 parent 38b3a5c commit bd21b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fishwife/rack_servlet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bd21b5d

Please sign in to comment.