rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
Integer i = 0;
private static String getPath(String prefix, Integer id) { String suffix = ""; Integer remaining = id; Integer dirno = 0; Integer i = 0; if (id == null) throw new NullPointerException("Expecting a not-null id."); while (remaining > 999) { ...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/58001a64c7e37041bd18a9ec8c89dd942d44444e/Helper.java/clean/components/omeio-nio/src/ome/io/nio/Helper.java
if (i > 0)
System.out.println("Remaining: " + remaining); remaining /= 1000; if (remaining > 0)
private static String getPath(String prefix, Integer id) { String suffix = ""; Integer remaining = id; Integer dirno = 0; Integer i = 0; if (id == null) throw new NullPointerException("Expecting a not-null id."); while (remaining > 999) { ...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/58001a64c7e37041bd18a9ec8c89dd942d44444e/Helper.java/clean/components/omeio-nio/src/ome/io/nio/Helper.java
suffix = dirno + "/" + suffix;
suffix = formatter.format("Dir-%03d/%s", dirno, suffix) .out().toString(); System.out.println("Suffix: " + suffix);
private static String getPath(String prefix, Integer id) { String suffix = ""; Integer remaining = id; Integer dirno = 0; Integer i = 0; if (id == null) throw new NullPointerException("Expecting a not-null id."); while (remaining > 999) { ...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/58001a64c7e37041bd18a9ec8c89dd942d44444e/Helper.java/clean/components/omeio-nio/src/ome/io/nio/Helper.java
remaining /= 1000; i++;
private static String getPath(String prefix, Integer id) { String suffix = ""; Integer remaining = id; Integer dirno = 0; Integer i = 0; if (id == null) throw new NullPointerException("Expecting a not-null id."); while (remaining > 999) { ...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/58001a64c7e37041bd18a9ec8c89dd942d44444e/Helper.java/clean/components/omeio-nio/src/ome/io/nio/Helper.java
assertStringTemplateEquals("$Text.HTMLEncode('&')", "&");
assertStringTemplateEquals("$Text.HTMLEncode('&')", "&");
public void testContextToolMethodCall() { assertStringTemplateEquals("$Text.HTMLEncode('&')", "&"); }
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/4db8b567c1fcfcf6d7c60072b31a111b14a62993/TestContextToolAccess.java/buggy/webmacro/test/unit/org/webmacro/template/TestContextToolAccess.java
t = new FileTemplate(_broker,tFile,encoding);
t = new FileTemplate(_broker,tFile,"UTF8");
final public Template get(String fileName, String encoding) { for (int i=0; i < _templateDirectory.length; i++) { Template t; String dir = _templateDirectory[i]; File tFile = new File(dir,fileName); if (tFile.canRead()) { try { t = new FileTemplate(_brok...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/f59209b21b5a793aee6286eae87f864f9b9db3e6/TemplateProvider.java/buggy/webmacro/src/org/webmacro/resource/TemplateProvider.java
} catch (EJBException ejbe) { log.warn("Should not be here.");
public void testCountingApiExceptions(){ Set ids = Collections.singleton(new Long(1)); // Does not exist try { iPojos.getCollectionCount("DoesNotExist","meNeither",ids,null); fail("An exception should have been thrown"); } catch (ApiUsageException e) { //...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/fd4ebf312d4496f33d02000802e6f781368d1dac/PojosServiceTest.java/buggy/components/shoola-adapter/test/ome/adapters/pojos/itests/PojosServiceTest.java
} catch (EJBException ejbe) { log.warn("Should not be here.");
public void testCountingApiExceptions(){ Set ids = Collections.singleton(new Long(1)); // Does not exist try { iPojos.getCollectionCount("DoesNotExist","meNeither",ids,null); fail("An exception should have been thrown"); } catch (ApiUsageException e) { //...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/fd4ebf312d4496f33d02000802e6f781368d1dac/PojosServiceTest.java/buggy/components/shoola-adapter/test/ome/adapters/pojos/itests/PojosServiceTest.java
} catch (EJBException ejbe) { log.warn("Should not be here.");
public void testCountingApiExceptions(){ Set ids = Collections.singleton(new Long(1)); // Does not exist try { iPojos.getCollectionCount("DoesNotExist","meNeither",ids,null); fail("An exception should have been thrown"); } catch (ApiUsageException e) { //...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/fd4ebf312d4496f33d02000802e6f781368d1dac/PojosServiceTest.java/buggy/components/shoola-adapter/test/ome/adapters/pojos/itests/PojosServiceTest.java
} catch (EJBException ejbe) { log.warn("Should not be here.");
public void testCountingApiExceptions(){ Set ids = Collections.singleton(new Long(1)); // Does not exist try { iPojos.getCollectionCount("DoesNotExist","meNeither",ids,null); fail("An exception should have been thrown"); } catch (ApiUsageException e) { //...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/fd4ebf312d4496f33d02000802e6f781368d1dac/PojosServiceTest.java/buggy/components/shoola-adapter/test/ome/adapters/pojos/itests/PojosServiceTest.java
} catch (EJBException ejbe) { log.warn("Should not be here.");
public void testCountingApiExceptions(){ Set ids = Collections.singleton(new Long(1)); // Does not exist try { iPojos.getCollectionCount("DoesNotExist","meNeither",ids,null); fail("An exception should have been thrown"); } catch (ApiUsageException e) { //...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/fd4ebf312d4496f33d02000802e6f781368d1dac/PojosServiceTest.java/buggy/components/shoola-adapter/test/ome/adapters/pojos/itests/PojosServiceTest.java
} catch (EJBException ejbe) { log.warn("Should not be here.");
public void testCountingApiExceptions(){ Set ids = Collections.singleton(new Long(1)); // Does not exist try { iPojos.getCollectionCount("DoesNotExist","meNeither",ids,null); fail("An exception should have been thrown"); } catch (ApiUsageException e) { //...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/fd4ebf312d4496f33d02000802e6f781368d1dac/PojosServiceTest.java/buggy/components/shoola-adapter/test/ome/adapters/pojos/itests/PojosServiceTest.java
} catch (EJBException ejbe) { log.warn("Should not be here.");
public void testCountingApiExceptions(){ Set ids = Collections.singleton(new Long(1)); // Does not exist try { iPojos.getCollectionCount("DoesNotExist","meNeither",ids,null); fail("An exception should have been thrown"); } catch (ApiUsageException e) { //...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/fd4ebf312d4496f33d02000802e6f781368d1dac/PojosServiceTest.java/buggy/components/shoola-adapter/test/ome/adapters/pojos/itests/PojosServiceTest.java
} catch (EJBException ejbe) { log.warn("Should not be here.");
public void testCountingApiExceptions(){ Set ids = Collections.singleton(new Long(1)); // Does not exist try { iPojos.getCollectionCount("DoesNotExist","meNeither",ids,null); fail("An exception should have been thrown"); } catch (ApiUsageException e) { //...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/fd4ebf312d4496f33d02000802e6f781368d1dac/PojosServiceTest.java/buggy/components/shoola-adapter/test/ome/adapters/pojos/itests/PojosServiceTest.java
} catch (EJBException ejbe) { log.warn("Should not be here.");
public void test_findContainerHierarchies(){ PojoOptions defaults = new PojoOptions(), empty = new PojoOptions(null); ids = new HashSet(data.getMax("Image.ids",2)); results = iPojos.findContainerHierarchies(Project.class,ids,defaults.map()); try { results = iPojo...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/fd4ebf312d4496f33d02000802e6f781368d1dac/PojosServiceTest.java/buggy/components/shoola-adapter/test/ome/adapters/pojos/itests/PojosServiceTest.java
} catch (ApiUsageException e) { }
} catch (ApiUsageException e) { } catch (EJBException ejbe) { log.warn("Should not be here."); }
public void test_getUserImages() throws Exception { try { results = iPojos.getUserImages(null); fail("APIUsage: experimenter/group option must be set."); } catch (ApiUsageException e) { } results = iPojos.getUserImages(new PojoOptions().exp(new Long(10000)).map(...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/fd4ebf312d4496f33d02000802e6f781368d1dac/PojosServiceTest.java/buggy/components/shoola-adapter/test/ome/adapters/pojos/itests/PojosServiceTest.java
if ( key == null || c.getIds( key ) == null || c.getIds( key ).size() == 0) { log.warn( " Skipping "+key+" in collection counts."); continue; }
private void collectCounts(Collection queryResults, PojoOptions po) { if (po.hasCountFields() && po.isCounts()) { CountCollector c = new CountCollector(po.countFields()); c.collect(queryResults); for (String key : po.countFields()) { Query ...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/5a7691e42b193b6eb28c3405cac3380da0cd70ab/PojosImpl.java/buggy/components/server/src/ome/logic/PojosImpl.java
ThumbWin(JFrame parent, BufferedImage fullScaleThumb, DataObject image)
ThumbWin(JFrame parent, BufferedImage fullScaleThumb, DataObject image, HiViewer model, ImageDisplay node)
ThumbWin(JFrame parent, BufferedImage fullScaleThumb, DataObject image) { super(parent, fullScaleThumb); if (image == null) throw new IllegalArgumentException("No image."); dataObject = image; parentFrame = parent; uiDelegate.attachMouseListener(this); addMouseListener(t...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/b4992016524102ee0a5c7465d4cc7a94e9ffce2d/ThumbWin.java/clean/SRC/org/openmicroscopy/shoola/agents/hiviewer/view/ThumbWin.java
addPropertyChangeListener(TinyDialog.CLOSED_PROPERTY, this);
ThumbWin(JFrame parent, BufferedImage fullScaleThumb, DataObject image) { super(parent, fullScaleThumb); if (image == null) throw new IllegalArgumentException("No image."); dataObject = image; parentFrame = parent; uiDelegate.attachMouseListener(this); addMouseListener(t...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/b4992016524102ee0a5c7465d4cc7a94e9ffce2d/ThumbWin.java/clean/SRC/org/openmicroscopy/shoola/agents/hiviewer/view/ThumbWin.java
this.reply = REPLY;
this.reply += REPLY;
public void unmarshal(HttpMethod response, HttpChannel context) throws TransportException { checkStatusCode(response); this.reply = REPLY; }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/9794ffbd035a4de717ee211573b4844dd0eb3371/MessengerReply.java/clean/SRC/org/openmicroscopy/shoola/svc/proxy/MessengerReply.java
path = ome.io.nio.Helper.getPixelsPath(pixels.getId());
path = new PixelsService(PixelsService.ROOT_DEFAULT).getPixelsPath(pixels.getId());
private void createPlanes() throws IOException { planeCount = pixels.getSizeZ() * pixels.getSizeC() * pixels.getSizeT(); // FIXME: *Hack* right now we assume everything is 16-bits wide planeSize = pixels.getSizeX() * pixels.getSizeY() * 2; path...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/ae0b01fad17fcacba3ec0999ca1ad645f389b5f9/PlaneReadUnitTest.java/buggy/components/omeio-nio/test/ome/io/nio/itests/PlaneReadUnitTest.java
PixelsService service = PixelsService.getInstance();
PixelsService service = new PixelsService(PixelsService.ROOT_DEFAULT);
public void testAllPlanes() throws IOException, DimensionsOutOfBoundsException { PixelsService service = PixelsService.getInstance(); PixelBuffer pixbuf = service.getPixelBuffer(pixels); String newMessageDigest; String oldMessageDigest; int digestOffset; for (...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/ae0b01fad17fcacba3ec0999ca1ad645f389b5f9/PlaneReadUnitTest.java/buggy/components/omeio-nio/test/ome/io/nio/itests/PlaneReadUnitTest.java
PixelsService service = PixelsService.getInstance();
PixelsService service = new PixelsService(PixelsService.ROOT_DEFAULT);
public void testInitialPlane() throws IOException, DimensionsOutOfBoundsException { PixelsService service = PixelsService.getInstance(); PixelBuffer pixbuf = service.getPixelBuffer(pixels); MappedByteBuffer plane = pixbuf.getPlane(0, 0, 0); byte[] messageDigest = Helper.calcula...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/ae0b01fad17fcacba3ec0999ca1ad645f389b5f9/PlaneReadUnitTest.java/buggy/components/omeio-nio/test/ome/io/nio/itests/PlaneReadUnitTest.java
PixelsService service = PixelsService.getInstance();
PixelsService service = new PixelsService(PixelsService.ROOT_DEFAULT);
public void testLastPlane() throws IOException, DimensionsOutOfBoundsException { PixelsService service = PixelsService.getInstance(); PixelBuffer pixbuf = service.getPixelBuffer(pixels); MappedByteBuffer plane = pixbuf.getPlane(pixels.getSizeZ() - 1, ...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/ae0b01fad17fcacba3ec0999ca1ad645f389b5f9/PlaneReadUnitTest.java/buggy/components/omeio-nio/test/ome/io/nio/itests/PlaneReadUnitTest.java
module.definePublicModuleFunction("==", objectCallbackFactory.getMethod("equal", IRubyObject.class)); module.defineAlias("===", "=="); module.defineAlias("eql?", "=="); module.definePublicModuleFunction("to_s", objectCallbackFactory.getMethod("to_s")); module.definePublicModuleFunction("nil?", objectCallbackFactory.g...
public static RubyModule createKernelModule(IRuby runtime) { RubyModule module = runtime.defineModule("Kernel"); CallbackFactory callbackFactory = runtime.callbackFactory(RubyKernel.class); module.defineModuleFunction("Array", callbackFactory.getSingletonMethod("new_array", IRubyObject.class));...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/5e2d21a7295d01b2d891cfc8c8e67af99a3d858e/RubyKernel.java/buggy/src/org/jruby/RubyKernel.java
iQuery.setHibernateTemplate(new HibernateTemplate(){
impl.setHibernateTemplate(new HibernateTemplate(){
protected Mock newMock(){ final Mock mock = mock(Session.class); iQuery.setHibernateTemplate(new HibernateTemplate(){ @Override protected Session getSession() { mock.setDefaultStub( new DefaultResultStub() ); // mock.expects( once() ).meth...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/59b11883b95c926d6706e6d30b4cdb898088683c/IQueryMockSessionTest.java/clean/components/server/test/ome/server/utests/IQueryMockSessionTest.java
iQuery = new QueryImpl();
impl = new QueryImpl(); ProxyFactory pf = new ProxyFactory( impl ); pf.addAdvice( new ServiceHandler() ); iQuery = (IQuery) pf.getProxy();
protected void setUp() throws Exception { super.setUp(); iQuery = new QueryImpl(); mockSession = newMock(); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/59b11883b95c926d6706e6d30b4cdb898088683c/IQueryMockSessionTest.java/clean/components/server/test/ome/server/utests/IQueryMockSessionTest.java
mockSession.expects( once() ).method( "load" ).id("test");
public void test_get_nulls() throws Exception { mockSession.expects( once() ).method( "load" ).id("test"); iQuery.get(null,1L); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/59b11883b95c926d6706e6d30b4cdb898088683c/IQueryMockSessionTest.java/clean/components/server/test/ome/server/utests/IQueryMockSessionTest.java
while (l instanceof Macro)
while (l instanceof Macro && l != UNDEF)
public void write(FastWriter out, Context context) throws PropertyException, IOException { Object l, limit, from; int loopLimit=-1, loopStart=1, loopIndex=0; l = list; while (l instanceof Macro) l = ((Macro) l).evaluate(context); if (limitExpr != null) { limit = limitExpr; while (li...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/dfad8a36c94ce64fe22ab26a49fcc7a7e6e97886/ForeachDirective.java/clean/webmacro/src/org/webmacro/directive/ForeachDirective.java
public NotVariableBuildException(String directive, Exception e) { super("#" + directive + ": Argument must be a variable", e);
public NotVariableBuildException(String directive) { super("#" + directive + ": Argument must be a variable");
public NotVariableBuildException(String directive, Exception e) { super("#" + directive + ": Argument must be a variable", e); }
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/8f5880751893a7e5dd9da25d036747a39c9b25b5/Directive.java/buggy/webmacro/src/org/webmacro/directive/Directive.java
for(RosterGroup group : roster.getGroups()){
for (RosterGroup group : roster.getGroups()) {
private void addContactItem(final ContactGroup contactGroup, final ContactItem item) { ContactItem newContact = new ContactItem(item.getNickname(), item.getFullJID()); newContact.setPresence(item.getPresence()); newContact.setIcon(item.getIcon()); newContact.getNicknameLabel().setFont(it...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2d6b3d04749d71936a18788ccca558b2431247d7/ContactGroupTransferHandler.java/buggy/src/java/org/jivesoftware/spark/ui/ContactGroupTransferHandler.java
return "ok";
return true;
private void addContactItem(final ContactGroup contactGroup, final ContactItem item) { ContactItem newContact = new ContactItem(item.getNickname(), item.getFullJID()); newContact.setPresence(item.getPresence()); newContact.setIcon(item.getIcon()); newContact.getNicknameLabel().setFont(it...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2d6b3d04749d71936a18788ccca558b2431247d7/ContactGroupTransferHandler.java/buggy/src/java/org/jivesoftware/spark/ui/ContactGroupTransferHandler.java
removeContactItem(oldGroup, item);
if ((Boolean)get()) { removeContactItem(oldGroup, item); }
private void addContactItem(final ContactGroup contactGroup, final ContactItem item) { ContactItem newContact = new ContactItem(item.getNickname(), item.getFullJID()); newContact.setPresence(item.getPresence()); newContact.setIcon(item.getIcon()); newContact.getNicknameLabel().setFont(it...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2d6b3d04749d71936a18788ccca558b2431247d7/ContactGroupTransferHandler.java/buggy/src/java/org/jivesoftware/spark/ui/ContactGroupTransferHandler.java
for(RosterGroup group : roster.getGroups()){
for (RosterGroup group : roster.getGroups()) {
public Object construct() { Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(item.getFullJID()); RosterGroup groupFound = null; for(RosterGroup group : roster.getGroups()){ if (group.g...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2d6b3d04749d71936a18788ccca558b2431247d7/ContactGroupTransferHandler.java/buggy/src/java/org/jivesoftware/spark/ui/ContactGroupTransferHandler.java
return "ok";
return true;
public Object construct() { Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(item.getFullJID()); RosterGroup groupFound = null; for(RosterGroup group : roster.getGroups()){ if (group.g...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2d6b3d04749d71936a18788ccca558b2431247d7/ContactGroupTransferHandler.java/buggy/src/java/org/jivesoftware/spark/ui/ContactGroupTransferHandler.java
removeContactItem(oldGroup, item);
if ((Boolean)get()) { removeContactItem(oldGroup, item); }
public void finished() { // Now try and remove the group from the old one. removeContactItem(oldGroup, item); }
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2d6b3d04749d71936a18788ccca558b2431247d7/ContactGroupTransferHandler.java/buggy/src/java/org/jivesoftware/spark/ui/ContactGroupTransferHandler.java
for(RosterGroup group : roster.getGroups()){
for (RosterGroup group : roster.getGroups()) {
public boolean removeContactItem(ContactGroup contactGroup, ContactItem item) { if (contactGroup.isSharedGroup()) { return false; } if (contactGroup.isUnfiledGroup()) { contactGroup.removeContactItem(item); contactGroup.fireContactGroupUpdated(); retu...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2d6b3d04749d71936a18788ccca558b2431247d7/ContactGroupTransferHandler.java/buggy/src/java/org/jivesoftware/spark/ui/ContactGroupTransferHandler.java
yaccValue = d;
yaccValue = new Token(d, getPosition(null, false));
private int getNumberToken(String number, boolean isFloat, char nondigit) { if (nondigit != '\0') { throw new SyntaxException(src.getPosition(), "Trailing '_' in number."); } if (isFloat) { Double d = new Double(0.0); try { d = Double.valueOf(numb...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = getInteger(number, 10);
yaccValue = new Token(getInteger(number, 10), getPosition(null, false));
private int getNumberToken(String number, boolean isFloat, char nondigit) { if (nondigit != '\0') { throw new SyntaxException(src.getPosition(), "Trailing '_' in number."); } if (isFloat) { Double d = new Double(0.0); try { d = Double.valueOf(numb...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = getInteger(tokenBuffer.toString(), 16);
yaccValue = new Token(getInteger(tokenBuffer.toString(), 16), getPosition(null, false));
private int parseNumber(char c) { lex_state = LexState.EXPR_END; tokenBuffer.setLength(0); if (c == '-') { tokenBuffer.append(c); c = src.read(); } else if (c == '+') { // We don't append '+' since Java number parser gets confused c = src.read(); ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = getInteger(tokenBuffer.toString(), 2);
yaccValue = new Token(getInteger(tokenBuffer.toString(), 2), getPosition(null, false));
private int parseNumber(char c) { lex_state = LexState.EXPR_END; tokenBuffer.setLength(0); if (c == '-') { tokenBuffer.append(c); c = src.read(); } else if (c == '+') { // We don't append '+' since Java number parser gets confused c = src.read(); ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = getInteger(tokenBuffer.toString(), 2);
yaccValue = new Token(getInteger(tokenBuffer.toString(), 2), getPosition(null, false));
private int parseNumber(char c) { lex_state = LexState.EXPR_END; tokenBuffer.setLength(0); if (c == '-') { tokenBuffer.append(c); c = src.read(); } else if (c == '+') { // We don't append '+' since Java number parser gets confused c = src.read(); ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = getInteger(tokenBuffer.toString(), 8);
yaccValue = new Token(getInteger(tokenBuffer.toString(), 8), getPosition(null, false));
private int parseNumber(char c) { lex_state = LexState.EXPR_END; tokenBuffer.setLength(0); if (c == '-') { tokenBuffer.append(c); c = src.read(); } else if (c == '+') { // We don't append '+' since Java number parser gets confused c = src.read(); ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = new Long(0);
yaccValue = new Token(new Long(0), getPosition(null, false));
private int parseNumber(char c) { lex_state = LexState.EXPR_END; tokenBuffer.setLength(0); if (c == '-') { tokenBuffer.append(c); c = src.read(); } else if (c == '+') { // We don't append '+' since Java number parser gets confused c = src.read(); ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = getInteger(tokenBuffer.toString(), 10);
yaccValue = new Token(getInteger(tokenBuffer.toString(), 10), getPosition(null, false));
private int parseNumber(char c) { lex_state = LexState.EXPR_END; tokenBuffer.setLength(0); if (c == '-') { tokenBuffer.append(c); c = src.read(); } else if (c == '+') { // We don't append '+' since Java number parser gets confused c = src.read(); ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = new Token(""+c, getPosition(null, false));
private int parseQuote(char c) { char term; char paren; if (!Character.isLetterOrDigit(c)) { term = c; c = 'Q'; } else { term = src.read(); if (Character.isLetterOrDigit(term) /* no mb || ismbchar(term)*/) { throw new Syn...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "**";
yaccValue = new Token("**", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "**"; src.unread(c);
src.unread(c); yaccValue = new Token("**", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "*";
yaccValue = new Token("*", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "*";
yaccValue = new Token("*", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "===";
yaccValue = new Token("===", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "==";
yaccValue = new Token("==", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "=~";
yaccValue = new Token("=~", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "<=>";
yaccValue = new Token("<=>", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "<="; src.unread(c);
src.unread(c); yaccValue = new Token("<=", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "<<";
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "<";
yaccValue = new Token("<", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = ">=";
yaccValue = new Token(">=", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = ">>";
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = ">"; src.unread(c);
src.unread(c); yaccValue = new Token(">", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "`";
yaccValue = new Token("`", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = new Long(c);
yaccValue = new Token(new Long(c), getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "&&";
yaccValue = new Token("&&", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "&";
yaccValue = new Token("&", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "&";
yaccValue = new Token("&", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "||";
yaccValue = new Token("||", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "|";
yaccValue = new Token("|", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "|"; src.unread(c);
src.unread(c); yaccValue = new Token("|", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "@+";
yaccValue = new Token("@+", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "+"; src.unread(c);
src.unread(c); yaccValue = new Token("+", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "+";
yaccValue = new Token("+", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "@-";
yaccValue = new Token("@-", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "-"; src.unread(c);
src.unread(c); yaccValue = new Token("-", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "-";
yaccValue = new Token("-", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "/";
yaccValue = new Token("/", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "^";
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "~";
yaccValue = new Token("~", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "[]=";
yaccValue = new Token("[]=", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "[]";
yaccValue = new Token("[]", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "%";
yaccValue = new Token("%", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = "%"; src.unread(c);
src.unread(c); yaccValue = new Token("%", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = tokenBuffer.toString();
yaccValue = new Token(tokenBuffer.toString(), getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = tokenBuffer.toString();
yaccValue = new Token(tokenBuffer.toString(), getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = keyword.name;
yaccValue = new Token(keyword.name, getPosition(null, false)); } else { yaccValue = new Token(tokenBuffer.toString(), getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
yaccValue = new Token(yaccValue, getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java
return blockNames != null ? blockNames.contains(name) : false || (next != null && next.isDefined(name));
return (blockNames != null ? blockNames.contains(name) : false) || (next != null && next.isDefined(name));
public boolean isDefined(String name) { return blockNames != null ? blockNames.contains(name) : false || (next != null && next.isDefined(name)); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/9e6ae9722245fb5d74254985e21d50a65c7e80c3/BlockNamesElement.java/buggy/src/org/jruby/parser/BlockNamesElement.java
ome.model.ImageDimension imageD = (ome.model.ImageDimension) getModel(); PixelsDimensionsTrans pdtransform = new PixelsDimensionsTrans(this, imageD);
PixelsDimensionsTrans pdtransform = new PixelsDimensionsTrans(this, oldPixels.getImage().getImageDimensions().iterator().next());
public List transmute() { ome.model.ImagePixel oldPixels = (ome.model.ImagePixel) getModel(); List toSave = getToSave(); Event creationEvent = getCreationEvent(); // Transform the pixels set metadata Pixels p = new Pixels(); p.setCreationEvent(creationEven...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/9d2a6e5e117818935969f11dbbc599716c748314/PixelsTrans.java/clean/components/resurrect/src/ome/resurrect/transform/PixelsTrans.java
PixelsDimensions pixelsDimensions = (PixelsDimensions) toSave.get(toSave.size() - 1);
PixelsDimensions pixelsDimensions = (PixelsDimensions) toSave.get(toSave.size() - 1);
public List transmute() { ome.model.ImagePixel oldPixels = (ome.model.ImagePixel) getModel(); List toSave = getToSave(); Event creationEvent = getCreationEvent(); // Transform the pixels set metadata Pixels p = new Pixels(); p.setCreationEvent(creationEven...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/9d2a6e5e117818935969f11dbbc599716c748314/PixelsTrans.java/clean/components/resurrect/src/ome/resurrect/transform/PixelsTrans.java
public PixelsDimensionsTrans(Transformer transformer, Object model)
public PixelsDimensionsTrans(Object model, Session session, Experimenter owner, Event creationEvent, List toSave)
public PixelsDimensionsTrans(Transformer transformer, Object model) { super(model, transformer.getSession(), transformer.getOwner(), transformer.getCreationEvent(), transformer.getToSave()); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/9d2a6e5e117818935969f11dbbc599716c748314/PixelsDimensionsTrans.java/buggy/components/resurrect/src/ome/resurrect/transform/PixelsDimensionsTrans.java
super(model, transformer.getSession(), transformer.getOwner(), transformer.getCreationEvent(), transformer.getToSave());
super(model, session, owner, creationEvent, toSave);
public PixelsDimensionsTrans(Transformer transformer, Object model) { super(model, transformer.getSession(), transformer.getOwner(), transformer.getCreationEvent(), transformer.getToSave()); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/9d2a6e5e117818935969f11dbbc599716c748314/PixelsDimensionsTrans.java/buggy/components/resurrect/src/ome/resurrect/transform/PixelsDimensionsTrans.java
ome.model.ImageDimension oldDimensions = (ome.model.ImageDimension) getModel();
ome.model.ImageDimension oldDimensions = (ome.model.ImageDimension) getModel();
public List transmute() { List toSave = getToSave(); Event creationEvent = getCreationEvent(); ome.model.ImageDimension oldDimensions = (ome.model.ImageDimension) getModel(); PixelsDimensions p = new PixelsDimensions(); p.setOwner(getOwner()); p.setCreationEvent(creationEv...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/9d2a6e5e117818935969f11dbbc599716c748314/PixelsDimensionsTrans.java/buggy/components/resurrect/src/ome/resurrect/transform/PixelsDimensionsTrans.java
Message message = (Message)room.getTranscripts().get(size - 1);
if (size > 0) { Message message = (Message)room.getTranscripts().get(size - 1);
private void checkNotificationPreferences(final ChatRoom room) { LocalPreferences pref = SettingsManager.getLocalPreferences(); if (pref.getWindowTakesFocus()) { chatFrame.setState(Frame.NORMAL); chatFrame.setVisible(true); int tabLocation = indexOfComponent(room); ...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/9b85acb685a21d3ed08591ddb1d9e504c6b14b5e/ChatContainer.java/buggy/src/java/org/jivesoftware/spark/ui/ChatContainer.java
toaster.showToaster(room.getTabIcon(), message.getBody());
toaster.showToaster(room.getTabIcon(), message.getBody()); }
private void checkNotificationPreferences(final ChatRoom room) { LocalPreferences pref = SettingsManager.getLocalPreferences(); if (pref.getWindowTakesFocus()) { chatFrame.setState(Frame.NORMAL); chatFrame.setVisible(true); int tabLocation = indexOfComponent(room); ...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/9b85acb685a21d3ed08591ddb1d9e504c6b14b5e/ChatContainer.java/buggy/src/java/org/jivesoftware/spark/ui/ChatContainer.java
dirClass.defineSingletonMethod("getwd", CallbackFactory.getSingletonMethod(RubyDir.class, "getwd", RubyString.class)); dirClass.defineSingletonMethod("pwd", CallbackFactory.getSingletonMethod(RubyDir.class, "getwd", RubyString.class));
dirClass.defineSingletonMethod("getwd", CallbackFactory.getSingletonMethod(RubyDir.class, "getwd")); dirClass.defineSingletonMethod("pwd", CallbackFactory.getSingletonMethod(RubyDir.class, "getwd"));
public static RubyClass createDirClass(Ruby ruby) { RubyClass dirClass = ruby.defineClass("Dir", ruby.getClasses().getObjectClass()); dirClass.includeModule(ruby.getRubyModule("Enumerable")); dirClass.defineSingletonMethod("glob", CallbackFactory.getSingletonMethod(RubyDir.class, "glob", RubySt...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/fe2c7ae5d261ff5ec7742d2900cf65064e785e91/RubyDir.java/clean/org/jruby/RubyDir.java
public RubyArray(Ruby ruby, List array) { this(ruby, new ArrayList(array), false);
public RubyArray(Ruby ruby) { this(ruby, new ArrayList());
public RubyArray(Ruby ruby, List array) { this(ruby, new ArrayList(array), false); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/0335f0acaf11ca0feb41907f65e7274f8ed49fc3/RubyArray.java/buggy/org/jruby/RubyArray.java
RubyObject obj = new RubyObject(getRuntime(), this);
IRubyObject obj = getRuntime().getFactory().newObject(this);
public IRubyObject newInstance(IRubyObject[] args) { if (isSingleton()) { throw new TypeError(getRuntime(), "can't create instance of virtual class"); } RubyObject obj = new RubyObject(getRuntime(), this); obj.callInit(args); return obj; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f235ab756f32ea9496f8f880066b46ad95ebb692/RubyClass.java/clean/org/jruby/RubyClass.java
int defaultT, int defaultZ) { super("", registry.getTaskBar()); active = false; this.control = control; im = IconManager.getInstance(registry); int maxT = pxsDims.sizeT-1; int maxZ = pxsDims.sizeZ-1; setJMenuBar(createMenuBar(maxZ, maxT)); toolBar = new ToolBar(control, registry, maxT, defaultT, maxZ, defaultZ); initSl...
int defaultT, int defaultZ) { super("", registry.getTaskBar()); active = false; this.control = control; im = IconManager.getInstance(registry); int maxT = pxsDims.sizeT-1; int maxZ = pxsDims.sizeZ-1; setJMenuBar(createMenuBar(maxZ, maxT)); toolBar = new ToolBar(control, registry, maxT, defaultT, maxZ, defaultZ); initSl...
ViewerUIF(ViewerCtrl control, Registry registry, PixelsDimensions pxsDims, int defaultT, int defaultZ) { super("", registry.getTaskBar()); active = false; this.control = control; im = IconManager.getInstance(registry); int maxT = pxsDims.sizeT-1; int maxZ = pxsDims.sizeZ-1; setJMenuBar(createMenuBar(maxZ, m...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/a81a5a58f8e54d006d057455465766c8d3d72998/ViewerUIF.java/clean/SRC/org/openmicroscopy/shoola/agents/viewer/ViewerUIF.java
{
{
private void buildGUI() { Container container = getContentPane(); layer = new JLayeredPane(); canvas = new ImageCanvas(this); layer.add(canvas, new Integer(0)); scrollPane = new JScrollPane(layer); container.add(toolBar, BorderLayout.NORTH); container.add(buildM...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/a81a5a58f8e54d006d057455465766c8d3d72998/ViewerUIF.java/clean/SRC/org/openmicroscopy/shoola/agents/viewer/ViewerUIF.java
canvas = new ImageCanvas(this); layer.add(canvas, new Integer(0));
drawingCanvas = new DrawingCanvas(); canvas = new ImageCanvas(this, control); layer.add(canvas, new Integer(Viewer.IMAGE_LEVEL));
private void buildGUI() { Container container = getContentPane(); layer = new JLayeredPane(); canvas = new ImageCanvas(this); layer.add(canvas, new Integer(0)); scrollPane = new JScrollPane(layer); container.add(toolBar, BorderLayout.NORTH); container.add(buildM...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/a81a5a58f8e54d006d057455465766c8d3d72998/ViewerUIF.java/clean/SRC/org/openmicroscopy/shoola/agents/viewer/ViewerUIF.java