rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
UnsupportedLookAndFeelException(String a)
public UnsupportedLookAndFeelException(String a)
UnsupportedLookAndFeelException(String a) { super(a); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/UnsupportedLookAndFeelException.java/clean/core/src/classpath/javax/javax/swing/UnsupportedLookAndFeelException.java
awtEventListeners = new AWTEventListenerProxy[0];
public Toolkit() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Toolkit.java/buggy/core/src/classpath/java/java/awt/Toolkit.java
SecurityManager s = System.getSecurityManager(); if (s != null) s.checkPermission(new AWTPermission("listenToAllAWTEvents")); boolean found = false; for (int i = 0; i < awtEventListeners.length; ++i) { AWTEventListenerProxy proxy = awtEventListeners[i]; if (proxy.getListener() == listener) { found = true; AWTEvent...
public void addAWTEventListener(AWTEventListener listener, long eventMask) { // SecurityManager s = System.getSecurityManager(); // if (s != null) // s.checkPermission(AWTPermission("listenToAllAWTEvents")); // FIXME }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Toolkit.java/buggy/core/src/classpath/java/java/awt/Toolkit.java
} if (! found) { AWTEventListenerProxy proxy = new AWTEventListenerProxy(eventMask, listener); AWTEventListenerProxy[] newArray = new AWTEventListenerProxy[awtEventListeners.length + 1]; System.arraycopy(awtEventListeners, 0, newArray, 0, awtEventListeners.length); newArray[newArray.length - 1] = proxy; awtEventListe...
public void addAWTEventListener(AWTEventListener listener, long eventMask) { // SecurityManager s = System.getSecurityManager(); // if (s != null) // s.checkPermission(AWTPermission("listenToAllAWTEvents")); // FIXME }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Toolkit.java/buggy/core/src/classpath/java/java/awt/Toolkit.java
return null;
SecurityManager s = System.getSecurityManager(); if (s != null) s.checkPermission(new AWTPermission("listenToAllAWTEvents")); AWTEventListener[] copy = new AWTEventListener[awtEventListeners.length]; System.arraycopy(awtEventListeners, 0, copy, 0, awtEventListeners.length); return copy;
public AWTEventListener[] getAWTEventListeners() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Toolkit.java/buggy/core/src/classpath/java/java/awt/Toolkit.java
return null;
return new Insets(0, 0, 0, 0);
public Insets getScreenInsets(GraphicsConfiguration gc) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Toolkit.java/buggy/core/src/classpath/java/java/awt/Toolkit.java
SecurityManager s = System.getSecurityManager(); if (s != null) s.checkPermission(new AWTPermission("listenToAllAWTEvents")); int index = -1; for (int i = 0; i < awtEventListeners.length; ++i) { AWTEventListenerProxy proxy = awtEventListeners[i]; if (proxy.getListener() == listener) { index = i; break;
public void removeAWTEventListener(AWTEventListener listener) { // FIXME }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Toolkit.java/buggy/core/src/classpath/java/java/awt/Toolkit.java
} if (index != -1) { AWTEventListenerProxy[] newArray = new AWTEventListenerProxy[awtEventListeners.length - 1]; if (index > 0) System.arraycopy(awtEventListeners, 0, newArray, 0, index); if (index < awtEventListeners.length - 1) System.arraycopy(awtEventListeners, index + 1, newArray, index, awtEventListeners.length...
public void removeAWTEventListener(AWTEventListener listener) { // FIXME }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0e5ba93f67f359dbdb3b61f9a098e2718a744e71/Toolkit.java/buggy/core/src/classpath/java/java/awt/Toolkit.java
private void damageLayout()
void damageLayout()
private void damageLayout() { updateLayoutStateNeeded = 1; list.revalidate(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/BasicListUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java
protected AWTKeyStroke(char keyChar, int keyCode, int modifiers, boolean onKeyRelease)
protected AWTKeyStroke()
protected AWTKeyStroke(char keyChar, int keyCode, int modifiers, boolean onKeyRelease) { this.keyChar = keyChar; this.keyCode = keyCode; // No need to call extend(), as only trusted code calls this constructor. this.modifiers = modifiers; this.onKeyRelease = onKeyRelease; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/AWTKeyStroke.java/clean/core/src/classpath/java/java/awt/AWTKeyStroke.java
this.keyChar = keyChar; this.keyCode = keyCode; this.modifiers = modifiers; this.onKeyRelease = onKeyRelease;
keyChar = KeyEvent.CHAR_UNDEFINED;
protected AWTKeyStroke(char keyChar, int keyCode, int modifiers, boolean onKeyRelease) { this.keyChar = keyChar; this.keyCode = keyCode; // No need to call extend(), as only trusted code calls this constructor. this.modifiers = modifiers; this.onKeyRelease = onKeyRelease; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/AWTKeyStroke.java/clean/core/src/classpath/java/java/awt/AWTKeyStroke.java
window = new JWindow();
window = new JWindow(SwingUtilities.getWindowAncestor(owner));
public JWindowPopup(Component owner, Component contents, int x, int y) { /* Checks whether contents is null. */ super(owner, contents, x, y); this.contents = contents; window = new JWindow(); window.getContentPane().add(contents); window.setLocation(x, y); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/Popup.java/buggy/core/src/classpath/javax/javax/swing/Popup.java
this(null);
super(null);
public JWindow() { this(null); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JWindow.java/buggy/core/src/classpath/javax/javax/swing/JWindow.java
Container getContentPane()
public Container getContentPane()
Container getContentPane() { return getRootPane().getContentPane(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JWindow.java/buggy/core/src/classpath/javax/javax/swing/JWindow.java
file = new File (getURL().getFile());
file = new File (unquote(getURL().getFile()));
public void connect() throws IOException { // Call is ignored if already connected. if (connected) return; // If not connected, then file needs to be openned. file = new File (getURL().getFile()); if (! file.isDirectory()) { if (doInput) inputStream = new BufferedInputStream(new ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/206323a9a1de1e11c769011a5cbcb03397404977/Connection.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/file/Connection.java
throws UnsupportedEncodingException
throws IOException
final byte[] encodeText(String text) throws UnsupportedEncodingException { if (compatibilityMode) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c >= 127) { if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8193e5c058d8e54bec24c8ad080ae362e7eda462/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java
if (compatibilityMode)
encoder.reset(); if (!encoder.canEncode(text))
final byte[] encodeText(String text) throws UnsupportedEncodingException { if (compatibilityMode) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c >= 127) { if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8193e5c058d8e54bec24c8ad080ae362e7eda462/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java
StringBuffer buf = null;
final byte[] encodeText(String text) throws UnsupportedEncodingException { if (compatibilityMode) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c >= 127) { if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8193e5c058d8e54bec24c8ad080ae362e7eda462/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java
if (c >= 127) { if (buf == null) { buf = new StringBuffer(text.substring(0, i)); } buf.append('&'); buf.append('#'); buf.append((int) c); buf.append(';'); } else if (buf != null)
if (encoder.canEncode(c))
final byte[] encodeText(String text) throws UnsupportedEncodingException { if (compatibilityMode) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c >= 127) { if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8193e5c058d8e54bec24c8ad080ae362e7eda462/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java
if (buf != null) {
final byte[] encodeText(String text) throws UnsupportedEncodingException { if (compatibilityMode) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c >= 127) { if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8193e5c058d8e54bec24c8ad080ae362e7eda462/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java
return text.getBytes(encoding);
encoded.flip(); int len = encoded.limit() - encoded.position(); byte[] ret = new byte[len]; encoded.get(ret, 0, len); return ret;
final byte[] encodeText(String text) throws UnsupportedEncodingException { if (compatibilityMode) { int len = text.length(); StringBuffer buf = null; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c >= 127) { if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8193e5c058d8e54bec24c8ad080ae362e7eda462/StreamSerializer.java/buggy/core/src/classpath/gnu/gnu/xml/transform/StreamSerializer.java
public RegistryImpl(int port, RMIClientSocketFactory cf, RMIServerSocketFactory sf) throws RemoteException { super(new UnicastServerRef(new ObjID(ObjID.REGISTRY_ID), port, sf));
public RegistryImpl(int port) throws RemoteException { this(port, RMISocketFactory.getSocketFactory(), RMISocketFactory.getSocketFactory());
public RegistryImpl(int port, RMIClientSocketFactory cf, RMIServerSocketFactory sf) throws RemoteException { super(new UnicastServerRef(new ObjID(ObjID.REGISTRY_ID), port, sf)); // The following is unnecessary, because UnicastRemoteObject export itself automatically. //((UnicastServerRef)getRef()).exportObject(this);}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/RegistryImpl.java/buggy/core/src/classpath/gnu/gnu/java/rmi/registry/RegistryImpl.java
public UnicastRef(ObjID objid, String host, int port, RMIClientSocketFactory csf) { this(objid); manager = UnicastConnectionManager.getInstance(host, port, csf);
public UnicastRef() {
public UnicastRef(ObjID objid, String host, int port, RMIClientSocketFactory csf) { this(objid); manager = UnicastConnectionManager.getInstance(host, port, csf);}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/UnicastRef.java/buggy/core/src/classpath/gnu/gnu/java/rmi/server/UnicastRef.java
public IllegalAccessError(String s)
public IllegalAccessError()
public IllegalAccessError(String s) { super(s); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/IllegalAccessError.java/clean/core/src/classpath/java/java/lang/IllegalAccessError.java
super(s);
public IllegalAccessError(String s) { super(s); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/IllegalAccessError.java/clean/core/src/classpath/java/java/lang/IllegalAccessError.java
}
public static boolean unexportObject(Remote obj, boolean force) throws NoSuchObjectException { if (obj instanceof RemoteObject) { UnicastServerRef sref = (UnicastServerRef)((RemoteObject)obj).getRef(); return sref.unexportObject(obj, force); } else //FIX ME ; return true; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/UnicastRemoteObject.java/buggy/core/src/classpath/java/java/rmi/server/UnicastRemoteObject.java
return new gnu.xml.aelfred2.JAXPFactory();
return new gnu.xml.stream.SAXParserFactory();
public static SAXParserFactory newInstance() throws FactoryConfigurationError { ClassLoader loader = Thread.currentThread().getContextClassLoader(); if (loader == null) { loader = SAXParserFactory.class.getClassLoader(); } String className = null; int count = 0; do { cl...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/SAXParserFactory.java/buggy/core/src/classpath/javax/javax/xml/parsers/SAXParserFactory.java
public void parse(InputStream stream, DefaultHandler def)
public void parse(InputStream stream, HandlerBase handler)
public void parse(InputStream stream, DefaultHandler def) throws SAXException, IOException { parse (new InputSource (stream), def); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/SAXParser.java/buggy/core/src/classpath/javax/javax/xml/parsers/SAXParser.java
{ parse (new InputSource (stream), def); }
{ parse (new InputSource (stream), handler); }
public void parse(InputStream stream, DefaultHandler def) throws SAXException, IOException { parse (new InputSource (stream), def); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/SAXParser.java/buggy/core/src/classpath/javax/javax/xml/parsers/SAXParser.java
public boolean isFocusTraversable(JComboBox c) {
public boolean isFocusTraversable(JComboBox c) {
public boolean isFocusTraversable(JComboBox c) { boolean result = false; Iterator iterator = uis.iterator(); // first UI delegate provides the return value if (iterator.hasNext()) { ComboBoxUI ui = (ComboBoxUI) iterator.next(); result = ui.isFocusTraversable(c); } // return val...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01bcf1d981a0d2c2251fcc9f4417c2f3b3c93627/MultiComboBoxUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/multi/MultiComboBoxUI.java
public boolean isPopupVisible(JComboBox c) {
public boolean isPopupVisible(JComboBox c) {
public boolean isPopupVisible(JComboBox c) { boolean result = false; Iterator iterator = uis.iterator(); // first UI delegate provides the return value if (iterator.hasNext()) { ComboBoxUI ui = (ComboBoxUI) iterator.next(); result = ui.isPopupVisible(c); } // return values from...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01bcf1d981a0d2c2251fcc9f4417c2f3b3c93627/MultiComboBoxUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/multi/MultiComboBoxUI.java
public void setPopupVisible(JComboBox c, boolean visible) {
public void setPopupVisible(JComboBox c, boolean visible) {
public void setPopupVisible(JComboBox c, boolean visible) { Iterator iterator = uis.iterator(); while (iterator.hasNext()) { ComboBoxUI ui = (ComboBoxUI) iterator.next(); ui.setPopupVisible(c, visible); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01bcf1d981a0d2c2251fcc9f4417c2f3b3c93627/MultiComboBoxUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/multi/MultiComboBoxUI.java
if (sr == null) sr = new SizeRequirements(); else { sr.maximum = 0; sr.minimum = 0; sr.preferred = 0; sr.alignment = 0.5F; } int count = getViewCount(); for (int i = 0; i < count; ++i) { View child = getView(i); sr.minimum += child.getMinimumSpan(axis); sr.preferred += child.getPreferredSpan(axis); sr.maximum += chi...
SizeRequirements[] childReqs = getChildRequirements(axis); return SizeRequirements.getTiledSizeRequirements(childReqs);
protected SizeRequirements calculateMajorAxisRequirements(int axis, SizeRequirements sr) { if (sr == null) sr = new SizeRequirements(); else { sr.maximum = 0; sr.minimum = 0; sr.preferred = 0; sr.alignment = 0.5F; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BoxView.java/clean/core/src/classpath/javax/javax/swing/text/BoxView.java
if (sr == null) sr = new SizeRequirements(); else { sr.maximum = 0; sr.minimum = 0; sr.preferred = 0; sr.alignment = 0.5F; } int count = getViewCount(); int aboveBaseline = 0; int belowBaseline = 0; int aboveBaselineMin = 0; int belowBaselineMin = 0; int aboveBaselineMax = 0; int belowBaselineMax = 0; for (int i = 0...
SizeRequirements[] childReqs = getChildRequirements(axis); return SizeRequirements.getAlignedSizeRequirements(childReqs);
protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements sr) { if (sr == null) sr = new SizeRequirements(); else { sr.maximum = 0; sr.minimum = 0; sr.preferred = 0; sr.alignment = 0.5F; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BoxView.java/clean/core/src/classpath/javax/javax/swing/text/BoxView.java
this.width = width; this.height = height; if (myAxis == X_AXIS) { layoutMajorAxis(width, X_AXIS, offsetsX, spansX); layoutMinorAxis(height, Y_AXIS, offsetsY, spansY); } else { layoutMajorAxis(height, Y_AXIS, offsetsY, spansY); layoutMinorAxis(width, X_AXIS, offsetsX, spansX); }
baselineLayout(width, X_AXIS, offsetsX, spansX); baselineLayout(height, Y_AXIS, offsetsY, spansY);
protected void layout(int width, int height) { this.width = width; this.height = height; if (myAxis == X_AXIS) { layoutMajorAxis(width, X_AXIS, offsetsX, spansX); layoutMinorAxis(height, Y_AXIS, offsetsY, spansY); } else { layoutMajorAxis(height, Y_AXIS, offsetsY, span...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BoxView.java/clean/core/src/classpath/javax/javax/swing/text/BoxView.java
int count = getViewCount(); SizeRequirements[] childReqs = new SizeRequirements[count]; for (int i = 0; i < count; ++i) { View view = getView(i); childReqs[i] = new SizeRequirements((int) view.getMinimumSpan(axis), (int) view.getPreferredSpan(axis), (int) view.getMaximumSpan(axis), view.getAlignment(axis)); }
SizeRequirements[] childReqs = getChildRequirements(axis);
protected void layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) { // Allocate SizeRequirements for each child view. int count = getViewCount(); SizeRequirements[] childReqs = new SizeRequirements[count]; for (int i = 0; i < count; ++i) { Vi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BoxView.java/clean/core/src/classpath/javax/javax/swing/text/BoxView.java
int count = getViewCount(); SizeRequirements[] childReqs = new SizeRequirements[count]; for (int i = 0; i < count; ++i) { View view = getView(i); childReqs[i] = new SizeRequirements((int) view.getMinimumSpan(axis), (int) view.getPreferredSpan(axis), (int) view.getMaximumSpan(axis), view.getAlignment(axis)); }
SizeRequirements[] childReqs = getChildRequirements(axis);
protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) { // Allocate SizeRequirements for each child view. int count = getViewCount(); SizeRequirements[] childReqs = new SizeRequirements[count]; for (int i = 0; i < count; ++i) { Vi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BoxView.java/clean/core/src/classpath/javax/javax/swing/text/BoxView.java
if (!copy.isEmpty())
public void paint(Graphics g, Shape a) { // Adjust size if the size is changed. Rectangle bounds = a.getBounds(); if (bounds.width != getWidth() || bounds.height != getHeight()) setSize(bounds.width, bounds.height); Rectangle inside = getInsideAllocation(a); Rectangle copy = new Rectangle(inside)...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BoxView.java/clean/core/src/classpath/javax/javax/swing/text/BoxView.java
this.width = (int) width; this.height = (int) height;
public void setSize(float width, float height) { if (this.width != (int) width) layoutChanged(X_AXIS); if (this.height != (int) height) layoutChanged(Y_AXIS); Rectangle outside = new Rectangle(0, 0, this.width, this.height); Rectangle inside = getInsideAllocation(outside); if (!isAllocationV...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BoxView.java/clean/core/src/classpath/javax/javax/swing/text/BoxView.java
public SizeRequirements(int min, int pref, int max, float align) {
public SizeRequirements() {
public SizeRequirements(int min, int pref, int max, float align) { // TODO } // SizeRequirements()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/SizeRequirements.java/buggy/core/src/classpath/javax/javax/swing/SizeRequirements.java
inside.x = alloc.x - insets.left; inside.y = alloc.y - insets.top;
inside.x = alloc.x + insets.left; inside.y = alloc.y + insets.top;
protected Rectangle getInsideAllocation(Shape a) { if (a == null) return null; Rectangle alloc = a.getBounds(); // Initialize the inside allocation rectangle. This is done inside // a synchronized block in order to avoid multiple threads creating // this instance simultanously. Rectangle insid...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/CompositeView.java/buggy/core/src/classpath/javax/javax/swing/text/CompositeView.java
public abstract XMLEventWriter createXMLEventWriter(OutputStream stream)
public abstract XMLEventWriter createXMLEventWriter(Result result)
public abstract XMLEventWriter createXMLEventWriter(OutputStream stream) throws XMLStreamException;
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLOutputFactory.java/clean/core/src/classpath/javax/javax/xml/stream/XMLOutputFactory.java
public static XMLInputFactory newInstance(String factoryId, ClassLoader classLoader)
public static XMLInputFactory newInstance()
public static XMLInputFactory newInstance(String factoryId, ClassLoader classLoader) throws FactoryConfigurationError { ClassLoader loader = classLoader; if (loader == null) { loader = Thread.currentThread().getContextClassLoader(); } if (loader...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLInputFactory.java/buggy/core/src/classpath/javax/javax/xml/stream/XMLInputFactory.java
ClassLoader loader = classLoader; if (loader == null) { loader = Thread.currentThread().getContextClassLoader(); } if (loader == null) { loader = XMLInputFactory.class.getClassLoader(); } String className = null; int count = 0; do { className = getFactoryClassName(loader, count++); if (className != null) { try { Class ...
return newInstance(null, null);
public static XMLInputFactory newInstance(String factoryId, ClassLoader classLoader) throws FactoryConfigurationError { ClassLoader loader = classLoader; if (loader == null) { loader = Thread.currentThread().getContextClassLoader(); } if (loader...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLInputFactory.java/buggy/core/src/classpath/javax/javax/xml/stream/XMLInputFactory.java
return expr._boolean(node, expr.evaluate(node, pos, len));
return Expr._boolean(node, expr.evaluate(node, pos, len));
public boolean matches(Node node, int pos, int len) { Object ret = expr.evaluate(node, pos, len); if (ret instanceof Double) { // Same as [position() = x] return ((Double) ret).intValue() == pos; } return expr._boolean(node, expr.evaluate(node, pos, len)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/Predicate.java/buggy/core/src/classpath/gnu/gnu/xml/xpath/Predicate.java
protected AccessibleJSplitPane(JSplitPane component) { super(component); }
protected AccessibleJSplitPane(JSplitPane value0) { super(value0); }
protected AccessibleJSplitPane(JSplitPane component) { super(component); // TODO } // AccessibleJSplitPane()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public AccessibleRole getAccessibleRole() { return AccessibleRole.SPLIT_PANE; }
public AccessibleRole getAccessibleRole() { return null; }
public AccessibleRole getAccessibleRole() { return AccessibleRole.SPLIT_PANE; } // getAccessibleRole()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public AccessibleStateSet getAccessibleStateSet() { return null; }
public AccessibleStateSet getAccessibleStateSet() { return null; }
public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } // getAccessibleStateSet()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public AccessibleValue getAccessibleValue() { return null; }
public AccessibleValue getAccessibleValue() { return null; }
public AccessibleValue getAccessibleValue() { return null; // TODO } // getAccessibleValue()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public Number getCurrentAccessibleValue() { return null; }
public Number getCurrentAccessibleValue() { return null; }
public Number getCurrentAccessibleValue() { return null; // TODO } // getCurrentAccessibleValue()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public Number getMaximumAccessibleValue() { return null; }
public Number getMaximumAccessibleValue() { return null; }
public Number getMaximumAccessibleValue() { return null; // TODO } // getMaximumAccessibleValue()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public Number getMinimumAccessibleValue() { return null; }
public Number getMinimumAccessibleValue() { return null; }
public Number getMinimumAccessibleValue() { return null; // TODO } // getMinimumAccessibleValue()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public boolean setCurrentAccessibleValue(Number value0) { return false; }
public boolean setCurrentAccessibleValue(Number value0) { return false; }
public boolean setCurrentAccessibleValue(Number value0) { return false; // TODO } // setCurrentAccessibleValue()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public JSplitPane() { }
public JSplitPane(int newOrientation, boolean newContinuousLayout, Component newLeftComponent, Component newRightComponent) { if (newOrientation != HORIZONTAL_SPLIT && newOrientation != VERTICAL_SPLIT) throw new IllegalArgumentException("orientation is invalid."); orientation = newOrientation; continuousLayout = newCon...
public JSplitPane() { // TODO } // JSplitPane()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
protected void addImpl(Component value0, Object value1, int value2) { }
protected void addImpl(Component comp, Object constraints, int index) { int left = 0; int right = 1; int div = 2; int place; if (constraints == null) { if (leftComponent == null) constraints = LEFT; else if (rightComponent == null) constraints = RIGHT; } if (constraints instanceof String) { String placement = (String)...
protected void addImpl(Component value0, Object value1, int value2) { // TODO } // addImpl()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJSplitPane(this); } return accessibleContext; }
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJSplitPane(this); return accessibleContext; }
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJSplitPane(this); } // if return accessibleContext; } // getAccessibleContext()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public Component getBottomComponent() { return null; }
public Component getBottomComponent() { return rightComponent; }
public Component getBottomComponent() { return null; // TODO } // getBottomComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public int getDividerLocation() { return 0; }
public int getDividerLocation() { if (ui != null) return ((SplitPaneUI) ui).getDividerLocation(this); else return -1; }
public int getDividerLocation() { return 0; // TODO } // getDividerLocation()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public int getDividerSize() { return 0; }
public int getDividerSize() { return dividerSize; }
public int getDividerSize() { return 0; // TODO } // getDividerSize()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public int getLastDividerLocation() { return 0; }
public int getLastDividerLocation() { return lastDividerLocation; }
public int getLastDividerLocation() { return 0; // TODO } // getLastDividerLocation()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public Component getLeftComponent() { return null; }
public Component getLeftComponent() { return leftComponent; }
public Component getLeftComponent() { return null; // TODO } // getLeftComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public int getMaximumDividerLocation() { return 0; }
public int getMaximumDividerLocation() { if (ui != null) return ((SplitPaneUI) ui).getMaximumDividerLocation(this); else return -1; }
public int getMaximumDividerLocation() { return 0; // TODO } // getMaximumDividerLocation()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public int getMinimumDividerLocation() { return 0; }
public int getMinimumDividerLocation() { if (ui != null) return ((SplitPaneUI) ui).getMinimumDividerLocation(this); else return -1; }
public int getMinimumDividerLocation() { return 0; // TODO } // getMinimumDividerLocation()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public int getOrientation() { return 0; }
public int getOrientation() { return orientation; }
public int getOrientation() { return 0; // TODO } // getOrientation()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public double getResizeWeight() { return 0.0; }
public double getResizeWeight() { return resizeWeight; }
public double getResizeWeight() { return 0.0; // TODO } // getResizeWeight()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public Component getRightComponent() { return null; }
public Component getRightComponent() { return rightComponent; }
public Component getRightComponent() { return null; // TODO } // getRightComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public Component getTopComponent() { return null; }
public Component getTopComponent() { return leftComponent; }
public Component getTopComponent() { return null; // TODO } // getTopComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public SplitPaneUI getUI() { return (SplitPaneUI) ui; }
public SplitPaneUI getUI() { return (SplitPaneUI) ui; }
public SplitPaneUI getUI() { return (SplitPaneUI) ui; } // getUI()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public String getUIClassID() { return uiClassID; }
public String getUIClassID() { return "SplitPaneUI"; }
public String getUIClassID() { return uiClassID; } // getUIClassID()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public boolean isContinuousLayout() { return false; }
public boolean isContinuousLayout() { return continuousLayout; }
public boolean isContinuousLayout() { return false; // TODO } // isContinuousLayout()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public boolean isOneTouchExpandable() { return false; }
public boolean isOneTouchExpandable() { return oneTouchExpandable; }
public boolean isOneTouchExpandable() { return false; // TODO } // isOneTouchExpandable()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public boolean isValidateRoot() { return false; }
public boolean isValidateRoot() { return true; }
public boolean isValidateRoot() { return false; // TODO } // isValidateRoot()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
protected void paintChildren(Graphics value0) { }
protected void paintChildren(Graphics g) { super.paintChildren(g); if (ui != null) ((SplitPaneUI) ui).finishedPaintingChildren(this, g); }
protected void paintChildren(Graphics value0) { // TODO } // paintChildren()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
protected String paramString() { return null; }
protected String paramString() { return "JSplitPane"; }
protected String paramString() { return null; // TODO } // paramString()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void remove(Component value0) { }
public void remove(Component component) { if (component == leftComponent) leftComponent = null; else if (component == rightComponent) rightComponent = null; super.remove(component); }
public void remove(Component value0) { // TODO } // remove()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void removeAll() { }
public void removeAll() { leftComponent = null; rightComponent = null; super.removeAll(); }
public void removeAll() { // TODO } // removeAll()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void resetToPreferredSizes() { }
public void resetToPreferredSizes() { if (ui != null) ((SplitPaneUI) ui).resetToPreferredSizes(this); }
public void resetToPreferredSizes() { // TODO } // resetToPreferredSizes()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void setBottomComponent(Component value0) { }
public void setBottomComponent(Component comp) { if (comp != null) add(comp, BOTTOM); else add(new JButton("right button"), BOTTOM); }
public void setBottomComponent(Component value0) { // TODO } // setBottomComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void setContinuousLayout(boolean value0) { }
public void setContinuousLayout(boolean newContinuousLayout) { if (newContinuousLayout != continuousLayout) { boolean oldValue = continuousLayout; continuousLayout = newContinuousLayout; firePropertyChange(CONTINUOUS_LAYOUT_PROPERTY, oldValue, continuousLayout); } }
public void setContinuousLayout(boolean value0) { // TODO } // setContinuousLayout()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void setDividerLocation(double value0) { }
public void setDividerLocation(double proportionalLocation) { if (proportionalLocation > 1 || proportionalLocation < 0) throw new IllegalArgumentException("proportion has to be between 0 and 1."); int max = (orientation == HORIZONTAL_SPLIT) ? getWidth() : getHeight(); setDividerLocation((int) (proportionalLocation * m...
public void setDividerLocation(double value0) { // TODO } // setDividerLocation()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void setDividerSize(int value0) { }
public void setDividerSize(int newSize) { if (newSize != dividerSize) { int oldSize = dividerSize; dividerSize = newSize; firePropertyChange(DIVIDER_SIZE_PROPERTY, oldSize, dividerSize); } }
public void setDividerSize(int value0) { // TODO } // setDividerSize()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void setLastDividerLocation(int value0) { }
public void setLastDividerLocation(int newLastLocation) { if (newLastLocation != lastDividerLocation) { int oldValue = lastDividerLocation; lastDividerLocation = newLastLocation; firePropertyChange(LAST_DIVIDER_LOCATION_PROPERTY, oldValue, lastDividerLocation); } }
public void setLastDividerLocation(int value0) { // TODO } // setLastDividerLocation()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void setLeftComponent(Component value0) { }
public void setLeftComponent(Component comp) { if (comp != null) add(comp, LEFT); else add(new JButton("left button"), LEFT); }
public void setLeftComponent(Component value0) { // TODO } // setLeftComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void setOneTouchExpandable(boolean value0) { }
public void setOneTouchExpandable(boolean newValue) { if (newValue != oneTouchExpandable) { boolean oldValue = oneTouchExpandable; oneTouchExpandable = newValue; firePropertyChange(ONE_TOUCH_EXPANDABLE_PROPERTY, oldValue, oneTouchExpandable); } }
public void setOneTouchExpandable(boolean value0) { // TODO } // setOneTouchExpandable()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void setOrientation(int value0) { }
public void setOrientation(int orientation) { if (orientation != HORIZONTAL_SPLIT && orientation != VERTICAL_SPLIT) throw new IllegalArgumentException("orientation must be one of VERTICAL_SPLIT, HORIZONTAL_SPLIT"); if (orientation != this.orientation) { int oldOrientation = this.orientation; this.orientation = orientat...
public void setOrientation(int value0) { // TODO } // setOrientation()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void setResizeWeight(double value0) { }
public void setResizeWeight(double value) { resizeWeight = value; }
public void setResizeWeight(double value0) { // TODO } // setResizeWeight()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void setRightComponent(Component value0) { }
public void setRightComponent(Component comp) { if (comp != null) add(comp, RIGHT); else add(new JButton("right button"), RIGHT); }
public void setRightComponent(Component value0) { // TODO } // setRightComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void setTopComponent(Component value0) { }
public void setTopComponent(Component comp) { if (comp != null) add(comp, TOP); else add(new JButton("left button"), TOP); }
public void setTopComponent(Component value0) { // TODO } // setTopComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void setUI(SplitPaneUI ui) { super.setUI(ui); }
public void setUI(SplitPaneUI ui) { super.setUI(ui); }
public void setUI(SplitPaneUI ui) { super.setUI(ui); } // setUI()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
public void updateUI() { setUI((SplitPaneUI) UIManager.get(this)); invalidate(); }
public void updateUI() { setUI((SplitPaneUI) UIManager.getUI(this)); invalidate(); repaint(); }
public void updateUI() { setUI((SplitPaneUI) UIManager.get(this)); invalidate(); } // updateUI()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java
path[depth] = node;
path[path.length - depth - 1] = node;
protected TreeNode[] getPathToRoot(TreeNode node, int depth) { if (node == null) { if (depth == 0) return null; return new TreeNode[depth]; } TreeNode[] path = getPathToRoot(node.getParent(), depth + 1); path[depth] = node; return path; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DefaultMutableTreeNode.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java
return (parent == null);
return parent == null;
public boolean isRoot() { return (parent == null); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DefaultMutableTreeNode.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java
public void removeFromParent() { parent = null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DefaultMutableTreeNode.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java
if (!inDTD) throw new SAXException("attribute decl outside DTD");
public void attributeDecl(String eName, String aName, String type, String mode, String value) throws SAXException { if (interrupted) { return; } DomDoctype doctype = (DomDoctype) ctx; doctype.attributeDecl(eName, aName, type, mode, value); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/SAXEventSink.java/buggy/core/src/classpath/gnu/gnu/xml/dom/ls/SAXEventSink.java
if (!inDTD) throw new SAXException("element decl outside DTD");
public void elementDecl(String name, String model) throws SAXException { if (interrupted) { return; } // Ignore fake element declarations generated by ValidationConsumer. // If an element is not really declared in the DTD it will not be // declared in the document model. if (!(ctx ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/SAXEventSink.java/buggy/core/src/classpath/gnu/gnu/xml/dom/ls/SAXEventSink.java
{
public void endEntity(String name) throws SAXException { if ("[dtd]".equals(name) || name.charAt(0) == '%') { // Ignore DTD and parameter entities return; } if ("lt".equals(name) || "gt".equals(name) || "amp".equals(name) || "apos".equals(name) || "quot".e...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/SAXEventSink.java/buggy/core/src/classpath/gnu/gnu/xml/dom/ls/SAXEventSink.java
} if ("lt".equals(name) || "gt".equals(name) || "amp".equals(name) || "apos".equals(name) || "quot".equals(name)) {
if (PREDEFINED_ENTITIES.contains(name))
public void endEntity(String name) throws SAXException { if ("[dtd]".equals(name) || name.charAt(0) == '%') { // Ignore DTD and parameter entities return; } if ("lt".equals(name) || "gt".equals(name) || "amp".equals(name) || "apos".equals(name) || "quot".e...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/SAXEventSink.java/buggy/core/src/classpath/gnu/gnu/xml/dom/ls/SAXEventSink.java
} Entity entity = popEntity();
EntityReference ref = (EntityReference) ctx; if (!ref.getNodeName().equals(name)) throw new SAXException("expecting end of "+ref.getNodeName()+" entity"); ctx = ctx.getParentNode(); if (ref instanceof DomNode) ((DomNode) ref).makeReadonly();
public void endEntity(String name) throws SAXException { if ("[dtd]".equals(name) || name.charAt(0) == '%') { // Ignore DTD and parameter entities return; } if ("lt".equals(name) || "gt".equals(name) || "amp".equals(name) || "apos".equals(name) || "quot".e...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/SAXEventSink.java/buggy/core/src/classpath/gnu/gnu/xml/dom/ls/SAXEventSink.java
for (Node child = entity.getFirstChild(); child != null; child = child.getNextSibling())
Node child = ref.getFirstChild(); while (child != null)
public void endEntity(String name) throws SAXException { if ("[dtd]".equals(name) || name.charAt(0) == '%') { // Ignore DTD and parameter entities return; } if ("lt".equals(name) || "gt".equals(name) || "amp".equals(name) || "apos".equals(name) || "quot".e...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/SAXEventSink.java/buggy/core/src/classpath/gnu/gnu/xml/dom/ls/SAXEventSink.java
} else { Node entityReference = doc.createEntityReference(name); ctx.appendChild(entityReference);
ctx.removeChild(ref);
public void endEntity(String name) throws SAXException { if ("[dtd]".equals(name) || name.charAt(0) == '%') { // Ignore DTD and parameter entities return; } if ("lt".equals(name) || "gt".equals(name) || "amp".equals(name) || "apos".equals(name) || "quot".e...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/SAXEventSink.java/buggy/core/src/classpath/gnu/gnu/xml/dom/ls/SAXEventSink.java