rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
SwingUtilities.invokeLater(new Runnable() { public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasNext()) { String jid = (String)jids.next(); RosterEntry rosterEntry = roster.getEntry(jid); if (rosterEntry != null) { boolean isUnfiled = true...
handleEntriesUpdated(addresses);
public void entriesUpdated(final Collection addresses) { SwingUtilities.invokeLater(new Runnable() { public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasNext()) { ...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2241699ff3d2ad8e9d909d7be10dd19a3a3c757c/ContactList.java/buggy/src/java/org/jivesoftware/spark/ui/ContactList.java
Roster roster = SparkManager.getConnection().getRoster();
public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasNext()) { String jid = (String)jids.next(); RosterEntry rosterEntry = roster.getEntry(jid); ...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2241699ff3d2ad8e9d909d7be10dd19a3a3c757c/ContactList.java/buggy/src/java/org/jivesoftware/spark/ui/ContactList.java
RosterEntry rosterEntry = roster.getEntry(jid); if (rosterEntry != null) { boolean isUnfiled = true; for (RosterGroup group : rosterEntry.getGroups()) { isUnfiled = false; if (getContactGroup(group.getName()) == null) { ContactGroup contactGroup = addContactGroup(group.getName()); contactGroup.setVisible(false); co...
removeContactItem(jid);
public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasNext()) { String jid = (String)jids.next(); RosterEntry rosterEntry = roster.getEntry(jid); ...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2241699ff3d2ad8e9d909d7be10dd19a3a3c757c/ContactList.java/buggy/src/java/org/jivesoftware/spark/ui/ContactList.java
final JFrame dialog = new JFrame("Subscription Request"); dialog.setIconImage(SparkManager.getMainWindow().getIconImage()); JPanel layoutPanel = new JPanel();
final JPanel layoutPanel = new JPanel(); layoutPanel.setBackground(Color.white);
private void subscriptionRequest(final String jid) { final Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(jid); if (entry != null && entry.getType() == RosterPacket.ItemType.TO) { Presence response = new Presence(Presence.Type.subscribed...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2241699ff3d2ad8e9d909d7be10dd19a3a3c757c/ContactList.java/buggy/src/java/org/jivesoftware/spark/ui/ContactList.java
JButton acceptButton = new JButton("Accept"); JButton viewInfoButton = new JButton("Profile"); JButton denyButton = new JButton("Deny");
RolloverButton acceptButton = new RolloverButton("Accept"); RolloverButton viewInfoButton = new RolloverButton("Profile"); RolloverButton denyButton = new RolloverButton("Deny");
private void subscriptionRequest(final String jid) { final Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(jid); if (entry != null && entry.getType() == RosterPacket.ItemType.TO) { Presence response = new Presence(Presence.Type.subscribed...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2241699ff3d2ad8e9d909d7be10dd19a3a3c757c/ContactList.java/buggy/src/java/org/jivesoftware/spark/ui/ContactList.java
dialog.dispose();
SparkManager.getWorkspace().removeAlert(layoutPanel);
private void subscriptionRequest(final String jid) { final Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(jid); if (entry != null && entry.getType() == RosterPacket.ItemType.TO) { Presence response = new Presence(Presence.Type.subscribed...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2241699ff3d2ad8e9d909d7be10dd19a3a3c757c/ContactList.java/buggy/src/java/org/jivesoftware/spark/ui/ContactList.java
dialog.dispose();
private void subscriptionRequest(final String jid) { final Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(jid); if (entry != null && entry.getType() == RosterPacket.ItemType.TO) { Presence response = new Presence(Presence.Type.subscribed...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2241699ff3d2ad8e9d909d7be10dd19a3a3c757c/ContactList.java/buggy/src/java/org/jivesoftware/spark/ui/ContactList.java
dialog.getContentPane().add(layoutPanel); dialog.pack(); dialog.setSize(450, 125); dialog.setLocationRelativeTo(SparkManager.getMainWindow()); SparkManager.getChatManager().getChatContainer().blinkFrameIfNecessary(dialog);
SparkManager.getWorkspace().addAlert(layoutPanel); SparkManager.getAlertManager().flashWindowStopOnFocus(SparkManager.getMainWindow());
private void subscriptionRequest(final String jid) { final Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(jid); if (entry != null && entry.getType() == RosterPacket.ItemType.TO) { Presence response = new Presence(Presence.Type.subscribed...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2241699ff3d2ad8e9d909d7be10dd19a3a3c757c/ContactList.java/buggy/src/java/org/jivesoftware/spark/ui/ContactList.java
dialog.dispose();
SparkManager.getWorkspace().removeAlert(layoutPanel);
public void actionPerformed(ActionEvent e) { dialog.dispose(); Presence response = new Presence(Presence.Type.subscribed); response.setTo(jid); SparkManager.getConnection().sendPacket(response); int ok = JOptionPane.showConfirmDialog...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2241699ff3d2ad8e9d909d7be10dd19a3a3c757c/ContactList.java/buggy/src/java/org/jivesoftware/spark/ui/ContactList.java
public void actionPerformed(ActionEvent e) { dialog.dispose(); Presence response = new Presence(Presence.Type.subscribed); response.setTo(jid); SparkManager.getConnection().sendPacket(response); int ok = JOptionPane.showConfirmDialog...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2241699ff3d2ad8e9d909d7be10dd19a3a3c757c/ContactList.java/buggy/src/java/org/jivesoftware/spark/ui/ContactList.java
dialog.dispose();
public void actionPerformed(ActionEvent e) { // Send subscribed Presence response = new Presence(Presence.Type.unsubscribe); response.setTo(jid); SparkManager.getConnection().sendPacket(response); dialog.dispose(); }
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/2241699ff3d2ad8e9d909d7be10dd19a3a3c757c/ContactList.java/buggy/src/java/org/jivesoftware/spark/ui/ContactList.java
return (T) serviceFactory.getQueryService().get(
return (T) localQuery.get(
private <T extends IObject> T lookup( T argument ) { if ( argument == null ) return null; if ( argument.getId() == null ) return argument; return (T) serviceFactory.getQueryService().get( argument.getClass(), argument.getId()); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/bfcb48d728436e30c2268bb790693dc55abf5340/RenderingBean.java/buggy/components/ejb/src/ome/ro/ejb/RenderingBean.java
LocalUpdate localUpdate = (LocalUpdate) serviceFactory .getContext().getBean(LocalUpdate.class.getName());
public void saveCurrentSettings() { delegate.saveCurrentSettings(); LocalUpdate localUpdate = (LocalUpdate) serviceFactory .getContext().getBean(LocalUpdate.class.getName()); localUpdate.flush(); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/bfcb48d728436e30c2268bb790693dc55abf5340/RenderingBean.java/buggy/components/ejb/src/ome/ro/ejb/RenderingBean.java
return newFixnum(hashCode());
return newFixnum((int) value ^ (int) (value >> 32));
public RubyFixnum hash() { return newFixnum(hashCode()); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/4b12521bf34cff2c9841b1dacb1a929f6def5327/RubyFixnum.java/clean/src/org/jruby/RubyFixnum.java
public RubyObject m_initialize(RubyFixnum size, RubyObject value) {
public RubyObject m_initialize(RubyObject[] args) { if (args.length < 2) { return this; } RubyFixnum size = (RubyFixnum)args[0];
public RubyObject m_initialize(RubyFixnum size, RubyObject value) { modify(); long len = size.getValue(); if (len < 0) { throw new RubyArgumentException("negative array size"); } if (len > Integer.MAX_VALUE) { throw new RubyArgumentException("array si...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/RubyArray.java/clean/org/jruby/RubyArray.java
Collections.fill(array, value);
Collections.fill(array, args[1]);
public RubyObject m_initialize(RubyFixnum size, RubyObject value) { modify(); long len = size.getValue(); if (len < 0) { throw new RubyArgumentException("negative array size"); } if (len > Integer.MAX_VALUE) { throw new RubyArgumentException("array si...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/RubyArray.java/clean/org/jruby/RubyArray.java
array.add(value);
array.add(args[1]);
public RubyObject m_initialize(RubyFixnum size, RubyObject value) { modify(); long len = size.getValue(); if (len < 0) { throw new RubyArgumentException("negative array size"); } if (len > Integer.MAX_VALUE) { throw new RubyArgumentException("array si...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/RubyArray.java/clean/org/jruby/RubyArray.java
modify();
public RubyArray m_push(RubyObject[] items) { if (items.length == 0) { throw new RubyArgumentException("wrong # of arguments(at least 1)"); } for (int i = 0; i < items.length; i++) { array.add(items[i]); } return this; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/RubyArray.java/clean/org/jruby/RubyArray.java
/* if (args[0] instanceof RubyBignum) {
if (args[0] instanceof RubyBignum) {
public RubyObject m_slice(RubyObject[] args) { if (args.length == 2) { long beg = ((RubyFixnum)args[0]).getValue(); long len = ((RubyFixnum)args[1]).getValue(); if (beg < 0) { beg += array.size(); } return subseq(beg, len); } ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/RubyArray.java/clean/org/jruby/RubyArray.java
}*/
long[] begLength = ((RubyRange)args[0]).getBeginLength(length()); if (begLength == null) { return getRuby().getNil(); } else { return subseq(begLength[0], begLength[1]); } }
public RubyObject m_slice(RubyObject[] args) { if (args.length == 2) { long beg = ((RubyFixnum)args[0]).getValue(); long len = ((RubyFixnum)args[1]).getValue(); if (beg < 0) { beg += array.size(); } return subseq(beg, len); } ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/RubyArray.java/clean/org/jruby/RubyArray.java
} if (idx > array.size()) {
} else if (idx > array.size()) {
public void store(long idx, RubyObject value) { modify(); if (idx < 0) { idx += array.size(); if (idx < 0) { throw new RubyIndexException("index " + (idx - array.size()) + " out of array"); } } if (idx > array.size()) { array.ens...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/RubyArray.java/clean/org/jruby/RubyArray.java
array.set((int)idx, value);
public void store(long idx, RubyObject value) { modify(); if (idx < 0) { idx += array.size(); if (idx < 0) { throw new RubyIndexException("index " + (idx - array.size()) + " out of array"); } } if (idx > array.size()) { array.ens...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/RubyArray.java/clean/org/jruby/RubyArray.java
private void initComponents() { titleLabel = new JLabel(getMessage(null)); titleLabelDefaultfont = titleLabel.getFont(); //TitleBar finishButton = new JButton("Save"); finishButton.setEnabled(false); finishButton.addActionListener(new ActionListener() { public...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/39bb6f0c93c9752d3daacd9753b8402e6d393a78/EditorPaneUI.java/clean/SRC/org/openmicroscopy/shoola/agents/hiviewer/clipboard/editor/EditorPaneUI.java
/* * Initialize a simple Frame. */
public BSFExample(BSFManager manager) { this.manager = manager; initUI(); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a427f315ae3c71573e36810225bf3a9c51df15d5/BSFExample.java/clean/src/org/jruby/javasupport/bsf/BSFExample.java
/* * Evaluates a Ruby expression and display the result. */
private void initUI() { final JFrame frame = new JFrame("A sample BSF application"); final JMenuBar menubar = new JMenuBar(); final JTextArea input = new JTextArea("$frame.setTitle(\"A new title\")"); final JButton execute = new JButton("Execute"); final JButton eval = new JButton...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a427f315ae3c71573e36810225bf3a9c51df15d5/BSFExample.java/clean/src/org/jruby/javasupport/bsf/BSFExample.java
/* * Execute Ruby statements. */
public void actionPerformed(ActionEvent e) { try { manager.exec("ruby", "initUI", 1, 1, input.getText()); } catch (BSFException excptn) { excptn.printStackTrace(); JOptionPane.showMessageDialog(frame, excptn.getMessage())...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a427f315ae3c71573e36810225bf3a9c51df15d5/BSFExample.java/clean/src/org/jruby/javasupport/bsf/BSFExample.java
/* * Evaluates a Ruby expression and display the result. */
public void actionPerformed(ActionEvent e) { try { String expression = JOptionPane.showInputDialog(frame, "Please enter a Ruby expression:"); input.setText(String.valueOf(manager.eval("ruby", "initUI", 1, 1, expression))); } catch (BSFExcep...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a427f315ae3c71573e36810225bf3a9c51df15d5/BSFExample.java/clean/src/org/jruby/javasupport/bsf/BSFExample.java
/* * Now we create a new BSFManager. */
public static void main(String[] args) { BSFManager.registerScriptingEngine("ruby", "org.jruby.javasupport.bsf.JRubyEngine", new String[] { "rb" }); new BSFExample(new BSFManager()); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a427f315ae3c71573e36810225bf3a9c51df15d5/BSFExample.java/clean/src/org/jruby/javasupport/bsf/BSFExample.java
while (initArgObj instanceof Macro)
while (initArgObj instanceof Macro && initArgObj != UNDEF)
public void write(FastWriter out, Context context) throws PropertyException, IOException { Map globalBeans = BeanConf.globalBeans; Map appBeans = beanConf.appBeans; boolean isNew = false; try { while (initArgObj instanceof Macro) initArgObj = ((Macro...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/d2c96af04bbf66c9b278908c025dc47e762e80cd/BeanDirective.java/buggy/webmacro/src/org/webmacro/directive/BeanDirective.java
if (i == 2) { modes |= BINARY; }
public static int convertModesStringToModesInt(IRuby runtime, String modesString) { int modes = 0; if (modesString.length() == 0) { throw runtime.newArgumentError("illegal access mode"); } switch (modesString.charAt(0)) { case 'r' : modes |= RDONLY; ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/4b12521bf34cff2c9841b1dacb1a929f6def5327/IOModes.java/buggy/src/org/jruby/util/IOModes.java
return (modes & RDWR) != 0 || modes == RDONLY;
return (modes & RDWR) != 0 || modes == RDONLY || modes == BINARY;
public boolean isReadable() { return (modes & RDWR) != 0 || modes == RDONLY; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/4b12521bf34cff2c9841b1dacb1a929f6def5327/IOModes.java/buggy/src/org/jruby/util/IOModes.java
public Dispatcher(DisplayedDocument dd) { controllers = new LinkedList<Controller>(); controllers.add(new MainController(dd)); controllers.add(new MainMenuController(dd)); controllers.add(new TreeContextMenuController(dd)); controllers.add(new TreeController(dd));
public Dispatcher() { controllers = new HashMap<String, Controller>();
public Dispatcher(DisplayedDocument dd) { controllers = new LinkedList<Controller>(); controllers.add(new MainController(dd)); controllers.add(new MainMenuController(dd)); controllers.add(new TreeContextMenuController(dd)); controllers.add(new TreeController(dd)); }
57508 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57508/57d4036eb7167d2d27117abe1f0280376377dbaa/Dispatcher.java/buggy/trunk/src/de/berlios/koalanotes/controllers/Dispatcher.java
Controller controller = null; Method method = null; Iterator<Controller> iter = controllers.iterator(); while (iter.hasNext() && (method == null)) { controller = iter.next(); method = controller.getMethod(methodDescriptor);
Controller controller = controllers.get(Controller.getControllerSignature(methodDescriptor)); if (controller == null) { throw new KoalaException("Koala Notes could not find controller '" + Controller.getControllerSignature(methodDescriptor) + "'.");
public void invokeControllerMethod(String methodDescriptor, Event e) { // Get the controller and method. Controller controller = null; Method method = null; Iterator<Controller> iter = controllers.iterator(); while (iter.hasNext() && (method == null)) { controller = iter.next(); method = controller.getMetho...
57508 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57508/57d4036eb7167d2d27117abe1f0280376377dbaa/Dispatcher.java/buggy/trunk/src/de/berlios/koalanotes/controllers/Dispatcher.java
Method method = controller.getMethod(methodDescriptor);
public void invokeControllerMethod(String methodDescriptor, Event e) { // Get the controller and method. Controller controller = null; Method method = null; Iterator<Controller> iter = controllers.iterator(); while (iter.hasNext() && (method == null)) { controller = iter.next(); method = controller.getMetho...
57508 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57508/57d4036eb7167d2d27117abe1f0280376377dbaa/Dispatcher.java/buggy/trunk/src/de/berlios/koalanotes/controllers/Dispatcher.java
final protected void doPost (HttpServletRequest req, HttpServletResponse resp)
protected void doPost (HttpServletRequest req, HttpServletResponse resp)
final protected void doPost (HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { doRequest (req,resp); }
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/aea98d1359054fc29449ec2c9e4a77029d963375/WMServlet.java/buggy/webmacro/src/org/webmacro/servlet/WMServlet.java
try {
try {
final protected void execute (Template tmpl, WebContext c) { FastWriter fw = null; boolean timing = Flags.PROFILE && c.isTiming (); try { if (timing) c.startTiming ("Template.write", tmpl); try { HttpServletResponse resp= c.getResponse (...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/aea98d1359054fc29449ec2c9e4a77029d963375/WMServlet.java/buggy/webmacro/src/org/webmacro/servlet/WMServlet.java
try {
try {
final protected void execute (Template tmpl, WebContext c) { FastWriter fw = null; boolean timing = Flags.PROFILE && c.isTiming (); try { if (timing) c.startTiming ("Template.write", tmpl); try { HttpServletResponse resp= c.getResponse (...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/aea98d1359054fc29449ec2c9e4a77029d963375/WMServlet.java/buggy/webmacro/src/org/webmacro/servlet/WMServlet.java
fw = FastWriter.getInstance (_broker, resp.getOutputStream (), encoding);
fw = FastWriter.getInstance (_broker, encoding);
final protected void execute (Template tmpl, WebContext c) { FastWriter fw = null; boolean timing = Flags.PROFILE && c.isTiming (); try { if (timing) c.startTiming ("Template.write", tmpl); try { HttpServletResponse resp= c.getResponse (...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/aea98d1359054fc29449ec2c9e4a77029d963375/WMServlet.java/buggy/webmacro/src/org/webmacro/servlet/WMServlet.java
} finally {
fw.writeTo (c.getResponse().getOutputStream ()); } finally {
final protected void execute (Template tmpl, WebContext c) { FastWriter fw = null; boolean timing = Flags.PROFILE && c.isTiming (); try { if (timing) c.startTiming ("Template.write", tmpl); try { HttpServletResponse resp= c.getResponse (...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/aea98d1359054fc29449ec2c9e4a77029d963375/WMServlet.java/buggy/webmacro/src/org/webmacro/servlet/WMServlet.java
} finally {
} finally {
final protected void execute (Template tmpl, WebContext c) { FastWriter fw = null; boolean timing = Flags.PROFILE && c.isTiming (); try { if (timing) c.startTiming ("Template.write", tmpl); try { HttpServletResponse resp= c.getResponse (...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/aea98d1359054fc29449ec2c9e4a77029d963375/WMServlet.java/buggy/webmacro/src/org/webmacro/servlet/WMServlet.java
} catch (IOException e) {
} catch (IOException e) {
final protected void execute (Template tmpl, WebContext c) { FastWriter fw = null; boolean timing = Flags.PROFILE && c.isTiming (); try { if (timing) c.startTiming ("Template.write", tmpl); try { HttpServletResponse resp= c.getResponse (...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/aea98d1359054fc29449ec2c9e4a77029d963375/WMServlet.java/buggy/webmacro/src/org/webmacro/servlet/WMServlet.java
} catch (Exception e) {
} catch (Exception e) {
final protected void execute (Template tmpl, WebContext c) { FastWriter fw = null; boolean timing = Flags.PROFILE && c.isTiming (); try { if (timing) c.startTiming ("Template.write", tmpl); try { HttpServletResponse resp= c.getResponse (...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/aea98d1359054fc29449ec2c9e4a77029d963375/WMServlet.java/buggy/webmacro/src/org/webmacro/servlet/WMServlet.java
try {
try {
final protected void execute (Template tmpl, WebContext c) { FastWriter fw = null; boolean timing = Flags.PROFILE && c.isTiming (); try { if (timing) c.startTiming ("Template.write", tmpl); try { HttpServletResponse resp= c.getResponse (...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/aea98d1359054fc29449ec2c9e4a77029d963375/WMServlet.java/buggy/webmacro/src/org/webmacro/servlet/WMServlet.java
catch (Exception ignore) { } } finally {
} finally {
final protected void execute (Template tmpl, WebContext c) { FastWriter fw = null; boolean timing = Flags.PROFILE && c.isTiming (); try { if (timing) c.startTiming ("Template.write", tmpl); try { HttpServletResponse resp= c.getResponse (...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/aea98d1359054fc29449ec2c9e4a77029d963375/WMServlet.java/buggy/webmacro/src/org/webmacro/servlet/WMServlet.java
if (fw != null) { fw.flush (); fw.close (); fw = null; } } catch (Exception e3) {
if (fw != null) { fw.flush (); fw.close (); fw = null;
final protected void execute (Template tmpl, WebContext c) { FastWriter fw = null; boolean timing = Flags.PROFILE && c.isTiming (); try { if (timing) c.startTiming ("Template.write", tmpl); try { HttpServletResponse resp= c.getResponse (...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/aea98d1359054fc29449ec2c9e4a77029d963375/WMServlet.java/buggy/webmacro/src/org/webmacro/servlet/WMServlet.java
} catch (Exception e3) { }
final protected void execute (Template tmpl, WebContext c) { FastWriter fw = null; boolean timing = Flags.PROFILE && c.isTiming (); try { if (timing) c.startTiming ("Template.write", tmpl); try { HttpServletResponse resp= c.getResponse (...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/aea98d1359054fc29449ec2c9e4a77029d963375/WMServlet.java/buggy/webmacro/src/org/webmacro/servlet/WMServlet.java
public RubySymbol(Ruby ruby, String symbol) {
private RubySymbol(Ruby ruby, String symbol) {
public RubySymbol(Ruby ruby, String symbol) { super(ruby, ruby.getClasses().getSymbolClass()); this.symbol = symbol; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a387d516d26e5f7ff453c52c2282ee687da0a99b/RubySymbol.java/buggy/org/jruby/RubySymbol.java
synchronized(this.getClass()) { lastId++; this.id = lastId; }
public RubySymbol(Ruby ruby, String symbol) { super(ruby, ruby.getClasses().getSymbolClass()); this.symbol = symbol; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a387d516d26e5f7ff453c52c2282ee687da0a99b/RubySymbol.java/buggy/org/jruby/RubySymbol.java
symbolClass.defineMethod("id", CallbackFactory.getMethod(RubySymbol.class, "id")); symbolClass.defineMethod("to_i", CallbackFactory.getMethod(RubySymbol.class, "to_i")); symbolClass.defineMethod("to_int", CallbackFactory.getMethod(RubySymbol.class, "to_i")); symbolClass.defineMethod("id2name", CallbackFactory.getMethod...
symbolClass.defineMethod("==", IndexedCallback.create(M_EQUAL, 1)); symbolClass.defineMethod("hash", IndexedCallback.create(M_HASH, 0)); symbolClass.defineMethod("inspect", IndexedCallback.create(M_INSPECT, 0)); symbolClass.defineMethod("dup", IndexedCallback.create(M_CLONE, 0)); symbolClass.defineMethod("clone", Index...
public static RubyClass createSymbolClass(Ruby ruby) { RubyClass symbolClass = ruby.defineClass("Symbol", ruby.getClasses().getObjectClass()); symbolClass.getRubyClass().undefMethod("new"); symbolClass.defineMethod("id", CallbackFactory.getMethod(RubySymbol.class, "id")); ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a387d516d26e5f7ff453c52c2282ee687da0a99b/RubySymbol.java/buggy/org/jruby/RubySymbol.java
return id();
return RubyFixnum.newFixnum(ruby, id);
public RubyFixnum to_i() { return id(); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a387d516d26e5f7ff453c52c2282ee687da0a99b/RubySymbol.java/buggy/org/jruby/RubySymbol.java
public DisplayRoi(Integer attributeId, Integer y1, Integer z1, Integer t0, Integer z0, Integer y0, Integer t1, Integer x0, Integer x1, org.openmicroscopy.omero.model.Image image, org.openmicroscopy.omero.model.ModuleExecution moduleExecution, org.openmicroscopy.omero.model.DisplayOption displayOption) { this.attributeI...
public DisplayRoi() {
public DisplayRoi(Integer attributeId, Integer y1, Integer z1, Integer t0, Integer z0, Integer y0, Integer t1, Integer x0, Integer x1, org.openmicroscopy.omero.model.Image image, org.openmicroscopy.omero.model.ModuleExecution moduleExecution, org.openmicroscopy.omero.model.DisplayOption displayOption) { this...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/9570ef74198a070d72e77c417c9d25244a942de2/DisplayRoi.java/buggy/components/common/src/org/openmicroscopy/omero/model/DisplayRoi.java
if (lc != null && lc.size() != retVal.getDefaultPixels().getSizeC())
if (lc != null && lc.size() == retVal.getDefaultPixels().getSizeC())
public ImageData retrieveImage(int id, ImageData retVal) throws DSOutOfServiceException, DSAccessException { //Make a new retVal if none was provided. if (retVal == null) retVal = new ImageData(); //Define the criteria by which the object graph is pulled out. Criteria c = ImageMapper.buildImageCriteria(i...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/a44d8080256cccc4fed6a1e9925c5e4177ac6b89/DMSAdapter.java/clean/SRC/org/openmicroscopy/shoola/env/data/DMSAdapter.java
public HttpMethodBase marshal()
public HttpMethod marshal()
public HttpMethodBase marshal() { PostMethod request = (PostMethod) super.marshal(); request.addParameter(THE_Z_FIELD, Integer.toString(theZ)); return request; }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/c0ee67611abddaf7c5a898ad8033ca4845e9d8fe/GetPlaneRequest.java/clean/SRC/org/openmicroscopy/shoola/omeis/proxy/GetPlaneRequest.java
{ JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); p.add(annotatorUI); p.add(new JSeparator()); p.add(buildToolBar()); return p; }
{ JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); p.add(annotatorUI); p.add(new JSeparator()); p.add(buildToolBar()); return p; }
private JPanel buildBody() { JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); p.add(annotatorUI); p.add(new JSeparator()); p.add(buildToolBar()); return p; }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/464efde90db6bc5095c0a7e5952f51ad0f37ca86/AnnotatorView.java/clean/SRC/org/openmicroscopy/shoola/agents/util/annotator/view/AnnotatorView.java
{ IconManager icons = IconManager.getInstance(); TitlePanel tp = new TitlePanel(TITLE, NOTE,
{ IconManager icons = IconManager.getInstance(); TitlePanel tp = new TitlePanel(TITLE, NOTE,
private void buildGUI() { IconManager icons = IconManager.getInstance(); TitlePanel tp = new TitlePanel(TITLE, NOTE, icons.getIcon(IconManager.ANNOTATION_48)); Container c = getContentPane(); c.setLayout(new BorderLayout(0, 0)); c.add(tp, BorderLayout.NORTH); c.add(buildBody(), BorderLay...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/464efde90db6bc5095c0a7e5952f51ad0f37ca86/AnnotatorView.java/clean/SRC/org/openmicroscopy/shoola/agents/util/annotator/view/AnnotatorView.java
Container c = getContentPane(); c.setLayout(new BorderLayout(0, 0)); c.add(tp, BorderLayout.NORTH); c.add(buildBody(), BorderLayout.CENTER); c.add(statusBar, BorderLayout.SOUTH); }
Container c = getContentPane(); c.setLayout(new BorderLayout(0, 0)); c.add(tp, BorderLayout.NORTH); c.add(buildBody(), BorderLayout.CENTER); c.add(statusBar, BorderLayout.SOUTH); }
private void buildGUI() { IconManager icons = IconManager.getInstance(); TitlePanel tp = new TitlePanel(TITLE, NOTE, icons.getIcon(IconManager.ANNOTATION_48)); Container c = getContentPane(); c.setLayout(new BorderLayout(0, 0)); c.add(tp, BorderLayout.NORTH); c.add(buildBody(), BorderLay...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/464efde90db6bc5095c0a7e5952f51ad0f37ca86/AnnotatorView.java/clean/SRC/org/openmicroscopy/shoola/agents/util/annotator/view/AnnotatorView.java
{ JPanel bar = new JPanel(); bar.setBorder(null); JButton b = new JButton(controller.getAction(AnnotatorControl.FINISH)); bar.add(b); bar.add(Box.createRigidArea(H_SPACER_SIZE)); b = new JButton(controller.getAction(AnnotatorControl.CANCEL)); bar.add(b); return UIUtilities.buildComponentPanelRight(bar); }
{ JPanel bar = new JPanel(); bar.setBorder(null); JButton b = new JButton(controller.getAction(AnnotatorControl.FINISH)); bar.add(b); bar.add(Box.createRigidArea(H_SPACER_SIZE)); b = new JButton(controller.getAction(AnnotatorControl.CANCEL)); bar.add(b); return UIUtilities.buildComponentPanelRight(bar); }
private JPanel buildToolBar() { JPanel bar = new JPanel(); bar.setBorder(null); JButton b = new JButton(controller.getAction(AnnotatorControl.FINISH)); bar.add(b); bar.add(Box.createRigidArea(H_SPACER_SIZE)); b = new JButton(controller.getAction(AnnotatorControl.CANCEL)); bar.add(b); r...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/464efde90db6bc5095c0a7e5952f51ad0f37ca86/AnnotatorView.java/clean/SRC/org/openmicroscopy/shoola/agents/util/annotator/view/AnnotatorView.java
{ setModal(true); setTitle(TITLE); }
{ setModal(true); setTitle(TITLE); }
private void setProperties() { setModal(true); setTitle(TITLE); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/464efde90db6bc5095c0a7e5952f51ad0f37ca86/AnnotatorView.java/clean/SRC/org/openmicroscopy/shoola/agents/util/annotator/view/AnnotatorView.java
if (iteratorMethod != null) { recv = recv.callMethod(iteratorMethod); }
public IRubyObject execute(IRubyObject recv, IRubyObject[] args) { while (recv.callMethod(hasNextMethod).isTrue()) { if (nextMethod == null) { recv.getRuntime().yield(recv); } else { recv.getRuntime().yield(recv.callMethod(nextMethod)); } ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/1ceedf02ac15d7325cfcf505ca74f35c5bc4a258/JavaEachMethod.java/clean/org/jruby/javasupport/JavaEachMethod.java
runtime.getClass("JavaUtilities").callMethod(
runtime.getClasses().getObjectClass().getConstant("JavaUtilities").callMethod(
public IRubyObject getValue() { IRubyObject result = JavaUtil.convertJavaToRuby(runtime, bean.bean, bean.type); if (result instanceof JavaObject) { runtime.getLoadService().require("java"); result = runtime.getClass("JavaUtilities").callMeth...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/fffe7aa25510c5fa1f975232bea0ef0fd24762d7/JRubyEngine.java/buggy/src/org/jruby/javasupport/bsf/JRubyEngine.java
runtime.getClass("JavaUtilities").callMethod(
runtime.getClasses().getObjectClass().getConstant("JavaUtilities").callMethod(
private IRubyObject convertToRuby(Object value) { IRubyObject result = JavaUtil.convertJavaToRuby(runtime, value); if (result instanceof JavaObject) { runtime.getLoadService().require("java"); result = runtime.getClass("JavaUtilities").callMethod( ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/fffe7aa25510c5fa1f975232bea0ef0fd24762d7/JRubyEngine.java/buggy/src/org/jruby/javasupport/bsf/JRubyEngine.java
int size = declaredBeans.size(); for (int i = 0; i < size; i++) {
for (int i = 0, size = declaredBeans.size(); i < size; i++) {
public void initialize(BSFManager mgr, String lang, Vector declaredBeans) throws BSFException { super.initialize(mgr, lang, declaredBeans); runtime = Ruby.getDefaultInstance(); int size = declaredBeans.size(); for (int i = 0; i < size; i++) { BSFDeclaredBean bean = (BSFDeclare...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/fffe7aa25510c5fa1f975232bea0ef0fd24762d7/JRubyEngine.java/buggy/src/org/jruby/javasupport/bsf/JRubyEngine.java
public void initialize(BSFManager mgr, String lang, Vector declaredBeans) throws BSFException { super.initialize(mgr, lang, declaredBeans); runtime = Ruby.getDefaultInstance(); int size = declaredBeans.size(); for (int i = 0; i < size; i++) { BSFDeclaredBean bean = (BSFDeclare...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/fffe7aa25510c5fa1f975232bea0ef0fd24762d7/JRubyEngine.java/buggy/src/org/jruby/javasupport/bsf/JRubyEngine.java
Thread.sleep(10000);
public void initialize() { SwingWorker thread = new SwingWorker() { public Object construct() { try { Thread.sleep(10000); populateTransports(SparkManager.getConnection()); for (final Transport transport : TransportManager.get...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/293ca0665a0d37883c1db435594539c7b5a0e56e/GatewayPlugin.java/buggy/src/java/org/jivesoftware/sparkimpl/plugin/gateways/GatewayPlugin.java
Thread.sleep(10000);
public Object construct() { try { Thread.sleep(10000); populateTransports(SparkManager.getConnection()); for (final Transport transport : TransportManager.getTransports()) { addTransport(transport); ...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/293ca0665a0d37883c1db435594539c7b5a0e56e/GatewayPlugin.java/buggy/src/java/org/jivesoftware/sparkimpl/plugin/gateways/GatewayPlugin.java
for(ContactGroup contactGroup : contactList.getContactGroups()){ for(ContactItem contactItem : contactGroup.getContactItems()){
for (ContactGroup contactGroup : contactList.getContactGroups()) { for (ContactItem contactItem : contactGroup.getContactItems()) {
private void registerPresences() { SparkManager.getConnection().addPacketListener(new PacketListener() { public void processPacket(Packet packet) { Presence presence = (Presence)packet; Transport transport = TransportManager.getTransport(packet.getFrom()); ...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/293ca0665a0d37883c1db435594539c7b5a0e56e/GatewayPlugin.java/buggy/src/java/org/jivesoftware/sparkimpl/plugin/gateways/GatewayPlugin.java
boolean handle = handlePresence(contactItem, presence); if(handle){ contactGroup.fireContactGroupUpdated();
if (presence != null) { String domain = StringUtils.parseServer(presence.getFrom()); Transport transport = TransportManager.getTransport(domain); if (transport != null) { handlePresence(contactItem, presence); contactGroup.fireContactGroupUpdated(); }
private void registerPresences() { SparkManager.getConnection().addPacketListener(new PacketListener() { public void processPacket(Packet packet) { Presence presence = (Presence)packet; Transport transport = TransportManager.getTransport(packet.getFrom()); ...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/293ca0665a0d37883c1db435594539c7b5a0e56e/GatewayPlugin.java/buggy/src/java/org/jivesoftware/sparkimpl/plugin/gateways/GatewayPlugin.java
private void registerPresences() { SparkManager.getConnection().addPacketListener(new PacketListener() { public void processPacket(Packet packet) { Presence presence = (Presence)packet; Transport transport = TransportManager.getTransport(packet.getFrom()); ...
52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/293ca0665a0d37883c1db435594539c7b5a0e56e/GatewayPlugin.java/buggy/src/java/org/jivesoftware/sparkimpl/plugin/gateways/GatewayPlugin.java
@NotNull ExperimenterGroup[] groups );
@NotNull ExperimenterGroup...groups );
void addGroups( @NotNull Experimenter user, @NotNull ExperimenterGroup[] groups );
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/d4a4fd19dcb38c276cd70b93f33ec7f9c4156452/IAdmin.java/clean/components/common/src/ome/api/IAdmin.java
@NotNull ExperimenterGroup[] groups );
@NotNull ExperimenterGroup...groups );
void removeGroups( @NotNull Experimenter user, @NotNull ExperimenterGroup[] groups );
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/d4a4fd19dcb38c276cd70b93f33ec7f9c4156452/IAdmin.java/clean/components/common/src/ome/api/IAdmin.java
setConstant("FNM_NOESCAPE", runtime.newFixnum(1)); setConstant("FNM_CASEFOLD", runtime.newFixnum(8)); setConstant("FNM_DOTMATCH", runtime.newFixnum(4)); setConstant("FNM_PATHNAME", runtime.newFixnum(2));
setConstant("FNM_NOESCAPE", runtime.newFixnum(FNM_NOESCAPE)); setConstant("FNM_CASEFOLD", runtime.newFixnum(FNM_CASEFOLD)); setConstant("FNM_DOTMATCH", runtime.newFixnum(FNM_DOTMATCH)); setConstant("FNM_PATHNAME", runtime.newFixnum(FNM_PATHNAME));
protected void initializeClass() { IRuby runtime = getRuntime(); RubyString separator = runtime.newString("/"); separator.freeze(); defineConstant("SEPARATOR", separator); defineConstant("Separator", separator); RubyString altSeparator = runtime.newString(File.separatorChar ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/7c9ec57d0ce44adc41c27cdfce89439cec7da0ed/FileMetaClass.java/clean/src/org/jruby/runtime/builtin/meta/FileMetaClass.java
protected void initializeClass() { IRuby runtime = getRuntime(); RubyString separator = runtime.newString("/"); separator.freeze(); defineConstant("SEPARATOR", separator); defineConstant("Separator", separator); RubyString altSeparator = runtime.newString(File.separatorChar ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/7c9ec57d0ce44adc41c27cdfce89439cec7da0ed/FileMetaClass.java/clean/src/org/jruby/runtime/builtin/meta/FileMetaClass.java
defineSingletonMethod("fnmatch", Arity.optional()); defineSingletonMethod("fnmatch?", Arity.optional(), "fnmatch");
protected void initializeClass() { IRuby runtime = getRuntime(); RubyString separator = runtime.newString("/"); separator.freeze(); defineConstant("SEPARATOR", separator); defineConstant("Separator", separator); RubyString altSeparator = runtime.newString(File.separatorChar ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/7c9ec57d0ce44adc41c27cdfce89439cec7da0ed/FileMetaClass.java/clean/src/org/jruby/runtime/builtin/meta/FileMetaClass.java
return getRuntime().newFixnum(JRubyFile.create(getRuntime().getCurrentDirectory(),name.toString()).lastModified());
return getRuntime().newTime(JRubyFile.create(getRuntime().getCurrentDirectory(),name.toString()).lastModified());
public IRubyObject mtime(IRubyObject filename) { RubyString name = RubyString.stringValue(filename); return getRuntime().newFixnum(JRubyFile.create(getRuntime().getCurrentDirectory(),name.toString()).lastModified()); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/7c9ec57d0ce44adc41c27cdfce89439cec7da0ed/FileMetaClass.java/clean/src/org/jruby/runtime/builtin/meta/FileMetaClass.java
return Collections.EMPTY_LIST;
return EMPTY_LIST;
public List childNodes() { return Collections.EMPTY_LIST; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/ZeroArgNode.java/buggy/src/org/jruby/ast/ZeroArgNode.java
fail(message.getValue());
fail(message.toString());
public void runTest() throws Throwable { StringBuffer script = new StringBuffer(); script.append("require 'test/minirunit'").append('\n'); script.append("$silentTests = true").append('\n'); script.append("test_load('").append(scriptName()).append("')").append('\n'); ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/9f2efc63a858fa0507245b207025eab027840a04/ScriptTestSuite.java/buggy/test/org/jruby/test/ScriptTestSuite.java
javaObjectClass.defineMethod("java_type", CallbackFactory.getMethod(RubyJavaObject.class, "java_type"));
public static RubyClass createJavaObjectClass(Ruby ruby) { RubyClass javaObjectClass = ruby.defineClass("JavaObject", ruby.getClasses().getObjectClass()); javaObjectClass.defineMethod("to_s", CallbackFactory.getMethod(RubyJavaObject.class, "to_s")); javaObjectClass.defineMethod("eql?", Callback...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/89272e383891a75366988c82cce7c8626dcf5e2d/RubyJavaObject.java/clean/org/jruby/RubyJavaObject.java
/*rb_define_private_method(rb_cModule, "append_features", rb_mod_append_features, 1); rb_define_private_method(rb_cModule, "extend_object", rb_mod_extend_object, 1); rb_define_private_method(rb_cModule, "include", rb_mod_include, -1); rb_define_private_method(rb_cModule, "public", rb_mod_public, -1); rb_define_privat...
public static void initModuleClass(RubyClass moduleClass) { moduleClass.defineMethod("===", getMethod("op_eqq", RubyObject.class, false)); moduleClass.defineMethod("<=>", getMethod("op_cmp", RubyObject.class, false)); moduleClass.defineMethod("<", getMethod("op_lt", RubyObject.class, false)); ...
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a9420f23379e292698ea011ab08fb480b4decbcc/RbModule.java/clean/org/jruby/core/RbModule.java
DefaultMutableTreeNode root = (DefaultMutableTreeNode) tm.getRoot();
private void buildTreeNode(ImageDisplay node) { DefaultMutableTreeNode dtn; DefaultTreeModel tm = (DefaultTreeModel) getModel(); dtn = (DefaultMutableTreeNode) identityMap.get(node); if (dtn == null) { // create a tree node dtn = new DefaultMutableTreeNode(node); ...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/ea7509babe2344eb702969105eb77096cc5b6bcf/FindResultsPane.java/clean/SRC/org/openmicroscopy/shoola/agents/hiviewer/clipboard/finder/FindResultsPane.java
*/
private void buildTreeNode(ImageDisplay node) { DefaultMutableTreeNode dtn; DefaultTreeModel tm = (DefaultTreeModel) getModel(); dtn = (DefaultMutableTreeNode) identityMap.get(node); if (dtn == null) { // create a tree node dtn = new DefaultMutableTreeNode(node); ...
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/ea7509babe2344eb702969105eb77096cc5b6bcf/FindResultsPane.java/clean/SRC/org/openmicroscopy/shoola/agents/hiviewer/clipboard/finder/FindResultsPane.java
return getRuntime().newFixnum(hashCode());
return getRuntime().newFixnum(new Double(value).hashCode());
public RubyFixnum hash() { return getRuntime().newFixnum(hashCode()); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/4b12521bf34cff2c9841b1dacb1a929f6def5327/RubyFloat.java/buggy/src/org/jruby/RubyFloat.java
flater = new Deflater(level,true);
flater = new Deflater(level,false);
public ZlibDeflate(IRubyObject caller, int level, int win_bits, int memlevel, int strategy) { super(); flater = new Deflater(level,true); flater.setStrategy(strategy); collected = new StringBuffer(); runtime = caller.getRuntime(); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/c9e16f0d2d769c555189a2e11bfe3a4c8b098650/ZlibDeflate.java/clean/src/org/jruby/util/ZlibDeflate.java
label_7:
label_8:
final public Object AExpression() throws ParseException { Object e, e2; Token op; e = Factor(); label_7: while (true) { if (jj_2_12(2)) { ; } else { break label_7; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; defau...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
break label_7;
break label_8;
final public Object AExpression() throws ParseException { Object e, e2; Token op; e = Factor(); label_7: while (true) { if (jj_2_12(2)) { ; } else { break label_7; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; defau...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
jj_la1[58] = jj_gen;
jj_la1[59] = jj_gen;
final public Object AExpression() throws ParseException { Object e, e2; Token op; e = Factor(); label_7: while (true) { if (jj_2_12(2)) { ; } else { break label_7; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; defau...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
jj_la1[59] = jj_gen;
jj_la1[60] = jj_gen;
final public Object AExpression() throws ParseException { Object e, e2; Token op; e = Factor(); label_7: while (true) { if (jj_2_12(2)) { ; } else { break label_7; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; defau...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
jj_la1[60] = jj_gen;
jj_la1[61] = jj_gen;
final public Object AExpression() throws ParseException { Object e, e2; Token op; e = Factor(); label_7: while (true) { if (jj_2_12(2)) { ; } else { break label_7; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; defau...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
label_8:
label_9:
final public Object AndExpression() throws ParseException { Object e, e2; e = CExpression(); label_8: while (true) { if (jj_2_14(2)) { ; } else { break label_8; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; default: ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
break label_8;
break label_9;
final public Object AndExpression() throws ParseException { Object e, e2; e = CExpression(); label_8: while (true) { if (jj_2_14(2)) { ; } else { break label_8; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; default: ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
jj_la1[64] = jj_gen;
jj_la1[65] = jj_gen;
final public Object AndExpression() throws ParseException { Object e, e2; e = CExpression(); label_8: while (true) { if (jj_2_14(2)) { ; } else { break label_8; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; default: ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
jj_la1[65] = jj_gen;
jj_la1[66] = jj_gen;
final public Object AndExpression() throws ParseException { Object e, e2; e = CExpression(); label_8: while (true) { if (jj_2_14(2)) { ; } else { break label_8; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; default: ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
jj_la1[37] = jj_gen;
jj_la1[38] = jj_gen;
final public ListBuilder ArgList() throws ParseException { ListBuilder list = new ListBuilder(); Object e; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case LPAREN: case LBRACKET: case OP_...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
jj_la1[38] = jj_gen;
jj_la1[39] = jj_gen;
final public ListBuilder ArgList() throws ParseException { ListBuilder list = new ListBuilder(); Object e; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case LPAREN: case LBRACKET: case OP_...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
label_4:
label_5:
final public ListBuilder ArgList() throws ParseException { ListBuilder list = new ListBuilder(); Object e; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case LPAREN: case LBRACKET: case OP_...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
jj_la1[39] = jj_gen; break label_4;
jj_la1[40] = jj_gen; break label_5;
final public ListBuilder ArgList() throws ParseException { ListBuilder list = new ListBuilder(); Object e; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case LPAREN: case LBRACKET: case OP_...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
jj_la1[40] = jj_gen;
jj_la1[41] = jj_gen;
final public ListBuilder ArgList() throws ParseException { ListBuilder list = new ListBuilder(); Object e; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case LPAREN: case LBRACKET: case OP_...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
jj_la1[41] = jj_gen;
jj_la1[42] = jj_gen;
final public ListBuilder ArgList() throws ParseException { ListBuilder list = new ListBuilder(); Object e; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case LPAREN: case LBRACKET: case OP_...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
jj_la1[42] = jj_gen;
jj_la1[43] = jj_gen;
final public ListBuilder ArgList() throws ParseException { ListBuilder list = new ListBuilder(); Object e; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case LPAREN: case LBRACKET: case OP_...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
label_12:
label_13:
final public BlockBuilder Block(Subdirective[] subdirectives) throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; blockStack.push(subdirectives); if (jj_2_23(2147483647)) { jj_consume_token(LBRACE); EatWsNlIfNl(block); label_12: while (true) { ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java
jj_la1[83] = jj_gen; break label_12;
jj_la1[84] = jj_gen; break label_13;
final public BlockBuilder Block(Subdirective[] subdirectives) throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; blockStack.push(subdirectives); if (jj_2_23(2147483647)) { jj_consume_token(LBRACE); EatWsNlIfNl(block); label_12: while (true) { ...
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/5a4586d6c4b36b78c3896b3ea43acac5de0be624/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java