bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
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 ...
28,950
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 ...
28,951
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 ...
28,952
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...
28,953
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...
28,954
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...
28,955
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...
28,956
protected void write_parameter_buffer(MessageHeader header, cdrBufOutput request_part ) throws MARSHAL { try { if (header.version.since_inclusive(1, 2)) { request_part.align(8); ...
protected void write_parameter_buffer(MessageHeader header, cdrBufOutput request_part ) throws MARSHAL { try { if (header.version.since_inclusive(1, 2)) { request_part.align(8); ...
28,957
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 { ...
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 { ...
28,958
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 { ...
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 { ...
28,959
public gnuNVList() { list = new corbaArrayList(); }
public gnuNVList() { list = new CorbaList(); }
28,960
public UnknownUserException(Any an_exception) { except = an_exception; }
public UnknownUserException() { except = an_exception; }
28,961
public UnknownUserException(Any an_exception) { except = an_exception; }
public UnknownUserException(Any an_exception) { }
28,962
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; }
28,963
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...
28,964
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...
28,965
public void add(NamedValue value) { list.add(value); }
public NamedValue add(int a_flags) { list.add(value); }
28,967
public void add(NamedValue value) { list.add(value); }
public void add(NamedValue value) { return add_value(null, new gnuAny(), a_flags); }
28,968
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; } }
28,969
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)); }
28,971
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)); }
28,972
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"); }
28,973
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"); }
28,974
public boolean isClosed() { return closed; }
public boolean isClosed() { return closed; }
28,975
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"); }
28,976
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"); }
28,977
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)); }
28,978
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)); }
28,979
public void adjustDesktopSize(int width, int height) { setSize(width, height); doLayout(); repaint(); setVisible(false); show(); }
public void adjustDesktopSize(int width, int height) { setSize(width, height); doLayout(); repaint(); setVisible(false); show(); }
28,983
public JFrame(String title) { super(title); frameInit(); }
public JFrame() { super(title); frameInit(); }
28,984
public JFrame(String title) { super(title); frameInit(); }
public JFrame(String title) { super(title); frameInit(); }
28,985
public DefaultFocusTraversalPolicy() { }
public DefaultFocusTraversalPolicy () { }
28,986
public JDesktopPane() { // TODO } // JDesktopPane()
public JDesktopPane() { // TODO } // JDesktopPane()
28,987
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...
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...
28,988
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...
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...
28,989
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...
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...
28,990
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...
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...
28,991
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...
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...
28,992
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...
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...
28,993
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...
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...
28,994
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...
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...
28,995
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...
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...
28,996
Bindings(Stylesheet stylesheet) { this.stylesheet = stylesheet; variables = new LinkedList(); parameters = new LinkedList(); push(true); push(false); }
Bindings(Stylesheet stylesheet) { this.stylesheet = stylesheet; variables = new LinkedList(); parameters = new LinkedList(); push(true); push(false); }
28,997
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), ...
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), ...
28,998
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...
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), type); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = nex...
28,999
ParameterNode(String name, Expr select, boolean global) { this.name = name; this.select = select; this.global = global; }
ParameterNode(QName name, Expr select, int type) { this.name = name; this.select = select; this.global = global; }
29,000
ParameterNode(String name, Expr select, boolean global) { this.name = name; this.select = select; this.global = global; }
ParameterNode(String name, Expr select, boolean global) { this.name = name; this.select = select; this.type = type; }
29,001
Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes...
Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, String priorityAttr, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test...
29,002
Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes...
Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes...
29,003
Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes...
Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes...
29,004
Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes...
Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes...
29,005
Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes...
Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes...
29,006
Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes...
Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes...
29,007
Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes...
Template(Stylesheet stylesheet, QName name, Pattern match, TemplateNode node, int precedence, double priority, QName mode) { this.stylesheet = stylesheet; this.name = name; this.match = match; this.node = node; // adjust priority if necessary // see XSLT section 5.5 Test tes...
29,008
WithParam(String name, Expr select) { this.name = name; this.select = select; content = null; }
WithParam(QName name, Expr select) { this.name = name; this.select = select; content = null; }
29,009
public abstract void setColorModel(ColorModel model);
public abstract void setColorModel(ColorModel model);
29,010
public abstract void setDimensions(int width, int height);
public abstract void setDimensions(int width, int height);
29,011
public abstract void setHints(int flags);
public abstract void setHints(int flags);
29,012
public abstract void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize);
void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize);
29,013
public abstract void setProperties(Hashtable props);
public abstract void setProperties(Hashtable props);
29,014
public PrivateKeyUsagePeriod(final byte[] encoded) throws IOException { super(encoded); DERReader der = new DERReader(encoded); DERValue val = der.read(); if (!val.isConstructed()) throw new IOException("malformed PrivateKeyUsagePeriod"); if (val.getLength() > 0) val = der.read(); if (val...
public PrivateKeyUsagePeriod(final byte[] encoded) throws IOException { super(encoded); DERReader der = new DERReader(encoded); DERValue val = der.read(); if (!val.isConstructed()) throw new IOException("malformed PrivateKeyUsagePeriod"); if (val.getLength() > 0) val = der.read(); if (val...
29,015
public PrivateKeyUsagePeriod(final byte[] encoded) throws IOException { super(encoded); DERReader der = new DERReader(encoded); DERValue val = der.read(); if (!val.isConstructed()) throw new IOException("malformed PrivateKeyUsagePeriod"); if (val.getLength() > 0) val = der.read(); if (val...
public PrivateKeyUsagePeriod(final byte[] encoded) throws IOException { super(encoded); DERReader der = new DERReader(encoded); DERValue val = der.read(); if (!val.isConstructed()) throw new IOException("malformed PrivateKeyUsagePeriod"); if (val.getLength() > 0) val = der.read(); if (val...
29,016
public synchronized void addPropertyChangeListener(PropertyChangeListener listener) { changeSupport.addPropertyChangeListener(listener); }
public synchronized void addPropertyChangeListener( PropertyChangeListener listener) { changeSupport.addPropertyChangeListener(listener); }
29,017
public synchronized void removePropertyChangeListener(PropertyChangeListener listener) { changeSupport.removePropertyChangeListener(listener); }
public synchronized void removePropertyChangeListener( PropertyChangeListener listener) { changeSupport.removePropertyChangeListener(listener); }
29,018
public void setCellRenderer(TableCellRenderer renderer) { if (cellRenderer == renderer) return; TableCellRenderer oldRenderer = cellRenderer; cellRenderer = renderer; firePropertyChange(CELL_RENDERER_PROPERTY, oldRenderer, cellRenderer); }
public void setCellRenderer(TableCellRenderer renderer) { if (cellRenderer == renderer) return; TableCellRenderer oldRenderer = cellRenderer; cellRenderer = renderer; firePropertyChange(CELL_RENDERER_PROPERTY, oldRenderer, cellRenderer); }
29,020
public void setHeaderRenderer(TableCellRenderer renderer) { if (headerRenderer == renderer) return; TableCellRenderer oldRenderer = headerRenderer; headerRenderer = renderer; firePropertyChange(HEADER_RENDERER_PROPERTY, oldRenderer, headerRenderer); }
public void setHeaderRenderer(TableCellRenderer renderer) { if (headerRenderer == renderer) return; TableCellRenderer oldRenderer = headerRenderer; headerRenderer = renderer; firePropertyChange(HEADER_RENDERER_PROPERTY, oldRenderer, headerRenderer); }
29,021
public void setHeaderValue(Object headerValue) { if (this.headerValue == headerValue) return; Object oldValue = this.headerValue; this.headerValue = headerValue; firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); }
public void setHeaderValue(Object headerValue) { if (this.headerValue == headerValue) return; Object oldValue = this.headerValue; this.headerValue = headerValue; changeSupport.firePropertyChange(HEADER_VALUE_PROPERTY, oldValue, headerValue); }
29,022
public void setMaxWidth(int maxWidth) { this.maxWidth = maxWidth; setWidth(getWidth()); setPreferredWidth(getPreferredWidth()); }
public void setMaxWidth(int maxWidth) { this.maxWidth = maxWidth; setWidth(getWidth()); setPreferredWidth(getPreferredWidth()); }
29,024
public void setMinWidth(int minWidth) { this.minWidth = minWidth; setWidth(getWidth()); setPreferredWidth(getPreferredWidth()); }
public void setMinWidth(int minWidth) { this.minWidth = minWidth; setWidth(getWidth()); setPreferredWidth(getPreferredWidth()); }
29,025
public void setPreferredWidth(int preferredWidth) { int oldPrefWidth = this.preferredWidth; if (preferredWidth < minWidth) this.preferredWidth = minWidth; else if (preferredWidth > maxWidth) this.preferredWidth = maxWidth; else this.preferredWidth = preferredWidth; firePropertyChange("p...
public void setPreferredWidth(int preferredWidth) { int oldPrefWidth = this.preferredWidth; if (preferredWidth < minWidth) this.preferredWidth = minWidth; else if (preferredWidth > maxWidth) this.preferredWidth = maxWidth; else this.preferredWidth = preferredWidth; changeSupport.firePro...
29,027
public void setWidth(int newWidth) { int oldWidth = width; if (newWidth < minWidth) width = minWidth; else if (newWidth > maxWidth) width = maxWidth; else width = newWidth; if (width == oldWidth) return; // We do have a constant field COLUMN_WIDTH_PROPERTY, // however, tests ...
public void setWidth(int newWidth) { int oldWidth = width; if (newWidth < minWidth) width = minWidth; else if (newWidth > maxWidth) width = maxWidth; else width = newWidth; if (width == oldWidth) return; // We do have a constant field COLUMN_WIDTH_PROPERTY, // however, tests ...
29,029
public void sizeWidthToFit() { // TODO }
if (headerRenderer == null) return; Component c = headerRenderer.getTableCellRendererComponent(null, getHeaderValue(), false, false, 0, 0); Dimension min = c.getMinimumSize(); Dimension max = c.getMaximumSize(); Dimension pref = c.getPreferredSize(); setMinWidth(min.width); setMaxWidth(max.width); setPreferredWidth(pre...
29,030
protected AccessibleJRadioButtonMenuItem(JRadioButtonMenuItem component) { super(component); // TODO }
protected AccessibleJRadioButtonMenuItem() { super(component); // TODO }
29,031
protected AccessibleJRadioButtonMenuItem(JRadioButtonMenuItem component) { super(component); // TODO }
protected AccessibleJRadioButtonMenuItem(JRadioButtonMenuItem component) { // TODO }
29,032
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJRadioButtonMenuItem(this); return accessibleContext; }
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJRadioButtonMenuItem(); return accessibleContext; }
29,033
AccessibleJMenuItem(JMenuItem component) { super(component); // TODO }
AccessibleJMenuItem() { super(component); // TODO }
29,034
AccessibleJMenuItem(JMenuItem component) { super(component); // TODO }
AccessibleJMenuItem(JMenuItem component) { // TODO }
29,035
public ColorSelectionModel getColorSelectionModel() { return null; // TODO } // getColorSelectionModel()
public ColorSelectionModel getColorSelectionModel() { return null; // TODO } // getColorSelectionModel()
29,036
public AbstractColorChooserPanel() { // TODO } // AbstractColorChooserPanel()
public AbstractColorChooserPanel() { // TODO } // AbstractColorChooserPanel()
29,037
public JSlider(int orientation, int minimum, int maximum, int value) { sliderModel = new DefaultBoundedRangeModel(value, 0, minimum, maximum); if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); this.orientation = or...
public JSlider() { sliderModel = new DefaultBoundedRangeModel(value, 0, minimum, maximum); if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); this.orientation = orientation; changeListener = createChangeListener(...
29,038
public JSlider(int orientation, int minimum, int maximum, int value) { sliderModel = new DefaultBoundedRangeModel(value, 0, minimum, maximum); if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); this.orientation = or...
public JSlider(int orientation, int minimum, int maximum, int value) { sliderModel = new DefaultBoundedRangeModel(value, 0, minimum, maximum); if (orientation != HORIZONTAL && orientation != VERTICAL) throw new IllegalArgumentException(orientation + " is not a legal orientation"); this.orientation = or...
29,039
public SpinnerNumberModel(int value, int minimum, int maximum, int stepSize) { this(new Integer(value), new Integer(minimum), new Integer(maximum), new Integer(stepSize)); }
public SpinnerNumberModel() { this(new Integer(value), new Integer(minimum), new Integer(maximum), new Integer(stepSize)); }
29,040
public SpinnerNumberModel(int value, int minimum, int maximum, int stepSize) { this(new Integer(value), new Integer(minimum), new Integer(maximum), new Integer(stepSize)); }
public SpinnerNumberModel(int value, int minimum, int maximum, int stepSize) { this(new Integer(value), new Integer(minimum), new Integer(maximum), new Integer(stepSize)); }
29,041
public JSpinner(SpinnerModel model) { this.model = model; model.addChangeListener(listener); setEditor(createEditor(model)); updateUI(); }
public JSpinner() { this.model = model; model.addChangeListener(listener); setEditor(createEditor(model)); updateUI(); }
29,042
public JSpinner(SpinnerModel model) { this.model = model; model.addChangeListener(listener); setEditor(createEditor(model)); updateUI(); }
public JSpinner(SpinnerModel model) { this.model = model; model.addChangeListener(listener); setEditor(createEditor(model)); updateUI(); }
29,043
public void paint(Graphics graphics) { // TODO } // paint()
public void paint(Graphics graphics) { // TODO } // paint()
29,044
protected Color getColorFromModel() { return null; // TODO } // getColorFromModel()
protected Color getColorFromModel() { return null; // TODO } // getColorFromModel()
29,045
public static Integer getInteger(String nm, Integer def) { if (nm == null || "".equals(nm)) return def; nm = System.getProperty(nm); if (nm == null) return def; try { return decode(nm); } catch (NumberFormatException e) { return def; } }
public static Integer getInteger(String nm) { if (nm == null || "".equals(nm)) return def; nm = System.getProperty(nm); if (nm == null) return def; try { return decode(nm); } catch (NumberFormatException e) { return def; } }
29,046
public static Integer getInteger(String nm, Integer def) { if (nm == null || "".equals(nm)) return def; nm = System.getProperty(nm); if (nm == null) return def; try { return decode(nm); } catch (NumberFormatException e) { return def; } }
public static Integer getInteger(String nm, Integer def) { if (nm == null || "".equals(nm)) return def; nm = System.getProperty(nm); if (nm == null) return def; try { return decode(nm); } catch (NumberFormatException e) { return def; } }
29,047
protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset() - 1); //...
protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset() - 1); //...
29,048
protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset() - 1); //...
protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset() - 1); //...
29,049
protected int drawSelectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { g.setColor(selectedColor); Segment segment = getLineBuffer(); getDocument().getText(p0, p1 - p0, segment); return Utilities.drawTabbedText(segment, x, y, g, this, 0); }
protected int drawSelectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { g.setColor(selectedColor); Segment segment = getLineBuffer(); getDocument().getText(p0, p1 - p0, segment); return Utilities.drawTabbedText(segment, x, y, g, this, segment.offset); }
29,050
public void paint(Graphics g, Shape s) { // Ensure metrics are up-to-date. updateMetrics(); JTextComponent textComponent = (JTextComponent) getContainer(); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); disabledColor = textComponent.ge...
public void paint(Graphics g, Shape s) { // Ensure metrics are up-to-date. updateMetrics(); JTextComponent textComponent = (JTextComponent) getContainer(); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); disabledColor = textComponent.ge...
29,051
public void paint(Graphics g, Shape s) { // Ensure metrics are up-to-date. updateMetrics(); JTextComponent textComponent = (JTextComponent) getContainer(); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); disabledColor = textComponent.ge...
public void paint(Graphics g, Shape s) { // Ensure metrics are up-to-date. updateMetrics(); JTextComponent textComponent = (JTextComponent) getContainer(); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); disabledColor = textComponent.ge...
29,052
charsWidth(char buf[], int offset, int len){ int total_width = 0; for (int i = offset; i < len; i++) total_width += charWidth(buf[i]); return(total_width);}
charsWidth(char buf[], int offset, int len){ int total_width = 0; for (int i = offset; i < len; i++) total_width += charWidth(buf[i]); return(total_width);}
29,053
charsWidth(char buf[], int offset, int len){ int total_width = 0; for (int i = offset; i < len; i++) total_width += charWidth(buf[i]); return(total_width);}
charsWidth(char buf[], int offset, int len){ int total_width = 0; for (int i = offset; i < len; i++) total_width += charWidth(buf[i]); return(total_width);}
29,054
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The current x and y pixel coordinates. int pixelX = x; int pixelY = y; // The font...
public static final int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) { // This buffers the chars to be drawn. char[] buffer = s.array; // The current x and y pixel coordinates. int pixelX = x; int pixelY = y; // The font...
29,055
charWidth(char ch){ return(1);}
charWidth(char ch){ return(1);}
29,057
paramString(){ return ("label=" + getLabel() + ",actionCommand=" + getActionCommand() + "," + super.paramString());}
paramString(){ return ("label=" + getLabel() + ",actionCommand=" + getActionCommand() + "," + super.paramString());}
29,059
public Double() { }
public Double() { }
29,060