bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public boolean get_service_information(short service_type, ServiceInformationHolder service_info) { throw new NO_IMPLEMENT(); }
public boolean get_service_information(short service_type, ServiceInformationHolder service_info ) { throw new NO_IMPLEMENT(); }
23,441
public abstract void drawGlyphVector (GlyphVector g, float x, float y);
public abstract void drawGlyphVector (GlyphVector g, float x, float y);
23,442
public abstract FontRenderContext getFontRenderContext ();
public abstract FontRenderContext getFontRenderContext ();
23,443
public abstract void setTransform(AffineTransform Tx);
public abstract void setTransform(AffineTransform Tx);
23,444
public abstract void transform(AffineTransform Tx);
public abstract void transform(AffineTransform Tx);
23,445
public Object getParameter(String name) throws DOMException { if ("discard-default-content".equals(name)) { return discardDefaultContent ? "true" : "false"; } else if ("xml-declaration".equals(name)) { return xmlDeclaration ? "true" : "false"; } else { throw ...
public Object getParameter(String name) throws DOMException { if ("discard-default-content".equals(name)) { return discardDefaultContent ? "true" : "false"; } else if ("xml-declaration".equals(name)) { return xmlDeclaration ? "true" : "false"; } else { throw ...
23,446
public void setParameter(String name, Object value) throws DOMException { if ("discard-default-content".equals(name)) { discardDefaultContent = "true".equals(value.toString()); } else if ("xml-declaration".equals(name)) { xmlDeclaration = "false".equals(value.toString()); }...
public void setParameter(String name, Object value) throws DOMException { if ("discard-default-content".equals(name)) { discardDefaultContent = "true".equals(value.toString()); } else if ("xml-declaration".equals(name)) { xmlDeclaration = "false".equals(value.toString()); }...
23,447
public boolean write(Node node, LSOutput output) throws LSException { OutputStream out = output.getByteStream(); try { if (out == null) { String systemId = output.getSystemId(); try { URL url = new URL(systemId); URLConnec...
public boolean write(Node node, LSOutput output) throws LSException { OutputStream out = output.getByteStream(); try { if (out == null) { String systemId = output.getSystemId(); try { URL url = new URL(systemId); URLConnec...
23,448
protected void paintComponent(Graphics g) { g.setColor(getBackground()); g.fillRect(0, 0, getWidth(), getHeight()); g.setColor(Color.WHITE); for (int i = 0; i < SCREEN_HEIGHT; i++) { int offset = i * SCREEN_WIDTH; int lenght = SCREEN_WIDT...
protected void paintComponent(Graphics g) { g.setColor(getBackground()); g.fillRect(0, 0, getWidth(), getHeight()); g.setColor(Color.WHITE); for (int i = 0; i < SCREEN_HEIGHT; i++) { int offset = i * SCREEN_WIDTH; int lenght = SCREEN_WIDT...
23,449
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals...
public boolean matches(Node node, int pos, int len) switch (node.getNodeType()) case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals(nod...
23,450
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals...
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals...
23,451
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals...
public boolean matches(Node node, int pos, int len) switch (node.getNodeType()) case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals(nod...
23,452
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals...
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals...
23,453
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals...
public boolean matches(Node node, int pos, int len) switch (node.getNodeType()) case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals(nod...
23,454
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals...
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals...
23,455
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals...
public boolean matches(Node node, int pos, int len) { switch (node.getNodeType()) { case Node.ATTRIBUTE_NODE: // Only match namespace attributes String uri = node.getNamespaceURI(); if (XMLConstants.XMLNS_ATTRIBUTE_NS_URI.equals(uri) || XMLConstants.XMLNS_ATTRIBUTE.equals...
23,456
public String toString () { if (any) { return "*"; } return qName.toString(); }
public String toString () if (any) return "*"; } return qName.toString(); }
23,457
public String toString () { if (any) { return "*"; } return qName.toString(); }
public String toString () { if (any) { return "*"; return qName.toString(); }
23,458
final boolean equal(String s1, String s2) { return (((s1 == null || s1.length() == 0) && (s2 == null || s2.length() == 0)) || s1 != null && s1.equals(s2)); }
static boolean equal(String s1, String s2) { return (((s1 == null || s1.length() == 0) && (s2 == null || s2.length() == 0)) || s1 != null && s1.equals(s2)); }
23,459
public String toString () { if (any) { return "*"; } return qName.toString(); }
public String toString () if (any) return "*"; } return qName.toString(); }
23,460
public String toString () { if (any) { return "*"; } return qName.toString(); }
public String toString () { if (any) { return "*"; return qName.toString(); }
23,461
public MimeTypeMapper() { ; }
public MimeTypeMapper() { ; }
23,462
public String getContentTypeFor(String filename) { int index = filename.lastIndexOf("."); if (index != -1) { if (index == filename.length()) return ("application/octet-stream"); else filename = filename.substring(index + 1); } String type = (String) mime_types.get(filename); if (type == null) ...
public String getContentTypeFor(String filename) { int index = filename.lastIndexOf("."); if (index != -1) { if (index == filename.length()) return ("application/octet-stream"); else filename = filename.substring(index + 1); } String type = (String) mime_types.get(filename); if (type == null) ...
23,463
public String getContentTypeFor(String filename) { int index = filename.lastIndexOf("."); if (index != -1) { if (index == filename.length()) return ("application/octet-stream"); else filename = filename.substring(index + 1); } String type = (String) mime_types.get(filename); if (type == null) ...
public String getContentTypeFor(String filename) { int index = filename.lastIndexOf("."); if (index != -1) { if (index == filename.length()) return ("application/octet-stream"); else filename = filename.substring(index + 1); } String type = (String) mime_types.get(filename); if (type == null) ...
23,464
public String getContentTypeFor(String filename) { int index = filename.lastIndexOf("."); if (index != -1) { if (index == filename.length()) return ("application/octet-stream"); else filename = filename.substring(index + 1); } String type = (String) mime_types.get(filename); if (type == null) ...
public String getContentTypeFor(String filename) { int index = filename.lastIndexOf("."); if (index != -1) { if (index == filename.length()) return ("application/octet-stream"); else filename = filename.substring(index + 1); } String type = (String) mime_types.get(filename); if (type == null) ...
23,465
protected SelectorProvider () { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkPermission (new RuntimePermission ("selectorProvider")); }
protected SelectorProvider() { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkPermission (new RuntimePermission ("selectorProvider")); }
23,466
protected SelectorProvider () { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkPermission (new RuntimePermission ("selectorProvider")); }
protected SelectorProvider () { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkPermission (new RuntimePermission ("selectorProvider")); }
23,467
protected SelectorProvider () { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkPermission (new RuntimePermission ("selectorProvider")); }
protected SelectorProvider () { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkPermission(new RuntimePermission("selectorProvider")); }
23,468
public abstract DatagramChannel openDatagramChannel () throws IOException;
public abstract DatagramChannel openDatagramChannel () throws IOException;
23,469
public abstract Pipe openPipe () throws IOException;
public abstract Pipe openPipe () throws IOException;
23,470
public abstract AbstractSelector openSelector () throws IOException;
public abstract AbstractSelector openSelector () throws IOException;
23,471
public abstract ServerSocketChannel openServerSocketChannel () throws IOException;
public abstract ServerSocketChannel openServerSocketChannel () throws IOException;
23,472
public abstract SocketChannel openSocketChannel () throws IOException;
public abstract SocketChannel openSocketChannel () throws IOException;
23,473
public static SelectorProvider provider () { if (pr == null) { pr = new SelectorProviderImpl (); } return pr; }
public static synchronized SelectorProvider provider() { if (pr == null) { pr = new SelectorProviderImpl (); } return pr; }
23,474
public static SelectorProvider provider () { if (pr == null) { pr = new SelectorProviderImpl (); } return pr; }
public static SelectorProvider provider () { if (systemDefaultProvider == null) { pr = new SelectorProviderImpl (); } return pr; }
23,475
public static SelectorProvider provider () { if (pr == null) { pr = new SelectorProviderImpl (); } return pr; }
public static SelectorProvider provider () { if (pr == null) { String propertyValue = System.getProperty("java.nio.channels.spi.SelectorProvider"); if (propertyValue == null || propertyValue.equals("")) systemDefaultProvider = new SelectorProviderImpl(); else { try { systemDefaultProvider = (Selector...
23,476
public static SelectorProvider provider () { if (pr == null) { pr = new SelectorProviderImpl (); } return pr; }
public static SelectorProvider provider () { if (pr == null) { pr = new SelectorProviderImpl (); } return systemDefaultProvider; }
23,477
FileResource(FileURLLoader loader, String name, File file) { super(loader, name); this.file = file; }
FileResource(FileURLLoader loader, File file) { super(loader, name); this.file = file; }
23,478
FileResource(FileURLLoader loader, String name, File file) { super(loader, name); this.file = file; }
FileResource(FileURLLoader loader, String name, File file) { super(loader); this.file = file; }
23,479
public URL getURL() { try { return new URL(loader.baseURL, name, loader.classloader.getURLStreamHandler("file")); } catch (MalformedURLException e) { InternalError ie = new InternalError(); ie.initCause(e); throw ie; } }
public URL getURL() { try { return new URL(loader.baseURL, name, loader.classloader.getURLStreamHandler("file")); } catch (MalformedURLException e) { InternalError ie = new InternalError(); ie.initCause(e); throw ie; } }
23,480
Resource getResource(String name) { try { File file = new File(dir, name).getCanonicalFile(); if (file.exists() && !file.isDirectory()) return new FileResource(this, file.getPath(), file); } catch (IOException e) { // Fall through... } return null; }
Resource getResource(String name) { try { File file = new File(dir, name).getCanonicalFile(); if (file.exists() && !file.isDirectory()) return new FileResource(this, file.getPath(), file); } catch (IOException e) { // Fall through... } return null; }
23,481
JarURLResource(JarURLLoader loader, String name, JarEntry entry) { super(loader, name); this.entry = entry; }
JarURLResource(JarURLLoader loader, String name, JarEntry entry) { super(loader); this.entry = entry; }
23,482
RemoteResource(RemoteURLLoader loader, String name, URL url, InputStream stream, int length) { super(loader, name); this.url = url; this.stream = stream; this.length = length; }
RemoteResource(RemoteURLLoader loader, String name, URL url, InputStream stream, int length) { super(loader); this.url = url; this.stream = stream; this.length = length; }
23,484
Resource(URLLoader loader, String name) { this.loader = loader; this.name = name; }
Resource(URLLoader loader) { this.loader = loader; this.name = name; }
23,485
Resource(URLLoader loader, String name) { this.loader = loader; this.name = name; }
Resource(URLLoader loader, String name) { this.loader = loader; }
23,486
private void addURLs(URL[] newUrls) { for (int i = 0; i < newUrls.length; i++) addURL(newUrls[i]); }
private void addURLs(URL[] newUrls) { for (int i = 0; i < newUrls.length; i++) { urls.add(newUrls[i]); addURLImpl(newUrls[i]); } }
23,487
protected SelectableChannel () { }
protected SelectableChannel() { }
23,488
private DragWindow() { super(owner); }
DragWindow() { super(owner); }
23,489
public Superblock(byte src[]) throws FileSystemException { data = new byte[src.length]; System.arraycopy(src, 0, data, 0, src.length); //check the magic :) if(getMagic() != 0xEF53) throw new FileSystemException("Not ext2 superblock ("+getMagic()+": bad magic)"); }
public Superblock(byte src[]) throws FileSystemException { data = new byte[src.length]; System.arraycopy(src, 0, data, 0, src.length); //check the magic :) if(getMagic() != 0xEF53) throw new FileSystemException("Not ext2 superblock ("+getMagic()+": bad magic)"); }
23,490
protected void handleEmptyTag(TagElement tag) throws javax.swing.text.ChangedCharSetException { }
protected void handleEmptyTag(TagElement tag) throws ChangedCharSetException { }
23,492
public boolean parseMarkupDeclarations(StringBuffer strBuff) throws IOException { return gnu.parseMarkupDeclarations(strBuff); }
protected boolean parseMarkupDeclarations(StringBuffer strBuff) throws IOException { return gnu.parseMarkupDeclarations(strBuff); }
23,493
toString(){ return(getClass().getName() + "[" + paramString () + "]");}
toString(){ return(getClass().getName() + "[" + paramString () + "]");}
23,494
private Date makeTime(int tag, byte[] value) throws IOException { Calendar calendar = Calendar.getInstance(); String str = makeString(PRINTABLE_STRING, value); // Classpath's SimpleDateFormat does not work for parsing these // types of times, so we do this by hand. String date = str; String tz = ""...
private Date makeTime(int tag, byte[] value) throws IOException { Calendar calendar = Calendar.getInstance(); String str = makeString(PRINTABLE_STRING, value); // Classpath's SimpleDateFormat does not work for parsing these // types of times, so we do this by hand. String date = str; String tz = ""...
23,495
private Date makeTime(int tag, byte[] value) throws IOException { Calendar calendar = Calendar.getInstance(); String str = makeString(PRINTABLE_STRING, value); // Classpath's SimpleDateFormat does not work for parsing these // types of times, so we do this by hand. String date = str; String tz = ""...
private Date makeTime(int tag, byte[] value) throws IOException { Calendar calendar = Calendar.getInstance(); String str = makeString(PRINTABLE_STRING, value); // Classpath's SimpleDateFormat does not work for parsing these // types of times, so we do this by hand. String date = str; String tz = ""...
23,496
private Date makeTime(int tag, byte[] value) throws IOException { Calendar calendar = Calendar.getInstance(); String str = makeString(PRINTABLE_STRING, value); // Classpath's SimpleDateFormat does not work for parsing these // types of times, so we do this by hand. String date = str; String tz = ""...
private Date makeTime(int tag, byte[] value) throws IOException { Calendar calendar = Calendar.getInstance(); String str = makeString(PRINTABLE_STRING, value); // Classpath's SimpleDateFormat does not work for parsing these // types of times, so we do this by hand. String date = str; String tz = ""...
23,497
private Date makeTime(int tag, byte[] value) throws IOException { Calendar calendar = Calendar.getInstance(); String str = makeString(PRINTABLE_STRING, value); // Classpath's SimpleDateFormat does not work for parsing these // types of times, so we do this by hand. String date = str; String tz = ""...
private Date makeTime(int tag, byte[] value) throws IOException { Calendar calendar = Calendar.getInstance(); String str = makeString(PRINTABLE_STRING, value); // Classpath's SimpleDateFormat does not work for parsing these // types of times, so we do this by hand. String date = str; String tz = ""...
23,498
boolean equals(ListenerRecord rec) { return listener == rec.listener && useCapture == rec.useCapture && type == rec.type; }
public boolean equals(Object o) { return listener == rec.listener && useCapture == rec.useCapture && type == rec.type; }
23,503
public final void addEventListener(String type, EventListener listener, boolean useCapture) { if (listeners == null) { listeners = new ListenerRecord[1]; } else if (nListeners == listeners.length) { ListenerRec...
public final void addEventListener(String type, EventListener listener, boolean useCapture) { if (listeners == null) { listeners = new ListenerRecord[1]; } else if (nListeners == listeners.length) { ListenerRec...
23,507
public final void addEventListener(String type, EventListener listener, boolean useCapture) { if (listeners == null) { listeners = new ListenerRecord[1]; } else if (nListeners == listeners.length) { ListenerRec...
public final void addEventListener(String type, EventListener listener, boolean useCapture) { if (listeners == null) { listeners = new ListenerRecord[1]; } else if (nListeners == listeners.length) { ListenerRec...
23,508
public Object clone() { try { DomNode node = (DomNode) super.clone(); node.parent = null; node.depth = 0; node.index = 0; node.length = 0; node.first = null; node.last = null; node.previous = null; node.next = null; node.re...
public Object clone() { try { DomNode node = (DomNode) super.clone(); node.parent = null; node.depth = 0; node.index = 0; node.length = 0; node.first = null; node.last = null; node.previous = null; node.next = null; node.re...
23,510
public void compact() { if (listeners != null && listeners.length != nListeners) { if (nListeners == 0) { listeners = null; } else { ListenerRecord[] l = new ListenerRecord[nListeners]; System.arraycopy(listeners, 0, l, 0, nListeners);...
public void compact() { if (listeners != null && listeners.length != nListeners) { if (nListeners == 0) { listeners = null; } else { ListenerRecord[] l = new ListenerRecord[nListeners]; System.arraycopy(listeners, 0, l, 0, nListeners);...
23,511
public boolean isEqualNode(Node arg) { if (this == arg) { return true; } if (arg == null) { return false; } if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespac...
public boolean isEqualNode(Node arg) { if (this == arg) { return true; } if (arg == null) { return false; } if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespac...
23,512
public boolean isEqualNode(Node arg) { if (this == arg) { return true; } if (arg == null) { return false; } if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespac...
public boolean isEqualNode(Node arg) { if (this == arg) { return true; } if (arg == null) { return false; } if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespac...
23,513
public boolean isEqualNode(Node arg) { if (this == arg) { return true; } if (arg == null) { return false; } if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespac...
public boolean isEqualNode(Node arg) if (this == arg) return true; } if (arg == null) return false; } if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespaceURI()...
23,514
public boolean isEqualNode(Node arg) { if (this == arg) { return true; } if (arg == null) { return false; } if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespac...
public boolean isEqualNode(Node arg) { if (this == arg) { return true; } if (arg == null) { return false; } if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespac...
23,515
public boolean isEqualNode(Node arg) { if (this == arg) { return true; } if (arg == null) { return false; } if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespac...
public boolean isEqualNode(Node arg) { if (this == arg) { return true; } if (arg == null) { return false; } if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespac...
23,516
public boolean isEqualNode(Node arg) { if (this == arg) { return true; } if (arg == null) { return false; } if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespac...
public boolean isEqualNode(Node arg) { if (this == arg) { return true; } if (arg == null) { return false; } if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespac...
23,517
public boolean isEqualNode(Node arg) { if (this == arg) { return true; } if (arg == null) { return false; } if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespac...
public boolean isEqualNode(Node arg) { if (this == arg) { return true; if (arg == null) { return false; if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespaceURI...
23,518
public boolean isEqualNode(Node arg) { if (this == arg) { return true; } if (arg == null) { return false; } if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespac...
publicbooleanisEqualNode(Nodearg){if(this==arg){returntrue;}if(arg==null){returnfalse;}if(nodeType!=arg.getNodeType()||!equal(getNodeName(),arg.getNodeName())||!equal(getLocalName(),arg.getLocalName())||!equal(getNamespaceURI(),arg.getNamespaceURI())||!equal(getPrefix(),arg.getPrefix())||!equal(getNodeValue(),arg.getNo...
23,519
public final void normalize() { // Suspend readonly status boolean saved = readonly; readonly = false; for (DomNode ctx = first; ctx != null; ctx = ctx.next) { switch (ctx.nodeType) { case TEXT_NODE: while (ctx.next != null && ctx.next.nodeType == TEXT_NODE) ...
public final void normalize() { // Suspend readonly status boolean saved = readonly; readonly = false; for (DomNode ctx = first; ctx != null; ctx = ctx.next) { switch (ctx.nodeType) { case TEXT_NODE: case CDATA_SECTION_NODE: while (ctx.next != null && (ctx.next.no...
23,520
public final void normalize() { // Suspend readonly status boolean saved = readonly; readonly = false; for (DomNode ctx = first; ctx != null; ctx = ctx.next) { switch (ctx.nodeType) { case TEXT_NODE: while (ctx.next != null && ctx.next.nodeType == TEXT_NODE) ...
public final void normalize() { // Suspend readonly status boolean saved = readonly; readonly = false; for (DomNode ctx = first; ctx != null; ctx = ctx.next) { switch (ctx.nodeType) { case TEXT_NODE: while (ctx.next != null && ctx.next.nodeType == TEXT_NODE) ...
23,521
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? for (int i = 0; i < current.nListeners; i++) { List...
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? while (iter.hasNext()) { ListenerRecord rec = curre...
23,523
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? for (int i = 0; i < current.nListeners; i++) { List...
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? for (int i = 0; i < current.nListeners; i++) { List...
23,524
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? for (int i = 0; i < current.nListeners; i++) { List...
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? for (int i = 0; i < current.nListeners; i++) { List...
23,525
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? for (int i = 0; i < current.nListeners; i++) { List...
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? for (int i = 0; i < current.nListeners; i++) { List...
23,526
private void notifyNode(DomEvent e, DomNode current, boolean capture, ListenerRecord[] notificationSet) { int count = 0; // do any of this set of listeners get notified? for (int i = 0; i < current.nListeners; i++) { List...
iter = null; iter = null; privateiter = null; voiditer = null; notifyNode(DomEventiter = null; e,iter = null; iter = null; iter = null; iter = null; iter = null; iter = null; iter = null; iter = null; iter = null; iter = null; iter = null; iter = null; iter = null; iter = null; iter = null; iter = null; iter = null; it...
23,527
public final void removeEventListener(String type, EventListener listener, boolean useCapture) { for (int i = 0; i < nListeners; i++) { if (listeners[i].listener != listener) { continue; } ...
public final void removeEventListener(String type, EventListener listener, boolean useCapture) { for (int i = 0; i < nListeners; i++) { if (listeners[i].listener != listener) { continue; } ...
23,528
public void trimToSize() { if (listeners != null && listeners.length != nListeners) { ListenerRecord[] newKids = new ListenerRecord[length]; System.arraycopy(listeners, 0, newKids, 0, nListeners); listeners = newKids; } }
public void trimToSize() { if (listeners != null && listeners.length != nListeners) { ListenerRecord[] newKids = new ListenerRecord[length]; System.arraycopy(listeners, 0, newKids, 0, nListeners); listeners = newKids; } }
23,529
public String getCharsetName () { return getMessage (); }
public String getCharsetName () { return charsetName; }
23,530
public void addAdjustmentListener (AdjustmentListener listener) { AWTEventMulticaster.add (adjustmentListener, listener); }
public void addAdjustmentListener (AdjustmentListener listener) { if (listener == null) return; adjustmentListener = AWTEventMulticaster.add (adjustmentListener, listener); }
23,531
public void removeAdjustmentListener (AdjustmentListener listener) { AWTEventMulticaster.remove (adjustmentListener, listener); }
public void removeAdjustmentListener (AdjustmentListener listener) { if (listener == null) return; adjustmentListener = AWTEventMulticaster.remove (adjustmentListener, listener); }
23,532
void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ...
void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ...
23,533
public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory....
String cdataSectionElements = outputProperties.getProperty(OutputKeys.CDATA_SECTION_ELEMENTS); boolean indent = "yes".equals(outputProperties.getProperty(OutputKeys.INDENT)); public void transform(Source xmlSource, Result outputTarget)String cdataSectionElements = outputProperties.getProperty(OutputKeys.CDATA_SECTION_E...
23,535
private static final CharsetProvider provider () { return Provider.provider (); }
private static CharsetProvider provider () { return Provider.provider (); }
23,537
TextNode(TemplateNode children, TemplateNode next, boolean disableOutputEscaping) { super(children, next); this.disableOutputEscaping = disableOutputEscaping; }
TextNode(TemplateNode children, TemplateNode next, boolean disableOutputEscaping) { super(children, next); this.disableOutputEscaping = disableOutputEscaping; }
23,538
TextNode(TemplateNode children, TemplateNode next, boolean disableOutputEscaping) { super(children, next); this.disableOutputEscaping = disableOutputEscaping; }
TextNode(TemplateNode children, TemplateNode next, boolean disableOutputEscaping) { this.disableOutputEscaping = disableOutputEscaping; }
23,539
TemplateNode clone(Stylesheet stylesheet) { return new TextNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), disableOutputEscaping); }
TemplateNode clone(Stylesheet stylesheet) { return new TextNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), disableOutputEscaping); }
23,540
private void writeObject(ObjectOutputStream value0) throws IOException { // TODO }
private void writeObject(ObjectOutputStream obj) throws IOException { // TODO }
23,541
public static final PRNG getInstance() { IRandom delegate = new MDGenerator(); try { HashMap map = new HashMap(); // initialise it with a seed long t = System.currentTimeMillis(); byte[] seed = new byte[] { (byte) (t >>> 56), (byte) (t >>> 48), (byte) (t >...
public static final PRNG getInstance() { IRandom delegate = new MDGenerator(); try { HashMap map = new HashMap(); // initialise it with a seed long t = System.currentTimeMillis(); byte[] seed = new byte[] { (byte) (t >>> 56), (byte) (t >>> 48), (byte) (t >...
23,542
public static final PRNG getInstance() { IRandom delegate = new MDGenerator(); try { HashMap map = new HashMap(); // initialise it with a seed long t = System.currentTimeMillis(); byte[] seed = new byte[] { (byte) (t >>> 56), (byte) (t >>> 48), (byte) (t >...
publicstaticfinalPRNGgetInstance(){IRandomdelegate=newMDGenerator();try{HashMapmap=newHashMap();//initialiseitwithaseedlongt=System.currentTimeMillis();byte[]seed=newbyte[]{(byte)(t>>>56),(byte)(t>>>48),(byte)(t>>>40),(byte)(t>>>32),(byte)(t>>>24),(byte)(t>>>16),(byte)(t>>>8),(byte)t};map.put(MDGenerator.SEEED,seed);de...
23,543
public MessageFormat(String pattern) { this(pattern, Locale.getDefault()); }
private MessageFormat () { this(pattern, Locale.getDefault()); }
23,544
public MessageFormat(String pattern) { this(pattern, Locale.getDefault()); }
public MessageFormat(String pattern) { }
23,545
public int getIconHeight() { return 10; }
public int getIconHeight() { return 10; }
23,546
public int getIconWidth() { return 10; }
public int getIconWidth() { return 10; }
23,547
public void paintIcon(Component c, Graphics g, int x, int y) { if (c instanceof AbstractButton) { UIDefaults defaults; defaults = UIManager.getLookAndFeelDefaults(); Color hi = defaults.getColor("CheckBox.highlight"); Color low = def...
public void paintIcon(Component c, Graphics g, int x, int y) { if (c instanceof AbstractButton) { UIDefaults defaults; defaults = UIManager.getLookAndFeelDefaults(); Color hi = defaults.getColor("CheckBox.highlight"); Color low = def...
23,548
public int getIconHeight() { return 12; }
public int getIconHeight() { return 10; }
23,549
public int getIconWidth() { return 12; }
public int getIconWidth() { return 10; }
23,550
public void paintIcon(Component c, Graphics g, int x, int y) { UIDefaults defaults; defaults = UIManager.getLookAndFeelDefaults(); Color hi = defaults.getColor("RadioButton.highlight"); Color low = defaults.getColor("RadioButton.darkShadow"); Color sel =...
public void paintIcon(Component c, Graphics g, int x, int y) { UIDefaults defaults; defaults = UIManager.getLookAndFeelDefaults(); Color hi = defaults.getColor("RadioButton.highlight"); Color low = defaults.getColor("RadioButton.darkShadow"); Color sel =...
23,551
public void paintIcon(Component c, Graphics g, int x, int y) { UIDefaults defaults; defaults = UIManager.getLookAndFeelDefaults(); Color hi = defaults.getColor("RadioButton.highlight"); Color low = defaults.getColor("RadioButton.darkShadow"); Color sel =...
public void paintIcon(Component c, Graphics g, int x, int y) { UIDefaults defaults; defaults = UIManager.getLookAndFeelDefaults(); Color hi = defaults.getColor("RadioButton.highlight"); Color low = defaults.getColor("RadioButton.darkShadow"); Color sel =...
23,552
public void paintIcon(Component c, Graphics g, int x, int y) { UIDefaults defaults; defaults = UIManager.getLookAndFeelDefaults(); Color hi = defaults.getColor("RadioButton.highlight"); Color low = defaults.getColor("RadioButton.darkShadow"); Color sel =...
public void paintIcon(Component c, Graphics g, int x, int y) { UIDefaults defaults; defaults = UIManager.getLookAndFeelDefaults(); Color hi = defaults.getColor("RadioButton.highlight"); Color low = defaults.getColor("RadioButton.darkShadow"); Color sel =...
23,553