bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public boolean isSpecified (int index) { if (index < 0 || index >= attributeCount) throw new ArrayIndexOutOfBoundsException (); return attributeSpecified [index]; } | public boolean isSpecified (int index) { if (index < 0 || index >= attributeCount) throw new ArrayIndexOutOfBoundsException (); return attributeSpecified [index]; } | 9,700 |
private void reset () { elementName = null; entityStack = new Stack (); attributesList = Collections.synchronizedList(new ArrayList()); attributeSpecified = new boolean[10]; attributeDeclared = new boolean[10]; attributeCount = 0; attributes = false; nsTemp = new String[3]... | private void reset () { elementName = null; entityStack = new Stack (); attributesList = Collections.synchronizedList(new ArrayList()); attributeSpecified = new boolean[10]; attributeDeclared = new boolean[10]; attributeCount = 0; attributes = false; nsTemp = new String[3]... | 9,701 |
public String getAttributeType (String name, String aname) { Object attribute[] = getAttribute (name, aname); if (attribute == null) { return null; } else { return (String) attribute [0]; } } | public String getAttributeType (String name, String aname) { Object attribute[] = getAttribute (name, aname); if (attribute == null) { return null; } else { return (String) attribute [0]; } } | 9,702 |
void doParse ( String systemId, String publicId, Reader reader, InputStream stream, String encoding ) throws Exception { if (handler == null) throw new IllegalStateException ("no callback handler"); initializeVariables (); // predeclare the built-in entities here (replacement texts) // we don't need t... | void doParse ( String systemId, String publicId, Reader reader, InputStream stream, String encoding ) throws Exception { if (handler == null) throw new IllegalStateException ("no callback handler"); initializeVariables (); // predeclare the built-in entities here (replacement texts) // we don't need t... | 9,703 |
void doParse ( String systemId, String publicId, Reader reader, InputStream stream, String encoding ) throws Exception { if (handler == null) throw new IllegalStateException ("no callback handler"); initializeVariables (); // predeclare the built-in entities here (replacement texts) // we don't need t... | void doParse ( String systemId, String publicId, Reader reader, InputStream stream, String encoding ) throws Exception { if (handler == null) throw new IllegalStateException ("no callback handler"); initializeVariables (); // predeclare the built-in entities here (replacement texts) // we don't need t... | 9,704 |
public Throwable getException() { return containedException; } | public Throwable getException() { return containedException; } | 9,705 |
public String getLocationAsString() { if (locator == null) return null; StringBuffer retval = new StringBuffer (); if (locator.getPublicId () != null) { retval.append ("public='"); retval.append (locator.getPublicId ()); retval.append ("' "); } if (locator.getSystemId () != null) { retval.appe... | public String getLocationAsString() { if (locator == null) return null; StringBuffer retval = new StringBuffer (); if (locator.getPublicId () != null) { retval.append ("public='"); retval.append (locator.getPublicId ()); retval.append ("' "); } if (locator.getSystemId () != null) { retval.appe... | 9,706 |
public String getMessageAndLocation() { if (locator == null) return getMessage (); return getMessage () + ": " + getLocationAsString (); } | public String getMessageAndLocation() { if (locator == null) return getMessage (); return getMessage () + ": " + getLocationAsString (); } | 9,708 |
public synchronized Throwable initCause(Throwable cause) { if (cause == this) throw new IllegalArgumentException (); if (containedException != null) throw new IllegalStateException (); containedException = cause; causeKnown = true;// FIXME: spec implies "this" may be the right value; another bug? ... | public synchronized Throwable initCause(Throwable cause) { if (cause == this) throw new IllegalArgumentException (); if (containedException != null) throw new IllegalStateException (); containedException = cause; causeKnown = true;// FIXME: spec implies "this" may be the right value; another bug? ... | 9,709 |
LiteralNode(Node source) { this.source = source; if (source.getNodeType() == Node.ELEMENT_NODE) { NamedNodeMap attrs = source.getAttributes(); Node attr = attrs.getNamedItemNS(Stylesheet.XSL_NS, "exclude-result-prefixes"); if (attr != null) ... | LiteralNode(Node source) this.source = source; if (source.getNodeType() == Node.ELEMENT_NODE) NamedNodeMap attrs = source.getAttributes(); Node attr = attrs.getNamedItemNS(Stylesheet.XSL_NS, "exclude-result-prefixes"); if (attr != null) ... | 9,711 |
LiteralNode(Node source) { this.source = source; if (source.getNodeType() == Node.ELEMENT_NODE) { NamedNodeMap attrs = source.getAttributes(); Node attr = attrs.getNamedItemNS(Stylesheet.XSL_NS, "exclude-result-prefixes"); if (attr != null) ... | LiteralNode(Node source) { this.source = source; if (source.getNodeType() == Node.ELEMENT_NODE) { NamedNodeMap attrs = source.getAttributes(); Node attr = attrs.getNamedItemNS(Stylesheet.XSL_NS, "exclude-result-prefixes"); if (attr != null) ... | 9,712 |
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new LiteralNode(source); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; } | TemplateNode clone(Stylesheet stylesheet) TemplateNode ret = new LiteralNode(source); if (children != null) ret.children = children.clone(stylesheet); } if (next != null) ret.next = next.clone(stylesheet); } return ret; } | 9,713 |
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new LiteralNode(source); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret; } | TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new LiteralNode(source); if (children != null) { ret.children = children.clone(stylesheet); if (next != null) { ret.next = next.clone(stylesheet); return ret; | 9,714 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node result = null; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); short nodeType = sourc... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException Node result = null; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); short nodeType = source... | 9,715 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node result = null; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); short nodeType = sourc... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Node result = null; Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); short nodeType = sourc... | 9,716 |
public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("source="); buf.append(source); buf.append(']'); return buf.toString(); } | public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("source="); buf.append(source); buf.append(']'); return buf.toString(); } | 9,717 |
public Node getNamedItemNS(String namespaceURI, String localName); | public Node getNamedItemNS(String namespaceURI, String localName) throws DOMException; | 9,718 |
public void setAction(Action a) { action_taken = a; revalidate(); repaint(); } | public void setAction(Action a) { action_taken = a; revalidate(); repaint(); } | 9,719 |
public void setModel(ButtonModel newModel) { model = newModel; } | public void setModel(ButtonModel newModel) { model = newModel; } | 9,720 |
protected void addImpl(Component comp, Object constraints, int index) { // If we're adding the rootPane (initialization stages) use super.add. // otherwise pass the add onto the content pane. if (comp == rootPane) super.addImpl(comp, constraints, index); else { if (isRootPaneCheckingEna... | protected void addImpl(Component comp, Object constraints, int index) { // If we're adding the rootPane (initialization stages) use super.add. // otherwise pass the add onto the content pane. if (!initStageDone) super.addImpl(comp, constraints, index); else { if (isRootPaneCheckingEnabl... | 9,721 |
public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | Window() { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the window. SecurityManager s = System.getSecurity... | 9,722 |
public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | public Window(Window owner, GraphicsConfiguration gc) { visible = false; focusCycleRoot = true; setLayout(new BorderLayout()); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReferenc... | 9,723 |
public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | public Window(Window owner, GraphicsConfiguration gc) { this (); addWindowFocusListener (new WindowAdapter () { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text vis... | 9,724 |
public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | public Window(Window owner, GraphicsConfiguration gc) { this (); synchronized (getTreeLock()) { if (owner == null) throw new IllegalArgumentException ("owner must not be null"); parent = owner; owner.ownedWindows.add(new WeakReference(this)); } // FIXME: make this text visible in the wind... | 9,725 |
public Serializable extract_Value() throws BAD_OPERATION { try { return ((ValueBaseHolder) has).value; } catch (ClassCastException ex) { return new BAD_OPERATION("Value type expected"); } } | public Serializable extract_Value() throws BAD_OPERATION { try { return ((ValueBaseHolder) has).value; } } catch (Exception ex) { return new BAD_OPERATION("Value type expected"); } } | 9,726 |
public ObjectHolder(org.omg.CORBA.Object initial_value) { value = initial_value; } | public ObjectHolder() { value = initial_value; } | 9,727 |
public ObjectHolder(org.omg.CORBA.Object initial_value) { value = initial_value; } | public ObjectHolder(org.omg.CORBA.Object initial_value) { } | 9,728 |
public TypeCodeHolder(TypeCode initial_value) { value = initial_value; } | public TypeCodeHolder() { value = initial_value; } | 9,729 |
public TypeCodeHolder(TypeCode initial_value) { value = initial_value; } | public TypeCodeHolder(TypeCode initial_value) { } | 9,730 |
public ValueBaseHolder(Serializable initial) { value = initial; } | public ValueBaseHolder() { value = initial; } | 9,731 |
public ValueBaseHolder(Serializable initial) { value = initial; } | public ValueBaseHolder(Serializable initial) { } | 9,732 |
public OctetHolder(byte initial_value) { value = initial_value; } | public OctetHolder() { value = initial_value; } | 9,733 |
public OctetHolder(byte initial_value) { value = initial_value; } | public OctetHolder(byte initial_value) { } | 9,734 |
public ShortHolder(short initial_value) { value = initial_value; } | public ShortHolder() { value = initial_value; } | 9,735 |
public ShortHolder(short initial_value) { value = initial_value; } | public ShortHolder(short initial_value) { } | 9,736 |
public WCharHolder(char initial_value) { value = initial_value; } | public WCharHolder() { value = initial_value; } | 9,737 |
public WCharHolder(char initial_value) { value = initial_value; } | public WCharHolder(char initial_value) { } | 9,738 |
public WStringHolder(String initial_value) { value = initial_value; } | public WStringHolder() { value = initial_value; } | 9,739 |
public WStringHolder(String initial_value) { value = initial_value; } | public WStringHolder(String initial_value) { } | 9,740 |
public Rectangle getNodeDimensions(Object cell, int row, int depth, boolean expanded, Rectangle size) { if (size == null || cell == null) return null; String s = cell.toString(); Font f = tree.getFont(); FontMetrics fm = tree.getToolkit().getFontMetr... | public Rectangle getNodeDimensions(Object cell, int row, int depth, boolean expanded, Rectangle size) { if (size == null || cell == null) return null; String s = cell.toString(); Font f = tree.getFont(); FontMetrics fm = tree.getToolkit().getFontMetr... | 9,741 |
public TreePath getClosestPathForLocation(JTree tree, int x, int y) { int row = Math.round(y / getRowHeight()); TreePath path = getPathForRow(tree, row); // no row is visible at this node while (row > 0 && path == null) { --row; path = getPathForRow(tree, row); } return path; ... | public TreePath getClosestPathForLocation(JTree tree, int x, int y) { int row = Math.round(y / getMaxHeight(tree)); TreePath path = getPathForRow(tree, row); // no row is visible at this node while (row > 0 && path == null) { --row; path = getPathForRow(tree, row); } return pat... | 9,742 |
public Rectangle getPathBounds(JTree tree, TreePath path) { Rectangle bounds = null; int row = -1; Object cell = null; if (path != null) { row = getRowForPath(tree, path); cell = path.getLastPathComponent(); bounds = new Rectangle(0, row * getRowHeight(), 0, 0); } return... | public Rectangle getPathBounds(JTree tree, TreePath path) { int row = -1; Object cell = null; if (path != null) { row = getRowForPath(tree, path); cell = path.getLastPathComponent(); bounds = new Rectangle(0, row * getRowHeight(), 0, 0); } return nodeDimensions.getNodeD... | 9,743 |
public Rectangle getPathBounds(JTree tree, TreePath path) { Rectangle bounds = null; int row = -1; Object cell = null; if (path != null) { row = getRowForPath(tree, path); cell = path.getLastPathComponent(); bounds = new Rectangle(0, row * getRowHeight(), 0, 0); } return... | public Rectangle getPathBounds(JTree tree, TreePath path) { Rectangle bounds = null; int row = -1; Object cell = null; if (path != null) { row = getRowForPath(tree, path); cell = path.getLastPathComponent(); } return nodeDimensions.getNodeDimensions(cell, row, ... | 9,744 |
public Rectangle getPathBounds(JTree tree, TreePath path) { Rectangle bounds = null; int row = -1; Object cell = null; if (path != null) { row = getRowForPath(tree, path); cell = path.getLastPathComponent(); bounds = new Rectangle(0, row * getRowHeight(), 0, 0); } return... | public Rectangle getPathBounds(JTree tree, TreePath path) { Rectangle bounds = null; int row = -1; Object cell = null; if (path != null) { row = getRowForPath(tree, path); cell = path.getLastPathComponent(); bounds = new Rectangle(0, row * getRowHeight(), 0, 0); } return... | 9,745 |
public void installUI(JComponent c) { tree = (JTree) c; prepareForUIInstall(); super.installUI(c); installDefaults(); installComponents(); installKeyboardActions(); installListeners(); setCellEditor(createDefaultCellEditor()); createdCellEditor = true; isEditing = false; TreeMode... | public void installUI(JComponent c) { tree = (JTree) c; prepareForUIInstall(); super.installUI(c); installDefaults(); installComponents(); installKeyboardActions(); installListeners(); setCellEditor(createDefaultCellEditor()); createdCellEditor = true; isEditing = false; TreeMode... | 9,746 |
protected void setRowHeight(int rowHeight) { if (rowHeight == 0) rowHeight = this.rowHeight; treeState.setRowHeight(rowHeight); } | protected void setRowHeight(int rowHeight) { if (rowHeight == 0) rowHeight = Math.max(getMaxHeight(tree), 20); treeState.setRowHeight(rowHeight); } | 9,747 |
protected void updateCachedPreferredSize() { int maxWidth = 0; boolean isLeaf = false; if (currentVisiblePath != null) { Object[] path = currentVisiblePath.getPath(); for (int i = 0; i < path.length; i++) { TreePath curr = new TreePath(getPathToRoot(path[i], 0)); ... | protected void updateCachedPreferredSize() { int maxWidth = 0; boolean isLeaf = false; if (currentVisiblePath != null) { Object[] path = currentVisiblePath.getPath(); for (int i = 0; i < path.length; i++) { TreePath curr = new TreePath(getPathToRoot(path[i], 0)); ... | 9,748 |
public Object getCellEditorValue(); | Object getCellEditorValue(); | 9,749 |
public void cancelCellEditing(); | void cancelCellEditing(); | 9,750 |
public boolean stopCellEditing(); | boolean stopCellEditing(); | 9,751 |
public DefaultTreeCellEditor(JTree value0, DefaultTreeCellRenderer value1, TreeCellEditor value2) { // TODO } // DefaultTreeCellEditor() | public DefaultTreeCellEditor(JTree value0, DefaultTreeCellRenderer value1) { // TODO } // DefaultTreeCellEditor() | 9,752 |
public void paintComponent(Graphics graphics, Component c, Container p, Rectangle r) { // TODO } // paintComponent() | public void paintComponent(Graphics graphics, Component c, Container p, int x, int y, int w, int h, boolean shouldValidate) { // TODO } // paintComponent() | 9,753 |
public boolean shouldSelectCell(EventObject event); | boolean shouldSelectCell(EventObject event); | 9,754 |
public boolean isCellEditable(EventObject event); | boolean isCellEditable(EventObject event); | 9,755 |
public abstract int selectionForKey(char value0, ComboBoxModel value1); | int selectionForKey(char value0, ComboBoxModel value1); | 9,756 |
public void addActionListener(ActionListener value0) { // TODO } // addActionListener() | public void addActionListener(ActionListener value0) { // TODO } // addActionListener() | 9,757 |
public void removeActionListener(ActionListener value0) { // TODO } // removeActionListener() | public void removeActionListener(ActionListener value0) { // TODO } // removeActionListener() | 9,758 |
public int getColumnIndexAtX(int xPosition); | int getColumnIndexAtX(int xPosition); | 9,759 |
public Enumeration getColumns(); | Enumeration getColumns(); | 9,760 |
public int getSelectedColumnCount(); | int getSelectedColumnCount(); | 9,761 |
public int[] getSelectedColumns(); | int[] getSelectedColumns(); | 9,762 |
public void setSelectionModel(ListSelectionModel model); | void setSelectionModel(ListSelectionModel model); | 9,763 |
public void characters(char[] c, int off, int len) throws SAXException { if (interrupted) { return; } ctx.appendChild(createText(c, off, len)); } | public void characters(char[] c, int off, int len) throws SAXException { if (interrupted || len < 1) { return; } ctx.appendChild(createText(c, off, len)); } | 9,764 |
public void comment(char[] c, int off, int len) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node comment = createComment(c, off, len); ctx.appendChild(comment); } } | public void comment(char[] c, int off, int len) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node comment = createComment(c, off, len); ctx.appendChild(comment); } } | 9,765 |
public void comment(char[] c, int off, int len) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node comment = createComment(c, off, len); ctx.appendChild(comment); } } | public void comment(char[] c, int off, int len) throws SAXException { if (interrupted) { return; if (!inDTD) { Node comment = createComment(c, off, len); ctx.appendChild(comment); | 9,766 |
public void processingInstruction(String target, String data) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node pi = createProcessingInstruction(target, data); ctx.appendChild(pi); } } | public void processingInstruction(String target, String data) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node pi = createProcessingInstruction(target, data); ctx.appendChild(pi); } } | 9,767 |
public void processingInstruction(String target, String data) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node pi = createProcessingInstruction(target, data); ctx.appendChild(pi); } } | public void processingInstruction(String target, String data) throws SAXException { if (interrupted) { return; if (!inDTD) { Node pi = createProcessingInstruction(target, data); ctx.appendChild(pi); | 9,768 |
public void setTime(long time) { Calendar cal = getCalendar(); synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11... | public void setTime(long time) { Calendar cal = getCalendar(); synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11... | 9,770 |
public void setTime(long time) { Calendar cal = getCalendar(); synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11... | public void setTime(long time) { Calendar cal = getCalendar(); synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11... | 9,771 |
protected void savePalette(VgaIO io) { final int size = getPaletteSize(io); final byte[] r = new byte[size]; final byte[] g = new byte[size]; final byte[] b = new byte[size]; for (int i = size - 1; i >= 0; i--) { getPaletteEntry(io, i, r, g, b); } //log.debug("Save-Size:" + size + ", R=" + NumberUtils.hex(r))... | protected void savePalette(VgaIO io) { final int size = getPaletteSize(io); final byte[] r = new byte[size]; final byte[] g = new byte[size]; final byte[] b = new byte[size]; for (int i = size - 1; i >= 0; i--) { getPaletteEntry(io, i, r, g, b); } //log.debug("Save-Size:" + size + ", R=" + NumberUtils.hex(r))... | 9,774 |
private void moveDividerTo(int locationIndex) { Insets insets = splitPane.getInsets(); switch (locationIndex) { case 1: splitPane.setDividerLocation(splitPane.getLastDividerLocation()); break; case 0: int top = (orientation == JSplitPane.HORIZONTAL_SPLIT) ? insets.left ... | void moveDividerTo(int locationIndex) { Insets insets = splitPane.getInsets(); switch (locationIndex) { case 1: splitPane.setDividerLocation(splitPane.getLastDividerLocation()); break; case 0: int top = (orientation == JSplitPane.HORIZONTAL_SPLIT) ? insets.left ... | 9,775 |
public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != nul... | public IndexedPropertyDescriptor(String name, Class beanClass) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != null && setMethod.getParameterTypes().length != 1) { t... | 9,776 |
public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != nul... | public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != nul... | 9,777 |
public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != nul... | public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != nul... | 9,778 |
public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { this(); // bind/listen socket bind(new InetSocketAddress(bindAddr, port), backlog); } | public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { this(); // bind/listen socket bind(new InetSocketAddress(bindAddr, port), backlog); } | 9,779 |
public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { this(); // bind/listen socket bind(new InetSocketAddress(bindAddr, port), backlog); } | public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { if (impl == null) throw new NullPointerException("impl may not be null"); // bind/listen socket bind(new InetSocketAddress(bindAddr, port), backlog); } | 9,780 |
public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { this(); // bind/listen socket bind(new InetSocketAddress(bindAddr, port), backlog); } | public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { this(); // bind/listen socket this.impl = impl; this.impl.create(true); } | 9,781 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 9,782 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) throw new IOEx... | 9,783 |
public final void update(byte[]data) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(data, 0, data.length); else throw new SignatureException(); } | public final void update(byte b) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(data, 0, data.length); else throw new SignatureException(); } | 9,784 |
public final void update(byte[]data) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(data, 0, data.length); else throw new SignatureException(); } | public final void update(byte[]data) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(b); else throw new SignatureException(); } | 9,785 |
public Set getCriticalExtensionOIDs(); | Set getCriticalExtensionOIDs(); | 9,786 |
public byte[] getExtensionValue(String oid); | byte[] getExtensionValue(String oid); | 9,787 |
public X500Principal(byte[] encoded) { try { name = new X500DistinguishedName(encoded); } catch (IOException ioe) { throw new IllegalArgumentException(ioe.toString()); } } | public X500Principal(String name) { try { name = new X500DistinguishedName(encoded); } catch (IOException ioe) { throw new IllegalArgumentException(ioe.toString()); } } | 9,788 |
public X500Principal(byte[] encoded) { try { name = new X500DistinguishedName(encoded); } catch (IOException ioe) { throw new IllegalArgumentException(ioe.toString()); } } | public X500Principal(byte[] encoded) { try { name = new X500DistinguishedName(encoded); } catch (IOException ioe) { throw new IllegalArgumentException(ioe.toString()); } } | 9,789 |
public Set getNonCriticalExtensionOIDs(); | Set getNonCriticalExtensionOIDs(); | 9,790 |
public boolean hasUnsupportedCriticalExtension(); | boolean hasUnsupportedCriticalExtension(); | 9,791 |
public static KeyFactory getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) {} throw new NoSuchAlgorit... | public static KeyFactory getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) { } throw new NoSuchAlgorithmEx... | 9,792 |
public static AlgorithmParameters getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) {} throw new NoSu... | public static AlgorithmParameters getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) { } throw new NoSuchAl... | 9,793 |
CollationElement(String char_seq, int primary, short secondary, short tertiary){ this.char_seq = char_seq; this.primary = primary; this.secondary = secondary; this.tertiary = tertiary;} | CollationElement(String char_seq, int primary, short secondary, short tertiary){ this.char_seq = char_seq; this.primary = primary; this.secondary = secondary; this.tertiary = tertiary;} | 9,794 |
CollationElement(String char_seq, int primary, short secondary, short tertiary){ this.char_seq = char_seq; this.primary = primary; this.secondary = secondary; this.tertiary = tertiary;} | CollationElement(String char_seq, int primary, short secondary, short tertiary){ this.char_seq = char_seq; this.primary = primary; this.secondary = secondary; this.tertiary = tertiary;this.equality = equality; this.ignore = ignore; this.expansion = expansion; } | 9,795 |
RuleBasedCollator(String rules) throws ParseException{ this.rules = rules; if (rules.equals("")) throw new IllegalArgumentException("Empty rule set"); Vector v = new Vector(); boolean ignore_chars = true; int primary_seq = 0; short secondary_seq = 0; short tertiary_seq = 0; StringBuffer sb = new StringBuffer... | RuleBasedCollator(String rules) throws ParseException{ this.rules = rules; if (rules.equals("")) throw new IllegalArgumentException("Empty rule set"); Vector v = new Vector(); boolean ignore_chars = true; int primary_seq = 0; short secondary_seq = 0; short tertiary_seq = 0; StringBuffer sb = new StringBuffer... | 9,796 |
RuleBasedCollator(String rules) throws ParseException{ this.rules = rules; if (rules.equals("")) throw new IllegalArgumentException("Empty rule set"); Vector v = new Vector(); boolean ignore_chars = true; int primary_seq = 0; short secondary_seq = 0; short tertiary_seq = 0; StringBuffer sb = new StringBuffer... | RuleBasedCollator(String rules) throws ParseException{ this.rules = rules; if (rules.equals("")) throw new IllegalArgumentException("Empty rule set"); Vector v = new Vector(); boolean ignore_chars = true; int primary_seq = 0; short secondary_seq = 0; short tertiary_seq = 0; StringBuffer sb = new StringBuffer... | 9,797 |
clone(){ return super.clone();} | clone(){ return super.clone();} | 9,798 |
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER... | compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER... | 9,799 |
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER... | compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER... | 9,800 |
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER... | compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER... | 9,801 |
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER... | compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER... | 9,802 |
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER... | compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER... | 9,803 |
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER... | compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER... | 9,804 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.