rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
tree = null;
public void uninstallUI(JComponent c) { prepareForUIUninstall(); uninstallDefaults(); uninstallKeyboardActions(); uninstallListeners(); tree = null; uninstallComponents(); completeUIUninstall(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
if (treeModel != null)
if (treeModel != null && treeModel.getRoot() != null)
protected void updateLayoutCacheExpandedNodes() { if (treeModel != null) updateExpandedDescendants(new TreePath(treeModel.getRoot())); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
updateCellEditor();
protected void updateRenderer() { if (tree != null) currentCellRenderer = tree.getCellRenderer(); if (currentCellRenderer == null) currentCellRenderer = createDefaultCellRenderer(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxIcon(); } }, "CheckBox.checkIcon",
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
return BasicIconFactory.getMenuItemCheckIcon();
return BasicIconFactory.getCheckBoxIcon();
public Object createValue(UIDefaults def) { return BasicIconFactory.getMenuItemCheckIcon(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
return BasicIconFactory.getCheckBoxIcon();
return BasicIconFactory.getMenuItemCheckIcon();
public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxIcon(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
return BasicIconFactory.getMenuItemCheckIcon();
return BasicIconFactory.getCheckBoxIcon();
public Object createValue(UIDefaults def) { return BasicIconFactory.getMenuItemCheckIcon(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
public Object createValue(UIDefaults table) { Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(BevelBorder.RAISED, Color.WHIT...
public Object createValue(UIDefaults def) { return BasicIconFactory.getMenuItemCheckIcon(); }
public Object createValue(UIDefaults table) { Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(BevelBorder.RAISED,...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
public Object createValue(UIDefaults def) { return new IconUIResource(BasicIconFactory.createEmptyFrameIcon()); }
public Object createValue(UIDefaults table) { Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(BevelBorder.RAISED, Color.WHIT...
public Object createValue(UIDefaults def) { return new IconUIResource(BasicIconFactory.createEmptyFrameIcon()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
return BasicIconFactory.getRadioButtonIcon();
return new IconUIResource(BasicIconFactory.createEmptyFrameIcon());
public Object createValue(UIDefaults def) { return BasicIconFactory.getRadioButtonIcon(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
os.writePUSH(SoftByteCodes.EX_CLASSCAST); os.writePUSH(0); invokeJavaMethod(context.getSystemExceptionMethod()); final RefItem exi = vstack.popRef(); assertCondition(exi.uses(EAX), "item must be in eax"); exi.release(eContext); /* Exception in EAX, throw it */ helper.writeJumpTableCALL(X86JumpTable.VM_ATHROW_OFS);
invokeJavaMethod(context.getClassCastFailedMethod());
public final void visit_checkcast(VmConstClass classRef) { // Resolve classRef classRef.resolve(loader); final VmType resolvedType = classRef.getResolvedVmClass(); if (resolvedType.isInterface() || resolvedType.isArray()) { // ClassRef is an interface or array, do the slow test ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5fd2b1e0180cda24cafbd8288788f03fd5464c0f/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
os.writePUSH(SoftByteCodes.EX_CLASSCAST); os.writePUSH(0); invokeJavaMethod(context.getSystemExceptionMethod()); final RefItem exi = vstack.popRef(); assertCondition(exi.uses(EAX), "item must be in eax"); exi.release(eContext); /* Exception in EAX, throw it */ helper.writeJumpTableCALL(X86JumpTable.VM_ATHROW_OFS);
invokeJavaMethod(context.getClassCastFailedMethod());
public final void visit_checkcast(VmConstClass classRef) { // Resolve classRef classRef.resolve(loader); final VmType resolvedType = classRef.getResolvedVmClass(); if (resolvedType.isInterface() || resolvedType.isArray()) { // ClassRef is an interface or array, do the slow test ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5fd2b1e0180cda24cafbd8288788f03fd5464c0f/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
protected CertificateRep(String type, byte[] data)
protected CertificateRep(String type, byte[] data)
protected CertificateRep(String type, byte[] data) { this.type = type; this.data = data; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/Certificate.java/clean/core/src/classpath/java/java/security/cert/Certificate.java
protected Object readResolve() throws ObjectStreamException
protected Object readResolve() throws ObjectStreamException
protected Object readResolve() throws ObjectStreamException { try { return new ObjectInputStream( new ByteArrayInputStream( data ) ).readObject(); } catch ( Exception e ) { e.printStackTrace(); throw new RuntimeException ( e.toString() ); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/Certificate.java/clean/core/src/classpath/java/java/security/cert/Certificate.java
try { return new ObjectInputStream( new ByteArrayInputStream( data ) ).readObject(); } catch ( Exception e ) { e.printStackTrace(); throw new RuntimeException ( e.toString() ); }
try { CertificateFactory fact = CertificateFactory.getInstance(type); return fact.generateCertificate(new ByteArrayInputStream(data)); } catch (Exception e) { throw new InvalidObjectException(e.toString()); }
protected Object readResolve() throws ObjectStreamException { try { return new ObjectInputStream( new ByteArrayInputStream( data ) ).readObject(); } catch ( Exception e ) { e.printStackTrace(); throw new RuntimeException ( e.toString() ); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/Certificate.java/clean/core/src/classpath/java/java/security/cert/Certificate.java
for (int mX = x + (xOff); mX < (x + w); mX += 4)
for (int mX = x + xOff; mX < (x + w); mX += 4)
static void fillMetalPattern(Component c, Graphics g, int x, int y, int w, int h, Color light, Color dark) { //if (g instanceof Graphics2D) if (false /* we don't have propper g2d in jnode yet, use the simple graphics here*/ && g instanceof Graphics2D) fillMetalPat...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e0c4001932916dcdf180e32bf374255e88829b25/MetalUtils.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalUtils.java
ValueBaseHelper.write(this, value);
Vio.write(this, value);
public void write_value(Serializable value) { ValueBaseHelper.write(this, value); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/OutputStream.java/buggy/core/src/classpath/org/org/omg/CORBA_2_3/portable/OutputStream.java
return getMessage ();
return charsetName;
public String getCharsetName () { return getMessage (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/UnsupportedCharsetException.java/clean/core/src/classpath/java/java/nio/charset/UnsupportedCharsetException.java
catch (DomEx e)
catch (DomDOMException e)
public void removeAttribute(String name) { if (attributes == null) { return; } try { attributes.removeNamedItem(name); } catch (DomEx e) { if (e.code != DomEx.NOT_FOUND_ERR) { throw e; } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomElement.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomElement.java
if (e.code != DomEx.NOT_FOUND_ERR)
if (e.code != DOMException.NOT_FOUND_ERR)
public void removeAttribute(String name) { if (attributes == null) { return; } try { attributes.removeNamedItem(name); } catch (DomEx e) { if (e.code != DomEx.NOT_FOUND_ERR) { throw e; } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomElement.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomElement.java
throw new DomEx(DomEx.NOT_FOUND_ERR, localPart, null, 0);
throw new DomDOMException(DOMException.NOT_FOUND_ERR, localPart, null, 0);
public void removeAttributeNS(String namespace, String localPart) { if (attributes == null) { throw new DomEx(DomEx.NOT_FOUND_ERR, localPart, null, 0); } attributes.removeNamedItemNS (namespace, localPart); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomElement.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomElement.java
throw new DomEx(DomEx.NOT_FOUND_ERR, null, node, 0);
throw new DomDOMException(DOMException.NOT_FOUND_ERR, null, node, 0);
public Attr removeAttributeNode(Attr node) { if (attributes == null) { throw new DomEx(DomEx.NOT_FOUND_ERR, null, node, 0); } return (Attr) attributes.removeNamedItem(node.getNodeName()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomElement.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomElement.java
throw new DomEx(DomEx.NAMESPACE_ERR,
throw new DomDOMException(DOMException.NAMESPACE_ERR,
public void setAttributeNS(String uri, String aname, String value) { if (("xmlns".equals (aname) || aname.startsWith ("xmlns:")) && !XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals (uri)) { throw new DomEx(DomEx.NAMESPACE_ERR, "setting xmlns attribute to illegal value", this, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomElement.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomElement.java
throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR);
throw new DomDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR);
public void setIdAttributeNode(Attr attr, boolean isId) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (attr == null || attr.getOwnerElement() != this) { throw new DomEx(DomEx.NOT_FOUND_ERR); } if (isId) { if (userIdAttrs == null) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomElement.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomElement.java
throw new DomEx(DomEx.NOT_FOUND_ERR);
throw new DomDOMException(DOMException.NOT_FOUND_ERR);
public void setIdAttributeNode(Attr attr, boolean isId) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (attr == null || attr.getOwnerElement() != this) { throw new DomEx(DomEx.NOT_FOUND_ERR); } if (isId) { if (userIdAttrs == null) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomElement.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomElement.java
public DefaultBoundedRangeModel() { setRangeProperties(0, 0, 0, 100, false); }
public DefaultBoundedRangeModel() { maximum = 100; }
public DefaultBoundedRangeModel() { setRangeProperties(0, 0, 0, 100, false); } // DefaultBoundedRangeModel()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
public void addChangeListener(ChangeListener listener) { listenerList.add(ChangeListener.class, listener); }
public void addChangeListener(ChangeListener listener) { listenerList.add(ChangeListener.class, listener); }
public void addChangeListener(ChangeListener listener) { listenerList.add(ChangeListener.class, listener); } // addChangeListener()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
protected void fireStateChanged() {
protected void fireStateChanged() { Object[] listeners;
protected void fireStateChanged() { // Variables ChangeListener listener; EventListener[] listeners; int index; // Get Listeners listeners = listenerList.getListeners(ChangeListener.class); // Process Listeners for (index = 0; index < listeners.length; index++) { listener = (ChangeListener) listener...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
ChangeListener listener; EventListener[] listeners; int index; listeners = listenerList.getListeners(ChangeListener.class); for (index = 0; index < listeners.length; index++) { listener = (ChangeListener) listeners[index]; listener.stateChanged(changeEvent); } }
listeners = listenerList.getListenerList(); for (int i = listeners.length - 2; i >= 0; i -= 2) if (listeners[i] == ChangeListener.class) { if (changeEvent == null) changeEvent = new ChangeEvent(this); ((ChangeListener) listeners[i + 1]).stateChanged(changeEvent); } }
protected void fireStateChanged() { // Variables ChangeListener listener; EventListener[] listeners; int index; // Get Listeners listeners = listenerList.getListeners(ChangeListener.class); // Process Listeners for (index = 0; index < listeners.length; index++) { listener = (ChangeListener) listener...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
public int getExtent() { return extent; }
public int getExtent() { return extent; }
public int getExtent() { return extent; } // getExtent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
public EventListener[] getListeners(Class c) { return listenerList.getListeners(c); }
public EventListener[] getListeners(Class listenerType) { return listenerList.getListeners(listenerType); }
public EventListener[] getListeners(Class c) { return listenerList.getListeners(c); } // getListeners()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
public int getMaximum() { return maximum; }
public int getMaximum() { return maximum; }
public int getMaximum() { return maximum; } // getMaximum()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
public int getMinimum() { return minimum; }
public int getMinimum() { return minimum; }
public int getMinimum() { return minimum; } // getMinimum()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
public int getValue() { return value; }
public int getValue() { return value; }
public int getValue() { return value; } // getValue()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
public boolean getValueIsAdjusting() { return isAdjusting; }
public boolean getValueIsAdjusting() { return isAdjusting; }
public boolean getValueIsAdjusting() { return isAdjusting; } // getValueIsAdjusting()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
public void removeChangeListener(ChangeListener listener) { listenerList.remove(ChangeListener.class, listener); }
public void removeChangeListener(ChangeListener listener) { listenerList.remove(ChangeListener.class, listener); }
public void removeChangeListener(ChangeListener listener) { listenerList.remove(ChangeListener.class, listener); } // removeChangeListener()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
public void setExtent(int extent) {
public void setExtent(int extent) { extent = Math.max(extent, 0); if (value + extent > maximum) extent = maximum - value;
public void setExtent(int extent) { // Validate Constraints if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid extent property set"); } // if // Set Extent this.extent = extent; // Notification fireStateChanged(); } // setExtent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid extent property set"); } this.extent = extent; fireStateChanged(); }
if (extent != this.extent) { this.extent = extent; fireStateChanged(); } }
public void setExtent(int extent) { // Validate Constraints if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid extent property set"); } // if // Set Extent this.extent = extent; // Notification fireStateChanged(); } // setExtent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
public void setMaximum(int maximum) { if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid maximum property set"); }
public void setMaximum(int maximum) { int value, extent, minimum;
public void setMaximum(int maximum) { // Validate Constraints if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid maximum property set"); } // if // Set Maximum this.maximum = maximum; // Notification fireStateChanged(); } // setMaxim...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
this.maximum = maximum;
minimum = Math.min(this.minimum, maximum); extent = Math.min(this.extent, maximum - minimum); value = Math.min(this.value, maximum - extent);
public void setMaximum(int maximum) { // Validate Constraints if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid maximum property set"); } // if // Set Maximum this.maximum = maximum; // Notification fireStateChanged(); } // setMaxim...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
fireStateChanged(); }
setRangeProperties(value, extent, minimum, maximum, isAdjusting); }
public void setMaximum(int maximum) { // Validate Constraints if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid maximum property set"); } // if // Set Maximum this.maximum = maximum; // Notification fireStateChanged(); } // setMaxim...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
public void setMinimum(int minimum) { if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid minimum property set"); } this.minimum = minimum; fireStateChanged();
public void setMinimum(int minimum) { int value, maximum;
public void setMinimum(int minimum) { // Validate Constraints if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid minimum property set"); } // if // Set Minimum this.minimum = minimum; // Notification fireStateChanged(); } // setM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
}
maximum = Math.max(minimum, this.maximum); value = Math.max(minimum, this.value); setRangeProperties(value, extent, minimum, maximum, isAdjusting); }
public void setMinimum(int minimum) { // Validate Constraints if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid minimum property set"); } // if // Set Minimum this.minimum = minimum; // Notification fireStateChanged(); } // setM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
int maximum, boolean isAdjusting) { if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid property set"); }
int maximum, boolean isAdjusting) { minimum = Math.min(Math.min(minimum, maximum), value); maximum = Math.max(value, maximum); if (extent + value > maximum) extent = maximum - value; extent = Math.max(0, extent);
public void setRangeProperties(int value, int extent, int minimum, int maximum, boolean isAdjusting) { // Validate Constraints if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid property set"); } // if // Set Data this.value = valu...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
this.value = value; this.extent = extent; this.minimum = minimum; this.maximum = maximum; this.isAdjusting = isAdjusting;
if ((value == this.value) && (extent == this.extent) && (minimum == this.minimum) && (maximum == this.maximum) && (isAdjusting == this.isAdjusting)) return; this.value = value; this.extent = extent; this.minimum = minimum; this.maximum = maximum; this.isAdjusting = isAdjusting;
public void setRangeProperties(int value, int extent, int minimum, int maximum, boolean isAdjusting) { // Validate Constraints if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid property set"); } // if // Set Data this.value = valu...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
fireStateChanged(); }
fireStateChanged(); }
public void setRangeProperties(int value, int extent, int minimum, int maximum, boolean isAdjusting) { // Validate Constraints if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid property set"); } // if // Set Data this.value = valu...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
public void setValue(int value) { if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid value property set"); } this.value = value;
public void setValue(int value) { value = Math.max(minimum, value); if (value + extent > maximum) value = maximum - extent;
public void setValue(int value) { // Validate Constraints if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid value property set"); } // if // Set Value this.value = value; // Notification fireStateChanged(); } // setValue()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
fireStateChanged(); }
if (value != this.value) { this.value = value; fireStateChanged(); } }
public void setValue(int value) { // Validate Constraints if (minimum > value || value > (value + extent) || (value + extent) > maximum) { throw new IllegalArgumentException("Invalid value property set"); } // if // Set Value this.value = value; // Notification fireStateChanged(); } // setValue()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
public void setValueIsAdjusting(boolean isAdjusting) { this.isAdjusting = isAdjusting;
public void setValueIsAdjusting(boolean isAdjusting) { if (isAdjusting == this.isAdjusting) return;
public void setValueIsAdjusting(boolean isAdjusting) { // Set isAdjusting this.isAdjusting = isAdjusting; // Notification fireStateChanged(); } // setValueIsAdjusting()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
fireStateChanged(); }
this.isAdjusting = isAdjusting; fireStateChanged(); }
public void setValueIsAdjusting(boolean isAdjusting) { // Set isAdjusting this.isAdjusting = isAdjusting; // Notification fireStateChanged(); } // setValueIsAdjusting()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
public String toString() { return null; }
public String toString() { return getClass().getName() + "[value=" + value + ", extent=" + extent + ", min=" + minimum + ", max=" + maximum + ", adj=" + isAdjusting + ']'; }
public String toString() { return null; // TODO } // toString()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultBoundedRangeModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultBoundedRangeModel.java
throw new IOException("Exec error", ex);
final IOException ioe = new IOException("Exec error"); ioe.initCause(ex); throw ioe;
public Process exec(String[] cmdarray, String[] envp) throws IOException { String command = cmdarray[0]; SecurityManager s = System.getSecurityManager(); if (s != null) s.checkExec(command); if (envp == null) { envp = new String[0]; } String mainClassName = cmdarray[0]; String[] cmdArgs = new String[cmdarra...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4a614d88396fd2b694a668e7d152a59f3bf1a612/Runtime.java/buggy/core/src/classpath/java/java/lang/Runtime.java
static void write(OutputStream ostream, short value)
public static void write(OutputStream ostream, short value)
static void write(OutputStream ostream, short value) { ostream.write_short(value); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/SyncScopeHelper.java/clean/core/src/classpath/org/org/omg/Messaging/SyncScopeHelper.java
assembler.putConstant(label, ref.getOffset());
assembler.putConstant(label, ref.getOffset() + (int)asm.getBaseAddr());
private void defineLabel(String label, X86Assembler asm) { try { Label lab = new Label(label); labels.put(label, lab); NativeStream.ObjectRef ref = asm.setObjectRef(lab); assembler.putConstant(label, ref.getOffset()); } catch (Exception e) { e.pri...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/eb9f15ea41fc430695eb61d296137088f460202a/X86Support.java/clean/builder/src/builder/org/jnode/jnasm/assembler/x86/X86Support.java
public DefaultTextField(Border border)
public DefaultTextField(Border aBorder)
public DefaultTextField(Border border) { this.border = border; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
this.border = border;
border = aBorder;
public DefaultTextField(Border border) { this.border = border; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
if (DefaultTreeCellEditor.this.tree.isEditing()) setLocation(offset, 0); super.doLayout();
int eOffset; if (editingIcon != null) eOffset = TREE_ICON_GAP + editingIcon.getIconWidth() + ICON_TEXT_GAP; else eOffset = 0; Rectangle bounds = getBounds(); Component c = getComponent(0); c.setLocation(eOffset, 0); c.setSize(bounds.width - eOffset - TREE_ICON_GAP, bounds.height); /* * @specnote the Sun sets some...
public void doLayout() { if (DefaultTreeCellEditor.this.tree.isEditing()) setLocation(offset, 0); super.doLayout(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
Rectangle tr = tree.getPathBounds(lastPath); if (tr != null) { Insets i = ((DefaultTextField) editingComponent).getBorder() .getBorderInsets(this); int textIconGap = 3; tr.x -= i.left;
public void paint(Graphics g) { Rectangle tr = tree.getPathBounds(lastPath); if (tr != null) { Insets i = ((DefaultTextField) editingComponent).getBorder() .getBorderInsets(this); int textIconGap = 3; tr.x -= i.left; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
editingIcon.paintIcon(this, g, tr.x - editingIcon. getIconWidth()/2, tr.y + i.top + i.bottom); tr.x += editingIcon.getIconWidth()/2 + textIconGap; } tr.width += offset; g.translate(tr.x, tr.y); editingComponent.setSize(new Dimension(tr.width, tr.height)); editingComponent.paint(g); g.translate(-tr.x, -tr.y);
editingIcon.paintIcon(this, g, TREE_ICON_GAP, 0);
public void paint(Graphics g) { Rectangle tr = tree.getPathBounds(lastPath); if (tr != null) { Insets i = ((DefaultTextField) editingComponent).getBorder() .getBorderInsets(this); int textIconGap = 3; tr.x -= i.left; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
if (lastPath != null && tPath != null && tPath.equals(lastPath)) { tree.startEditingAtPath(lastPath); timer.stop(); }
public void actionPerformed(ActionEvent e) { if (lastPath != null && tPath != null && tPath.equals(lastPath)) { tree.startEditingAtPath(lastPath); timer.stop(); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
timer.stop(); realEditor.cancelCellEditing();
tree.cancelEditing(); editingComponent = null;
public void cancelCellEditing() { if (editingComponent != null) { timer.stop(); realEditor.cancelCellEditing(); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
stopEditingTimer();
public void cancelCellEditing() { if (editingComponent != null) { timer.stop(); realEditor.cancelCellEditing(); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
realEditor = new DefaultCellEditor(new DefaultTreeCellEditor.DefaultTextField(
DefaultCellEditor editor = new DefaultCellEditor(new DefaultTreeCellEditor.DefaultTextField(
protected TreeCellEditor createTreeCellEditor() { realEditor = new DefaultCellEditor(new DefaultTreeCellEditor.DefaultTextField( UIManager.getBorder("Tree.selectionBorder"))); return realEditor; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
return realEditor;
editor.addCellEditorListener(new RealEditorListener()); editor.setClickCountToStart(CLICK_COUNT_TO_START); realEditor = editor; return editor;
protected TreeCellEditor createTreeCellEditor() { realEditor = new DefaultCellEditor(new DefaultTreeCellEditor.DefaultTextField( UIManager.getBorder("Tree.selectionBorder"))); return realEditor; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
return editingComponent;
return realEditor.getCellEditorValue();
public Object getCellEditorValue() { return editingComponent; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
createTreeCellEditor();
realEditor = createTreeCellEditor();
public Component getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row) { if (realEditor == null) createTreeCellEditor(); return realEditor.getTreeCellEditor...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
if (shouldStartEditingTimer(event)) startEditingTimer(); else if (timer.isRunning()) timer.stop();
public boolean isCellEditable(EventObject event) { if (editingComponent == null) configureEditingComponent(tree, renderer, realEditor); if (editingComponent != null && realEditor.isCellEditable(event)) { prepareForEditing(); return true; } // Cell may not be currently...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
editingContainer.removeAll();
protected void prepareForEditing() { editingContainer.add(editingComponent); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
if (timer == null) timer = new javax.swing.Timer(1200, this); if (!timer.isRunning())
if (timer != null)
protected void startEditingTimer() { if (timer == null) timer = new javax.swing.Timer(1200, this); if (!timer.isRunning()) timer.start(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
if (editingComponent != null && realEditor.stopCellEditing())
if (editingComponent != null)
public boolean stopCellEditing() { if (editingComponent != null && realEditor.stopCellEditing()) { timer.stop(); return true; } return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
timer.stop();
stopEditingTimer(); tree.stopEditing(); editingComponent = null;
public boolean stopCellEditing() { if (editingComponent != null && realEditor.stopCellEditing()) { timer.stop(); return true; } return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
configureEditingComponent(tree, renderer, realEditor);
stopCellEditing();
public void valueChanged(TreeSelectionEvent e) { tPath = lastPath; lastPath = e.getNewLeadSelectionPath(); lastRow = tree.getRowForPath(lastPath); configureEditingComponent(tree, renderer, realEditor); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
return "JCheckBox";
return super.paramString() + ",borderPaintedFlat=" + borderPaintedFlat;
protected String paramString() { return "JCheckBox"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/JCheckBox.java/clean/core/src/classpath/javax/javax/swing/JCheckBox.java
return peer.getMissingGlyphCode(this);
return peer.getNumGlyphs(this);
public int getNumGlyphs() { return peer.getMissingGlyphCode(this); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/Font.java/buggy/core/src/classpath/java/java/awt/Font.java
Obj(org.omg.CORBA.Object _object, byte[] _key, Servant _servant, gnuPOA _poa)
Obj(gnuServantObject _object, byte[] _key, Servant _servant, gnuPOA _poa)
Obj(org.omg.CORBA.Object _object, byte[] _key, Servant _servant, gnuPOA _poa) { object = _object; key = _key; servant = _servant; poa = _poa; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/AOM.java/clean/core/src/classpath/gnu/gnu/CORBA/Poa/AOM.java
final int distance = offset - get8(addr);
final int distance = offset - addr - 1;
private final void resolve8(int addr, int offset) { final int distance = offset - get8(addr); if (!X86Utils.isByte(distance)) { throw new IllegalArgumentException("Jump out of byte-range (" + distance + ")"); } if (isRelJump() && (distance == 0)) { if (get8(addr - 1) == 0xe...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7f717fe258cefa516b9047e1360dffb743ee1d10/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java
setCurrentTheme(new OceanTheme());
setCurrentTheme(new DefaultMetalTheme());
protected void createDefaultTheme() { setCurrentTheme(new OceanTheme()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/MetalLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java
return "JTextComponent";
return "TextComponentUI";
public String getUIClassID() { // Returns a string that specifies the name of the l&f class that renders this component. return "JTextComponent"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
return Collections.EMPTY_LIST;
return Collections.emptyList();
public List<VmInterpretedExceptionHandler> getExceptionHandlers() { if (eTable == null) { return Collections.EMPTY_LIST; } else { return Arrays.asList(eTable); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/982e1b1b1ed579528f868755d8a932bed0e03228/VmByteCode.java/buggy/core/src/core/org/jnode/vm/classmgr/VmByteCode.java
if (context == null) context = new ColorPaintContext(value);
if (context == null || !context.getColorModel().equals(cm)) context = new ColorPaintContext(cm,value);
public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) { if (context == null) context = new ColorPaintContext(value);...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4a614d88396fd2b694a668e7d152a59f3bf1a612/Color.java/buggy/core/src/classpath/java/java/awt/Color.java
return (getRGB() & ALPHA_MASK) >> 24;
return (getRGB() & ALPHA_MASK) >>> 24;
public int getAlpha() { // Do not inline getRGB() to value, because of SystemColor. return (getRGB() & ALPHA_MASK) >> 24; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4a614d88396fd2b694a668e7d152a59f3bf1a612/Color.java/buggy/core/src/classpath/java/java/awt/Color.java
return getClass().getName() + "(top=" + top + ",bottom=" + bottom + ",left=" + left + ",right=" + right + ')';
return getClass().getName() + "[top=" + top + ",left=" + left + ",bottom=" + bottom + ",right=" + right + ']';
public String toString() { return getClass().getName() + "(top=" + top + ",bottom=" + bottom + ",left=" + left + ",right=" + right + ')'; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6927129f1f7f8acd84e5ca16651e8fe5aa4e194b/Insets.java/buggy/core/src/classpath/java/java/awt/Insets.java
private void forceValidating ()
private void forceValidating()
private void forceValidating () throws SAXNotRecognizedException, SAXNotSupportedException { aelfred2.setFeature ( SAXDriver.FEATURE + "namespace-prefixes", true); aelfred2.setFeature ( SAXDriver.FEATURE + "external-general-entities", true); aelfred2.setFeature ( SAXDriver.FEATURE + "exter...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
aelfred2.setFeature ( SAXDriver.FEATURE + "namespace-prefixes",
aelfred2.setFeature(SAXDriver.FEATURE + "namespace-prefixes",
private void forceValidating () throws SAXNotRecognizedException, SAXNotSupportedException { aelfred2.setFeature ( SAXDriver.FEATURE + "namespace-prefixes", true); aelfred2.setFeature ( SAXDriver.FEATURE + "external-general-entities", true); aelfred2.setFeature ( SAXDriver.FEATURE + "exter...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
aelfred2.setFeature ( SAXDriver.FEATURE + "external-general-entities",
aelfred2.setFeature(SAXDriver.FEATURE + "external-general-entities",
private void forceValidating () throws SAXNotRecognizedException, SAXNotSupportedException { aelfred2.setFeature ( SAXDriver.FEATURE + "namespace-prefixes", true); aelfred2.setFeature ( SAXDriver.FEATURE + "external-general-entities", true); aelfred2.setFeature ( SAXDriver.FEATURE + "exter...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
aelfred2.setFeature ( SAXDriver.FEATURE + "external-parameter-entities",
aelfred2.setFeature(SAXDriver.FEATURE + "external-parameter-entities",
private void forceValidating () throws SAXNotRecognizedException, SAXNotSupportedException { aelfred2.setFeature ( SAXDriver.FEATURE + "namespace-prefixes", true); aelfred2.setFeature ( SAXDriver.FEATURE + "external-general-entities", true); aelfred2.setFeature ( SAXDriver.FEATURE + "exter...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
public ContentHandler getContentHandler () { return filter.getContentHandler (); }
public ContentHandler getContentHandler() { return filter.getContentHandler(); }
public ContentHandler getContentHandler () { return filter.getContentHandler (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
public DTDHandler getDTDHandler () { return filter.getDTDHandler (); }
public DTDHandler getDTDHandler() { return filter.getDTDHandler(); }
public DTDHandler getDTDHandler () { return filter.getDTDHandler (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
public EntityResolver getEntityResolver () { return aelfred2.getEntityResolver (); }
public EntityResolver getEntityResolver() { return aelfred2.getEntityResolver(); }
public EntityResolver getEntityResolver () { return aelfred2.getEntityResolver (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
public ErrorHandler getErrorHandler () { return aelfred2.getErrorHandler (); }
public ErrorHandler getErrorHandler() { return aelfred2.getErrorHandler(); }
public ErrorHandler getErrorHandler () { return aelfred2.getErrorHandler (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
public void parse (String systemId)
public void parse(String systemId)
public void parse (String systemId) throws SAXException, IOException { parse (new InputSource (systemId)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
parse (new InputSource (systemId));
parse(new InputSource(systemId));
public void parse (String systemId) throws SAXException, IOException { parse (new InputSource (systemId)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
public void setContentHandler (ContentHandler handler)
public void setContentHandler(ContentHandler handler)
public void setContentHandler (ContentHandler handler) { if (active) throw new IllegalStateException ("already parsing"); filter.setContentHandler (handler); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
throw new IllegalStateException ("already parsing"); filter.setContentHandler (handler);
{ throw new IllegalStateException("already parsing"); } filter.setContentHandler(handler);
public void setContentHandler (ContentHandler handler) { if (active) throw new IllegalStateException ("already parsing"); filter.setContentHandler (handler); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
public void setDTDHandler (DTDHandler handler)
public void setDTDHandler(DTDHandler handler)
public void setDTDHandler (DTDHandler handler) { if (active) throw new IllegalStateException ("already parsing"); filter.setDTDHandler (handler); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
throw new IllegalStateException ("already parsing"); filter.setDTDHandler (handler);
{ throw new IllegalStateException("already parsing"); } filter.setDTDHandler(handler);
public void setDTDHandler (DTDHandler handler) { if (active) throw new IllegalStateException ("already parsing"); filter.setDTDHandler (handler); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
public void setEntityResolver (EntityResolver handler) { aelfred2.setEntityResolver (handler); }
public void setEntityResolver(EntityResolver handler) { aelfred2.setEntityResolver(handler); }
public void setEntityResolver (EntityResolver handler) { aelfred2.setEntityResolver (handler); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
public void setErrorHandler (ErrorHandler handler)
public void setErrorHandler(ErrorHandler handler)
public void setErrorHandler (ErrorHandler handler) { if (active) throw new IllegalStateException ("already parsing"); aelfred2.setErrorHandler (handler); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
throw new IllegalStateException ("already parsing"); aelfred2.setErrorHandler (handler);
{ throw new IllegalStateException("already parsing"); } aelfred2.setErrorHandler(handler);
public void setErrorHandler (ErrorHandler handler) { if (active) throw new IllegalStateException ("already parsing"); aelfred2.setErrorHandler (handler); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java
public void setFeature (String featureId, boolean state)
public void setFeature(String featureId, boolean state)
public void setFeature (String featureId, boolean state) throws SAXNotRecognizedException, SAXNotSupportedException { boolean value = getFeature (featureId); if (state == value) return; if ((SAXDriver.FEATURE + "validation").equals (featureId)) { if (active) throw new SAXNotSupportedException ("alrea...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java