rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
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())....
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
return -1;
public static int showInternalOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, ...
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
return -1;
public static int showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)...
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
boolean equals(ListenerRecord rec)
public boolean equals(Object o)
boolean equals(ListenerRecord rec) { return listener == rec.listener && useCapture == rec.useCapture && type == rec.type; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
ListenerRecord rec = (ListenerRecord)o;
boolean equals(ListenerRecord rec) { return listener == rec.listener && useCapture == rec.useCapture && type == rec.type; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
public Node item(int index) { if (current == null) { current = createIterator(); lastIndex = -1; } // last node or before? go backwards if (index <= lastIndex) { while (index != lastIndex) { current.previousNode (); lastIndex--; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
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!"); } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
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) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
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);...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
} 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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
{
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
if (argCtx != null) {
if (ctx != null || argCtx != null)
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
}
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
while (ctx.next != null && ctx.next.nodeType == TEXT_NODE)
case CDATA_SECTION_NODE: while (ctx.next != null && (ctx.next.nodeType == TEXT_NODE || ctx.next.nodeType == CDATA_SECTION_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) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
attrs.item(i).normalize();
DomNode attr = (DomNode) attrs.item(i); boolean saved3 = attr.readonly; attr.readonly = false; attr.normalize(); attr.readonly = saved3;
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) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
ctx.readonly = saved2;
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) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
for (int i = 0; i < current.nListeners; i++)
while (iter.hasNext())
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
ListenerRecord rec = current.listeners[i];
ListenerRecord rec = (ListenerRecord)iter.next();
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
for (int j = 0; j < current.nListeners; j++)
while (iter.hasNext())
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
if (current.listeners[j].equals(notificationSet[i]))
ListenerRecord rec = (ListenerRecord)iter.next(); if (rec.equals(notificationSet[i]))
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
iter = null;
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
for (int i = 0; i < nListeners; i++) { if (listeners[i].listener != listener) { continue; } if (listeners[i].useCapture != useCapture) { continue; } if (!listeners[i].type.equals(type)) { continue; } if (nListeners == 1) { listeners = null; nListeners = 0; } else { for (int j = i + 1; j < nListeners; j++) { listeners[...
listeners.remove(new ListenerRecord(type, listener, useCapture)); nListeners = listeners.size();
public final void removeEventListener(String type, EventListener listener, boolean useCapture) { for (int i = 0; i < nListeners; i++) { if (listeners[i].listener != listener) { continue; } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
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; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DomNode.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomNode.java
return getMessage ();
return charsetName;
public String getCharsetName () { return getMessage (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/IllegalCharsetNameException.java/clean/core/src/classpath/java/java/nio/charset/IllegalCharsetNameException.java
AWTEventMulticaster.add (adjustmentListener, listener);
if (listener == null) return; adjustmentListener = AWTEventMulticaster.add (adjustmentListener, listener);
public void addAdjustmentListener (AdjustmentListener listener) { AWTEventMulticaster.add (adjustmentListener, listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/ScrollPaneAdjustable.java/buggy/core/src/classpath/java/java/awt/ScrollPaneAdjustable.java
AWTEventMulticaster.remove (adjustmentListener, listener);
if (listener == null) return; adjustmentListener = AWTEventMulticaster.remove (adjustmentListener, listener);
public void removeAdjustmentListener (AdjustmentListener listener) { AWTEventMulticaster.remove (adjustmentListener, listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bd498c30e250a0c0f87a82da5c5dbb94748e518a/ScrollPaneAdjustable.java/buggy/core/src/classpath/java/java/awt/ScrollPaneAdjustable.java
if (nt == Node.TEXT_NODE)
if (nt == Node.TEXT_NODE || nt == Node.CDATA_SECTION_NODE)
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) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/TransformerImpl.java/clean/core/src/classpath/gnu/gnu/xml/transform/TransformerImpl.java
} else { String text = node.getNodeValue(); String stripped = text.trim(); if (!text.equals(stripped)) { node.setNodeValue(stripped); }
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) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/TransformerImpl.java/clean/core/src/classpath/gnu/gnu/xml/transform/TransformerImpl.java
String cdataSectionElements = outputProperties.getProperty(OutputKeys.CDATA_SECTION_ELEMENTS); boolean indent = "yes".equals(outputProperties.getProperty(OutputKeys.INDENT));
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....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/TransformerImpl.java/clean/core/src/classpath/gnu/gnu/xml/transform/TransformerImpl.java
if (cdataSectionElements != null) { List list = new LinkedList(); StringTokenizer st = new StringTokenizer(cdataSectionElements); while (st.hasMoreTokens()) { String name = st.nextToken(); String localName = name; String uri = null; String prefix = null; int ci = name.indexOf(':'); if (ci != -1) { prefix = name.subst...
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....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/TransformerImpl.java/clean/core/src/classpath/gnu/gnu/xml/transform/TransformerImpl.java
private static final CharsetProvider provider ()
private static CharsetProvider provider ()
private static final CharsetProvider provider () { return Provider.provider (); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Charset.java/buggy/core/src/classpath/java/java/nio/charset/Charset.java
TextNode(TemplateNode children, TemplateNode next, boolean disableOutputEscaping)
TextNode(boolean disableOutputEscaping)
TextNode(TemplateNode children, TemplateNode next, boolean disableOutputEscaping) { super(children, next); this.disableOutputEscaping = disableOutputEscaping; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/TextNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/TextNode.java
super(children, next);
TextNode(TemplateNode children, TemplateNode next, boolean disableOutputEscaping) { super(children, next); this.disableOutputEscaping = disableOutputEscaping; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/TextNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/TextNode.java
return new TextNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), disableOutputEscaping);
TemplateNode ret = new TextNode(disableOutputEscaping); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret;
TemplateNode clone(Stylesheet stylesheet) { return new TextNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), disableOutputEscaping); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/TextNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/TextNode.java
private void writeObject(ObjectOutputStream value0) throws IOException
private void writeObject(ObjectOutputStream obj) throws IOException
private void writeObject(ObjectOutputStream value0) throws IOException { // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/DefaultTreeModel.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeModel.java
(byte) (t >>> 56), (byte) (t >>> 48), (byte) (t >>> 40), (byte) (t >>> 32), (byte) (t >>> 24), (byte) (t >>> 16), (byte) (t >>> 8), (byte) t};
(byte)(t >>> 56), (byte)(t >>> 48), (byte)(t >>> 40), (byte)(t >>> 32), (byte)(t >>> 24), (byte)(t >>> 16), (byte)(t >>> 8), (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 >...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3a66fbdd7aa8ebdfaab43610332f1a4d60081b57/PRNG.java/clean/core/src/classpath/gnu/gnu/java/security/util/PRNG.java
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 >...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3a66fbdd7aa8ebdfaab43610332f1a4d60081b57/PRNG.java/clean/core/src/classpath/gnu/gnu/java/security/util/PRNG.java
public MessageFormat(String pattern)
private MessageFormat ()
public MessageFormat(String pattern) { this(pattern, Locale.getDefault()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/MessageFormat.java/buggy/core/src/classpath/java/java/text/MessageFormat.java
this(pattern, Locale.getDefault());
public MessageFormat(String pattern) { this(pattern, Locale.getDefault()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/MessageFormat.java/buggy/core/src/classpath/java/java/text/MessageFormat.java
public int getIconHeight() { return 10; }
public int getIconHeight() { return 12; }
public int getIconHeight() { return 10; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicIconFactory.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java
public int getIconWidth() { return 10; }
public int getIconWidth() { return 12; }
public int getIconWidth() { return 10; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicIconFactory.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java
{ if (c instanceof AbstractButton) { UIDefaults defaults; defaults = UIManager.getLookAndFeelDefaults(); Color hi = defaults.getColor("CheckBox.highlight"); Color low = defaults.getColor("CheckBox.darkShadow"); Color sel = defaults.getColor("CheckBox.foreground"); Color dim = defaults.getColor("CheckBox.shadow"); Polyg...
{ g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new Polygon(new int[] { 3, 9, 3 }, new int[] { 2, 6, 10 }, 3)); g.setColor(saved); g.translate(-x, -y); }
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...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicIconFactory.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java
return 12;
return 10;
public int getIconHeight() { return 12; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicIconFactory.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java
return 12;
return 10;
public int getIconWidth() { return 12; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicIconFactory.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java
UIDefaults defaults; defaults = UIManager.getLookAndFeelDefaults(); Color hi = defaults.getColor("RadioButton.highlight"); Color low = defaults.getColor("RadioButton.darkShadow"); Color sel = defaults.getColor("RadioButton.foreground"); Color dim = defaults.getColor("RadioButton.shadow");
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 =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicIconFactory.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java
g.drawOval(x, y, 12, 12);
g.drawRect(x, y, 10, 10);
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 =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicIconFactory.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java
g.drawOval(x+1, y+1, 12, 12);
g.drawRect(x+1, y+1, 10, 10);
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 =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicIconFactory.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java
g.fillOval(x+4, y+4, 6, 6);
if (b.isSelected()) { g.drawLine(x+3, y+5, x+3, y+8); g.drawLine(x+4, y+5, x+4, y+8); g.drawLine(x+3, y+8, x+8, y+3); g.drawLine(x+4, y+8, x+8, y+3); }
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 =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicIconFactory.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java
g.drawOval(x, y, 12, 12);
g.drawRect(x, y, 10, 10);
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 =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicIconFactory.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java
g.fillOval(x+4, y+4, 6, 6);
{ g.drawLine(x+3, y+5, x+3, y+9); g.drawLine(x+3, y+9, x+8, y+3); }
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 =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicIconFactory.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java
public NotFoundHolder(NotFound initialValue)
public NotFoundHolder()
public NotFoundHolder(NotFound initialValue) { value = initialValue; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/NotFoundHolder.java/buggy/core/src/classpath/org/org/omg/CosNaming/NamingContextPackage/NotFoundHolder.java
value = initialValue;
public NotFoundHolder(NotFound initialValue) { value = initialValue; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/NotFoundHolder.java/buggy/core/src/classpath/org/org/omg/CosNaming/NamingContextPackage/NotFoundHolder.java
public RTFParser(InputStream stream, Document doc, int pos)
private RTFParser(Document doc, int pos)
public RTFParser(InputStream stream, Document doc, int pos) { this(doc, pos); scanner = new RTFScanner(stream); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f6cb9e79af09b215e75e83abc60d3939720d4f89/RTFParser.java/buggy/core/src/classpath/javax/javax/swing/text/rtf/RTFParser.java
this(doc, pos); scanner = new RTFScanner(stream);
this.doc = doc; this.pos = pos;
public RTFParser(InputStream stream, Document doc, int pos) { this(doc, pos); scanner = new RTFScanner(stream); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f6cb9e79af09b215e75e83abc60d3939720d4f89/RTFParser.java/buggy/core/src/classpath/javax/javax/swing/text/rtf/RTFParser.java
else {
else {
private void setActions(String str) { // Initialising the class java.util.Locale ... // tries to initialise the Locale.defaultLocale static // which calls System.getProperty, // which calls SecurityManager.checkPropertiesAccess, // which creates a PropertyPermission with action "read,writ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/PropertyPermission.java/clean/core/src/classpath/java/java/util/PropertyPermission.java
if (progressListeners == null) progressListeners = new ArrayList ();
public void addIIOReadProgressListener(IIOReadProgressListener listener) { if (listener == null) return; progressListeners.add(listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
if (updateListeners == null) updateListeners = new ArrayList ();
public void addIIOReadUpdateListener(IIOReadUpdateListener listener) { if (listener == null) return; updateListeners.add(listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
if (warningListeners == null) warningListeners = new ArrayList ();
public void addIIOReadWarningListener(IIOReadWarningListener listener) { if (listener == null) return; warningListeners.add(listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
if (input == null) throw new IllegalStateException("input is null");
public float getAspectRatio(int imageIndex) throws IOException { return (float) (getWidth(imageIndex) / getHeight(imageIndex)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
protected void processImageComplete() { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.imageComplete (this); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
protected void processImageComplete() { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.imageComplete (this); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
protected void processImageProgress(float percentageDone) { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.imageProgress(this, percentageDone); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
protected void processImageProgress(float percentageDone) { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.imageProgress(this, percentageDone); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
protected void processImageStarted(int imageIndex) { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.imageStarted(this, imageIndex); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
protected void processImageStarted(int imageIndex) { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.imageStarted(this, imageIndex); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
listener.imageUpdate(this, image, minX, minY, width, height, periodX, periodY, bands);
listener.imageUpdate(this, image, minX, minY, width, height, periodX, periodY, bands); }
protected void processImageUpdate(BufferedImage image, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) { Iterator it = updateListeners.iterator(); while (it.hasNext()) { IIOReadUpdateListener listener = (IIOReadUpdateListener) it.next(); listener.imageUpdate...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
protected void processPassComplete(BufferedImage image) { Iterator it = updateListeners.iterator(); while (it.hasNext()) { IIOReadUpdateListener listener = (IIOReadUpdateListener) it.next(); listener.passComplete(this, image); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
listener.passStarted(this, image, pass, minPass, maxPass, minX, minY, periodX, periodY, bands);
listener.passStarted(this, image, pass, minPass, maxPass, minX, minY, periodX, periodY, bands); }
protected void processPassStarted(BufferedImage image, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) { Iterator it = updateListeners.iterator(); while (it.hasNext()) { IIOReadUpdateListener listener = (IIOReadUpdateListener) it.next(); listene...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
protected void processReadAborted() { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.readAborted(this); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
protected void processReadAborted() { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.readAborted(this); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
protected void processSequenceComplete() { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.sequenceComplete(this); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
protected void processSequenceComplete() { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.sequenceComplete(this); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
protected void processSequenceStarted(int minIndex) { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.sequenceStarted(this, minIndex); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
protected void processSequenceStarted(int minIndex) { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.sequenceStarted(this, minIndex); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
protected void processThumbnailComplete() { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.thumbnailComplete(this); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
protected void processThumbnailComplete() { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.thumbnailComplete(this); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
protected void processThumbnailPassComplete(BufferedImage thumbnail) { Iterator it = updateListeners.iterator(); while (it.hasNext()) { IIOReadUpdateListener listener = (IIOReadUpdateListener) it.next(); listener.thumbnailPassComplete(this, thumbnail); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
listener.thumbnailPassStarted(this, thumbnail, pass, minPass, maxPass, minX, minY, periodX, periodY, bands);
listener.thumbnailPassStarted(this, thumbnail, pass, minPass, maxPass, minX, minY, periodX, periodY, bands); }
protected void processThumbnailPassStarted(BufferedImage thumbnail, int pass, int minPass, int maxPass, int minX, int minY, int periodX, int periodY, int[] bands) { Iterator it = updateListeners.iterator(); while (it.hasNext()) { IIOReadUpdateListener listener = (IIOReadUpdateLi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
protected void processThumbnailProgress(float percentageDone) { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.thumbnailProgress(this, percentageDone); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
protected void processThumbnailProgress(float percentageDone) { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.thumbnailProgress(this, percentageDone); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
IIOReadProgressListener listener = (IIOReadProgressListener) it.next();
protected void processThumbnailStarted(int imageIndex, int thumbnailIndex) { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.thumbnailStarted(this, imageIndex, thumbnailIndex); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
protected void processThumbnailStarted(int imageIndex, int thumbnailIndex) { Iterator it = progressListeners.iterator(); while (it.hasNext()) { IIOReadProgressListener listener = (IIOReadProgressListener) it.next(); listener.thumbnailStarted(this, imageIndex, thumbnailIndex); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
protected void processThumbnailUpdate(BufferedImage image, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) { Iterator it = updateListeners.iterator(); while (it.hasNext()) { IIOReadUpdateListener listener = (IIOReadUpdateListener) it.next(); listener.thumbnailUpda...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
Iterator it = warningListeners.iterator();
if (warning == null) throw new IllegalArgumentException ("null argument"); if (warningListeners != null) { Iterator it = warningListeners.iterator();
protected void processWarningOccurred(String warning) { Iterator it = warningListeners.iterator(); while (it.hasNext()) { IIOReadWarningListener listener = (IIOReadWarningListener) it.next(); listener.warningOccurred(this, warning); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
while (it.hasNext()) { IIOReadWarningListener listener = (IIOReadWarningListener) it.next(); listener.warningOccurred(this, warning);
while (it.hasNext()) { IIOReadWarningListener listener = (IIOReadWarningListener) it.next(); listener.warningOccurred(this, warning); }
protected void processWarningOccurred(String warning) { Iterator it = warningListeners.iterator(); while (it.hasNext()) { IIOReadWarningListener listener = (IIOReadWarningListener) it.next(); listener.warningOccurred(this, warning); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
progressListeners.clear();
progressListeners = null;
public void removeAllIIOReadProgressListeners() { progressListeners.clear(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
updateListeners.clear();
updateListeners = null;
public void removeAllIIOReadUpdateListeners() { updateListeners.clear(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
warningListeners.clear();
warningListeners = null;
public void removeAllIIOReadWarningListeners() { warningListeners.clear(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
if (progressListeners != null) {
public void removeIIOReadProgressListener(IIOReadProgressListener listener) { if (listener == null) return; progressListeners.remove(listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
public void removeIIOReadProgressListener(IIOReadProgressListener listener) { if (listener == null) return; progressListeners.remove(listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
public void removeIIOReadUpdateListener(IIOReadUpdateListener listener) { if (listener == null) return; updateListeners.remove(listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
if (warningListeners != null) {
public void removeIIOReadWarningListener(IIOReadWarningListener listener) { if (listener == null) return; warningListeners.remove(listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java
}
public void removeIIOReadWarningListener(IIOReadWarningListener listener) { if (listener == null) return; warningListeners.remove(listener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ImageReader.java/clean/core/src/classpath/javax/javax/imageio/ImageReader.java