bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public byte getCharacterLevel (int index) { throw new Error ("not implemented"); } | public byte getCharacterLevel (int index) { return peer.getCharacterLevel(index); } | 18,078 |
public float getDescent () { throw new Error ("not implemented"); } | public float getDescent () { return peer.getDescent(); } | 18,079 |
public TextLayout getJustifiedLayout (float justificationWidth) { throw new Error ("not implemented"); } | public TextLayout getJustifiedLayout (float justificationWidth) { return peer.getJustifiedLayout(justificationWidth); } | 18,080 |
public float getLeading () { throw new Error ("not implemented"); } | public float getLeading () { return peer.getLeading(); } | 18,081 |
public Shape getLogicalHighlightShape (int firstEndpoint, int secondEndpoint) { throw new Error ("not implemented"); } | public Shape getLogicalHighlightShape (int firstEndpoint, int secondEndpoint) { return getLogicalHighlightShape (firstEndpoint, secondEndpoint, getBounds()); } | 18,082 |
public int[] getLogicalRangesForVisualSelection (TextHitInfo firstEndpoint, TextHitInfo secondEndpoint) { throw new Error ("not implemented"); } | public int[] getLogicalRangesForVisualSelection (TextHitInfo firstEndpoint, TextHitInfo secondEndpoint) { return peer.getLogicalRangesForVisualSelection(firstEndpoint, secondEndpoint); } | 18,083 |
public TextHitInfo getNextLeftHit (int offset) { throw new Error ("not implemented"); } | public TextHitInfo getNextLeftHit (int offset) { return getNextLeftHit(offset, DEFAULT_CARET_POLICY); } | 18,084 |
public TextHitInfo getNextRightHit (int offset) { throw new Error ("not implemented"); } | public TextHitInfo getNextRightHit (int offset) { return getNextRightHit(offset, DEFAULT_CARET_POLICY); } | 18,085 |
public Shape getOutline (AffineTransform tx) { throw new Error ("not implemented"); } | public Shape getOutline (AffineTransform tx) { return peer.getOutline(tx); } | 18,086 |
public float getVisibleAdvance () { throw new Error ("not implemented"); } | public float getVisibleAdvance () { return peer.getVisibleAdvance(); } | 18,087 |
public Shape getVisualHighlightShape (TextHitInfo firstEndpoint, TextHitInfo secondEndpoint) { throw new Error ("not implemented"); } | public Shape getVisualHighlightShape (TextHitInfo firstEndpoint, TextHitInfo secondEndpoint) { return getVisualHighlightShape(firstEndpoint, secondEndpoint, getBounds()); } | 18,088 |
public TextHitInfo getVisualOtherHit (TextHitInfo hit) { throw new Error ("not implemented"); } | public TextHitInfo getVisualOtherHit (TextHitInfo hit) { return peer.getVisualOtherHit(hit); } | 18,089 |
protected void handleJustify (float justificationWidth) { throw new Error ("not implemented"); } | protected void handleJustify (float justificationWidth) { peer.handleJustify(justificationWidth); } | 18,090 |
public int hashCode () { throw new Error ("not implemented"); } | public int hashCode () { return peer.hashCode(); } | 18,091 |
public TextHitInfo hitTestChar (float x, float y) { throw new Error ("not implemented"); } | public TextHitInfo hitTestChar (float x, float y) { return hitTestChar(x, y, getBounds()); } | 18,092 |
public boolean isLeftToRight () { throw new Error ("not implemented"); } | public boolean isLeftToRight () { return peer.isLeftToRight(); } | 18,093 |
public boolean isVertical () { throw new Error ("not implemented"); } | public boolean isVertical () { return peer.isVertical(); } | 18,094 |
public String toString () { throw new Error ("not implemented"); } | public String toString () { return peer.toString(); } | 18,095 |
public final void init(KeyStore store, char[] passwd) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException { kmfSpi.engineInit(store, passwd); } | public final void init(KeyStore store, char[] passwd) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException { kmfSpi.engineInit(store, passwd); } | 18,096 |
public final void init(KeyStore store, char[] passwd) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException { kmfSpi.engineInit(store, passwd); } | public final void init(KeyStore store, char[] passwd) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException { kmfSpi.engineInit(params); } | 18,097 |
public final void init(KeyStore store) throws KeyStoreException { tmfSpi.engineInit(store); } | public final void init(ManagerFactoryParameters params) throws InvalidAlgorithmParameterException { tmfSpi.engineInit(store); } | 18,098 |
public final void init(KeyStore store) throws KeyStoreException { tmfSpi.engineInit(store); } | public final void init(KeyStore store) throws KeyStoreException { tmfSpi.engineInit(params); } | 18,099 |
public void addChangeListener(ChangeListener l) { changes.addElement(l); } | public void addChangeListener(ChangeListener l) { changes.addElement(l); } | 18,100 |
public void removeChangeListener(ChangeListener l) { changes.removeElement(l); } | public void removeChangeListener(ChangeListener l) { changes.removeElement(l); } | 18,101 |
private void repaint() { if (parent != null) { parent.repaint(); } } | private void repaint() if (parent != null) parent.repaint(); } } | 18,102 |
private void repaint() { if (parent != null) { parent.repaint(); } } | private void repaint() { if (parent != null) { parent.repaint(); | 18,103 |
public final Class getCategory() { return CopiesSupported.class; } | public Class getCategory() { return CopiesSupported.class; } | 18,104 |
public final String getName() { return "copies-supported"; } | public String getName() { return "copies-supported"; } | 18,105 |
public UID() { synchronized (lock) { if (count == Short.MAX_VALUE) { long newtime; for (;;) { newtime = System.currentTimeMillis(); if (newtime - baseTime > 1000) { break; } try { Thread.sleep(1000); } catch (InterruptedException _) { } } baseTime = newtime; nextCount = Short.MIN... | public UID() { synchronized (lock) { if (nextCount == Short.MAX_VALUE) { long newtime; for (;;) { newtime = System.currentTimeMillis(); if (newtime - baseTime > 1000) { break; } try { Thread.sleep(1000); } catch (InterruptedException _) { } } baseTime = newtime; nextCount = Short... | 18,109 |
public void doPass2(BootableHashMap liveVariables) { refs[0] = refs[0].simplify(); if (refs[0] instanceof Variable) { Variable v = (Variable) refs[0]; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } } | public void doPass2() { refs[0] = refs[0].simplify(); if (refs[0] instanceof Variable) { Variable v = (Variable) refs[0]; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } } | 18,110 |
public void doPass2(BootableHashMap liveVariables) { refs[0] = refs[0].simplify(); if (refs[0] instanceof Variable) { Variable v = (Variable) refs[0]; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } } | public void doPass2(BootableHashMap liveVariables) { refs[0] = refs[0].simplify(); if (refs[0] instanceof Variable) { Variable v = (Variable) refs[0]; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } } | 18,111 |
public Operand propagate(Variable operand) { Quad quad = foldConstants(); if (quad instanceof ConstantRefAssignQuad) { setDeadCode(true); ConstantRefAssignQuad cop = (ConstantRefAssignQuad) quad; return cop.getRHS(); } return operand; } | public Operand propagate(Variable operand) { Quad quad = foldConstants(); if (quad instanceof ConstantRefAssignQuad) { ConstantRefAssignQuad cop = (ConstantRefAssignQuad) quad; return cop.getRHS(); } return operand; } | 18,112 |
public final Class getCategory() { return OrientationRequested.class; } | public Class getCategory() { return OrientationRequested.class; } | 18,113 |
public final String getName() { return "orientation-requested"; } | public String getName() { return "orientation-requested"; } | 18,114 |
public ZipFile(String name) throws ZipException, IOException { this.raf = new RandomAccessFile(name, "r"); this.name = name; checkZipFile(); } | public ZipFile(String name) throws ZipException, IOException { this.raf = openFile(name,null); this.name = name; checkZipFile(); } | 18,115 |
ZipEntry(ZipEntry e, String name) { this.name = name; known = e.known; size = e.size; compressedSize = e.compressedSize; crc = e.crc; dostime = e.dostime; method = e.method; extra = e.extra; comment = e.comment; } | public ZipEntry(String name) { this.name = name; known = e.known; size = e.size; compressedSize = e.compressedSize; crc = e.crc; dostime = e.dostime; method = e.method; extra = e.extra; comment = e.comment; } | 18,116 |
ZipEntry(ZipEntry e, String name) { this.name = name; known = e.known; size = e.size; compressedSize = e.compressedSize; crc = e.crc; dostime = e.dostime; method = e.method; extra = e.extra; comment = e.comment; } | ZipEntry(ZipEntry e, String name) { this.name = name; known = e.known; size = e.size; compressedSize = e.compressedSize; crc = e.crc; dostime = e.dostime; method = e.method; extra = e.extra; comment = e.comment; } | 18,117 |
public BasicRadioButtonMenuItemUI() { super(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); checkIcon = defaults.getIcon("RadioButtonMenuItem.checkIcon"); } | public BasicRadioButtonMenuItemUI() { super(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); checkIcon = defaults.getIcon("RadioButtonMenuItem.checkIcon"); } | 18,118 |
public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem item = (JMen... | 18,119 |
public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | 18,120 |
public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | 18,121 |
public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { switch (event.getID()) { case MouseEvent.MOUSE_CLICKED: doClick(); break; case MouseEvent.MOUSE_ENTERED: if (event.getSource() instanceof JMenuItem) { JMenuItem it... | 18,122 |
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] ) ... | 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] ) ... | 18,123 |
public static TypeCode type() { return new primitiveArrayTypeCode(TCKind.tk_ulong); } | public static TypeCode type() { return new ArrayTypeCode(TCKind.tk_ulong); } | 18,124 |
public void updateUI() { setUI((TabbedPaneUI) UIManager.getUI(this)); invalidate(); } | public void updateUI() { setUI((TabbedPaneUI) UIManager.getUI(this)); } | 18,125 |
public String getToolTipText(MouseEvent event) { return toolTipText; } | public String getToolTipText(MouseEvent event) { return toolTipText; } | 18,126 |
public Icon getDisabledIcon() { if (disabledIcon == null && activeIcon instanceof ImageIcon) disabledIcon = new ImageIcon(GrayFilter.createDisabledImage(((ImageIcon) activeIcon).getImage())); return disabledIcon; } | public Icon getDisabledIcon() { if (disabledIcon == null && activeIcon instanceof ImageIcon) disabledIcon = new ImageIcon(GrayFilter.createDisabledImage(((ImageIcon) activeIcon).getImage())); return disabledIcon; } | 18,127 |
public int getDisplayedMnemonic() { return (int) mnemonicKey; } | public int getDisplayedMnemonic() { return (int) displayedMnemonic; } | 18,128 |
public int getDisplayedMnemonicIndex() { return underlinedChar; } | public int getDisplayedMnemonicIndex() { return displayedMnemonicIndex; } | 18,129 |
public Icon getIcon() { return activeIcon; } | public Icon getIcon() { return icon; } | 18,130 |
public String getText() { return labelText; } | public String getText() { return text; } | 18,131 |
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... | public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h) { Icon currIcon = isEnabled() ? icon : disabledIcon; //Is this the correct way to check for image equality? if (currIcon != null && currIcon instanceof ImageIcon) return (((ImageIcon) currIcon).... | 18,132 |
public void setDisabledIcon(Icon disabledIcon) { if (disabledIcon != this.disabledIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | public void setDisabledIcon(Icon newIcon) { if (disabledIcon != this.disabledIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | 18,133 |
public void setDisabledIcon(Icon disabledIcon) { if (disabledIcon != this.disabledIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | public void setDisabledIcon(Icon disabledIcon) { if (disabledIcon != newIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | 18,134 |
public void setDisabledIcon(Icon disabledIcon) { if (disabledIcon != this.disabledIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | public void setDisabledIcon(Icon disabledIcon) { if (disabledIcon != this.disabledIcon) { Icon oldDisabledIcon = this.disabledIcon; this.disabledIcon = disabledIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldDisabledIcon, this.disabledIcon); } } | 18,135 |
public void setDisplayedMnemonic(int key) { setDisplayedMnemonic((char) key); } | public void setDisplayedMnemonic(int mnemonic) { setDisplayedMnemonic((char) key); } | 18,136 |
public void setDisplayedMnemonic(int key) { setDisplayedMnemonic((char) key); } | public void setDisplayedMnemonic(int key) { if (displayedMnemonic != mnemonic) { firePropertyChange(DISPLAYED_MNEMONIC_CHANGED_PROPERTY, displayedMnemonic, mnemonic); displayedMnemonic = mnemonic; if (text != null) setDisplayedMnemonicIndex(text.indexOf(mnemonic)); } } | 18,137 |
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 = -... | public void setDisplayedMnemonicIndex(int newIndex) throws IllegalArgumentException { if (index < -1 || labelText != null && index >= labelText.length()) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index ... | 18,138 |
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 = -... | public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (newIndex < -1 || (text != null && newIndex >= text.length())) throw new IllegalArgumentException(); if (labelText == null || labelText.charAt(index) != mnemonicKey) index = -1;... | 18,139 |
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 = -... | 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 = -... | 18,140 |
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 = -... | 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 = -... | 18,141 |
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 = -... | 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 = -... | 18,142 |
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 = -... | 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 = -... | 18,143 |
public void setIcon(Icon icon) { if (icon != activeIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | public void setIcon(Icon newIcon) { if (icon != activeIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | 18,144 |
public void setIcon(Icon icon) { if (icon != activeIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | public void setIcon(Icon icon) { if (icon != newIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | 18,145 |
public void setIcon(Icon icon) { if (icon != activeIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | public void setIcon(Icon icon) { if (icon != activeIcon) { Icon oldIcon = activeIcon; activeIcon = icon; firePropertyChange(ICON_CHANGED_PROPERTY, oldIcon, activeIcon); } } | 18,146 |
public void setIconTextGap(int iconTextGap) { if (iconTextGap != this.iconTextGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | public void setIconTextGap(int newGap) { if (iconTextGap != this.iconTextGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | 18,147 |
public void setIconTextGap(int iconTextGap) { if (iconTextGap != this.iconTextGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | public void setIconTextGap(int iconTextGap) { if (iconTextGap != newGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | 18,148 |
public void setIconTextGap(int iconTextGap) { if (iconTextGap != this.iconTextGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | public void setIconTextGap(int iconTextGap) { if (iconTextGap != this.iconTextGap) { int oldIconTextGap = this.iconTextGap; this.iconTextGap = iconTextGap; firePropertyChange(ICON_TEXT_GAP_CHANGED_PROPERTY, oldIconTextGap, iconTextGap); } } | 18,149 |
public void setLabelFor(Component c) { if (c != labelFor) { Component oldLabelFor = labelFor; labelFor = c; firePropertyChange(LABEL_FOR_CHANGED_PROPERTY, oldLabelFor, labelFor); } } | public void setLabelFor(Component c) { if (c != labelFor) { firePropertyChange(LABEL_FOR_CHANGED_PROPERTY, labelFor, c); labelFor = c; firePropertyChange(LABEL_FOR_CHANGED_PROPERTY, oldLabelFor, labelFor); } } | 18,150 |
public void setLabelFor(Component c) { if (c != labelFor) { Component oldLabelFor = labelFor; labelFor = c; firePropertyChange(LABEL_FOR_CHANGED_PROPERTY, oldLabelFor, labelFor); } } | public void setLabelFor(Component c) { if (c != labelFor) { Component oldLabelFor = labelFor; labelFor = c; } } | 18,151 |
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); } } | public void setText(String newText) { if (text != labelText) { String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText != null && labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); } } | 18,152 |
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); } } | public void setText(String text) { if (text != newText) { String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText != null && labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); } } | 18,153 |
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); } } | 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); } } | 18,154 |
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... | 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.Internet.CodeSets)); m_parameter_buffer.setOrb(orb); m_parameter_buffer... | 18,155 |
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. */ } | 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. */ } | 18,157 |
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 ... | 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 ... | 18,159 |
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 ... | private void p_invoke() throws SystemException { binaryReply response = submit(); if (m_rph == null) m_rph = 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. ... | 18,160 |
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 ... | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); m_rph.read(input); // The stream must be aligned sinve v1.2, but only once. boole... | 18,161 |
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 ... | 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 ... | 18,162 |
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 ... | 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 ... | 18,163 |
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 ... | 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 ... | 18,164 |
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 ... | 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 ... | 18,165 |
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 ... | 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 ... | 18,166 |
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... | public synchronized binaryReply submit() throws ForwardRequest { 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 = useV... | 18,167 |
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... | 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... | 18,168 |
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... | 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... | 18,169 |
public gnuNVList() { list = new corbaArrayList(); } | public gnuNVList() { list = new CorbaList(); } | 18,170 |
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; } | 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; } | 18,171 |
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... | 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... | 18,172 |
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... | 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... | 18,173 |
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; } } | public static Socket get_socket(Object key) { Socket s = (Socket) sockets.get(key); if (s == null) return null; else if (s.isClosed()) { sockets.remove(key); return null; } else { sockets.remove(key); return s; } } | 18,175 |
public void setKeepAlive(boolean on) throws SocketException { if (impl == null) throw new SocketException("Not connected"); impl.setOption(SocketOptions.SO_KEEPALIVE, new Boolean(on)); } | public void setKeepAlive(boolean on) throws SocketException { if (impl == null) throw new SocketException("Not connected"); impl.setOption(SocketOptions.SO_KEEPALIVE, new Boolean(on)); } | 18,177 |
public void setKeepAlive(boolean on) throws SocketException { if (impl == null) throw new SocketException("Not connected"); impl.setOption(SocketOptions.SO_KEEPALIVE, new Boolean(on)); } | public void setKeepAlive(boolean on) throws SocketException { if (impl == null) throw new SocketException("Not connected"); getImpl().setOption(SocketOptions.SO_KEEPALIVE, Boolean.valueOf(on)); } | 18,178 |
public OutputStream getOutputStream() throws IOException { if (impl != null) return impl.getOutputStream(); throw new IOException("Not connected"); } | public OutputStream getOutputStream() throws IOException { if (impl != null) return impl.getOutputStream(); throw new IOException("Not connected"); } | 18,179 |
public OutputStream getOutputStream() throws IOException { if (impl != null) return impl.getOutputStream(); throw new IOException("Not connected"); } | public OutputStream getOutputStream() throws IOException { if (impl != null) return impl.getOutputStream(); if (! isConnected()) throw new IOException("not connected"); return getImpl().getOutputStream(); } | 18,180 |
public boolean isClosed() { return closed; } | public boolean isClosed() { return closed; } | 18,181 |
public InputStream getInputStream() throws IOException { if (impl != null) return (impl.getInputStream()); throw new IOException("Not connected"); } | public InputStream getInputStream() throws IOException { if (impl != null) return (impl.getInputStream()); throw new IOException("Not connected"); } | 18,182 |
public InputStream getInputStream() throws IOException { if (impl != null) return (impl.getInputStream()); throw new IOException("Not connected"); } | public InputStream getInputStream() throws IOException { if (impl != null) return (impl.getInputStream()); if (! isConnected()) throw new IOException("not connected"); return getImpl().getInputStream(); } | 18,183 |
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)); } | 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)); } | 18,184 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.