rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
if (listingMode == JFileChooser.FILES_ONLY) return contents.get(directories + index); else | public Object getElementAt(int index) { if (index > getSize() - 1) return null; if (listingMode == JFileChooser.FILES_ONLY) return contents.get(directories + index); else return contents.elementAt(index); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicDirectoryModel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicDirectoryModel.java | |
Vector tmp = new Vector(); for (int i = directories; i < getSize(); i++) tmp.add(contents.get(i)); return tmp; | synchronized (contents) { Vector f = files; if (f == null) { f = new Vector(); Vector d = new Vector(); for (Iterator i = contents.iterator(); i.hasNext();) { File file = (File) i.next(); if (filechooser.isTraversable(file)) d.add(file); else f.add(file); } files = f; directories = d; } return f; } | public Vector getFiles() { Vector tmp = new Vector(); for (int i = directories; i < getSize(); i++) tmp.add(contents.get(i)); return tmp; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicDirectoryModel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicDirectoryModel.java |
if (listingMode == JFileChooser.DIRECTORIES_ONLY) return directories; else if (listingMode == JFileChooser.FILES_ONLY) return contents.size() - directories; | public int getSize() { if (listingMode == JFileChooser.DIRECTORIES_ONLY) return directories; else if (listingMode == JFileChooser.FILES_ONLY) return contents.size() - directories; return contents.size(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicDirectoryModel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicDirectoryModel.java | |
if (listingMode == JFileChooser.FILES_ONLY) return contents.indexOf(o) - directories; | public int indexOf(Object o) { if (listingMode == JFileChooser.FILES_ONLY) return contents.indexOf(o) - directories; return contents.indexOf(o); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicDirectoryModel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicDirectoryModel.java | |
if (e.getPropertyName().equals(JFileChooser.FILE_SELECTION_MODE_CHANGED_PROPERTY)) listingMode = filechooser.getFileSelectionMode(); | String property = e.getPropertyName(); if (property.equals(JFileChooser.DIRECTORY_CHANGED_PROPERTY) || property.equals(JFileChooser.FILE_FILTER_CHANGED_PROPERTY) || property.equals(JFileChooser.FILE_HIDING_CHANGED_PROPERTY) || property.equals(JFileChooser.FILE_SELECTION_MODE_CHANGED_PROPERTY) || property.equals(JFileCh... | public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals(JFileChooser.FILE_SELECTION_MODE_CHANGED_PROPERTY)) listingMode = filechooser.getFileSelectionMode(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicDirectoryModel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicDirectoryModel.java |
return false; | return oldFile.renameTo( newFile ); | public boolean renameFile(File oldFile, File newFile) { // FIXME: implement return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicDirectoryModel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicDirectoryModel.java |
Enumeration e = Collections.enumeration(v); Vector tmp = new Vector(); for (; e.hasMoreElements();) tmp.add(e.nextElement()); contents = tmp; | protected void sort(Vector v) { Collections.sort(v, comparator); Enumeration e = Collections.enumeration(v); Vector tmp = new Vector(); for (; e.hasMoreElements();) tmp.add(e.nextElement()); contents = tmp; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicDirectoryModel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicDirectoryModel.java | |
contents.clear(); directories = 0; FileSystemView fsv = filechooser.getFileSystemView(); File[] list = fsv.getFiles(filechooser.getCurrentDirectory(), filechooser.isFileHidingEnabled()); if (list == null) return; for (int i = 0; i < list.length; i++) | File dir = filechooser.getCurrentDirectory(); if (dir != null) | public void validateFileCache() { contents.clear(); directories = 0; FileSystemView fsv = filechooser.getFileSystemView(); File[] list = fsv.getFiles(filechooser.getCurrentDirectory(), filechooser.isFileHidingEnabled()); if (list == null) return; for (int i = 0; i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicDirectoryModel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicDirectoryModel.java |
if (list[i] == null) continue; if (filechooser.accept(list[i])) | if (loadThread != null) | public void validateFileCache() { contents.clear(); directories = 0; FileSystemView fsv = filechooser.getFileSystemView(); File[] list = fsv.getFiles(filechooser.getCurrentDirectory(), filechooser.isFileHidingEnabled()); if (list == null) return; for (int i = 0; i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicDirectoryModel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicDirectoryModel.java |
contents.add(list[i]); if (filechooser.isTraversable(list[i])) directories++; | loadThread.interrupt(); loadThread.cancelPending(); | public void validateFileCache() { contents.clear(); directories = 0; FileSystemView fsv = filechooser.getFileSystemView(); File[] list = fsv.getFiles(filechooser.getCurrentDirectory(), filechooser.isFileHidingEnabled()); if (list == null) return; for (int i = 0; i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicDirectoryModel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicDirectoryModel.java |
sort(contents); filechooser.revalidate(); filechooser.repaint(); | public void validateFileCache() { contents.clear(); directories = 0; FileSystemView fsv = filechooser.getFileSystemView(); File[] list = fsv.getFiles(filechooser.getCurrentDirectory(), filechooser.isFileHidingEnabled()); if (list == null) return; for (int i = 0; i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicDirectoryModel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicDirectoryModel.java | |
new SecureRandom ().nextBytes(cIV); | getDefaultPRNG().nextBytes(cIV); | private String createO(final String aol) throws AuthenticationException { if (DEBUG && debuglevel > 8) debug(TRACE, "==> createO(\"" + aol + "\")"); boolean replaydetectionAvailable = false; boolean integrityAvailable = false; boolean confidentialityAvailable = false; String option, mandatory = S... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/SRPClient.java/clean/core/src/classpath/gnu/gnu/javax/crypto/sasl/srp/SRPClient.java |
cn = new SecureRandom ().generateSeed (16); | cn = new byte[16]; getDefaultPRNG().nextBytes(cn); | private byte[] sendIdentities() throws SaslException { if (DEBUG && debuglevel > 8) debug(TRACE, "==> sendIdentities()"); // If necessary, prompt the client for the username and password getUsernameAndPassword(); if (DEBUG && debuglevel > 6) debug(TRACE, "Password: \"" + new String(password.get... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/SRPClient.java/clean/core/src/classpath/gnu/gnu/javax/crypto/sasl/srp/SRPClient.java |
invalidate(); RepaintManager.currentManager(this).addInvalidComponent(this); | if (! EventQueue.isDispatchThread()) SwingUtilities.invokeLater(new Runnable() { public void run() { revalidate(); } }); else { invalidate(); RepaintManager.currentManager(this).addInvalidComponent(this); } | public void revalidate() { invalidate(); RepaintManager.currentManager(this).addInvalidComponent(this); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5edad632205aa44aca51004923ae52d754cced11/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java |
Container parent = getParent(); if (parent != null) parent.repaint(getX(), getY(), getWidth(), getHeight()); revalidate(); | public void setVisible(boolean v) { super.setVisible(v); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5edad632205aa44aca51004923ae52d754cced11/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java | |
public abstract FileLock lock(long position, long size, boolean shared) throws IOException; | public final FileLock lock() throws IOException { return lock(0, Long.MAX_VALUE, false); } | public abstract FileLock lock(long position, long size, boolean shared) throws IOException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/FileChannel.java/buggy/core/src/classpath/java/java/nio/channels/FileChannel.java |
public abstract int read(ByteBuffer dst) throws IOException; | public abstract long read(ByteBuffer[] dsts, int offset, int length) throws IOException; | public abstract int read(ByteBuffer dst) throws IOException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/FileChannel.java/buggy/core/src/classpath/java/java/nio/channels/FileChannel.java |
public abstract FileLock tryLock(long position, long size, boolean shared) throws IOException; | public final FileLock tryLock() throws IOException { return tryLock(0, Long.MAX_VALUE, false); } | public abstract FileLock tryLock(long position, long size, boolean shared) throws IOException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/FileChannel.java/buggy/core/src/classpath/java/java/nio/channels/FileChannel.java |
public abstract int write(ByteBuffer src) throws IOException; | public final long write(ByteBuffer[] srcs) throws IOException { long result = 0; for (int i = 0; i < srcs.length; i++) result += write(srcs[i]); return result; } | public abstract int write(ByteBuffer src) throws IOException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/FileChannel.java/buggy/core/src/classpath/java/java/nio/channels/FileChannel.java |
buf.append(Thread.currentThread().hashCode()); buf.append('@'); | HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { StringBuffer buf = new StringBuffer(secure ? "https://" : "http://"); buf.append(host); buf.append(':'); buf.append(port); String key =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/68a6301301378680519f2b146daec37812a1bc22/HTTPURLConnection.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPURLConnection.java | |
void jbInit() throws Exception { // make it non resizable setResizable(true); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create some reusable borders and layouts Border etchedBorder = BorderFactory.createEtchedBorder(); BorderLayout borderLayout = new BorderLayout(); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/99debc0e39981c309029bd7389a7d7c50837d87b/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java | ||
getContentPane().add(interfacePanel,BorderLayout.NORTH); | void jbInit() throws Exception { // make it non resizable setResizable(true); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create some reusable borders and layouts Border etchedBorder = BorderFactory.createEtchedBorder(); BorderLayout borderLayout = new BorderLayout(); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/99debc0e39981c309029bd7389a7d7c50837d87b/Connect.java/buggy/tn5250j/src/org/tn5250j/Connect.java | |
if (e.getPropertyName().equals(JTabbedPane.TAB_LAYOUT_POLICY_CHANGED_PROPERTY)) | if (e.getPropertyName().equals("tabLayoutPolicy")) | public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals(JTabbedPane.TAB_LAYOUT_POLICY_CHANGED_PROPERTY)) { layoutManager = createLayoutManager(); tabPane.setLayout(layoutManager); } else if (e.getPropertyName().equals(JTabbedPane.TAB_PLACEMENT_CHANGED_PROPERTY) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/BasicTabbedPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java |
else if (e.getPropertyName().equals(JTabbedPane.TAB_PLACEMENT_CHANGED_PROPERTY) | else if (e.getPropertyName().equals("tabPlacement") | public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals(JTabbedPane.TAB_LAYOUT_POLICY_CHANGED_PROPERTY)) { layoutManager = createLayoutManager(); tabPane.setLayout(layoutManager); } else if (e.getPropertyName().equals(JTabbedPane.TAB_PLACEMENT_CHANGED_PROPERTY) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/BasicTabbedPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java |
public LayoutManager createLayoutManager() | protected LayoutManager createLayoutManager() | public LayoutManager createLayoutManager() { if (tabPane.getTabLayoutPolicy() == JTabbedPane.WRAP_TAB_LAYOUT) return new TabbedPaneLayout(); else { incrButton = createIncreaseButton(); decrButton = createDecreaseButton(); viewport = new ScrollingViewport(); viewport.setLayout(null); panel = new Scrol... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/BasicTabbedPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java |
public void addAccessibleSelection(int value0) throws NotImplementedException | public void addAccessibleSelection(int index) | public void addAccessibleSelection(int value0) throws NotImplementedException { // TODO: Implement this properly. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
setSelectedIndex(index); | public void addAccessibleSelection(int value0) throws NotImplementedException { // TODO: Implement this properly. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java | |
throws NotImplementedException | public void clearAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java | |
setSelectedIndex(-1); | public void clearAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java | |
public boolean doAccessibleAction(int value0) throws NotImplementedException | public boolean doAccessibleAction(int actionIndex) | public boolean doAccessibleAction(int value0) throws NotImplementedException { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
return false; | boolean actionPerformed = false; if (actionIndex == 0) { setPopupVisible(! isPopupVisible()); actionPerformed = true; } return actionPerformed; | public boolean doAccessibleAction(int value0) throws NotImplementedException { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
throws NotImplementedException | public AccessibleAction getAccessibleAction() throws NotImplementedException { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java | |
return null; | return this; | public AccessibleAction getAccessibleAction() throws NotImplementedException { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
throws NotImplementedException | public int getAccessibleActionCount() throws NotImplementedException { return 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java | |
return 0; | return 1; | public int getAccessibleActionCount() throws NotImplementedException { return 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
public String getAccessibleActionDescription(int value0) throws NotImplementedException | public String getAccessibleActionDescription(int actionIndex) | public String getAccessibleActionDescription(int value0) throws NotImplementedException { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
return null; | return UIManager.getString("ComboBox.togglePopupText"); | public String getAccessibleActionDescription(int value0) throws NotImplementedException { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
public Accessible getAccessibleChild(int value0) throws NotImplementedException | public Accessible getAccessibleChild(int index) | public Accessible getAccessibleChild(int value0) throws NotImplementedException { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
return null; | ComponentUI ui = getUI(); Accessible child = null; if (ui != null) child = ui.getAccessibleChild(JComboBox.this, index); else child = super.getAccessibleChild(index); return child; | public Accessible getAccessibleChild(int value0) throws NotImplementedException { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
throws NotImplementedException | public int getAccessibleChildrenCount() throws NotImplementedException { return 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java | |
return 0; | ComponentUI ui = getUI(); int count; if (ui != null) count = ui.getAccessibleChildrenCount(JComboBox.this); else count = super.getAccessibleChildrenCount(); return count; | public int getAccessibleChildrenCount() throws NotImplementedException { return 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
throws NotImplementedException | public AccessibleSelection getAccessibleSelection() throws NotImplementedException { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java | |
return null; | return this; | public AccessibleSelection getAccessibleSelection() throws NotImplementedException { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
throws NotImplementedException | public int getAccessibleSelectionCount() throws NotImplementedException { return 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java | |
return 0; | Object sel = getSelectedItem(); int count = 0; if (sel != null) count = 1; return count; | public int getAccessibleSelectionCount() throws NotImplementedException { return 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
public boolean isAccessibleChildSelected(int value0) throws NotImplementedException | public boolean isAccessibleChildSelected(int index) | public boolean isAccessibleChildSelected(int value0) throws NotImplementedException { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
return false; | return getSelectedIndex() == index; | public boolean isAccessibleChildSelected(int value0) throws NotImplementedException { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
public void removeAccessibleSelection(int value0) throws NotImplementedException | public void removeAccessibleSelection(int index) | public void removeAccessibleSelection(int value0) throws NotImplementedException { // TODO: Implement this properly. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
if (getSelectedIndex() == index) clearAccessibleSelection(); | public void removeAccessibleSelection(int value0) throws NotImplementedException { // TODO: Implement this properly. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java | |
throws NotImplementedException | public void selectAllAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java | |
public void selectAllAccessibleSelection() throws NotImplementedException { // TODO: Implement this properly. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java | ||
for(int i = 0; i < listeners.length; i++) | for (int i = 0; i < listeners.length; i++) | public void firePopupMenuCanceled() { PopupMenuListener[] listeners = getPopupMenuListeners(); PopupMenuEvent e = new PopupMenuEvent(this); for(int i = 0; i < listeners.length; i++) listeners[i].popupMenuCanceled(e); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
for(int i = 0; i < listeners.length; i++) | for (int i = 0; i < listeners.length; i++) | public void firePopupMenuWillBecomeInvisible() { PopupMenuListener[] listeners = getPopupMenuListeners(); PopupMenuEvent e = new PopupMenuEvent(this); for(int i = 0; i < listeners.length; i++) listeners[i].popupMenuWillBecomeInvisible(e); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
for(int i = 0; i < listeners.length; i++) | for (int i = 0; i < listeners.length; i++) | public void firePopupMenuWillBecomeVisible() { PopupMenuListener[] listeners = getPopupMenuListeners(); PopupMenuEvent e = new PopupMenuEvent(this); for(int i = 0; i < listeners.length; i++) listeners[i].popupMenuWillBecomeVisible(e); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
+"model it is not an instance of " | + "model it is not an instance of " | public void removeAllItems() { if (dataModel instanceof DefaultComboBoxModel) // Uses special method if we have a DefaultComboBoxModel. ((DefaultComboBoxModel) dataModel).removeAllElements(); else if (dataModel instanceof MutableComboBoxModel) { // Iterates over all items and removes each... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java |
start(); | EventDispatchThread(EventQueue queue) { super(); setName("AWT-EventQueue-" + ++dispatchThreadNum); this.queue = queue; setPriority(NORM_PRIORITY + 1); start(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/EventDispatchThread.java/buggy/core/src/classpath/java/java/awt/EventDispatchThread.java | |
while (true) { try { AWTEvent evt = queue.getNextEvent(); if (isInterrupted ()) { return; } | System.out.println("run of dispatch thread"); while (true) { try { AWTEvent evt = queue.getNextEvent(); | public void run() { while (true) { try { AWTEvent evt = queue.getNextEvent(); if (isInterrupted ()) { // We are interrupted when we should finish executing return; } KeyboardFocusManager manager; manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/EventDispatchThread.java/buggy/core/src/classpath/java/java/awt/EventDispatchThread.java |
KeyboardFocusManager manager; manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (); | KeyboardFocusManager manager; manager = KeyboardFocusManager.getCurrentKeyboardFocusManager(); | public void run() { while (true) { try { AWTEvent evt = queue.getNextEvent(); if (isInterrupted ()) { // We are interrupted when we should finish executing return; } KeyboardFocusManager manager; manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/EventDispatchThread.java/buggy/core/src/classpath/java/java/awt/EventDispatchThread.java |
if (!manager.dispatchEvent (evt)) queue.dispatchEvent(evt); } catch (ThreadDeath death) { return; | if (!manager.dispatchEvent(evt)) { queue.dispatchEvent(evt); } } catch (ThreadDeath death) { System.out.println("dispatch thread:threaddeath"); return; } catch (InterruptedException ie) { System.out.println("dispatch thread:interrupted"); return; } catch (Throwable x) { System.out.println("dispatch thread:except... | public void run() { while (true) { try { AWTEvent evt = queue.getNextEvent(); if (isInterrupted ()) { // We are interrupted when we should finish executing return; } KeyboardFocusManager manager; manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/EventDispatchThread.java/buggy/core/src/classpath/java/java/awt/EventDispatchThread.java |
catch (InterruptedException ie) { return; } catch (Throwable x) { System.err.println("Exception during event dispatch:"); x.printStackTrace(System.err); } } } | } | public void run() { while (true) { try { AWTEvent evt = queue.getNextEvent(); if (isInterrupted ()) { // We are interrupted when we should finish executing return; } KeyboardFocusManager manager; manager = KeyboardFocusManager.getCurrentKeyboardFocusManager (... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0bcdc7c5655d1ed77837894a9de15b7556d346b/EventDispatchThread.java/buggy/core/src/classpath/java/java/awt/EventDispatchThread.java |
VmAbstractHeap heap = heapManager.getFirstHeap(); | VmAbstractHeap heap = heapManager.getHeapList(); | private final void runFinalization() { VmAbstractHeap heap = heapManager.getFirstHeap(); while (heap != null) { visitor.setCurrentHeap(heap); heap.walk(visitor, true, ObjectFlags.GC_COLOUR_MASK, ObjectFlags.GC_YELLOW); heap = heap.getNext(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/17c5c434010c98f6a1acae0cf9ca6782f92f1dfc/FinalizerThread.java/buggy/core/src/core/org/jnode/vm/memmgr/def/FinalizerThread.java |
public ViewportLayout() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/ViewportLayout.java/buggy/core/src/classpath/javax/javax/swing/ViewportLayout.java | ||
public void addLayoutComponent(String name, Component c) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/ViewportLayout.java/buggy/core/src/classpath/javax/javax/swing/ViewportLayout.java | ||
public void removeLayoutComponent(Component c) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/ViewportLayout.java/buggy/core/src/classpath/javax/javax/swing/ViewportLayout.java | ||
responseHeaders.remove("Content-Encoding"); | private InputStream createResponseBodyStream(Headers responseHeaders, int majorVersion, int minorVersion, InputStream in) throws IOException { long contentLength = -1; He... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/Request.java/clean/core/src/classpath/gnu/gnu/java/net/protocol/http/Request.java | |
addLayoutComponent(Component component, Object constraints) { | public void addLayoutComponent(Component component, Object constraints) { | addLayoutComponent(Component component, Object constraints){ if (constraints != null && ! (constraints instanceof String)) throw new IllegalArgumentException("Constraint must be a string"); addLayoutComponent((String) constraints, component);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
} | } | addLayoutComponent(Component component, Object constraints){ if (constraints != null && ! (constraints instanceof String)) throw new IllegalArgumentException("Constraint must be a string"); addLayoutComponent((String) constraints, component);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
calcCompSize(Component comp, int what) { | private Dimension calcCompSize(Component comp, int what) { | calcCompSize(Component comp, int what){ if (comp == null || !comp.isVisible()) return new Dimension(0, 0); if (what == MIN) return comp.getMinimumSize(); else if (what == MAX) return comp.getMaximumSize(); return comp.getPreferredSize();} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
} | } | calcCompSize(Component comp, int what){ if (comp == null || !comp.isVisible()) return new Dimension(0, 0); if (what == MIN) return comp.getMinimumSize(); else if (what == MAX) return comp.getMaximumSize(); return comp.getPreferredSize();} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
calcSize(Container target, int what) { | private Dimension calcSize(Container target, int what) { | calcSize(Container target, int what){ synchronized (target.getTreeLock ()) { Insets ins = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Componen... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
calcSize(Container target, int what){ synchronized (target.getTreeLock ()) { Insets ins = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Componen... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java | ||
calcSize(Container target, int what){ synchronized (target.getTreeLock ()) { Insets ins = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Componen... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java | ||
} | } | calcSize(Container target, int what){ synchronized (target.getTreeLock ()) { Insets ins = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Componen... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
getHgap() { | public int getHgap() { | getHgap(){ return(hgap);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
} | } | getHgap(){ return(hgap);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
getLayoutAlignmentX(Container parent) { | public float getLayoutAlignmentX(Container parent) { | getLayoutAlignmentX(Container parent){ return(parent.getAlignmentX());} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
} | } | getLayoutAlignmentX(Container parent){ return(parent.getAlignmentX());} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
getLayoutAlignmentY(Container parent) { | public float getLayoutAlignmentY(Container parent) { | getLayoutAlignmentY(Container parent){ return(parent.getAlignmentY());} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
} | } | getLayoutAlignmentY(Container parent){ return(parent.getAlignmentY());} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
getVgap() { | public int getVgap() { | getVgap(){ return(vgap);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
} | } | getVgap(){ return(vgap);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
invalidateLayout(Container parent) { } | public void invalidateLayout(Container parent) { } | invalidateLayout(Container parent){} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
layoutContainer(Container target) { | public void layoutContainer(Container target) { | layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
Dimension t = target.getSize(); | int targetWidth = target.getWidth(); int targetHeight = target.getHeight(); | layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
if (t.width <= i.right + e.width) | if (targetWidth <= i.right + e.width) | layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
x3 = t.width - i.right - e.width; int ww = t.width - i.right - i.left; | x3 = targetWidth - i.right - e.width; int ww = targetWidth - i.right - i.left; | layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
if (t.height <= i.bottom + s.height) | if (targetHeight <= i.bottom + s.height) | layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
y3 = t.height - i.bottom - s.height; | y3 = targetHeight - i.bottom - s.height; | layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
} | } | layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
maximumLayoutSize(Container target) { | public Dimension maximumLayoutSize(Container target) { | maximumLayoutSize(Container target){ return calcSize(target, MAX);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
} | } | maximumLayoutSize(Container target){ return calcSize(target, MAX);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
minimumLayoutSize(Container target) { | public Dimension minimumLayoutSize(Container target) { | minimumLayoutSize(Container target){ return calcSize(target, MIN);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
} | } | minimumLayoutSize(Container target){ return calcSize(target, MIN);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
preferredLayoutSize(Container target) { | public Dimension preferredLayoutSize(Container target) { | preferredLayoutSize(Container target){ return calcSize(target, PREF);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
} | } | preferredLayoutSize(Container target){ return calcSize(target, PREF);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
removeLayoutComponent(Component component) { | public void removeLayoutComponent(Component component) { | removeLayoutComponent(Component component){ if (north == component) north = null; if (south == component) south = null; if (east == component) east = null; if (west == component) west = null; if (center == component) center = null; if (firstItem == component) firstItem = null; if (lastItem == c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
} | } | removeLayoutComponent(Component component){ if (north == component) north = null; if (south == component) south = null; if (east == component) east = null; if (west == component) west = null; if (center == component) center = null; if (firstItem == component) firstItem = null; if (lastItem == c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
setBounds(Component comp, int x, int y, int w, int h) { | private void setBounds(Component comp, int x, int y, int w, int h) { | setBounds(Component comp, int x, int y, int w, int h){ if (comp == null) return; comp.setBounds(x, y, w, h);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
} | } | setBounds(Component comp, int x, int y, int w, int h){ if (comp == null) return; comp.setBounds(x, y, w, h);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
setHgap(int hgap) { | public void setHgap(int hgap) { | setHgap(int hgap){ this.hgap = hgap;} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.