Skip to content
Browse files

Merge pull request #1251 from arunagw/java_import

Using java_import instead of import. Need to do this with rake 0.9.0 #jruby
  • Loading branch information...
2 parents dea4035 + 89da0d3 commit 68d5abeaffd1006b59d0a5dcee666e168d1c4c78 @tenderlove tenderlove committed
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 68d5abe

Please sign in to comment.
Something went wrong with that request. Please try again.