bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public synchronized void setIconImage(Image icon) { this.icon = icon; if (peer != null) ((FramePeer) peer).setIconImage(icon); }
public synchronized void setIconImage(Image icon) { this.icon = icon; if (peer != null) ((FramePeer) peer).setIconImage(icon); }
21,928
public synchronized void setMenuBar(MenuBar menuBar) { this.menuBar = menuBar; if (peer != null) ((FramePeer) peer).setMenuBar(menuBar); }
public synchronized void setMenuBar(MenuBar menuBar) { this.menuBar = menuBar; if (peer != null) ((FramePeer) peer).setMenuBar(menuBar); }
21,929
public synchronized void setResizable(boolean resizable) { this.resizable = resizable; if (peer != null) ((FramePeer) peer).setResizable(resizable); }
public synchronized void setResizable(boolean resizable) { this.resizable = resizable; if (peer != null) ((FramePeer) peer).setResizable(resizable); }
21,930
public synchronized void setTitle(String title) { this.title = title; if (peer != null) ((FramePeer) peer).setTitle(title); }
public synchronized void setTitle(String title) { this.title = title; if (peer != null) ((FramePeer) peer).setTitle(title); }
21,931
public abstract Object get(String name, Object defvalue) throws IOException, IllegalArgumentException;
public abstract boolean get(String name, boolean defvalue) throws IOException, IllegalArgumentException;
21,933
public Serializable read_value() { return read_value((Class) null); }
public Serializable read_value() { return Vio.read(this); }
21,934
private void printList(File[] list, PrintStream out) { if (list != null) { Arrays.sort(list, new Comparator<File>() { public int compare(File f1, File f2) { boolean b1 = f1.isDirectory(); boolean b2 = f2.isDirectory(); return ...
private void printList(File[] list, PrintStream out) { if (list != null) { Arrays.sort(list, new Comparator<File>() { public int compare(File f1, File f2) { boolean b1 = f1.isDirectory(); boolean b2 = f2.isDirectory(); return ...
21,935
private void printList(File[] list, PrintStream out) { if (list != null) { Arrays.sort(list, new Comparator<File>() { public int compare(File f1, File f2) { boolean b1 = f1.isDirectory(); boolean b2 = f2.isDirectory(); return ...
private void printList(File[] list, PrintStream out) { if (list != null) { Arrays.sort(list, new Comparator<File>() { public int compare(File f1, File f2) { boolean b1 = f1.isDirectory(); boolean b2 = f2.isDirectory(); return ...
21,936
private void printList(File[] list, PrintStream out) { if (list != null) { Arrays.sort(list, new Comparator<File>() { public int compare(File f1, File f2) { boolean b1 = f1.isDirectory(); boolean b2 = f2.isDirectory(); return ...
private void printList(File[] list, PrintStream out) { if (list != null) { Arrays.sort(list, new Comparator<File>() { public int compare(File f1, File f2) { boolean b1 = f1.isDirectory(); boolean b2 = f2.isDirectory(); return ...
21,937
protected URLConnection openConnection(URL url) throws IOException { // If a hostname is set, then we need to switch protocols to ftp // in order to transfer this from the remote host. String host = url.getHost(); if ((host != null) && (! host.equals(""))) { throw new IOException("ftp protoco...
protected URLConnection openConnection(URL url) throws IOException { // If a hostname is set, then we need to switch protocols to ftp // in order to transfer this from the remote host. String host = url.getHost(); if ((host != null) && (! host.equals(""))) { throw new IOException("ftp protoco...
21,938
protected URLConnection openConnection(URL url) throws IOException { // If a hostname is set, then we need to switch protocols to ftp // in order to transfer this from the remote host. String host = url.getHost(); if ((host != null) && (! host.equals(""))) { throw new IOException("ftp protoco...
protected URLConnection openConnection(URL url) throws IOException{// If a hostname is set, then we need to switch protocols to ftp// in order to transfer this from the remote host.String host = url.getHost();if ((host != null) && (! host.equals(""))){throw new IOException("ftp protocol handler not yet implemented.");/...
21,939
protected URLConnection openConnection(URL url) throws IOException { // If a hostname is set, then we need to switch protocols to ftp // in order to transfer this from the remote host. String host = url.getHost(); if ((host != null) && (! host.equals(""))) { throw new IOException("ftp protoco...
protected URLConnection openConnection(URL url) throws IOException { // If a hostname is set, then we need to switch protocols to ftp // in order to transfer this from the remote host. String host = url.getHost(); if ((host != null) && (! host.equals(""))) { throw new IOException("ftp protoco...
21,940
TransferableProxy (Transferable t, boolean local) { this.transferable = t; this.isLocal = local; }
TransferableProxy(Transferable t, boolean local) { this.transferable = t; this.isLocal = local; }
21,941
public Object getTransferData (DataFlavor flavor) throws UnsupportedFlavorException, IOException { return transferable.getTransferData (flavor); }
public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException { return transferable.getTransferData (flavor); }
21,942
public DataFlavor[] getTransferDataFlavors () { return transferable.getTransferDataFlavors (); }
public DataFlavor[] getTransferDataFlavors() { return transferable.getTransferDataFlavors (); }
21,943
public DataFlavor[] getTransferDataFlavors () { return transferable.getTransferDataFlavors (); }
public DataFlavor[] getTransferDataFlavors () { return transferable.getTransferDataFlavors(); }
21,944
public boolean isDataFlavorSupported (DataFlavor flavor) { return transferable.isDataFlavorSupported (flavor); }
public boolean isDataFlavorSupported(DataFlavor flavor) { return transferable.isDataFlavorSupported (flavor); }
21,945
public boolean isDataFlavorSupported (DataFlavor flavor) { return transferable.isDataFlavorSupported (flavor); }
public boolean isDataFlavorSupported (DataFlavor flavor) { return transferable.isDataFlavorSupported(flavor); }
21,946
DropTargetContext (DropTarget dropTarget) { this.dropTarget = dropTarget; }
DropTargetContext(DropTarget dropTarget) { this.dropTarget = dropTarget; }
21,947
protected void acceptDrag (int dragOperation) { // FIXME: implement this }
protected void acceptDrag(int dragOperation) throws NotImplementedException { // FIXME: implement this }
21,948
protected void acceptDrop (int dropOperation) { // FIXME: implement this }
protected void acceptDrop(int dropOperation) throws NotImplementedException { // FIXME: implement this }
21,949
public void addNotify (java.awt.dnd.peer.DropTargetContextPeer dtcp) { this.dtcp = dtcp; }
public void addNotify(java.awt.dnd.peer.DropTargetContextPeer dtcp) { this.dtcp = dtcp; }
21,950
protected Transferable createTransferableProxy(Transferable t, boolean local) { return new TransferableProxy (t, local); }
protected Transferable createTransferableProxy(Transferable t, boolean local) { return new TransferableProxy(t, local); }
21,951
public void dropComplete (boolean success) { // FIXME: implement this }
public void dropComplete(boolean success) throws NotImplementedException { // FIXME: implement this }
21,952
public Component getComponent () { return dropTarget.getComponent (); }
public Component getComponent() { return dropTarget.getComponent (); }
21,953
public Component getComponent () { return dropTarget.getComponent (); }
public Component getComponent () { return dropTarget.getComponent(); }
21,954
protected DataFlavor[] getCurrentDataFlavors () { // FIXME: implement this return null; }
protected DataFlavor[] getCurrentDataFlavors() throws NotImplementedException { // FIXME: implement this return null; }
21,955
protected List getCurrentDataFlavorsAsList () { return Arrays.asList (getCurrentDataFlavors ()); }
protected List getCurrentDataFlavorsAsList() { return Arrays.asList (getCurrentDataFlavors ()); }
21,956
protected List getCurrentDataFlavorsAsList () { return Arrays.asList (getCurrentDataFlavors ()); }
protected List getCurrentDataFlavorsAsList () { return Arrays.asList(getCurrentDataFlavors()); }
21,957
public DropTarget getDropTarget () { return dropTarget; }
public DropTarget getDropTarget() { return dropTarget; }
21,958
protected Transferable getTransferable() throws InvalidDnDOperationException { // FIXME: implement this return null; }
protected Transferable getTransferable() throws InvalidDnDOperationException, NotImplementedException { // FIXME: implement this return null; }
21,959
protected boolean isDataFlavorSupported (DataFlavor flavor) { return getCurrentDataFlavorsAsList ().contains (flavor); }
protected boolean isDataFlavorSupported(DataFlavor flavor) { return getCurrentDataFlavorsAsList ().contains (flavor); }
21,960
protected boolean isDataFlavorSupported (DataFlavor flavor) { return getCurrentDataFlavorsAsList ().contains (flavor); }
protected boolean isDataFlavorSupported (DataFlavor flavor) { return getCurrentDataFlavorsAsList().contains(flavor); }
21,961
protected void rejectDrag () { // FIXME: implement this }
protected void rejectDrag() throws NotImplementedException { // FIXME: implement this }
21,962
protected void rejectDrop () { // FIXME: implement this }
protected void rejectDrop() throws NotImplementedException { // FIXME: implement this }
21,963
public void removeNotify () { this.dtcp = null; }
public void removeNotify() { this.dtcp = null; }
21,964
protected void setTargetActions (int actions) { targetActions = actions; }
protected void setTargetActions(int actions) { targetActions = actions; }
21,965
public AbstractButton() { this("",null); }
public AbstractButton() { init("", null); updateUI(); }
21,966
protected void fireActionPerformed(ActionEvent e) { e.setSource(this); ActionListener[] listeners = getActionListeners(); for (int i = 0; i < listeners.length; i++) listeners[i].actionPerformed(e); }
protected void fireActionPerformed(ActionEvent e) { ActionEvent ae = new ActionEvent( this, e.getID(), getActionCommand(), e.getWhen(), e.getModifiers()); ActionListener[] listeners = getActionListeners(); for (int i = 0; i < listeners.length; i++) listeners[i].actionPerformed(e); }
21,967
protected void fireActionPerformed(ActionEvent e) { e.setSource(this); ActionListener[] listeners = getActionListeners(); for (int i = 0; i < listeners.length; i++) listeners[i].actionPerformed(e); }
protected void fireActionPerformed(ActionEvent e) { e.setSource(this); ActionListener[] listeners = getActionListeners(); for (int i = 0; i < listeners.length; i++) listeners[i].actionPerformed(ae); }
21,968
public String getActionCommand() { return getModel().getActionCommand(); }
public String getActionCommand() { String ac = model.getActionCommand(); if (ac != null) return ac; else return text; }
21,969
public void setActionCommand(String aCommand) { getModel().setActionCommand(aCommand); }
public void setActionCommand(String actionCommand) { getModel().setActionCommand(aCommand); }
21,971
public void setActionCommand(String aCommand) { getModel().setActionCommand(aCommand); }
public void setActionCommand(String aCommand) { model.setActionCommand(actionCommand); }
21,972
compareTo(Object obj){ return(compareTo((CollationKey)obj));}
compareTo(Object obj){ return(compareTo((CollationKey)obj));}
21,973
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof CollationKey)) return(false); CollationKey ck = (CollationKey)obj; if (!ck.collator.equals(collator)) return(false); if (!ck.getSourceString().equals(getSourceString())) return(false); if (!ck.toByteArray().equals(toByteArray()))...
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof CollationKey)) return(false); CollationKey ck = (CollationKey)obj; if (!ck.collator.equals(collator)) return(false); if (!ck.getSourceString().equals(getSourceString())) return(false); if (!ck.toByteArray().equals(toByteArray()))...
21,974
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof CollationKey)) return(false); CollationKey ck = (CollationKey)obj; if (!ck.collator.equals(collator)) return(false); if (!ck.getSourceString().equals(getSourceString())) return(false); if (!ck.toByteArray().equals(toByteArray()))...
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof CollationKey)) return(false); CollationKey ck = (CollationKey)obj; if (!ck.collator.equals(collator)) return(false); if (!ck.getSourceString().equals(getSourceString())) return(false); if (!ck.toByteArray().equals(toByteArray()))...
21,975
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof CollationKey)) return(false); CollationKey ck = (CollationKey)obj; if (!ck.collator.equals(collator)) return(false); if (!ck.getSourceString().equals(getSourceString())) return(false); if (!ck.toByteArray().equals(toByteArray()))...
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof CollationKey)) return(false); if (ck.collator != collator) return false; if (!ck.collator.equals(collator)) return(false); if (!ck.getSourceString().equals(getSourceString())) return(false); if (!ck.toByteArray().equals(toByteArr...
21,976
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof CollationKey)) return(false); CollationKey ck = (CollationKey)obj; if (!ck.collator.equals(collator)) return(false); if (!ck.getSourceString().equals(getSourceString())) return(false); if (!ck.toByteArray().equals(toByteArray()))...
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof CollationKey)) return(false); CollationKey ck = (CollationKey)obj; if (!ck.collator.equals(collator)) return(false); if (!ck.getSourceString().equals(getSourceString())) return(false); if (!ck.toByteArray().equals(toByteArray()))...
21,977
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof CollationKey)) return(false); CollationKey ck = (CollationKey)obj; if (!ck.collator.equals(collator)) return(false); if (!ck.getSourceString().equals(getSourceString())) return(false); if (!ck.toByteArray().equals(toByteArray()))...
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof CollationKey)) return(false); CollationKey ck = (CollationKey)obj; if (!ck.collator.equals(collator)) return(false); if (!ck.getSourceString().equals(getSourceString())) return(false); if (!ck.toByteArray().equals(toByteArray()))...
21,978
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof CollationKey)) return(false); CollationKey ck = (CollationKey)obj; if (!ck.collator.equals(collator)) return(false); if (!ck.getSourceString().equals(getSourceString())) return(false); if (!ck.toByteArray().equals(toByteArray()))...
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof CollationKey)) return(false); CollationKey ck = (CollationKey)obj; if (!ck.collator.equals(collator)) return(false); if (!ck.getSourceString().equals(getSourceString())) return(false); if (!ck.toByteArray().equals(toByteArray()))...
21,979
getSourceString(){ return(str);}
getSourceString(){ return(str);}
21,980
hashCode(){ return(key.hashCode());}
hashCode(){ return(key.hashCode());}
21,981
toByteArray(){ return(key);}
toByteArray(){ return(key);}
21,982
public void finishedPaintingChildren(JSplitPane pane, Graphics g) { Iterator iterator = uis.iterator(); while (iterator.hasNext()) { SplitPaneUI ui = (SplitPaneUI) iterator.next(); ui.finishedPaintingChildren(pane, g); } }
public void finishedPaintingChildren(JSplitPane pane, Graphics g) { Iterator iterator = uis.iterator(); while (iterator.hasNext()) { SplitPaneUI ui = (SplitPaneUI) iterator.next(); ui.finishedPaintingChildren(pane, g); } }
21,983
public int getDividerLocation(JSplitPane pane) { int result = 0; Iterator iterator = uis.iterator(); // first UI delegate provides the return value if (iterator.hasNext()) { SplitPaneUI ui = (SplitPaneUI) iterator.next(); result = ui.getDividerLocation(pane); } // return values...
public int getDividerLocation(JSplitPane pane) { int result = 0; Iterator iterator = uis.iterator(); // first UI delegate provides the return value if (iterator.hasNext()) { SplitPaneUI ui = (SplitPaneUI) iterator.next(); result = ui.getDividerLocation(pane); } // return values...
21,984
public int getMaximumDividerLocation(JSplitPane pane) { int result = 0; Iterator iterator = uis.iterator(); // first UI delegate provides the return value if (iterator.hasNext()) { SplitPaneUI ui = (SplitPaneUI) iterator.next(); result = ui.getMaximumDividerLocation(pane); } //...
public int getMaximumDividerLocation(JSplitPane pane) { int result = 0; Iterator iterator = uis.iterator(); // first UI delegate provides the return value if (iterator.hasNext()) { SplitPaneUI ui = (SplitPaneUI) iterator.next(); result = ui.getMaximumDividerLocation(pane); } //...
21,985
public int getMinimumDividerLocation(JSplitPane pane) { int result = 0; Iterator iterator = uis.iterator(); // first UI delegate provides the return value if (iterator.hasNext()) { SplitPaneUI ui = (SplitPaneUI) iterator.next(); result = ui.getMinimumDividerLocation(pane); } //...
public int getMinimumDividerLocation(JSplitPane pane) { int result = 0; Iterator iterator = uis.iterator(); // first UI delegate provides the return value if (iterator.hasNext()) { SplitPaneUI ui = (SplitPaneUI) iterator.next(); result = ui.getMinimumDividerLocation(pane); } //...
21,986
public void resetToPreferredSizes(JSplitPane pane) { Iterator iterator = uis.iterator(); while (iterator.hasNext()) { SplitPaneUI ui = (SplitPaneUI) iterator.next(); ui.resetToPreferredSizes(pane); } }
public void resetToPreferredSizes(JSplitPane pane) { Iterator iterator = uis.iterator(); while (iterator.hasNext()) { SplitPaneUI ui = (SplitPaneUI) iterator.next(); ui.resetToPreferredSizes(pane); } }
21,987
public void setDividerLocation(JSplitPane pane, int location) { Iterator iterator = uis.iterator(); while (iterator.hasNext()) { SplitPaneUI ui = (SplitPaneUI) iterator.next(); ui.setDividerLocation(pane, location); } }
public void setDividerLocation(JSplitPane pane, int location) { Iterator iterator = uis.iterator(); while (iterator.hasNext()) { SplitPaneUI ui = (SplitPaneUI) iterator.next(); ui.setDividerLocation(pane, location); } }
21,988
TemplateNode clone(Stylesheet stylesheet) { int len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) { withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); } TemplateNode ret = new CallTemplateNode(name, withParams2); if (childre...
TemplateNode clone(Stylesheet stylesheet) int len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); } TemplateNode ret = new CallTemplateNode(name, withParams2); if (children !=...
21,989
TemplateNode clone(Stylesheet stylesheet) { int len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) { withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); } TemplateNode ret = new CallTemplateNode(name, withParams2); if (childre...
TemplateNode clone(Stylesheet stylesheet) { int len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) { withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); TemplateNode ret = new CallTemplateNode(name, withParams2); if (children ...
21,990
TemplateNode clone(Stylesheet stylesheet) { int len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) { withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); } TemplateNode ret = new CallTemplateNode(name, withParams2); if (childre...
TemplateNode clone(Stylesheet stylesheet) int len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); } TemplateNode ret = new CallTemplateNode(name, withParams2); if (children !=...
21,991
TemplateNode clone(Stylesheet stylesheet) { int len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) { withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); } TemplateNode ret = new CallTemplateNode(name, withParams2); if (childre...
TemplateNode clone(Stylesheet stylesheet) { int len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) { withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); TemplateNode ret = new CallTemplateNode(name, withParams2); if (children ...
21,992
TemplateNode clone(Stylesheet stylesheet) { int len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) { withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); } TemplateNode ret = new CallTemplateNode(name, withParams2); if (childre...
TemplateNode clone(Stylesheet stylesheet) int len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); } TemplateNode ret = new CallTemplateNode(name, withParams2); if (children !=...
21,993
TemplateNode clone(Stylesheet stylesheet) { int len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) { withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); } TemplateNode ret = new CallTemplateNode(name, withParams2); if (childre...
TemplateNode clone(Stylesheet stylesheet) { int len = withParams.size(); List withParams2 = new ArrayList(len); for (int i = 0; i < len; i++) { withParams2.add(((WithParam) withParams.get(i)).clone(stylesheet)); TemplateNode ret = new CallTemplateNode(name, withParams2); if (children ...
21,994
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // compute the parameter values LinkedList values = new LinkedList(); for (Iterator i = wi...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // compute the parameter values LinkedList values = new LinkedList(); for (Iterator i = wi...
21,995
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // compute the parameter values LinkedList values = new LinkedList(); for (Iterator i = wi...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException if (withParams != null) // compute the parameter values LinkedList values = new LinkedList(); for (Iterator i = withPa...
21,996
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // compute the parameter values LinkedList values = new LinkedList(); for (Iterator i = wi...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // compute the parameter values LinkedList values = new LinkedList(); for (Iterator i = wi...
21,997
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // compute the parameter values LinkedList values = new LinkedList(); for (Iterator i = wi...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // compute the parameter values LinkedList values = new LinkedList(); for (Iterator i = wi...
21,998
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // compute the parameter values LinkedList values = new LinkedList(); for (Iterator i = wi...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException if (withParams != null) // compute the parameter values LinkedList values = new LinkedList(); for (Iterator i = withPa...
21,999
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // compute the parameter values LinkedList values = new LinkedList(); for (Iterator i = wi...
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { if (withParams != null) { // compute the parameter values LinkedList values = new LinkedList(); for (Iterator i = wi...
22,000
public boolean references(QName var) { if (withParams != null) { for (Iterator i = withParams.iterator(); i.hasNext(); ) { if (((WithParam) i.next()).references(var)) { return true; } } } return super.references(var); }
public boolean references(QName var) if (withParams != null) for (Iterator i = withParams.iterator(); i.hasNext(); ) if (((WithParam) i.next()).references(var)) return true; } } } return super.references(var); }
22,001
public boolean references(QName var) { if (withParams != null) { for (Iterator i = withParams.iterator(); i.hasNext(); ) { if (((WithParam) i.next()).references(var)) { return true; } } } return super.references(var); }
public boolean references(QName var) { if (withParams != null) { for (Iterator i = withParams.iterator(); i.hasNext(); ) { if (((WithParam) i.next()).references(var)) { return true; return super.references(var); }
22,002
public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("name="); buf.append(name); buf.append(']'); return buf.toString(); }
public String toString() { StringBuffer buf = new StringBuffer("call-template"); buf.append('['); buf.append("name="); buf.append(name); buf.append(']'); return buf.toString(); }
22,003
protected CertificateFactory(CertificateFactorySpi certFacSpi, Provider provider, String type) { this.certFacSpi = certFacSpi; this.provider = provider; this.type = type; }
protected CertificateFactory(CertificateFactorySpi certFacSpi, Provider provider, String type) { this.certFacSpi = certFacSpi; this.provider = provider; this.type = type; }
22,004
public final CRL generateCRL(InputStream inStream) throws CRLException { return certFacSpi.engineGenerateCRL( inStream ); }
public final CRL generateCRL(InputStream inStream) throws CRLException { return certFacSpi.engineGenerateCRL(inStream); }
22,005
public void deiconifyFrame(JInternalFrame frame) { final JDesktopPane p = frame.getDesktopPane(); //frame.setVisible(true); if (p != null) { p.setSelectedFrame(frame); } }
frame.setVisible(true); frame.setVisible(true); frame.setVisible(true); frame.setVisible(true); frame.setVisible(true); frame.setVisible(true); frame.setVisible(true); frame.setVisible(true); publicframe.setVisible(true); voidframe.setVisible(true); deiconifyFrame(JInternalFrameframe.setVisible(true); frame)frame.setVi...
22,006
public void iconifyFrame(JInternalFrame frame) { final JDesktopPane p = frame.getDesktopPane(); //frame.setVisible(false); if ((p != null) && (p.getSelectedFrame() == frame)) { p.setSelectedFrame(null); } }
frame.setVisible(false); frame.setVisible(false); frame.setVisible(false); frame.setVisible(false); frame.setVisible(false); frame.setVisible(false); frame.setVisible(false); frame.setVisible(false); publicframe.setVisible(false); voidframe.setVisible(false); iconifyFrame(JInternalFrameframe.setVisible(false); frame)fr...
22,007
public URLStreamHandler() { }
public URLStreamHandler() { }
22,013
private static String canonicalizeFilename(String file) { // XXX - GNU Classpath has an implementation that might be more appropriate // for Windows based systems (gnu.java.io.PlatformHelper.toCanonicalForm) int index; // Replace "/./" with "/". This probably isn't very efficient in // the general case, but it's...
private static String canonicalizeFilename(String file) { // XXX - GNU Classpath has an implementation that might be more appropriate // for Windows based systems (gnu.java.io.PlatformHelper.toCanonicalForm) int index; // Replace "/./" with "/". This probably isn't very efficient in // the general case, but it's...
22,014
private static String canonicalizeFilename(String file) { // XXX - GNU Classpath has an implementation that might be more appropriate // for Windows based systems (gnu.java.io.PlatformHelper.toCanonicalForm) int index; // Replace "/./" with "/". This probably isn't very efficient in // the general case, but it's...
privatestaticStringcanonicalizeFilename(Stringfile){ //XXX-GNUClasspathhasanimplementationthatmightbemoreappropriate //forWindowsbasedsystems(gnu.java.io.PlatformHelper.toCanonicalForm) intindex; //Replace"/./"with"/".Thisprobablyisn'tveryefficientin //thegeneralcase,butit'sprobablynotbadmostofthetime. while((in...
22,015
private static String canonicalizeFilename(String file) { // XXX - GNU Classpath has an implementation that might be more appropriate // for Windows based systems (gnu.java.io.PlatformHelper.toCanonicalForm) int index; // Replace "/./" with "/". This probably isn't very efficient in // the general case, but it's...
private static String canonicalizeFilename(String file) { // XXX - GNU Classpath has an implementation that might be more appropriate // for Windows based systems (gnu.java.io.PlatformHelper.toCanonicalForm) int index; // Replace "/./" with "/". This probably isn't very efficient in // the general case, but it's...
22,016
protected boolean equals(URL url1, URL url2) { // This comparison is very conservative. It assumes that any // field can be null. return ( url1.getPort() == url2.getPort() && ((url1.getProtocol() == null && url2.getProtocol() == null) || (url1.getProtocol() != null && url1.getProtocol().equals(url2.g...
protected boolean equals(URL url1, URL url2) { // This comparison is very conservative. It assumes that any // field can be null. return ( url1.getPort() == url2.getPort() && ((url1.getProtocol() == null && url2.getProtocol() == null) || (url1.getProtocol() != null && url1.getProtocol().equals(url2.g...
22,017
protected boolean equals(URL url1, URL url2) { // This comparison is very conservative. It assumes that any // field can be null. return ( url1.getPort() == url2.getPort() && ((url1.getProtocol() == null && url2.getProtocol() == null) || (url1.getProtocol() != null && url1.getProtocol().equals(url2.g...
protected boolean equals(URL url1, URL url2) { // This comparison is very conservative. It assumes that any // field can be null. return ( url1.getPort() == url2.getPort() && ((url1.getProtocol() == null && url2.getProtocol() == null) || (url1.getProtocol() != null && url1.getProtocol().equals(url2.g...
22,018
protected boolean equals(URL url1, URL url2) { // This comparison is very conservative. It assumes that any // field can be null. return ( url1.getPort() == url2.getPort() && ((url1.getProtocol() == null && url2.getProtocol() == null) || (url1.getProtocol() != null && url1.getProtocol().equals(url2.g...
protected boolean equals(URL url1, URL url2) { // This comparison is very conservative. It assumes that any // field can be null. return ( url1.getPort() == url2.getPort() && ((url1.getProtocol() == null && url2.getProtocol() == null) || (url1.getProtocol() != null && url1.getProtocol().equals(url2.g...
22,019
protected boolean equals(URL url1, URL url2) { // This comparison is very conservative. It assumes that any // field can be null. return ( url1.getPort() == url2.getPort() && ((url1.getProtocol() == null && url2.getProtocol() == null) || (url1.getProtocol() != null && url1.getProtocol().equals(url2.g...
protected boolean equals(URL url1, URL url2) { // This comparison is very conservative. It assumes that any // field can be null. return ( url1.getPort() == url2.getPort() && ((url1.getProtocol() == null && url2.getProtocol() == null) || (url1.getProtocol() != null && url1.getProtocol().equals(url2.g...
22,020
protected boolean equals(URL url1, URL url2) { // This comparison is very conservative. It assumes that any // field can be null. return ( url1.getPort() == url2.getPort() && ((url1.getProtocol() == null && url2.getProtocol() == null) || (url1.getProtocol() != null && url1.getProtocol().equals(url2.g...
protected boolean equals(URL url1, URL url2) { // This comparison is very conservative. It assumes that any // field can be null. return ( url1.getPort() == url2.getPort() && ((url1.getProtocol() == null && url2.getProtocol() == null) || (url1.getProtocol() != null && url1.getProtocol().equals(url2.g...
22,021
protected int getDefaultPort() { return -1; }
protected int getDefaultPort() { return -1; }
22,022
protected InetAddress getHostAddress(URL url) { String hostname = url.getHost(); if (hostname == "") return null; try { return InetAddress.getByName(hostname); } catch (UnknownHostException e) { return null; } }
protected InetAddress getHostAddress(URL url) { String hostname = url.getHost(); if (hostname == "") return null; try { return InetAddress.getByName(hostname); } catch (UnknownHostException e) { return null; } }
22,023
protected InetAddress getHostAddress(URL url) { String hostname = url.getHost(); if (hostname == "") return null; try { return InetAddress.getByName(hostname); } catch (UnknownHostException e) { return null; } }
protected InetAddress getHostAddress(URL url) { String hostname = url.getHost(); if (hostname == "") return null; try { return InetAddress.getByName(hostname); } catch (UnknownHostException e) { return null; } }
22,024
protected InetAddress getHostAddress(URL url) { String hostname = url.getHost(); if (hostname == "") return null; try { return InetAddress.getByName(hostname); } catch (UnknownHostException e) { return null; } }
protected InetAddress getHostAddress(URL url) { String hostname = url.getHost(); if (hostname == "") return null; try { return InetAddress.getByName(hostname); } catch (UnknownHostException e) { return null; } }
22,025
protected InetAddress getHostAddress(URL url) { String hostname = url.getHost(); if (hostname == "") return null; try { return InetAddress.getByName(hostname); } catch (UnknownHostException e) { return null; } }
protected InetAddress getHostAddress(URL url) { String hostname = url.getHost(); if (hostname == "") return null; try { return InetAddress.getByName(hostname); } catch (UnknownHostException e) { return null; } }
22,026
protected int hashCode(URL url) { return url.getProtocol().hashCode() + ((url.getHost() == null) ? 0 : url.getHost().hashCode()) + url.getFile().hashCode() + url.getPort(); }
protected int hashCode(URL url) { return url.getProtocol().hashCode() + ((url.getHost() == null) ? 0 : url.getHost().hashCode()) + url.getFile().hashCode() + url.getPort(); }
22,027
protected int hashCode(URL url) { return url.getProtocol().hashCode() + ((url.getHost() == null) ? 0 : url.getHost().hashCode()) + url.getFile().hashCode() + url.getPort(); }
protected int hashCode(URL url) { return url.getProtocol().hashCode() + ((url.getHost() == null) ? 0 : url.getHost().hashCode()) + url.getFile().hashCode() + url.getPort(); }
22,028
protected boolean hostsEqual(URL url1, URL url2) throws UnknownHostException { InetAddress addr1 = InetAddress.getByName(url1.getHost()); InetAddress addr2 = InetAddress.getByName(url2.getHost()); return addr1.equals(addr2); }
protected boolean hostsEqual(URL url1, URL url2) throws UnknownHostException { InetAddress addr1 = InetAddress.getByName(url1.getHost()); InetAddress addr2 = InetAddress.getByName(url2.getHost()); return addr1.equals(addr2); }
22,029
protected abstract URLConnection openConnection(URL u) throws IOException;
protected abstract URLConnection openConnection(URL u) throws IOException;
22,031
protected void parseURL(URL url, String spec, int start, int end) { String host = url.getHost(); int port = url.getPort(); String file = url.getFile(); String ref = url.getRef(); if (spec.regionMatches(start, "//", 0, 2)) { int hostEnd; int colon; start += 2; int slash = spec.indexOf('/', start); if (sl...
protected void parseURL(URL url, String spec, int start, int end) { String host = url.getHost(); int port = url.getPort(); String file = url.getFile(); String ref = url.getRef(); if (spec.regionMatches(start, "//", 0, 2)) { int hostEnd; int colon; start += 2; int slash = spec.indexOf('/', start); if (sl...
22,032
protected void parseURL(URL url, String spec, int start, int end) { String host = url.getHost(); int port = url.getPort(); String file = url.getFile(); String ref = url.getRef(); if (spec.regionMatches(start, "//", 0, 2)) { int hostEnd; int colon; start += 2; int slash = spec.indexOf('/', start); if (sl...
protected void parseURL(URL url, String spec, int start, int end) { String host = url.getHost(); int port = url.getPort(); String file = url.getFile(); String ref = url.getRef(); if (spec.regionMatches(start, "//", 0, 2)) { int hostEnd; int colon; start += 2; int slash = spec.indexOf('/', start); if (sl...
22,033
protected void parseURL(URL url, String spec, int start, int end) { String host = url.getHost(); int port = url.getPort(); String file = url.getFile(); String ref = url.getRef(); if (spec.regionMatches(start, "//", 0, 2)) { int hostEnd; int colon; start += 2; int slash = spec.indexOf('/', start); if (sl...
protected void parseURL(URL url, String spec, int start, int end) { String host = url.getHost(); int port = url.getPort(); String file = url.getFile(); String ref = url.getRef(); if (spec.regionMatches(start, "//", 0, 2)) { int hostEnd; int colon; start += 2; int slash = spec.indexOf('/', start); if (sl...
22,034
protected void parseURL(URL url, String spec, int start, int end) { String host = url.getHost(); int port = url.getPort(); String file = url.getFile(); String ref = url.getRef(); if (spec.regionMatches(start, "//", 0, 2)) { int hostEnd; int colon; start += 2; int slash = spec.indexOf('/', start); if (sl...
protected void parseURL(URL url, String spec, int start, int end) { String host = url.getHost(); int port = url.getPort(); String file = url.getFile(); String ref = url.getRef(); if (spec.regionMatches(start, "//", 0, 2)) { int hostEnd; int colon; start += 2; int slash = spec.indexOf('/', start); if (sl...
22,035