rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
return displaySize; } return getDefaultSize();
return dim;
protected Dimension getDisplaySize() { if (comboBox.isEditable() && comboBox.getModel().getSize() == 0) return new Dimension(100, editor.getPreferredSize().height); Dimension dim = new Dimension(); ListCellRenderer renderer = comboBox.getRenderer(); ComboBoxModel model = comboBox.getModel(); if (...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java
Dimension size = getPreferredSize(c); size.width = 32767; return size;
return new Dimension(32767, 32767);
public Dimension getMaximumSize(JComponent c) { Dimension size = getPreferredSize(c); size.width = 32767; return size; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java
d.height += i.top + i.bottom; int arrowButtonWidth = d.height - (i.top + i.bottom); cachedMinimumSize = new Dimension(d.width + arrowButtonWidth + i.left + i.right, d.height);
d.width += i.left + i.right + d.height; cachedMinimumSize = new Dimension(d.width, d.height + i.top + i.bottom);
public Dimension getMinimumSize(JComponent c) { if (isMinimumSizeDirty) { Insets i = getInsets(); Dimension d = getDisplaySize(); d.height += i.top + i.bottom; int arrowButtonWidth = d.height - (i.top + i.bottom); cachedMinimumSize = new Dimension(d.width + arrowButtonWidth + i...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java
Dimension size = getMinimumSize(c); size.width += 4; return size;
return getMinimumSize(c);
public Dimension getPreferredSize(JComponent c) { Dimension size = getMinimumSize(c); size.width += 4; return size; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java
Rectangle cbBounds = SwingUtilities.getLocalBounds(comboBox); Rectangle abBounds = arrowButton.getBounds(); Rectangle rectForCurrentValue = new Rectangle(cbBounds.x, cbBounds.y, cbBounds.width - abBounds.width, cbBounds.height); return rectForCurrentValue;
int w = comboBox.getWidth(); int h = comboBox.getHeight(); Insets i = comboBox.getInsets(); int arrowSize = h - (i.top + i.bottom); if (arrowButton != null) { arrowSize = arrowButton.getWidth(); } return new Rectangle(i.left, i.top, w - (i.left + i.right + arrowSize), h - (i.top + i.left));
protected Rectangle rectangleForCurrentValue() { Rectangle cbBounds = SwingUtilities.getLocalBounds(comboBox); Rectangle abBounds = arrowButton.getBounds(); Rectangle rectForCurrentValue = new Rectangle(cbBounds.x, cbBounds.y, cbBounds.width - abBounds.width, cbBounds.height); return rectForCurre...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java
public static void uninstallBorder(JComponent c) { //Convenience method for un-installing a component's default border on the specified component if the border is currently an instance of UIResource. }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/LookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/LookAndFeel.java
finally { reset(); if (opened) in.close(); }
public synchronized void parse(InputSource input) throws IOException, SAXException { reset(); String systemId = input.getSystemId(); InputStream in = input.getByteStream(); boolean opened = false; if (in != null) parser = new XMLParser(in, systemId, validating, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/392a873c7dc1067cc2cc414042ead4e3b43e4483/SAXParser.java/clean/core/src/classpath/gnu/gnu/xml/stream/SAXParser.java
if (count == value.length) return (char[]) value.clone();
public char[] toCharArray() { // XXX ORP 1.0.9 crashes on (char[]) clone() during bootstrap, so we // omit this optimization for now. // if (count == value.length) // return (char[]) value.clone(); char[] copy = new char[count]; VMSystem.arraycopy(value, offset, copy, 0, count); return copy; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/217dae2077114aeb271c90f647f5baacd1bf28b4/String.java/buggy/core/src/classpath/5.0/java/lang/String.java
public String[] split (CharSequence input, int limit)
public String[] split (CharSequence input)
public String[] split (CharSequence input, int limit) { Matcher matcher = new Matcher(this, input); ArrayList list = new ArrayList(); int empties = 0; int count = 0; int start = 0; int end; boolean matched; while (matched = matcher.find() && (limit <= 0 || count < limit - 1)) { ++count; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/Pattern.java/buggy/core/src/classpath/java/java/util/regex/Pattern.java
Matcher matcher = new Matcher(this, input); ArrayList list = new ArrayList(); int empties = 0; int count = 0; int start = 0; int end; boolean matched; while (matched = matcher.find() && (limit <= 0 || count < limit - 1)) { ++count; end = matcher.start(); if (start == end) empties++; else { while (empties-- > 0) list.a...
return split(input, 0);
public String[] split (CharSequence input, int limit) { Matcher matcher = new Matcher(this, input); ArrayList list = new ArrayList(); int empties = 0; int count = 0; int start = 0; int end; boolean matched; while (matched = matcher.find() && (limit <= 0 || count < limit - 1)) { ++count; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/Pattern.java/buggy/core/src/classpath/java/java/util/regex/Pattern.java
public DefaultSingleSelectionModel ()
public DefaultSingleSelectionModel()
public DefaultSingleSelectionModel () { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
public DefaultSingleSelectionModel () { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
public void addChangeListener (ChangeListener listener)
public void addChangeListener(ChangeListener listener)
public void addChangeListener (ChangeListener listener) { listenerList.add (ChangeListener.class, listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
listenerList.add (ChangeListener.class, listener);
listenerList.add(ChangeListener.class, listener);
public void addChangeListener (ChangeListener listener) { listenerList.add (ChangeListener.class, listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
public void clearSelection ()
public void clearSelection()
public void clearSelection () { // Set Data index = -1; // Notify Listeners fireStateChanged (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
public void clearSelection () { // Set Data index = -1; // Notify Listeners fireStateChanged (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
fireStateChanged ();
fireStateChanged();
public void clearSelection () { // Set Data index = -1; // Notify Listeners fireStateChanged (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
protected void fireStateChanged ()
protected void fireStateChanged()
protected void fireStateChanged () { // Variables ChangeListener listener; ChangeListener[] listeners; int index; // Get Listeners listeners = getChangeListeners (); // Process Listeners for (index = 0; index < listeners.length; index++) { listener = listeners [index]; list...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
ChangeListener listener; ChangeListener[] listeners; int index;
ChangeListener[] listeners = getChangeListeners();
protected void fireStateChanged () { // Variables ChangeListener listener; ChangeListener[] listeners; int index; // Get Listeners listeners = getChangeListeners (); // Process Listeners for (index = 0; index < listeners.length; index++) { listener = listeners [index]; list...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
listeners = getChangeListeners (); for (index = 0; index < listeners.length; index++) { listener = listeners [index]; listener.stateChanged (changeEvent); }
for (int i = 0; i < listeners.length; i++) listeners[i].stateChanged(changeEvent);
protected void fireStateChanged () { // Variables ChangeListener listener; ChangeListener[] listeners; int index; // Get Listeners listeners = getChangeListeners (); // Process Listeners for (index = 0; index < listeners.length; index++) { listener = listeners [index]; list...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
public ChangeListener[] getChangeListeners ()
public ChangeListener[] getChangeListeners()
public ChangeListener[] getChangeListeners () { return (ChangeListener[]) getListeners (ChangeListener.class); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
return (ChangeListener[]) getListeners (ChangeListener.class);
return (ChangeListener[]) getListeners(ChangeListener.class);
public ChangeListener[] getChangeListeners () { return (ChangeListener[]) getListeners (ChangeListener.class); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
public EventListener[] getListeners (Class listenerClass)
public EventListener[] getListeners(Class listenerClass)
public EventListener[] getListeners (Class listenerClass) { return listenerList.getListeners (listenerClass); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
return listenerList.getListeners (listenerClass);
return listenerList.getListeners(listenerClass);
public EventListener[] getListeners (Class listenerClass) { return listenerList.getListeners (listenerClass); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
public int getSelectedIndex ()
public int getSelectedIndex()
public int getSelectedIndex () { return index; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
public boolean isSelected ()
public boolean isSelected()
public boolean isSelected () { return (index != -1); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
return (index != -1);
return index != -1;
public boolean isSelected () { return (index != -1); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
public void removeChangeListener (ChangeListener listener)
public void removeChangeListener(ChangeListener listener)
public void removeChangeListener (ChangeListener listener) { listenerList.remove (ChangeListener.class, listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
listenerList.remove (ChangeListener.class, listener);
listenerList.remove(ChangeListener.class, listener);
public void removeChangeListener (ChangeListener listener) { listenerList.remove (ChangeListener.class, listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
public void setSelectedIndex (int index)
public void setSelectedIndex(int index)
public void setSelectedIndex (int index) { // Set Data this.index = index; // Notify Listeners fireStateChanged (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
public void setSelectedIndex (int index) { // Set Data this.index = index; // Notify Listeners fireStateChanged (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
fireStateChanged ();
fireStateChanged();
public void setSelectedIndex (int index) { // Set Data this.index = index; // Notify Listeners fireStateChanged (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultSingleSelectionModel.java/clean/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java
TextComponent(String text) {
TextComponent(String text) {
TextComponent(String text) { this.text = text; this.editable = true; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/TextComponent.java/buggy/core/src/classpath/java/java/awt/TextComponent.java
}
}
TextComponent(String text) { this.text = text; this.editable = true; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/TextComponent.java/buggy/core/src/classpath/java/java/awt/TextComponent.java
public abstract String getText();
String getText();
public abstract String getText();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/TextComponentPeer.java/buggy/core/src/classpath/java/java/awt/peer/TextComponentPeer.java
public abstract void insert(String text, int pos);
void insert(String text, int pos);
public abstract void insert(String text, int pos);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/TextAreaPeer.java/buggy/core/src/classpath/java/java/awt/peer/TextAreaPeer.java
public abstract Dimension getMinimumSize(int rows, int cols);
Dimension getMinimumSize(int rows, int cols);
public abstract Dimension getMinimumSize(int rows, int cols);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/TextAreaPeer.java/buggy/core/src/classpath/java/java/awt/peer/TextAreaPeer.java
protected String paramString() { return (getClass().getName() + "(text=" + getText() + ")"); }
paramString() { return(getClass().getName() + "(text=" + getText() + ")"); }
protected String paramString() { return (getClass().getName() + "(text=" + getText() + ")"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/TextComponent.java/buggy/core/src/classpath/java/java/awt/TextComponent.java
public boolean isEditable() { return (editable); }
isEditable() { return(editable); }
public boolean isEditable() { return (editable); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/TextComponent.java/buggy/core/src/classpath/java/java/awt/TextComponent.java
public synchronized String getText() { TextComponentPeer tcp = (TextComponentPeer) getPeer();
getText() { TextComponentPeer tcp = (TextComponentPeer)getPeer();
public synchronized String getText() { TextComponentPeer tcp = (TextComponentPeer) getPeer(); if (tcp != null) text = tcp.getText(); return (text); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/TextComponent.java/buggy/core/src/classpath/java/java/awt/TextComponent.java
return (text); }
return(text); }
public synchronized String getText() { TextComponentPeer tcp = (TextComponentPeer) getPeer(); if (tcp != null) text = tcp.getText(); return (text); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/TextComponent.java/buggy/core/src/classpath/java/java/awt/TextComponent.java
public synchronized int getSelectionStart() { TextComponentPeer tcp = (TextComponentPeer) getPeer();
getSelectionStart() { TextComponentPeer tcp = (TextComponentPeer)getPeer();
public synchronized int getSelectionStart() { TextComponentPeer tcp = (TextComponentPeer) getPeer(); if (tcp != null) selectionStart = tcp.getSelectionStart(); return (selectionStart); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/TextComponent.java/buggy/core/src/classpath/java/java/awt/TextComponent.java
return (selectionStart); }
return(selectionStart); }
public synchronized int getSelectionStart() { TextComponentPeer tcp = (TextComponentPeer) getPeer(); if (tcp != null) selectionStart = tcp.getSelectionStart(); return (selectionStart); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/TextComponent.java/buggy/core/src/classpath/java/java/awt/TextComponent.java
public synchronized int getSelectionEnd() { TextComponentPeer tcp = (TextComponentPeer) getPeer();
getSelectionEnd() { TextComponentPeer tcp = (TextComponentPeer)getPeer();
public synchronized int getSelectionEnd() { TextComponentPeer tcp = (TextComponentPeer) getPeer(); if (tcp != null) selectionEnd = tcp.getSelectionEnd(); return (selectionEnd); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/TextComponent.java/buggy/core/src/classpath/java/java/awt/TextComponent.java
return (selectionEnd); }
return(selectionEnd); }
public synchronized int getSelectionEnd() { TextComponentPeer tcp = (TextComponentPeer) getPeer(); if (tcp != null) selectionEnd = tcp.getSelectionEnd(); return (selectionEnd); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/TextComponent.java/buggy/core/src/classpath/java/java/awt/TextComponent.java
public abstract Dimension getPreferredSize(int rows, int cols);
Dimension getPreferredSize(int rows, int cols);
public abstract Dimension getPreferredSize(int rows, int cols);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/TextAreaPeer.java/buggy/core/src/classpath/java/java/awt/peer/TextAreaPeer.java
public abstract void replaceRange(String text, int start_pos, int end_pos);
void replaceRange(String text, int start_pos, int end_pos);
public abstract void replaceRange(String text, int start_pos, int end_pos);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/TextAreaPeer.java/buggy/core/src/classpath/java/java/awt/peer/TextAreaPeer.java
Locale[] l = new Locale[1]; l[0] = Locale.US; return l;
return LocaleHelper.getCollatorLocales();
public static synchronized Locale[] getAvailableLocales () { // FIXME Locale[] l = new Locale[1]; l[0] = Locale.US; return l; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/Collator.java/clean/core/src/classpath/java/java/text/Collator.java
return new SubMap(nil, toKey);
return new SubMap((K)(Object)nil, toKey);
public SortedMap<K, V> headMap(K toKey) { return new SubMap(nil, toKey); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1cf74b959ea4ccaa8f99c39c3123ffea83ef9a26/TreeMap.java/clean/core/src/classpath/5.0/java/util/TreeMap.java
return new SubMap(fromKey, nil);
return new SubMap(fromKey, (K)(Object)nil);
public SortedMap<K, V> tailMap(K fromKey) { return new SubMap(fromKey, nil); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1cf74b959ea4ccaa8f99c39c3123ffea83ef9a26/TreeMap.java/clean/core/src/classpath/5.0/java/util/TreeMap.java
throws NotImplementedException
public static Object getStaticAttribute(Object key) throws NotImplementedException { throw new InternalError("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c6378820ef3d5291895049f82f29d237a8e885a/StyleContext.java/clean/core/src/classpath/javax/javax/swing/text/StyleContext.java
throw new InternalError("not implemented");
if (key == null) return null; return staticAttributeKeys.get(key);
public static Object getStaticAttribute(Object key) throws NotImplementedException { throw new InternalError("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c6378820ef3d5291895049f82f29d237a8e885a/StyleContext.java/clean/core/src/classpath/javax/javax/swing/text/StyleContext.java
throws NotImplementedException
public static Object getStaticAttributeKey(Object key) throws NotImplementedException { throw new InternalError("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c6378820ef3d5291895049f82f29d237a8e885a/StyleContext.java/clean/core/src/classpath/javax/javax/swing/text/StyleContext.java
throw new InternalError("not implemented");
return key.getClass().getName() + "." + key.toString();
public static Object getStaticAttributeKey(Object key) throws NotImplementedException { throw new InternalError("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c6378820ef3d5291895049f82f29d237a8e885a/StyleContext.java/clean/core/src/classpath/javax/javax/swing/text/StyleContext.java
throws ClassNotFoundException, IOException, NotImplementedException
throws ClassNotFoundException, IOException
public static void readAttributeSet(ObjectInputStream in, MutableAttributeSet a) throws ClassNotFoundException, IOException, NotImplementedException { throw new InternalError("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c6378820ef3d5291895049f82f29d237a8e885a/StyleContext.java/clean/core/src/classpath/javax/javax/swing/text/StyleContext.java
throw new InternalError("not implemented");
if (in == null || a == null) return; Object key = in.readObject(); Object val = in.readObject(); while (key != null && val != null) { Object staticKey = staticAttributeKeys.get(key); Object staticVal = staticAttributeKeys.get(val); if (staticKey != null) key = staticKey; if (staticVal != null) val = staticVal; a.add...
public static void readAttributeSet(ObjectInputStream in, MutableAttributeSet a) throws ClassNotFoundException, IOException, NotImplementedException { throw new InternalError("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c6378820ef3d5291895049f82f29d237a8e885a/StyleContext.java/clean/core/src/classpath/javax/javax/swing/text/StyleContext.java
throws ClassNotFoundException, IOException, NotImplementedException
throws ClassNotFoundException, IOException
public void readAttributes(ObjectInputStream in, MutableAttributeSet a) throws ClassNotFoundException, IOException, NotImplementedException { throw new InternalError("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c6378820ef3d5291895049f82f29d237a8e885a/StyleContext.java/clean/core/src/classpath/javax/javax/swing/text/StyleContext.java
throw new InternalError("not implemented");
readAttributeSet(in, a);
public void readAttributes(ObjectInputStream in, MutableAttributeSet a) throws ClassNotFoundException, IOException, NotImplementedException { throw new InternalError("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c6378820ef3d5291895049f82f29d237a8e885a/StyleContext.java/clean/core/src/classpath/javax/javax/swing/text/StyleContext.java
staticAttributeKeys.add(key);
if (key != null) staticAttributeKeys.put(key.getClass().getName() + "." + key.toString(), key);
public static void registerStaticAttributeKey(Object key) { staticAttributeKeys.add(key); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c6378820ef3d5291895049f82f29d237a8e885a/StyleContext.java/clean/core/src/classpath/javax/javax/swing/text/StyleContext.java
throw new InternalError("not implemented");
public static void writeAttributeSet(ObjectOutputStream out, AttributeSet a) throws IOException, NotImplementedException { throw new InternalError("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c6378820ef3d5291895049f82f29d237a8e885a/StyleContext.java/clean/core/src/classpath/javax/javax/swing/text/StyleContext.java
throws IOException, NotImplementedException
throws IOException
public void writeAttributes(ObjectOutputStream out, AttributeSet a) throws IOException, NotImplementedException { throw new InternalError("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c6378820ef3d5291895049f82f29d237a8e885a/StyleContext.java/clean/core/src/classpath/javax/javax/swing/text/StyleContext.java
throw new InternalError("not implemented");
writeAttributeSet(out, a);
public void writeAttributes(ObjectOutputStream out, AttributeSet a) throws IOException, NotImplementedException { throw new InternalError("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c6378820ef3d5291895049f82f29d237a8e885a/StyleContext.java/clean/core/src/classpath/javax/javax/swing/text/StyleContext.java
if (DEBUG && debuglevel > 8) { debug("EM (sign): " + Util.toString(EM)); }
if (Configuration.DEBUG) log.fine("EM (sign): " + Util.toString(EM));
protected Object generateSignature() throws IllegalStateException { // 1. Apply the EMSA-PSS encoding operation to the message M to produce an // encoded message EM of length CEILING((modBits ? 1)/8) octets such // that the bit length of the integer OS2IP(EM) is at most modBits ? 1: // EM = EMSA...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAPSSSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSAPSSSignature.java
if (!(k instanceof RSAPrivateKey)) {
if (! (k instanceof RSAPrivateKey))
protected void setupForSigning(PrivateKey k) throws IllegalArgumentException { if (!(k instanceof RSAPrivateKey)) { throw new IllegalArgumentException(); } privateKey = (RSAPrivateKey) k; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAPSSSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSAPSSSignature.java
}
protected void setupForSigning(PrivateKey k) throws IllegalArgumentException { if (!(k instanceof RSAPrivateKey)) { throw new IllegalArgumentException(); } privateKey = (RSAPrivateKey) k; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAPSSSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSAPSSSignature.java
if (!(k instanceof RSAPublicKey)) {
if (! (k instanceof RSAPublicKey))
protected void setupForVerification(PublicKey k) throws IllegalArgumentException { if (!(k instanceof RSAPublicKey)) { throw new IllegalArgumentException(); } publicKey = (RSAPublicKey) k; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAPSSSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSAPSSSignature.java
}
protected void setupForVerification(PublicKey k) throws IllegalArgumentException { if (!(k instanceof RSAPublicKey)) { throw new IllegalArgumentException(); } publicKey = (RSAPublicKey) k; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAPSSSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSAPSSSignature.java
{
protected boolean verifySignature(Object sig) throws IllegalStateException { if (publicKey == null) { throw new IllegalStateException(); } // byte[] S = decodeSignature(sig); byte[] S = (byte[]) sig; // 1. If the length of the signature S is not k octets, output 'signature // ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAPSSSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSAPSSSignature.java
}
protected boolean verifySignature(Object sig) throws IllegalStateException { if (publicKey == null) { throw new IllegalStateException(); } // byte[] S = decodeSignature(sig); byte[] S = (byte[]) sig; // 1. If the length of the signature S is not k octets, output 'signature // ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAPSSSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSAPSSSignature.java
{
protected boolean verifySignature(Object sig) throws IllegalStateException { if (publicKey == null) { throw new IllegalStateException(); } // byte[] S = decodeSignature(sig); byte[] S = (byte[]) sig; // 1. If the length of the signature S is not k octets, output 'signature // ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAPSSSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSAPSSSignature.java
}
protected boolean verifySignature(Object sig) throws IllegalStateException { if (publicKey == null) { throw new IllegalStateException(); } // byte[] S = decodeSignature(sig); byte[] S = (byte[]) sig; // 1. If the length of the signature S is not k octets, output 'signature // ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAPSSSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSAPSSSignature.java
if (DEBUG && debuglevel > 8) { debug("EM (verify): " + Util.toString(EM)); }
if (Configuration.DEBUG) log.fine("EM (verify): " + Util.toString(EM));
protected boolean verifySignature(Object sig) throws IllegalStateException { if (publicKey == null) { throw new IllegalStateException(); } // byte[] S = decodeSignature(sig); byte[] S = (byte[]) sig; // 1. If the length of the signature S is not k octets, output 'signature // ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAPSSSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSAPSSSignature.java
{
protected boolean verifySignature(Object sig) throws IllegalStateException { if (publicKey == null) { throw new IllegalStateException(); } // byte[] S = decodeSignature(sig); byte[] S = (byte[]) sig; // 1. If the length of the signature S is not k octets, output 'signature // ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAPSSSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSAPSSSignature.java
}
protected boolean verifySignature(Object sig) throws IllegalStateException { if (publicKey == null) { throw new IllegalStateException(); } // byte[] S = decodeSignature(sig); byte[] S = (byte[]) sig; // 1. If the length of the signature S is not k octets, output 'signature // ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAPSSSignature.java/clean/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSAPSSSignature.java
protected SecureClassLoader()
protected SecureClassLoader(ClassLoader parent)
protected SecureClassLoader() { SecurityManager sm = System.getSecurityManager(); if(sm != null) sm.checkCreateClassLoader(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/375948b746a7ee130ddcfdc51ac2e51092612050/SecureClassLoader.java/buggy/core/src/classpath/java/java/security/SecureClassLoader.java
super(parent);
protected SecureClassLoader() { SecurityManager sm = System.getSecurityManager(); if(sm != null) sm.checkCreateClassLoader(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/375948b746a7ee130ddcfdc51ac2e51092612050/SecureClassLoader.java/buggy/core/src/classpath/java/java/security/SecureClassLoader.java
return super.isVisible();
return visible;
public boolean isVisible() { return super.isVisible(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JPopupMenu.java/buggy/core/src/classpath/javax/javax/swing/JPopupMenu.java
super.setVisible(visible);
this.visible = visible;
public void setVisible(boolean visible) { boolean old = isVisible(); super.setVisible(visible); if (old != isVisible()) { firePropertyChange(VISIBLE_CHANGED_PROPERTY, old, (boolean) isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); Container rootContainer = (Container) SwingUti...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JPopupMenu.java/buggy/core/src/classpath/javax/javax/swing/JPopupMenu.java
revalidate(); repaint();
public void remove (int index) { Component c = getComponent (index); Integer layer = getLayer (c); decrLayer (layer); componentToLayer.remove (c); super.remove (index); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JLayeredPane.java/buggy/core/src/classpath/javax/javax/swing/JLayeredPane.java
x = y = height = width = east = south = null;
x = y = height = width = east = south = v = h = null;
public Constraints() { x = y = height = width = east = south = null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
retVal = y;
retVal = getY();
public Spring getConstraint(String edgeName) { Spring retVal = null; if (edgeName.equals(SpringLayout.NORTH)) retVal = y; else if (edgeName.equals(SpringLayout.WEST)) retVal = x; else if (edgeName.equals(SpringLayout.SOUTH)) { retVal = south; if ((retVal == null) && (...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
retVal = x;
retVal = getX();
public Spring getConstraint(String edgeName) { Spring retVal = null; if (edgeName.equals(SpringLayout.NORTH)) retVal = y; else if (edgeName.equals(SpringLayout.WEST)) retVal = x; else if (edgeName.equals(SpringLayout.SOUTH)) { retVal = south; if ((retVal == null) && (...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
{ retVal = south; if ((retVal == null) && (y != null) && (height != null)) retVal = Spring.sum(y, height); }
retVal = getSouth();
public Spring getConstraint(String edgeName) { Spring retVal = null; if (edgeName.equals(SpringLayout.NORTH)) retVal = y; else if (edgeName.equals(SpringLayout.WEST)) retVal = x; else if (edgeName.equals(SpringLayout.SOUTH)) { retVal = south; if ((retVal == null) && (...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
{ retVal = east; if ((retVal == null) && (x != null) && (width != null)) retVal = Spring.sum(x, width); }
retVal = getEast();
public Spring getConstraint(String edgeName) { Spring retVal = null; if (edgeName.equals(SpringLayout.NORTH)) retVal = y; else if (edgeName.equals(SpringLayout.WEST)) retVal = x; else if (edgeName.equals(SpringLayout.SOUTH)) { retVal = south; if ((retVal == null) && (...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
Spring retVal = height; if ((retVal == null) && (y != null) && (south != null)) { retVal = Spring.sum(south, Spring.minus(y)); } return retVal;
if (height != null) return height; else if ((v == null) && (y != null) && (south != null)) v = Spring.sum(south, Spring.minus(y)); return v;
public Spring getHeight() { Spring retVal = height; if ((retVal == null) && (y != null) && (south != null)) { retVal = Spring.sum(south, Spring.minus(y)); } return retVal; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
Spring retVal = width; if ((retVal == null) && (x != null) && (east != null)) { retVal = Spring.sum(east, Spring.minus(x)); } return retVal;
if (width != null) return width; else if ((h == null) && (x != null) && (east != null)) h = Spring.sum(east, Spring.minus(x)); return h;
public Spring getWidth() { Spring retVal = width; if ((retVal == null) && (x != null) && (east != null)) { retVal = Spring.sum(east, Spring.minus(x)); } return retVal; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
Spring retVal = x; if ((retVal == null) && (width != null) && (east != null)) { retVal = Spring.sum(east, Spring.minus(width)); } return retVal;
if (x != null) return x; else if ((h == null) && (width != null) && (east != null)) h = Spring.sum(east, Spring.minus(width)); return h;
public Spring getX() { Spring retVal = x; if ((retVal == null) && (width != null) && (east != null)) { retVal = Spring.sum(east, Spring.minus(width)); } return retVal; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
Spring retVal = y; if ((retVal == null) && (height != null) && (south != null)) { retVal = Spring.sum(south, Spring.minus(height)); } return retVal;
if (y != null) return y; else if ((v == null) && (height != null) && (south != null)) v = Spring.sum(south, Spring.minus(height)); return v;
public Spring getY() { Spring retVal = y; if ((retVal == null) && (height != null) && (south != null)) { retVal = Spring.sum(south, Spring.minus(height)); } return retVal; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
{ x = s; if ((width != null) && (east != null)) width = Spring.sum(east, Spring.minus(x)); }
setX(s);
public void setConstraint(String edgeName, Spring s) { if (edgeName.equals(SpringLayout.WEST)) { x = s; if ((width != null) && (east != null)) width = Spring.sum(east, Spring.minus(x)); } else if (edgeName.equals(SpringLayout.NORTH)) { y = s; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
{ y = s; if ((height != null) && (south != null)) height = Spring.sum(south, Spring.minus(y)); }
setY(s);
public void setConstraint(String edgeName, Spring s) { if (edgeName.equals(SpringLayout.WEST)) { x = s; if ((width != null) && (east != null)) width = Spring.sum(east, Spring.minus(x)); } else if (edgeName.equals(SpringLayout.NORTH)) { y = s; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
{ east = s; if ((x != null) && (width != null)) x = Spring.sum(east, Spring.minus(width)); }
setEast(s);
public void setConstraint(String edgeName, Spring s) { if (edgeName.equals(SpringLayout.WEST)) { x = s; if ((width != null) && (east != null)) width = Spring.sum(east, Spring.minus(x)); } else if (edgeName.equals(SpringLayout.NORTH)) { y = s; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
{ south = s; if ((height != null) && (y != null)) y = Spring.sum(south, Spring.minus(height)); }
setSouth(s);
public void setConstraint(String edgeName, Spring s) { if (edgeName.equals(SpringLayout.WEST)) { x = s; if ((width != null) && (east != null)) width = Spring.sum(east, Spring.minus(x)); } else if (edgeName.equals(SpringLayout.NORTH)) { y = s; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
if ((south != null) && (y != null)) south = Spring.sum(y, height);
v = null; if ((south != null) && (y != null) && (height != null)) south = null;
public void setHeight(Spring s) { height = s; if ((south != null) && (y != null)) south = Spring.sum(y, height); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
if ((east != null) && (x != null)) east = Spring.sum(x, width);
h = null; if ((east != null) && (x != null) && (width != null)) east = null;
public void setWidth(Spring s) { width = s; if ((east != null) && (x != null)) east = Spring.sum(x, width); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
if ((width != null) && (east != null)) width = Spring.sum(east, Spring.minus(x));
h = null; if ((width != null) && (east != null) && (x != null)) width = null;
public void setX(Spring s) { x = s; if ((width != null) && (east != null)) width = Spring.sum(east, Spring.minus(x)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
if ((height != null) && (south != null)) height = Spring.sum(south, Spring.minus(y));
v = null; if ((height != null) && (south != null) && (y != null)) height = null;
public void setY(Spring s) { y = s; if ((height != null) && (south != null)) height = Spring.sum(south, Spring.minus(y)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
public SpringLayout() { constraintsMap = new HashMap(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
Constraints constraints = getConstraints(c); return constraints.getConstraint(edgeName);
return new DeferredSpring(this, edgeName, c);
public Spring getConstraint(String edgeName, Component c) { Constraints constraints = getConstraints(c); return constraints.getConstraint(edgeName); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
Container parent = c.getParent();
public SpringLayout.Constraints getConstraints(Component c) { Constraints constraints = (Constraints) constraintsMap.get(c); if (constraints == null) { Container parent = c.getParent(); constraints = new Constraints(); if (parent != null) { constraints.setX(Spring....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java
if (parent != null) { constraints.setX(Spring.constant(parent.getInsets().left)); constraints.setY(Spring.constant(parent.getInsets().top)); } else {
constraints.setWidth(new DeferredWidth(c)); constraints.setHeight(new DeferredHeight(c));
public SpringLayout.Constraints getConstraints(Component c) { Constraints constraints = (Constraints) constraintsMap.get(c); if (constraints == null) { Container parent = c.getParent(); constraints = new Constraints(); if (parent != null) { constraints.setX(Spring....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/SpringLayout.java/buggy/core/src/classpath/javax/javax/swing/SpringLayout.java