rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
return set.remove(category); | return attrset.remove(category); | public synchronized boolean remove(Class category) { return set.remove(category); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/AttributeSetUtilities.java/buggy/core/src/classpath/javax/javax/print/attribute/AttributeSetUtilities.java |
return set.size(); | return attrset.size(); | public synchronized int size() { return set.size(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/AttributeSetUtilities.java/buggy/core/src/classpath/javax/javax/print/attribute/AttributeSetUtilities.java |
return set.toArray(); | return attrset.toArray(); | public synchronized Attribute[] toArray() { return set.toArray(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/AttributeSetUtilities.java/buggy/core/src/classpath/javax/javax/print/attribute/AttributeSetUtilities.java |
this.set = attributeSet; | this.attrset = attributeSet; | public UnmodifiableAttributeSet(AttributeSet attributeSet) { if (attributeSet == null) throw new NullPointerException("attributeSet may not be null"); this.set = attributeSet; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/AttributeSetUtilities.java/buggy/core/src/classpath/javax/javax/print/attribute/AttributeSetUtilities.java |
return set.containsKey(category); | return attrset.containsKey(category); | public boolean containsKey(Class category) { return set.containsKey(category); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/AttributeSetUtilities.java/buggy/core/src/classpath/javax/javax/print/attribute/AttributeSetUtilities.java |
return set.containsValue(attribute); | return attrset.containsValue(attribute); | public boolean containsValue(Attribute attribute) { return set.containsValue(attribute); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/AttributeSetUtilities.java/buggy/core/src/classpath/javax/javax/print/attribute/AttributeSetUtilities.java |
return set.equals(obj); | return attrset.equals(obj); | public boolean equals(Object obj) { return set.equals(obj); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/AttributeSetUtilities.java/buggy/core/src/classpath/javax/javax/print/attribute/AttributeSetUtilities.java |
return set.get(interfaceName); | return attrset.get(interfaceName); | public Attribute get(Class interfaceName) { return set.get(interfaceName); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/AttributeSetUtilities.java/buggy/core/src/classpath/javax/javax/print/attribute/AttributeSetUtilities.java |
return set.hashCode(); | return attrset.hashCode(); | public int hashCode() { return set.hashCode(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/AttributeSetUtilities.java/buggy/core/src/classpath/javax/javax/print/attribute/AttributeSetUtilities.java |
return set.isEmpty(); | return attrset.isEmpty(); | public boolean isEmpty() { return set.isEmpty(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/AttributeSetUtilities.java/buggy/core/src/classpath/javax/javax/print/attribute/AttributeSetUtilities.java |
return set.size(); | return attrset.size(); | public int size() { return set.size(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/AttributeSetUtilities.java/buggy/core/src/classpath/javax/javax/print/attribute/AttributeSetUtilities.java |
return set.toArray(); | return attrset.toArray(); | public Attribute[] toArray() { return set.toArray(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/AttributeSetUtilities.java/buggy/core/src/classpath/javax/javax/print/attribute/AttributeSetUtilities.java |
String name = getColumnName(column.getModelIndex()); | String name = dataModel.getColumnName(column.getModelIndex()); | public void addColumn(TableColumn column) { if (column.getHeaderValue() == null) { String name = getColumnName(column.getModelIndex()); column.setHeaderValue(name); } columnModel.addColumn(column); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java |
getColumnModel().getSelectionModel().clearSelection(); | public void clearSelection() { selectionModel.clearSelection(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java | |
else if (vc > getColumnCount()) return -1; | public int convertColumnIndexToModel(int vc) { if (vc < 0) return vc; else if (vc > getColumnCount()) return -1; else return columnModel.getColumn(vc).getModelIndex(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java | |
return dataModel.getColumnName(column); | int modelColumn = columnModel.getColumn(column).getModelIndex(); return dataModel.getColumnName(modelColumn); | public String getColumnName(int column) { return dataModel.getColumnName(column); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java |
if (! rowSelectionAllowed) return null; | public ListSelectionModel getSelectionModel() { if (! rowSelectionAllowed) return null; return selectionModel; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java | |
this.dragEnabled = false; | this.dragEnabled = true; | protected void initializeLocalVars() { setTableHeader(createDefaultTableHeader()); this.autoCreateColumnsFromModel = false; if (columnModel == null) { this.autoCreateColumnsFromModel = true; createColumnsFromModel(); } this.columnModel.addColumnModelListener(this); this.def... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java |
public void setAutoCreateColumnsFromModel(boolean a) | public void setAutoCreateColumnsFromModel(boolean autoCreate) | public void setAutoCreateColumnsFromModel(boolean a) { autoCreateColumnsFromModel = a; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java |
autoCreateColumnsFromModel = a; | if (autoCreateColumnsFromModel != autoCreate) { autoCreateColumnsFromModel = autoCreate; if (autoCreate) createDefaultColumnsFromModel(); } | public void setAutoCreateColumnsFromModel(boolean a) { autoCreateColumnsFromModel = a; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java |
{ new SecureRandom ().nextBytes(buffer); | getDefaultPRNG().nextBytes(buffer); | private void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else { new SecureRandom ().nextBytes(buffer); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/RFC2631.java/clean/core/src/classpath/gnu/gnu/javax/crypto/key/dh/RFC2631.java |
} | private void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else { new SecureRandom ().nextBytes(buffer); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/RFC2631.java/clean/core/src/classpath/gnu/gnu/javax/crypto/key/dh/RFC2631.java | |
*/ if (attrib != null) { value = attrib.getAttribValue().toString(); } | public String getAttributeStringValue(String attribName) { String value = null; Attribute attrib = getAttribute(attribName); if (attrib != null && attrib.getAttribType() == Constants.STRING_TYPE) { value = (String) attrib.getAttribValue(); } return value; } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/a11ddac3369ffd98eb90d6479ea5ec8c711c4fc4/BaseObject.java/buggy/src/gov/nasa/gsfc/adc/xdf/BaseObject.java | |
throw new BAD_OPERATION("Invalid enumeration code " + code); | BAD_OPERATION bad = new BAD_OPERATION("Invalid policy code " + code); bad.minor = Minor.PolicyType; throw bad; | public static ThreadPolicyValue from_int(int code) { try { return enume [ code ]; } catch (ArrayIndexOutOfBoundsException ex) { throw new BAD_OPERATION("Invalid enumeration code " + code); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/ThreadPolicyValue.java/clean/core/src/classpath/org/org/omg/PortableServer/ThreadPolicyValue.java |
public Object run() { return System.getProperty(key, defaultValue); } | public Object run() { return System.getProperty(name, value); } | public Object run() { return System.getProperty(key, defaultValue); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/GetPropertyAction.java/buggy/core/src/classpath/gnu/gnu/java/security/action/GetPropertyAction.java |
public Token readToken() | Token readToken() | public Token readToken() throws IOException { Token token = null; int c = in.read(); switch(c) { case -1: token = new Token(Token.EOF); break; case '{': token = new Token(Token.LCURLY); break; case '}': token = new Token(Token.RCURLY); break; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/RTFScanner.java/clean/core/src/classpath/javax/javax/swing/text/rtf/RTFScanner.java |
Token token = null; int c = in.read(); switch(c) | Token token; if (lastToken != null) | public Token readToken() throws IOException { Token token = null; int c = in.read(); switch(c) { case -1: token = new Token(Token.EOF); break; case '{': token = new Token(Token.LCURLY); break; case '}': token = new Token(Token.RCURLY); break; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/RTFScanner.java/clean/core/src/classpath/javax/javax/swing/text/rtf/RTFScanner.java |
case -1: token = new Token(Token.EOF); break; case '{': token = new Token(Token.LCURLY); break; case '}': token = new Token(Token.RCURLY); break; case '\\': buffer.delete(0, buffer.length()); buffer.append((char) c); token = readControlWord(); break; default: buffer.delete(0, buffer.length()); buffer.append((char) ... | token = lastToken; lastToken = null; | public Token readToken() throws IOException { Token token = null; int c = in.read(); switch(c) { case -1: token = new Token(Token.EOF); break; case '{': token = new Token(Token.LCURLY); break; case '}': token = new Token(Token.RCURLY); break; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/RTFScanner.java/clean/core/src/classpath/javax/javax/swing/text/rtf/RTFScanner.java |
else token = readTokenImpl(); | public Token readToken() throws IOException { Token token = null; int c = in.read(); switch(c) { case -1: token = new Token(Token.EOF); break; case '{': token = new Token(Token.LCURLY); break; case '}': token = new Token(Token.RCURLY); break; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/RTFScanner.java/clean/core/src/classpath/javax/javax/swing/text/rtf/RTFScanner.java | |
attributes = s; | AttributeContext ctx = getAttributeContext(); attributes = ctx.getEmptySet(); if (s != null) attributes = ctx.addAttributes(attributes, s); | public AbstractElement(Element p, AttributeSet s) { element_parent = p; attributes = s; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
private void dumpElement(PrintStream stream, String indent, Element element) | private void dumpElement(PrintStream stream, String indent, Element element) | private void dumpElement(PrintStream stream, String indent, Element element) { System.out.println(indent + "<" + element.getName() +">"); if (element.isLeaf()) { int start = element.getStartOffset(); int end = element.getEndOffset(); String text = ""; try { text = getContent().g... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
private void dumpElement(PrintStream stream, String indent, Element element) { System.out.println(indent + "<" + element.getName() +">"); if (element.isLeaf()) { int start = element.getStartOffset(); int end = element.getEndOffset(); String text = ""; try { text = getContent().g... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java | ||
return attributes; | return this; | public AttributeSet getAttributes() { return attributes; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
attributes = getAttributeContext().addAttribute(attributes, ResolveAttribute, parent); | attributes = getAttributeContext().addAttribute(attributes, ResolveAttribute, parent); | public void setResolveParent(AttributeSet parent) { attributes = getAttributeContext().addAttribute(attributes, ResolveAttribute, parent); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
this.start = start; this.end = end; | try { startPos = parent.getDocument().createPosition(start); endPos = parent.getDocument().createPosition(end); } catch (BadLocationException ex) { throw new AssertionError("BadLocationException must not be thrown " + "here. start=" + start + ", end=" + end + ", length=" + getLength()); } | public LeafElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); this.start = start; this.end = end; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
return end; | return endPos.getOffset(); | public int getEndOffset() { return end; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
return start; | return startPos.getOffset(); | public int getStartOffset() { return start; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
if (offset < 0 || offset > getLength()) throw new BadLocationException(getText(0, getLength()), offset); return new Position() { public int getOffset() { return offset; } }; | return content.createPosition(offset); | public Position createPosition(final int offset) throws BadLocationException { if (offset < 0 || offset > getLength()) throw new BadLocationException(getText(0, getLength()), offset); return new Position() { public int getOffset() { return offset; } }; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
public int getOffset() { return offset; } | public int getOffset() { return getLength(); } | public int getOffset() { return offset; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
protected Thread getCurrentWriter() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java | ||
public Position getEndPosition() { return new Position() { public int getOffset() { return getLength(); } }; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java | ||
return getLength(); | return 0; | public int getOffset() { return getLength(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
public int getLength() { return content.length() - 1; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java | ||
public Position getStartPosition() { return new Position() { public int getOffset() { return 0; } }; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java | ||
protected void insertUpdate(DefaultDocumentEvent chng, AttributeSet attr) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java | ||
protected void postRemoveUpdate(DefaultDocumentEvent chng) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java | ||
protected void removeUpdate(DefaultDocumentEvent chng) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java | ||
public void render(Runnable r) | public void render(Runnable runnable) | public void render(Runnable r) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
public void render(Runnable r) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java | ||
public void setDocumentProperties(Dictionary x) | public void setDocumentProperties(Dictionary p) | public void setDocumentProperties(Dictionary x) { // FIXME: make me thread-safe properties = x; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
properties = x; | properties = p; | public void setDocumentProperties(Dictionary x) { // FIXME: make me thread-safe properties = x; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java |
protected void writeLock() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java | ||
protected void writeUnlock() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java | ||
data[offset+3] = (byte)((value >> 32) & 0xFF); | data[offset+3] = (byte)((value >> 24) & 0xFF); | public static void set32(byte[] data, int offset, long value) { data[offset] = (byte)(value & 0xFF); data[offset+1] = (byte)((value >> 8) & 0xFF); data[offset+2] = (byte)((value >> 16) & 0xFF); data[offset+3] = (byte)((value >> 32) & 0xFF); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8d7f8ec2a541c65fe833a8aaf82952c0dc786fec/DosUtils.java/buggy/fs/src/fs/org/jnode/fs/util/DosUtils.java |
popup.hide(); | public void focusLost(FocusEvent e) { hasFocus = false; comboBox.repaint(); popup.hide(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicComboBoxUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java | |
} else popup = new Popup.JWindowPopup(owner, contents, x, y); | public Popup getPopup(Component owner, Component contents, int x, int y) { Popup popup = null; // By default we enable lightweight popups since they are more efficient // than heavyweight popups. boolean lightweightEnabled = true; // Special case JPopupMenu here, since it suppor... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/PopupFactory.java/clean/core/src/classpath/javax/javax/swing/PopupFactory.java | |
scrollbar.repaint(); | public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals("model")) { ((BoundedRangeModel) e.getOldValue()).removeChangeListener(modelListener); scrollbar.getModel().addChangeListener(modelListener); getThumbBounds(); } else if (e.getPropertyName().equals("o... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicScrollBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicScrollBarUI.java | |
EntityDeclaration declaration); | String replacementText); | public abstract EntityReference createEntityReference(String name, EntityDeclaration declaration); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/XMLEventFactory.java/clean/core/src/classpath/javax/javax/xml/stream/XMLEventFactory.java |
public EntryRecord(byte[] buff) { this.buff = buff; } | public EntryRecord(ISO9660Volume volume, byte[] buff, int offset, String encoding) { this.volume = volume; this.encoding = encoding; this.entryLength = LittleEndian.getUInt8(buff, offset+0); this.extAttributeLength = LittleEndian.getUInt8(buff, offset+1); this.extentLocation = LittleEndian.getUInt32(buff, offset+2); th... | public EntryRecord(byte[] buff) { this.buff = buff; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/EntryRecord.java/clean/fs/src/fs/org/jnode/fs/iso9660/EntryRecord.java |
public int getDataLength() { return (int)LittleEndian.getUInt32(buff,10); } | public int getDataLength() { return dataLength; } | public int getDataLength() { return (int)LittleEndian.getUInt32(buff,10); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/EntryRecord.java/clean/fs/src/fs/org/jnode/fs/iso9660/EntryRecord.java |
public byte[] getExtentData() throws IOException { byte[] buffer = new byte[this.getDataLength()]; volume.readFromLBN(this.getLocationOfExtent(),0,buffer,0,this.getDataLength()); return buffer; } | public byte[] getExtentData() throws IOException { byte[] buffer = new byte[ this.getDataLength()]; volume.readFromLBN(this.getLocationOfExtent(), 0, buffer, 0, this .getDataLength()); return buffer; } | public byte[] getExtentData() throws IOException { byte[] buffer = new byte[this.getDataLength()]; volume.readFromLBN(this.getLocationOfExtent(),0,buffer,0,this.getDataLength()); return buffer; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/EntryRecord.java/clean/fs/src/fs/org/jnode/fs/iso9660/EntryRecord.java |
public String getFileIdentifier() { if(this.isDirectory()) { if(this.getLengthOfFileIdentifier() == 1 && buff[33]== 0x00) return "."; if(this.getLengthOfFileIdentifier() == 1 && buff[33]== 0x01) return ".."; return new String(buff, 33 , this.getLengthOfFileIdentifier()); } return new String(buff, 33 , this.getLengthOfF... | public String getFileIdentifier() { return identifier; } | public String getFileIdentifier() { if(this.isDirectory()) { if(this.getLengthOfFileIdentifier() == 1 && buff[33]== 0x00) return "."; if(this.getLengthOfFileIdentifier() == 1 && buff[33]== 0x01) return ".."; return new String(buff, 33 , this.getLengthOfFileIdentifier()); } return new String(buff, 33 , ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/EntryRecord.java/clean/fs/src/fs/org/jnode/fs/iso9660/EntryRecord.java |
public int getFileUnitSize() { return buff[26]; } | public final int getFileUnitSize() { return fileUnitSize; } | public int getFileUnitSize() { return buff[26]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/EntryRecord.java/clean/fs/src/fs/org/jnode/fs/iso9660/EntryRecord.java |
public int getFlags() { return buff[25]; } | public final int getFlags() { return flags; } | public int getFlags() { return buff[25]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/EntryRecord.java/clean/fs/src/fs/org/jnode/fs/iso9660/EntryRecord.java |
public int getInterleaveSize() { return buff[27]; } | public final int getInterleaveSize() { return interleaveSize; } | public int getInterleaveSize() { return buff[27]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/EntryRecord.java/clean/fs/src/fs/org/jnode/fs/iso9660/EntryRecord.java |
public int getLengthOfDirectoryEntry() { return LittleEndian.getUInt8(buff, 0); } | public int getLengthOfDirectoryEntry() { return entryLength; } | public int getLengthOfDirectoryEntry() { return LittleEndian.getUInt8(buff, 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/EntryRecord.java/clean/fs/src/fs/org/jnode/fs/iso9660/EntryRecord.java |
public int getLengthOfExtendedAttribute() { return buff[1]; } | public int getLengthOfExtendedAttribute() { return extAttributeLength; } | public int getLengthOfExtendedAttribute() { return buff[1]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/EntryRecord.java/clean/fs/src/fs/org/jnode/fs/iso9660/EntryRecord.java |
public int getLocationOfExtent() { return (int)LittleEndian.getUInt32(buff,2); } | public long getLocationOfExtent() { return extentLocation; } | public int getLocationOfExtent() { return (int)LittleEndian.getUInt32(buff,2); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/EntryRecord.java/clean/fs/src/fs/org/jnode/fs/iso9660/EntryRecord.java |
public ISO9660Volume getVolume() { return volume; } | public final ISO9660Volume getVolume() { return volume; } | public ISO9660Volume getVolume() { return volume; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/EntryRecord.java/clean/fs/src/fs/org/jnode/fs/iso9660/EntryRecord.java |
public boolean isDirectory() { return (buff[25] & 0x03) != 0; } | public final boolean isDirectory() { return (flags & 0x03) != 0; } | public boolean isDirectory() { return (buff[25] & 0x03) != 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/EntryRecord.java/clean/fs/src/fs/org/jnode/fs/iso9660/EntryRecord.java |
public boolean isLastEntry() { return (buff[25] & 0x40) == 0; } | public final boolean isLastEntry() { return (flags & 0x40) == 0; } | public boolean isLastEntry() { return (buff[25] & 0x40) == 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/EntryRecord.java/clean/fs/src/fs/org/jnode/fs/iso9660/EntryRecord.java |
public void readFileData(long offset,byte[] buffer,int bufferOffset, int size) throws IOException { volume.readFromLBN(this.getLocationOfExtent(),offset,buffer,bufferOffset,size); } | public void readFileData(long offset, byte[] buffer, int bufferOffset, int size) throws IOException { volume.readFromLBN(this.getLocationOfExtent(), offset, buffer, bufferOffset, size); } | public void readFileData(long offset,byte[] buffer,int bufferOffset, int size) throws IOException { volume.readFromLBN(this.getLocationOfExtent(),offset,buffer,bufferOffset,size); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/aa324658a8e5c25a895787936a31595462ad8442/EntryRecord.java/clean/fs/src/fs/org/jnode/fs/iso9660/EntryRecord.java |
VmStackFrame(Address src, VmStackReader reader, Address ip) { this.sfMethod = reader.getMethod(src); this.sfCompiledCode = reader.getCompiledCode(src); this.sfReturnAddress = reader.getReturnAddress(src); this.sfInstructionPointer = ip; | VmStackFrame(VmMethod method, int programCounter) { this.sfMethod = method; this.programCounter = programCounter; | VmStackFrame(Address src, VmStackReader reader, Address ip) { this.sfMethod = reader.getMethod(src); this.sfCompiledCode = reader.getCompiledCode(src); this.sfReturnAddress = reader.getReturnAddress(src); this.sfInstructionPointer = ip; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f674dc620388d2013aaf9ed54e97f8ee02b418d/VmStackFrame.java/clean/core/src/core/org/jnode/vm/VmStackFrame.java |
final VmCompiledCode cc = sfCompiledCode; if ((cc != null) && (sfInstructionPointer != null)) { return cc.getLocationInfo(sfMethod, sfInstructionPointer); } else { return "?"; } | int lineNo = -1; if (sfMethod != null) { final VmByteCode bc = sfMethod.getBytecode(); if (bc != null) { lineNo = bc.getLineNr(programCounter); } } if (lineNo >= 0) { return String.valueOf(lineNo); } else { return "?"; } | public final String getLocationInfo() { final VmCompiledCode cc = sfCompiledCode; if ((cc != null) && (sfInstructionPointer != null)) { return cc.getLocationInfo(sfMethod, sfInstructionPointer); } else { return "?"; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f674dc620388d2013aaf9ed54e97f8ee02b418d/VmStackFrame.java/clean/core/src/core/org/jnode/vm/VmStackFrame.java |
final VmType vmClass = (method == null) ? null : method.getDeclaringClass(); | final VmType<?> vmClass = (method == null) ? null : method.getDeclaringClass(); | public String toString() { final VmMethod method = sfMethod; final VmType vmClass = (method == null) ? null : method.getDeclaringClass(); final String cname = (vmClass == null) ? "<unknown class>" : vmClass.getName(); final String mname = (method == null) ? "<unknown method>" : method.getName(); final String loca... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f674dc620388d2013aaf9ed54e97f8ee02b418d/VmStackFrame.java/clean/core/src/core/org/jnode/vm/VmStackFrame.java |
config = ses.getConfiguration(); | public PrinterThread (ScreenChar[] sc, Font font, int cols, int rows, Color colorBg, boolean toDefaultPrinter, Session ses) { setPriority(1); session = ses; session.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); screen = new ScreenChar[sc.length]; toDefa... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/ee7f4af801cd7844103ac3f946a283bdd4127363/PrinterThread.java/buggy/tn5250j/src/org/tn5250j/PrinterThread.java | |
(w < (int)k.getStringBounds("W",f).getWidth() + 1) || | (w < (int)k.getStringBounds("W",f).getWidth()) || | public int print (Graphics g, PageFormat pageFormat, int page) { Graphics2D g2; //--- Validate the page number, we only print the first page if (page == 0) { //--- Create a graphic2D object and set the default parameters g2 = (Graphics2D) g; g2.setColor (Color.black); /... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/ee7f4af801cd7844103ac3f946a283bdd4127363/PrinterThread.java/buggy/tn5250j/src/org/tn5250j/PrinterThread.java |
int w1 = (int)k.getStringBounds("W",f).getWidth() + 1; | int w1 = (int)k.getStringBounds("W",f).getWidth(); | public int print (Graphics g, PageFormat pageFormat, int page) { Graphics2D g2; //--- Validate the page number, we only print the first page if (page == 0) { //--- Create a graphic2D object and set the default parameters g2 = (Graphics2D) g; g2.setColor (Color.black); /... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/ee7f4af801cd7844103ac3f946a283bdd4127363/PrinterThread.java/buggy/tn5250j/src/org/tn5250j/PrinterThread.java |
y = h1 * m; | y = h1 * (m + 1); | public int print (Graphics g, PageFormat pageFormat, int page) { Graphics2D g2; //--- Validate the page number, we only print the first page if (page == 0) { //--- Create a graphic2D object and set the default parameters g2 = (Graphics2D) g; g2.setColor (Color.black); /... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/ee7f4af801cd7844103ac3f946a283bdd4127363/PrinterThread.java/buggy/tn5250j/src/org/tn5250j/PrinterThread.java |
if (numCols != 132) { if (config.getStringProperty("print.portWidth").length() != 0 && config.getStringProperty("print.portHeight").length() != 0 && config.getStringProperty("print.portImageWidth").length() != 0 && config.getStringProperty("print.portImageHeight").length() != 0 && config.getStringProperty("print.port... | public void run () {// Toolkit tk = Toolkit.getDefaultToolkit();//int [][] range = new int[][] {//new int[] { 1, 1 }//};// JobAttributes jobAttributes = new JobAttributes(1, JobAttributes.DefaultSelectionType.ALL, JobAttributes.DestinationType.PRINTER, JobAttributes.DialogType.NONE, "file", 1, 1, JobAttributes.Multi... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/ee7f4af801cd7844103ac3f946a283bdd4127363/PrinterThread.java/buggy/tn5250j/src/org/tn5250j/PrinterThread.java | |
if (!(mdSpi instanceof Cloneable)) throw new CloneNotSupportedException(); | public Object clone() throws CloneNotSupportedException { if (!(mdSpi instanceof Cloneable)) throw new CloneNotSupportedException(); MessageDigest result = new DummyMessageDigest ((MessageDigestSpi) mdSpi.clone(), this.getAlgorithm()); result.provider = this.getProvider(); return result; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/698ac538b7482b0e4aac918befb43b8376e364e3/DummyMessageDigest.java/buggy/core/src/classpath/java/java/security/DummyMessageDigest.java | |
private setDocumentHandler ( ) { | private void setDocumentHandler (SaxDocHandler myHandler) { | private setDocumentHandler ( ) { } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/a6cb5f81b41d89327306c3a64969090d833ac876/Reader.java/buggy/src/gov/nasa/gsfc/adc/xdf/Reader.java |
public void processMouseEvent(JMenuItem item, MouseEvent e, MenuElement[] path, MenuSelectionManager manager) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicRadioButtonMenuItemUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java | ||
this.bytecode = bytecode; | public VmCompiledCode(NativeCodeCompiler compiler, VmByteCode bytecode, Address nativeCode, Object compiledCode, int size, VmCompiledExceptionHandler[] eTable, Address defaultExceptionHandler, VmAddressMap addressTable) { this.compiler = compiler; this.magic = compiler... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ed15438ffd2660dd945871e91d68689a27418753/VmCompiledCode.java/clean/core/src/core/org/jnode/vm/classmgr/VmCompiledCode.java | |
root.paintImmediately(rect); | root.paintImmediately(rect); | public void paintDirtyRegions() { // step 1: pull out roots and calculate spanning damage HashMap roots = new HashMap(); for (Enumeration e = dirtyComponents.keys(); e.hasMoreElements(); ) { JComponent comp = (JComponent) e.nextElement(); if (! (comp.isVisible() && comp.isShowing())) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/RepaintManager.java/buggy/core/src/classpath/javax/javax/swing/RepaintManager.java |
new BorderUIResource.LineBorderUIResource(Color.white), | new BorderUIResource.LineBorderUIResource( new ColorUIResource(255, 255, 0)), | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
protected void loadSystemColors(UIDefaults defaults, String[] value1, boolean value2) | protected void loadSystemColors(UIDefaults defaults, String[] systemColors, boolean useNative) | protected void loadSystemColors(UIDefaults defaults, String[] value1, boolean value2) { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
System.out.println("DEBUG ["+clazz+"] "+ message); | if (isDebugEnabled()) System.out.println("DEBUG ["+clazz+"] "+ message); | public void debug(Object message) { System.out.println("DEBUG ["+clazz+"] "+ message); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/13382874d421af37d2f74d9b851c87a1911ad8e9/ConsoleLogger.java/buggy/tn5250j/src/org/tn5250j/tools/logging/ConsoleLogger.java |
writeOut(outputstream, "<![CDDATA["); | writeOut(outputstream, "<![CDATA["); | protected void writeDelimitedData(OutputStream outputstream, Locator locator, DelimitedXMLDataIOStyle readObj, AxisInterface fastestAxis, String[] noDataValues) { String delimiter = readObj.getDelimiter(); S... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/88c65841c5ad48b03a0ab24be09979a727442c31/DataCube.java/clean/src/gov/nasa/gsfc/adc/xdf/DataCube.java |
void repaintCellFocus() | protected void repaintCellFocus() | void repaintCellFocus() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicListUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java |
int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; | int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; | public void keyPressed( KeyEvent evt ) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; // Do nothing if list is empty if (max == -1) return; // Process the key event. Bindings can be found in // j... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicListUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java |
{ BasicListUI.this.list.getSelectionModel(). setLeadSelectionIndex(Math.min(lead+1,max)); } | selectNextIndex(); | public void keyPressed( KeyEvent evt ) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; // Do nothing if list is empty if (max == -1) return; // Process the key event. Bindings can be found in // j... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicListUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java |
{ BasicListUI.this.list.getSelectionModel(). setLeadSelectionIndex(Math.max(lead-1,0)); } | selectPreviousIndex(); | public void keyPressed( KeyEvent evt ) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; // Do nothing if list is empty if (max == -1) return; // Process the key event. Bindings can be found in // j... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicListUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java |
public void keyPressed( KeyEvent evt ) { int lead = BasicListUI.this.list.getLeadSelectionIndex(); int max = BasicListUI.this.list.getModel().getSize() - 1; // Do nothing if list is empty if (max == -1) return; // Process the key event. Bindings can be found in // j... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicListUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java | ||
if (e.getPropertyName().equals("model")) updateLayoutStateNeeded += modelChanged; else if (e.getPropertyName().equals("selectionModel")) updateLayoutStateNeeded += selectionModelChanged; else if (e.getPropertyName().equals("font")) updateLayoutStateNeeded += fontChanged; else if (e.getPropertyName().equals("fixedCellW... | public void propertyChange(PropertyChangeEvent e) { if (e.getSource() == BasicListUI.this.list) { if (e.getOldValue() != null && e.getOldValue() instanceof ListModel) ((ListModel) e.getOldValue()).removeListDataListener(BasicListUI.this.listDataListener); if (e.getNewValu... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicListUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java | |
focusListener = new FocusHandler(); listDataListener = new ListDataHandler(); listSelectionListener = new ListSelectionHandler(); mouseInputListener = new MouseInputHandler(); keyListener = new KeyHandler(); propertyChangeListener = new PropertyChangeHandler(); componentListener = new ComponentHandler(); | public BasicListUI() { focusListener = new FocusHandler(); listDataListener = new ListDataHandler(); listSelectionListener = new ListSelectionHandler(); mouseInputListener = new MouseInputHandler(); keyListener = new KeyHandler(); propertyChangeListener = new PropertyChangeHandler(); componentLi... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicListUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java | |
list.addMouseMotionListener(mouseInputListener); list.addPropertyChangeListener(propertyChangeListener); list.addComponentListener(componentListener); | protected void installListeners() { list.addFocusListener(focusListener); list.getModel().addListDataListener(listDataListener); list.addListSelectionListener(listSelectionListener); list.addMouseListener(mouseInputListener); list.addKeyListener(keyListener); list.addMouseMotionListener(mouseInputL... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicListUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java | |
paintCell(g, row, bounds, render, model, sel, lead); | paintCell(g, row, bounds, render, model, sel, lead); | public void paint(Graphics g, JComponent c) { int nrows = list.getModel().getSize(); if (nrows == 0) return; maybeUpdateLayoutState(); ListCellRenderer render = list.getCellRenderer(); ListModel model = list.getModel(); ListSelectionModel sel = list.getSelectionModel(); int lead = sel.getLe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicListUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java |
public FormattedXMLDataIOStyle () | public FormattedXMLDataIOStyle (Array parentArray) | public FormattedXMLDataIOStyle () { init(); } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/9b77f9ab6f87db67607b3500dc02d11778d436ad/FormattedXMLDataIOStyle.java/clean/src/gov/nasa/gsfc/adc/xdf/FormattedXMLDataIOStyle.java |
init(); | this.parentArray = parentArray; init(); | public FormattedXMLDataIOStyle () { init(); } | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/9b77f9ab6f87db67607b3500dc02d11778d436ad/FormattedXMLDataIOStyle.java/clean/src/gov/nasa/gsfc/adc/xdf/FormattedXMLDataIOStyle.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.