1 31 package org.jruby.parser; 32 33 37 public class RubyParserPool { 38 private static RubyParserPool instance = new RubyParserPool(); 39 40 43 private RubyParserPool() { 44 } 45 46 public static RubyParserPool getInstance() { 47 return instance; 48 } 49 50 public DefaultRubyParser borrowParser() { 51 return new DefaultRubyParser(); 52 } 53 54 public void returnParser(DefaultRubyParser parser) { 55 } 56 } 57 | Popular Tags |