Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 993bd327d45c1e704f7702062be46181f5e3efbc 1 parent 56097c0
Arun Agrawal authored May 27, 2011
12  activesupport/lib/active_support/xml_mini/jdom.rb
@@ -5,12 +5,12 @@
5 5
 
6 6
 require 'active_support/core_ext/object/blank'
7 7
 
8  
-import javax.xml.parsers.DocumentBuilder unless defined? DocumentBuilder
9  
-import javax.xml.parsers.DocumentBuilderFactory unless defined? DocumentBuilderFactory
10  
-import java.io.StringReader unless defined? StringReader
11  
-import org.xml.sax.InputSource unless defined? InputSource
12  
-import org.xml.sax.Attributes unless defined? Attributes
13  
-import org.w3c.dom.Node unless defined? Node
  8
+java_import javax.xml.parsers.DocumentBuilder unless defined? DocumentBuilder
  9
+java_import javax.xml.parsers.DocumentBuilderFactory unless defined? DocumentBuilderFactory
  10
+java_import java.io.StringReader unless defined? StringReader
  11
+java_import org.xml.sax.InputSource unless defined? InputSource
  12
+java_import org.xml.sax.Attributes unless defined? Attributes
  13
+java_import org.w3c.dom.Node unless defined? Node
14 14
 
15 15
 # = XmlMini JRuby JDOM implementation
16 16
 module ActiveSupport

0 notes on commit 993bd32

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