rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
numStartTags++; | switch (data[i].getDirection()) { case ElementSpec.JoinFractureDirection: insertFracture(data[i]); break; case ElementSpec.JoinNextDirection: int index = paragraph.getElementIndex(offset); elementStack.push(paragraph.getElement(index)); break; case ElementSpec.OriginateDirection: Element current = (Element) elementStac... | protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: numStartTags++; break; case ElementSpec.EndTagType: numEndTags++; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java |
numEndTags++; | elementStack.pop(); | protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: numStartTags++; break; case ElementSpec.EndTagType: numEndTags++; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java |
default: | case ElementSpec.ContentType: | protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: numStartTags++; break; case ElementSpec.EndTagType: numEndTags++; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java |
endEdit(); | protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: numStartTags++; break; case ElementSpec.EndTagType: numEndTags++; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java | |
addEdit(el, index, removed, added); | edits.add(new Edit(el, index, removed, added)); | private Element[] split(Element el, int offset, int space) { // If we are at an element boundary, then return an empty array. if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; // If the element is an instance of ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java |
addEdit(el, index, removed, added); | edits.add(new Edit(el, index, removed, added)); | private Element[] split(Element el, int offset, int space) { // If we are at an element boundary, then return an empty array. if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; // If the element is an instance of ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java |
b.append('<'); | public String toString() { StringBuilder b = new StringBuilder(); b.append('<'); switch (type) { case StartTagType: b.append("StartTag"); break; case EndTagType: b.append("EndTag"); break; case ContentType: b.append("Content"... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java | |
protected AbstractDocument.AbstractElement createDefaultRoot() { Element[] tmp; // FIXME: Create a SecionElement here instead of a BranchElement. // Use createBranchElement() and createLeafElement instead. SectionElement section = new SectionElement(); BranchElement paragraph = new BranchElement(secti... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java | ||
paragraph.setResolveParent(getStyle(StyleContext.DEFAULT_STYLE)); | protected AbstractDocument.AbstractElement createDefaultRoot() { Element[] tmp; // FIXME: Create a SecionElement here instead of a BranchElement. // Use createBranchElement() and createLeafElement instead. SectionElement section = new SectionElement(); BranchElement paragraph = new BranchElement(secti... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java | |
for (int i = 0; i < data.length; i++) { ElementSpec spec = data[i]; AttributeSet atts = spec.getAttributes(); if (atts != null) insertUpdate(ev, atts); } | protected void insert(int offset, ElementSpec[] data) throws BadLocationException { try { // writeLock() and writeUnlock() should always be in a try/finally // block so that locking balance is guaranteed even if some // exception is thrown. writeLock(); // First we ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java | |
fireUndoableEditUpdate(new UndoableEditEvent(this, ev)); | protected void insert(int offset, ElementSpec[] data) throws BadLocationException { try { // writeLock() and writeUnlock() should always be in a try/finally // block so that locking balance is guaranteed even if some // exception is thrown. writeLock(); // First we ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java | |
ElementSpec finalStartTag = null; short finalStartDirection = ElementSpec.OriginateDirection; boolean prevCharWasNewline = false; | protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java | |
ElementSpec spec = new ElementSpec(attr, ElementSpec.ContentType, len); specs.add(spec); | specs.add(new ElementSpec(attr, ElementSpec.ContentType, len)); | protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java |
ElementSpec endTag = new ElementSpec(null, ElementSpec.EndTagType); specs.add(endTag); ElementSpec startTag = new ElementSpec(paragraphAttributes, | specs.add(new ElementSpec(null, ElementSpec.EndTagType)); finalStartTag = new ElementSpec(paragraphAttributes, | protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java |
startTag.setDirection(ElementSpec.JoinFractureDirection); specs.add(startTag); | specs.add(finalStartTag); | protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java |
if (next.getAttributes().isEqual(attr)) | if (last.getType() == ElementSpec.ContentType) { Element currentRun = prevParagraph.getElement(prevParagraph.getElementIndex(offset)); if (currentRun.getEndOffset() == endOffset) { if (endOffset < getLength() && next.getAttributes().isEqual(attr) && last.getType() == ElementSpec.ContentType) | protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java |
if (prev.getAttributes().isEqual(attr)) | if (prev.getAttributes().isEqual(attr) && first.getType() == ElementSpec.ContentType) | protected void insertUpdate(DefaultDocumentEvent ev, AttributeSet attr) { super.insertUpdate(ev, attr); // If the attribute set is null, use an empty attribute set. if (attr == null) attr = SimpleAttributeSet.EMPTY; int offset = ev.getOffset(); int length = ev.getLength(); int endOffset = offs... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java |
new DefaultDocumentEvent ( start, | new DefaultDocumentEvent (start, | public void setLogicalStyle(int position, Style style) { Element el = getParagraphElement(position); // getParagraphElement doesn't return null but subclasses might so // we check for null here. if (el == null) return; try { writeLock(); if (el instanceof AbstractElement) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java |
public void setLogicalStyle(int position, Style style) { Element el = getParagraphElement(position); // getParagraphElement doesn't return null but subclasses might so // we check for null here. if (el == null) return; try { writeLock(); if (el instanceof AbstractElement) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java | ||
fireUndoableEditUpdate(new UndoableEditEvent(this, ev)); | public void setLogicalStyle(int position, Style style) { Element el = getParagraphElement(position); // getParagraphElement doesn't return null but subclasses might so // we check for null here. if (el == null) return; try { writeLock(); if (el instanceof AbstractElement) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultStyledDocument.java/clean/core/src/classpath/javax/javax/swing/text/DefaultStyledDocument.java | |
public GapContent(int size) | public GapContent() | public GapContent(int size) { buf.append("\n"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java |
buf.append("\n"); | this(10); | public GapContent(int size) { buf.append("\n"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/GapContent.java/buggy/core/src/classpath/javax/javax/swing/text/GapContent.java |
protected AbstractDocument(Content doc, AttributeContext ctx) | protected AbstractDocument(Content doc) | protected AbstractDocument(Content doc, AttributeContext ctx) { content = doc; context = ctx; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
content = doc; context = ctx; | this(doc, StyleContext.getDefaultStyleContext()); | protected AbstractDocument(Content doc, AttributeContext ctx) { content = doc; context = ctx; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
public Color getBackground(AttributeSet set); | Color getBackground(AttributeSet set); | public Color getBackground(AttributeSet set); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/StyledDocument.java/buggy/core/src/classpath/javax/javax/swing/text/StyledDocument.java |
public Font getFont(AttributeSet set); | Font getFont(AttributeSet set); | public Font getFont(AttributeSet set); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/StyledDocument.java/buggy/core/src/classpath/javax/javax/swing/text/StyledDocument.java |
public Color getForeground(AttributeSet set); | Color getForeground(AttributeSet set); | public Color getForeground(AttributeSet set); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/StyledDocument.java/buggy/core/src/classpath/javax/javax/swing/text/StyledDocument.java |
public void getText(int offset, int length, Segment segment) throws BadLocationException { content.getChars(offset, length, segment); } | public String getText(int offset, int length) throws BadLocationException { return content.getString(offset, length); } | public void getText(int offset, int length, Segment segment) throws BadLocationException { content.getChars(offset, length, segment); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
public void setParagraphAttributes(int offset, int length, | void setParagraphAttributes(int offset, int length, | public void setParagraphAttributes(int offset, int length, AttributeSet set, boolean replace); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/StyledDocument.java/buggy/core/src/classpath/javax/javax/swing/text/StyledDocument.java |
invalidate(); layout(); | protected void addImpl(Component comp, Object constraints, int index) { int left = 0; int right = 1; int div = 2; int place; if (constraints == null) { if (leftComponent == null) constraints = LEFT; else if (rightComponent == null) constraints = RIGHT; } if (constraints instanceof Str... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/JSplitPane.java/buggy/core/src/classpath/javax/javax/swing/JSplitPane.java | |
private void resetSelectedValue() | void resetSelectedValue() | private void resetSelectedValue() { if (inputComponent != null) { Object init = optionPane.getInitialSelectionValue(); if (init == null) return; if (inputComponent instanceof JTextField) ((JTextField) inputComponent).setText((String) init); else if (inputComponent instanceof JComboBox) ((JComboBox) inp... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/BasicOptionPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicOptionPaneUI.java |
Object invoke (Remote obj, Method method, Object[] params, long opnum) throws Exception; | void invoke (RemoteCall call) throws Exception; | Object invoke (Remote obj, Method method, Object[] params, long opnum) throws Exception; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3fecc4797b433a10203c51309b9d8626f7783895/RemoteRef.java/buggy/core/src/classpath/java/java/rmi/server/RemoteRef.java |
public void update (int bval); | void update (int bval); | public void update (int bval); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/Checksum.java/buggy/core/src/classpath/java/java/util/zip/Checksum.java |
public DataFormatException(String msg) | public DataFormatException() | public DataFormatException(String msg) { super(msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/DataFormatException.java/buggy/core/src/classpath/java/java/util/zip/DataFormatException.java |
super(msg); | public DataFormatException(String msg) { super(msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/DataFormatException.java/buggy/core/src/classpath/java/java/util/zip/DataFormatException.java | |
protected SelectionKey () | protected SelectionKey() | protected SelectionKey () { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
public final Object attachment () | public final Object attachment() | public final Object attachment () { return attached; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
public abstract void cancel (); | public abstract void cancel(); | public abstract void cancel (); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
public abstract SelectableChannel channel (); | public abstract SelectableChannel channel(); | public abstract SelectableChannel channel (); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
public abstract int interestOps (); | public abstract int interestOps(); | public abstract int interestOps (); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
public final boolean isAcceptable () | public final boolean isAcceptable() | public final boolean isAcceptable () { return (readyOps () & OP_ACCEPT) != 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
return (readyOps () & OP_ACCEPT) != 0; | return (readyOps() & OP_ACCEPT) != 0; | public final boolean isAcceptable () { return (readyOps () & OP_ACCEPT) != 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
public final boolean isConnectable () | public final boolean isConnectable() | public final boolean isConnectable () { return (readyOps () & OP_CONNECT) != 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
return (readyOps () & OP_CONNECT) != 0; | return (readyOps() & OP_CONNECT) != 0; | public final boolean isConnectable () { return (readyOps () & OP_CONNECT) != 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
public final boolean isReadable () | public final boolean isReadable() | public final boolean isReadable () { return (readyOps () & OP_READ) != 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
return (readyOps () & OP_READ) != 0; | return (readyOps() & OP_READ) != 0; | public final boolean isReadable () { return (readyOps () & OP_READ) != 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
public abstract boolean isValid (); | public abstract boolean isValid(); | public abstract boolean isValid (); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
public final boolean isWritable () | public final boolean isWritable() | public final boolean isWritable () { return (readyOps () & OP_WRITE) != 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
return (readyOps () & OP_WRITE) != 0; | return (readyOps() & OP_WRITE) != 0; | public final boolean isWritable () { return (readyOps () & OP_WRITE) != 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
public abstract int readyOps (); | public abstract int readyOps(); | public abstract int readyOps (); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
public abstract Selector selector (); | public abstract Selector selector(); | public abstract Selector selector (); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/SelectionKey.java/buggy/core/src/classpath/java/java/nio/channels/SelectionKey.java |
{ | TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), type); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { re... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
} | TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), type); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { re... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
{ | TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), type); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { re... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
} | TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), type); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { re... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
{ | public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
} | public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
{ | public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
} | public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
{ | public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
} | public int compareTo(Object other) { if (other instanceof ParameterNode) { ParameterNode pn = (ParameterNode) other; boolean r1 = references(pn.name); boolean r2 = pn.references(name); if (r1 && r2) { throw new IllegalArgumentException("circular definitions"); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
{ | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { // push the variable context stylesheet.bindings.push(type); // set the variable Object value = getValue(stylesheet, mode, co... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
} | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { // push the variable context stylesheet.bindings.push(type); // set the variable Object value = getValue(stylesheet, mode, co... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
{ | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { // push the variable context stylesheet.bindings.push(type); // set the variable Object value = getValue(stylesheet, mode, co... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
} | void doApply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, Node parent, Node nextSibling) throws TransformerException { // push the variable context stylesheet.bindings.push(type); // set the variable Object value = getValue(stylesheet, mode, co... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
{ | Object getValue(Stylesheet stylesheet, QName mode, Node context, int pos, int len) throws TransformerException { if (select != null) { return select.evaluate(context, pos, len); } else if (children != null) { Document doc = (context instanceof Document) ? (Docum... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
} | Object getValue(Stylesheet stylesheet, QName mode, Node context, int pos, int len) throws TransformerException { if (select != null) { return select.evaluate(context, pos, len); } else if (children != null) { Document doc = (context instanceof Document) ? (Docum... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
{ | Object getValue(Stylesheet stylesheet, QName mode, Node context, int pos, int len) throws TransformerException { if (select != null) { return select.evaluate(context, pos, len); } else if (children != null) { Document doc = (context instanceof Document) ? (Docum... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
} | Object getValue(Stylesheet stylesheet, QName mode, Node context, int pos, int len) throws TransformerException { if (select != null) { return select.evaluate(context, pos, len); } else if (children != null) { Document doc = (context instanceof Document) ? (Docum... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
{ | public boolean references(QName var) { if (select != null && select.references(var)) { return true; } return super.references(var); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
} | public boolean references(QName var) { if (select != null && select.references(var)) { return true; } return super.references(var); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("name="); buf.append(name); if (select != null) { buf.append(",select="); buf.append(select); } buf.append(",type="); | StringBuffer buf = new StringBuffer(); | public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("name="); buf.append(name); if (select != null) { buf.append(",select="); buf.append(select); } buf.append(",type="); switch (type) { case Bindings.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java |
buf.append('['); buf.append("name="); buf.append(name); if (select != null) { buf.append(",select="); buf.append(select); } | public String toString() { StringBuffer buf = new StringBuffer(getClass().getName()); buf.append('['); buf.append("name="); buf.append(name); if (select != null) { buf.append(",select="); buf.append(select); } buf.append(",type="); switch (type) { case Bindings.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | |
public XMLFormatter() { | public XMLFormatter() { | public XMLFormatter() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { | private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { | private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
for (i = 0; i < content.length(); i++) { | for (i = 0; i < content.length(); i++) { | private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
switch (c) { case '&' : | switch (c) { case '&': | private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
case '<' : | case '<': | private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
case '>' : | case '>': | private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
default : if (((c >= 0x20) && (c <= 0x7e)) || (c == /* line feed */ 10) || (c == /* carriage return */ 13)) | default: if (((c >= 0x20) && (c <= 0x7e)) || (c == /* line feed */ 10) || (c == /* carriage return */ 13)) | private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
else { | else { | private static final void appendTag(StringBuffer buf, int indent, String tag, String content) { int i; if (content == null) return; for (i = 0; i < indent * 2; i++) buf.append(' '); buf.append("<"); buf.append(tag); buf.append('>'); /* Append the content, but escape for XML by replacing * '&', '<', '>' an... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
public String format(LogRecord record) { | public String format(LogRecord record) { | public String format(LogRecord record) { StringBuffer buf = new StringBuffer(400); Level level = record.getLevel(); long millis = record.getMillis(); Object[] params = record.getParameters(); ResourceBundle bundle = record.getResourceBundle(); String key, message; buf.append("<record>"); buf.append(lineSep); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
String key, message; | String message; | public String format(LogRecord record) { StringBuffer buf = new StringBuffer(400); Level level = record.getLevel(); long millis = record.getMillis(); Object[] params = record.getParameters(); ResourceBundle bundle = record.getResourceBundle(); String key, message; buf.append("<record>"); buf.append(lineSep); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
try { | try { | public String format(LogRecord record) { StringBuffer buf = new StringBuffer(400); Level level = record.getLevel(); long millis = record.getMillis(); Object[] params = record.getParameters(); ResourceBundle bundle = record.getResourceBundle(); String key, message; buf.append("<record>"); buf.append(lineSep); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
} finally { | } finally { | public String format(LogRecord record) { StringBuffer buf = new StringBuffer(400); Level level = record.getLevel(); long millis = record.getMillis(); Object[] params = record.getParameters(); ResourceBundle bundle = record.getResourceBundle(); String key, message; buf.append("<record>"); buf.append(lineSep); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
if (thrown != null) { | if (thrown != null) { | public String format(LogRecord record) { StringBuffer buf = new StringBuffer(400); Level level = record.getLevel(); long millis = record.getMillis(); Object[] params = record.getParameters(); ResourceBundle bundle = record.getResourceBundle(); String key, message; buf.append("<record>"); buf.append(lineSep); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
public String format(LogRecord record) { StringBuffer buf = new StringBuffer(400); Level level = record.getLevel(); long millis = record.getMillis(); Object[] params = record.getParameters(); ResourceBundle bundle = record.getResourceBundle(); String key, message; buf.append("<record>"); buf.append(lineSep); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java | ||
public String getHead(Handler h) { | public String getHead(Handler h) { | public String getHead(Handler h) { StringBuffer buf; String encoding; buf = new StringBuffer(80); buf.append("<?xml version=\"1.0\" encoding=\""); encoding = h.getEncoding(); /* file.encoding is a system property with the Sun JVM, indicating * the platform-default file encoding. Unfortunately, the API * spec... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
public String getTail(Handler h) { | public String getTail(Handler h) { | public String getTail(Handler h) { return "</log>" + lineSep; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/XMLFormatter.java/buggy/core/src/classpath/java/java/util/logging/XMLFormatter.java |
/* return new XMLStreamReaderImpl(reader, null, null, resolver, reporter, validating, namespaceAware, coalescing, replacingEntityReferences, externalEntities, supportDTD); */ XMLParser ret = new XMLParser(reader, null, validating, namespaceAware, coalescing, replacingEntityReferences, externalEntities, supportDTD, base... | return createXMLStreamReader(null, reader); | public XMLStreamReader createXMLStreamReader(Reader reader) throws XMLStreamException { /* return new XMLStreamReaderImpl(reader, null, null, resolver, reporter, validating, namespaceAware, coalescing, repl... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/XMLInputFactoryImpl.java/clean/core/src/classpath/gnu/gnu/xml/stream/XMLInputFactoryImpl.java |
Logger.getLogger("global").setUseParentHandlers(true); | protected LogManager() { if (logManager != null) throw new IllegalStateException( "there can be only one LogManager; use LogManager.getLogManager()"); logManager = this; loggers = new java.util.HashMap(); rootLogger = new Logger("", null); addLogger(rootLogger); /* Make sure that Lo... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/LogManager.java/clean/core/src/classpath/java/java/util/logging/LogManager.java | |
Rectangle bounds = getCellBounds(list, 0, list.getModel().getSize() - 1); | int nrows = Math.min(list.getVisibleRowCount(), list.getModel().getSize()); Rectangle bounds = getCellBounds(list, 0, nrows - 1); | public Dimension getPreferredSize(JComponent c) { maybeUpdateLayoutState(); if (list.getModel().getSize() == 0) return new Dimension(0, 0); Rectangle bounds = getCellBounds(list, 0, list.getModel().getSize() - 1); return bounds.getSize(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicListUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java |
throw new Error("Not implemented"); | return new Point(0, convertRowToY(index)); | public Point indexToLocation(JList list, int index) { throw new Error("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicListUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java |
list.setOpaque(true); | void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); list.setForeground(defaults.getColor("List.foreground")); list.setBackground(defaults.getColor("List.background")); list.setSelectionForeground(defaults.getColor("List.selectionForeground")); list.setSelectionBackground... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicListUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java | |
throw new Error("Not implemented"); | return convertYToRow(location.y); | public int locationToIndex(JList list, Point location) { throw new Error("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicListUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java |
return DefaultActivationSystem.singleton; | return DefaultActivationSystem.get(); | public static ActivationSystem getSystem() throws ActivationException { if (system == null) return DefaultActivationSystem.singleton; else return system; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4b6281ed01a542e70503c69a67129ff6df618649/ActivationGroup.java/clean/core/src/classpath/java/java/rmi/activation/ActivationGroup.java |
public ActivationException(String s) | public ActivationException() | public ActivationException(String s) { this(s, null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/ActivationException.java/buggy/core/src/classpath/java/java/rmi/activation/ActivationException.java |
this(s, null); | this(null, null); | public ActivationException(String s) { this(s, null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/ActivationException.java/buggy/core/src/classpath/java/java/rmi/activation/ActivationException.java |
public ActivationGroupDesc(String className, String location, MarshalledObject data, Properties overrides, ActivationGroupDesc.CommandEnvironment cmd) { | public ActivationGroupDesc(Properties overrides, ActivationGroupDesc.CommandEnvironment cmd) { | public ActivationGroupDesc(String className, String location, MarshalledObject data, Properties overrides, ActivationGroupDesc.CommandEnvironment cmd) { throw new Error("Not implemented");} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/ActivationGroupDesc.java/buggy/core/src/classpath/java/java/rmi/activation/ActivationGroupDesc.java |
public boolean isBorderOpaque() { return false; } | public boolean isBorderOpaque () { return false; } | public boolean isBorderOpaque() { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractBorder.java/buggy/core/src/classpath/javax/javax/swing/border/AbstractBorder.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.