Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 993bd327d45c1e704f7702062be46181f5e3efbc 1 parent 56097c0
Arun Agrawal arunagw authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 activesupport/lib/active_support/xml_mini/jdom.rb
12 activesupport/lib/active_support/xml_mini/jdom.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.