bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
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,036 |
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,037 |
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,038 |
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,039 |
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,040 |
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,041 |
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,042 |
protected boolean sameFile(URL url1, URL url2) { if (url1 == url2) return true; // This comparison is very conservative. It assumes that any // field can be null. if (url1 == null || url2 == null || url1.getPort() != url2.getPort()) return false; String s1, s2; s1 = url1.getProtocol(); s2 = url2.getProtoco... | protected boolean sameFile(URL url1, URL url2) { if (url1 == url2) return true; // This comparison is very conservative. It assumes that any // field can be null. if (url1 == null || url2 == null || url1.getPort() != url2.getPort()) return false; String s1, s2; s1 = url1.getProtocol(); s2 = url2.getProtoco... | 22,043 |
protected boolean sameFile(URL url1, URL url2) { if (url1 == url2) return true; // This comparison is very conservative. It assumes that any // field can be null. if (url1 == null || url2 == null || url1.getPort() != url2.getPort()) return false; String s1, s2; s1 = url1.getProtocol(); s2 = url2.getProtoco... | protected boolean sameFile(URL url1, URL url2) { if (url1 == url2) return true; // This comparison is very conservative. It assumes that any // field can be null. if (url1 == null || url2 == null || url1.getPort() != url2.getPort()) return false; String s1, s2; s1 = url1.getProtocol(); s2 = url2.getProtoco... | 22,044 |
protected boolean sameFile(URL url1, URL url2) { if (url1 == url2) return true; // This comparison is very conservative. It assumes that any // field can be null. if (url1 == null || url2 == null || url1.getPort() != url2.getPort()) return false; String s1, s2; s1 = url1.getProtocol(); s2 = url2.getProtoco... | protected boolean sameFile(URL url1, URL url2) { if (url1 == url2) return true; // This comparison is very conservative. It assumes that any // field can be null. if (url1 == null || url2 == null || url1.getPort() != url2.getPort()) return false; String s1, s2; s1 = url1.getProtocol(); s2 = url2.getProtoco... | 22,045 |
protected boolean sameFile(URL url1, URL url2) { if (url1 == url2) return true; // This comparison is very conservative. It assumes that any // field can be null. if (url1 == null || url2 == null || url1.getPort() != url2.getPort()) return false; String s1, s2; s1 = url1.getProtocol(); s2 = url2.getProtoco... | protected boolean sameFile(URL url1, URL url2) { if (url1 == url2) return true; // This comparison is very conservative. It assumes that any // field can be null. if (url1 == null || url2 == null || url1.getPort() != url2.getPort()) return false; String s1, s2; s1 = url1.getProtocol(); s2 = url2.getProtoco... | 22,046 |
protected boolean sameFile(URL url1, URL url2) { if (url1 == url2) return true; // This comparison is very conservative. It assumes that any // field can be null. if (url1 == null || url2 == null || url1.getPort() != url2.getPort()) return false; String s1, s2; s1 = url1.getProtocol(); s2 = url2.getProtoco... | protected boolean sameFile(URL url1, URL url2) { if (url1 == url2) return true; // This comparison is very conservative. It assumes that any // field can be null. if (url1 == null || url2 == null || url1.getPort() != url2.getPort()) return false; String s1, s2; s1 = url1.getProtocol(); s2 = url2.getProtoco... | 22,047 |
protected boolean sameFile(URL url1, URL url2) { if (url1 == url2) return true; // This comparison is very conservative. It assumes that any // field can be null. if (url1 == null || url2 == null || url1.getPort() != url2.getPort()) return false; String s1, s2; s1 = url1.getProtocol(); s2 = url2.getProtoco... | protected boolean sameFile(URL url1, URL url2) { if (url1 == url2) return true; // This comparison is very conservative. It assumes that any // field can be null. if (url1 == null || url2 == null || url1.getPort() != url2.getPort()) return false; String s1, s2; s1 = url1.getProtocol(); s2 = url2.getProtoco... | 22,048 |
protected void setURL( URL u, String protocol, String host, int port, String file, String ref) { u.set(protocol, host, port, file, ref); } | protected void setURL( URL u, String protocol, String host, int port, String file, String ref) { u.set(protocol, host, port, file, ref); } | 22,049 |
protected String toExternalForm(URL u) { String protocol, host, file, ref; int port; protocol = u.getProtocol(); // JDK 1.2 online doc infers that host could be null because it // explicitly states that file cannot be null, but is silent on host. host = u.getHost(); if (host == null) host = ""; port = u.getP... | protected String toExternalForm(URL u) { String protocol, host, file, ref; int port; protocol = u.getProtocol(); // JDK 1.2 online doc infers that host could be null because it // explicitly states that file cannot be null, but is silent on host. host = u.getHost(); if (host == null) host = ""; port = u.getP... | 22,050 |
protected String toExternalForm(URL u) { String protocol, host, file, ref; int port; protocol = u.getProtocol(); // JDK 1.2 online doc infers that host could be null because it // explicitly states that file cannot be null, but is silent on host. host = u.getHost(); if (host == null) host = ""; port = u.getP... | protected String toExternalForm(URL u) { String protocol, host, file, ref; int port; protocol = u.getProtocol(); // JDK 1.2 online doc infers that host could be null because it // explicitly states that file cannot be null, but is silent on host. host = u.getHost(); if (host == null) host = ""; port = u.getP... | 22,051 |
protected String toExternalForm(URL u) { String protocol, host, file, ref; int port; protocol = u.getProtocol(); // JDK 1.2 online doc infers that host could be null because it // explicitly states that file cannot be null, but is silent on host. host = u.getHost(); if (host == null) host = ""; port = u.getP... | protected String toExternalForm(URL u) { String protocol, host, file, ref; int port; protocol = u.getProtocol(); // JDK 1.2 online doc infers that host could be null because it // explicitly states that file cannot be null, but is silent on host. host = u.getHost(); if (host == null) host = ""; port = u.getP... | 22,052 |
protected String toExternalForm(URL u) { String protocol, host, file, ref; int port; protocol = u.getProtocol(); // JDK 1.2 online doc infers that host could be null because it // explicitly states that file cannot be null, but is silent on host. host = u.getHost(); if (host == null) host = ""; port = u.getP... | protected String toExternalForm(URL u) { String protocol, host, file, ref; int port; protocol = u.getProtocol(); // JDK 1.2 online doc infers that host could be null because it // explicitly states that file cannot be null, but is silent on host. host = u.getHost(); if (host == null) host = ""; port = u.getP... | 22,053 |
protected String toExternalForm(URL u) { String protocol, host, file, ref; int port; protocol = u.getProtocol(); // JDK 1.2 online doc infers that host could be null because it // explicitly states that file cannot be null, but is silent on host. host = u.getHost(); if (host == null) host = ""; port = u.getP... | protected String toExternalForm(URL u) { String protocol, host, file, ref; int port; protocol = u.getProtocol(); // JDK 1.2 online doc infers that host could be null because it // explicitly states that file cannot be null, but is silent on host. host = u.getHost(); if (host == null) host = ""; port = u.getP... | 22,054 |
protected String toExternalForm(URL u) { String protocol, host, file, ref; int port; protocol = u.getProtocol(); // JDK 1.2 online doc infers that host could be null because it // explicitly states that file cannot be null, but is silent on host. host = u.getHost(); if (host == null) host = ""; port = u.getP... | protected String toExternalForm(URL u) { String protocol, host, file, ref; int port; protocol = u.getProtocol(); // JDK 1.2 online doc infers that host could be null because it // explicitly states that file cannot be null, but is silent on host. host = u.getHost(); if (host == null) host = ""; port = u.getP... | 22,055 |
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new IfNode(test.clone(stylesheet)); 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 IfNode(test.clone(stylesheet)); if (children != null) ret.children = children.clone(stylesheet); } if (next != null) ret.next = next.clone(stylesheet); } return ret; } | 22,056 |
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new IfNode(test.clone(stylesheet)); 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 IfNode(test.clone(stylesheet)); if (children != null) { ret.children = children.clone(stylesheet); if (next != null) { ret.next = next.clone(stylesheet); return ret; } | 22,057 |
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new IfNode(test.clone(stylesheet)); 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 IfNode(test.clone(stylesheet)); if (children != null) ret.children = children.clone(stylesheet); } if (next != null) ret.next = next.clone(stylesheet); } return ret; } | 22,058 |
TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new IfNode(test.clone(stylesheet)); 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 IfNode(test.clone(stylesheet)); if (children != null) { ret.children = children.clone(stylesheet); if (next != null) { ret.next = next.clone(stylesheet); return ret; } | 22,059 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = test.evaluate(context, pos, len); boolean success = (ret instanceof Boolean) ? ((Boolean) ret).booleanValue() : Expr._bo... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException Object ret = test.evaluate(context, pos, len); boolean success = (ret instanceof Boolean) ? ((Boolean) ret).booleanValue() : Expr._bool... | 22,060 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = test.evaluate(context, pos, len); boolean success = (ret instanceof Boolean) ? ((Boolean) ret).booleanValue() : Expr._bo... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = test.evaluate(context, pos, len); boolean success = (ret instanceof Boolean) ? ((Boolean) ret).booleanValue() : Expr._bo... | 22,061 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = test.evaluate(context, pos, len); boolean success = (ret instanceof Boolean) ? ((Boolean) ret).booleanValue() : Expr._bo... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException Object ret = test.evaluate(context, pos, len); boolean success = (ret instanceof Boolean) ? ((Boolean) ret).booleanValue() : Expr._bool... | 22,062 |
void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = test.evaluate(context, pos, len); boolean success = (ret instanceof Boolean) ? ((Boolean) ret).booleanValue() : Expr._bo... | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { Object ret = test.evaluate(context, pos, len); boolean success = (ret instanceof Boolean) ? ((Boolean) ret).booleanValue() : Expr._bo... | 22,063 |
public boolean references(QName var) { if (test != null && test.references(var)) { return true; } return super.references(var); } | public boolean references(QName var) if (test != null && test.references(var)) return true; } return super.references(var); } | 22,064 |
public boolean references(QName var) { if (test != null && test.references(var)) { return true; } return super.references(var); } | public boolean references(QName var) { if (test != null && test.references(var)) { return true; return super.references(var); } | 22,065 |
public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("test="); buf.append(test); buf.append(']'); return buf.toString(); } | public String toString() { StringBuffer buf = new StringBuffer("if"); buf.append('['); buf.append("test="); buf.append(test); buf.append(']'); return buf.toString(); } | 22,066 |
public SwingFrame(Frame awtFrame) { this.awtComponent = awtFrame;// setFocusCycleRoot(true);// final KeyboardFocusManager manager = KeyboardFocusManager// .getCurrentKeyboardFocusManager();// setFocusTraversalPolicy(manager.getDefaultFocusTraversalPolicy()); addInte... | public SwingFrame(Frame awtFrame) { this.awtComponent = awtFrame;// setFocusCycleRoot(true);// final KeyboardFocusManager manager = KeyboardFocusManager// .getCurrentKeyboardFocusManager();// setFocusTraversalPolicy(manager.getDefaultFocusTraversalPolicy()); } | 22,067 |
Node getRow(final int index) { int i = 0; for (Node ctx = getFirstChild(); ctx != null; ctx = ctx.getNextSibling()) { if (!"tr".equalsIgnoreCase(ctx.getLocalName())) { continue; } if (index == i) { return ctx; } i++; ... | Node getRow(final int index) { int i = 0; for (Node ctx = getFirstChild(); ctx != null; ctx = ctx.getNextSibling()) { String name = ctx.getLocalName(); if (name == null) { name = ctx.getNodeName(); } if (!"tr".equalsIgnoreCase(name)) { continue; } if (in... | 22,068 |
protected void installKeyboardActions(JRootPane rp) { // We currently do not install any keyboard actions here. // This method is here anyway for compatibility and to provide // the necessary hooks to subclasses. } | protected void installKeyboardActions(JRootPane rp) { ActionMapUIResource am = new ActionMapUIResource(); am.put("press", new DefaultPressAction(rp)); am.put("release", new DefaultReleaseAction(rp)); SwingUtilities.replaceUIActionMap(rp, am); ComponentInputMapUIResource im = new ComponentInputMapUIResource(rp);... | 22,069 |
public void propertyChange(PropertyChangeEvent event) { // TODO: Implement this properly. } | JRootPane source = (JRootPane) event.getSource(); String propertyName = event.getPropertyName(); if (propertyName.equals("defaultButton")) { Object newValue = event.getNewValue(); InputMap im = SwingUtilities.getUIInputMap(source, JComponent.WHEN_IN_FOCUSED_WINDOW); if (newValue != null) { Object[] keybindings = (Objec... | 22,070 |
protected void uninstallKeyboardActions(JRootPane rp) { // We do nothing here. } | SwingUtilities.replaceUIActionMap(rp, null); SwingUtilities.replaceUIInputMap(rp, JComponent.WHEN_IN_FOCUSED_WINDOW, null); SwingUtilities.replaceUIActionMap(rp, null); SwingUtilities.replaceUIInputMap(rp, JComponent.WHEN_IN_FOCUSED_WINDOW, null); protectedSwingUtilities.replaceUIActionMap(rp, null); SwingUtilities.rep... | 22,071 |
public static void main(String[] args) throws Exception { final ParsedArguments cmdLine = HELP_INFO.parse(args); final File dir = ARG_DIR.getFile(cmdLine); boolean mkOk = false; mkOk=dir.mkdir(); if(!mkOk){ System.err.println("Directory can't make"); } ... | public static void main(String[] args) throws Exception { final ParsedArguments cmdLine = HELP_INFO.parse(args); final File dir = ARG_DIR.getFile(cmdLine); boolean mkOk = false; mkOk=dir.mkdir(); if(!mkOk){ System.err.println("Directory can't make"); } ... | 22,072 |
public MenuElement[] getSubElements() { MenuElement[] subElements = new MenuElement[getComponentCount()]; for (int i = 0; i < getComponentCount(); i++) subElements[i] = (MenuElement) getMenu(i); return subElements; } | public MenuElement[] getSubElements() { MenuElement[] subElements = new MenuElement[getComponentCount()]; for (int i = 0; i < getComponentCount(); i++) { menu = getMenu(i); if (menu != null) { subElements[j++] = (MenuElement) menu; } else doResize = true; } return subElements; } | 22,073 |
public static void invoke(ServerRequest request, InvokeHandler target, Streamable result ) { try { int IN = ARG_IN.value; int OUT = ARG_OUT.value; // Write all arguments to the buffer output stream. cdrBufOutput buffer = new cdr... | public static void invoke(ServerRequest request, InvokeHandler target, Streamable result ) { try { int IN = ARG_IN.value; int OUT = ARG_OUT.value; // Write all arguments to the buffer output stream. cdrBufOutput buffer = new cdr... | 22,076 |
protected void addImpl(Component comp, Object layerConstraint, int index) { Integer layer; if (layerConstraint != null && layerConstraint instanceof Integer) layer = (Integer) layerConstraint; else if (componentToLayer.containsKey (comp)) layer = (Integer) componentToLayer.remove (comp); ... | protected void addImpl(Component comp, Object layerConstraint, int index) { Integer layer; if (layerConstraint != null && layerConstraint instanceof Integer) layer = (Integer) layerConstraint; else if (componentToLayer.containsKey (comp)) layer = (Integer) componentToLayer.remove (comp); ... | 22,078 |
protected void addImpl(Component comp, Object layerConstraint, int index) { Integer layer; if (layerConstraint != null && layerConstraint instanceof Integer) layer = (Integer) layerConstraint; else if (componentToLayer.containsKey (comp)) layer = (Integer) componentToLayer.remove (comp); ... | protected void addImpl(Component comp, Object layerConstraint, int index) { Integer layer; if (layerConstraint != null && layerConstraint instanceof Integer) layer = (Integer) layerConstraint; else if (componentToLayer.containsKey (comp)) layer = (Integer) componentToLayer.remove (comp); ... | 22,079 |
public void setPosition(Component c, int position) { Integer layer = getLayer (c); int[] range = layerToRange (layer); if (range[0] == range[1]) throw new IllegalArgumentException (); int top = range[0]; int bot = range[1]; if (position == -1) position = (bot - top) - 1; int targ = top +... | public void setPosition(Component c, int position) { Integer layer = getLayer (c); int[] range = layerToRange (layer); if (range[0] == range[1]) throw new IllegalArgumentException (); int top = range[0]; int bot = range[1]; if (position == -1) position = (bot - top) - 1; int targ = top +... | 22,080 |
public LineBreakIterator () { iter = null; } | public LineBreakIterator () { iter = null; } | 22,081 |
public void setArmed(boolean a) { changeState(ARMED, a); } | public void setArmed(boolean a) { if ((a && isArmed()) || (!a && !isArmed())) return; if (!isEnabled()) return; if (a) stateMask = stateMask | ARMED; else stateMask = stateMask & (~ARMED); fireStateChanged(); } | 22,082 |
public void setEnabled(boolean e) { changeState(ENABLED, e); } | public void setEnabled(boolean e) { if ((e && isEnabled()) || (!e && !isEnabled())) return; if (e) stateMask = stateMask | ENABLED; else stateMask = stateMask & (~ENABLED); fireStateChanged(); } | 22,083 |
public void setPressed(boolean p) { changeState(PRESSED, p); } | public void setPressed(boolean p) { if ((p && isPressed()) || (!p && !isPressed())) return; if (!isEnabled()) return; if (p) stateMask = stateMask | PRESSED; else stateMask = stateMask & (~PRESSED); if (!p && isArmed()) fireActionPerformed(new ActionEvent(this, ActionEvent.ACTION_PERFORMED, actionComman... | 22,084 |
public void setRollover(boolean r) { changeState(ROLLOVER, r); } | public void setRollover(boolean r) { if ((r && isRollover()) || (!r && !isRollover())) return; if (!isEnabled()) return; if (r) stateMask = stateMask | ROLLOVER; else stateMask = stateMask & (~ROLLOVER); fireStateChanged(); } | 22,085 |
public void setSelected(boolean s) { changeState(SELECTED, s); } | public void setSelected(boolean s) { if ((s && isSelected()) || (!s && !isSelected())) return; if (s) stateMask = stateMask | SELECTED; else stateMask = stateMask & (~SELECTED); fireStateChanged(); if (s) { fireItemStateChanged(new ItemEvent(this, ItemEvent.ITEM_STATE_CHANGED, null, ItemEvent.SELECTED)); i... | 22,086 |
public void finalize () { unmapImpl(); } | public void finalize () { unmapImpl(); } | 22,087 |
public AccessibleContext getAccessibleContext() { return null; } | public AccessibleContext getAccessibleContext() { return new AccessibleJTree(); } | 22,088 |
public boolean getScrollableTracksViewportHeight() { if (getParent() instanceof JViewport) return ((JViewport) getParent()).getWidth() > getPreferredSize().width; return false; } | public boolean getScrollableTracksViewportHeight() { if (getParent() instanceof JViewport) return ((JViewport) getParent()).getHeight() > getPreferredSize().height; return false; } | 22,089 |
public boolean getScrollableTracksViewportWidth() { if (getParent() instanceof JViewport) return ((JViewport) getParent()).getHeight() > getPreferredSize().height; return false; } | public boolean getScrollableTracksViewportWidth() { if (getParent() instanceof JViewport) return ((JViewport) getParent()).getWidth() > getPreferredSize().width; return false; } | 22,090 |
public UDPDatagramSocketImpl(UDPProtocol protocol) { this.protocol = protocol; } | public UDPDatagramSocketImpl(UDPProtocol protocol) { this.protocol = protocol; } | 22,091 |
protected void doBind(int lport, InetAddress laddr) throws SocketException { //Syslog.debug("doBind(" + lport + "," + laddr + ")"); protocol.bind(this); } | protected void doBind(int lport, InetAddress laddr) throws SocketException { //Syslog.debug("doBind(" + lport + "," + laddr + ")"); protocol.bind(this); } | 22,092 |
protected void doClose() { protocol.unbind(this); } | protected void doClose() { protocol.unbind(this); } | 22,093 |
protected void onReceive(DatagramPacket p, SocketBuffer skbuf) throws IOException { final IPv4Header ipHdr = (IPv4Header)skbuf.getNetworkLayerHeader(); final UDPHeader udpHdr = (UDPHeader)skbuf.getTransportLayerHeader(); p.setData(skbuf.toByteArray(), 0, skbuf.getSize()); p.setAddress(ipHdr.getSource().toInetAd... | protected void onReceive(DatagramPacket p, SocketBuffer skbuf) throws IOException { final IPv4Header ipHdr = (IPv4Header)skbuf.getNetworkLayerHeader(); final UDPHeader udpHdr = (UDPHeader)skbuf.getTransportLayerHeader(); p.setData(skbuf.toByteArray(), 0, skbuf.getSize()); p.setAddress(ipHdr.getSource().toInetAd... | 22,094 |
protected void send(DatagramPacket p) throws IOException { //Syslog.debug("UDP-send: " + p); final IPv4Address dstAddress = new IPv4Address(p.getAddress()); final IPv4Header ipHdr; ipHdr = new IPv4Header(getTos(), getTimeToLive(), IPPROTO_UDP, dstAddress, p.getLength() + UDP_HLEN); if (!getLocalAddress().isAnyL... | protected void send(DatagramPacket p) throws IOException { //Syslog.debug("UDP-send: " + p); final IPv4Address dstAddress = new IPv4Address(p.getAddress()); final IPv4Header ipHdr; ipHdr = new IPv4Header(getTos(), getTimeToLive(), IPPROTO_UDP, dstAddress, p.getLength() + UDP_HLEN); if (!getLocalAddress().isAnyL... | 22,095 |
protected synchronized void bind(UDPDatagramSocketImpl socket) throws SocketException { final Integer lport = new Integer(socket.getLocalPort()); if (sockets.containsKey(lport)) { throw new SocketException("Port already bound (" + lport + ")"); } else { sockets.... | protected synchronized void bind(UDPDatagramSocketImpl socket) throws SocketException { final Integer lport = new Integer(socket.getLocalPort()); if (sockets.containsKey(lport)) { throw new SocketException("Port already bound (" + lport + ")"); } else { sockets.... | 22,096 |
protected synchronized void unbind(UDPDatagramSocketImpl socket) { final Integer lport = new Integer(socket.getLocalPort()); if (sockets.get(lport) == socket) { sockets.remove(lport); } } | protected synchronized void unbind(UDPDatagramSocketImpl socket) { final Integer lport = new Integer(socket.getLocalPort()); if (sockets.get(lport) == socket) { sockets.remove(lport); } } | 22,098 |
protected void send(IPv4Header ipHdr, UDPHeader udpHdr, SocketBuffer skbuf) throws SocketException { //Syslog.debug("UDP.send"); skbuf.setTransportLayerHeader(udpHdr); udpHdr.prefixTo(skbuf); ipService.transmit(ipHdr, skbuf); stat.opackets.inc(); } | protected void send(IPv4Header ipHdr, UDPHeader udpHdr, SocketBuffer skbuf) throws SocketException { //Syslog.debug("UDP.send"); skbuf.setTransportLayerHeader(udpHdr); udpHdr.prefixTo(skbuf); ipService.transmit(ipHdr, skbuf); stat.opackets.inc(); } | 22,100 |
public NamingContextExtHolder(NamingContextExt initialValue) { value = initialValue; } | public NamingContextExtHolder() { value = initialValue; } | 22,101 |
public NamingContextExtHolder(NamingContextExt initialValue) { value = initialValue; } | public NamingContextExtHolder(NamingContextExt initialValue) { } | 22,102 |
public FBScreen(Surface g) { this.g = g; w = 6; h = 18; sh = h * FBPcTextScreen.SCREEN_HEIGHT + 2 * margin; sw = w * FBPcTextScreen.SCREEN_WIDTH + 2 * margin; bi = new JNodeBufferedImage(sw, sh, BufferedImage.TYPE_INT_ARGB); ... | public FBScreen(Surface g) { this.g = g; sh = h * FBPcTextScreen.SCREEN_HEIGHT + 2 * margin; sw = w * FBPcTextScreen.SCREEN_WIDTH + 2 * margin; bi = new JNodeBufferedImage(sw, sh, BufferedImage.TYPE_INT_ARGB); ig = bi.... | 22,103 |
public FBScreen(Surface g) { this.g = g; w = 6; h = 18; sh = h * FBPcTextScreen.SCREEN_HEIGHT + 2 * margin; sw = w * FBPcTextScreen.SCREEN_WIDTH + 2 * margin; bi = new JNodeBufferedImage(sw, sh, BufferedImage.TYPE_INT_ARGB); ... | public FBScreen(Surface g) { this.g = g; w = 6; h = 18; sh = h * FBPcTextScreen.SCREEN_HEIGHT + 2 * margin; sw = w * FBPcTextScreen.SCREEN_WIDTH + 2 * margin; bi = new BufferedImage(sw, sh, BufferedImage.TYPE_INT_ARGB); ... | 22,104 |
public FBScreen(Surface g) { this.g = g; w = 6; h = 18; sh = h * FBPcTextScreen.SCREEN_HEIGHT + 2 * margin; sw = w * FBPcTextScreen.SCREEN_WIDTH + 2 * margin; bi = new JNodeBufferedImage(sw, sh, BufferedImage.TYPE_INT_ARGB); ... | public FBScreen(Surface g) { this.g = g; w = 6; h = 18; sh = h * FBPcTextScreen.SCREEN_HEIGHT + 2 * margin; sw = w * FBPcTextScreen.SCREEN_WIDTH + 2 * margin; bi = new JNodeBufferedImage(sw, sh, BufferedImage.TYPE_INT_ARGB); ... | 22,105 |
public FBScreen(Surface g) { this.g = g; w = 6; h = 18; sh = h * FBPcTextScreen.SCREEN_HEIGHT + 2 * margin; sw = w * FBPcTextScreen.SCREEN_WIDTH + 2 * margin; bi = new JNodeBufferedImage(sw, sh, BufferedImage.TYPE_INT_ARGB); ... | public FBScreen(Surface g) { this.g = g; w = 6; h = 18; sh = h * FBPcTextScreen.SCREEN_HEIGHT + 2 * margin; sw = w * FBPcTextScreen.SCREEN_WIDTH + 2 * margin; bi = new JNodeBufferedImage(sw, sh, BufferedImage.TYPE_INT_ARGB); ... | 22,106 |
public static void main(String[] args) throws Exception { final String devId = (args.length > 0) ? args[0] : "" /*"fb0"*/; Surface g = null; try { Device dev = null; if("".equals(devId)){ final Collection<Device> devs = DeviceUtils.getDevicesByAPI(FrameBuffe... | public static void main(String[] args) throws Exception { final String devId = (args.length > 0) ? args[0] : "" /*"fb0"*/; Surface g = null; try { Device dev = null; if("".equals(devId)){ final Collection<Device> devs = DeviceUtils.getDevicesByAPI(FrameBuffe... | 22,108 |
public static void main(String[] args) throws Exception { final String devId = (args.length > 0) ? args[0] : "" /*"fb0"*/; Surface g = null; try { Device dev = null; if("".equals(devId)){ final Collection<Device> devs = DeviceUtils.getDevicesByAPI(FrameBuffe... | publicstaticvoidmain(String[]args)throwsException{finalStringdevId=(args.length>0)?args[0]:""/*"fb0"*/;Surfaceg=null;try{Devicedev=null;if("".equals(devId)){finalCollection<Device>devs=DeviceUtils.getDevicesByAPI(FrameBufferAPI.class);intdev_count=devs.size();if(dev_count>0){Device[]dev_a=devs.toArray(newDevice[dev_cou... | 22,109 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ... | 22,110 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ... | 22,111 |
void start() throws Exception { log.entering("JarVerifier", "start"); String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { Jar... | void start() throws Exception { log.entering(this.getClass().getName(), "start"); String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) ... | 22,112 |
void start() throws Exception { log.entering("JarVerifier", "start"); String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { Jar... | void start() throws Exception { log.entering("JarVerifier", "start"); String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { Jar... | 22,113 |
void start() throws Exception { log.entering("JarVerifier", "start"); String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { Jar... | void start() throws Exception { log.entering("JarVerifier", "start"); String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { Jar... | 22,114 |
void start() throws Exception { log.entering("JarVerifier", "start"); String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { Jar... | void start() throws Exception { log.entering("JarVerifier", "start"); String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { Jar... | 22,115 |
void start() throws Exception { log.entering("JarVerifier", "start"); String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { Jar... | void start() throws Exception { log.entering("JarVerifier", "start"); String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { Jar... | 22,116 |
void start() throws Exception { log.entering("JarVerifier", "start"); String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { Jar... | void start() throws Exception { log.entering("JarVerifier", "start"); String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { Jar... | 22,117 |
void start() throws Exception { log.entering("JarVerifier", "start"); String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { Jar... | void start() throws Exception { log.entering("JarVerifier", "start"); String jarFileName = main.getJarFileName(); jarFile = new JarFile(jarFileName); // 1. find all signature (.SF) files List sfFiles = new ArrayList(); for (Enumeration e = jarFile.entries(); e.hasMoreElements(); ) { Jar... | 22,118 |
private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering("JarVerifier", "verifySF"); log.finest("About to verify signature of " + sigFileName + "..."); // 1. find the corresponding .DSA file for this .SF file JarEntry dsaEntry =... | private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering("JarVerifier", "verifySF"); log.finest("About to verify signature of " + sigFileName + "..."); // 1. find the corresponding .DSA file for this .SF file JarEntry dsaEntry =... | 22,119 |
private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering("JarVerifier", "verifySF"); log.finest("About to verify signature of " + sigFileName + "..."); // 1. find the corresponding .DSA file for this .SF file JarEntry dsaEntry =... | private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering("JarVerifier", "verifySF"); log.finest("About to verify signature of " + sigFileName + "..."); // 1. find the corresponding .DSA file for this .SF file JarEntry dsaEntry =... | 22,120 |
private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering("JarVerifier", "verifySF"); log.finest("About to verify signature of " + sigFileName + "..."); // 1. find the corresponding .DSA file for this .SF file JarEntry dsaEntry =... | private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering("JarVerifier", "verifySF"); log.finest("About to verify signature of " + sigFileName + "..."); // 1. find the corresponding .DSA file for this .SF file JarEntry dsaEntry =... | 22,121 |
private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering("JarVerifier", "verifySF"); log.finest("About to verify signature of " + sigFileName + "..."); // 1. find the corresponding .DSA file for this .SF file JarEntry dsaEntry =... | private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering("JarVerifier", "verifySF"); log.finest("About to verify signature of " + sigFileName + "..."); // 1. find the corresponding .DSA file for this .SF file JarEntry dsaEntry =... | 22,122 |
private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering("JarVerifier", "verifySF"); log.finest("About to verify signature of " + sigFileName + "..."); // 1. find the corresponding .DSA file for this .SF file JarEntry dsaEntry =... | private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering("JarVerifier", "verifySF"); log.finest("About to verify signature of " + sigFileName + "..."); // 1. find the corresponding .DSA file for this .SF file JarEntry dsaEntry =... | 22,123 |
private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering("JarVerifier", "verifySF"); log.finest("About to verify signature of " + sigFileName + "..."); // 1. find the corresponding .DSA file for this .SF file JarEntry dsaEntry =... | private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering("JarVerifier", "verifySF"); log.finest("About to verify signature of " + sigFileName + "..."); // 1. find the corresponding .DSA file for this .SF file JarEntry dsaEntry =... | 22,124 |
private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering("JarVerifier", "verifySF"); log.finest("About to verify signature of " + sigFileName + "..."); // 1. find the corresponding .DSA file for this .SF file JarEntry dsaEntry =... | private boolean verifySF(String sigFileName) throws CRLException, CertificateException, ZipException, IOException { log.entering("JarVerifier", "verifySF"); log.finest("About to verify signature of " + sigFileName + "..."); // 1. find the corresponding .DSA file for this .SF file JarEntry dsaEntry =... | 22,125 |
private boolean verifySFEntries(String alias) throws IOException { log.entering("JarVerifier", "verifySFEntries"); // 1. read the signature file JarEntry jarEntry = jarFile.getJarEntry(JarUtils.META_INF + alias + JarUtils.SF_SUFFIX); InputStream in = jarFile.get... | private boolean verifySFEntries(String alias) throws IOException { log.entering(this.getClass().getName(), "verifySFEntries"); // 1. read the signature file JarEntry jarEntry = jarFile.getJarEntry(JarUtils.META_INF + alias + JarUtils.SF_SUFFIX); InputStream in =... | 22,126 |
private boolean verifySFEntries(String alias) throws IOException { log.entering("JarVerifier", "verifySFEntries"); // 1. read the signature file JarEntry jarEntry = jarFile.getJarEntry(JarUtils.META_INF + alias + JarUtils.SF_SUFFIX); InputStream in = jarFile.get... | private boolean verifySFEntries(String alias) throws IOException { log.entering("JarVerifier", "verifySFEntries"); // 1. read the signature file JarEntry jarEntry = jarFile.getJarEntry(JarUtils.META_INF + alias + JarUtils.SF_SUFFIX); InputStream in = jarFile.get... | 22,127 |
private boolean verifySFEntry(String name, String hash) throws IOException { String expectedValue = getEntryHash(JarFile.MANIFEST_NAME); boolean result = expectedValue.equalsIgnoreCase(hash); log.finest("Is " + name + " OK? " + result); return result; } | private boolean verifySFEntry(String name, String hash) throws IOException { String expectedValue = getEntryHash(JarFile.MANIFEST_NAME); boolean result = expectedValue.equalsIgnoreCase(hash); log.finest("Is " + name + " OK? " + result); return result; } | 22,128 |
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | public boolean matches(Node node, int pos, int len) switch (node.getNodeType()) case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals(n... | 22,129 |
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | 22,130 |
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | 22,131 |
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | 22,132 |
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | public boolean matches(Node node, int pos, int len) switch (node.getNodeType()) case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals(n... | 22,133 |
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | 22,134 |
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Do not match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equa... | 22,135 |
public NotEmptyHolder(NotEmpty initialValue) { value = initialValue; } | public NotEmptyHolder() { value = initialValue; } | 22,136 |
public NotEmptyHolder(NotEmpty initialValue) { value = initialValue; } | public NotEmptyHolder(NotEmpty initialValue) { } | 22,137 |
private void updateImage() { switch (locked) { case HLOCKED: updateHLockImage(); break; case SLOCKED: updateSLockImage(); break; case BLOCKED: updateBLockImage(); break; } } | void updateImage() { switch (locked) { case HLOCKED: updateHLockImage(); break; case SLOCKED: updateSLockImage(); break; case BLOCKED: updateBLockImage(); break; } } | 22,138 |
private void updateSlider() { if (slider == null) return; slider.setMinimum(0); if (locked == HLOCKED) { slider.setMaximum(359); ; slider.setValue(((Number) hSpinner.getValue()).intValue()); slider.setInverted(true); } else { slider.setMaximum(100); slider.setInverted(false); if (sRad... | void updateSlider() { if (slider == null) return; slider.setMinimum(0); if (locked == HLOCKED) { slider.setMaximum(359); ; slider.setValue(((Number) hSpinner.getValue()).intValue()); slider.setInverted(true); } else { slider.setMaximum(100); slider.setInverted(false); if (sRadio.isSel... | 22,139 |
private void updateTrack() { switch (locked) { case HLOCKED: updateHTrack(); break; case SLOCKED: updateSTrack(); break; case BLOCKED: updateBTrack(); break; } } | void updateTrack() { switch (locked) { case HLOCKED: updateHTrack(); break; case SLOCKED: updateSTrack(); break; case BLOCKED: updateBTrack(); break; } } | 22,140 |
public MemoryImageSource(int w, int h, int pix[], int off, int scan) { this ( w, h, ColorModel.getRGBdefault(), pix, off, scan, null); } | public MemoryImageSource(int w, int h, int pix[], int off, int scan) { this ( w, h, ColorModel.getRGBdefault(), pix, off, scan, null); } | 22,141 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.