Browse files

Using java_import instead of import. Need with rake 0.9.0 #jruby

  • Loading branch information...
1 parent 56097c0 commit 993bd327d45c1e704f7702062be46181f5e3efbc @arunagw arunagw committed May 27, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 activesupport/lib/active_support/xml_mini/jdom.rb
View
12 activesupport/lib/active_support/xml_mini/jdom.rb
@@ -5,12 +5,12 @@
require 'active_support/core_ext/object/blank'
-import javax.xml.parsers.DocumentBuilder unless defined? DocumentBuilder
-import javax.xml.parsers.DocumentBuilderFactory unless defined? DocumentBuilderFactory
-import java.io.StringReader unless defined? StringReader
-import org.xml.sax.InputSource unless defined? InputSource
-import org.xml.sax.Attributes unless defined? Attributes
-import org.w3c.dom.Node unless defined? Node
+java_import javax.xml.parsers.DocumentBuilder unless defined? DocumentBuilder
+java_import javax.xml.parsers.DocumentBuilderFactory unless defined? DocumentBuilderFactory
+java_import java.io.StringReader unless defined? StringReader
+java_import org.xml.sax.InputSource unless defined? InputSource
+java_import org.xml.sax.Attributes unless defined? Attributes
+java_import org.w3c.dom.Node unless defined? Node
# = XmlMini JRuby JDOM implementation
module ActiveSupport

0 comments on commit 993bd32

Please sign in to comment.