rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
boolean value = getFeature (featureId); | boolean value = getFeature(featureId); | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java |
if ((SAXDriver.FEATURE + "validation").equals (featureId)) { | if ((SAXDriver.FEATURE + "validation").equals(featureId)) { | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java |
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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java |
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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java |
} 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java |
public void setLocale (Locale locale) | public void setLocale(Locale locale) | public void setLocale (Locale locale) throws SAXException { aelfred2.setLocale (locale); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java |
{ aelfred2.setLocale (locale); } | { aelfred2.setLocale(locale); } | public void setLocale (Locale locale) throws SAXException { aelfred2.setLocale (locale); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlReader.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlReader.java |
init(window, null); | public SwingWindowPeer(Window window) { super(window); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingWindowPeer.java/clean/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingWindowPeer.java | |
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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/336ae52cf691fa3089a48e8ca9b936d4d30f5639/VMOpenMode.java/buggy/core/src/classpath/vm/java/io/VMOpenMode.java |
public final int validOps () | public final int validOps() | public final int validOps () { return SelectionKey.OP_WRITE; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Pipe.java/buggy/core/src/classpath/java/java/nio/channels/Pipe.java |
public final int validOps () | public final int validOps() | public final int validOps () { return SelectionKey.OP_READ; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Pipe.java/buggy/core/src/classpath/java/java/nio/channels/Pipe.java |
return SelectorProvider.provider ().openPipe(); | return SelectorProvider.provider().openPipe(); | public static Pipe open() throws IOException { return SelectorProvider.provider ().openPipe(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Pipe.java/buggy/core/src/classpath/java/java/nio/channels/Pipe.java |
System.setProperty("file.encoding", "8859_1"); | public BootImageBuilder() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cc8a840815e97f43994261c91dfbc752681beaac/BootImageBuilder.java/clean/builder/src/builder/org/jnode/build/x86/BootImageBuilder.java | |
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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/BasicSpinnerUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicSpinnerUI.java | |
return "" + m; | if (this == READ_ONLY) return "READ_ONLY"; else if (this == READ_WRITE) return "READ_WRITE"; return "PRIVATE"; | public String toString() { return "" + m; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/FileChannel.java/buggy/core/src/classpath/java/java/nio/channels/FileChannel.java |
protected FileChannel () | protected FileChannel() | protected FileChannel () { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/FileChannel.java/buggy/core/src/classpath/java/java/nio/channels/FileChannel.java |
if (out == null) throw new IOException("Bad file descriptor"); | public void write (int oneByte) throws IOException { out.write(oneByte); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/RandomAccessFile.java/clean/core/src/classpath/5.0/java/io/RandomAccessFile.java | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeBoolean (boolean val) throws IOException { out.writeBoolean(val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/RandomAccessFile.java/clean/core/src/classpath/5.0/java/io/RandomAccessFile.java | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeByte (int val) throws IOException { out.writeByte(val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/RandomAccessFile.java/clean/core/src/classpath/5.0/java/io/RandomAccessFile.java | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeBytes (String val) throws IOException { out.writeBytes(val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/RandomAccessFile.java/clean/core/src/classpath/5.0/java/io/RandomAccessFile.java | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeChar (int val) throws IOException { out.writeChar(val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/RandomAccessFile.java/clean/core/src/classpath/5.0/java/io/RandomAccessFile.java | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeChars (String val) throws IOException { out.writeChars(val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/RandomAccessFile.java/clean/core/src/classpath/5.0/java/io/RandomAccessFile.java | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeDouble (double val) throws IOException { out.writeDouble(val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/RandomAccessFile.java/clean/core/src/classpath/5.0/java/io/RandomAccessFile.java | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeFloat (float val) throws IOException { out.writeFloat(val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/RandomAccessFile.java/clean/core/src/classpath/5.0/java/io/RandomAccessFile.java | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeInt (int val) throws IOException { out.writeInt(val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/RandomAccessFile.java/clean/core/src/classpath/5.0/java/io/RandomAccessFile.java | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeLong (long val) throws IOException { out.writeLong(val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/RandomAccessFile.java/clean/core/src/classpath/5.0/java/io/RandomAccessFile.java | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeShort (int val) throws IOException { out.writeShort(val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/RandomAccessFile.java/clean/core/src/classpath/5.0/java/io/RandomAccessFile.java | |
if (out == null) throw new IOException("Bad file descriptor"); | public final void writeUTF (String val) throws IOException { out.writeUTF(val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ba6c8424cfc5e0b2250088f94b5bbf356d91781a/RandomAccessFile.java/clean/core/src/classpath/5.0/java/io/RandomAccessFile.java | |
public CellRendererPane() { | public CellRendererPane() { | public CellRendererPane() { // TODO } // CellRendererPane() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/CellRendererPane.java/buggy/core/src/classpath/javax/javax/swing/CellRendererPane.java |
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() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/CellRendererPane.java/buggy/core/src/classpath/javax/javax/swing/CellRendererPane.java |
public void invalidate() { | public void invalidate() { | public void invalidate() { // TODO } // invalidate() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/CellRendererPane.java/buggy/core/src/classpath/javax/javax/swing/CellRendererPane.java |
public void paint(Graphics graphics) { } | public void paint(Graphics graphics) { } | public void paint(Graphics graphics) { // TODO } // paint() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/CellRendererPane.java/buggy/core/src/classpath/javax/javax/swing/CellRendererPane.java |
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() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/CellRendererPane.java/buggy/core/src/classpath/javax/javax/swing/CellRendererPane.java |
public void update(Graphics graphics) { | public void update(Graphics graphics) { | public void update(Graphics graphics) { // TODO } // update() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/CellRendererPane.java/buggy/core/src/classpath/javax/javax/swing/CellRendererPane.java |
}; | } | public DynAny create_basic_dyn_any(org.omg.CORBA.TypeCode t) throws InconsistentTypeCode { throw new NO_IMPLEMENT(); }; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/dbc1cbd052dbda830a86b08d4cde2cef27bbaf55/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java |
}; | } | public DynAny create_dyn_any(org.omg.CORBA.Any a) { throw new NO_IMPLEMENT(); }; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/dbc1cbd052dbda830a86b08d4cde2cef27bbaf55/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java |
}; | } | public DynArray create_dyn_array(org.omg.CORBA.TypeCode t) throws InconsistentTypeCode { throw new NO_IMPLEMENT(); }; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/dbc1cbd052dbda830a86b08d4cde2cef27bbaf55/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java |
}; | } | public DynEnum create_dyn_enum(org.omg.CORBA.TypeCode t) throws InconsistentTypeCode { throw new NO_IMPLEMENT(); }; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/dbc1cbd052dbda830a86b08d4cde2cef27bbaf55/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java |
}; | } | public DynSequence create_dyn_sequence(org.omg.CORBA.TypeCode t) throws InconsistentTypeCode { throw new NO_IMPLEMENT(); }; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/dbc1cbd052dbda830a86b08d4cde2cef27bbaf55/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java |
}; | } | public DynStruct create_dyn_struct(org.omg.CORBA.TypeCode t) throws InconsistentTypeCode { throw new NO_IMPLEMENT(); }; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/dbc1cbd052dbda830a86b08d4cde2cef27bbaf55/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java |
}; | } | public DynUnion create_dyn_union(org.omg.CORBA.TypeCode t) throws InconsistentTypeCode { throw new NO_IMPLEMENT(); }; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/dbc1cbd052dbda830a86b08d4cde2cef27bbaf55/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java |
ServiceInformationHolder service_info) | ServiceInformationHolder service_info ) | public boolean get_service_information(short service_type, ServiceInformationHolder service_info) { throw new NO_IMPLEMENT(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/dbc1cbd052dbda830a86b08d4cde2cef27bbaf55/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java |
public abstract void drawGlyphVector (GlyphVector g, float x, float y); | public abstract void drawGlyphVector(GlyphVector g, float x, float y); | public abstract void drawGlyphVector (GlyphVector g, float x, float y); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/Graphics2D.java/clean/core/src/classpath/java/java/awt/Graphics2D.java |
public abstract FontRenderContext getFontRenderContext (); | public abstract FontRenderContext getFontRenderContext(); | public abstract FontRenderContext getFontRenderContext (); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/Graphics2D.java/clean/core/src/classpath/java/java/awt/Graphics2D.java |
public abstract void setTransform(AffineTransform Tx); | public abstract void setTransform(AffineTransform transform); | public abstract void setTransform(AffineTransform Tx); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/Graphics2D.java/clean/core/src/classpath/java/java/awt/Graphics2D.java |
public abstract void transform(AffineTransform Tx); | public abstract void transform(AffineTransform transform); | public abstract void transform(AffineTransform Tx); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/Graphics2D.java/clean/core/src/classpath/java/java/awt/Graphics2D.java |
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 ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomLSSerializer.java/clean/core/src/classpath/gnu/gnu/xml/dom/ls/DomLSSerializer.java |
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()); }... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomLSSerializer.java/clean/core/src/classpath/gnu/gnu/xml/dom/ls/DomLSSerializer.java |
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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomLSSerializer.java/clean/core/src/classpath/gnu/gnu/xml/dom/ls/DomLSSerializer.java |
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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/da7ef004098bc7f4da5cf8e79875f5ffd8817bf4/SwingPcTextScreen.java/clean/gui/src/driver/org/jnode/driver/textscreen/swing/SwingPcTextScreen.java |
{ | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/NamespaceTest.java/clean/core/src/classpath/gnu/gnu/xml/xpath/NamespaceTest.java | |
} | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/NamespaceTest.java/clean/core/src/classpath/gnu/gnu/xml/xpath/NamespaceTest.java | |
{ | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/NamespaceTest.java/clean/core/src/classpath/gnu/gnu/xml/xpath/NamespaceTest.java | |
} | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/NamespaceTest.java/clean/core/src/classpath/gnu/gnu/xml/xpath/NamespaceTest.java |
{ | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/NamespaceTest.java/clean/core/src/classpath/gnu/gnu/xml/xpath/NamespaceTest.java | |
} | 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/NamespaceTest.java/clean/core/src/classpath/gnu/gnu/xml/xpath/NamespaceTest.java | |
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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/NamespaceTest.java/clean/core/src/classpath/gnu/gnu/xml/xpath/NamespaceTest.java |
{ | public String toString () { if (any) { return "*"; } return qName.toString(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/NamespaceTest.java/clean/core/src/classpath/gnu/gnu/xml/xpath/NamespaceTest.java | |
} | public String toString () { if (any) { return "*"; } return qName.toString(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/NamespaceTest.java/clean/core/src/classpath/gnu/gnu/xml/xpath/NamespaceTest.java | |
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)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/NameTest.java/buggy/core/src/classpath/gnu/gnu/xml/xpath/NameTest.java |
{ | public String toString () { if (any) { return "*"; } return qName.toString(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/NameTest.java/clean/core/src/classpath/gnu/gnu/xml/xpath/NameTest.java | |
} | public String toString () { if (any) { return "*"; } return qName.toString(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/NameTest.java/clean/core/src/classpath/gnu/gnu/xml/xpath/NameTest.java | |
; | public MimeTypeMapper() { ; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/MimeTypeMapper.java/buggy/core/src/classpath/java/java/net/MimeTypeMapper.java | |
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) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/MimeTypeMapper.java/buggy/core/src/classpath/java/java/net/MimeTypeMapper.java |
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) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/MimeTypeMapper.java/buggy/core/src/classpath/java/java/net/MimeTypeMapper.java |
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) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/MimeTypeMapper.java/buggy/core/src/classpath/java/java/net/MimeTypeMapper.java |
protected SelectorProvider () | protected SelectorProvider() | protected SelectorProvider () { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkPermission (new RuntimePermission ("selectorProvider")); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectorProvider.java/buggy/core/src/classpath/java/java/nio/channels/spi/SelectorProvider.java |
SecurityManager sm = System.getSecurityManager (); | SecurityManager sm = System.getSecurityManager(); | protected SelectorProvider () { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkPermission (new RuntimePermission ("selectorProvider")); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectorProvider.java/buggy/core/src/classpath/java/java/nio/channels/spi/SelectorProvider.java |
sm.checkPermission (new RuntimePermission ("selectorProvider")); | sm.checkPermission(new RuntimePermission("selectorProvider")); | protected SelectorProvider () { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkPermission (new RuntimePermission ("selectorProvider")); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectorProvider.java/buggy/core/src/classpath/java/java/nio/channels/spi/SelectorProvider.java |
public abstract DatagramChannel openDatagramChannel () throws IOException; | public abstract DatagramChannel openDatagramChannel() throws IOException; | public abstract DatagramChannel openDatagramChannel () throws IOException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectorProvider.java/buggy/core/src/classpath/java/java/nio/channels/spi/SelectorProvider.java |
public abstract Pipe openPipe () throws IOException; | public abstract Pipe openPipe() throws IOException; | public abstract Pipe openPipe () throws IOException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectorProvider.java/buggy/core/src/classpath/java/java/nio/channels/spi/SelectorProvider.java |
public abstract AbstractSelector openSelector () throws IOException; | public abstract AbstractSelector openSelector() throws IOException; | public abstract AbstractSelector openSelector () throws IOException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectorProvider.java/buggy/core/src/classpath/java/java/nio/channels/spi/SelectorProvider.java |
public abstract ServerSocketChannel openServerSocketChannel () throws IOException; | public abstract ServerSocketChannel openServerSocketChannel() throws IOException; | public abstract ServerSocketChannel openServerSocketChannel () throws IOException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectorProvider.java/buggy/core/src/classpath/java/java/nio/channels/spi/SelectorProvider.java |
public abstract SocketChannel openSocketChannel () throws IOException; | public abstract SocketChannel openSocketChannel() throws IOException; | public abstract SocketChannel openSocketChannel () throws IOException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectorProvider.java/buggy/core/src/classpath/java/java/nio/channels/spi/SelectorProvider.java |
public static SelectorProvider provider () | public static synchronized SelectorProvider provider() | public static SelectorProvider provider () { if (pr == null) { pr = new SelectorProviderImpl (); } return pr; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectorProvider.java/buggy/core/src/classpath/java/java/nio/channels/spi/SelectorProvider.java |
if (pr == null) | if (systemDefaultProvider == null) | public static SelectorProvider provider () { if (pr == null) { pr = new SelectorProviderImpl (); } return pr; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectorProvider.java/buggy/core/src/classpath/java/java/nio/channels/spi/SelectorProvider.java |
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; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectorProvider.java/buggy/core/src/classpath/java/java/nio/channels/spi/SelectorProvider.java |
return pr; | return systemDefaultProvider; | public static SelectorProvider provider () { if (pr == null) { pr = new SelectorProviderImpl (); } return pr; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectorProvider.java/buggy/core/src/classpath/java/java/nio/channels/spi/SelectorProvider.java |
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; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/URLClassLoader.java/buggy/core/src/classpath/java/java/net/URLClassLoader.java |
super(loader, name); | super(loader); | FileResource(FileURLLoader loader, String name, File file) { super(loader, name); this.file = file; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/URLClassLoader.java/buggy/core/src/classpath/java/java/net/URLClassLoader.java |
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; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/URLClassLoader.java/buggy/core/src/classpath/java/java/net/URLClassLoader.java |
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; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/URLClassLoader.java/buggy/core/src/classpath/java/java/net/URLClassLoader.java |
super(loader, name); | super(loader); | JarURLResource(JarURLLoader loader, String name, JarEntry entry) { super(loader, name); this.entry = entry; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/URLClassLoader.java/buggy/core/src/classpath/java/java/net/URLClassLoader.java |
this.name = name; | JarURLResource(JarURLLoader loader, String name, JarEntry entry) { super(loader, name); this.entry = entry; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/URLClassLoader.java/buggy/core/src/classpath/java/java/net/URLClassLoader.java | |
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; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/URLClassLoader.java/buggy/core/src/classpath/java/java/net/URLClassLoader.java |
Resource(URLLoader loader, String name) | Resource(URLLoader loader) | Resource(URLLoader loader, String name) { this.loader = loader; this.name = name; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/URLClassLoader.java/buggy/core/src/classpath/java/java/net/URLClassLoader.java |
this.name = name; | Resource(URLLoader loader, String name) { this.loader = loader; this.name = name; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/URLClassLoader.java/buggy/core/src/classpath/java/java/net/URLClassLoader.java | |
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]); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/URLClassLoader.java/buggy/core/src/classpath/java/java/net/URLClassLoader.java |
protected SelectableChannel () | protected SelectableChannel() | protected SelectableChannel () { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectableChannel.java/buggy/core/src/classpath/java/java/nio/channels/SelectableChannel.java |
private DragWindow() | DragWindow() | private DragWindow() { super(owner); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java |
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)"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5d32e4c533c3f554b2099795fe6d30766c16e4da/Superblock.java/clean/fs/src/fs/org/jnode/fs/ext2/Superblock.java |
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)"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5d32e4c533c3f554b2099795fe6d30766c16e4da/Superblock.java/clean/fs/src/fs/org/jnode/fs/ext2/Superblock.java | |
throws javax.swing.text.ChangedCharSetException | throws ChangedCharSetException | protected void handleEmptyTag(TagElement tag) throws javax.swing.text.ChangedCharSetException { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f6cb9e79af09b215e75e83abc60d3939720d4f89/Parser.java/buggy/core/src/classpath/javax/javax/swing/text/html/parser/Parser.java |
public boolean parseMarkupDeclarations(StringBuffer strBuff) | protected boolean parseMarkupDeclarations(StringBuffer strBuff) | public boolean parseMarkupDeclarations(StringBuffer strBuff) throws IOException { return gnu.parseMarkupDeclarations(strBuff); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f6cb9e79af09b215e75e83abc60d3939720d4f89/Parser.java/buggy/core/src/classpath/javax/javax/swing/text/html/parser/Parser.java |
return(getClass().getName() + "[" + paramString () + "]"); | String temp = "Ctrl+"; if (usesShift) temp = temp + "Shift+"; temp = temp + keyName; return temp; | toString(){ return(getClass().getName() + "[" + paramString () + "]");} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6927129f1f7f8acd84e5ca16651e8fe5aa4e194b/MenuShortcut.java/buggy/core/src/classpath/java/java/awt/MenuShortcut.java |
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 = ""... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DERReader.java/clean/core/src/classpath/gnu/gnu/java/security/der/DERReader.java |
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 = ""... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DERReader.java/clean/core/src/classpath/gnu/gnu/java/security/der/DERReader.java |
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 = ""... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DERReader.java/clean/core/src/classpath/gnu/gnu/java/security/der/DERReader.java |
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 = ""... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DERReader.java/clean/core/src/classpath/gnu/gnu/java/security/der/DERReader.java |
if (getValue().equals(new Integer(CANCEL_OPTION))) setInputValue(null); | public Object getInputValue() { return inputValue; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/JOptionPane.java/clean/core/src/classpath/javax/javax/swing/JOptionPane.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.