Skip to content

Commit

Permalink
Move iconv bits under org.jruby.ext.iconv.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Sep 12, 2011
1 parent bc21084 commit 4d7b234
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/org/jruby/Ruby.java
Original file line number Diff line number Diff line change
Expand Up @@ -1454,7 +1454,7 @@ private void initBuiltins() {
addLazyBuiltin("jruby_ext.jar", "jruby", "org.jruby.ext.jruby.JRubyLibrary");
addLazyBuiltin("jruby/util.rb", "jruby/util", "org.jruby.ext.jruby.JRubyUtilLibrary");
addLazyBuiltin("jruby/type.rb", "jruby/type", "org.jruby.ext.jruby.JRubyTypeLibrary");
addLazyBuiltin("iconv.jar", "iconv", "org.jruby.libraries.IConvLibrary");
addLazyBuiltin("iconv.jar", "iconv", "org.jruby.ext.iconv.IConvLibrary");
addLazyBuiltin("nkf.jar", "nkf", "org.jruby.ext.nkf.NKFLibrary");
addLazyBuiltin("stringio.jar", "stringio", "org.jruby.libraries.StringIOLibrary");
addLazyBuiltin("strscan.jar", "strscan", "org.jruby.libraries.StringScannerLibrary");
Expand Down
3 changes: 1 addition & 2 deletions src/org/jruby/ext/iconv/IConvLibrary.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the CPL, the GPL or the LGPL.
***** END LICENSE BLOCK *****/
package org.jruby.libraries;
package org.jruby.ext.iconv;

import java.io.IOException;

import org.jruby.Ruby;
import org.jruby.RubyIconv;
import org.jruby.runtime.load.Library;

public class IConvLibrary implements Library {
Expand Down
11 changes: 10 additions & 1 deletion src/org/jruby/ext/iconv/RubyIconv.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the CPL, the GPL or the LGPL.
***** END LICENSE BLOCK *****/
package org.jruby;
package org.jruby.ext.iconv;

import java.nio.ByteBuffer;
import java.nio.CharBuffer;
Expand All @@ -41,6 +41,15 @@
import java.nio.charset.UnsupportedCharsetException;
import org.jcodings.Encoding;
import org.jcodings.EncodingDB;
import org.jruby.Ruby;
import org.jruby.RubyArray;
import org.jruby.RubyClass;
import org.jruby.RubyException;
import org.jruby.RubyHash;
import org.jruby.RubyModule;
import org.jruby.RubyNumeric;
import org.jruby.RubyObject;
import org.jruby.RubyString;

import org.jruby.anno.JRubyMethod;
import org.jruby.anno.JRubyModule;
Expand Down

0 comments on commit 4d7b234

Please sign in to comment.