rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
timer.stop(); | stopEditingTimer(); tree.stopEditing(); editingComponent = null; | public boolean stopCellEditing() { if (editingComponent != null && realEditor.stopCellEditing()) { timer.stop(); return true; } return false; } |
configureEditingComponent(tree, renderer, realEditor); | stopCellEditing(); | public void valueChanged(TreeSelectionEvent e) { tPath = lastPath; lastPath = e.getNewLeadSelectionPath(); lastRow = tree.getRowForPath(lastPath); configureEditingComponent(tree, renderer, realEditor); } |
return "JCheckBox"; | return super.paramString() + ",borderPaintedFlat=" + borderPaintedFlat; | protected String paramString() { return "JCheckBox"; } |
return peer.getMissingGlyphCode(this); | return peer.getNumGlyphs(this); | public int getNumGlyphs() { return peer.getMissingGlyphCode(this); } |
Obj(org.omg.CORBA.Object _object, byte[] _key, Servant _servant, gnuPOA _poa) | Obj(gnuServantObject _object, byte[] _key, Servant _servant, gnuPOA _poa) | Obj(org.omg.CORBA.Object _object, byte[] _key, Servant _servant, gnuPOA _poa) { object = _object; key = _key; servant = _servant; poa = _poa; } |
final int distance = offset - get8(addr); | final int distance = offset - addr - 1; | private final void resolve8(int addr, int offset) { final int distance = offset - get8(addr); if (!X86Utils.isByte(distance)) { throw new IllegalArgumentException("Jump out of byte-range (" + distance + ")"); } if (isRelJump() && (distance == 0)) { if (get8(addr - 1) == 0xe... |
setCurrentTheme(new OceanTheme()); | setCurrentTheme(new DefaultMetalTheme()); | protected void createDefaultTheme() { setCurrentTheme(new OceanTheme()); } |
return "JTextComponent"; | return "TextComponentUI"; | public String getUIClassID() { // Returns a string that specifies the name of the l&f class that renders this component. return "JTextComponent"; } |
return Collections.EMPTY_LIST; | return Collections.emptyList(); | public List<VmInterpretedExceptionHandler> getExceptionHandlers() { if (eTable == null) { return Collections.EMPTY_LIST; } else { return Arrays.asList(eTable); } } |
if (context == null) context = new ColorPaintContext(value); | if (context == null || !context.getColorModel().equals(cm)) context = new ColorPaintContext(cm,value); | public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) { if (context == null) context = new ColorPaintContext(value);... |
return (getRGB() & ALPHA_MASK) >> 24; | return (getRGB() & ALPHA_MASK) >>> 24; | public int getAlpha() { // Do not inline getRGB() to value, because of SystemColor. return (getRGB() & ALPHA_MASK) >> 24; } |
return getClass().getName() + "(top=" + top + ",bottom=" + bottom + ",left=" + left + ",right=" + right + ')'; | return getClass().getName() + "[top=" + top + ",left=" + left + ",bottom=" + bottom + ",right=" + right + ']'; | public String toString() { return getClass().getName() + "(top=" + top + ",bottom=" + bottom + ",left=" + left + ",right=" + right + ')'; } |
throw new IllegalStateException ("already parsing"); filter.setContentHandler (handler); | { throw new IllegalStateException("already parsing"); } filter.setContentHandler(handler); | public void setContentHandler (ContentHandler handler) { if (active) throw new IllegalStateException ("already parsing"); filter.setContentHandler (handler); } |
throw new IllegalStateException ("already parsing"); filter.setDTDHandler (handler); | { throw new IllegalStateException("already parsing"); } filter.setDTDHandler(handler); | public void setDTDHandler (DTDHandler handler) { if (active) throw new IllegalStateException ("already parsing"); filter.setDTDHandler (handler); } |
throw new IllegalStateException ("already parsing"); aelfred2.setErrorHandler (handler); | { throw new IllegalStateException("already parsing"); } aelfred2.setErrorHandler(handler); | public void setErrorHandler (ErrorHandler handler) { if (active) throw new IllegalStateException ("already parsing"); aelfred2.setErrorHandler (handler); } |
throw new SAXNotSupportedException ("already parsing"); | { throw new SAXNotSupportedException("already parsing"); } | public void setFeature (String featureId, boolean state) throws SAXNotRecognizedException, SAXNotSupportedException { boolean value = getFeature (featureId); if (state == value) return; if ((SAXDriver.FEATURE + "validation").equals (featureId)) { if (active) throw new SAXNotSupportedException ("alrea... |
forceValidating (); | { forceValidating(); } | public void setFeature (String featureId, boolean state) throws SAXNotRecognizedException, SAXNotSupportedException { boolean value = getFeature (featureId); if (state == value) return; if ((SAXDriver.FEATURE + "validation").equals (featureId)) { if (active) throw new SAXNotSupportedException ("alrea... |
} else aelfred2.setFeature (featureId, state); | } else { aelfred2.setFeature(featureId, state); } | public void setFeature (String featureId, boolean state) throws SAXNotRecognizedException, SAXNotSupportedException { boolean value = getFeature (featureId); if (state == value) return; if ((SAXDriver.FEATURE + "validation").equals (featureId)) { if (active) throw new SAXNotSupportedException ("alrea... |
init(window, null); | public SwingWindowPeer(Window window) { super(window); } | |
if(read) | if(read && !write) | public static VMOpenMode valueOf(int mode) { // These are mode values for open(). VMOpenMode value = null; boolean read = ((mode & FileChannelImpl.READ) == FileChannelImpl.READ); boolean write = ((mode & FileChannelImpl.WRITE) == FileChannelImpl.WRITE); boolean append = ((mode... |
System.setProperty("file.encoding", "8859_1"); | public BootImageBuilder() { } | |
spinner.setOpaque(true); | protected void installDefaults() { /* most of it copied from BasicLabelUI, I don't know what keys are available, so someone may want to update this. Hence: TODO */ UIDefaults defaults = UIManager.getLookAndFeelDefaults(); /* spinner.setForeground(defaults.getColor("Spinner.foreground")); spin... | |
return "" + m; | if (this == READ_ONLY) return "READ_ONLY"; else if (this == READ_WRITE) return "READ_WRITE"; return "PRIVATE"; | public String toString() { return "" + m; } |
if (out == null) throw new IOException("Bad file descriptor"); | public void write (int oneByte) throws IOException { out.write(oneByte); } | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeBoolean (boolean val) throws IOException { out.writeBoolean(val); } | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeByte (int val) throws IOException { out.writeByte(val); } | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeBytes (String val) throws IOException { out.writeBytes(val); } | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeChar (int val) throws IOException { out.writeChar(val); } | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeChars (String val) throws IOException { out.writeChars(val); } | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeDouble (double val) throws IOException { out.writeDouble(val); } | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeFloat (float val) throws IOException { out.writeFloat(val); } | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeInt (int val) throws IOException { out.writeInt(val); } | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeLong (long val) throws IOException { out.writeLong(val); } | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeShort (int val) throws IOException { out.writeShort(val); } | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeUTF (String val) throws IOException { out.writeUTF(val); } | |
protected void addImpl(Component c, Object constraints, int index) { | protected void addImpl(Component c, Object constraints, int index) { if (!isAncestorOf(c)) { super.addImpl(c, constraints, index); } | protected void addImpl(Component c, Object constraints, int index) { // TODO } // addImpl() |
boolean shouldValidate) { | boolean shouldValidate) { addImpl(c, null, 0); graphics.translate(x, y); c.setBounds(0, 0, w, h); if (shouldValidate) { c.validate(); } c.paint(graphics); graphics.translate(-x, -y); | public void paintComponent(Graphics graphics, Component c, Container p, int x, int y, int w, int h, boolean shouldValidate) { // TODO } // paintComponent() |
}; | } | public DynAny create_basic_dyn_any(org.omg.CORBA.TypeCode t) throws InconsistentTypeCode { throw new NO_IMPLEMENT(); }; |
}; | } | public DynAny create_dyn_any(org.omg.CORBA.Any a) { throw new NO_IMPLEMENT(); }; |
}; | } | public DynArray create_dyn_array(org.omg.CORBA.TypeCode t) throws InconsistentTypeCode { throw new NO_IMPLEMENT(); }; |
}; | } | public DynEnum create_dyn_enum(org.omg.CORBA.TypeCode t) throws InconsistentTypeCode { throw new NO_IMPLEMENT(); }; |
}; | } | public DynSequence create_dyn_sequence(org.omg.CORBA.TypeCode t) throws InconsistentTypeCode { throw new NO_IMPLEMENT(); }; |
}; | } | public DynStruct create_dyn_struct(org.omg.CORBA.TypeCode t) throws InconsistentTypeCode { throw new NO_IMPLEMENT(); }; |
}; | } | public DynUnion create_dyn_union(org.omg.CORBA.TypeCode t) throws InconsistentTypeCode { throw new NO_IMPLEMENT(); }; |
public abstract void setTransform(AffineTransform Tx); | public abstract void setTransform(AffineTransform transform); | public abstract void setTransform(AffineTransform Tx); |
public abstract void transform(AffineTransform Tx); | public abstract void transform(AffineTransform transform); | public abstract void transform(AffineTransform Tx); |
throw new DomEx(DomEx.NOT_SUPPORTED_ERR); | throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR); | 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 ... |
throw new DomEx(DomEx.NOT_SUPPORTED_ERR); | throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR); | 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()); }... |
throw new DomLSEx(LSException.SERIALIZE_ERR, e); | throw new DomLSException(LSException.SERIALIZE_ERR, e); | 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... |
char[] line = new char[SCREEN_WIDTH]; for (int j = 0; j < SCREEN_WIDTH; j++) { line[j] = offset + j == cursorOffset ? '_' : ' '; } g.drawChars(line, 0, lenght, margin, h + i * h); | FontMetrics fm = getFontMetrics(getFont()); int x = margin + fm.charsWidth(buffer, offset, cursorOffset - offset); int y = h + i * h; int width = fm.charWidth(buffer[cursorOffset]); g.drawLine(x, y, x+width, y); | 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... |
{ | 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... | |
} | String uri = qName.getNamespaceURI(); String nodeUri = node.getNamespaceURI(); if (!NameTest.equal(uri, nodeUri)) return false; | 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... |
String nodeLocalName = node.getLocalName(); if (nodeLocalName == null) { nodeLocalName = node.getNodeName(); } | String nodeLocalName = NameTest.getLocalName(node); | 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 String toString () { if (any) { return "*"; } return qName.toString(); } | |
} | public String toString () { if (any) { return "*"; } return qName.toString(); } | |
final boolean equal(String s1, String s2) | static boolean equal(String s1, String s2) | final boolean equal(String s1, String s2) { return (((s1 == null || s1.length() == 0) && (s2 == null || s2.length() == 0)) || s1 != null && s1.equals(s2)); } |
; | public MimeTypeMapper() { ; } | |
return ("application/octet-stream"); | return "application/octet-stream"; | 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) ... |
return (type); | return type; | 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 static SelectorProvider provider () | public static synchronized SelectorProvider provider() | public static SelectorProvider provider () { if (pr == null) { pr = new SelectorProviderImpl (); } return pr; } |
if (pr == null) | if (systemDefaultProvider == null) | public static SelectorProvider provider () { if (pr == null) { pr = new SelectorProviderImpl (); } return pr; } |
pr = new SelectorProviderImpl (); | String propertyValue = System.getProperty("java.nio.channels.spi.SelectorProvider"); if (propertyValue == null || propertyValue.equals("")) systemDefaultProvider = new SelectorProviderImpl(); else { try { systemDefaultProvider = (SelectorProvider) Class.forName(propertyValue) .newInstance(); } catch (Exception e) { Sy... | public static SelectorProvider provider () { if (pr == null) { pr = new SelectorProviderImpl (); } return pr; } |
return pr; | return systemDefaultProvider; | public static SelectorProvider provider () { if (pr == null) { pr = new SelectorProviderImpl (); } return pr; } |
FileResource(FileURLLoader loader, String name, File file) | FileResource(FileURLLoader loader, File file) | FileResource(FileURLLoader loader, String name, File file) { super(loader, name); this.file = file; } |
super(loader, name); | super(loader); | FileResource(FileURLLoader loader, String name, File file) { super(loader, name); this.file = file; } |
return new URL(loader.baseURL, name, loader.classloader.getURLStreamHandler("file")); | return file.toURL(); | 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; } } |
return new FileResource(this, file.getPath(), file); | return new FileResource(this, file); | 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; } |
super(loader, name); | super(loader); | JarURLResource(JarURLLoader loader, String name, JarEntry entry) { super(loader, name); this.entry = entry; } |
this.name = name; | JarURLResource(JarURLLoader loader, String name, JarEntry entry) { super(loader, name); this.entry = entry; } | |
super(loader, name); | super(loader); | RemoteResource(RemoteURLLoader loader, String name, URL url, InputStream stream, int length) { super(loader, name); this.url = url; this.stream = stream; this.length = length; } |
Resource(URLLoader loader, String name) | Resource(URLLoader loader) | Resource(URLLoader loader, String name) { this.loader = loader; this.name = name; } |
this.name = name; | Resource(URLLoader loader, String name) { this.loader = loader; this.name = name; } | |
addURL(newUrls[i]); | { urls.add(newUrls[i]); addURLImpl(newUrls[i]); } | private void addURLs(URL[] newUrls) { for (int i = 0; i < newUrls.length; i++) addURL(newUrls[i]); } |
private DragWindow() | DragWindow() | private DragWindow() { super(owner); } |
public Superblock(byte src[]) throws FileSystemException { | public Superblock(byte src[], Ext2FileSystem fs) throws FileSystemException { | 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)"); } |
setDirty(false); | 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)"); } | |
throws javax.swing.text.ChangedCharSetException | throws ChangedCharSetException | protected void handleEmptyTag(TagElement tag) throws javax.swing.text.ChangedCharSetException { } |
public boolean parseMarkupDeclarations(StringBuffer strBuff) | protected boolean parseMarkupDeclarations(StringBuffer strBuff) | public boolean parseMarkupDeclarations(StringBuffer strBuff) throws IOException { return gnu.parseMarkupDeclarations(strBuff); } |
return(getClass().getName() + "[" + paramString () + "]"); | String temp = "Ctrl+"; if (usesShift) temp = temp + "Shift+"; temp = temp + keyName; return temp; | toString(){ return(getClass().getName() + "[" + paramString () + "]");} |
calendar.set(calendar.SECOND, | calendar.set(Calendar.SECOND, | 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 = ""... |
calendar.set(calendar.MILLISECOND, | calendar.set(Calendar.MILLISECOND, | 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 = ""... |
calendar.set(calendar.MINUTE, | calendar.set(Calendar.MINUTE, | 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 = ""... |
if (getValue().equals(new Integer(CANCEL_OPTION))) setInputValue(null); | public Object getInputValue() { return inputValue; } | |
return -1; | public static int showInternalConfirmDialog(Component parentComponent, Object message) { JOptionPane pane = new JOptionPane(message); JInternalFrame frame = pane.createInternalFrame(parentComponent, null); startModal(frame); return ((Integer) pane.getValue()).... | |
return -1; | public static int showInternalOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, ... | |
return -1; | public static int showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)... | |
boolean equals(ListenerRecord rec) | public boolean equals(Object o) | boolean equals(ListenerRecord rec) { return listener == rec.listener && useCapture == rec.useCapture && type == rec.type; } |
ListenerRecord rec = (ListenerRecord)o; | boolean equals(ListenerRecord rec) { return listener == rec.listener && useCapture == rec.useCapture && type == rec.type; } | |
this.listeners = new HashSet(); | protected DomNode(short nodeType, DomDocument owner) { this.nodeType = nodeType; if (owner == null) { // DOM calls never go down this path if (nodeType != DOCUMENT_NODE && nodeType != DOCUMENT_TYPE_NODE) { throw new IllegalArgumentException ("no owner!"); } ... | |
if (listeners == null) { listeners = new ListenerRecord[1]; } else if (nListeners == listeners.length) { ListenerRecord[] newListeners = new ListenerRecord[listeners.length + NKIDS_DELTA]; System.arraycopy(listeners, 0, newListeners, 0, nListeners); listeners = newListeners; } | public final void addEventListener(String type, EventListener listener, boolean useCapture) { if (listeners == null) { listeners = new ListenerRecord[1]; } else if (nListeners == listeners.length) { ListenerRec... | |
for (int i = 0; i < nListeners; i++) { if (record.equals(listeners[i])) { return; } } listeners [nListeners++] = record; | listeners.add(record); nListeners = listeners.size(); | public final void addEventListener(String type, EventListener listener, boolean useCapture) { if (listeners == null) { listeners = new ListenerRecord[1]; } else if (nListeners == listeners.length) { ListenerRec... |
case DOCUMENT_TYPE_NODE: if (!owner.building) break; switch (childNodeType) { case COMMENT_NODE: case PROCESSING_INSTRUCTION_NODE: return; } break; | private void checkMisc(DomNode child) { if (readonly && !owner.building) { throw new DomDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, null, this, 0); } for (DomNode ctx = this; ctx != null; ctx = ctx.parent) { if (child == ctx) { ... | |
node.listeners = null; | node.listeners = new HashSet(); | 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... |
if (listeners != null && listeners.length != nListeners) { if (nListeners == 0) { listeners = null; } else { ListenerRecord[] l = new ListenerRecord[nListeners]; System.arraycopy(listeners, 0, l, 0, nListeners); listeners = l; } } | 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);... | |
return true; } if (arg == null) { | case ELEMENT_NODE: case ATTRIBUTE_NODE: if (!equal(getLocalName(), arg.getLocalName()) || !equal(getNamespaceURI(), arg.getNamespaceURI())) | 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... |
} if (nodeType != arg.getNodeType() || !equal(getNodeName(), arg.getNodeName()) || !equal(getLocalName(), arg.getLocalName()) || !equal(getNamespaceURI(), arg.getNamespaceURI()) || !equal(getPrefix(), arg.getPrefix()) || | break; case PROCESSING_INSTRUCTION_NODE: if (!equal(getNodeName(), arg.getNodeName()) || | 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... | |
for (DomNode ctx = first; ctx != null; ctx = ctx.next) | DomNode ctx = first; for (; ctx != null && argCtx != null; ctx = ctx.next) | 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... |
if (!ctx.isEqualNode(argCtx)) | if (nodeType == DOCUMENT_NODE) | 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.