rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
if (selectionModel != null)
public void setSelectionModel(TreeSelectionModel model) { if (selectionModel == model) return; if (selectionModel != null) selectionModel.removeTreeSelectionListener(selectionRedirector); TreeSelectionModel oldValue = selectionModel; selectionModel = model; if (selectionModel != null) s...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JTree.java/buggy/core/src/classpath/javax/javax/swing/JTree.java
private LongItem(int kind, int offsetToFP, Register lsb, Register msb, long val) { super(kind, offsetToFP, lsb, msb); this.value = val; }
LongItem(ItemFactory factory) { super(factory); }
private LongItem(int kind, int offsetToFP, Register lsb, Register msb, long val) { super(kind, offsetToFP, lsb, msb); this.value = val; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/LongItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/LongItem.java
return createConst(getValue()); }
return factory.createLConst(getValue()); }
protected DoubleWordItem cloneConstant() { return createConst(getValue()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/LongItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/LongItem.java
return (int)(value & 0xFFFFFFFFL);
return (int) (value & 0xFFFFFFFFL);
final int getLsbValue() { assertCondition(kind == Kind.CONSTANT, "kind == Kind.CONSTANT"); return (int)(value & 0xFFFFFFFFL); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/LongItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/LongItem.java
return (int)((value >>> 32) & 0xFFFFFFFFL);
return (int) ((value >>> 32) & 0xFFFFFFFFL);
final int getMsbValue() { assertCondition(kind == Kind.CONSTANT, "kind == Kind.CONSTANT"); return (int)((value >>> 32) & 0xFFFFFFFFL); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/LongItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/LongItem.java
final int getType() { return JvmType.LONG; }
final int getType() { return JvmType.LONG; }
final int getType() { return JvmType.LONG; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/LongItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/LongItem.java
protected final void loadToConstant(EmitterContext ec, AbstractX86Stream os, Register lsb, Register msb) { final int lsbv = (int) (value & 0xFFFFFFFFL); final int msbv = (int) ((value >>> 32) & 0xFFFFFFFFL);
protected final void loadToConstant(EmitterContext ec, AbstractX86Stream os, Register lsb, Register msb) { final int lsbv = (int) (value & 0xFFFFFFFFL); final int msbv = (int) ((value >>> 32) & 0xFFFFFFFFL);
protected final void loadToConstant(EmitterContext ec, AbstractX86Stream os, Register lsb, Register msb) { final int lsbv = (int) (value & 0xFFFFFFFFL); final int msbv = (int) ((value >>> 32) & 0xFFFFFFFFL); os.writeMOV_Const(lsb, lsbv); os.writeMOV_Const(msb, msbv); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/LongItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/LongItem.java
os.writeMOV_Const(lsb, lsbv); os.writeMOV_Const(msb, msbv);
os.writeMOV_Const(lsb, lsbv); os.writeMOV_Const(msb, msbv);
protected final void loadToConstant(EmitterContext ec, AbstractX86Stream os, Register lsb, Register msb) { final int lsbv = (int) (value & 0xFFFFFFFFL); final int msbv = (int) ((value >>> 32) & 0xFFFFFFFFL); os.writeMOV_Const(lsb, lsbv); os.writeMOV_Const(msb, msbv); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/LongItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/LongItem.java
os.writeFISTP64(reg, disp);
os.writeFISTP64(reg, disp);
protected void popFromFPU(AbstractX86Stream os, Register reg, int disp) { os.writeFISTP64(reg, disp); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/LongItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/LongItem.java
os.writePUSH(getMsbValue()); os.writePUSH(getLsbValue());
os.writePUSH(getMsbValue()); os.writePUSH(getLsbValue());
protected final void pushConstant(EmitterContext ec, AbstractX86Stream os) { os.writePUSH(getMsbValue()); os.writePUSH(getLsbValue()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e304bedac9ab86f88bdb27ffd782a9777505c449/LongItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/LongItem.java
inhibitedRectangle = null;
private void clearLayout() { locationRectangle = null; }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e6f566dd6d1e23e7327cf1676228eb4318efd0d8/BasicOIA.java/clean/tn5250j/src/org/tn5250j/swing/ui/BasicOIA.java
inhibitedRectangle = new Rectangle(10, 0, 25* this.columnWidth, this.rowHeight);
private void doLayout() { if (locationRectangle == null) { Rectangle bounds = this.getBounds(); int x,y,w,h; // Location rectangle w = 6 * this.columnWidth; locationRectangle = new Rectangle(bounds.width - w, 0, w, this.rowHeight); } }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e6f566dd6d1e23e7327cf1676228eb4318efd0d8/BasicOIA.java/clean/tn5250j/src/org/tn5250j/swing/ui/BasicOIA.java
addDirtyRectangle(inhibitedRectangle);
public void onOIAChanged(ScreenOIA oia, int change) { switch (change) { case OIA_CHANGED_BELL: ringAudibleBell(); break; case OIA_CHANGED_CLEAR_SCREEN: break; case OIA_CHANGED_INPUTINHIBITED: break; case OIA_CHANGED_INSERT_MODE: break; ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e6f566dd6d1e23e7327cf1676228eb4318efd0d8/BasicOIA.java/clean/tn5250j/src/org/tn5250j/swing/ui/BasicOIA.java
paintInhibited(g, clip);
public void paintComponent(Graphics g) { doLayout(); Rectangle clip = g.getClipBounds(); paintRuler(g, clip); paintLocation(g, clip); }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e6f566dd6d1e23e7327cf1676228eb4318efd0d8/BasicOIA.java/clean/tn5250j/src/org/tn5250j/swing/ui/BasicOIA.java
set.removeAttributes(set);
protected void createInputAttributes(Element element, MutableAttributeSet set) { // FIXME: Filter out component, icon and element name attributes. set.addAttributes(element.getAttributes()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a78ab2f492456918e4f5c52be600854882e139fc/StyledEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/StyledEditorKit.java
throw new IOException ("No entry for " + entry_name + " exists.");
throw new FileNotFoundException("No entry for " + entry_name + " exists.");
public synchronized void connect() throws IOException { // Call is ignored if already connected. if (connected) return; jar_url = getJarFileURL(); jar_file = JarFileCache.get (jar_url, useCaches); String entry_name = getEntryName(); if (entry_name != null && !entry_name.equals (""))...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/eea27f084742358ddb097f7118c05cd257029453/Connection.java/clean/core/src/classpath/gnu/gnu/java/net/protocol/jar/Connection.java
if (jar_entry == null) throw new IOException (jar_url + " couldn't be found.");
public InputStream getInputStream() throws IOException { if (!connected) connect(); if (! doInput) throw new ProtocolException("Can't open InputStream if doInput is false"); if (jar_entry == null) throw new IOException (jar_url + " couldn't be found."); return jar_file.getInputStre...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/eea27f084742358ddb097f7118c05cd257029453/Connection.java/clean/core/src/classpath/gnu/gnu/java/net/protocol/jar/Connection.java
public MetalComboBoxLayoutManager() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/MetalComboBoxUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxUI.java
public MetalPropertyChangeListener() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/MetalComboBoxUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxUI.java
return new MetalComboBoxButton(comboBox, new MetalComboBoxIcon(),
JButton button = new MetalComboBoxButton(comboBox, new MetalComboBoxIcon(),
protected JButton createArrowButton() { return new MetalComboBoxButton(comboBox, new MetalComboBoxIcon(), new CellRendererPane(), listBox); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/MetalComboBoxUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxUI.java
button.setMargin(new Insets(0, 1, 1, 3)); return button;
protected JButton createArrowButton() { return new MetalComboBoxButton(comboBox, new MetalComboBoxIcon(), new CellRendererPane(), listBox); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/MetalComboBoxUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxUI.java
arrowButton.setText(comboBox.getSelectedItem().toString());
String text = ""; Object selected = comboBox.getSelectedItem(); if (selected != null) text = selected.toString(); arrowButton.setText(text);
protected void editablePropertyChanged(PropertyChangeEvent e) { if (arrowButton instanceof MetalComboBoxButton) { MetalComboBoxButton b = (MetalComboBoxButton) arrowButton; b.setIconOnly(comboBox.isEditable()); } if (comboBox.isEditable()) { arrowButton.setText(null); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/MetalComboBoxUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxUI.java
Dimension result = super.getMinimumSize(c); result.height = result.height + 9; return result;
MetalComboBoxButton b = (MetalComboBoxButton) arrowButton; Icon icon = b.getComboIcon(); Insets insets = b.getInsets(); Dimension d = getDisplaySize(); int insetsH = insets.top + insets.bottom; int insetsW = insets.left + insets.right; int iconWidth = icon.getIconWidth() + 6; return new Dimension(d.width + insetsW + ic...
public Dimension getMinimumSize(JComponent c) { // FIXME: this needs work Dimension result = super.getMinimumSize(c); result.height = result.height + 9; return result; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/MetalComboBoxUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxUI.java
{ JTextField textField = (JTextField) event.getSource(); textField.fireActionPerformed(); }
{ JTextField textField = (JTextField) event.getSource(); textField.fireActionPerformed(); }
public void actionPerformed(ActionEvent event) { JTextField textField = (JTextField) event.getSource(); textField.fireActionPerformed(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
setEnabled(action.isEnabled()); setToolTipText((String) action.getValue(Action.SHORT_DESCRIPTION));
setEnabled(action.isEnabled()); setToolTipText((String) action.getValue(Action.SHORT_DESCRIPTION));
protected void configurePropertiesFromAction(Action action) { if (action != null) { setEnabled(action.isEnabled()); setToolTipText((String) action.getValue(Action.SHORT_DESCRIPTION)); } else { setEnabled(true); setToolTipText(null); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
setEnabled(true); setToolTipText(null);
setEnabled(true); setToolTipText(null);
protected void configurePropertiesFromAction(Action action) { if (action != null) { setEnabled(action.isEnabled()); setToolTipText((String) action.getValue(Action.SHORT_DESCRIPTION)); } else { setEnabled(true); setToolTipText(null); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
public void propertyChange(PropertyChangeEvent event) { String name = event.getPropertyName();
String name = event.getPropertyName();
protected PropertyChangeListener createActionPropertyChangeListener(Action action) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent event) { // Update properties "action" and "horizontalAlignment". String name = event.getPropertyName(); if (name.equals("enabled")) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
if (name.equals("enabled")) { boolean enabled = ((Boolean) event.getNewValue()).booleanValue(); JTextField.this.setEnabled(enabled); } else if (name.equals(Action.SHORT_DESCRIPTION)) { JTextField.this.setToolTipText((String) event.getNewValue()); } } };
if (name.equals("enabled")) { boolean enabled = ((Boolean) event.getNewValue()).booleanValue(); JTextField.this.setEnabled(enabled); } else if (name.equals(Action.SHORT_DESCRIPTION)) { JTextField.this.setToolTipText((String) event.getNewValue()); } } };
protected PropertyChangeListener createActionPropertyChangeListener(Action action) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent event) { // Update properties "action" and "horizontalAlignment". String name = event.getPropertyName(); if (name.equals("enabled")) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
{ String name = event.getPropertyName();
{ String name = event.getPropertyName();
public void propertyChange(PropertyChangeEvent event) { // Update properties "action" and "horizontalAlignment". String name = event.getPropertyName(); if (name.equals("enabled")) { boolean enabled = ((Boolean) event.getNewValue()).booleanValue(); JTextField.this.setEnabled(enabled); } else...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
if (name.equals("enabled")) { boolean enabled = ((Boolean) event.getNewValue()).booleanValue(); JTextField.this.setEnabled(enabled); } else if (name.equals(Action.SHORT_DESCRIPTION)) { JTextField.this.setToolTipText((String) event.getNewValue()); } }
if (name.equals("enabled")) { boolean enabled = ((Boolean) event.getNewValue()).booleanValue(); JTextField.this.setEnabled(enabled); } else if (name.equals(Action.SHORT_DESCRIPTION)) { JTextField.this.setToolTipText((String) event.getNewValue()); } }
public void propertyChange(PropertyChangeEvent event) { // Update properties "action" and "horizontalAlignment". String name = event.getPropertyName(); if (name.equals("enabled")) { boolean enabled = ((Boolean) event.getNewValue()).booleanValue(); JTextField.this.setEnabled(enabled); } else...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
return new PlainDocument() { public void insertString(int offset, String str, AttributeSet a)
return new PlainDocument() { public void insertString(int offset, String str, AttributeSet a)
protected Document createDefaultModel() { // subclassed to swallow newlines return new PlainDocument() { public void insertString(int offset, String str, AttributeSet a) throws BadLocationException { if (str != null && str.indexOf('\n') == -1) super.insertString(offse...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
{ if (str != null && str.indexOf('\n') == -1) super.insertString(offset, str, a); } };
{ if (str != null && str.indexOf('\n') == -1) super.insertString(offset, str, a); } };
protected Document createDefaultModel() { // subclassed to swallow newlines return new PlainDocument() { public void insertString(int offset, String str, AttributeSet a) throws BadLocationException { if (str != null && str.indexOf('\n') == -1) super.insertString(offse...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
{ if (str != null && str.indexOf('\n') == -1) super.insertString(offset, str, a); }
{ if (str != null && str.indexOf('\n') == -1) super.insertString(offset, str, a); }
public void insertString(int offset, String str, AttributeSet a) throws BadLocationException { if (str != null && str.indexOf('\n') == -1) super.insertString(offset, str, a); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
{
{
protected void fireActionPerformed() { ActionEvent event = new ActionEvent(this, 0, notifyAction); ActionListener[] listeners = getActionListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].actionPerformed(event); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
}
}
protected void fireActionPerformed() { ActionEvent event = new ActionEvent(this, 0, notifyAction); ActionListener[] listeners = getActionListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].actionPerformed(event); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
{
{
public ActionListener[] getActionListeners() { return (ActionListener[]) getListeners(ActionListener.class); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
}
}
public ActionListener[] getActionListeners() { return (ActionListener[]) getListeners(ActionListener.class); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
{
{
public int getColumns() { return columns; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
public int getScrollOffset() { return scrollOffset; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
removeActionListener(action); action.removePropertyChangeListener(actionPropertyChangeListener); actionPropertyChangeListener = null;
removeActionListener(action); action.removePropertyChangeListener(actionPropertyChangeListener); actionPropertyChangeListener = null;
public void setAction(Action newAction) { if (action == newAction) return; if (action != null) { removeActionListener(action); action.removePropertyChangeListener(actionPropertyChangeListener); actionPropertyChangeListener = null; } Action oldAction = action; action = newAction; if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
public void setAction(Action newAction) { if (action == newAction) return; if (action != null) { removeActionListener(action); action.removePropertyChangeListener(actionPropertyChangeListener); actionPropertyChangeListener = null; } Action oldAction = action; action = newAction; if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
addActionListener(action); actionPropertyChangeListener = createActionPropertyChangeListener(action); action.addPropertyChangeListener(actionPropertyChangeListener);
addActionListener(action); actionPropertyChangeListener = createActionPropertyChangeListener(action); action.addPropertyChangeListener(actionPropertyChangeListener);
public void setAction(Action newAction) { if (action == newAction) return; if (action != null) { removeActionListener(action); action.removePropertyChangeListener(actionPropertyChangeListener); actionPropertyChangeListener = null; } Action oldAction = action; action = newAction; if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
public void setAction(Action newAction) { if (action == newAction) return; if (action != null) { removeActionListener(action); action.removePropertyChangeListener(actionPropertyChangeListener); actionPropertyChangeListener = null; } Action oldAction = action; action = newAction; if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
public void setScrollOffset(int offset) { scrollOffset = offset; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/clean/core/src/classpath/javax/javax/swing/JTextField.java
Class.forName(ObjectCreator.toHelperName(type.id()));
ObjectCreator.forName(ObjectCreator.toHelperName(type.id()));
void findHelper() { if (helper != null || helper_NA) return; try { Class helperClass = Class.forName(ObjectCreator.toHelperName(type.id())); helper = (BoxedValueHelper) helperClass.newInstance(); } catch (Exception ex) { helper_NA = true; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/gnuValueHolder.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuValueHolder.java
public void send() throws Exception, AddressException, MessagingException {
public boolean send() throws Exception, AddressException, MessagingException {
public void send() throws Exception, AddressException, MessagingException {// try { if(!loadConfig(configFile)) return; Session session = Session.getDefaultInstance(SMTPProperties, null); session.setDebug(false); // create the Multipart and its parts to it Mult...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/688e5034bbea070acdcad4fb202b33b76c6c665d/SendEMail.java/clean/tn5250j/src/org/tn5250j/mailtools/SendEMail.java
try {
public void send() throws Exception, AddressException, MessagingException {// try { if(!loadConfig(configFile)) return; Session session = Session.getDefaultInstance(SMTPProperties, null); session.setDebug(false); // create the Multipart and its parts to it Mult...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/688e5034bbea070acdcad4fb202b33b76c6c665d/SendEMail.java/clean/tn5250j/src/org/tn5250j/mailtools/SendEMail.java
return;
return false;
public void send() throws Exception, AddressException, MessagingException {// try { if(!loadConfig(configFile)) return; Session session = Session.getDefaultInstance(SMTPProperties, null); session.setDebug(false); // create the Multipart and its parts to it Mult...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/688e5034bbea070acdcad4fb202b33b76c6c665d/SendEMail.java/clean/tn5250j/src/org/tn5250j/mailtools/SendEMail.java
return true; } catch (SendFailedException sfe) { showFailedException(sfe); } return false;
public void send() throws Exception, AddressException, MessagingException {// try { if(!loadConfig(configFile)) return; Session session = Session.getDefaultInstance(SMTPProperties, null); session.setDebug(false); // create the Multipart and its parts to it Mult...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/688e5034bbea070acdcad4fb202b33b76c6c665d/SendEMail.java/clean/tn5250j/src/org/tn5250j/mailtools/SendEMail.java
throw new BAD_OPERATION();
BAD_OPERATION bad = new BAD_OPERATION(); bad.initCause(ex); bad.minor = Minor.Any; throw bad;
public static NotEmpty extract(Any a) { try { return ((NotEmptyHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { throw new BAD_OPERATION(); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/NotEmptyHelper.java/buggy/core/src/classpath/org/org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java
if (obj!=null) { if (memberObjHash.add(obj)) return obj; else return null; }
if (memberObjHash.add(obj)) return obj;
public Object addMemberObject (Object obj) { if (obj!=null) { if (memberObjHash.add(obj)) return obj; else return null; } else return null; }
4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/a9724e8753ce6f5b1839625ff9d434efba919160/Group.java/clean/src/gov/nasa/gsfc/adc/xdf/Group.java
public Object addMemberObject (Object obj) { if (obj!=null) { if (memberObjHash.add(obj)) return obj; else return null; } else return null; }
4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/a9724e8753ce6f5b1839625ff9d434efba919160/Group.java/clean/src/gov/nasa/gsfc/adc/xdf/Group.java
if (obj!=null) { if (memberObjHash.contains(obj)) { return true; } else return false;
if (memberObjHash.contains(obj)) { return true;
public boolean hasMemberObj (Object obj) { if (obj!=null) { if (memberObjHash.contains(obj)) { return true; } else return false; } return false; }
4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/a9724e8753ce6f5b1839625ff9d434efba919160/Group.java/clean/src/gov/nasa/gsfc/adc/xdf/Group.java
return false;
else return false;
public boolean hasMemberObj (Object obj) { if (obj!=null) { if (memberObjHash.contains(obj)) { return true; } else return false; } return false; }
4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/a9724e8753ce6f5b1839625ff9d434efba919160/Group.java/clean/src/gov/nasa/gsfc/adc/xdf/Group.java
if (obj!=null) { if (memberObjHash.contains(obj)) { memberObjHash.remove(obj); return obj; } else return null;
if (memberObjHash.contains(obj)) { memberObjHash.remove(obj); return obj;
public Object removeMemberObject (Object obj) { if (obj!=null) { if (memberObjHash.contains(obj)) { memberObjHash.remove(obj); return obj; } else return null; } else return null; }
4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/a9724e8753ce6f5b1839625ff9d434efba919160/Group.java/clean/src/gov/nasa/gsfc/adc/xdf/Group.java
public Object removeMemberObject (Object obj) { if (obj!=null) { if (memberObjHash.contains(obj)) { memberObjHash.remove(obj); return obj; } else return null; } else return null; }
4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/a9724e8753ce6f5b1839625ff9d434efba919160/Group.java/clean/src/gov/nasa/gsfc/adc/xdf/Group.java
public Robot() throws AWTException
public Robot () throws AWTException
public Robot() throws AWTException { throw new Error("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
throw new Error("not implemented");
if (GraphicsEnvironment.isHeadless ()) throw new AWTException ("Robot: headless graphics environment"); SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkPermission (new AWTPermission ("createRobot")); ClasspathToolkit tk = (ClasspathToolkit) Toolkit.getDefaultToolkit (); peer = tk.createRo...
public Robot() throws AWTException { throw new Error("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
public BufferedImage createScreenCapture(Rectangle screen)
public BufferedImage createScreenCapture (Rectangle screenRect)
public BufferedImage createScreenCapture(Rectangle screen) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
return null;
if (screenRect.width <= 0) throw new IllegalArgumentException ("Robot: capture width is <= 0"); if (screenRect.height <= 0) throw new IllegalArgumentException ("Robot: capture height is <= 0"); SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkPermission (new AWTPermission ("readDisplayPixels...
public BufferedImage createScreenCapture(Rectangle screen) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
public void delay(int ms)
public void delay (int ms)
public void delay(int ms) { if (ms < 0 || ms > 60000) throw new IllegalArgumentException(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
throw new IllegalArgumentException();
throw new IllegalArgumentException ("Robot: delay length out-of-bounds"); try { Thread.sleep (ms); } catch (InterruptedException e) { System.err.println ("Robot: delay interrupted"); }
public void delay(int ms) { if (ms < 0 || ms > 60000) throw new IllegalArgumentException(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
public int getAutoDelay()
public int getAutoDelay ()
public int getAutoDelay() { return autoDelay; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
public Color getPixelColor(int x, int y)
public Color getPixelColor (int x, int y)
public Color getPixelColor(int x, int y) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
return null;
return new Color (peer.getRGBPixel (x, y));
public Color getPixelColor(int x, int y) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
public boolean isAutoWaitForIdle()
public boolean isAutoWaitForIdle ()
public boolean isAutoWaitForIdle() { return waitForIdle; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
public void keyPress(int keycode)
public void keyPress (int keycode)
public void keyPress(int keycode) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
peer.keyPress (keycode); if (waitForIdle) waitForIdle (); if (autoDelay > 0) delay (autoDelay);
public void keyPress(int keycode) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
public void keyRelease(int keycode)
public void keyRelease (int keycode)
public void keyRelease(int keycode) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
peer.keyRelease (keycode); if (waitForIdle) waitForIdle (); if (autoDelay > 0) delay (autoDelay);
public void keyRelease(int keycode) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
peer.mouseMove (x, y); if (waitForIdle) waitForIdle (); if (autoDelay > 0) delay (autoDelay);
public void mouseMove(int x, int y) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
public void mousePress(int buttons)
public void mousePress (int buttons)
public void mousePress(int buttons) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
if ((buttons & InputEvent.BUTTON1_MASK) == 0 && (buttons & InputEvent.BUTTON2_MASK) == 0 && (buttons & InputEvent.BUTTON3_MASK) == 0) throw new IllegalArgumentException ("Robot: mousePress:" + " invalid button mask"); peer.mousePress (buttons); if (waitForIdle) waitForIdle (); if (autoDelay > 0) delay (autoDelay);
public void mousePress(int buttons) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
if ((buttons & InputEvent.BUTTON1_MASK) == 0 && (buttons & InputEvent.BUTTON2_MASK) == 0 && (buttons & InputEvent.BUTTON3_MASK) == 0) throw new IllegalArgumentException ("Robot: mouseRelease:" + " invalid button mask"); peer.mouseRelease (buttons); if (waitForIdle) waitForIdle (); if (autoDelay > 0) delay (autoDelay...
public void mouseRelease(int buttons) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
public void mouseWheel(int wheelAmt)
public void mouseWheel (int wheelAmt)
public void mouseWheel(int wheelAmt) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
peer.mouseWheel (wheelAmt); if (waitForIdle) waitForIdle (); if (autoDelay > 0) delay (autoDelay);
public void mouseWheel(int wheelAmt) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
public void setAutoDelay(int ms)
public void setAutoDelay (int ms)
public void setAutoDelay(int ms) { if (ms < 0 || ms > 60000) throw new IllegalArgumentException(); autoDelay = ms; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
if (ms < 0 || ms > 60000) throw new IllegalArgumentException();
if (ms <= 0 || ms >= 60000) throw new IllegalArgumentException ("Robot: delay length out-of-bounds");
public void setAutoDelay(int ms) { if (ms < 0 || ms > 60000) throw new IllegalArgumentException(); autoDelay = ms; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
public void setAutoWaitForIdle(boolean value)
public void setAutoWaitForIdle (boolean isOn)
public void setAutoWaitForIdle(boolean value) { waitForIdle = value; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
waitForIdle = value;
waitForIdle = isOn;
public void setAutoWaitForIdle(boolean value) { waitForIdle = value; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
public String toString()
public String toString ()
public String toString() { return "unimplemented"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
return "unimplemented";
return getClass ().getName () + "[ autoDelay = " + autoDelay + ", autoWaitForIdle = " + waitForIdle + " ]";
public String toString() { return "unimplemented"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
public void waitForIdle()
public void waitForIdle ()
public void waitForIdle() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
if (EventQueue.isDispatchThread ()) throw new IllegalThreadStateException ("Robot: waitForIdle called from " + "the event dispatch thread"); EventQueue q = Toolkit.getDefaultToolkit ().getSystemEventQueue (); while (q.peekEvent () != null) { try { wait (); } catch (InterruptedException e) { System.err.println ("Robot...
public void waitForIdle() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/Robot.java/clean/core/src/classpath/java/java/awt/Robot.java
return t_fixed;
return new fixedTypeCode(value);
public TypeCode _type() { return t_fixed; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72c2f223affb33a2850592b25490f4663c651bee/FixedHolder.java/buggy/core/src/classpath/org/org/omg/CORBA/FixedHolder.java
protected AccessibleBox() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/Box.java/clean/core/src/classpath/javax/javax/swing/Box.java
protected AccessibleBoxFiller() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/Box.java/clean/core/src/classpath/javax/javax/swing/Box.java
vmClass.link();
public static Object allocObject(VmType<?> vmClass, int size) throws UninterruptiblePragma { vmClass.link(); // Screen.debug("ao cls{"); // Screen.debug(vmClass.getName()); VmHeapManager hm = heapManager; if (hm == null) { heapManager = hm = Vm.getHeapManager...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/93e73e97455aa3906c618e19bc5fa1e895db005d/SoftByteCodes.java/buggy/core/src/core/org/jnode/vm/SoftByteCodes.java
Object result;
final Object result;
public static Object allocObject(VmType<?> vmClass, int size) throws UninterruptiblePragma { vmClass.link(); // Screen.debug("ao cls{"); // Screen.debug(vmClass.getName()); VmHeapManager hm = heapManager; if (hm == null) { heapManager = hm = Vm.getHeapManager...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/93e73e97455aa3906c618e19bc5fa1e895db005d/SoftByteCodes.java/buggy/core/src/core/org/jnode/vm/SoftByteCodes.java
public static Object allocObject(VmType<?> vmClass, int size) throws UninterruptiblePragma { vmClass.link(); // Screen.debug("ao cls{"); // Screen.debug(vmClass.getName()); VmHeapManager hm = heapManager; if (hm == null) { heapManager = hm = Vm.getHeapManager...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/93e73e97455aa3906c618e19bc5fa1e895db005d/SoftByteCodes.java/buggy/core/src/core/org/jnode/vm/SoftByteCodes.java
int selectedRow = rowSM.getMinSelectionIndex(); connectKey = (String)ctm.getValueAt(selectedRow,0); saveProps(); setVisible(false);
doActionConnect();
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("DONE")) { saveProps(); setVisible(false); } if (e.getActionCommand().equals("ADD")) { Configure.doEntry((JFrame)getParent(),null,props); ctm.addSession(); } if (e.getActionCommand()....
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/Connect.java/clean/tn5250j/src/org/tn5250j/Connect.java
setResizable(false);
setResizable(true);
void jbInit() throws Exception { // make it non resizable setResizable(false); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create some reusable borders and layouts Border etchedBorder = BorderFactory.createEtchedBorder(); BorderLayout borderLayout = new BorderLayout(); ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/Connect.java/clean/tn5250j/src/org/tn5250j/Connect.java
show();
this.setVisible(true);
void jbInit() throws Exception { // make it non resizable setResizable(false); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create some reusable borders and layouts Border etchedBorder = BorderFactory.createEtchedBorder(); BorderLayout borderLayout = new BorderLayout(); ...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/Connect.java/clean/tn5250j/src/org/tn5250j/Connect.java
private Math() { }
private Math() { }
private Math() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0bfec329053442bf284a75378b15938abd962e63/Math.java/buggy/core/src/classpath/java/java/lang/Math.java
public static double rint(double a) { return StrictMath.rint(a); }
public static double rint(double a) { return StrictMath.rint(a); }
public static double rint(double a) { return StrictMath.rint(a); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0bfec329053442bf284a75378b15938abd962e63/Math.java/buggy/core/src/classpath/java/java/lang/Math.java
public static double toDegrees(double rads) {
public static double toDegrees(double rads) {
public static double toDegrees(double rads) { return (rads * 180) / PI; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0bfec329053442bf284a75378b15938abd962e63/Math.java/buggy/core/src/classpath/java/java/lang/Math.java
public static double toRadians(double degrees) {
public static double toRadians(double degrees) {
public static double toRadians(double degrees) { return (degrees * PI) / 180; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0bfec329053442bf284a75378b15938abd962e63/Math.java/buggy/core/src/classpath/java/java/lang/Math.java
if (ctm.getRowCount() == 1) { sessions.getSelectionModel().setSelectionInterval( 0, 0); }
public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("DONE")) { saveProps(); setVisible(false); } if (e.getActionCommand().equals("ADD")) { Configure.doEntry((JFrame) getParent(), null, props); ctm.addSession(); } if (e.getActionCommand().equals("REMOVE")) { removeEntry(); edit...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/3b0df517ff25d00cb293e051e47e3ac4a424a273/Connect.java/clean/tn5250j/src/org/tn5250j/Connect.java
+ " '"+ defaultFactoryClass +"'");
+ " '"+ defaultFactoryClass +"'", e);
private static PreferencesFactory getFactory() throws SecurityException { // First check for permission SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkPermission(prefsPermission); } // Get the factory if (factory == null) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/eea27f084742358ddb097f7118c05cd257029453/Preferences.java/clean/core/src/classpath/java/java/util/prefs/Preferences.java
public NodeReader(InputStream is, PreferencesFactory factory) { this(new InputStreamReader(is), factory);
public NodeReader(Reader r, PreferencesFactory factory) { if(r instanceof BufferedReader) { br = (BufferedReader) r; } else { br = new BufferedReader(r); } this.factory = factory;
public NodeReader(InputStream is, PreferencesFactory factory) { this(new InputStreamReader(is), factory); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b5af1a0dd02ba16d1f4f4556ab34fa51c2db060d/NodeReader.java/buggy/core/src/classpath/gnu/gnu/java/util/prefs/NodeReader.java