From eeeeb0efadcd65a35ca4b22aa5403a600505fdc8 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Tue, 6 May 2014 10:11:19 +0200 Subject: [PATCH] Don't track the generated Java lexer. --- .gitignore | 1 + ext/liboga/org/liboga/xml/Lexer.java | 27 --------------------------- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 ext/liboga/org/liboga/xml/Lexer.java diff --git a/.gitignore b/.gitignore index e7440d6..02b6814 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ profile/samples/*/*.txt tmp ext/liboga/lexer.c +ext/liboga/org/liboga/xml/Lexer.java diff --git a/ext/liboga/org/liboga/xml/Lexer.java b/ext/liboga/org/liboga/xml/Lexer.java deleted file mode 100644 index e8b79cd..0000000 --- a/ext/liboga/org/liboga/xml/Lexer.java +++ /dev/null @@ -1,27 +0,0 @@ -package org.liboga.xml; - -import java.io.IOException; - -import org.jruby.Ruby; -import org.jruby.RubyModule; -import org.jruby.RubyClass; -import org.jruby.RubyObject; -import org.jruby.anno.JRubyClass; -import org.jruby.anno.JRubyMethod; -import org.jruby.runtime.ThreadContext; -import org.jruby.runtime.builtin.IRubyObject; - -@JRubyClass(name="Oga::XML::Lexer", parent="Object") -public class Lexer extends RubyObject -{ - public Lexer(Ruby runtime, RubyClass klass) - { - super(runtime, klass); - } - - @JRubyMethod - public IRubyObject advance_native(ThreadContext context) - { - return context.getRuntime().getNil(); - } -}