rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
OMG_PREFIX + cn.substring(CLASSPATH_PREFIX.length()).replace('.', '/'); | OMG_PREFIX + cn.substring(CLASSPATH_PREFIX.length()).replace('.', '/'); | public static String toIDL(String cn) { if (cn.startsWith(JAVA_PREFIX)) cn = OMG_PREFIX + cn.substring(JAVA_PREFIX.length()).replace('.', '/'); else if (cn.startsWith(CLASSPATH_PREFIX)) cn = OMG_PREFIX + cn.substring(CLASSPATH_PREFIX.length()).replace('.', '/'); return "IDL:" + cn + ":1.0";... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/ObjectCreator.java/clean/core/src/classpath/gnu/gnu/CORBA/ObjectCreator.java |
public UNKNOWN(String reason, int minor, CompletionStatus completed) | public UNKNOWN(String message) | public UNKNOWN(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UNKNOWN.java/buggy/core/src/classpath/org/org/omg/CORBA/UNKNOWN.java |
super(reason, minor, completed); | super(message, 0, CompletionStatus.COMPLETED_NO); | public UNKNOWN(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UNKNOWN.java/buggy/core/src/classpath/org/org/omg/CORBA/UNKNOWN.java |
setModel(new DefaultButtonModel()); | protected void init(String text, Icon icon) { super.init(text, icon); // Initializes properties for this menu item, that are different // from Abstract button properties. /* NOTE: According to java specifications paint_border should be set to false, since menu item should not have a border. However... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/JMenuItem.java/clean/core/src/classpath/javax/javax/swing/JMenuItem.java | |
AbstractButton(String txt, Icon icon) | public AbstractButton() | AbstractButton(String txt, Icon icon) { text = txt; default_icon = icon; model = new DefaultButtonModel(); actionListener = createActionListener(); changeListener = createChangeListener(); itemListener = createItemListener(); model.addActionListener(actionListener); model.addChangeListener(ch... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java |
text = txt; default_icon = icon; model = new DefaultButtonModel(); actionListener = createActionListener(); changeListener = createChangeListener(); itemListener = createItemListener(); model.addActionListener(actionListener); model.addChangeListener(changeListener); model.addItemListener(itemListener); hori_align = ... | this("",null); | AbstractButton(String txt, Icon icon) { text = txt; default_icon = icon; model = new DefaultButtonModel(); actionListener = createActionListener(); changeListener = createChangeListener(); itemListener = createItemListener(); model.addActionListener(actionListener); model.addChangeListener(ch... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java |
actionPropertyChangeListener = createActionPropertyChangeListener(a); | public void setAction(Action a) { if (action != null) { action.removePropertyChangeListener(actionPropertyChangeListener); removeActionListener(action); if (actionPropertyChangeListener != null) { action.removePropertyChangeListener(actionPropertyChangeListener); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java | |
public void setAction(Action a) { if (action != null) { action.removePropertyChangeListener(actionPropertyChangeListener); removeActionListener(action); if (actionPropertyChangeListener != null) { action.removePropertyChangeListener(actionPropertyChangeListener); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java | ||
actionPropertyChangeListener = createActionPropertyChangeListener(a); | public void setAction(Action a) { if (action != null) { action.removePropertyChangeListener(actionPropertyChangeListener); removeActionListener(action); if (actionPropertyChangeListener != null) { action.removePropertyChangeListener(actionPropertyChangeListener); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java | |
if (a.getValue(Action.MNEMONIC_KEY) != null) | protected void configurePropertiesFromAction(Action a) { if (a == null) { setText(null); setIcon(null); setEnabled(true); setToolTipText(null); } else { setText((String)(a.getValue(Action.NAME))); setIcon((Icon)(a.getValue(Action.SMALL_ICON))); s... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java | |
Action act = (Action)(e.getSource()); AbstractButton.this.configurePropertiesFromAction(act); | Action act = (Action) (e.getSource()); if (e.getPropertyName().equals(AbstractAction.ENABLED_PROPERTY)) setEnabled(act.isEnabled()); else if (e.getPropertyName().equals(Action.NAME)) setText((String)(act.getValue(Action.NAME))); else if (e.getPropertyName().equals(Action.SMALL_ICON)) setIcon((Icon)(act.getValue(Action.... | protected PropertyChangeListener createActionPropertyChangeListener(Action a) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent e) { Action act = (Action)(e.getSource()); AbstractButton.this.configurePropertiesFromAction(act); } ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java |
stateMask = ENABLED; mnemonic = java.awt.event.KeyEvent.VK_UNDEFINED; listenerList = new EventListenerList(); changeEvent = new ChangeEvent(this); | public DefaultButtonModel() { stateMask = ENABLED; mnemonic = java.awt.event.KeyEvent.VK_UNDEFINED; listenerList = new EventListenerList(); changeEvent = new ChangeEvent(this); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DefaultButtonModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultButtonModel.java | |
void addChangeListener(ChangeListener l); | void addChangeListener(ChangeListener listener); | void addChangeListener(ChangeListener l); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Style.java/buggy/core/src/classpath/javax/javax/swing/text/Style.java |
void removeChangeListener(ChangeListener l); | void removeChangeListener(ChangeListener listener); | void removeChangeListener(ChangeListener l); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Style.java/buggy/core/src/classpath/javax/javax/swing/text/Style.java |
public SimpleAttributeSet(AttributeSet a) | public SimpleAttributeSet() | public SimpleAttributeSet(AttributeSet a) { tab = new Hashtable(); addAttributes(a); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/SimpleAttributeSet.java/buggy/core/src/classpath/javax/javax/swing/text/SimpleAttributeSet.java |
tab = new Hashtable(); addAttributes(a); | this(null); | public SimpleAttributeSet(AttributeSet a) { tab = new Hashtable(); addAttributes(a); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/SimpleAttributeSet.java/buggy/core/src/classpath/javax/javax/swing/text/SimpleAttributeSet.java |
public static Toolkit getDefaultToolkit() { if (toolkit != null) return toolkit; String toolkit_name = System.getProperty("awt.toolkit", default_toolkit_name); try { // @classpath-bugfix Replace Class.forName ClassLoader cl = Thread.currentThr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01db1a0d9fd6e0f94d31c54712f8818b6a6a708e/Toolkit.java/buggy/core/src/classpath/java/java/awt/Toolkit.java | ||
return new Enumerator<K>(KEYS); | return new KeyEnumerator(); | public Enumeration<K> keys() { return new Enumerator<K>(KEYS); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/63ff6161906dfae5c6cd8e9ab83aca650e00923d/Hashtable.java/buggy/core/src/classpath/5.0/java/util/Hashtable.java |
ret.width += d.width; | public Dimension getPreferredSize(JComponent c) { TableColumnModel cmod = header.getColumnModel(); TableCellRenderer defaultRend = header.getDefaultRenderer(); int ncols = cmod.getColumnCount(); Dimension ret = new Dimension(0,0); int spacing = 0; if (header.getTable() != null && header... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/BasicTableHeaderUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableHeaderUI.java | |
ret.width = cmod.getTotalColumnWidth(); | public Dimension getPreferredSize(JComponent c) { TableColumnModel cmod = header.getColumnModel(); TableCellRenderer defaultRend = header.getDefaultRenderer(); int ncols = cmod.getColumnCount(); Dimension ret = new Dimension(0,0); int spacing = 0; if (header.getTable() != null && header... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/BasicTableHeaderUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableHeaderUI.java | |
if (background != null && c != null) if (background.equals(c)) return; | public void setBackground(Color c) { // If c is null, inherit from closest ancestor whose bg is set. if (c == null && parent != null) c = parent.getBackground(); firePropertyChange("background", background, c); if (peer != null && c != null) peer.setBackground(c); background = c; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/Component.java/buggy/core/src/classpath/java/java/awt/Component.java | |
public boolean intersects(Rectangle r) { return width > 0 && height > 0 && r.width > 0 && r.height > 0 && r.x < x + width && r.x + r.width > x && r.y < y + height && r.y + r.height > y; | public boolean intersects(Rectangle r) { return width > 0 && height > 0 && r.width > 0 && r.height > 0 && r.x < x + width && r.x + r.width > x && r.y < y + height && r.y + r.height > y; | public boolean intersects(Rectangle r) { return width > 0 && height > 0 && r.width > 0 && r.height > 0 && r.x < x + width && r.x + r.width > x && r.y < y + height && r.y + r.height > y; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Rectangle.java/buggy/core/src/classpath/java/java/awt/Rectangle.java |
return getBounds(); | if (bounds == null) { if (npoints == 0) return bounds = new Rectangle (); int i = npoints - 1; int minx = xpoints[i]; int maxx = minx; int miny = ypoints[i]; int maxy = miny; while (--i >= 0) { int x = xpoints[i]; int y = ypoints[i]; if (x < minx) minx = x; else if (x > maxx) maxx = x; if (y < miny) miny = y; else if (... | public Rectangle getBoundingBox() { return getBounds(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Polygon.java/buggy/core/src/classpath/java/java/awt/Polygon.java |
if (bounds == null) { if (npoints == 0) return bounds = new Rectangle(); int i = npoints - 1; int minx = xpoints[i]; int maxx = minx; int miny = ypoints[i]; int maxy = miny; while (--i >= 0) { int x = xpoints[i]; int y = ypoints[i]; if (x < minx) minx = x; else if (x > maxx) maxx = x; if (y < miny) miny = y; else if (y... | return getBoundingBox (); | public Rectangle getBounds() { if (bounds == null) { if (npoints == 0) return bounds = new Rectangle(); int i = npoints - 1; int minx = xpoints[i]; int maxx = minx; int miny = ypoints[i]; int maxy = miny; while (--i >= 0) { int x =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Polygon.java/buggy/core/src/classpath/java/java/awt/Polygon.java |
xpoints[i] += dy; | ypoints[i] += dy; | public void translate(int dx, int dy) { int i = npoints; while (--i >= 0) { xpoints[i] += dx; xpoints[i] += dy; } if (bounds != null) { bounds.x += dx; bounds.y += dy; } condensed = null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Polygon.java/buggy/core/src/classpath/java/java/awt/Polygon.java |
public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int num) | public Point2D transform(Point2D src, Point2D dst) | public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int num) { if (srcPts == dstPts && dstOff > srcOff && num > 1 && srcOff + 2 * num > dstOff) { float[] f = new float[2 * num]; System.arraycopy(srcPts, srcOff, f, 0, 2 * num); srcPts = f; } wh... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/AffineTransform.java/buggy/core/src/classpath/java/java/awt/geom/AffineTransform.java |
if (srcPts == dstPts && dstOff > srcOff && num > 1 && srcOff + 2 * num > dstOff) { float[] f = new float[2 * num]; System.arraycopy(srcPts, srcOff, f, 0, 2 * num); srcPts = f; } while (--num >= 0) { float x = srcPts[srcOff++]; float y = srcPts[srcOff++]; dstPts[dstOff++] = (float) (m00 * x + m01 * y + m02); dstPts[dstO... | if (dst == null) dst = new Point2D.Double(); double x = src.getX(); double y = src.getY(); double nx = m00 * x + m01 * y + m02; double ny = m10 * x + m11 * y + m12; dst.setLocation(nx, ny); return dst; | public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int num) { if (srcPts == dstPts && dstOff > srcOff && num > 1 && srcOff + 2 * num > dstOff) { float[] f = new float[2 * num]; System.arraycopy(srcPts, srcOff, f, 0, 2 * num); srcPts = f; } wh... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/AffineTransform.java/buggy/core/src/classpath/java/java/awt/geom/AffineTransform.java |
String s = value.toString(); FontMetrics fm = getToolkit().getFontMetrics(list.getFont()); int strWidth = SwingUtilities.computeStringWidth(fm, s); int cbWidth = getSize().width; if (cbWidth != 0 && strWidth > cbWidth) { char[] str = s.toCharArray(); int currWidth = 0; int i = 0; String postStr = "... "; cbWidth -= S... | if (isSelected) | public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { String s = value.toString(); // String maybe larger than comboBox. FontMetrics fm =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/BasicComboBoxRenderer.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxRenderer.java |
setEnabled(list.isEnabled()); setFont(list.getFont()); | if (value instanceof Icon) setIcon((Icon) value); else setText(value == null ? "" : value.toString()); | public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { String s = value.toString(); // String maybe larger than comboBox. FontMetrics fm =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/BasicComboBoxRenderer.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxRenderer.java |
public void setBounds(int x, int y, int width, int height) { this.x = x; this.y = y; this.width = width; this.height = height; | public void setBounds(Rectangle r) { setBounds (r.x, r.y, r.width, r.height); | public void setBounds(int x, int y, int width, int height) { this.x = x; this.y = y; this.width = width; this.height = height; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Rectangle.java/buggy/core/src/classpath/java/java/awt/Rectangle.java |
public double getX() { | public double getX() { | public double getX() { return x; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Rectangle.java/buggy/core/src/classpath/java/java/awt/Rectangle.java |
public double getY() { | public double getY() { | public double getY() { return y; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Rectangle.java/buggy/core/src/classpath/java/java/awt/Rectangle.java |
public double getWidth() { | public double getWidth() { | public double getWidth() { return width; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Rectangle.java/buggy/core/src/classpath/java/java/awt/Rectangle.java |
public double getHeight() { | public double getHeight() { | public double getHeight() { return height; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Rectangle.java/buggy/core/src/classpath/java/java/awt/Rectangle.java |
button = BUTTON1; | this.button = BUTTON1; | public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button) { super(source, id, when, modifiers); this.x = x; this.y = y; this.clickCount = clickCount; this.popupTrigger = popupTrigger; t... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/MouseEvent.java/buggy/core/src/classpath/java/java/awt/event/MouseEvent.java |
button = BUTTON2; | this.button = BUTTON2; | public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button) { super(source, id, when, modifiers); this.x = x; this.y = y; this.clickCount = clickCount; this.popupTrigger = popupTrigger; t... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/MouseEvent.java/buggy/core/src/classpath/java/java/awt/event/MouseEvent.java |
button = BUTTON3; | this.button = BUTTON3; | public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button) { super(source, id, when, modifiers); this.x = x; this.y = y; this.clickCount = clickCount; this.popupTrigger = popupTrigger; t... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/MouseEvent.java/buggy/core/src/classpath/java/java/awt/event/MouseEvent.java |
public Component getFocusOwner() { try | public Component getFocusOwner () | public Component getFocusOwner() { // XXX Need an easy way to test if this thread is in the context of the // global focus owner, to avoid creating the exception in the first place. try { return getGlobalFocusOwner(); } catch (SecurityException e) { return null; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
return getGlobalFocusOwner(); } catch (SecurityException e) { return null; } | return (Component) getObject (currentFocusOwners); | public Component getFocusOwner() { // XXX Need an easy way to test if this thread is in the context of the // global focus owner, to avoid creating the exception in the first place. try { return getGlobalFocusOwner(); } catch (SecurityException e) { return null; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
public Rectangle union(Rectangle r) { | public Rectangle union(Rectangle r) { | public Rectangle union(Rectangle r) { Rectangle res = new Rectangle(); union(this, r, res); return res; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Rectangle.java/buggy/core/src/classpath/java/java/awt/Rectangle.java |
public ActionEvent(Object source, int id, String command, int modifiers) | public ActionEvent(Object source, int id, String command) | public ActionEvent(Object source, int id, String command, int modifiers) { this(source, id, command, EventQueue.getMostRecentEventTime(), modifiers); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/ActionEvent.java/buggy/core/src/classpath/java/java/awt/event/ActionEvent.java |
this(source, id, command, EventQueue.getMostRecentEventTime(), modifiers); | this(source, id, command, EventQueue.getMostRecentEventTime(), 0); | public ActionEvent(Object source, int id, String command, int modifiers) { this(source, id, command, EventQueue.getMostRecentEventTime(), modifiers); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/ActionEvent.java/buggy/core/src/classpath/java/java/awt/event/ActionEvent.java |
if (parentMap != this) | public void setParent(ActionMap parentMap) { parent = parentMap; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/389a8c811e91dbf626693fbb413506535b9ebd2e/ActionMap.java/buggy/core/src/classpath/javax/javax/swing/ActionMap.java | |
public UserException() | protected UserException() | public UserException() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UserException.java/buggy/core/src/classpath/org/org/omg/CORBA/UserException.java |
super(TYPE_FLOAT, size); | super(TYPE_FLOAT, size, 1, 0); bankData = new float[1][]; | public DataBufferFloat(int size) { super(TYPE_FLOAT, size); data = new float[size]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/DataBufferFloat.java/clean/core/src/classpath/java/java/awt/image/DataBufferFloat.java |
bankData[0] = data; | public DataBufferFloat(int size) { super(TYPE_FLOAT, size); data = new float[size]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/DataBufferFloat.java/clean/core/src/classpath/java/java/awt/image/DataBufferFloat.java | |
protected DataBuffer(int dataType, int size, int numBanks, int offset) { this(dataType, size, numBanks); java.util.Arrays.fill(offsets, offset); this.offset = offset; | protected DataBuffer(int dataType, int size) { this.dataType = dataType; this.size = size; | protected DataBuffer(int dataType, int size, int numBanks, int offset) { this(dataType, size, numBanks); java.util.Arrays.fill(offsets, offset); this.offset = offset; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java |
public int getElem(int i) { | public int getElem(int i) { | public int getElem(int i) { return getElem(0, i); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java |
public double getElemDouble(int i) { | public double getElemDouble(int i) { | public double getElemDouble(int i) { return getElem(i); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java |
public float getElemFloat(int i) { | public float getElemFloat(int i) { | public float getElemFloat(int i) { return getElem(i); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java |
public void setElem(int i, int val) { | public void setElem(int i, int val) { | public void setElem(int i, int val) { setElem(0, i, val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java |
public void setElemDouble(int i, double val) { | public void setElemDouble(int i, double val) { | public void setElemDouble(int i, double val) { setElem(i, (int) val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java |
public void setElemFloat(int i, float val) { | public void setElemFloat(int i, float val) { | public void setElemFloat(int i, float val) { setElem(i, (int) val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DataBuffer.java/buggy/core/src/classpath/java/java/awt/image/DataBuffer.java |
public AssertionError(Object msg) | public AssertionError() | public AssertionError(Object msg) { super("" + msg); if (msg instanceof Throwable) initCause((Throwable) msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b5cf2c2bc800071fe435bc5592c49bd0976f12ab/AssertionError.java/buggy/core/src/classpath/java/java/lang/AssertionError.java |
super("" + msg); if (msg instanceof Throwable) initCause((Throwable) msg); | public AssertionError(Object msg) { super("" + msg); if (msg instanceof Throwable) initCause((Throwable) msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b5cf2c2bc800071fe435bc5592c49bd0976f12ab/AssertionError.java/buggy/core/src/classpath/java/java/lang/AssertionError.java | |
public UnsupportedLookAndFeelException(String a) | public UnsupportedLookAndFeelException(String s) | public UnsupportedLookAndFeelException(String a) { super(a); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e93a3d254e0493fb3bd08b7a947349f11dd622ae/UnsupportedLookAndFeelException.java/buggy/core/src/classpath/javax/javax/swing/UnsupportedLookAndFeelException.java |
super(a); | super(s); | public UnsupportedLookAndFeelException(String a) { super(a); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e93a3d254e0493fb3bd08b7a947349f11dd622ae/UnsupportedLookAndFeelException.java/buggy/core/src/classpath/javax/javax/swing/UnsupportedLookAndFeelException.java |
public void uninitialize() { //UIManager.setLookAndFeel calls this method just before we're replaced by a new default look and feel. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/LookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/LookAndFeel.java | ||
public void initialize() { //UIManager.setLookAndFeel calls this method before the first call (and typically the only call) to getDefaults(). } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/LookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/LookAndFeel.java | ||
public UIDefaults getDefaults() { //This method is called once by UIManager.setLookAndFeel to create the look and feel specific defaults table. return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/LookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/LookAndFeel.java | ||
if(src == null) return null; | public Shape createTransformedShape(Shape src) { GeneralPath p = new GeneralPath(src); p.transform(this); return p; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/AffineTransform.java/buggy/core/src/classpath/java/java/awt/geom/AffineTransform.java | |
double det = getDeterminant(); if (det == 0) throw new NoninvertibleTransformException("couldn't invert transform"); if (dst == null) dst = new Point2D.Double(); double x = src.getX(); double y = src.getY(); double nx = (m11 * x + -m10 * y) / det - m02; double ny = (m01 * x + -m00 * y) / det - m12; dst.setLocation(nx, ... | return createInverse().transform(src, dst); | public Point2D inverseTransform(Point2D src, Point2D dst) throws NoninvertibleTransformException { double det = getDeterminant(); if (det == 0) throw new NoninvertibleTransformException("couldn't invert transform"); if (dst == null) dst = new Point2D.Double(); double x = src.getX(); double y = src.getY()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/AffineTransform.java/buggy/core/src/classpath/java/java/awt/geom/AffineTransform.java |
public GeneralPath(Shape s) | public GeneralPath() | public GeneralPath(Shape s) { types = new byte[INIT_SIZE]; xpoints = new float[INIT_SIZE]; ypoints = new float[INIT_SIZE]; PathIterator pi = s.getPathIterator(null); setWindingRule(pi.getWindingRule()); append(pi, false); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ec415b5ab69e9516c29619bb561ab024d22ce1f2/GeneralPath.java/buggy/core/src/classpath/java/java/awt/geom/GeneralPath.java |
types = new byte[INIT_SIZE]; xpoints = new float[INIT_SIZE]; ypoints = new float[INIT_SIZE]; PathIterator pi = s.getPathIterator(null); setWindingRule(pi.getWindingRule()); append(pi, false); } | this(WIND_NON_ZERO, INIT_SIZE); } | public GeneralPath(Shape s) { types = new byte[INIT_SIZE]; xpoints = new float[INIT_SIZE]; ypoints = new float[INIT_SIZE]; PathIterator pi = s.getPathIterator(null); setWindingRule(pi.getWindingRule()); append(pi, false); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ec415b5ab69e9516c29619bb561ab024d22ce1f2/GeneralPath.java/buggy/core/src/classpath/java/java/awt/geom/GeneralPath.java |
public final Class getCategory() | public Class getCategory() | public final Class getCategory() { return JobImpressionsCompleted.class; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/JobImpressionsCompleted.java/clean/core/src/classpath/javax/javax/print/attribute/standard/JobImpressionsCompleted.java |
public final String getName() | public String getName() | public final String getName() { return "job-impressions"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/JobImpressionsCompleted.java/clean/core/src/classpath/javax/javax/print/attribute/standard/JobImpressionsCompleted.java |
public UnicastServerRef(ObjID id, int port, RMIServerSocketFactory ssf) throws RemoteException | UnicastServerRef() | public UnicastServerRef(ObjID id, int port, RMIServerSocketFactory ssf) throws RemoteException { super(id); manager = UnicastConnectionManager.getInstance(port, ssf); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnicastServerRef.java/clean/core/src/classpath/gnu/gnu/java/rmi/server/UnicastServerRef.java |
super(id); manager = UnicastConnectionManager.getInstance(port, ssf); | public UnicastServerRef(ObjID id, int port, RMIServerSocketFactory ssf) throws RemoteException { super(id); manager = UnicastConnectionManager.getInstance(port, ssf); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnicastServerRef.java/clean/core/src/classpath/gnu/gnu/java/rmi/server/UnicastServerRef.java | |
public Remote exportObject(Remote obj) throws RemoteException { if (myself == null) { myself = obj; // Save it to server manager, to let client calls in the same VM to // issue // local call manager.serverobj = obj; String ignoreStubs; ClassLoader loader =obj.getClass(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnicastServerRef.java/clean/core/src/classpath/gnu/gnu/java/rmi/server/UnicastServerRef.java | ||
throw new NoSuchMethodException(); | throw new NoSuchMethodException( myself.getClass().getName()+" hash "+hash); | public Object incomingMessageCall(UnicastConnection conn, int method, long hash) throws Exception { // System.out.println("method = " + method + ", hash = " + hash); // If method is -1 then this is JDK 1.2 RMI - so use the hash // to locate the method if (method == - 1) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnicastServerRef.java/clean/core/src/classpath/gnu/gnu/java/rmi/server/UnicastServerRef.java |
{ throw new NoSuchMethodException(); } | throw new NoSuchMethodException("JDK 1.1 call - Skeleton required"); | public Object incomingMessageCall(UnicastConnection conn, int method, long hash) throws Exception { // System.out.println("method = " + method + ", hash = " + hash); // If method is -1 then this is JDK 1.2 RMI - so use the hash // to locate the method if (method == - 1) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnicastServerRef.java/clean/core/src/classpath/gnu/gnu/java/rmi/server/UnicastServerRef.java |
public UnicastRef(ObjID objid) | public UnicastRef() | public UnicastRef(ObjID objid) { this.objid = objid; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnicastRef.java/buggy/core/src/classpath/gnu/gnu/java/rmi/server/UnicastRef.java |
this.objid = objid; | public UnicastRef(ObjID objid) { this.objid = objid; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnicastRef.java/buggy/core/src/classpath/gnu/gnu/java/rmi/server/UnicastRef.java | |
public static synchronized UnicastConnectionManager getInstance(int port, RMIServerSocketFactory ssf) throws RemoteException { if (ssf == null) { ssf = defaultSocketFactory; | public static synchronized UnicastConnectionManager getInstance(String host, int port, RMIClientSocketFactory csf) { if (csf == null) { csf = defaultSocketFactory; | public static synchronized UnicastConnectionManager getInstance(int port, RMIServerSocketFactory ssf) throws RemoteException {//System.out.println("getInstance: " + port + "," + ssf); if (ssf == null) { ssf = defaultSocketFactory; } TripleKey key = new TripleKey(localhost, port, ssf); UnicastConnectionManager ma... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnicastConnectionManager.java/buggy/core/src/classpath/gnu/gnu/java/rmi/server/UnicastConnectionManager.java |
TripleKey key = new TripleKey(localhost, port, ssf); UnicastConnectionManager man = (UnicastConnectionManager)servers.get(key); | try{ host = InetAddress.getByName(host).getHostAddress(); }catch(Exception _){} TripleKey key = new TripleKey(host, port, csf); UnicastConnectionManager man = (UnicastConnectionManager)clients.get(key); | public static synchronized UnicastConnectionManager getInstance(int port, RMIServerSocketFactory ssf) throws RemoteException {//System.out.println("getInstance: " + port + "," + ssf); if (ssf == null) { ssf = defaultSocketFactory; } TripleKey key = new TripleKey(localhost, port, ssf); UnicastConnectionManager ma... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnicastConnectionManager.java/buggy/core/src/classpath/gnu/gnu/java/rmi/server/UnicastConnectionManager.java |
man = new UnicastConnectionManager(port, ssf); | man = new UnicastConnectionManager(host, port, csf); | public static synchronized UnicastConnectionManager getInstance(int port, RMIServerSocketFactory ssf) throws RemoteException {//System.out.println("getInstance: " + port + "," + ssf); if (ssf == null) { ssf = defaultSocketFactory; } TripleKey key = new TripleKey(localhost, port, ssf); UnicastConnectionManager ma... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnicastConnectionManager.java/buggy/core/src/classpath/gnu/gnu/java/rmi/server/UnicastConnectionManager.java |
nsmanager++; System.out.println("\n\n ****** " + nsmanager + " server managers.\n\n"); | ncmanager++; System.out.println("\n\n ====== " + ncmanager + " client managers.\n\n"); | public static synchronized UnicastConnectionManager getInstance(int port, RMIServerSocketFactory ssf) throws RemoteException {//System.out.println("getInstance: " + port + "," + ssf); if (ssf == null) { ssf = defaultSocketFactory; } TripleKey key = new TripleKey(localhost, port, ssf); UnicastConnectionManager ma... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnicastConnectionManager.java/buggy/core/src/classpath/gnu/gnu/java/rmi/server/UnicastConnectionManager.java |
key.port = man.serverPort; servers.put(key, man); | clients.put(key, man); UnicastConnectionManager svrman = (UnicastConnectionManager)servers.get(key); if(svrman != null){ man.serverobj = svrman.serverobj; } | public static synchronized UnicastConnectionManager getInstance(int port, RMIServerSocketFactory ssf) throws RemoteException {//System.out.println("getInstance: " + port + "," + ssf); if (ssf == null) { ssf = defaultSocketFactory; } TripleKey key = new TripleKey(localhost, port, ssf); UnicastConnectionManager ma... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnicastConnectionManager.java/buggy/core/src/classpath/gnu/gnu/java/rmi/server/UnicastConnectionManager.java |
Class[] interfaces, InvocationHandler handler) { try { | Class[] interfaces, InvocationHandler handler) { try { | public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler) { try { // getProxyClass() and Proxy() throw the necessary exceptions return getProxyClass(loader, interfa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/Proxy.java/buggy/core/src/classpath/java/java/lang/reflect/Proxy.java |
return getProxyClass(loader, interfaces) .getConstructor(new Class[] {InvocationHandler.class}) .newInstance(new Object[] {handler}); } catch (RuntimeException e) { | return getProxyClass(loader, interfaces).getConstructor( new Class[] { InvocationHandler.class }).newInstance( new Object[] { handler }); } catch (RuntimeException e) { | public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler) { try { // getProxyClass() and Proxy() throw the necessary exceptions return getProxyClass(loader, interfa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/Proxy.java/buggy/core/src/classpath/java/java/lang/reflect/Proxy.java |
public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler) { try { // getProxyClass() and Proxy() throw the necessary exceptions return getProxyClass(loader, interfa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/Proxy.java/buggy/core/src/classpath/java/java/lang/reflect/Proxy.java | ||
} catch (InvocationTargetException e) { | } catch (InvocationTargetException e) { | public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler) { try { // getProxyClass() and Proxy() throw the necessary exceptions return getProxyClass(loader, interfa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/Proxy.java/buggy/core/src/classpath/java/java/lang/reflect/Proxy.java |
} catch (Exception e) { | } catch (Exception e) { | public static Object newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler handler) { try { // getProxyClass() and Proxy() throw the necessary exceptions return getProxyClass(loader, interfa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4912e36e2c7c8022f56aa40cb456494925b6065d/Proxy.java/buggy/core/src/classpath/java/java/lang/reflect/Proxy.java |
public NoSuchMethodException(String s) | public NoSuchMethodException() | public NoSuchMethodException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/NoSuchMethodException.java/buggy/core/src/classpath/java/java/lang/NoSuchMethodException.java |
super(s); | public NoSuchMethodException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/NoSuchMethodException.java/buggy/core/src/classpath/java/java/lang/NoSuchMethodException.java | |
if (obj instanceof ActivatableServerRef) { ActivationID id = ((ActivatableServerRef) obj).actId; unregisterActivatable(id); } | public static boolean unexportObject(UnicastServerRef obj, boolean force) { objects.remove(obj.objid); refcache.remove(obj.myself); obj.manager.stopServer(); return true; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnicastServer.java/buggy/core/src/classpath/gnu/gnu/java/rmi/server/UnicastServer.java | |
public static ActionListener add(ActionListener a, ActionListener b) | public static ComponentListener add(ComponentListener a, ComponentListener b) | public static ActionListener add(ActionListener a, ActionListener b) { return (ActionListener) addInternal(a, b); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/AWTEventMulticaster.java/buggy/core/src/classpath/java/java/awt/AWTEventMulticaster.java |
return (ActionListener) addInternal(a, b); | return (ComponentListener) addInternal(a, b); | public static ActionListener add(ActionListener a, ActionListener b) { return (ActionListener) addInternal(a, b); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/AWTEventMulticaster.java/buggy/core/src/classpath/java/java/awt/AWTEventMulticaster.java |
public abstract void setEnabled(boolean enabled); | void setEnabled(boolean enabled); | public abstract void setEnabled(boolean enabled); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/MenuItemPeer.java/buggy/core/src/classpath/java/java/awt/peer/MenuItemPeer.java |
void actionPerformed(ActionEvent e); | void actionPerformed(ActionEvent event); | void actionPerformed(ActionEvent e); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/ActionListener.java/buggy/core/src/classpath/java/java/awt/event/ActionListener.java |
public static ActionListener remove(ActionListener l, ActionListener oldl) | protected EventListener remove(EventListener oldl) | public static ActionListener remove(ActionListener l, ActionListener oldl) { return (ActionListener) removeInternal(l, oldl); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/AWTEventMulticaster.java/buggy/core/src/classpath/java/java/awt/AWTEventMulticaster.java |
return (ActionListener) removeInternal(l, oldl); | if (a == oldl) return b; if (b == oldl) return a; if (a instanceof AWTEventMulticaster) { EventListener newa = ((AWTEventMulticaster) a).remove(oldl); if (newa != a) return new AWTEventMulticaster(newa, b); } if (b instanceof AWTEventMulticaster) { EventListener newb = ((AWTEventMulticaster) b).remove(oldl); if (newb... | public static ActionListener remove(ActionListener l, ActionListener oldl) { return (ActionListener) removeInternal(l, oldl); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/AWTEventMulticaster.java/buggy/core/src/classpath/java/java/awt/AWTEventMulticaster.java |
public abstract void setLabel(String text); | void setLabel(String text); | public abstract void setLabel(String text); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/MenuItemPeer.java/buggy/core/src/classpath/java/java/awt/peer/MenuItemPeer.java |
public Object[] getListenerList() { return listenerList; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/EventListenerList.java/buggy/core/src/classpath/javax/javax/swing/event/EventListenerList.java | ||
setDeadCode(true); | public ConstantRefAssignQuad(int address, IRBasicBlock block, int lhsIndex, Constant rhs) { super(address, block, lhsIndex); this.rhs = rhs; setDeadCode(true); // this will change if this is a phi operand } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/79bb5a92ef7c411cd222bab5d581025bb5cb5184/ConstantRefAssignQuad.java/buggy/core/src/core/org/jnode/vm/compiler/ir/quad/ConstantRefAssignQuad.java | |
public void doPass2(BootableHashMap liveVariables) { setDeadCode(true); | public void doPass2() { | public void doPass2(BootableHashMap liveVariables) { setDeadCode(true); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/79bb5a92ef7c411cd222bab5d581025bb5cb5184/ConstantRefAssignQuad.java/buggy/core/src/core/org/jnode/vm/compiler/ir/quad/ConstantRefAssignQuad.java |
setDeadCode(true); | public Operand propagate(Variable operand) { return rhs; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/79bb5a92ef7c411cd222bab5d581025bb5cb5184/ConstantRefAssignQuad.java/buggy/core/src/core/org/jnode/vm/compiler/ir/quad/ConstantRefAssignQuad.java | |
public AssignQuad(int address, IRBasicBlock block, int lhsIndex) { this(address, block, block.getVariables()[lhsIndex]); | public AssignQuad(int address, IRBasicBlock block, Variable lhs) { super(address, block); setLHS(lhs); | public AssignQuad(int address, IRBasicBlock block, int lhsIndex) { this(address, block, block.getVariables()[lhsIndex]); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/79bb5a92ef7c411cd222bab5d581025bb5cb5184/AssignQuad.java/buggy/core/src/core/org/jnode/vm/compiler/ir/quad/AssignQuad.java |
public abstract void doPass2(BootableHashMap liveVariables); | public abstract void doPass2(); | public abstract void doPass2(BootableHashMap liveVariables); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/79bb5a92ef7c411cd222bab5d581025bb5cb5184/Quad.java/buggy/core/src/core/org/jnode/vm/compiler/ir/quad/Quad.java |
if (args [ i ].endsWith("ORBInitialPort")) port = Integer.parseInt(args [ i + 1 ]); | if (args[i].endsWith("ORBInitialPort")) port = Integer.parseInt(args[i + 1]); | public static void main(String[] args) { int port = PORT; String iorf = null; try { // Create and initialize the ORB final Functional_ORB orb = new Functional_ORB(); if (args.length > 1) for (int i = 0; i < args.length - 1; i++) { if (args [ i ].end... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/NamingServiceTransient.java/buggy/core/src/classpath/gnu/gnu/CORBA/NamingService/NamingServiceTransient.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.