bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
protected ServerSocketChannelImpl (SelectorProvider provider) throws IOException { super (provider); serverSocket = new NIOServerSocket (this); configureBlocking(true); } | protected ServerSocketChannelImpl (SelectorProvider provider) throws IOException { super (provider); serverSocket = new NIOServerSocket (this); configureBlocking(true); } | 20,961 |
public SocketChannel accept () throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (!serverSocket.isBound()) throw new NotYetBoundException(); boolean completed = false; try { begin(); serverSocket.getPlainSocketImpl().setInChannelOperation(true); ... | public SocketChannel accept () throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (!serverSocket.isBound()) throw new NotYetBoundException(); boolean completed = false; try { begin(); serverSocket.getPlainSocketImpl().setInChannelOperation(true); ... | 20,962 |
public SocketChannel accept () throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (!serverSocket.isBound()) throw new NotYetBoundException(); boolean completed = false; try { begin(); serverSocket.getPlainSocketImpl().setInChannelOperation(true); ... | public SocketChannel accept () throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (!serverSocket.isBound()) throw new NotYetBoundException(); boolean completed = false; try { begin(); serverSocket.getPlainSocketImpl().setInChannelOperation(true); ... | 20,963 |
public SocketChannel accept () throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (!serverSocket.isBound()) throw new NotYetBoundException(); boolean completed = false; try { begin(); serverSocket.getPlainSocketImpl().setInChannelOperation(true); ... | public SocketChannel accept () throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (!serverSocket.isBound()) throw new NotYetBoundException(); boolean completed = false; try { begin(); serverSocket.getPlainSocketImpl().setInChannelOperation(true); ... | 20,964 |
public void finalizer() { if (connected) { try { close (); } catch (Exception e) { } } } | public void finalizer() { if (channel.getState().isValid()) { try { close (); } catch (Exception e) { } } } | 20,965 |
public void finalizer() { if (connected) { try { close (); } catch (Exception e) { } } } | public void finalizer() { if (connected) { try { close (); } catch (Exception e) { } } } | 20,966 |
protected void implCloseSelectableChannel () throws IOException { connected = false; serverSocket.close(); } | protected void implCloseSelectableChannel () throws IOException { connected = false; serverSocket.close(); } | 20,967 |
protected void implConfigureBlocking (boolean blocking) throws IOException { serverSocket.setSoTimeout (blocking ? 0 : NIOConstants.DEFAULT_TIMEOUT); } | protected void implConfigureBlocking (boolean blocking) throws IOException { serverSocket.setSoTimeout (blocking ? 0 : NIOConstants.DEFAULT_TIMEOUT); } | 20,968 |
public ServerSocket socket () { return serverSocket; } | public ServerSocket socket() { return serverSocket; } | 20,969 |
public ServerSocket socket () { return serverSocket; } | public ServerSocket socket () { return serverSocket; } | 20,970 |
public void addChangeListener(ChangeListener listener); | public void addChangeListener(ChangeListener listener); | 20,971 |
public int getExtent(); | public int getExtent(); | 20,972 |
public int getMaximum(); | public int getMaximum(); | 20,973 |
public int getMinimum(); | public int getMinimum(); | 20,974 |
public int getValue(); | public int getValue(); | 20,975 |
public boolean getValueIsAdjusting(); | public boolean getValueIsAdjusting(); | 20,976 |
public void removeChangeListener(ChangeListener listener); | public void removeChangeListener(ChangeListener listener); | 20,977 |
public void setExtent(int extent); | public void setExtent(int extent); | 20,978 |
public void setMaximum(int maximum); | public void setMaximum(int maximum); | 20,979 |
public void setMinimum(int minimum); | public void setMinimum(int minimum); | 20,980 |
public void setRangeProperties(int value, int extent, int min, int max, boolean adjusting); | void setRangeProperties(int value, int extent, int min, int max, boolean adjusting); | 20,981 |
public void setValue(int value); | public void setValue(int value); | 20,982 |
public void setValueIsAdjusting(boolean adjusting); | public void setValueIsAdjusting(boolean adjusting); | 20,983 |
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... | protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... | 20,984 |
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... | protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... | 20,985 |
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... | protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... | 20,986 |
public LineBorderUIResource(Color color) { } | public LineBorderUIResource(Color color) { } | 20,988 |
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new AttributeNode(name.clone(stylesheet), (namespace == null) ? null : namespace.clone(stylesheet), source); if (children != null) { ret.children = chi... | TemplateNode clone(Stylesheet stylesheet) TemplateNode ret = new AttributeNode(name.clone(stylesheet), (namespace == null) ? null : namespace.clone(stylesheet), source); if (children != null) ret.children = childre... | 20,989 |
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new AttributeNode(name.clone(stylesheet), (namespace == null) ? null : namespace.clone(stylesheet), source); if (children != null) { ret.children = chi... | TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new AttributeNode(name.clone(stylesheet), (namespace == null) ? null : namespace.clone(stylesheet), source); if (children != null) { ret.children = chi... | 20,990 |
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new AttributeNode(name.clone(stylesheet), (namespace == null) ? null : namespace.clone(stylesheet), source); if (children != null) { ret.children = chi... | TemplateNode clone(Stylesheet stylesheet) TemplateNode ret = new AttributeNode(name.clone(stylesheet), (namespace == null) ? null : namespace.clone(stylesheet), source); if (children != null) ret.children = childre... | 20,991 |
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new AttributeNode(name.clone(stylesheet), (namespace == null) ? null : namespace.clone(stylesheet), source); if (children != null) { ret.children = chi... | TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new AttributeNode(name.clone(stylesheet), (namespace == null) ? null : namespace.clone(stylesheet), source); if (children != null) { ret.children = chi... | 20,992 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the n... | 20,993 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | 20,994 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the n... | 20,995 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | 20,996 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the n... | 20,997 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | 20,998 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the n... | 20,999 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | 21,000 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the n... | 21,001 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | 21,002 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the n... | 21,003 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | 21,004 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the n... | 21,005 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Document doc = (parent instanceof Document) ? (Document) parent : parent.getOwnerDocument(); // Create a document fragment to hold the... | 21,006 |
public boolean references(QName var) { if (name != null && name.references(var)) { return true; } if (namespace != null && namespace.references(var)) { return true; } return super.references(var); } | public boolean references(QName var) if (name != null && name.references(var)) return true; } if (namespace != null && namespace.references(var)) return true; } return super.references(var); } | 21,007 |
public boolean references(QName var) { if (name != null && name.references(var)) { return true; } if (namespace != null && namespace.references(var)) { return true; } return super.references(var); } | public boolean references(QName var) { if (name != null && name.references(var)) { return true; if (namespace != null && namespace.references(var)) { return true; return super.references(var); } | 21,008 |
public boolean references(QName var) { if (name != null && name.references(var)) { return true; } if (namespace != null && namespace.references(var)) { return true; } return super.references(var); } | public boolean references(QName var) if (name != null && name.references(var)) return true; } if (namespace != null && namespace.references(var)) return true; } return super.references(var); } | 21,009 |
public boolean references(QName var) { if (name != null && name.references(var)) { return true; } if (namespace != null && namespace.references(var)) { return true; } return super.references(var); } | public boolean references(QName var) { if (name != null && name.references(var)) { return true; if (namespace != null && namespace.references(var)) { return true; return super.references(var); } | 21,010 |
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("attribute"); buf.append('['); buf.append("name="); buf.append(name); buf.append(']'); return buf.toString(); } | 21,011 |
protected byte[] replicatePixels(int srcx, int srcy, int srcw, int srch, ColorModel model, byte[] srcPixels, int srcOffset, int srcScansize, double rx, double ry, int destScansize) { byte[] destPixels = new... | private byte[] replicatePixels(int srcx, int srcy, int srcw, int srch, ColorModel model, byte[] srcPixels, int srcOffset, int srcScansize, double rx, double ry, int destScansize) { byte[] destPixels = new b... | 21,012 |
public InputStream getErrorStream () { if (!connected) return(null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | public InputStream getErrorStream() { if (!connected) return(null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | 21,013 |
public InputStream getErrorStream () { if (!connected) return(null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | public InputStream getErrorStream () { if (!connected) return(null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | 21,014 |
public InputStream getErrorStream () { if (!connected) return(null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | public InputStream getErrorStream () { if (!connected) return(null); int code; try { code = getResponseCode(); } catch (IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | 21,015 |
public InputStream getErrorStream () { if (!connected) return(null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | public InputStream getErrorStream () { if (!connected) return (null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return (null); if (((code/100) != 4) || ((code/100) != 5)) return (null); try... | 21,016 |
public InputStream getErrorStream () { if (!connected) return(null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | public InputStream getErrorStream () { if (!connected) return(null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | 21,017 |
public InputStream getErrorStream () { if (!connected) return(null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | public InputStream getErrorStream () { if (!connected) return (null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return (null); if (((code/100) != 4) || ((code/100) != 5)) return (null); try... | 21,018 |
public InputStream getErrorStream () { if (!connected) return(null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | public InputStream getErrorStream () { if (!connected) return(null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | 21,019 |
public InputStream getErrorStream () { if (!connected) return(null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | public InputStream getErrorStream () { if (!connected) return(null); int code; try { code = getResponseCode(); } catch (IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | 21,020 |
public InputStream getErrorStream () { if (!connected) return(null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return(null); if (((code/100) != 4) || ((code/100) != 5)) return(null); try ... | public InputStream getErrorStream () { if (!connected) return (null); int code; try { code = getResponseCode(); } catch(IOException e) { code = -1; } if (code == -1) return (null); if (((code/100) != 4) || ((code/100) != 5)) return (null); try... | 21,021 |
public long getHeaderFieldDate (String key, long value) { // FIXME: implement this correctly // http://www.w3.org/Protocols/HTTP-NG/ng-notes.txt return super.getHeaderFieldDate (key, value); } | public long getHeaderFieldDate(String key, long value) { // FIXME: implement this correctly // http://www.w3.org/Protocols/HTTP-NG/ng-notes.txt return super.getHeaderFieldDate (key, value); } | 21,022 |
public long getHeaderFieldDate (String key, long value) { // FIXME: implement this correctly // http://www.w3.org/Protocols/HTTP-NG/ng-notes.txt return super.getHeaderFieldDate (key, value); } | public long getHeaderFieldDate (String key, long value) { // FIXME: implement this correctly // http://www.w3.org/Protocols/HTTP-NG/ng-notes.txt return super.getHeaderFieldDate(key, value); } | 21,023 |
public boolean getInstanceFollowRedirects () { return instanceFollowRedirects; } | public boolean getInstanceFollowRedirects() { return instanceFollowRedirects; } | 21,024 |
public String getResponseMessage() throws IOException { if (!gotResponseVals) getResponseVals(); return responseMessage; } | public String getResponseMessage() throws IOException { if (! gotResponseVals) getResponseVals(); return responseMessage; } | 21,025 |
private void getResponseVals() throws IOException { // getHeaderField() will connect for us, but do it here first in // order to pick up IOExceptions. if (!connected) connect(); gotResponseVals = true; // If responseCode not yet explicitly set by subclass if (responseCode == -1) { /... | private void getResponseVals() throws IOException { // getHeaderField() will connect for us, but do it here first in // order to pick up IOExceptions. if (! connected) connect(); gotResponseVals = true; // If responseCode not yet explicitly set by subclass if (responseCode == -1) { ... | 21,026 |
private void getResponseVals() throws IOException { // getHeaderField() will connect for us, but do it here first in // order to pick up IOExceptions. if (!connected) connect(); gotResponseVals = true; // If responseCode not yet explicitly set by subclass if (responseCode == -1) { /... | private void getResponseVals() throws IOException { // getHeaderField() will connect for us, but do it here first in // order to pick up IOExceptions. if (!connected) connect(); gotResponseVals = true; // If responseCode not yet explicitly set by subclass if (responseCode == -1) { /... | 21,027 |
public void setRequestMethod(String method) throws ProtocolException { if (connected) throw new ProtocolException("Already connected"); method = method.toUpperCase(); if (valid_methods.indexOf("|" + method + "|") != -1) this.method = method; else throw new ProtocolException("Invalid HTTP r... | publicvoidsetRequestMethod(Stringmethod)throwsProtocolException{if(connected)thrownewProtocolException("Alreadyconnected");method=method.toUpperCase();if(valid_methods.indexOf("|"+method+"|")!=-1)this.method=method;elsethrownewProtocolException("InvalidHTTPrequestmethod:"+method);} | 21,028 |
public synchronized long[] allocNew(int nrClusters) throws IOException { long rc[] = new long[nrClusters]; rc[0] = allocNew(); for (int i = 1; i < nrClusters; i++) { rc[i] = allocAppend(rc[i - 1]); } return rc; } | public synchronized long[] allocNew(int nrClusters) throws IOException { long rc[] = new long[nrClusters]; rc[0] = allocNew(); for (int i = 1; i < nrClusters; i++) { rc[i] = allocAppend(rc[i - 1]); } return rc; } | 21,031 |
public synchronized long[] allocNew(int nrClusters) throws IOException { long rc[] = new long[nrClusters]; rc[0] = allocNew(); for (int i = 1; i < nrClusters; i++) { rc[i] = allocAppend(rc[i - 1]); } return rc; } | public synchronized long[] allocNew(int nrClusters) throws IOException { long rc[] = new long[nrClusters]; rc[0] = allocNew(); for (int i = 1; i < nrClusters; i++) { rc[i] = allocAppend(rc[i - 1]); } return rc; } | 21,032 |
public synchronized long[] allocNew(int nrClusters) throws IOException { long rc[] = new long[nrClusters]; rc[0] = allocNew(); for (int i = 1; i < nrClusters; i++) { rc[i] = allocAppend(rc[i - 1]); } return rc; } | public synchronized long[] allocNew(int nrClusters) throws IOException { long rc[] = new long[nrClusters]; rc[0] = allocNew(); for (int i = 1; i < nrClusters; i++) { rc[i] = allocAppend(rc[i - 1]); } return rc; } | 21,033 |
public void selectAll(); | public void selectAll(); | 21,034 |
public void activate_object_with_id(byte[] an_Object_Id, Servant a_servant, boolean use_forwarding) throws ServantAlreadyActive, ObjectAlreadyActive, WrongPolicy { checkDiscarding(); required(ServantRetentionPolicyValue.RETAIN); // If the UNIQUE_ID applies, the servant being passed must not be // a... | public void activate_object_with_id(byte[] an_Object_Id, Servant a_servant, boolean use_forwarding) throws ServantAlreadyActive, ObjectAlreadyActive, WrongPolicy { checkDiscarding(); required(ServantRetentionPolicyValue.RETAIN); // If the UNIQUE_ID applies, the servant being passed must not be // a... | 21,035 |
public void activate_object_with_id(byte[] an_Object_Id, Servant a_servant, boolean use_forwarding) throws ServantAlreadyActive, ObjectAlreadyActive, WrongPolicy { checkDiscarding(); required(ServantRetentionPolicyValue.RETAIN); // If the UNIQUE_ID applies, the servant being passed must not be // a... | public void activate_object_with_id(byte[] an_Object_Id, Servant a_servant, boolean use_forwarding) throws ServantAlreadyActive, ObjectAlreadyActive, WrongPolicy { checkDiscarding(); required(ServantRetentionPolicyValue.RETAIN); // If the UNIQUE_ID applies, the servant being passed must not be // a... | 21,036 |
public abstract void copy(Address src, Address dst, int size); | public abstract void copy(Address src, Address dst, int size); | 21,037 |
public Insets getBorderInsets(Component c, Insets s) { s.left = s.right = s.top = s.bottom = 5; return s; } | public Insets getBorderInsets(Component c, Insets s) { s.left = s.right = s.top = s.bottom = 5; return s; } | 21,038 |
public boolean isBorderOpaque() { return false; } | public boolean isBorderOpaque() { return false; } | 21,039 |
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { } | public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { } | 21,040 |
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); if (comboBox.getFont() instanceof UIResource) comboBox.setFont(defaults.getFont("ComboBox.font")); if (comboBox.getForeground() instanceof UIResource) comboBox.setForeground(defaults.getColor("ComboBox... | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); Font f = comboBox.getFont(); Color fore = comboBox.getForeground(); Color back = comboBox.getBackground(); if (f == null || f instanceof UIResource) comboBox.setFont(defaults.getFont("ComboBox.font")); if (c... | 21,042 |
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); if (comboBox.getFont() instanceof UIResource) comboBox.setFont(defaults.getFont("ComboBox.font")); if (comboBox.getForeground() instanceof UIResource) comboBox.setForeground(defaults.getColor("ComboBox... | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); if (comboBox.getFont() instanceof UIResource) comboBox.setFont(defaults.getFont("ComboBox.font")); if (fore == null || fore instanceof UIResource) comboBox.setForeground(defaults.getColor("ComboBox.for... | 21,043 |
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); if (comboBox.getFont() instanceof UIResource) comboBox.setFont(defaults.getFont("ComboBox.font")); if (comboBox.getForeground() instanceof UIResource) comboBox.setForeground(defaults.getColor("ComboBox... | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); if (comboBox.getFont() instanceof UIResource) comboBox.setFont(defaults.getFont("ComboBox.font")); if (comboBox.getForeground() instanceof UIResource) comboBox.setForeground(defaults.getColor("ComboBox... | 21,044 |
public static org.omg.IOP.ServiceContext findContext(int ctx_name, ServiceContext[] cx) { for (int i = 0; i < cx.length; i++) if (cx[i].context_id == ctx_name) return new org.omg.IOP.ServiceContext(ctx_name, cx[i].context_data); throw new BAD_PARAM("No context with id " + ctx_name); } | public static org.omg.IOP.ServiceContext findContext(int ctx_name, org.omg.IOP.ServiceContext[] cx) { for (int i = 0; i < cx.length; i++) if (cx[i].context_id == ctx_name) return new org.omg.IOP.ServiceContext(ctx_name, cx[i].context_data); throw new BAD_PARAM("No context with id " + ctx_name); ... | 21,045 |
public static org.omg.IOP.ServiceContext findContext(int ctx_name, ServiceContext[] cx) { for (int i = 0; i < cx.length; i++) if (cx[i].context_id == ctx_name) return new org.omg.IOP.ServiceContext(ctx_name, cx[i].context_data); throw new BAD_PARAM("No context with id " + ctx_name); } | public static org.omg.IOP.ServiceContext findContext(int ctx_name, ServiceContext[] cx) { for (int i = 0; i < cx.length; i++) if (cx[i].context_id == ctx_name) return cx[i]; throw new BAD_PARAM("No context with id " + ctx_name); } | 21,046 |
public Insets getContentInsets(Insets i) { if (i == null) i = new Insets(0, 0, 0, 0); i.left = borderSpacing.left + borderInsets.left + edgeSpacing.left; i.right = borderSpacing.right + borderInsets.right + edgeSpacing.right; i.top = borderSpacing.top + borderInsets.top + edgeSpacing.t... | public Insets getContentInsets(Insets i) { if (i == null) i = new Insets(0, 0, 0, 0); i.left = borderSpacing.left + borderInsets.left + edgeSpacing.left; i.right = borderSpacing.right + borderInsets.right + edgeSpacing.right; i.top = borderSpacing.top + borderInsets.top + edgeSpacing.t... | 21,047 |
public Dimension getMinimumSize() { int width; Insets insets; insets = getContentInsets(null); width = Math.max(insets.left + insets.right, textWidth + 2 * TEXT_INSET_H); return new Dimension(width, insets.top + insets.bottom); } | public Dimension getMinimumSize() { int width; Insets insets; insets = getContentInsets(null); width = Math.max(insets.left + insets.right, textWidth + 2 * TEXT_INSET_H); return new Dimension(width, insets.top + insets.bottom); } | 21,048 |
public TitledBorder(String title) { this(/* border */ null, title, DEFAULT_JUSTIFICATION, DEFAULT_POSITION, /* titleFont */ null, /* titleColor */ null); } | public TitledBorder(String title) { this(/* border */ null, title, LEADING, TOP, /* titleFont */ null, /* titleColor */ null); } | 21,049 |
private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | 21,050 |
private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | 21,051 |
private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | 21,052 |
private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | 21,053 |
private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | 21,054 |
private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | 21,055 |
private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | 21,056 |
private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | 21,057 |
private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | private Measurements getMeasurements(Component c) { Measurements m = new Measurements(); FontMetrics fmet; m.font = getFont(c); fmet = c.getFontMetrics(m.font); m.border = getBorder(); if (m.border != null) m.borderInsets = m.border.getBorderInsets(c); else m.borderInsets = new Insets(... | 21,058 |
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins... | public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins... | 21,059 |
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins... | public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins... | 21,060 |
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins... | public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins... | 21,061 |
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins... | public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins... | 21,062 |
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins... | public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins... | 21,063 |
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins... | public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Measurements mes = getMeasurements(c); Font oldFont = g.getFont(); Color oldColor = g.getColor(); /** * A local helper class for painting the border without changing * any pixels ins... | 21,064 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.