rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
catch (RemoteException e) { | catch (RemoteException e) { | private static synchronized void startDGC() { if (dgc == null) { try { dgc = new DGCImpl(); // Changed DGCImpl to inherit UnicastServerRef directly //((UnicastServerRef)dgc.getRef()).exportObject(dgc); dgc.exportObject(dgc); } catch (RemoteException e) { e.printStackTrace(); } }} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3811d0973c874051ada1ea74cbff990230291f5f/UnicastServer.java/clean/core/src/classpath/gnu/gnu/java/rmi/server/UnicastServer.java |
} | } | private static synchronized void startDGC() { if (dgc == null) { try { dgc = new DGCImpl(); // Changed DGCImpl to inherit UnicastServerRef directly //((UnicastServerRef)dgc.getRef()).exportObject(dgc); dgc.exportObject(dgc); } catch (RemoteException e) { e.printStackTrace(); } }} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3811d0973c874051ada1ea74cbff990230291f5f/UnicastServer.java/clean/core/src/classpath/gnu/gnu/java/rmi/server/UnicastServer.java |
public static boolean unexportObject(UnicastServerRef obj, boolean force) { | public static boolean unexportObject(UnicastServerRef obj, boolean force) { | public static boolean unexportObject(UnicastServerRef obj, boolean force) { objects.remove(obj.objid); refcache.remove(obj.myself); obj.manager.stopServer(); return true;} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3811d0973c874051ada1ea74cbff990230291f5f/UnicastServer.java/clean/core/src/classpath/gnu/gnu/java/rmi/server/UnicastServer.java |
} | } | public static boolean unexportObject(UnicastServerRef obj, boolean force) { objects.remove(obj.objid); refcache.remove(obj.myself); obj.manager.stopServer(); return true;} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3811d0973c874051ada1ea74cbff990230291f5f/UnicastServer.java/clean/core/src/classpath/gnu/gnu/java/rmi/server/UnicastServer.java |
byte b1[] = getEncoded(); byte b2[] = xe.getEncoded(); | byte[] b1 = getEncoded(); byte[] b2 = xe.getEncoded(); | public boolean equals(Object other) { if( other instanceof X509CRLEntry ) { try { X509CRLEntry xe = (X509CRLEntry) other; if( getEncoded().length != xe.getEncoded().length ) return false; byte b1[] = getEncoded(); byte b2[] = xe.getEncoded(); for( int i = 0; i < b1.length; i++ ) if( b1[i] != b2[i] ) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/X509CRLEntry.java/buggy/core/src/classpath/java/java/security/cert/X509CRLEntry.java |
return new primitiveArrayTypeCode(TCKind.tk_ulong); | return new ArrayTypeCode(TCKind.tk_ulong); | public static TypeCode type() { return new primitiveArrayTypeCode(TCKind.tk_ulong); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/ULongLongSeqHelper.java/clean/core/src/classpath/org/org/omg/CORBA/ULongLongSeqHelper.java |
invalidate(); | public void updateUI() { setUI((TabbedPaneUI) UIManager.getUI(this)); invalidate(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JTabbedPane.java/clean/core/src/classpath/javax/javax/swing/JTabbedPane.java | |
public String getToolTipText(MouseEvent event) { | public String getToolTipText() { | public String getToolTipText(MouseEvent event) { return toolTipText; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java |
} | } | public String getToolTipText(MouseEvent event) { return toolTipText; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java |
if (disabledIcon == null && activeIcon instanceof ImageIcon) disabledIcon = new ImageIcon(GrayFilter.createDisabledImage(((ImageIcon) activeIcon).getImage())); | if (disabledIcon == null && icon instanceof ImageIcon) disabledIcon = new ImageIcon(GrayFilter.createDisabledImage(((ImageIcon) icon) .getImage())); | public Icon getDisabledIcon() { if (disabledIcon == null && activeIcon instanceof ImageIcon) disabledIcon = new ImageIcon(GrayFilter.createDisabledImage(((ImageIcon) activeIcon).getImage())); return disabledIcon; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
return (int) mnemonicKey; | return (int) displayedMnemonic; | public int getDisplayedMnemonic() { return (int) mnemonicKey; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
return underlinedChar; | return displayedMnemonicIndex; | public int getDisplayedMnemonicIndex() { return underlinedChar; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
return activeIcon; | return icon; | public Icon getIcon() { return activeIcon; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
return labelText; | return text; | public String getText() { return labelText; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
Icon currIcon = (isEnabled()) ? activeIcon : disabledIcon; | Icon currIcon = isEnabled() ? icon : disabledIcon; | public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h) { Icon currIcon = (isEnabled()) ? activeIcon : disabledIcon; //Is this the correct way to check for image equality? if (currIcon != null && currIcon instanceof ImageIcon) return (((ImageIcon) cu... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h) { Icon currIcon = (isEnabled()) ? activeIcon : disabledIcon; //Is this the correct way to check for image equality? if (currIcon != null && currIcon instanceof ImageIcon) return (((ImageIcon) cu... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java | ||
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h) { Icon currIcon = (isEnabled()) ? activeIcon : disabledIcon; //Is this the correct way to check for image equality? if (currIcon != null && currIcon instanceof ImageIcon) return (((ImageIcon) cu... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java | ||
public void setDisabledIcon(Icon disabledIcon) | public void setDisabledIcon(Icon newIcon) | public void setDisabledIcon(Icon disabledIcon) { if (disabledIcon != this.disabledIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
if (disabledIcon != this.disabledIcon) | if (disabledIcon != newIcon) | public void setDisabledIcon(Icon disabledIcon) { if (disabledIcon != this.disabledIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); | Icon oldIcon = disabledIcon; disabledIcon = newIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldIcon, newIcon); | public void setDisabledIcon(Icon disabledIcon) { if (disabledIcon != this.disabledIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
public void setDisplayedMnemonic(int key) | public void setDisplayedMnemonic(int mnemonic) | public void setDisplayedMnemonic(int key) { setDisplayedMnemonic((char) key); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
setDisplayedMnemonic((char) key); | if (displayedMnemonic != mnemonic) { firePropertyChange(DISPLAYED_MNEMONIC_CHANGED_PROPERTY, displayedMnemonic, mnemonic); displayedMnemonic = mnemonic; if (text != null) setDisplayedMnemonicIndex(text.indexOf(mnemonic)); } | public void setDisplayedMnemonic(int key) { setDisplayedMnemonic((char) key); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
public void setDisplayedMnemonicIndex(int index) | public void setDisplayedMnemonicIndex(int newIndex) | public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
if (index < -1 || labelText != null && index >= labelText.length()) | if (newIndex < -1 || (text != null && newIndex >= text.length())) | public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -1; | if (text == null || text.charAt(newIndex) != displayedMnemonic) newIndex = -1; | public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
if (index != underlinedChar) | if (newIndex != displayedMnemonicIndex) | public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
int oldIndex = underlinedChar; underlinedChar = index; | public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java | |
oldIndex, underlinedChar); | displayedMnemonicIndex, newIndex); displayedMnemonicIndex = newIndex; | public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
public void setIcon(Icon icon) | public void setIcon(Icon newIcon) | public void setIcon(Icon icon) { if (icon != activeIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
if (icon != activeIcon) | if (icon != newIcon) | public void setIcon(Icon icon) { if (icon != activeIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); | Icon oldIcon = icon; icon = newIcon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, newIcon); | public void setIcon(Icon icon) { if (icon != activeIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
public void setIconTextGap(int iconTextGap) | public void setIconTextGap(int newGap) | public void setIconTextGap(int iconTextGap) { if (iconTextGap != this.iconTextGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
if (iconTextGap != this.iconTextGap) | if (iconTextGap != newGap) | public void setIconTextGap(int iconTextGap) { if (iconTextGap != this.iconTextGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); | firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, iconTextGap, newGap); iconTextGap = newGap; | public void setIconTextGap(int iconTextGap) { if (iconTextGap != this.iconTextGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
Component oldLabelFor = labelFor; | firePropertyChange(LABEL_FOR_CHANGED_PROPERTY, labelFor, c); | public void setLabelFor(Component c) { if (c != labelFor) { Component oldLabelFor = labelFor; labelFor = c; firePropertyChange(LABEL_FOR_CHANGED_PROPERTY, oldLabelFor, labelFor); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
firePropertyChange(LABEL_FOR_CHANGED_PROPERTY, oldLabelFor, labelFor); | public void setLabelFor(Component c) { if (c != labelFor) { Component oldLabelFor = labelFor; labelFor = c; firePropertyChange(LABEL_FOR_CHANGED_PROPERTY, oldLabelFor, labelFor); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java | |
public void setText(String text) | public void setText(String newText) | public void setText(String text) { if (text != labelText) { String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText != null && labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
if (text != labelText) | if (text != newText) | public void setText(String text) { if (text != labelText) { String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText != null && labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText != null && labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); | String oldText = text; text = newText; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, newText); if (text != null && text.length() <= displayedMnemonicIndex) setDisplayedMnemonicIndex(text.length() - 1); | public void setText(String text) { if (text != labelText) { String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText != null && labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
m_parameter_buffer.setCodeSet(cxCodeSet.negotiate(ior.CodeSets)); | m_parameter_buffer.setCodeSet(cxCodeSet.negotiate(ior.Internet.CodeSets)); | public streamRequest getParameterStream() { m_parameter_buffer = new streamRequest(); m_parameter_buffer.request = this; m_parameter_buffer.setVersion(ior.Internet.version); m_parameter_buffer.setCodeSet(cxCodeSet.negotiate(ior.CodeSets)); m_parameter_buffer.setOrb(orb); m_parameter_buffer.setBigEn... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
if (ior.Internet.version.until_inclusive(1, 1)) { cdrBufOutput measure = new cdrBufOutput(); measure.setOffset(12); if (m_rqh == null) m_rqh = new gnu.CORBA.GIOP.v1_0.RequestHeader(); m_rqh.operation = m_operation; m_rqh.object_key = ior.key; m_rqh.write(measure); m_parameter_buffer.setOffset(12 + measure.buffer.siz... | public streamRequest getParameterStream() { m_parameter_buffer = new streamRequest(); m_parameter_buffer.request = this; m_parameter_buffer.setVersion(ior.Internet.version); m_parameter_buffer.setCodeSet(cxCodeSet.negotiate(ior.CodeSets)); m_parameter_buffer.setOrb(orb); m_parameter_buffer.setBigEn... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java | |
public void get_response() throws org.omg.CORBA.WrongTransaction | public void get_response() throws org.omg.CORBA.WrongTransaction | public void get_response() throws org.omg.CORBA.WrongTransaction { /** * The response is ready after it is received. * FIXME implement context checks and any other functionality, * if required. */ } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
* The response is ready after it is received. * FIXME implement context checks and any other functionality, * if required. | * The response is ready after it is received. FIXME implement context * checks and any other functionality, if required. | public void get_response() throws org.omg.CORBA.WrongTransaction { /** * The response is ready after it is received. * FIXME implement context checks and any other functionality, * if required. */ } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
public synchronized void invoke() throws BAD_INV_ORDER | public synchronized void invoke() throws BAD_INV_ORDER | public synchronized void invoke() throws BAD_INV_ORDER { waitWhileBusy(); complete = false; running = true; if (ior == null) throw new BAD_INV_ORDER("Set IOR property first"); try { p_invoke(); } finally { running = false; complete ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
break Forwardings; } catch (ForwardRequest e) { try { ObjectImpl impl = (ObjectImpl) e.forward; Simple_delegate delegate = (Simple_delegate) impl._get_delegate(); ior = delegate.getIor(); } catch (Exception ex) { BAD_PARAM bad = new BAD_PARAM("Unsupported forwarding target"); bad.initCause(ex); throw bad; } } } | public synchronized void invoke() throws BAD_INV_ORDER { waitWhileBusy(); complete = false; running = true; if (ior == null) throw new BAD_INV_ORDER("Set IOR property first"); try { p_invoke(); } finally { running = false; complete ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java | |
private void p_invoke() throws SystemException | private void p_invoke() throws SystemException, ForwardRequest | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
ReplyHeader rh = response.header.create_reply_header(); | if (m_rph == null) m_rph = response.header.create_reply_header(); | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
rh.read(input); | m_rph.read(input); | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
switch (rh.reply_status) | switch (m_rph.reply_status) | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
SystemException exception = ObjectCreator.readSystemException(input); | m_sys_ex = ObjectCreator.readSystemException(input); m_environment.exception(m_sys_ex); | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
m_environment.exception(exception); | if (m_interceptor != null) m_interceptor.receive_exception(m_info); | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
throw exception; | throw m_sys_ex; | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
throw new MARSHAL("Unknow reply status", 8100 + rh.reply_status, | throw new MARSHAL("Unknow reply status", 8100 + m_rph.reply_status, | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
public synchronized binaryReply submit() | public synchronized binaryReply submit() throws ForwardRequest | public synchronized binaryReply submit() { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useVersion(ior.Internet.ve... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
rh.object_key = ior.key; rh.operation = m_operation; | m_rqh = rh; if (m_interceptor != null) m_interceptor.send_request(m_info); | public synchronized binaryReply submit() { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useVersion(ior.Internet.ve... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
request_part.setCodeSet(cxCodeSet.negotiate(ior.CodeSets)); | request_part.setCodeSet(cxCodeSet.negotiate(ior.Internet.CodeSets)); | public synchronized binaryReply submit() { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useVersion(ior.Internet.ve... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
"write them into stream, but not both " + "at once." | "write them into stream, but not both " + "at once." | public synchronized binaryReply submit() { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useVersion(ior.Internet.ve... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
) throws MARSHAL | ) throws MARSHAL | protected void write_parameter_buffer(MessageHeader header, cdrBufOutput request_part ) throws MARSHAL { try { if (header.version.since_inclusive(1, 2)) { request_part.align(8); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
) throws MARSHAL | ) throws MARSHAL | protected void write_parameters(MessageHeader header, cdrBufOutput request_part ) throws MARSHAL { // Align after 1.2, but only once. boolean align = header.version.since_inclusive(1, 2); NamedValue para; try { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java |
protected void write_parameters(MessageHeader header, cdrBufOutput request_part ) throws MARSHAL { // Align after 1.2, but only once. boolean align = header.version.since_inclusive(1, 2); NamedValue para; try { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java | ||
list = new corbaArrayList(); | list = new CorbaList(); | public gnuNVList() { list = new corbaArrayList(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/gnuNVList.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuNVList.java |
public UnknownUserException(Any an_exception) | public UnknownUserException() | public UnknownUserException(Any an_exception) { except = an_exception; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnknownUserException.java/buggy/core/src/classpath/org/org/omg/CORBA/UnknownUserException.java |
except = an_exception; | public UnknownUserException(Any an_exception) { except = an_exception; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/UnknownUserException.java/buggy/core/src/classpath/org/org/omg/CORBA/UnknownUserException.java | |
int[] supported = CharSets_OSF.getSupportedCharSets(); CodeSets.narrow.native_set = CharSets_OSF.NATIVE_CHARACTER; CodeSets.narrow.conversion = supported; CodeSets.wide.native_set = CharSets_OSF.NATIVE_WIDE_CHARACTER; CodeSets.wide.conversion = supported; | public IOR() { int[] supported = CharSets_OSF.getSupportedCharSets(); CodeSets.narrow.native_set = CharSets_OSF.NATIVE_CHARACTER; CodeSets.narrow.conversion = supported; CodeSets.wide.native_set = CharSets_OSF.NATIVE_WIDE_CHARACTER; CodeSets.wide.conversion = supported; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java | |
int lk = profile.read_long(); key = new byte[ lk ]; profile.read(key); | key = profile.read_sequence(); | public void _read_no_endian(cdrInput c) throws IOException, BAD_PARAM { Id = c.read_string(); int n_profiles = c.read_long(); if (n_profiles == 0) { Id = null; Internet = null; return; } for (int i = 0; i < n_profiles; i++) { int tag = c.re... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java |
CodeSets.read(profile); | Internet.CodeSets.read(profile); } else { TaggedComponent pc = new TaggedComponent(); pc.tag = ctag; pc.component_data = profile.read_sequence(); Internet.components.add(pc); | public void _read_no_endian(cdrInput c) throws IOException, BAD_PARAM { Id = c.read_string(); int n_profiles = c.read_long(); if (n_profiles == 0) { Id = null; Internet = null; return; } for (int i = 0; i < n_profiles; i++) { int tag = c.re... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java |
else { TaggedProfile p = new TaggedProfile(); p.tag = tag; p.profile_data = profile.buffer.getBuffer(); profiles.add(p); } | public void _read_no_endian(cdrInput c) throws IOException, BAD_PARAM { Id = c.read_string(); int n_profiles = c.read_long(); if (n_profiles == 0) { Id = null; Internet = null; return; } for (int i = 0; i < n_profiles; i++) { int tag = c.re... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java | |
public void add(NamedValue value) | public NamedValue add(int a_flags) | public void add(NamedValue value) { list.add(value); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/gnuNVList.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuNVList.java |
list.add(value); | return add_value(null, new gnuAny(), a_flags); | public void add(NamedValue value) { list.add(value); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/gnuNVList.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuNVList.java |
if (s != null && s.isClosed()) | if (s == null) return null; else if (s.isClosed()) | public static Socket get_socket(Object key) { Socket s = (Socket) sockets.get(key); if (s != null && s.isClosed()) { sockets.remove(key); return null; } else { sockets.remove(key); return s; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/SocketRepository.java/buggy/core/src/classpath/gnu/gnu/CORBA/SocketRepository.java |
try { s.setSoTimeout(60*1000); } catch (SocketException e) { s = null; } | public static Socket get_socket(Object key) { Socket s = (Socket) sockets.get(key); if (s != null && s.isClosed()) { sockets.remove(key); return null; } else { sockets.remove(key); return s; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/SocketRepository.java/buggy/core/src/classpath/gnu/gnu/CORBA/SocketRepository.java | |
public void setKeepAlive(boolean on) throws SocketException { if (impl == null) throw new SocketException("Not connected"); | public void setKeepAlive(boolean on) throws SocketException { if (isClosed()) throw new SocketException("socket is closed"); | public void setKeepAlive(boolean on) throws SocketException { if (impl == null) throw new SocketException("Not connected"); impl.setOption(SocketOptions.SO_KEEPALIVE, new Boolean(on)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/426834aeca94b6762986d5f7b6cd54b12b69b2b8/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java |
impl.setOption(SocketOptions.SO_KEEPALIVE, new Boolean(on)); | getImpl().setOption(SocketOptions.SO_KEEPALIVE, Boolean.valueOf(on)); | public void setKeepAlive(boolean on) throws SocketException { if (impl == null) throw new SocketException("Not connected"); impl.setOption(SocketOptions.SO_KEEPALIVE, new Boolean(on)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/426834aeca94b6762986d5f7b6cd54b12b69b2b8/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java |
public OutputStream getOutputStream() throws IOException { if (impl != null) return impl.getOutputStream(); | public OutputStream getOutputStream() throws IOException { if (isClosed()) throw new SocketException("socket is closed"); | public OutputStream getOutputStream() throws IOException { if (impl != null) return impl.getOutputStream(); throw new IOException("Not connected"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/426834aeca94b6762986d5f7b6cd54b12b69b2b8/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java |
throw new IOException("Not connected"); | if (! isConnected()) throw new IOException("not connected"); return getImpl().getOutputStream(); | public OutputStream getOutputStream() throws IOException { if (impl != null) return impl.getOutputStream(); throw new IOException("Not connected"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/426834aeca94b6762986d5f7b6cd54b12b69b2b8/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java |
public boolean isClosed() { return closed; | public boolean isClosed() { return impl == null; | public boolean isClosed() { return closed; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/426834aeca94b6762986d5f7b6cd54b12b69b2b8/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java |
public InputStream getInputStream() throws IOException { if (impl != null) return (impl.getInputStream()); | public InputStream getInputStream() throws IOException { if (isClosed()) throw new SocketException("socket is closed"); | public InputStream getInputStream() throws IOException { if (impl != null) return (impl.getInputStream()); throw new IOException("Not connected"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/426834aeca94b6762986d5f7b6cd54b12b69b2b8/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java |
throw new IOException("Not connected"); | if (! isConnected()) throw new IOException("not connected"); return getImpl().getInputStream(); | public InputStream getInputStream() throws IOException { if (impl != null) return (impl.getInputStream()); throw new IOException("Not connected"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/426834aeca94b6762986d5f7b6cd54b12b69b2b8/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java |
public synchronized void setSoTimeout(int timeout) throws SocketException { if (impl == null) throw new SocketException("Not connected"); | public synchronized void setSoTimeout(int timeout) throws SocketException { if (isClosed()) throw new SocketException("socket is closed"); | public synchronized void setSoTimeout(int timeout) throws SocketException { if (impl == null) throw new SocketException("Not connected"); if (timeout < 0) throw new IllegalArgumentException("SO_TIMEOUT value must be >= 0"); impl.setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/426834aeca94b6762986d5f7b6cd54b12b69b2b8/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java |
impl.setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout)); | getImpl().setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout)); | public synchronized void setSoTimeout(int timeout) throws SocketException { if (impl == null) throw new SocketException("Not connected"); if (timeout < 0) throw new IllegalArgumentException("SO_TIMEOUT value must be >= 0"); impl.setOption(SocketOptions.SO_TIMEOUT, new Integer(timeout)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/426834aeca94b6762986d5f7b6cd54b12b69b2b8/Socket.java/buggy/core/src/classpath/java/java/net/Socket.java |
lhs.setAssignQuad(this); | public void setLHS(Variable lhs) { this.lhs = lhs; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/79bb5a92ef7c411cd222bab5d581025bb5cb5184/AssignQuad.java/clean/core/src/core/org/jnode/vm/compiler/ir/quad/AssignQuad.java | |
if (next != null) | public void focusNextComponent (Component comp) { Component focusComp = (comp == null) ? getGlobalFocusOwner () : comp; Container focusCycleRoot = focusComp.getFocusCycleRootAncestor (); FocusTraversalPolicy policy = focusCycleRoot.getFocusTraversalPolicy (); Component next = policy.getComponentAfter (fo... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e864c0d89c996e0999ad08d1701193723aaab52a/DefaultKeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/DefaultKeyboardFocusManager.java | |
if (previous != null) | public void focusPreviousComponent (Component comp) { Component focusComp = (comp == null) ? getGlobalFocusOwner () : comp; Container focusCycleRoot = focusComp.getFocusCycleRootAncestor (); FocusTraversalPolicy policy = focusCycleRoot.getFocusTraversalPolicy (); Component previous = policy.getComponentB... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e864c0d89c996e0999ad08d1701193723aaab52a/DefaultKeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/DefaultKeyboardFocusManager.java | |
doLayout(); repaint(); setVisible(false); show(); | public void adjustDesktopSize(int width, int height) { setSize(width, height); doLayout(); repaint(); setVisible(false); show(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8111ffb2aece68a90dc89e09967042f926305dd8/DesktopFrame.java/buggy/gui/src/awt/org/jnode/awt/swingpeers/DesktopFrame.java | |
public JFrame(String title) | public JFrame() | public JFrame(String title) { super(title); frameInit(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
super(title); | super("JFrame"); | public JFrame(String title) { super(title); frameInit(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java |
public DefaultFocusTraversalPolicy() | public DefaultFocusTraversalPolicy () | public DefaultFocusTraversalPolicy() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/DefaultFocusTraversalPolicy.java/buggy/core/src/classpath/java/java/awt/DefaultFocusTraversalPolicy.java |
public JDesktopPane() { } | public JDesktopPane() { setLayout(null); updateUI(); } | public JDesktopPane() { // TODO } // JDesktopPane() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
boolean global = "variable".equals(name); | int type = "variable".equals(name) ? Bindings.VARIABLE : Bindings.PARAM; | void doParse(Node node, boolean root) throws TransformerConfigurationException { try { String namespaceUri = node.getNamespaceURI(); if (XSL_NS.equals(namespaceUri) && node.getNodeType() == Node.ELEMENT_NODE) { String name = node.getLocalName(); Name... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Stylesheet.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Stylesheet.java |
String paramName = getRequiredAttribute(attrs, "name", node); | QName paramName = getQName(getRequiredAttribute(attrs, "name", node)); | void doParse(Node node, boolean root) throws TransformerConfigurationException { try { String namespaceUri = node.getNamespaceURI(); if (XSL_NS.equals(namespaceUri) && node.getNodeType() == Node.ELEMENT_NODE) { String name = node.getLocalName(); Name... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Stylesheet.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Stylesheet.java |
param = new ParameterNode(paramName, expr, global); | param = new ParameterNode(paramName, expr, type); | void doParse(Node node, boolean root) throws TransformerConfigurationException { try { String namespaceUri = node.getNamespaceURI(); if (XSL_NS.equals(namespaceUri) && node.getNodeType() == Node.ELEMENT_NODE) { String name = node.getLocalName(); Name... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Stylesheet.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Stylesheet.java |
param = new ParameterNode(paramName, null, global); | param = new ParameterNode(paramName, null, type); | void doParse(Node node, boolean root) throws TransformerConfigurationException { try { String namespaceUri = node.getNamespaceURI(); if (XSL_NS.equals(namespaceUri) && node.getNodeType() == Node.ELEMENT_NODE) { String name = node.getLocalName(); Name... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Stylesheet.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Stylesheet.java |
bindings.set(paramName, content, global); | void doParse(Node node, boolean root) throws TransformerConfigurationException { try { String namespaceUri = node.getNamespaceURI(); if (XSL_NS.equals(namespaceUri) && node.getNodeType() == Node.ELEMENT_NODE) { String name = node.getLocalName(); Name... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Stylesheet.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Stylesheet.java | |
QName qName = QName.valueOf(name); String prefix = qName.getPrefix(); String uri = qName.getNamespaceURI(); if (prefix != null && (uri == null || uri.length() == 0)) | String localName = name, uri = null, prefix = null; int ci = name.indexOf(':'); if (ci != -1) | final QName getQName(String name) { QName qName = QName.valueOf(name); String prefix = qName.getPrefix(); String uri = qName.getNamespaceURI(); if (prefix != null && (uri == null || uri.length() == 0)) { uri = getNamespaceURI(prefix); String localName = qName.getLocalPart(); qNa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Stylesheet.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Stylesheet.java |
String localName = qName.getLocalPart(); qName = new QName(uri, localName, prefix); | final QName getQName(String name) { QName qName = QName.valueOf(name); String prefix = qName.getPrefix(); String uri = qName.getNamespaceURI(); if (prefix != null && (uri == null || uri.length() == 0)) { uri = getNamespaceURI(prefix); String localName = qName.getLocalPart(); qNa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Stylesheet.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Stylesheet.java | |
return qName; | return new QName(uri, localName, prefix); | final QName getQName(String name) { QName qName = QName.valueOf(name); String prefix = qName.getPrefix(); String uri = qName.getNamespaceURI(); if (prefix != null && (uri == null || uri.length() == 0)) { uri = getNamespaceURI(prefix); String localName = qName.getLocalPart(); qNa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Stylesheet.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Stylesheet.java |
String name = getRequiredAttribute(attrs, "name", node); | QName name = getQName(getRequiredAttribute(attrs, "name", node)); | final List parseWithParams(Node node) throws TransformerConfigurationException, XPathExpressionException { List ret = new LinkedList(); while (node != null) { String namespaceUri = node.getNamespaceURI(); if (Stylesheet.XSL_NS.equals(namespaceUri) && Node.ELEMENT_NODE == node.g... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Stylesheet.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Stylesheet.java |
push(true); push(false); | withParameters = new LinkedList(); for (int i = 0; i < 3; i++) { push(i); } | Bindings(Stylesheet stylesheet) { this.stylesheet = stylesheet; variables = new LinkedList(); parameters = new LinkedList(); push(true); push(false); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/Bindings.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Bindings.java |
mode); | mode, isAnyNode); | Template clone(Stylesheet stylesheet) { // FIXME by cloning we lose the imports() functionality, so // apply-imports will be broken. return new Template(stylesheet, name, (match == null) ? null : (Pattern) match.clone(stylesheet), ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e661cf1a3762c80fbf5e790baa87062e03571f13/Template.java/buggy/core/src/classpath/gnu/gnu/xml/transform/Template.java |
global); | type); | TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), global); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = n... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/ParameterNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.