rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
public int showDialog(Component parent, String approveButtonText) { return CANCEL_OPTION; }
public int showDialog(Component parent, String approveButtonText) throws HeadlessException { JDialog d = createDialog(parent); setApproveButtonText(approveButtonText); setDialogType(CUSTOM_DIALOG); retval = ERROR_OPTION; d.pack(); d.show(); return retval; }
public int showDialog(Component parent, String approveButtonText) { return CANCEL_OPTION; // TODO } // showDialog()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/JFileChooser.java/buggy/core/src/classpath/javax/javax/swing/JFileChooser.java
public int showOpenDialog(Component parent) { return CANCEL_OPTION; }
public int showOpenDialog(Component parent) throws HeadlessException { JDialog d = createDialog(parent); d.setTitle("Open"); setDialogType(OPEN_DIALOG); retval = ERROR_OPTION; d.pack(); d.show(); return retval; }
public int showOpenDialog(Component parent) { return CANCEL_OPTION; // TODO } // showOpenDialog()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/JFileChooser.java/buggy/core/src/classpath/javax/javax/swing/JFileChooser.java
public int showSaveDialog(Component parent) { return CANCEL_OPTION; }
public int showSaveDialog(Component parent) throws HeadlessException { JDialog d = createDialog(parent); setDialogType(SAVE_DIALOG); retval = ERROR_OPTION; d.pack(); d.show(); return retval; }
public int showSaveDialog(Component parent) { return CANCEL_OPTION; // TODO } // showSaveDialog()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/JFileChooser.java/buggy/core/src/classpath/javax/javax/swing/JFileChooser.java
public void updateUI() { setUI((FileChooserUI) UIManager.get(this)); invalidate(); }
public void updateUI() { setUI((FileChooserUI) UIManager.getUI(this)); revalidate(); }
public void updateUI() { setUI((FileChooserUI) UIManager.get(this)); invalidate(); } // updateUI()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c5671ff077399b85034dffa0f9635da50cef54a9/JFileChooser.java/buggy/core/src/classpath/javax/javax/swing/JFileChooser.java
int ffw0 = bk.getNextByte(); if (!isAttribute(ffw0)) { ffw1 = bk.getNextByte(); fcw1 = bk.getNextByte();
int ffw0 = bk.getNextByte() & 0xff; if ((ffw0 & 0x40) == 0x40) { ffw1 = bk.getNextByte() & 0xff; fcw1 = bk.getNextByte() & 0xff;
private boolean writeToDisplay(boolean controlsExist) { int pos = 0; boolean error=false; boolean done=false; int attr; byte nextOne; byte control0 = 0; byte control1 = 0; int saRows = screen52.getRows(); int saCols = screen52.getCols(); try { if (controlsExi...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java
fcw2 = bk.getNextByte(); attr = bk.getNextByte();
fcw2 = bk.getNextByte() & 0xff; attr = bk.getNextByte() & 0xff;
private boolean writeToDisplay(boolean controlsExist) { int pos = 0; boolean error=false; boolean done=false; int attr; byte nextOne; byte control0 = 0; byte control1 = 0; int saRows = screen52.getRows(); int saCols = screen52.getCols(); try { if (controlsExi...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/tnvt.java/buggy/tn5250j/src/org/tn5250j/tnvt.java
System.out.println("\ndoRenameVariables block: " + block);
private void doRenameVariables(IRBasicBlock block) { System.out.println("\ndoRenameVariables block: " + block); Iterator it = block.getQuads().iterator(); while (it.hasNext()) { Quad q = (Quad) it.next(); Operand[] refs = q.getReferencedOps(); if (refs != null) { int n = refs.length; for (int i=0; i<n; ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/568227fef1ae7ced51f104ef1af634c7a6188718/IRControlFlowGraph.java/clean/core/src/core/org/jnode/vm/compiler/ir/IRControlFlowGraph.java
System.out.println("\nplacePhiFunctions");
private void placePhiFunctions() { System.out.println("\nplacePhiFunctions"); for (int i=0; i<bblocks.length; i+=1) { IRBasicBlock b = bblocks[i]; BootableArrayList defList = b.getDefList(); for (int j=0; j<defList.size(); j+=1) { Variable def = (Variable) defList.get(j); List df = b.getDominanceFrontier...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/568227fef1ae7ced51f104ef1af634c7a6188718/IRControlFlowGraph.java/clean/core/src/core/org/jnode/vm/compiler/ir/IRControlFlowGraph.java
System.out.println("\npopVariables block: " + block);
private void popVariables(IRBasicBlock block) { System.out.println("\npopVariables block: " + block); Iterator it = block.getQuads().iterator(); while (it.hasNext()) { Quad q = (Quad) it.next(); if (q instanceof AssignQuad) { AssignQuad aq = (AssignQuad) q; SSAStack st = getStack(aq.getLHS()); st.pop()...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/568227fef1ae7ced51f104ef1af634c7a6188718/IRControlFlowGraph.java/clean/core/src/core/org/jnode/vm/compiler/ir/IRControlFlowGraph.java
System.out.println("\nrenameVariables block: " + block);
private void renameVariables(IRBasicBlock block) { System.out.println("\nrenameVariables block: " + block); doRenameVariables(block); Iterator it = block.getSuccessors().iterator(); while (it.hasNext()) { IRBasicBlock b = (IRBasicBlock) it.next(); rewritePhiParams(b); } it = block.getDominatedBlocks().iterat...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/568227fef1ae7ced51f104ef1af634c7a6188718/IRControlFlowGraph.java/clean/core/src/core/org/jnode/vm/compiler/ir/IRControlFlowGraph.java
System.out.println("\nrewritePhiParams block: " + block);
private void rewritePhiParams(IRBasicBlock block) { if (block == null) { return; } System.out.println("\nrewritePhiParams block: " + block); Iterator it = block.getQuads().iterator(); while (it.hasNext()) { Quad q = (Quad) it.next(); if (q instanceof PhiAssignQuad) { PhiAssignQuad aq = (PhiAssignQuad) q;...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/568227fef1ae7ced51f104ef1af634c7a6188718/IRControlFlowGraph.java/clean/core/src/core/org/jnode/vm/compiler/ir/IRControlFlowGraph.java
SSAStack st = getStack(aq.getLHS()); Variable var = st.peek(); if (var != null) { PhiOperand phi = (PhiOperand) aq.getPhiOperand(); phi.addSource(var);
if (!aq.isDeadCode()) { SSAStack st = getStack(aq.getLHS()); Variable var = st.peek(); if (var != null) { PhiOperand phi = (PhiOperand) aq.getPhiOperand(); phi.addSource(var); } else { aq.setDeadCode(true); }
private void rewritePhiParams(IRBasicBlock block) { if (block == null) { return; } System.out.println("\nrewritePhiParams block: " + block); Iterator it = block.getQuads().iterator(); while (it.hasNext()) { Quad q = (Quad) it.next(); if (q instanceof PhiAssignQuad) { PhiAssignQuad aq = (PhiAssignQuad) q;...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/568227fef1ae7ced51f104ef1af634c7a6188718/IRControlFlowGraph.java/clean/core/src/core/org/jnode/vm/compiler/ir/IRControlFlowGraph.java
while (e.hasMoreElements())
while (e.hasMoreElements())
public static void createChildren(DefaultMutableTreeNode parent, Object children) { if (children instanceof Hashtable) { Hashtable tab = (Hashtable) children; Enumeration e = tab.keys(); while (e.hasMoreElements()) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
} else if (children instanceof Vector)
} else if (children instanceof Vector)
public static void createChildren(DefaultMutableTreeNode parent, Object children) { if (children instanceof Hashtable) { Hashtable tab = (Hashtable) children; Enumeration e = tab.keys(); while (e.hasMoreElements()) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
Iterator i = ((Vector) children).iterator();
Iterator i = ((Vector) children).iterator();
public static void createChildren(DefaultMutableTreeNode parent, Object children) { if (children instanceof Hashtable) { Hashtable tab = (Hashtable) children; Enumeration e = tab.keys(); while (e.hasMoreElements()) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
parent.add(new DynamicUtilTreeNode(n, n));
parent.add(new DynamicUtilTreeNode(n, n));
public static void createChildren(DefaultMutableTreeNode parent, Object children) { if (children instanceof Hashtable) { Hashtable tab = (Hashtable) children; Enumeration e = tab.keys(); while (e.hasMoreElements()) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
} else if (children != null && children.getClass().isArray())
} else if (children != null && children.getClass().isArray())
public static void createChildren(DefaultMutableTreeNode parent, Object children) { if (children instanceof Hashtable) { Hashtable tab = (Hashtable) children; Enumeration e = tab.keys(); while (e.hasMoreElements()) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
}
}
public static void createChildren(DefaultMutableTreeNode parent, Object children) { if (children instanceof Hashtable) { Hashtable tab = (Hashtable) children; Enumeration e = tab.keys(); while (e.hasMoreElements()) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
public boolean isLeaf()
public boolean isLeaf()
public boolean isLeaf() { return (childValue == null || !(childValue instanceof Hashtable || childValue instanceof Vector || childValue.getClass() .isArray())); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
return (childValue == null || !(childValue instanceof Hashtable || childValue instanceof Vector || childValue.getClass() .isArray()));
return (childValue == null || !(childValue instanceof Hashtable || childValue instanceof Vector || childValue.getClass() .isArray()));
public boolean isLeaf() { return (childValue == null || !(childValue instanceof Hashtable || childValue instanceof Vector || childValue.getClass() .isArray())); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
public void addSelectionPaths(TreePath[] paths) { // we don't allow selections in this class }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
public void removeSelectionPaths(TreePath[] paths) { // we don't allow selections in this class }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
public void setSelectionPaths(TreePath[] paths) { // we don't allow selections in this class }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
public void treeNodesChanged(TreeModelEvent ev) { // nothing to do here }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
public void treeStructureChanged(TreeModelEvent ev) { // set state of new path TreePath path = ev.getTreePath(); setExpandedState(path, isExpanded(path)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
TreeSelectionEvent rewritten = (TreeSelectionEvent) ev .cloneWithSource(JTree.this);
TreeSelectionEvent rewritten = (TreeSelectionEvent) ev.cloneWithSource(JTree.this);
public void valueChanged(TreeSelectionEvent ev) { TreeSelectionEvent rewritten = (TreeSelectionEvent) ev .cloneWithSource(JTree.this); fireValueChanged(rewritten); JTree.this.repaint(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
JTree.this.repaint();
JTree.this.repaint();
public void valueChanged(TreeSelectionEvent ev) { TreeSelectionEvent rewritten = (TreeSelectionEvent) ev .cloneWithSource(JTree.this); fireValueChanged(rewritten); JTree.this.repaint(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
boolean expanded, boolean leaf, int row, boolean hasFocus)
boolean expanded, boolean leaf, int row, boolean hasFocus)
public String convertValueToText(Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { return value.toString(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
{
{
protected static TreeModel createTreeModel(Object value) { return new DefaultTreeModel(new DynamicUtilTreeNode(value, value)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
}
}
protected static TreeModel createTreeModel(Object value) { return new DefaultTreeModel(new DynamicUtilTreeNode(value, value)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
TreePath parent = path.getParentPath(); if (!isExpanded(parent) && parent != null)
TreePath parent = path.getParentPath(); if (!isExpanded(parent) && parent != null)
private void doExpandParents(TreePath path, boolean state) { TreePath parent = path.getParentPath(); if (!isExpanded(parent) && parent != null) doExpandParents(parent, false); nodeStates.put(path, state ? EXPANDED : COLLAPSED); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
{ return null; }
{ return null; }
public AccessibleContext getAccessibleContext() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
public TreePath getClosestPathForLocation(int x, int y) { TreeUI ui = getUI(); if (ui != null) return ui.getClosestPathForLocation(this, x, y); return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
DefaultMutableTreeNode child1 = new DefaultMutableTreeNode( "Child node 1"); DefaultMutableTreeNode child11 = new DefaultMutableTreeNode( "Child node 1.1"); DefaultMutableTreeNode child12 = new DefaultMutableTreeNode( "Child node 1.2"); DefaultMutableTreeNode child13 = new DefaultMutableTreeNode( "Child node 1.3"); Def...
DefaultMutableTreeNode child1 = new DefaultMutableTreeNode("Child node 1"); DefaultMutableTreeNode child11 = new DefaultMutableTreeNode("Child node 1.1"); DefaultMutableTreeNode child12 = new DefaultMutableTreeNode("Child node 1.2"); DefaultMutableTreeNode child13 = new DefaultMutableTreeNode("Child node 1.3"); Default...
protected static TreeModel getDefaultTreeModel() { DefaultMutableTreeNode root = new DefaultMutableTreeNode("Root node"); DefaultMutableTreeNode child1 = new DefaultMutableTreeNode( "Child node 1"); DefaultMutableTreeNode child11 = new DefaultMutableTreeNode( "Child node 1.1"); DefaultMutableTreeNode chi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
DefaultMutableTreeNode child3 = new DefaultMutableTreeNode( "Child node 3");
DefaultMutableTreeNode child3 = new DefaultMutableTreeNode("Child node 3");
protected static TreeModel getDefaultTreeModel() { DefaultMutableTreeNode root = new DefaultMutableTreeNode("Root node"); DefaultMutableTreeNode child1 = new DefaultMutableTreeNode( "Child node 1"); DefaultMutableTreeNode child11 = new DefaultMutableTreeNode( "Child node 1.1"); DefaultMutableTreeNode chi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
protected Enumeration getDescendantToggledPaths(TreePath parent) { if (parent == null) return null; Enumeration nodes = nodeStates.keys(); Vector result = new Vector(); while (nodes.hasMoreElements()) { TreePath path = (TreePath) nodes.nextElement(); if (path.isDescendant(parent))...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
throw new IllegalArgumentException( "The argument 'prefix' must not be" + " null.");
throw new IllegalArgumentException("The argument 'prefix' must not be" + " null.");
public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException( "The argument 'prefix' must not be" + " null."); if (startingRow < 0) throw new IllegalArgumentException( "The argument 'startingR...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
throw new IllegalArgumentException( "The argument 'startingRow' must not"
throw new IllegalArgumentException("The argument 'startingRow' must not"
public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException( "The argument 'prefix' must not be" + " null."); if (startingRow < 0) throw new IllegalArgumentException( "The argument 'startingR...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
throw new IllegalArgumentException( "The argument 'startingRow' must not"
throw new IllegalArgumentException("The argument 'startingRow' must not"
public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException( "The argument 'prefix' must not be" + " null."); if (startingRow < 0) throw new IllegalArgumentException( "The argument 'startingR...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
isExpanded(i), treeModel.isLeaf(o), i, false);
isExpanded(i), treeModel.isLeaf(o), i, false);
public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException( "The argument 'prefix' must not be" + " null."); if (startingRow < 0) throw new IllegalArgumentException( "The argument 'startingR...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
} else
} else
public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException( "The argument 'prefix' must not be" + " null."); if (startingRow < 0) throw new IllegalArgumentException( "The argument 'startingR...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
isExpanded(i), treeModel.isLeaf(o), i, false);
isExpanded(i), treeModel.isLeaf(o), i, false);
public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException( "The argument 'prefix' must not be" + " null."); if (startingRow < 0) throw new IllegalArgumentException( "The argument 'startingR...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
protected TreePath[] getPathBetweenRows(int index0, int index1) { TreeUI ui = getUI(); if (ui == null) return null; int minIndex = Math.min(index0, index1); int maxIndex = Math.max(index0, index1); TreePath[] paths = new TreePath[maxIndex - minIndex + 1]; for (int i = minIndex; i <...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
protected TreePath[] getPathBetweenRows(int index0, int index1) { TreeUI ui = getUI(); if (ui == null) return null; int minIndex = Math.min(index0, index1); int maxIndex = Math.max(index0, index1); TreePath[] paths = new TreePath[maxIndex - minIndex + 1]; for (int i = minIndex; i <...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
protected TreePath[] getPathBetweenRows(int index0, int index1) { TreeUI ui = getUI(); if (ui == null) return null; int minIndex = Math.min(index0, index1); int maxIndex = Math.max(index0, index1); TreePath[] paths = new TreePath[maxIndex - minIndex + 1]; for (int i = minIndex; i <...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
{ return new Dimension (getPreferredSize().width, getVisibleRowCount()*getRowHeight()); }
{ return new Dimension (getPreferredSize().width, getVisibleRowCount()*getRowHeight()); }
public Dimension getPreferredScrollableViewportSize() { return new Dimension (getPreferredSize().width, getVisibleRowCount()*getRowHeight()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
{ return 1; }
{ return 1; }
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
{
{
public boolean getScrollableTracksViewportHeight() { if (getParent() instanceof JViewport) return ((JViewport) getParent()).getWidth() > getPreferredSize().width; return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
return false; }
return false; }
public boolean getScrollableTracksViewportHeight() { if (getParent() instanceof JViewport) return ((JViewport) getParent()).getWidth() > getPreferredSize().width; return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
{
{
public boolean getScrollableTracksViewportWidth() { if (getParent() instanceof JViewport) return ((JViewport) getParent()).getHeight() > getPreferredSize().height; return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
return false; }
return false; }
public boolean getScrollableTracksViewportWidth() { if (getParent() instanceof JViewport) return ((JViewport) getParent()).getHeight() > getPreferredSize().height; return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
{ return 1; }
{ return 1; }
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
return (TreeSelectionListener[]) getListeners(TreeSelectionListener.class);
return (TreeSelectionListener[]) getListeners(TreeSelectionListener.class);
public TreeSelectionListener[] getTreeSelectionListeners() { return (TreeSelectionListener[]) getListeners(TreeSelectionListener.class); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
return (TreeWillExpandListener[]) getListeners(TreeWillExpandListener.class);
return (TreeWillExpandListener[]) getListeners(TreeWillExpandListener.class);
public TreeWillExpandListener[] getTreeWillExpandListeners() { return (TreeWillExpandListener[]) getListeners(TreeWillExpandListener.class); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
{ return (TreeUI) ui; }
{ return (TreeUI) ui; }
public TreeUI getUI() { return (TreeUI) ui; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
{ return "TreeUI"; }
{ return "TreeUI"; }
public String getUIClassID() { return "TreeUI"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
boolean includeSelected)
boolean includeSelected)
protected boolean removeDescendantSelectedPaths(TreePath path, boolean includeSelected) { boolean removedSomething = false; TreePath[] selected = getSelectionPaths(); for (int index = 0; index < selected.length; index++) { if ((selected[index] =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
public void setDragEnabled(boolean enabled) { dragEnabled = enabled; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
return;
return;
public void setInvokesStopCellEditing(boolean invoke) { if (invokesStopCellEditing == invoke) return; boolean oldValue = invokesStopCellEditing; invokesStopCellEditing = invoke; firePropertyChange(INVOKES_STOP_CELL_EDITING_PROPERTY, oldValue, invoke); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
firePropertyChange(INVOKES_STOP_CELL_EDITING_PROPERTY, oldValue, invoke);
firePropertyChange(INVOKES_STOP_CELL_EDITING_PROPERTY, oldValue, invoke);
public void setInvokesStopCellEditing(boolean invoke) { if (invokesStopCellEditing == invoke) return; boolean oldValue = invokesStopCellEditing; invokesStopCellEditing = invoke; firePropertyChange(INVOKES_STOP_CELL_EDITING_PROPERTY, oldValue, invoke); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
public void setToggleClickCount(int count) { if (toggleClickCount == count) return; int oldValue = toggleClickCount; toggleClickCount = count; firePropertyChange(TOGGLE_CLICK_COUNT_PROPERTY, oldValue, count); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
{ super.setUI(ui); }
{ super.setUI(ui); }
public void setUI(TreeUI ui) { super.setUI(ui); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
{
{
public void updateUI() { setUI((TreeUI) UIManager.getUI(this)); revalidate(); repaint(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
}
}
public void updateUI() { setUI((TreeUI) UIManager.getUI(this)); revalidate(); repaint(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/clean/core/src/classpath/javax/javax/swing/JTree.java
uninstallDefaultChoosers();
public void uninstallUI(JComponent c) { uninstallListeners(); uninstallDefaults(); pane = null; chooser = null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicColorChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicColorChooserUI.java
if (title == null || mnemonicKey == 0 || title.charAt(index) != mnemonicKey)
if (title == null || mnemonicKey == 0 || (index > -1 && title.charAt(index) != mnemonicKey))
public void setDisplayedMnemonicIndex(int index) throws IllegalArgumentException { if (index < -1 || title != null && index >= title.length()) throw new IllegalArgumentException(); if (title == null || mnemonicKey == 0 || title.charAt(index) != mnemonicKey) index = -1;...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JTabbedPane.java/buggy/core/src/classpath/javax/javax/swing/JTabbedPane.java
if (isLinux && keyCode == e.VK_ALT_GRAPH) {
if (isLinux && keyCode == KeyEvent.VK_ALT_GRAPH) {
void processVTKeyPressed(KeyEvent e){ displayInfo(e); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; } // be careful with the control key if (keyCode == e.VK_UNDEFINED || keyCode == e.VK_CAPS_LOCK || keyCode == e.V...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/07bb3e36537d736453880eae077a576d2dd55fe2/KeyGetter.java/buggy/tn5250j/src/org/tn5250j/keyboard/configure/KeyGetter.java
if (keyCode == e.VK_UNDEFINED || keyCode == e.VK_CAPS_LOCK || keyCode == e.VK_SHIFT || keyCode == e.VK_ALT || keyCode == e.VK_ALT_GRAPH || keyCode == e.VK_CONTROL
if (keyCode == KeyEvent.VK_UNDEFINED || keyCode == KeyEvent.VK_CAPS_LOCK || keyCode == KeyEvent.VK_SHIFT || keyCode == KeyEvent.VK_ALT || keyCode == KeyEvent.VK_ALT_GRAPH || keyCode == KeyEvent.VK_CONTROL
void processVTKeyPressed(KeyEvent e){ displayInfo(e); int keyCode = e.getKeyCode(); if (isLinux && keyCode == e.VK_ALT_GRAPH) { isAltGr = true; } // be careful with the control key if (keyCode == e.VK_UNDEFINED || keyCode == e.VK_CAPS_LOCK || keyCode == e.V...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/07bb3e36537d736453880eae077a576d2dd55fe2/KeyGetter.java/buggy/tn5250j/src/org/tn5250j/keyboard/configure/KeyGetter.java
if (isLinux && e.getKeyCode() == e.VK_ALT_GRAPH) {
if (isLinux && e.getKeyCode() == KeyEvent.VK_ALT_GRAPH) {
void processVTKeyReleased(KeyEvent e){ displayInfo(e); if (isLinux && e.getKeyCode() == e.VK_ALT_GRAPH) { isAltGr = false; } int keycode = e.getKeyCode(); if (e.isAltDown() || e.isShiftDown() || e.isControlDown() || e.isActionKey() || keycode == Key...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/07bb3e36537d736453880eae077a576d2dd55fe2/KeyGetter.java/buggy/tn5250j/src/org/tn5250j/keyboard/configure/KeyGetter.java
String currentValue = getValue(); if(currentValue == null) currentValue = new String (); currentValue.concat(text); setValue(currentValue);
StringBuffer newValue = new StringBuffer (); String currentValue; if ( (currentValue = getValue()) != null ) newValue.append(currentValue); newValue.append(text); setValue(newValue.toString());
public void addText (String text) { String currentValue = getValue(); if(currentValue == null) currentValue = new String (); // yes, this can happen currentValue.concat(text); setValue(currentValue); }
4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/c6499e89325c2244354b21e59813c2f50322f090/Note.java/clean/src/gov/nasa/gsfc/adc/xdf/Note.java
dialog.show();
dialog.setVisible(true);
public static void doEntry(Frame parent, String propKey, Properties props2) { props = props2; confTabs = new JTabbedPane(); ec = new JCheckBox(LangTool.getString("conf.labelEnhanced")); tc = new JCheckBox(LangTool.getString("conf.labelUseSystemName")); sdn = new JCheckBox(LangTool.getString(...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d3f4f0d032e4305c6a78bdb863ee5599f3e41633/Configure.java/clean/tn5250j/src/org/tn5250j/Configure.java
public InvalidOpcodeException(String s) { super(s);
public InvalidOpcodeException() { super();
public InvalidOpcodeException(String s) { super(s); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d36502b201c4e617dca04de74e3ddf678c51fa7e/InvalidOpcodeException.java/buggy/core/src/core/org/jnode/assembler/x86/InvalidOpcodeException.java
public KeyStoreException(String msg)
public KeyStoreException()
public KeyStoreException(String msg) { super(msg); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/KeyStoreException.java/buggy/core/src/classpath/java/java/security/KeyStoreException.java
super(msg);
public KeyStoreException(String msg) { super(msg); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/KeyStoreException.java/buggy/core/src/classpath/java/java/security/KeyStoreException.java
super.addRequestProperty(key, value);
public void addRequestProperty(String key, String value) { String old = requestHeaders.getValue(key); if (old == null) { requestHeaders.put(key, value); } else { requestHeaders.put(key, old + "," + value); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/HTTPURLConnection.java/clean/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPURLConnection.java
if (isRedirect(response) && getInstanceFollowRedirects())
if (response.isRedirect() && getInstanceFollowRedirects())
public void connect() throws IOException { if (connected) { return; } String protocol = url.getProtocol(); boolean secure = "https".equals(protocol); String host = url.getHost(); int port = url.getPort(); if (port < 0) { port = secure ? HTTPConnection.HTTPS_PORT : ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/HTTPURLConnection.java/clean/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPURLConnection.java
if (response.getCode() == 404) {
if (response.isError())
public void connect() throws IOException { if (connected) { return; } String protocol = url.getProtocol(); boolean secure = "https".equals(protocol); String host = url.getHost(); int port = url.getPort(); if (port < 0) { port = secure ? HTTPConnection.HTTPS_PORT : ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/HTTPURLConnection.java/clean/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPURLConnection.java
throw new FileNotFoundException(url.toString()); }
public void connect() throws IOException { if (connected) { return; } String protocol = url.getProtocol(); boolean secure = "https".equals(protocol); String host = url.getHost(); int port = url.getPort(); if (port < 0) { port = secure ? HTTPConnection.HTTPS_PORT : ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/HTTPURLConnection.java/clean/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPURLConnection.java
if (response.isError()) { int code = response.getCode(); if (code == 404 || code == 410) throw new FileNotFoundException(url.toString()); throw new IOException("Server returned HTTP response code " + code + " for URL " + url.toString()); }
public InputStream getInputStream() throws IOException { if (!connected) { connect(); } if (!doInput) { throw new ProtocolException("doInput is false"); } return responseSink; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/HTTPURLConnection.java/clean/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPURLConnection.java
if (connected) throw new IllegalStateException("Already connected");
public Map getRequestProperties() { return requestHeaders; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/HTTPURLConnection.java/clean/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPURLConnection.java
if (key == null) return null;
public String getRequestProperty(String key) { return requestHeaders.getValue(key); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/HTTPURLConnection.java/clean/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPURLConnection.java
super.setRequestProperty(key, value);
public void setRequestProperty(String key, String value) { requestHeaders.put(key, value); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/792415b1783f5e8798e64529a3048ed049193e55/HTTPURLConnection.java/clean/core/src/classpath/gnu/gnu/java/net/protocol/http/HTTPURLConnection.java
iNode.decLocked();
public void setLength(long length) throws IOException { if (!canWrite()) throw new ReadOnlyFileSystemException( "FileSystem or File is readonly"); long blockSize = iNode.getExt2FileSystem().getBlockSize(); //synchronize to the inode cache to make sure that the inod...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/60d31e127921d38bbafb2b016ba8cf154ba51036/Ext2File.java/clean/fs/src/fs/org/jnode/fs/ext2/Ext2File.java
jComponent.doLayout();
public void beginValidate() { jComponent.doLayout(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/eec21d2840b2faf24a31a4e64e995a4da3c3ff58/SwingContainerPeer.java/buggy/gui/src/awt/org/jnode/awt/swingpeers/SwingContainerPeer.java
protected synchronized void setScreenData(String text, int location) {// throws OhioException { if (location < 0 || location > lenScreen) { return;// throw new OhioException(sessionVT.getSessionConfiguration(),// OhioScreen5250.class.getNam...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/b6d33292e408bd1059e92d2d1f24f4d77a81098c/Screen5250.java/buggy/tn5250j/src/org/tn5250j/framework/tn5250/Screen5250.java
public void write(OutputStream out) throws IOException { PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(out, "8859_1")));
public void write(OutputStream out) throws IOException { PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(out, "8859_1")));
public void write(OutputStream out) throws IOException { PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(out, "8859_1"))); write_main_section(getMainAttributes(), pw); pw.println(); write_individual_sections(getEntries(), pw); if (pw.checkError()) { throw new JarException("Error while...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7c463aa3bd840a934d101c434976bb7b25d5b975/Manifest.java/buggy/core/src/classpath/java/java/util/jar/Manifest.java
if (pw.checkError()) {
if (pw.checkError()) {
public void write(OutputStream out) throws IOException { PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(out, "8859_1"))); write_main_section(getMainAttributes(), pw); pw.println(); write_individual_sections(getEntries(), pw); if (pw.checkError()) { throw new JarException("Error while...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7c463aa3bd840a934d101c434976bb7b25d5b975/Manifest.java/buggy/core/src/classpath/java/java/util/jar/Manifest.java
super(toolkit, canvas, new JCanvas()); this.canvas = canvas;
super(toolkit, canvas, new SwingCanvas(canvas));
public SwingCanvasPeer(SwingToolkit toolkit, Canvas canvas) { super(toolkit, canvas, new JCanvas()); this.canvas = canvas; SwingToolkit.add(canvas, jComponent); SwingToolkit.copyAwtProperties(canvas, jComponent); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cb141050fd84afdb6e8ef6f8cc3ed4e90608d848/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java
res.put("gnu.classpath.home.url", "system: res.put("gnu.classpath.vm.shortname", "jnode");
public static void insertSystemProperties(Properties res) { final Vm vm = Vm.getVm(); final VmArchitecture arch = vm.getArch(); // Java properties res.put("java.version", "1.1.0"); res.put("java.vendor", "JNode.org"); res.put("java.vendor.url", "http://jnode.org"); r...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6fa52a1e6ba90913f044d146a812c24dc2fc96b6/VmSystem.java/clean/core/src/core/org/jnode/vm/VmSystem.java
}
public char last() { if (count == 0) return DONE; current = getEndIndex() - 1; return array[current]; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/Segment.java/clean/core/src/classpath/javax/javax/swing/text/Segment.java
point.x = size.width + xOffset;
point.x = xOffset;
protected Point getPopupMenuOrigin() { // The menu's screen location and size. Point screenLoc = getLocationOnScreen(); Dimension size = getSize(); // Determine the popup's size. JPopupMenu popup = getPopupMenu(); Dimension popupSize = popup.getSize(); if (popupSize.width == 0 || popupSize.heigh...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5872c8217b16b32bfb07d2787bc24a4f9d30eb24/JMenu.java/buggy/core/src/classpath/javax/javax/swing/JMenu.java
point.y = screenLoc.y - screenBounds.y + size.height - yOffset - popupSize.height;
point.y = size.height - yOffset - popupSize.height;
protected Point getPopupMenuOrigin() { // The menu's screen location and size. Point screenLoc = getLocationOnScreen(); Dimension size = getSize(); // Determine the popup's size. JPopupMenu popup = getPopupMenu(); Dimension popupSize = popup.getSize(); if (popupSize.width == 0 || popupSize.heigh...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5872c8217b16b32bfb07d2787bc24a4f9d30eb24/JMenu.java/buggy/core/src/classpath/javax/javax/swing/JMenu.java
return elt.getAttributes();
return getElement().getAttributes();
public AttributeSet getAttributes() { return elt.getAttributes(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/View.java/buggy/core/src/classpath/javax/javax/swing/text/View.java
View parent = getParent();
public Container getContainer() { return parent != null ? parent.getContainer() : null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/View.java/buggy/core/src/classpath/javax/javax/swing/text/View.java
return elt.getEndOffset();
return getElement().getEndOffset();
public int getEndOffset() { return elt.getEndOffset(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/View.java/buggy/core/src/classpath/javax/javax/swing/text/View.java
return elt.getStartOffset();
return getElement().getStartOffset();
public int getStartOffset() { return elt.getStartOffset(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/View.java/buggy/core/src/classpath/javax/javax/swing/text/View.java
View parent = getParent();
public ViewFactory getViewFactory() { return parent != null ? parent.getViewFactory() : null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/View.java/buggy/core/src/classpath/javax/javax/swing/text/View.java
public void setParent(View a)
public void setParent(View parent)
public void setParent(View a) { parent = a; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/View.java/buggy/core/src/classpath/javax/javax/swing/text/View.java
parent = a;
this.parent = parent;
public void setParent(View a) { parent = a; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/View.java/buggy/core/src/classpath/javax/javax/swing/text/View.java
public void setSize(int w, int h) { width = w; height = h; }
public void setSize(float width, float height) { }
public void setSize(int w, int h) { width = w; height = h; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/View.java/buggy/core/src/classpath/javax/javax/swing/text/View.java