bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,368
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,369
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,370
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,371
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,372
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,373
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,374
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,375
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,376
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,377
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,378
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,379
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,380
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,381
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub...
3,235,382
public void init() { int state; if (initialized) { return; } initialized = true; topFrame = getRubyFrame(); rubyIter = new Iter(); // rb_origenviron = environ; // Init_stack(0); // Init_heap(); getRuby().getRubyScope().push...
public void init() { int state; if (initialized) { return; } initialized = true; topFrame = getRubyFrame(); rubyIter = new Iter(); // rb_origenviron = environ; // Init_stack(0); // Init_heap(); getRuby().getRubyScope().push...
3,235,383
private void popClass() { ruby_class = (RubyModule)classStack.pop(); }
private void popClass() { ruby.setRubyClass((RubyModule)classStack.pop()); }
3,235,384
public void pushClass() { classStack.push(ruby_class); }
public void pushClass() { classStack.push(ruby.getRubyClass()); }
3,235,385
public RubyObject setupModule(RubyModule module, NODE n) { NODE node = n; // String file = ruby_sourcefile; // int line = ruby_sourceline; // TMP_PROTECT; Frame frame = getRubyFrame(); frame.setTmp(getRubyFrame()); rubyFrame = frame; pushClass(...
public RubyObject setupModule(RubyModule module, NODE n) { NODE node = n; // String file = ruby_sourcefile; // int line = ruby_sourceline; // TMP_PROTECT; Frame frame = getRubyFrame(); frame.setTmp(getRubyFrame()); rubyFrame = frame; pushClass(...
3,235,386
public RubyObject setupModule(RubyModule module, NODE n) { NODE node = n; // String file = ruby_sourcefile; // int line = ruby_sourceline; // TMP_PROTECT; Frame frame = getRubyFrame(); frame.setTmp(getRubyFrame()); rubyFrame = frame; pushClass(...
public RubyObject setupModule(RubyModule module, NODE n) { NODE node = n; // String file = ruby_sourcefile; // int line = ruby_sourceline; // TMP_PROTECT; Frame frame = getRubyFrame(); frame.setTmp(getRubyFrame()); rubyFrame = frame; pushClass(...
3,235,387
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = ruby.getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (rubyBlock == null)) { throw new RuntimeException("yield called out of block"); } Ruby...
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = ruby.getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (rubyBlock == null)) { throw new RuntimeException("yield called out of block"); } Ruby...
3,235,388
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = ruby.getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (rubyBlock == null)) { throw new RuntimeException("yield called out of block"); } Ruby...
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = ruby.getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (rubyBlock == null)) { throw new RuntimeException("yield called out of block"); } Ruby...
3,235,389
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = ruby.getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (rubyBlock == null)) { throw new RuntimeException("yield called out of block"); } Ruby...
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = ruby.getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (rubyBlock == null)) { throw new RuntimeException("yield called out of block"); } Ruby...
3,235,390
protected IRuby createRuby(URL url) throws IOException { if (url == null) { throw new NullPointerException("url was null"); } InputStream in = url.openStream(); NormalizedFile f = (NormalizedFile)NormalizedFile.createTempFile("rtc", ".rb"); FileOutputStream out = new Fi...
protected IRuby createRuby(URL url) throws IOException { if (url == null) { throw new NullPointerException("url was null"); } InputStream in = url.openStream(); NormalizedFile f = (NormalizedFile)NormalizedFile.createTempFile("rtc", ".rb"); FileOutputStream out = new Fi...
3,235,391
OrCondition(Condition l, Condition r) { _l = l; _r = r; }
OrCondition(Condition l, Condition r) { _l = l; _r = r; }
3,235,392
public final Object build(BuildContext pc) throws BuildException { Object l, r; l = _l.build(pc); r = _l.build(pc); return ((l instanceof Condition) && (r instanceof Condition)) ? (Object) new OrCondition((Condition) l, (Condition) r) : (l instanceof Condition) ? ...
public final Object build(BuildContext pc) throws BuildException { Object l, r; l = _l.build(pc); r = _r.build(pc); return ((l instanceof Condition) && (r instanceof Condition)) ? (Object) new OrCondition((Condition) l, (Condition) r) : (l instanceof Condition) ? ...
3,235,394
public void applyBeanPropertyValues(Object target, String beanName) { this.getAutowireCapableBeanFactory(). applyBeanPropertyValues(target,beanName); }
public void applyBeanPropertyValues( Object target, Class<? extends ServiceInterface> beanInterface) { this.getAutowireCapableBeanFactory(). applyBeanPropertyValues(target,beanName); }
3,235,396
public void applyBeanPropertyValues(Object target, String beanName) { this.getAutowireCapableBeanFactory(). applyBeanPropertyValues(target,beanName); }
public void applyBeanPropertyValues(Object target, String beanName) { this.getAutowireCapableBeanFactory(). applyBeanPropertyValues(target,"internal:"+beanInterface.getName()); }
3,235,397
public SoundPanel() { setLayout(new GridBagLayout()); // Add ResourceUtils ResourceUtils.resButton(incomingMessageBox, "&Play sound when new message arrives"); ResourceUtils.resButton(outgoingMessageBox, "&Play sound when a message is sent"); ResourceUtils....
public SoundPanel() { setLayout(new GridBagLayout()); // Add ResourceUtils ResourceUtils.resButton(incomingMessageBox, "&Play sound when new message arrives"); ResourceUtils.resButton(outgoingMessageBox, "&Play sound when a message is sent"); ResourceUtils....
3,235,398
public static void fillAnnotationCriteria(Criteria c) { //c.addWantedField("id"); c.addWantedField("Content"); c.addWantedField("module_execution"); c.addWantedField("module_execution", "timestamp"); c.addWantedField("module_execution", "experimenter"); //Specify which f...
public static void fillAnnotationCriteria(Criteria c) { //c.addWantedField("id"); c.addWantedField("Content"); c.addWantedField("module_execution"); c.addWantedField("module_execution", "timestamp"); c.addWantedField("module_execution", "experimenter"); //Specify which f...
3,235,400
private void runLevel2( Class klass ) { runLevel2( klass, new PojoOptions() ); }
private void runLevel2( Class klass ) { runLevel( klass, level2objects, new PojoOptions() ); }
3,235,401
private void runLevel2WithLeaves( Class klass ) { runLevel2( klass, new PojoOptions().leaves() ); }
private void runLevel2WithLeaves( Class klass ) { runLevel( klass, level2objects, new PojoOptions().leaves() ); }
3,235,402
public void test_owner_filter() throws Exception { PojoOptions po = new PojoOptions().exp( 10000L ); QueryParameter filterForUser = PojosQP.options( po.map() ); QueryParameter noFilter = PojosQP.options( null ); QueryParameter ids = PojosQP.ids(Arrays.asList( 9990L )); ...
public void test_owner_filter() throws Exception { PojoOptions po = new PojoOptions().exp( 10000L ); QueryParameter filterForUser = PojosQP.options( po.map() ); QueryParameter noFilter = PojosQP.options( null ); QueryParameter ids = PojosQP.ids(Arrays.asList( 9990L )); ...
3,235,403
public void test_owner_filter() throws Exception { PojoOptions po = new PojoOptions().exp( 10000L ); QueryParameter filterForUser = PojosQP.options( po.map() ); QueryParameter noFilter = PojosQP.options( null ); QueryParameter ids = PojosQP.ids(Arrays.asList( 9990L )); ...
public void test_owner_filter() throws Exception { PojoOptions po = new PojoOptions().exp( 10000L ); QueryParameter filterForUser = PojosQP.options( po.map() ); QueryParameter noFilter = PojosQP.options( null ); ids = PojosQP.ids(Arrays.asList( 9990L )); q= new...
3,235,404
public void ok(Event e) { DisplayedNote dn = dd.getTree().getSelectedNote(); Note note = dn.getNote(); DisplayedNote newDn; if (after) { Note newNote = new Note(addNoteDialog.getName(), note.getHolder(), note.getIndex() + 1, ""); newDn = new DisplayedNote(dn.getHolder(), dd.getTree(),...
public void ok(Event e) { DisplayedNote dn = dd.getTree().getSelectedNote(); Note note = dn.getNote(); DisplayedNote newDn; if (after) { Note newNote = new Note(addNoteDialog.getName(), note.getHolder(), note.getIndex() + 1, ""); newDn = new DisplayedNote(dn.getHolder(), dd.getTree(),...
3,235,406
public void ok(Event e) { DisplayedNote dn = dd.getTree().getSelectedNote(); Note note = dn.getNote(); DisplayedNote newDn; if (after) { Note newNote = new Note(addNoteDialog.getName(), note.getHolder(), note.getIndex() + 1, ""); newDn = new DisplayedNote(dn.getHolder(), dd.getTree(),...
public void ok(Event e) { DisplayedNote dn = dd.getTree().getSelectedNote(); Note note = dn.getNote(); DisplayedNote newDn; if (after) { Note newNote = new Note(addNoteDialog.getName(), note.getHolder(), note.getIndex() + 1, ""); newDn = new DisplayedNote(dn.getHolder(), dd.getTree(),...
3,235,407
public void ok(Event e) { DisplayedNote dn = dd.getTree().getSelectedNote(); Note note = dn.getNote(); DisplayedNote newDn; if (after) { Note newNote = new Note(addNoteDialog.getName(), note.getHolder(), note.getIndex() + 1, ""); newDn = new DisplayedNote(dn.getHolder(), dd.getTree(),...
public void ok(Event e) { DisplayedNote dn = dd.getTree().getSelectedNote(); Note note = dn.getNote(); DisplayedNote newDn; if (after) { Note newNote = new Note(addNoteDialog.getName(), note.getHolder(), note.getIndex() + 1, ""); newDn = new DisplayedNote(dn.getHolder(), dd.getTree(),...
3,235,408
public void ok(Event e) { DisplayedNote dn = dd.getTree().getSelectedNote(); Note note = dn.getNote(); DisplayedNote newDn; if (after) { Note newNote = new Note(addNoteDialog.getName(), note.getHolder(), note.getIndex() + 1, ""); newDn = new DisplayedNote(dn.getHolder(), dd.getTree(),...
public void ok(Event e) { DisplayedNote dn = dd.getTree().getSelectedNote(); Note note = dn.getNote(); DisplayedNote newDn; if (after) { Note newNote = new Note(addNoteDialog.getName(), note.getHolder(), note.getIndex() + 1, ""); newDn = new DisplayedNote(dn.getHolder(), dd.getTree(),...
3,235,409
public void initialize(BSFManager mgr, String lang, Vector declaredBeans) throws BSFException { super.initialize(mgr, lang, declaredBeans); runtime = Ruby.getDefaultInstance(); for (int i = 0, size = declaredBeans.size(); i < size; i++) { BSFDeclaredBean bean = (BSFDeclaredBean) decl...
runtime.getGlobalVariables().defineReadonly("$bsf", new FunctionsGlobalVariable(runtime, new BSFFunctions(mgr, this))); runtime.getGlobalVariables().defineReadonly("$bsf", new FunctionsGlobalVariable(runtime, new BSFFunctions(mgr, this))); runtime.getGlobalVariables().defineReadonly("$bsf", new FunctionsGlobalVariable(...
3,235,411
public static IRubyObject exit(IRubyObject recv, IRubyObject[] args) { recv.getRuntime().secure(4); int status = 0; if (args.length > 0) { status = RubyNumeric.fix2int(args[0]); } throw new SystemExit(recv.getRuntime(), status); }
public static IRubyObject exit(IRubyObject recv, IRubyObject[] args) { recv.getRuntime().secure(4); int status = 1; if (args.length > 0) { status = RubyNumeric.fix2int(args[0]); } throw new SystemExit(recv.getRuntime(), status); }
3,235,413
public static IRubyObject exit(IRubyObject recv, IRubyObject[] args) { recv.getRuntime().secure(4); int status = 0; if (args.length > 0) { status = RubyNumeric.fix2int(args[0]); } throw new SystemExit(recv.getRuntime(), status); }
public static IRubyObject exit(IRubyObject recv, IRubyObject[] args) { recv.getRuntime().secure(4); int status = 0; if (args.length > 0) { RubyObject argument = (RubyObject)args[0]; if (argument instanceof RubyFixnum) { status = RubyNumeric.fix2int(argument); } else { status = argume...
3,235,414
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = (RubyId)_key; RubyObject value = (RubyObject)_value; FindClassPathResult res = (FindClassPathResult)_res; RubyString path = null; ...
public int execute(Object _key, Object _value, Object _res) { // Cast the values. RubyId key = null; try { key = (RubyId)_key; } catch (ClassCastException ccExcptn) { key = getRuby().intern((String)_key); System.out.println("key isn't ID: \"" + _key + "\""); } if (!(_value instanceof RubyO...
3,235,415
public RubyString getClassname() { RubyString path = null; RubyModule rbModule = this; while (rbModule.isIncluded() || rbModule.isSingleton()) { rbModule = ((RubyClass)rbModule).getSuperClass(); } if (rbModule == null) { rbModule = getRuby().g...
public RubyString getClassname() { RubyString path = null; RubyModule rbModule = this; while (rbModule.isIncluded() || rbModule.isSingleton()) { rbModule = ((RubyClass)rbModule).getSuperClass(); } if (rbModule == null) { rbModule = getRuby().g...
3,235,416
public RubyString getClassname() { RubyString path = null; RubyModule rbModule = this; while (rbModule.isIncluded() || rbModule.isSingleton()) { rbModule = ((RubyClass)rbModule).getSuperClass(); } if (rbModule == null) { rbModule = getRuby().g...
public RubyString getClassname() { RubyString path = null; RubyModule rbModule = this; while (rbModule.isIncluded() || rbModule.isSingleton()) { rbModule = ((RubyClass)rbModule).getSuperClass(); } if (rbModule == null) { rbModule = getRuby().g...
3,235,417
public RubyString getClassname() { RubyString path = null; RubyModule rbModule = this; while (rbModule.isIncluded() || rbModule.isSingleton()) { rbModule = ((RubyClass)rbModule).getSuperClass(); } if (rbModule == null) { rbModule = getRuby().g...
public RubyString getClassname() { RubyString path = null; RubyModule rbModule = this; while (rbModule.isIncluded() || rbModule.isSingleton()) { rbModule = ((RubyClass)rbModule).getSuperClass(); } if (rbModule == null) { rbModule = getRuby().g...
3,235,418
public void setClassPath(RubyModule under, String name) { RubyString value = null; if (under == getRuby().getObjectClass()) { value = RubyString.m_newString(getRuby(), name); } else { value = (RubyString)under.getClassPath().m_dup(); value.m_cat("::"); ...
public void setClassPath(RubyModule under, String name) { RubyString value = null; if (under == getRuby().getObjectClass()) { value = RubyString.m_newString(getRuby(), name); } else { value = (RubyString)under.getClassPath().m_dup(); value.m_cat("::"); ...
3,235,419
public void setName(RubyId id) { getInstanceVariables().put("__classid__", id); }
public void setName(RubyId id) { getInstanceVariables().put(getRuby().intern("__classid__"), id); }
3,235,420
public void loadTree(Note root) { tree.removeAll(); new NoteTreeNode(tree, root); init(); }
public void loadTree(Note root) { tree.removeAll(); new NoteTreeNode(tree, root); init(); }
3,235,421
public void testAndForTheFunOfItLetsGetTheREWorking() throws Exception { Pixels pix = (Pixels) iQuery.findAll(Pixels.class,null).get(0); IPixels pixDB = factory.getPixelsService(); RenderingEngine re = factory.createRenderingEngine(); PlaneDef pd = new PlaneDef(0,0); p...
public void testAndForTheFunOfItLetsGetTheREWorking() throws Exception { Pixels pix = (Pixels) iQuery.findAll(Pixels.class,null).get(0); IPixels pixDB = factory.getPixelsService(); RenderingEngine re = factory.createRenderingEngine(); PlaneDef pd = new PlaneDef(0,0); p...
3,235,423
public void test_annotating_a_dataset() throws Exception { String name = " two rows "+System.currentTimeMillis(); String text = " two rows content "+System.currentTimeMillis(); String desc = " new description "+System.currentTimeMillis(); // Setup: original is our in-memory, u...
public void test_annotating_a_dataset() throws Exception { String name = " two rows "+System.currentTimeMillis(); String text = " two rows content "+System.currentTimeMillis(); String desc = " new description "+System.currentTimeMillis(); // Setup: original is our in-memory, u...
3,235,424
public void test_annotating_a_dataset_cglib_issue() throws Exception { // Setup: original is our in-memory, used every where object. Dataset original = new Dataset(); original.setName( " two rows " ); original = (Dataset) iPojos.createDataObject( original, null ); DatasetData a...
public void test_annotating_a_dataset_cglib_issue() throws Exception { // Setup: original is our in-memory, used every where object. Dataset original = new Dataset(); original.setName( " two rows " ); original = (Dataset) iPojos.createDataObject( original, null ); DatasetData a...
3,235,425
public void test_counts() throws Exception { Map counts; counts = getCounts( Dataset.class, new Long(7770L), null ); assertNull( counts ); PojoOptions po = new PojoOptions().leaves(); counts = getCounts( Dataset.class, new Long(7770L), po.map() ); assertTrue( cou...
public void test_counts() throws Exception { Map counts; counts = getCounts( Dataset.class, fixture.du7770.getId(), null ); assertNull( counts ); PojoOptions po = new PojoOptions().leaves(); counts = getCounts( Dataset.class, new Long(7770L), po.map() ); assertTr...
3,235,426
public void test_counts() throws Exception { Map counts; counts = getCounts( Dataset.class, new Long(7770L), null ); assertNull( counts ); PojoOptions po = new PojoOptions().leaves(); counts = getCounts( Dataset.class, new Long(7770L), po.map() ); assertTrue( cou...
public void test_counts() throws Exception { Map counts; counts = getCounts( Dataset.class, new Long(7770L), null ); assertNull( counts ); PojoOptions po = new PojoOptions().leaves(); counts = getCounts( Dataset.class, fixture.du7770.getId(), po.map() ); assertTr...
3,235,427
public void test_counts() throws Exception { Map counts; counts = getCounts( Dataset.class, new Long(7770L), null ); assertNull( counts ); PojoOptions po = new PojoOptions().leaves(); counts = getCounts( Dataset.class, new Long(7770L), po.map() ); assertTrue( cou...
public void test_counts() throws Exception { Map counts; counts = getCounts( Dataset.class, new Long(7770L), null ); assertNull( counts ); PojoOptions po = new PojoOptions().leaves(); counts = getCounts( Dataset.class, new Long(7770L), po.map() ); assertTrue( cou...
3,235,428
public void test_getCollectionCount() throws Exception { Long id = new Long(5551); Map m = iPojos.getCollectionCount( Image.class.getName(), Image.ANNOTATIONS, Collections.singleton(id), null); Integer count = (Integer) m.get(id...
public void test_getCollectionCount() throws Exception { Long id = fixture.iu5551.getId(); Map m = iPojos.getCollectionCount( Image.class.getName(), Image.ANNOTATIONS, Collections.singleton(id), null); Integer count = (Integer) ...
3,235,429
public void test_getCollectionCount() throws Exception { Long id = new Long(5551); Map m = iPojos.getCollectionCount( Image.class.getName(), Image.ANNOTATIONS, Collections.singleton(id), null); Integer count = (Integer) m.get(id...
public void test_getCollectionCount() throws Exception { Long id = new Long(5551); Map m = iPojos.getCollectionCount( Image.class.getName(), Image.ANNOTATIONS, Collections.singleton(id), null); Integer count = (Integer) m.get(id...
3,235,430
public void test_getUserImages() throws Exception { try { results = iPojos.getUserImages(null); fail("APIUsage: experimenter/group option must be set."); } catch (ApiUsageException e) { // ok. } catch (EJBException ejbe) { log.warn("Should not be h...
public void test_getUserImages() throws Exception { try { results = iPojos.getUserImages(null); fail("APIUsage: experimenter/group option must be set."); } catch (ApiUsageException e) { // ok. } catch (EJBException ejbe) { log.warn("Should not be h...
3,235,431
public void test_retrieveCollection() throws Exception { Image i = (Image) iQuery.get(Image.class,5551); i.unload(); Set annotations = (Set) iPojos.retrieveCollection(i,Image.ANNOTATIONS,null); assertTrue(annotations.size() > 0); }
public void test_retrieveCollection() throws Exception { Image i = (Image) iQuery.get(Image.class,fixture.iu5551.getId()); i.unload(); Set annotations = (Set) iPojos.retrieveCollection(i,Image.ANNOTATIONS,null); assertTrue(annotations.size() > 0); }
3,235,432
public void test_unloaded_ds_in_ui() throws Exception {// Project p = new Project(); p.setName("ui");// Dataset d = new Dataset(); d.setName("ui");// Image i = new Image(); i.setName("ui");// p.linkDataset( d );// d.linkImage( i );// // ProjectData pd = new Projec...
public void test_unloaded_ds_in_ui() throws Exception {// Project p = new Project(); p.setName("ui");// Dataset d = new Dataset(); d.setName("ui");// Image i = new Image(); i.setName("ui");// p.linkDataset( d );// d.linkImage( i );// // ProjectData pd = new Projec...
3,235,434
public void test_unloaded_ds_in_ui() throws Exception {// Project p = new Project(); p.setName("ui");// Dataset d = new Dataset(); d.setName("ui");// Image i = new Image(); i.setName("ui");// p.linkDataset( d );// d.linkImage( i );// // ProjectData pd = new Projec...
public void test_unloaded_ds_in_ui() throws Exception {// Project p = new Project(); p.setName("ui");// Dataset d = new Dataset(); d.setName("ui");// Image i = new Image(); i.setName("ui");// p.linkDataset( d );// d.linkImage( i );// // ProjectData pd = new Projec...
3,235,435
public void test_unloaded_ds_in_ui() throws Exception {// Project p = new Project(); p.setName("ui");// Dataset d = new Dataset(); d.setName("ui");// Image i = new Image(); i.setName("ui");// p.linkDataset( d );// d.linkImage( i );// // ProjectData pd = new Projec...
public void test_unloaded_ds_in_ui() throws Exception {// Project p = new Project(); p.setName("ui");// Dataset d = new Dataset(); d.setName("ui");// Image i = new Image(); i.setName("ui");// p.linkDataset( d );// d.linkImage( i );// // ProjectData pd = new Projec...
3,235,436
public InProcessScript(String[] argArray, InputStream in, PrintStream out, PrintStream err) { this.argArray = argArray; this.in = in; this.out = out; this.err = err; }
public InProcessScript(String[] argArray, InputStream in, PrintStream out, PrintStream err, File dir) { this.argArray = argArray; this.in = in; this.out = out; this.err = err; }
3,235,437
public void run() { result = new Main(in, out, err).run(argArray); }
public void run() { String oldDir = System.getProperty("user.dir"); try { System.setProperty("user.dir", dir.getAbsolutePath()); result = new Main(in, out, err).run(argArray); } finally { System.setProperty("user.dir", oldDir); } }
3,235,439
public static int runInShell(IRuby runtime, IRubyObject[] rawArgs, OutputStream output) { try { // startup scripts set jruby.shell to /bin/sh for Unix, cmd.exe for Windows String shell = System.getProperty("jruby.shell"); rawArgs[0] = runtime.newString(repairDirSeps(rawArgs[0...
public static int runInShell(IRuby runtime, IRubyObject[] rawArgs, OutputStream output) { try { // startup scripts set jruby.shell to /bin/sh for Unix, cmd.exe for Windows String shell = System.getProperty("jruby.shell"); rawArgs[0] = runtime.newString(repairDirSeps(rawArgs[0...
3,235,440
public static int runInShell(IRuby runtime, IRubyObject[] rawArgs, OutputStream output) { try { // startup scripts set jruby.shell to /bin/sh for Unix, cmd.exe for Windows String shell = System.getProperty("jruby.shell"); rawArgs[0] = runtime.newString(repairDirSeps(rawArgs[0...
public static int runInShell(IRuby runtime, IRubyObject[] rawArgs, OutputStream output) { try { // startup scripts set jruby.shell to /bin/sh for Unix, cmd.exe for Windows String shell = System.getProperty("jruby.shell"); rawArgs[0] = runtime.newString(repairDirSeps(rawArgs[0...
3,235,441
public static int runInShell(IRuby runtime, IRubyObject[] rawArgs, OutputStream output) { try { // startup scripts set jruby.shell to /bin/sh for Unix, cmd.exe for Windows String shell = System.getProperty("jruby.shell"); rawArgs[0] = runtime.newString(repairDirSeps(rawArgs[0...
public static int runInShell(IRuby runtime, IRubyObject[] rawArgs, OutputStream output) { try { // startup scripts set jruby.shell to /bin/sh for Unix, cmd.exe for Windows String shell = System.getProperty("jruby.shell"); rawArgs[0] = runtime.newString(repairDirSeps(rawArgs[0...
3,235,442
public static int runInShell(IRuby runtime, IRubyObject[] rawArgs, OutputStream output) { try { // startup scripts set jruby.shell to /bin/sh for Unix, cmd.exe for Windows String shell = System.getProperty("jruby.shell"); rawArgs[0] = runtime.newString(repairDirSeps(rawArgs[0...
public static int runInShell(IRuby runtime, IRubyObject[] rawArgs, OutputStream output) { try { // startup scripts set jruby.shell to /bin/sh for Unix, cmd.exe for Windows String shell = System.getProperty("jruby.shell"); rawArgs[0] = runtime.newString(repairDirSeps(rawArgs[0...
3,235,443
public static void main(String args[]) { //@START int n = Integer.parseInt(args[0]); int result = 0; for (int i = 0; i < n; i++) { result = test_lists(); } System.out.println(result); //@END }
public static void main(String args[]) { //@START int n = Integer.parseInt(args[0]); int result = 0; for (int i = 0; i < n; i++) { result = test_lists(); } System.out.println(result); //@END }
3,235,444
void paintLensImage(double f, Point p, int lensWidth, boolean painting, Color c) { xLens = p.x-lensWidth/2; yLens = p.y-lensWidth/2; int w = (int) (lensWidth/f); xTopCorner = p.x-w; yTopCorner = p.y-w; BufferedImage img = ImageFactory.getI...
void paintLensImage(double f, Point p, int lensWidth, boolean painting, Color c) { xLens = p.x-lensWidth/2; yLens = p.y-lensWidth/2; int w = (int) (lensWidth/f); xTopCorner = p.x-w; yTopCorner = p.y-w; BufferedImage img = ImageFactory.getI...
3,235,448
ImageCanvasMng(ImageCanvas view) { this.view = view; width = ViewerUIF.DEFAULT_WIDTH; magFactor = ViewerUIF.DEFAULT_MAG; drawingArea = new Rectangle(); onOff = true; pin = false; painting = false; attachListeners(); }
ImageCanvasMng(ImageCanvas view, ViewerCtrl control) { this.view = view; width = ViewerUIF.DEFAULT_WIDTH; magFactor = ViewerUIF.DEFAULT_MAG; drawingArea = new Rectangle(); onOff = true; pin = false; painting = false; attachListeners(); }
3,235,449
void setDrawingArea(int x, int y, int w, int h) { //drawingArea.setBounds(x-width, y-width, w-2*width, h-2*width); drawingArea.setBounds(x+width/2, y+width/2, w-width, h-width); }
voidsetDrawingArea(intx,inty,intw,inth){//drawingArea.setBounds(x-width,y-width,w-2*width,h-2*width);drawingArea.setBounds(x+width/2,y+width/2,w-width,h-width);}
3,235,451
public void actionPerformed(ActionEvent e) { RosterDialog dialog = new RosterDialog(); String jid = (String)resultsTable.getValueAt(row, 0); TableColumn column = null; try { ...
public void actionPerformed(ActionEvent e) { RosterDialog dialog = new RosterDialog(); String jid = (String)resultsTable.getValueAt(row, 0); TableColumn column = null; try { ...
3,235,453
public void actionPerformed(ActionEvent e) { RosterDialog dialog = new RosterDialog(); String jid = (String)resultsTable.getValueAt(row, 0); TableColumn column = null; try { ...
public void actionPerformed(ActionEvent e) { RosterDialog dialog = new RosterDialog(); String jid = (String)resultsTable.getValueAt(row, 0); TableColumn column = null; try { ...
3,235,454
public void actionPerformed(ActionEvent e) { RosterDialog dialog = new RosterDialog(); String jid = (String)resultsTable.getValueAt(row, 0); TableColumn column = null; try { ...
public void actionPerformed(ActionEvent e) { RosterDialog dialog = new RosterDialog(); String jid = (String)resultsTable.getValueAt(row, 0); TableColumn column = null; try { ...
3,235,455
public void actionPerformed(ActionEvent e) { openChatRoom(row); }
public void actionPerformed(ActionEvent e) { openChatRoom(row); }
3,235,456
public void actionPerformed(ActionEvent e) { VCardManager vcardSupport = SparkManager.getVCardManager(); String jid = (String)resultsTable.getValueAt(row, 0); vcardSupport.viewProfile(jid, resultsTable); ...
public void actionPerformed(ActionEvent e) { VCardManager vcardSupport = SparkManager.getVCardManager(); String jid = (String)resultsTable.getValueAt(row, 0); vcardSupport.viewProfile(jid, resultsTable); ...
3,235,457
public void showUsersFound(ReportedData data) { List columnList = new ArrayList(); Iterator columns = data.getColumns(); while (columns.hasNext()) { ReportedData.Column column = (ReportedData.Column)columns.next(); String label = column.getLabel(); columnList.ad...
public void showUsersFound(ReportedData data) { List columnList = new ArrayList(); Iterator columns = data.getColumns(); while (columns.hasNext()) { ReportedData.Column column = (ReportedData.Column)columns.next(); String label = column.getLabel(); columnList.ad...
3,235,458
public void mouseReleased(MouseEvent e) { if (!e.isPopupTrigger()) { return; } // Get agent final int row = resultsTable.rowAtPoint(e.getPoint()); final JPopupMenu menu = new JPopupMenu(...
public void mouseReleased(MouseEvent e) { if (!e.isPopupTrigger()) { return; } // Get agent final int row = resultsTable.rowAtPoint(e.getPoint()); final JPopupMenu menu = new JPopupMenu(...
3,235,461
Object clean(Object obj) { //TODO push OMEModel down into all calls if (null != obj) { if (obj instanceof OMEModel) { daoUtils.clean((OMEModel) obj); } else if (obj instanceof Set) { daoUtils.clean((Set) obj); } else if (obj instanceof Has...
Object clean(Object obj) { //TODO push OMEModel down into all calls if (null != obj) { if (obj instanceof OMEModel) { daoUtils.clean((OMEModel) obj); } else if (obj instanceof Set) { daoUtils.clean((Set) obj); } else if (obj instanceof Has...
3,235,462
public void write(FastWriter out, Context context) throws PropertyException, IOException { int start=_start, end=_end, step = _step; Object tmp; // if necessary, do run-time evaluation of our // start, end, and step objects. if ( (tmp = _objStart) != null) { while (tmp ...
public void write(FastWriter out, Context context) throws PropertyException, IOException { int start=_start, end=_end, step = _step; Object tmp; // if necessary, do run-time evaluation of our // start, end, and step objects. if ( (tmp = _objStart) != null) { while (tmp ...
3,235,463
public void write(FastWriter out, Context context) throws PropertyException, IOException { int start=_start, end=_end, step = _step; Object tmp; // if necessary, do run-time evaluation of our // start, end, and step objects. if ( (tmp = _objStart) != null) { while (tmp ...
public void write(FastWriter out, Context context) throws PropertyException, IOException { int start=_start, end=_end, step = _step; Object tmp; // if necessary, do run-time evaluation of our // start, end, and step objects. if ( (tmp = _objStart) != null) { while (tmp ...
3,235,464
public void write(FastWriter out, Context context) throws PropertyException, IOException { int start=_start, end=_end, step = _step; Object tmp; // if necessary, do run-time evaluation of our // start, end, and step objects. if ( (tmp = _objStart) != null) { while (tmp ...
public void write(FastWriter out, Context context) throws PropertyException, IOException { int start=_start, end=_end, step = _step; Object tmp; // if necessary, do run-time evaluation of our // start, end, and step objects. if ( (tmp = _objStart) != null) { while (tmp ...
3,235,465
private JMenu createActionsMenu() { JMenu menu = new JMenu("Actions"); menu.setMnemonic(KeyEvent.VK_A); menu.add(new JMenuItem( controller.getAction(HiViewerControl.PROPERTIES))); menu.add(new JMenuItem(controller.getAction(HiViewerControl.ANNOTATE))); menu.add(n...
private JMenu createActionsMenu() { JMenu menu = new JMenu("Actions"); menu.setMnemonic(KeyEvent.VK_A); menu.add(new JMenuItem( controller.getAction(HiViewerControl.PROPERTIES))); menu.add(new JMenuItem(controller.getAction(HiViewerControl.ANNOTATE))); menu.add(n...
3,235,466
private JMenu createFindMenu() { JMenu menu = new JMenu("Find"); menu.setMnemonic(KeyEvent.VK_F); menu.add(new JMenuItem( controller.getAction(HiViewerControl.FIND_ANNOTATED))); menu.add(new JMenuItem( controller.getAction(HiViewerControl.FIND_W_TITLE)));...
private JMenu createFindMenu() { JMenu menu = new JMenu("Find"); menu.setMnemonic(KeyEvent.VK_F); menu.add(new JMenuItem( controller.getAction(HiViewerControl.FIND_ANNOTATED))); menu.add(new JMenuItem( controller.getAction(HiViewerControl.FIND_W_TITLE)));...
3,235,467
private JMenu createHierarchyMenu() { JMenu menu = new JMenu("Hierarchy"); menu.setMnemonic(KeyEvent.VK_H); menu.add(new JMenuItem( controller.getAction(HiViewerControl.VIEW_PDI))); menu.add(new JMenuItem( controller.getAction(HiViewerControl.VIEW_CGCI)))...
private JMenu createHierarchyMenu() { JMenu menu = new JMenu("Hierarchy"); menu.setMnemonic(KeyEvent.VK_H); menu.add(new JMenuItem( controller.getAction(HiViewerControl.VIEW_PDI))); menu.add(new JMenuItem( controller.getAction(HiViewerControl.VIEW_CGCI)))...
3,235,468
private JMenu createLayoutMenu() { JMenu menu = new JMenu("Layout"); menu.setMnemonic(KeyEvent.VK_L); menu.add(new JMenuItem(controller.getAction(HiViewerControl.SQUARY))); menu.add(new JMenuItem(controller.getAction(HiViewerControl.TREE))); menu.addSeparator(); menu.add...
private JMenu createLayoutMenu() { JMenu menu = new JMenu("Layout"); menu.setMnemonic(KeyEvent.VK_L); menu.add(new JMenuItem(controller.getAction(HiViewerControl.SQUARY))); menu.add(new JMenuItem(controller.getAction(HiViewerControl.TREE))); menu.add(new JSeparator(SwingConstan...
3,235,469
public final Template handle(WebContext wc) throws HandlerException { String pageName = null; WikiPage wikiPage = null; // who is trying to do something? WikiUser user = getUser (wc); // which action wants to respond to this request? PageAction action = _actionManag...
public final Template handle(WebContext wc) throws HandlerException { String pageName = null; WikiPage wikiPage = null; // who is trying to do something? WikiUser user = getUser (wc); // which action wants to respond to this request? PageAction action = _actionManag...
3,235,470
private void generateClassList(PackageData packageData) throws IOException { String filename; Collection classes; if (packageData == null) { filename = "frame-classes.html"; classes = projectData.getClasses(); } else { filename = "frame-classes-" + packageData.getName() + ".html"; classes = packageDat...
private void generateClassList(PackageData packageData) throws IOException { String filename; Collection classes; if (packageData == null) { filename = "frame-classes.html"; classes = projectData.getClasses(); } else { filename = "frame-classes-" + packageData.getName() + ".html"; classes = packageDat...
3,235,472
private void generateOverview(PackageData packageData) throws IOException { Iterator iter; String filename; if (packageData == null) { filename = "frame-summary.html"; } else { filename = "frame-summary-" + packageData.getName() + ".html"; } File file = new File(destinationDir, filename); PrintStream out...
private void generateOverview(PackageData packageData) throws IOException { Iterator iter; String filename; if (packageData == null) { filename = "frame-summary.html"; } else { filename = "frame-summary-" + packageData.getName() + ".html"; } File file = new File(destinationDir, filename); PrintStream out...
3,235,473
public void setMagFactorLens(double f) { magFactorLens = f; if (view.getLens() != null) { view.resetLens(); view.repaint(); } }
public void setMagFactorLens(double f) { magFactorLens = f; if (view.getLens() != null) { view.resetLens(); view.repaint(); } }
3,235,474
public void visitMultipleAsgnNode(MultipleAsgnNode iVisited) { // Make sure value is an array. if (value == null) { value = RubyArray.newArray(ruby, 0); } else if (!(value instanceof RubyArray)) { RubyObject newValue = value.convertToType("Array", "to_ary", false); ...
public void visitMultipleAsgnNode(MultipleAsgnNode iVisited) { // Make sure value is an array. if (value == null) { value = RubyArray.newArray(ruby, 0); } else if (!(value instanceof RubyArray)) { RubyObject newValue = value.convertToType("Array", "to_ary", false); ...
3,235,475
public void visitMultipleAsgnNode(MultipleAsgnNode iVisited) { // Make sure value is an array. if (value == null) { value = RubyArray.newArray(ruby, 0); } else if (!(value instanceof RubyArray)) { RubyObject newValue = value.convertToType("Array", "to_ary", false); ...
public void visitMultipleAsgnNode(MultipleAsgnNode iVisited) { // Make sure value is an array. if (value == null) { value = RubyArray.newArray(ruby, 0); } else if (!(value instanceof RubyArray)) { RubyObject newValue = value.convertToType("Array", "to_ary", false); ...
3,235,476
public BasicSocketMetaClass(IRuby runtime) { super("BasicSocket", RubyBasicSocket.class, runtime.getClass("IO")); }
public BasicSocketMetaClass(IRuby runtime) { super("BasicSocket", RubyBasicSocket.class, runtime.getClass("IO")); }
3,235,478
protected IRubyObject allocateObject() { return new RubyBasicSocket(getRuntime(), this); }
protected IRubyObject allocateObject() { return new RubyBasicSocket(getRuntime(), this); }
3,235,479
public RubyClass newSubClass(String name, RubyModule parent) { BasicSocketMetaClass basicSocketMetaClass = new BasicSocketMetaClass(getRuntime()); basicSocketMetaClass.initializeClass(); return basicSocketMetaClass; }
public RubyClass newSubClass(String name, RubyModule parent) { BasicSocketMetaClass basicSocketMetaClass = new BasicSocketMetaClass(getRuntime()); basicSocketMetaClass.initializeClass(); return basicSocketMetaClass; }
3,235,480
public static RubyObject backquote(Ruby ruby, RubyObject recv, RubyString aString) { // XXX use other methods try { String lShellProp = System.getProperty("jruby.shell"); Process aProcess; if (lShellProp != null) aProcess = Runtime.getRuntime().exec(new ...
public static RubyObject backquote(Ruby ruby, RubyObject recv, RubyString aString) { // XXX use other methods try { String lShellProp = System.getProperty("jruby.shell"); Process aProcess; if (lShellProp != null) { if (!lShellProp.endsWith("sh")) lSwitch...
3,235,481
public static RubyObject backquote(Ruby ruby, RubyObject recv, RubyString aString) { // XXX use other methods try { String lShellProp = System.getProperty("jruby.shell"); Process aProcess; if (lShellProp != null) aProcess = Runtime.getRuntime().exec(new ...
public static RubyObject backquote(Ruby ruby, RubyObject recv, RubyString aString) { // XXX use other methods try { String lShellProp = System.getProperty("jruby.shell"); Process aProcess; if (lShellProp != null) aProcess = Runtime.getRuntime().exec(new ...
3,235,482
public static void assign(Ruby ruby, RubyId id, RubyObject value) { ruby.getInterpreter().setDynamicVars(assignInternal( ruby.getInterpreter().getDynamicVars(), id, value, false)); }
public static void assign(Ruby ruby, RubyId id, RubyObject value) { ruby.getInterpreter().setDynamicVars(assignInternal( ruby.getInterpreter().getDynamicVars(), id, value, false)); }
3,235,483
public static void assignCurrent(Ruby ruby, RubyId id, RubyObject value) { ruby.getInterpreter().setDynamicVars(assignInternal( ruby.getInterpreter().getDynamicVars(), id, value, true)); }
public static void assignCurrent(Ruby ruby, RubyId id, RubyObject value) { ruby.getInterpreter().setDynamicVars(assignInternal( ruby.getInterpreter().getDynamicVars(), id, value, true)); }
3,235,484
public boolean isCurrent(RubyId rubyId) { if (id == null || id.intValue() == 0) { return false; } else if (rubyId.equals(id)) { return true; } else if (next != null) { return next.isCurrent(rubyId); } return false; }
public boolean isCurrent(RubyId rubyId) { if (id == null || id.intValue() == 0) { return false; } else if (rubyId.equals(id)) { return true; } else if (next != null) { return next.isCurrent(rubyId); } return false; }
3,235,485