Dataset Viewer
Auto-converted to Parquet Duplicate
rem
stringlengths
0
912
add
stringlengths
0
1.44k
context
stringlengths
20
43.7k
meta
stringlengths
169
231
input_ids
sequence
attention_mask
sequence
labels
sequence
return next; }
return next; }
Object getNextVisibleNode(Object node) { Object next = null; TreePath current = null; if (node != null) next = getNextNode(node); if (next != null) { current = new TreePath(getPathToRoot(next, 0)); if (tree.isVisible(current)) return next; while (next != null && !tree.isVisible(current)) { next = getNextNode(next); if (next != null) current = new TreePath(getPathToRoot(next, 0)); } } return next; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1033, 6927, 6207, 907, 12, 921, 756, 13, 282, 288, 565, 1033, 1024, 273, 446, 31, 1377, 4902, 743, 783, 273, 446, 31, 1377, 309, 261, 2159, 480, 446, 13, 1377, 1024, 273, 6927, 907, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1033, 6927, 6207, 907, 12, 921, 756, 13, 282, 288, 565, 1033, 1024, 273, 446, 31, 1377, 4902, 743, 783, 273, 446, 31, 1377, 309, 261, 2159, 480, 446, 13, 1377, 1024, 273, 6927, 907, 1...
public void initPanel() throws Exception { setLayout(new BorderLayout()); contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); add(contentPane,BorderLayout.NORTH); // define ppPanel panel JPanel ppp = new JPanel(); ppp.setBorder(BorderFactory.createTitledBorder(LangTool.getString("sa.print"))); defaultPrinter = new JCheckBox(LangTool.getString("sa.defaultPrinter")); if (getStringProperty("defaultPrinter").equals("Yes")) defaultPrinter.setSelected(true); ppp.add(defaultPrinter); //--- Create a printerJob object PrinterJob printJob = PrinterJob.getPrinterJob (); // will have to remember this for the next time. // Always set a page format before call setPrintable to // set the orientation. PageFormat pf = printJob.defaultPage(); pappyPort = pf.getPaper(); pappyLand = pf.getPaper(); // Portrait paper parameters if (getStringProperty("print.portWidth").length() != 0 && getStringProperty("print.portHeight").length() != 0 && getStringProperty("print.portImageWidth").length() != 0 && getStringProperty("print.portImageHeight").length() != 0 && getStringProperty("print.portImage.X").length() != 0 && getStringProperty("print.portImage.Y").length() != 0) { pappyPort.setSize(Double.parseDouble(getStringProperty("print.portWidth")), Double.parseDouble(getStringProperty("print.portHeight"))); pappyPort.setImageableArea(Double.parseDouble(getStringProperty("print.portImage.X")), Double.parseDouble(getStringProperty("print.portImage.Y")), Double.parseDouble(getStringProperty("print.portImageWidth")), Double.parseDouble(getStringProperty("print.portImageHeight"))); } // Landscape paper parameters if (getStringProperty("print.landWidth").length() != 0 && getStringProperty("print.landHeight").length() != 0 && getStringProperty("print.landImageWidth").length() != 0 && getStringProperty("print.landImageHeight").length() != 0 && getStringProperty("print.landImage.X").length() != 0 && getStringProperty("print.landImage.Y").length() != 0) { pappyLand.setSize(Double.parseDouble(getStringProperty("print.landWidth")), Double.parseDouble(getStringProperty("print.landHeight"))); pappyLand.setImageableArea(Double.parseDouble(getStringProperty("print.landImage.X")), Double.parseDouble(getStringProperty("print.landImage.Y")), Double.parseDouble(getStringProperty("print.landImageWidth")), Double.parseDouble(getStringProperty("print.landImageHeight"))); } // define page panel JPanel page = new JPanel(); page.setBorder(BorderFactory.createTitledBorder( LangTool.getString("sa.pageParameters"))); setPortAttributes = new JButton(LangTool.getString("sa.columns24")); setPortAttributes.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { getPortraitAttributes(); } }); setLandAttributes = new JButton(LangTool.getString("sa.columns132")); setLandAttributes.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) { getLandscapeAttributes(); } }); page.add(setPortAttributes); page.add(setLandAttributes); contentPane.add(ppp); contentPane.add(page);// contentPane.add(ppa); }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/df65a89f3874249d9a0046d2eba72cb4360e1f37/PrinterAttributesPanel.java/clean/tn5250j/src/org/tn5250j/settings/PrinterAttributesPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 2738, 5537, 1435, 15069, 503, 95, 542, 3744, 12, 2704, 8107, 3744, 10663, 1745, 8485, 33, 2704, 46, 5537, 5621, 1745, 8485, 18, 542, 3744, 12, 2704, 3514, 3744, 12, 1745, 8485, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 2738, 5537, 1435, 15069, 503, 95, 542, 3744, 12, 2704, 8107, 3744, 10663, 1745, 8485, 33, 2704, 46, 5537, 5621, 1745, 8485, 18, 542, 3744, 12, 2704, 3514, 3744, 12, 1745, 8485, 16,...
return Integer.toString(i, 10);
return obj == null ? "null" : obj.toString();
public static String valueOf(int i) { // See Integer to understand why we call the two-arg variant. return Integer.toString(i, 10); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d8df9982463a273f994e73e8e16990f8349f7cc2/String.java/buggy/core/src/classpath/5.0/java/lang/String.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 514, 4323, 12, 474, 277, 13, 225, 288, 565, 368, 2164, 2144, 358, 22413, 11598, 732, 745, 326, 2795, 17, 3175, 5437, 18, 282, 327, 1081, 422, 446, 692, 315, 2011, 6, 294, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 514, 4323, 12, 474, 277, 13, 225, 288, 565, 368, 2164, 2144, 358, 22413, 11598, 732, 745, 326, 2795, 17, 3175, 5437, 18, 282, 327, 1081, 422, 446, 692, 315, 2011, 6, 294, 1...
{ if (path != null)
{ if (path != null)
void selectPath(JTree tree, TreePath path) { if (path != null) { if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION) { tree.addSelectionPath(path); tree.setLeadSelectionPath(path); } else if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.CONTIGUOUS_TREE_SELECTION) { // TODO } else { tree.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION); tree.getSelectionModel().clearSelection(); tree.addSelectionPath(path); tree.setLeadSelectionPath(path); } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 918, 2027, 743, 12, 46, 2471, 2151, 16, 4902, 743, 589, 13, 282, 288, 1377, 309, 261, 803, 480, 446, 13, 1377, 288, 3639, 309, 261, 3413, 18, 588, 6233, 1488, 7675, 588, 6233, 2309, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 918, 2027, 743, 12, 46, 2471, 2151, 16, 4902, 743, 589, 13, 282, 288, 1377, 309, 261, 803, 480, 446, 13, 1377, 288, 3639, 309, 261, 3413, 18, 588, 6233, 1488, 7675, 588, 6233, 2309, 1...
}
}
public boolean getScrollableTracksViewportHeight() { 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/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 11971, 30453, 22138, 22743, 2686, 1435, 225, 288, 565, 309, 261, 588, 3054, 1435, 1276, 804, 22743, 13, 1377, 327, 14015, 46, 22743, 13, 5089, 1435, 2934, 588, 2686, 1435, 405, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 11971, 30453, 22138, 22743, 2686, 1435, 225, 288, 565, 309, 261, 588, 3054, 1435, 1276, 804, 22743, 13, 1377, 327, 14015, 46, 22743, 13, 5089, 1435, 2934, 588, 2686, 1435, 405, ...
TreeModel tm = tree.getModel(); if (tm != null) tm.removeTreeModelListener(treeModelListener); }
if (treeModel != null) treeModel.removeTreeModelListener(treeModelListener); }
protected void uninstallListeners() { tree.removePropertyChangeListener(propertyChangeListener); tree.removeFocusListener(focusListener); tree.removeTreeSelectionListener(treeSelectionListener); tree.removeMouseListener(mouseInputListener); tree.removeKeyListener(keyListener); tree.removePropertyChangeListener(selectionModelPropertyChangeListener); tree.removeComponentListener(componentListener); tree.removeTreeExpansionListener(treeExpansionListener); TreeCellEditor tce = tree.getCellEditor(); if (tce != null) tce.removeCellEditorListener(cellEditorListener); TreeModel tm = tree.getModel(); if (tm != null) tm.removeTreeModelListener(treeModelListener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 16577, 5583, 1435, 202, 95, 202, 202, 3413, 18, 4479, 1396, 15744, 12, 4468, 15744, 1769, 202, 202, 3413, 18, 4479, 9233, 2223, 12, 13923, 2223, 1769, 202, 202, 3413, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 16577, 5583, 1435, 202, 95, 202, 202, 3413, 18, 4479, 1396, 15744, 12, 4468, 15744, 1769, 202, 202, 3413, 18, 4479, 9233, 2223, 12, 13923, 2223, 1769, 202, 202, 3413, 18, ...
Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus);
Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus);
Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ListCellRenderer.java/buggy/core/src/classpath/javax/javax/swing/ListCellRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 5435, 10033, 4020, 6747, 1841, 12, 46, 682, 666, 16, 6862, 1082, 225, 1033, 460, 16, 6862, 1082, 225, 509, 770, 16, 6862, 1082, 225, 1250, 20956, 16, 6862, 1082, 225, 1250, 2484, 5582, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 5435, 10033, 4020, 6747, 1841, 12, 46, 682, 666, 16, 6862, 1082, 225, 1033, 460, 16, 6862, 1082, 225, 509, 770, 16, 6862, 1082, 225, 1250, 20956, 16, 6862, 1082, 225, 1250, 2484, 5582, ...
if (group == null) { Log.warn("in Structure.removeParamGroup(). ParameterGroup passed in is null"); return false; }
public boolean removeParamGroup(ParameterGroup group) { if (group == null) { Log.warn("in Structure.removeParamGroup(). ParameterGroup passed in is null"); return false; } return paramGroupOwnedHash.remove(group); }
4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/1e7f6912855beedfa6f64bcbc5bc675d9beedbae/Structure.java/buggy/src/gov/nasa/gsfc/adc/xdf/Structure.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1206, 786, 1114, 12, 19094, 1041, 13, 288, 565, 309, 261, 1655, 422, 446, 13, 288, 1377, 1827, 18, 8935, 2932, 267, 13348, 18, 4479, 786, 1114, 7675, 225, 5498, 1114, 2275, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1206, 786, 1114, 12, 19094, 1041, 13, 288, 565, 309, 261, 1655, 422, 446, 13, 288, 1377, 1827, 18, 8935, 2932, 267, 13348, 18, 4479, 786, 1114, 7675, 225, 5498, 1114, 2275, ...
Ext2Debugger.debug("FSEntryIterator.hasNext(): null inode",2);
log.debug("FSEntryIterator.hasNext(): null inode");
public boolean hasNext() { Ext2Debugger.debug("FSEntryIterator.hasNext()",3); if(noMoreEntries) return false; if(index>=iNode.getSize()) return false; //read the inode number of the next entry: blockIndex = Ext2Directory.this.translateToBlock( index ); blockOffset= Ext2Directory.this.translateToOffset( index ); try{ //read a new block if needed if(blockIndex != lastBlockIndex) { blockData = iNode.getDataBlock(blockIndex); lastBlockIndex = blockIndex; } //get the next directory record Ext2DirectoryRecord dr = new Ext2DirectoryRecord(blockData, blockOffset); index+=dr.getRecLen(); //inode nr=0 means the end of the directory if(dr.getINodeNr()!=0) { current = dr; return true; } else { Ext2Debugger.debug("FSEntryIterator.hasNext(): null inode",2); current = null; noMoreEntries=true; return false; } }catch(IOException e) { return false; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/95169e195210009513efbf3cd307b4f1185f9ce5/Ext2Directory.java/clean/fs/src/fs/org/jnode/fs/ext2/Ext2Directory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1250, 4564, 1435, 288, 1082, 202, 2482, 22, 24113, 18, 4148, 2932, 4931, 1622, 3198, 18, 5332, 2134, 1435, 3113, 23, 1769, 1082, 202, 430, 12, 2135, 7417, 5400, 13, 9506, 202, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1250, 4564, 1435, 288, 1082, 202, 2482, 22, 24113, 18, 4148, 2932, 4931, 1622, 3198, 18, 5332, 2134, 1435, 3113, 23, 1769, 1082, 202, 430, 12, 2135, 7417, 5400, 13, 9506, 202, ...
{ return treeState.getRowHeight(); }
{ return treeState.getRowHeight(); }
protected int getRowHeight() { return treeState.getRowHeight(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 509, 11835, 2686, 1435, 202, 95, 202, 202, 2463, 2151, 1119, 18, 588, 1999, 2686, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 509, 11835, 2686, 1435, 202, 95, 202, 202, 2463, 2151, 1119, 18, 588, 1999, 2686, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
if (abyte0[i] == NEW_ENVIRONMENT && abyte0[i + 1] == 1) {
if(abyte0[i] == NEW_ENVIRONMENT && abyte0[i + 1] == 1) {
protected final boolean negotiate(byte abyte0[]) throws IOException { int i = 0; // from server negotiations if (abyte0[i] == IAC) { // -1 while (i < abyte0.length && abyte0[i++] == -1) // while(i < abyte0.length && (abyte0[i] == -1 || abyte0[i++] == // 0x20)) switch (abyte0[i++]) { // we will not worry about what it WONT do case WONT: // -4 default: break; case DO: //-3 switch (abyte0[i]) { case TERMINAL_TYPE: // 24 baosp.write(IAC); baosp.write(WILL); baosp.write(TERMINAL_TYPE); writeByte(baosp.toByteArray()); baosp.reset(); break; case OPT_END_OF_RECORD: // 25 baosp.write(IAC); baosp.write(WILL); baosp.write(OPT_END_OF_RECORD); writeByte(baosp.toByteArray()); baosp.reset(); break; case TRANSMIT_BINARY: // 0 baosp.write(IAC); baosp.write(WILL); baosp.write(TRANSMIT_BINARY); writeByte(baosp.toByteArray()); baosp.reset(); break; case TIMING_MARK: // 6 rfc860 // System.out.println("Timing Mark Received and notifying " // + // "the server that we will not do it"); baosp.write(IAC); baosp.write(WONT); baosp.write(TIMING_MARK); writeByte(baosp.toByteArray()); baosp.reset(); break; case NEW_ENVIRONMENT: // 39 rfc1572 if (devName == null && user == null) { baosp.write(IAC); baosp.write(WONT); baosp.write(NEW_ENVIRONMENT); writeByte(baosp.toByteArray()); baosp.reset(); } else { baosp.write(IAC); baosp.write(WILL); baosp.write(NEW_ENVIRONMENT); writeByte(baosp.toByteArray()); baosp.reset(); } break; default: // every thing else we will not do at this time baosp.write(IAC); baosp.write(WONT); baosp.write(abyte0[i]); // either writeByte(baosp.toByteArray()); baosp.reset(); break; } i++; break; case WILL: switch (abyte0[i]) { case OPT_END_OF_RECORD: // 25 baosp.write(IAC); baosp.write(DO); baosp.write(OPT_END_OF_RECORD); writeByte(baosp.toByteArray()); baosp.reset(); break; case TRANSMIT_BINARY: // '\0' baosp.write(IAC); baosp.write(DO); baosp.write(TRANSMIT_BINARY); writeByte(baosp.toByteArray()); baosp.reset(); break; } i++; break; case SB: // -6 if (abyte0[i] == NEW_ENVIRONMENT && abyte0[i + 1] == 1) { negNewEnvironment(); while (++i < abyte0.length && abyte0[i + 1] != IAC) ; } if (abyte0[i] == TERMINAL_TYPE && abyte0[i + 1] == 1) { baosp.write(IAC); baosp.write(SB); baosp.write(TERMINAL_TYPE); baosp.write(QUAL_IS); if (!support132) baosp.write("IBM-3179-2".getBytes()); else baosp.write("IBM-3477-FC".getBytes()); baosp.write(IAC); baosp.write(SE); writeByte(baosp.toByteArray()); baosp.reset(); i++; } i++; break; } return true; } else { return false; } }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/f8bbcf3d0c0f6b720f52a411edeba50f36e6fc11/tnvt.java/clean/tn5250j/src/org/tn5250j/tnvt.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 1250, 17257, 3840, 12, 7229, 1223, 28354, 20, 63, 5717, 1216, 1860, 288, 202, 202, 474, 277, 273, 374, 31, 202, 202, 759, 628, 1438, 17257, 77, 1012, 202, 202, 430, 261,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 1250, 17257, 3840, 12, 7229, 1223, 28354, 20, 63, 5717, 1216, 1860, 288, 202, 202, 474, 277, 273, 374, 31, 202, 202, 759, 628, 1438, 17257, 77, 1012, 202, 202, 430, 261,...
throw new Error("Not implemented for UtilDelegate");
return RMIClassLoader.getClassAnnotation(clz);
public String getCodebase(Class clz) { throw new Error("Not implemented for UtilDelegate"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/UtilDelegateImpl.java/clean/core/src/classpath/gnu/gnu/javax/rmi/CORBA/UtilDelegateImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 6583, 1969, 12, 797, 23324, 13, 225, 288, 565, 327, 534, 7492, 7805, 18, 588, 797, 3257, 12, 830, 94, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 6583, 1969, 12, 797, 23324, 13, 225, 288, 565, 327, 534, 7492, 7805, 18, 588, 797, 3257, 12, 830, 94, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
{ int h = descent; int rowHeight = getRowHeight(); Icon ei = UIManager.getLookAndFeelDefaults().getIcon("Tree.expandedIcon"); Icon ci = UIManager.getLookAndFeelDefaults().getIcon("Tree.collapsedIcon"); Rectangle clip = g.getClipBounds(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; if (mod.isLeaf(node)) descent += rowHeight; else
{ int h = descent; int rowHeight = getRowHeight(); TreePath path = new TreePath(getPathToRoot(node, 0)); Icon icon = getCurrentControlIcon(path); Rectangle clip = g.getClipBounds(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; if (mod.isLeaf(node)) descent += rowHeight; else
int paintControlIcons(Graphics g, int indentation, int descent, int childNumber, int depth, JTree tree, TreeModel mod, Object node) { int h = descent; int rowHeight = getRowHeight(); Icon ei = UIManager.getLookAndFeelDefaults().getIcon("Tree.expandedIcon"); Icon ci = UIManager.getLookAndFeelDefaults().getIcon("Tree.collapsedIcon"); Rectangle clip = g.getClipBounds(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; if (mod.isLeaf(node)) descent += rowHeight; else { if (depth > 0 || tree.isRootVisible()) descent += rowHeight; int max = 0; if (!mod.isLeaf(node)) max = mod.getChildCount(node); if (tree.isExpanded(new TreePath(getPathToRoot(node, 0)))) { if (!node.equals(mod.getRoot())) ei.paintIcon(tree, g, indentation - rightChildIndent - 3, h); for (int i = 0; i < max; i++) { int indent = indentation + rightChildIndent; if (depth == 0 && !tree.isRootVisible()) indent = -1; descent = paintControlIcons(g, indent, descent, i, depth + 1, tree, mod, mod.getChild(node, i)); } } else if (!node.equals(mod.getRoot())) ci.paintIcon(tree, g, indentation - rightChildIndent - 3, descent - getRowHeight()); } return descent; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 509, 12574, 3367, 27510, 12, 17558, 314, 16, 509, 12018, 16, 509, 3044, 319, 16, 13491, 509, 1151, 1854, 16, 509, 3598, 16, 804, 2471, 2151, 16, 4902, 1488, 681, 16, 13491, 1033, 756, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 509, 12574, 3367, 27510, 12, 17558, 314, 16, 509, 12018, 16, 509, 3044, 319, 16, 13491, 509, 1151, 1854, 16, 509, 3598, 16, 804, 2471, 2151, 16, 4902, 1488, 681, 16, 13491, 1033, 756, 1...
installDefaults();
public void installUI(JComponent c) { super.installUI(c); installDefaults((JTree) c); tree = (JTree) c; currentCellRenderer = createDefaultCellRenderer(); rendererPane = createCellRendererPane(); createdRenderer = true; setCellEditor(createDefaultCellEditor()); createdCellEditor = true; isEditing = false; TreeModel mod = tree.getModel(); setModel(mod); tree.setRootVisible(true); if (mod != null) tree.expandPath(new TreePath(mod.getRoot())); treeSelectionModel = tree.getSelectionModel(); installKeyboardActions(); installListeners(); completeUIInstall(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3799, 7019, 5621, 225, 202, 5425, 7019, 5621, 293, 5425, 7019, 5621, 582, 5425, 7019, 5621, 4158, 3429, 7019, 5621, 4739, 3429, 7019, 5621, 277, 5425, 7019, 5621, 276, 5425, 7019, 5621, 225, 379...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3799, 7019, 5621, 225, 202, 5425, 7019, 5621, 293, 5425, 7019, 5621, 582, 5425, 7019, 5621, 4158, 3429, 7019, 5621, 4739, 3429, 7019, 5621, 277, 5425, 7019, 5621, 276, 5425, 7019, 5621, 225, 379...
{ int indent = indentation + rightChildIndent; if (!isRootVisible && depth == 0)
{ int indent = indentation + rightChildIndent; if (!isRootVisible && depth == 0)
int paintRecursive(Graphics g, int indentation, int descent, int childNumber, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = g.getClipBounds(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; int halfHeight = getRowHeight() / 2; int halfWidth = rightChildIndent / 2; int y0 = descent + halfHeight; int heightOfLine = descent + halfHeight; boolean isRootVisible = tree.isRootVisible(); if (mod.isLeaf(curr)) { paintNode(g, indentation + 4, descent, tree, curr, true); descent += getRowHeight(); } else { if (depth > 0 || isRootVisible) { paintNode(g, indentation + 4, descent, tree, curr, false); descent += getRowHeight(); y0 += halfHeight; } int max = 0; if (!mod.isLeaf(curr)) max = mod.getChildCount(curr); if (tree.isExpanded(new TreePath(getPathToRoot(curr, 0)))) { for (int i = 0; i < max; i++) { int indent = indentation + rightChildIndent; if (!isRootVisible && depth == 0) indent = 0; else if ((!isRootVisible && !curr.equals(mod.getRoot())) || isRootVisible) { g.setColor(getHashColor()); heightOfLine = descent + halfHeight; g.drawLine(indentation + halfWidth, heightOfLine, indentation + rightChildIndent, heightOfLine); } descent = paintRecursive(g, indent, descent, i, depth + 1, tree, mod, mod.getChild(curr, i)); } } } if (tree.isExpanded(new TreePath(getPathToRoot(curr, 0)))) if (y0 != heightOfLine && !mod.isLeaf(curr) && mod.getChildCount(curr) > 0) { g.setColor(getHashColor()); g.drawLine(indentation + halfWidth, y0, indentation + halfWidth, heightOfLine); } return descent; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 509, 12574, 10483, 12, 17558, 314, 16, 509, 12018, 16, 509, 3044, 319, 16, 509, 1151, 1854, 16, 5397, 509, 3598, 16, 804, 2471, 2151, 16, 4902, 1488, 681, 16, 1033, 4306, 13, 225, 288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 509, 12574, 10483, 12, 17558, 314, 16, 509, 12018, 16, 509, 3044, 319, 16, 509, 1151, 1854, 16, 5397, 509, 3598, 16, 804, 2471, 2151, 16, 4902, 1488, 681, 16, 1033, 4306, 13, 225, 288, ...
} return count; }
return count; }
public int getRowCount(JTree tree) { TreeModel mod = tree.getModel(); int count = 0; if (mod != null) { Object node = mod.getRoot(); if (!tree.isRootVisible() && tree.isExpanded(new TreePath((getPathToRoot(node, 0))))) node = getNextNode(node); while (node != null) { count++; node = getNextVisibleNode(node); } } return count; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 11835, 1380, 12, 46, 2471, 2151, 13, 202, 95, 565, 4902, 1488, 681, 273, 2151, 18, 588, 1488, 5621, 565, 509, 1056, 273, 374, 31, 565, 309, 261, 1711, 480, 446, 13, 137...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 11835, 1380, 12, 46, 2471, 2151, 13, 202, 95, 565, 4902, 1488, 681, 273, 2151, 18, 588, 1488, 5621, 565, 509, 1056, 273, 374, 31, 565, 309, 261, 1711, 480, 446, 13, 137...
Point loc = getCellLocation(0, 0, tree, mod, cell, root); return getCellBounds(loc.x, loc.y, cell);
Point loc = getCellLocation(0, 0, tree, treeModel, cell, root); return getCellBounds(loc.x, loc.y, cell); }
public Rectangle getPathBounds(JTree tree, TreePath path) { if (path != null) { Object cell = path.getLastPathComponent(); TreeModel mod = tree.getModel(); if (mod != null) { Object root = mod.getRoot(); if (!tree.isRootVisible() && tree.isExpanded(new TreePath(root))) root = getNextNode(root); Point loc = getCellLocation(0, 0, tree, mod, cell, root); return getCellBounds(loc.x, loc.y, cell); } } return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 13264, 4339, 5694, 12, 46, 2471, 2151, 16, 4902, 743, 589, 13, 202, 95, 1377, 309, 261, 803, 480, 446, 13, 1377, 288, 540, 1033, 2484, 273, 589, 18, 588, 3024, 743, 1841, 56...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 13264, 4339, 5694, 12, 46, 2471, 2151, 16, 4902, 743, 589, 13, 202, 95, 1377, 309, 261, 803, 480, 446, 13, 1377, 288, 540, 1033, 2484, 273, 589, 18, 588, 3024, 743, 1841, 56...
Border inner = getMarginBorder();
Border inner = getMarginBorder();
public static Border getButtonBorder() { if (buttonBorder == null) { Border outer = new ButtonBorder(); Border inner = getMarginBorder(); buttonBorder = new BorderUIResource.CompoundBorderUIResource (outer, inner); } return buttonBorder; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/MetalBorders.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalBorders.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 13525, 2882, 2644, 8107, 1435, 225, 288, 565, 309, 261, 5391, 8107, 422, 446, 13, 1377, 288, 3639, 13525, 6390, 273, 394, 12569, 8107, 5621, 565, 13525, 3443, 273, 2108, 5243, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 13525, 2882, 2644, 8107, 1435, 225, 288, 565, 309, 261, 5391, 8107, 422, 446, 13, 1377, 288, 3639, 13525, 6390, 273, 394, 12569, 8107, 5621, 565, 13525, 3443, 273, 2108, 5243, ...
{ }
{ }
protected void uninstallKeyboardActions() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 16577, 17872, 6100, 1435, 202, 95, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 16577, 17872, 6100, 1435, 202, 95, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
{
{
public int getScrollableBlockIncrement(Rectangle visible, int orientation, int direction) { // We return the whole visible area as documented in Sun's API docs. if (orientation == SwingConstants.HORIZONTAL) return visible.width; else if (orientation == SwingConstants.VERTICAL) return visible.height; else throw new IllegalArgumentException("orientation must be either " + "javax.swing.SwingConstants.VERTICAL " + "or " + "javax.swing.SwingConstants.HORIZONTAL" ); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 11971, 30453, 1768, 10798, 12, 19463, 6021, 16, 509, 9820, 16, 29159, 509, 4068, 13, 565, 288, 565, 368, 1660, 327, 326, 7339, 6021, 5091, 487, 23051, 316, 31608, 1807, 1491, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 11971, 30453, 1768, 10798, 12, 19463, 6021, 16, 509, 9820, 16, 29159, 509, 4068, 13, 565, 288, 565, 368, 1660, 327, 326, 7339, 6021, 5091, 487, 23051, 316, 31608, 1807, 1491, 3...
return false;
} } } if (! realEditor.isCellEditable(event)) ret = false; else { if (canEditImmediately(event)) ret = true; else if (ed && shouldStartEditingTimer(event)) startEditingTimer(); else if (timer != null && timer.isRunning()) timer.stop(); } if (ret) prepareForEditing(); return ret;
public boolean isCellEditable(EventObject event) { if (editingComponent == null) configureEditingComponent(tree, renderer, realEditor); if (editingComponent != null && realEditor.isCellEditable(event)) { prepareForEditing(); return true; } return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/DefaultTreeCellEditor.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 353, 4020, 15470, 12, 1133, 921, 871, 13, 225, 288, 377, 309, 261, 4619, 310, 1841, 422, 446, 13, 3639, 5068, 28029, 1841, 12, 3413, 16, 5690, 16, 2863, 6946, 1769, 3639, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 353, 4020, 15470, 12, 1133, 921, 871, 13, 225, 288, 377, 309, 261, 4619, 310, 1841, 422, 446, 13, 3639, 5068, 28029, 1841, 12, 3413, 16, 5690, 16, 2863, 6946, 1769, 3639, 30...
throw new Error("Not implemented for UtilDelegate");
synchronized (m_Targets) { Tie tie; TieTargetRecord r = ((TieTargetRecord) m_Targets.get(target)); if (r == null) { if (target instanceof Stub) { tie = StubDelegateImpl.getTieFromStub(target); registerTarget(tie, target); } else { String tieClassName = getTieClassName(target.getClass().getName()); try { Class tieClass = Util.loadClass(tieClassName, null, target.getClass().getClassLoader()); tie = (Tie) tieClass.newInstance(); } catch (Exception e) { MARSHAL m = new MARSHAL("Unable to instantiate " + tieClassName); m.minor = Minor.TargetConversion; m.initCause(e); throw m; } tie.setTarget(target); registerTarget(tie, target); } } else tie = r.tie; return tie; }
public Tie getTie(Remote target) { throw new Error("Not implemented for UtilDelegate"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/UtilDelegateImpl.java/clean/core/src/classpath/gnu/gnu/javax/rmi/CORBA/UtilDelegateImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 399, 1385, 3181, 1385, 12, 5169, 1018, 13, 225, 288, 565, 3852, 261, 81, 67, 9432, 13, 288, 399, 1385, 25318, 31, 399, 1385, 2326, 2115, 436, 273, 14015, 56, 1385, 2326, 2115, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 399, 1385, 3181, 1385, 12, 5169, 1018, 13, 225, 288, 565, 3852, 261, 81, 67, 9432, 13, 288, 399, 1385, 25318, 31, 399, 1385, 2326, 2115, 436, 273, 14015, 56, 1385, 2326, 2115, 13,...
public synchronized FileSystem getFileSystem(String rootName) { return (FileSystem)filesystems.get(rootName);
public synchronized FileSystem getFileSystem(Device device) { return (FileSystem)filesystems.get(getMountPoint(device));
public synchronized FileSystem getFileSystem(String rootName) { return (FileSystem)filesystems.get(rootName); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/FileSystemManager.java/buggy/fs/src/fs/org/jnode/fs/service/def/FileSystemManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 10931, 29986, 12, 780, 1365, 461, 13, 288, 202, 202, 2463, 261, 11785, 13, 17846, 87, 18, 588, 12, 3085, 461, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 10931, 29986, 12, 780, 1365, 461, 13, 288, 202, 202, 2463, 261, 11785, 13, 17846, 87, 18, 588, 12, 3085, 461, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100,...
{
{
protected FocusListener createToolBarFocusListener() { return new ToolBarFocusListener(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 478, 4560, 2223, 752, 6364, 5190, 9233, 2223, 1435, 565, 288, 565, 327, 394, 13288, 5190, 9233, 2223, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 478, 4560, 2223, 752, 6364, 5190, 9233, 2223, 1435, 565, 288, 565, 327, 394, 13288, 5190, 9233, 2223, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
{ return tree.isRootVisible(); }
{ return tree.isRootVisible(); }
protected boolean isRootVisible() { return tree.isRootVisible(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 19371, 6207, 1435, 202, 95, 1377, 327, 2151, 18, 291, 2375, 6207, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 19371, 6207, 1435, 202, 95, 1377, 327, 2151, 18, 291, 2375, 6207, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION) {
if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.SINGLE_TREE_SELECTION) { tree.getSelectionModel().clearSelection();
void selectPath(JTree tree, TreePath path) { if (path != null) { if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION) { tree.addSelectionPath(path); tree.setLeadSelectionPath(path); } else if (tree.getSelectionModel().getSelectionMode() == TreeSelectionModel.CONTIGUOUS_TREE_SELECTION) { // TODO } else { tree.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION); tree.getSelectionModel().clearSelection(); tree.addSelectionPath(path); tree.setLeadSelectionPath(path); } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 918, 2027, 743, 12, 46, 2471, 2151, 16, 4902, 743, 589, 13, 282, 288, 1377, 309, 261, 803, 480, 446, 13, 1377, 288, 3639, 309, 261, 3413, 18, 588, 6233, 1488, 7675, 588, 6233, 2309, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 918, 2027, 743, 12, 46, 2471, 2151, 16, 4902, 743, 589, 13, 282, 288, 1377, 309, 261, 803, 480, 446, 13, 1377, 288, 3639, 309, 261, 3413, 18, 588, 6233, 1488, 7675, 588, 6233, 2309, 1...
public boolean isInField(int pos, boolean chgToField) {
public boolean isInField() {
public boolean isInField(int pos, boolean chgToField) { return screenFields.isInField(pos,chgToField); }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/0166767548ad2224376eff5004531d67a0ff55d6/Screen5250.java/buggy/tn5250j/src/org/tn5250j/Screen5250.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 1250, 8048, 974, 1435, 288, 1377, 327, 5518, 2314, 18, 291, 382, 974, 12, 917, 16, 343, 75, 774, 974, 1769, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 1250, 8048, 974, 1435, 288, 1377, 327, 5518, 2314, 18, 291, 382, 974, 12, 917, 16, 343, 75, 774, 974, 1769, 282, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
public void store(int value) {
public void store(ObjectReference ref) {
public void store(int value) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/Address.java/buggy/core/src/vmmagic/org/vmmagic/unboxed/Address.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1707, 12, 22101, 1278, 13, 288, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1707, 12, 22101, 1278, 13, 288, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
public SwingWindowPeer(SwingToolkit toolkit, Window window, JInternalFrame jComponent) { super(toolkit, window, jComponent);
public SwingWindowPeer(SwingToolkit toolkit, Window window) { super(toolkit, window, new JInternalFrame()); SwingToolkit.copyAwtProperties(window, jComponent);
public SwingWindowPeer(SwingToolkit toolkit, Window window, JInternalFrame jComponent) { super(toolkit, window, jComponent); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/SwingWindowPeer.java/buggy/gui/src/awt/org/jnode/awt/swingpeers/SwingWindowPeer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26145, 3829, 6813, 12, 6050, 310, 6364, 8691, 5226, 8691, 16, 6076, 2742, 16, 804, 3061, 3219, 525, 1841, 13, 288, 3639, 2240, 12, 6738, 8691, 16, 2742, 16, 525, 1841, 1769, 565, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26145, 3829, 6813, 12, 6050, 310, 6364, 8691, 5226, 8691, 16, 6076, 2742, 16, 804, 3061, 3219, 525, 1841, 13, 288, 3639, 2240, 12, 6738, 8691, 16, 2742, 16, 525, 1841, 1769, 565, ...
String s = cell.toString(); Font f = tree.getFont();
String s = cell.toString(); Font f = tree.getFont();
Rectangle getCellBounds(int x, int y, Object cell) { if (cell != null) { String s = cell.toString(); Font f = tree.getFont(); FontMetrics fm = tree.getToolkit().getFontMetrics(f); if (s != null) return new Rectangle(x, y, SwingUtilities.computeStringWidth(fm, s) + 4, fm.getHeight()); } return new Rectangle(x, y, 0, 0); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 13264, 16458, 5694, 12, 474, 619, 16, 509, 677, 16, 1033, 2484, 13, 225, 288, 1377, 309, 261, 3855, 480, 446, 13, 1377, 288, 202, 202, 780, 272, 273, 2484, 18, 10492, 5621, 202, 202, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 13264, 16458, 5694, 12, 474, 619, 16, 509, 677, 16, 1033, 2484, 13, 225, 288, 1377, 309, 261, 3855, 480, 446, 13, 1377, 288, 202, 202, 780, 272, 273, 2484, 18, 10492, 5621, 202, 202, ...
tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background")); tree.setOpaque(true);
tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background")); tree.setOpaque(true);
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background")); tree.setOpaque(true); rightChildIndent = defaults.getInt("Tree.rightChildIndent"); leftChildIndent = defaults.getInt("Tree.leftChildIndent"); setRowHeight(defaults.getInt("Tree.rowHeight")); tree.requestFocusInWindow(false); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 3799, 7019, 1435, 202, 95, 202, 202, 3060, 73, 643, 87, 3467, 273, 6484, 1318, 18, 588, 9794, 1876, 2954, 292, 7019, 5621, 202, 202, 3413, 18, 542, 5711, 12, 7606, 18, 588, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 3799, 7019, 1435, 202, 95, 202, 202, 3060, 73, 643, 87, 3467, 273, 6484, 1318, 18, 588, 9794, 1876, 2954, 292, 7019, 5621, 202, 202, 3413, 18, 542, 5711, 12, 7606, 18, 588, ...
enableEvents(AWTEvent.KEY_EVENT_MASK); updateUI();
enableEvents(AWTEvent.KEY_EVENT_MASK); updateUI();
public JTextComponent() { Keymap defkeymap = getKeymap(DEFAULT_KEYMAP); boolean creatingKeymap = false; if (defkeymap == null) { defkeymap = addKeymap(DEFAULT_KEYMAP, null); defkeymap.setDefaultAction(new DefaultEditorKit.DefaultKeyTypedAction()); creatingKeymap = true; } caretBlinkTimer = new CaretBlinkTimer(); setFocusable(true); setEditable(true); enableEvents(AWTEvent.KEY_EVENT_MASK); updateUI(); // need to do this after updateUI() if (creatingKeymap) loadKeymap(defkeymap, new KeyBinding[] { new KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, 0), DefaultEditorKit.backwardAction), new KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, 0), DefaultEditorKit.forwardAction), new KeyBinding(KeyStroke.getKeyStroke("typed \b"), DefaultEditorKit.deletePrevCharAction), new KeyBinding(KeyStroke.getKeyStroke("typed \u007f"), DefaultEditorKit.deleteNextCharAction) }, getActions()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 804, 1528, 1841, 1435, 565, 288, 565, 1929, 1458, 1652, 856, 1458, 273, 3579, 1458, 12, 5280, 67, 3297, 8352, 1769, 565, 1250, 4979, 653, 1458, 273, 629, 31, 565, 309, 261, 536, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 804, 1528, 1841, 1435, 565, 288, 565, 1929, 1458, 1652, 856, 1458, 273, 3579, 1458, 12, 5280, 67, 3297, 8352, 1769, 565, 1250, 4979, 653, 1458, 273, 629, 31, 565, 309, 261, 536, 8...
return new TreePath(getPathToRoot(node, 0)); }
return new TreePath(getPathToRoot(node, 0)); }
public TreePath getPathForRow(JTree tree, int row) { TreeModel mod = tree.getModel(); if (mod != null) { Object node = mod.getRoot(); if (!tree.isRootVisible() && tree.isExpanded(new TreePath(getPathToRoot(node, 0)))) node = getNextNode(node); for (int i = 0; i < row; i++) node = getNextVisibleNode(node); if (node == null) return null; return new TreePath(getPathToRoot(node, 0)); } return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4902, 743, 4339, 1290, 1999, 12, 46, 2471, 2151, 16, 509, 1027, 13, 202, 95, 565, 4902, 1488, 681, 273, 2151, 18, 588, 1488, 5621, 565, 309, 261, 1711, 480, 446, 13, 1377, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4902, 743, 4339, 1290, 1999, 12, 46, 2471, 2151, 16, 509, 1027, 13, 202, 95, 565, 4902, 1488, 681, 273, 2151, 18, 588, 1488, 5621, 565, 309, 261, 1711, 480, 446, 13, 1377, 2...
SwingUtilities.convertPointToScreen(origin, toolBar);
if (toolBar.isShowing()) SwingUtilities.convertPointToScreen(origin, toolBar);
public void mousePressed(MouseEvent e) { if (! toolBar.isFloatable()) return; Point ssd = e.getPoint(); Insets insets = toolBar.getInsets(); // Verify that this click occurs in the top inset. if (toolBar.getOrientation() == SwingConstants.HORIZONTAL) { if (e.getX() > insets.left) return; } else { if (e.getY() > insets.top) return; } origin = new Point(0, 0); SwingUtilities.convertPointToScreen(ssd, toolBar); if (! (SwingUtilities.getAncestorOfClass(Window.class, toolBar) instanceof UIResource)) // Need to know who keeps the toolBar if it gets dragged back into it. origParent = toolBar.getParent(); SwingUtilities.convertPointToScreen(origin, toolBar); isDragging = true; if (dragWindow != null) dragWindow.setOffset(new Point(e.getX(), e.getY())); dragTo(e.getPoint(), origin); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7644, 24624, 12, 9186, 1133, 425, 13, 565, 288, 1377, 309, 16051, 5226, 5190, 18, 291, 4723, 429, 10756, 202, 2463, 31, 1377, 4686, 5202, 72, 273, 425, 18, 588, 2148, 5621, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7644, 24624, 12, 9186, 1133, 425, 13, 565, 288, 1377, 309, 16051, 5226, 5190, 18, 291, 4723, 429, 10756, 202, 2463, 31, 1377, 4686, 5202, 72, 273, 425, 18, 588, 2148, 5621, 1...
}
}
public Dimension getMinimumSize(JComponent c) { return getPreferredSize(c); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 30665, 1225, 12, 46, 1841, 276, 13, 565, 288, 565, 327, 12822, 4193, 1225, 12, 71, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 30665, 1225, 12, 46, 1841, 276, 13, 565, 288, 565, 327, 12822, 4193, 1225, 12, 71, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
public synchronized int getPort() {
public synchronized int getPort() {
public synchronized int getPort() { return port; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7c463aa3bd840a934d101c434976bb7b25d5b975/DatagramPacket.java/buggy/core/src/classpath/java/java/net/DatagramPacket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 509, 11036, 1435, 288, 202, 202, 2463, 1756, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 509, 11036, 1435, 288, 202, 202, 2463, 1756, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
{ }
{ }
public void mouseDragged(MouseEvent e) { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 7644, 11728, 2423, 12, 9186, 1133, 425, 13, 202, 202, 95, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 7644, 11728, 2423, 12, 9186, 1133, 425, 13, 202, 202, 95, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
channel = new VMChannel(); impl = new VMPlainSocketImpl(channel);
public PlainDatagramSocketImpl() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainDatagramSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainDatagramSocketImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1904, 273, 394, 8251, 2909, 5621, 9380, 273, 394, 8251, 13360, 4534, 2828, 12, 4327, 1769, 225, 1904, 273, 394, 8251, 2909, 5621, 9380, 273, 394, 8251, 13360, 4534, 2828, 12, 4327, 1769, 225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1904, 273, 394, 8251, 2909, 5621, 9380, 273, 394, 8251, 13360, 4534, 2828, 12, 4327, 1769, 225, 1904, 273, 394, 8251, 2909, 5621, 9380, 273, 394, 8251, 13360, 4534, 2828, 12, 4327, 1769, 225, ...
if (abyte0[i] == IAC) {
if(abyte0[i] == IAC) {
protected final boolean negotiate(byte abyte0[]) throws IOException { int i = 0; // from server negotiations if (abyte0[i] == IAC) { // -1 while (i < abyte0.length && abyte0[i++] == -1) // while(i < abyte0.length && (abyte0[i] == -1 || abyte0[i++] == // 0x20)) switch (abyte0[i++]) { // we will not worry about what it WONT do case WONT: // -4 default: break; case DO: //-3 switch (abyte0[i]) { case TERMINAL_TYPE: // 24 baosp.write(IAC); baosp.write(WILL); baosp.write(TERMINAL_TYPE); writeByte(baosp.toByteArray()); baosp.reset(); break; case OPT_END_OF_RECORD: // 25 baosp.write(IAC); baosp.write(WILL); baosp.write(OPT_END_OF_RECORD); writeByte(baosp.toByteArray()); baosp.reset(); break; case TRANSMIT_BINARY: // 0 baosp.write(IAC); baosp.write(WILL); baosp.write(TRANSMIT_BINARY); writeByte(baosp.toByteArray()); baosp.reset(); break; case TIMING_MARK: // 6 rfc860 // System.out.println("Timing Mark Received and notifying " // + // "the server that we will not do it"); baosp.write(IAC); baosp.write(WONT); baosp.write(TIMING_MARK); writeByte(baosp.toByteArray()); baosp.reset(); break; case NEW_ENVIRONMENT: // 39 rfc1572 if (devName == null && user == null) { baosp.write(IAC); baosp.write(WONT); baosp.write(NEW_ENVIRONMENT); writeByte(baosp.toByteArray()); baosp.reset(); } else { baosp.write(IAC); baosp.write(WILL); baosp.write(NEW_ENVIRONMENT); writeByte(baosp.toByteArray()); baosp.reset(); } break; default: // every thing else we will not do at this time baosp.write(IAC); baosp.write(WONT); baosp.write(abyte0[i]); // either writeByte(baosp.toByteArray()); baosp.reset(); break; } i++; break; case WILL: switch (abyte0[i]) { case OPT_END_OF_RECORD: // 25 baosp.write(IAC); baosp.write(DO); baosp.write(OPT_END_OF_RECORD); writeByte(baosp.toByteArray()); baosp.reset(); break; case TRANSMIT_BINARY: // '\0' baosp.write(IAC); baosp.write(DO); baosp.write(TRANSMIT_BINARY); writeByte(baosp.toByteArray()); baosp.reset(); break; } i++; break; case SB: // -6 if (abyte0[i] == NEW_ENVIRONMENT && abyte0[i + 1] == 1) { negNewEnvironment(); while (++i < abyte0.length && abyte0[i + 1] != IAC) ; } if (abyte0[i] == TERMINAL_TYPE && abyte0[i + 1] == 1) { baosp.write(IAC); baosp.write(SB); baosp.write(TERMINAL_TYPE); baosp.write(QUAL_IS); if (!support132) baosp.write("IBM-3179-2".getBytes()); else baosp.write("IBM-3477-FC".getBytes()); baosp.write(IAC); baosp.write(SE); writeByte(baosp.toByteArray()); baosp.reset(); i++; } i++; break; } return true; } else { return false; } }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/f8bbcf3d0c0f6b720f52a411edeba50f36e6fc11/tnvt.java/clean/tn5250j/src/org/tn5250j/tnvt.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 1250, 17257, 3840, 12, 7229, 1223, 28354, 20, 63, 5717, 1216, 1860, 288, 202, 202, 474, 277, 273, 374, 31, 202, 202, 759, 628, 1438, 17257, 77, 1012, 202, 202, 430, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 1250, 17257, 3840, 12, 7229, 1223, 28354, 20, 63, 5717, 1216, 1860, 288, 202, 202, 474, 277, 273, 374, 31, 202, 202, 759, 628, 1438, 17257, 77, 1012, 202, 202, 430, 12, ...
catch(ClassNotFoundException e2)
try
public Class loadClass(String className, String remoteCodebase, ClassLoader loader) throws ClassNotFoundException { try{ if (remoteCodebase == null) return RMIClassLoader.loadClass(className); else return RMIClassLoader.loadClass(remoteCodebase, className); } catch (MalformedURLException e1) { throw new ClassNotFoundException(className, e1); } catch(ClassNotFoundException e2) { if(loader != null) return loader.loadClass(className); else return null; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/UtilDelegateImpl.java/clean/core/src/classpath/gnu/gnu/javax/rmi/CORBA/UtilDelegateImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1659, 16038, 12, 780, 2658, 16, 514, 2632, 1085, 1969, 16, 1082, 21114, 9403, 4088, 13, 565, 1216, 10403, 225, 288, 565, 775, 95, 1377, 309, 261, 7222, 1085, 1969, 422, 446, 13, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1659, 16038, 12, 780, 2658, 16, 514, 2632, 1085, 1969, 16, 1082, 21114, 9403, 4088, 13, 565, 1216, 10403, 225, 288, 565, 775, 95, 1377, 309, 261, 7222, 1085, 1969, 422, 446, 13, 2...
{ return new BasicTreeUI(); }
{ return new BasicTreeUI(); }
public static ComponentUI createUI(JComponent c) { return new BasicTreeUI(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 5435, 5370, 752, 5370, 12, 46, 1841, 276, 13, 202, 95, 202, 202, 2463, 394, 7651, 2471, 5370, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 5435, 5370, 752, 5370, 12, 46, 1841, 276, 13, 202, 95, 202, 202, 2463, 394, 7651, 2471, 5370, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
{ }
{ }
protected void updateCachedPreferredSize() { // FIXME: not implemented }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1089, 9839, 16028, 1225, 1435, 202, 95, 202, 202, 759, 9852, 30, 486, 8249, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1089, 9839, 16028, 1225, 1435, 202, 95, 202, 202, 759, 9852, 30, 486, 8249, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Object node = mod.getRoot(); if (!tree.isRootVisible() && tree.isExpanded(new TreePath(getPathToRoot(node, 0)))) node = getNextNode(node);
Object node = treeModel.getRoot(); if (!tree.isRootVisible() && tree.isExpanded(new TreePath(getPathToRoot(node, 0)))) node = getNextNode(node);
public TreePath getPathForRow(JTree tree, int row) { TreeModel mod = tree.getModel(); if (mod != null) { Object node = mod.getRoot(); if (!tree.isRootVisible() && tree.isExpanded(new TreePath(getPathToRoot(node, 0)))) node = getNextNode(node); for (int i = 0; i < row; i++) node = getNextVisibleNode(node); if (node == null) return null; return new TreePath(getPathToRoot(node, 0)); } return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4902, 743, 4339, 1290, 1999, 12, 46, 2471, 2151, 16, 509, 1027, 13, 202, 95, 565, 4902, 1488, 681, 273, 2151, 18, 588, 1488, 5621, 565, 309, 261, 1711, 480, 446, 13, 1377, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4902, 743, 4339, 1290, 1999, 12, 46, 2471, 2151, 16, 509, 1027, 13, 202, 95, 565, 4902, 1488, 681, 273, 2151, 18, 588, 1488, 5621, 565, 309, 261, 1711, 480, 446, 13, 1377, 2...
this(new DefaultComboBoxModel());
setEditable(false); setEnabled(true); setMaximumRowCount(DEFAULT_MAXIMUM_ROW_COUNT); setModel(model); setActionCommand("comboBoxChanged"); lightWeightPopupEnabled = true; isEditable = false; updateUI();
public JComboBox() { this(new DefaultComboBoxModel()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComboBox.java/buggy/core/src/classpath/javax/javax/swing/JComboBox.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 804, 22199, 1435, 225, 288, 565, 444, 15470, 12, 5743, 1769, 12888, 12, 3767, 1769, 10851, 2422, 26359, 12, 5280, 67, 6694, 18605, 67, 11226, 67, 7240, 1769, 19027, 12, 2284, 1769, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 804, 22199, 1435, 225, 288, 565, 444, 15470, 12, 5743, 1769, 12888, 12, 3767, 1769, 10851, 2422, 26359, 12, 5280, 67, 6694, 18605, 67, 11226, 67, 7240, 1769, 19027, 12, 2284, 1769, ...
javax.rmi.ORB orb();
ORB orb();
javax.rmi.ORB orb();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/Tie.java/buggy/core/src/classpath/javax/javax/rmi/CORBA/Tie.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 6863, 18, 8864, 77, 18, 916, 38, 16823, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 6863, 18, 8864, 77, 18, 916, 38, 16823, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
public DriverException(String message, Throwable cause) { super(message, cause);
public DriverException() { super();
public DriverException(String message, Throwable cause) { super(message, cause); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/DriverException.java/buggy/core/src/driver/org/jnode/driver/DriverException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9396, 503, 12, 780, 883, 16, 4206, 4620, 13, 288, 202, 202, 9565, 12, 2150, 16, 4620, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9396, 503, 12, 780, 883, 16, 4206, 4620, 13, 288, 202, 202, 9565, 12, 2150, 16, 4620, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
super(s);
public RuntimeException(String s) { super(s); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7c463aa3bd840a934d101c434976bb7b25d5b975/RuntimeException.java/buggy/core/src/classpath/java/java/lang/RuntimeException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3235, 12, 780, 272, 13, 225, 202, 95, 202, 202, 9565, 12, 87, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3235, 12, 780, 272, 13, 225, 202, 95, 202, 202, 9565, 12, 87, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
isAltGr),which);
ke.isAltGraphDown()),which);
public final static void setKeyStroke(String which, KeyEvent ke, boolean isAltGr) { if (ke == null) return; Collection v = mappedKeys.values(); Set o = mappedKeys.keySet(); Iterator k = o.iterator(); Iterator i = v.iterator(); while (k.hasNext()) { KeyStroker ks = (KeyStroker)k.next(); String keyVal = (String)i.next(); if (keyVal.equals(which)) { mappedKeys.remove(ks); mappedKeys.put(new KeyStroker(ke.getKeyCode(), ke.isShiftDown(), ke.isControlDown(), ke.isAltDown(), isAltGr),keyVal); return; } } // if we got here it was a dead key and we need to add it. mappedKeys.put(new KeyStroker(ke.getKeyCode(), ke.isShiftDown(), ke.isControlDown(), ke.isAltDown(), isAltGr),which); }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/69e4ad8b79244d7a9ead6ae9be5f21d5cf302742/KeyMapper.java/buggy/tn5250j/src/org/tn5250j/tools/KeyMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 727, 760, 918, 16696, 14602, 12, 780, 1492, 16, 23737, 12519, 16, 1250, 353, 10655, 20799, 13, 288, 1377, 309, 261, 4491, 422, 446, 13, 540, 327, 31, 1377, 2200, 331, 273, 5525, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 727, 760, 918, 16696, 14602, 12, 780, 1492, 16, 23737, 12519, 16, 1250, 353, 10655, 20799, 13, 288, 1377, 309, 261, 4491, 422, 446, 13, 540, 327, 31, 1377, 2200, 331, 273, 5525, 2...
if (DEBUG) debug("SecurityManager forbids reading system properties. Ignored");
if (Configuration.DEBUG) log.fine("SecurityManager forbids reading system properties. Ignored");
private void handleBooleanProperty(final String name) { String s = null; try { s = System.getProperty(name); } catch (SecurityException x) { if (DEBUG) debug("SecurityManager forbids reading system properties. Ignored"); } if (s != null) { s = s.trim().toLowerCase(); // we have to test for explicit "true" or "false". anything else may // hide valid value set previously if (s.equals(TRUE) || s.equals(FALSE)) { if (DEBUG) debug("Setting " + name + " to '" + s + "'"); props.put(name, s); } else { if (DEBUG) debug("Invalid value for -D" + name + ": " + s + ". Ignored"); } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7172738fba4eab23190cf62c40a31b7348ab1677/Properties.java/clean/core/src/classpath/gnu/gnu/java/security/Properties.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1640, 5507, 1396, 12, 6385, 514, 508, 13, 225, 288, 565, 514, 272, 273, 446, 31, 565, 775, 1377, 288, 3639, 272, 273, 2332, 18, 588, 1396, 12, 529, 1769, 1377, 289, 565, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1640, 5507, 1396, 12, 6385, 514, 508, 13, 225, 288, 565, 514, 272, 273, 446, 31, 565, 775, 1377, 288, 3639, 272, 273, 2332, 18, 588, 1396, 12, 529, 1769, 1377, 289, 565, 10...
}
}
public Dimension getPreferredSize() { Dimension size = super.getPreferredSize(); if (columns != 0) size.width = columns * getColumnWidth(); return size; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextField.java/buggy/core/src/classpath/javax/javax/swing/JTextField.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 12822, 4193, 1225, 1435, 225, 288, 565, 13037, 963, 273, 2240, 18, 588, 16028, 1225, 5621, 3639, 309, 261, 5112, 480, 374, 13, 1377, 963, 18, 2819, 273, 2168, 380, 6716, 2384...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 12822, 4193, 1225, 1435, 225, 288, 565, 13037, 963, 273, 2240, 18, 588, 16028, 1225, 5621, 3639, 309, 261, 5112, 480, 374, 13, 1377, 963, 18, 2819, 273, 2168, 380, 6716, 2384...
return false;
return keyCode == KeyEvent.VK_UP || keyCode == KeyEvent.VK_DOWN || keyCode == KeyEvent.VK_LEFT || keyCode == KeyEvent.VK_RIGHT || keyCode == KeyEvent.VK_ENTER || keyCode == KeyEvent.VK_ESCAPE || keyCode == KeyEvent.VK_TAB;
protected boolean isNavigationKey(int keyCode) throws NotImplementedException { // FIXME: Need to implement return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1250, 8197, 6417, 653, 12, 474, 16369, 13, 565, 1216, 10051, 503, 225, 288, 565, 368, 9852, 30, 12324, 358, 2348, 282, 327, 16369, 422, 23737, 18, 58, 47, 67, 3079, 747, 16369, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 1250, 8197, 6417, 653, 12, 474, 16369, 13, 565, 1216, 10051, 503, 225, 288, 565, 368, 9852, 30, 12324, 358, 2348, 282, 327, 16369, 422, 23737, 18, 58, 47, 67, 3079, 747, 16369, 42...
revalidate(); repaint();
revalidate(); repaint();
public void setSelectionModel(TreeSelectionModel model) { if (selectionModel == model) return; if (selectionModel != null) selectionModel.removeTreeSelectionListener(selectionRedirector); TreeSelectionModel oldValue = selectionModel; selectionModel = model; if (selectionModel != null) selectionModel.addTreeSelectionListener(selectionRedirector); firePropertyChange(SELECTION_MODEL_PROPERTY, oldValue, model); revalidate(); repaint(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTree.java/buggy/core/src/classpath/javax/javax/swing/JTree.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 6233, 1488, 12, 2471, 6233, 1488, 938, 13, 225, 288, 565, 309, 261, 10705, 1488, 422, 938, 13, 1377, 327, 31, 377, 202, 202, 430, 261, 10705, 1488, 480, 446, 13, 1082, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 6233, 1488, 12, 2471, 6233, 1488, 938, 13, 225, 288, 565, 309, 261, 10705, 1488, 422, 938, 13, 1377, 327, 31, 377, 202, 202, 430, 261, 10705, 1488, 480, 446, 13, 1082, ...
public void writeAbstractObject(OutputStream out, Object obj)
public void writeAbstractObject(OutputStream output, Object object)
public void writeAbstractObject(OutputStream out, Object obj) { throw new Error("Not implemented for UtilDelegate"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/UtilDelegateImpl.java/clean/core/src/classpath/gnu/gnu/javax/rmi/CORBA/UtilDelegateImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1045, 7469, 921, 12, 4632, 876, 16, 1033, 733, 13, 225, 288, 565, 604, 394, 1068, 2932, 1248, 8249, 364, 3564, 9586, 8863, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1045, 7469, 921, 12, 4632, 876, 16, 1033, 733, 13, 225, 288, 565, 604, 394, 1068, 2932, 1248, 8249, 364, 3564, 9586, 8863, 225, 289, 2, -100, -100, -100, -100, -100, -100, -1...
Object p = getParent(mod.getRoot(), last);
Object p = getParent(treeModel.getRoot(), last);
public void actionPerformed(ActionEvent e) { TreeModel mod = tree.getModel(); Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(mod.getRoot(), last); if (!mod.isLeaf(last) && tree.isExpanded(path)) tree.collapsePath(path); else if (p != null) selectPath(tree, new TreePath(getPathToRoot(p, 0))); } else if (e.getActionCommand().equals("selectChild")) { TreePath path = new TreePath(getPathToRoot(last, 0)); if (!mod.isLeaf(last) && tree.isCollapsed(path)) tree.expandPath(path); else { Object next = getNextVisibleNode(last); if (next != null) selectPath(tree, new TreePath(getPathToRoot(next, 0))); } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 225, 288, 1377, 4902, 1488, 681, 273, 2151, 18, 588, 1488, 5621, 1377, 1033, 1142, 273, 2151, 18, 588, 9678, 6233, 743, 7675, 588, 3024, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 225, 288, 1377, 4902, 1488, 681, 273, 2151, 18, 588, 1488, 5621, 1377, 1033, 1142, 273, 2151, 18, 588, 9678, 6233, 743, 7675, 588, 3024, ...
BorderLayout() {
public BorderLayout() {
BorderLayout(){ this(0,0);}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 30814, 1435, 95, 225, 333, 12, 20, 16, 20, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 30814, 1435, 95, 225, 333, 12, 20, 16, 20, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
me.frame,
me.getParentView((Session)this),
private void showHexMap() { JPanel srp = new JPanel(); srp.setLayout(new BorderLayout()); DefaultListModel listModel = new DefaultListModel(); StringBuffer sb = new StringBuffer(); // we will use a collator here so that we can take advantage of the locales Collator collator = Collator.getInstance(); CollationKey key = null; Set set = new TreeSet(); for (int x =0;x < 256; x++) { char c = vt.ebcdic2uni(x); char ac = vt.getASCIIChar(x); if (!Character.isISOControl(ac)) { sb.setLength(0); if (Integer.toHexString(ac).length() == 1){ sb.append("0x0" + Integer.toHexString(ac).toUpperCase()); } else { sb.append("0x" + Integer.toHexString(ac).toUpperCase()); } sb.append(" - " + c); key = collator.getCollationKey(sb.toString()); set.add(key); } } Iterator iterator = set.iterator(); while (iterator.hasNext()) { CollationKey keyc = (CollationKey)iterator.next(); listModel.addElement(keyc.getSourceString()); } //Create the list and put it in a scroll pane JList hm = new JList(listModel); hm.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); hm.setSelectedIndex(0); JScrollPane listScrollPane = new JScrollPane(hm); listScrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS); listScrollPane.setSize(40,100); srp.add(listScrollPane,BorderLayout.CENTER); Object[] message = new Object[1]; message[0] = srp; String[] options = {LangTool.getString("hm.optInsert"), LangTool.getString("hm.optCancel")}; int result = 0; result = JOptionPane.showOptionDialog( me.frame, // the parent that the dialog blocks message, // the dialog message array LangTool.getString("hm.title"), // the title of the dialog window JOptionPane.DEFAULT_OPTION, // option type JOptionPane.INFORMATION_MESSAGE, // message type null, // optional icon, use null to use the default icon options, // options string array, will be made into buttons// options[0] // option that should be made into a default button ); switch(result) { case 0: // Insert character String k = ""; k += ((String)hm.getSelectedValue()).charAt(7); screen.sendKeys(k); break; case 1: // Cancel// System.out.println("Cancel"); break; default: break; } }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 2405, 7037, 863, 1435, 288, 1377, 24048, 9133, 84, 273, 394, 24048, 5621, 1377, 9133, 84, 18, 542, 3744, 12, 2704, 30814, 10663, 1377, 2989, 682, 1488, 666, 1488, 273, 394, 298...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 2405, 7037, 863, 1435, 288, 1377, 24048, 9133, 84, 273, 394, 24048, 5621, 1377, 9133, 84, 18, 542, 3744, 12, 2704, 30814, 10663, 1377, 2989, 682, 1488, 666, 1488, 273, 394, 298...
installDefaults((JTree) c);
public void installUI(JComponent c) { super.installUI(c); installDefaults((JTree) c); tree = (JTree) c; currentCellRenderer = createDefaultCellRenderer(); rendererPane = createCellRendererPane(); createdRenderer = true; setCellEditor(createDefaultCellEditor()); createdCellEditor = true; isEditing = false; TreeModel mod = tree.getModel(); setModel(mod); tree.setRootVisible(true); if (mod != null) tree.expandPath(new TreePath(mod.getRoot())); treeSelectionModel = tree.getSelectionModel(); installKeyboardActions(); installListeners(); completeUIInstall(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3799, 5370, 12, 46, 1841, 276, 13, 202, 95, 202, 202, 9565, 18, 5425, 5370, 12, 71, 1769, 202, 202, 5425, 7019, 12443, 46, 2471, 13, 276, 1769, 202, 202, 3413, 273, 261...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3799, 5370, 12, 46, 1841, 276, 13, 202, 95, 202, 202, 9565, 18, 5425, 5370, 12, 71, 1769, 202, 202, 5425, 7019, 12443, 46, 2471, 13, 276, 1769, 202, 202, 3413, 273, 261...
public int getSize () {
public int getSize() {
public int getSize (){ return size;}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Font.java/buggy/core/src/classpath/java/java/awt/Font.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 9950, 1832, 95, 565, 327, 963, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 9950, 1832, 95, 565, 327, 963, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
{
{
public int getScrollableUnitIncrement(Rectangle visible, int orientation, int direction) { // We return 1/10 of the visible area as documented in Sun's API docs. if (orientation == SwingConstants.HORIZONTAL) return visible.width / 10; else if (orientation == SwingConstants.VERTICAL) return visible.height / 10; else throw new IllegalArgumentException("orientation must be either " + "javax.swing.SwingConstants.VERTICAL " + "or " + "javax.swing.SwingConstants.HORIZONTAL" ); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 11971, 30453, 2802, 10798, 12, 19463, 6021, 16, 509, 9820, 16, 4766, 3639, 509, 4068, 13, 565, 288, 565, 368, 1660, 327, 404, 19, 2163, 434, 326, 6021, 5091, 487, 23051, 316, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 11971, 30453, 2802, 10798, 12, 19463, 6021, 16, 509, 9820, 16, 4766, 3639, 509, 4068, 13, 565, 288, 565, 368, 1660, 327, 404, 19, 2163, 434, 326, 6021, 5091, 487, 23051, 316, ...
protected void reindex()
private void reindex()
protected void reindex() { Element[] lines; try { String str = content.getString(0, content.length()); ArrayList elts = new ArrayList(); int j = 0; for (int i = str.indexOf('\n', 0); i != -1; i = str.indexOf('\n', i + 1)) { elts.add(createLeafElement(rootElement, SimpleAttributeSet.EMPTY, j, i + 1)); j = i + 1; } if (j < content.length()) elts.add(createLeafElement(rootElement, SimpleAttributeSet.EMPTY, j, content.length())); lines = new Element[elts.size()]; for (int i = 0; i < elts.size(); ++i) lines[i] = (Element) elts.get(i); } catch (BadLocationException e) { lines = new Element[1]; lines[0] = createLeafElement(rootElement, SimpleAttributeSet.EMPTY, 0, 1); } ((BranchElement) rootElement).replace(0, rootElement.getElementCount(), lines); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/PlainDocument.java/buggy/core/src/classpath/javax/javax/swing/text/PlainDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 17492, 1435, 225, 288, 565, 3010, 8526, 2362, 31, 565, 775, 4202, 288, 3639, 514, 609, 273, 913, 18, 588, 780, 12, 20, 16, 913, 18, 2469, 10663, 3639, 2407, 415, 3428, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 17492, 1435, 225, 288, 565, 3010, 8526, 2362, 31, 565, 775, 4202, 288, 3639, 514, 609, 273, 913, 18, 588, 780, 12, 20, 16, 913, 18, 2469, 10663, 3639, 2407, 415, 3428, 273, ...
Object node = pathForRow.getLastPathComponent(); return tree.getModel().isLeaf(node); }
Object node = pathForRow.getLastPathComponent(); return treeModel.isLeaf(node); }
protected boolean isLeaf(int row) { TreePath pathForRow = getPathForRow(tree, row); if (pathForRow == null) return true; Object node = pathForRow.getLastPathComponent(); return tree.getModel().isLeaf(node); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 31356, 12, 474, 1027, 13, 202, 95, 1377, 4902, 743, 589, 1290, 1999, 273, 4339, 1290, 1999, 12, 3413, 16, 1027, 1769, 1377, 309, 261, 803, 1290, 1999, 422, 446, 13, 540...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 31356, 12, 474, 1027, 13, 202, 95, 1377, 4902, 743, 589, 1290, 1999, 273, 4339, 1290, 1999, 12, 3413, 16, 1027, 1769, 1377, 309, 261, 803, 1290, 1999, 422, 446, 13, 540...
{ }
{ }
protected void startTimer() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 918, 787, 6777, 1435, 202, 202, 95, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 918, 787, 6777, 1435, 202, 202, 95, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
public final static boolean isMacrosExist() { return macrosExist; }
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/69e4ad8b79244d7a9ead6ae9be5f21d5cf302742/Macronizer.java/buggy/tn5250j/src/org/tn5250j/tools/Macronizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6385, 3845, 6494, 291, 9990, 6973, 4786, 1435, 95, 2463, 5821, 6973, 4786, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6385, 3845, 6494, 291, 9990, 6973, 4786, 1435, 95, 2463, 5821, 6973, 4786, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
{
{
public String getUIClassID() { return "TextComponentUI"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 336, 5370, 797, 734, 1435, 565, 288, 565, 327, 315, 1528, 1841, 5370, 14432, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 336, 5370, 797, 734, 1435, 565, 288, 565, 327, 315, 1528, 1841, 5370, 14432, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
{
{
public void setFloatingColor(Color c) { floatingColor = c; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicToolBarUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicToolBarUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 28344, 2957, 12, 2957, 276, 13, 565, 288, 565, 13861, 2957, 273, 276, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 28344, 2957, 12, 2957, 276, 13, 565, 288, 565, 13861, 2957, 273, 276, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
}
}
public void treeNodesRemoved(TreeModelEvent e) { tree.repaint(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 2151, 3205, 10026, 12, 2471, 1488, 1133, 425, 13, 225, 288, 1377, 2151, 18, 14462, 1598, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 2151, 3205, 10026, 12, 2471, 1488, 1133, 425, 13, 225, 288, 1377, 2151, 18, 14462, 1598, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
attribHash.put("lessThanValue", new XMLAttribute(null, Constants.STRING_OR_NUMBER_TYPE)); attribHash.put("lessThanOrEqualValue", new XMLAttribute(null, Constants.STRING_OR_NUMBER_TYPE)); attribHash.put("greaterThanValue", new XMLAttribute(null, Constants.STRING_OR_NUMBER_TYPE)); attribHash.put("greaterThanOrEqualValue", new XMLAttribute(null, Constants.STRING_OR_NUMBER_TYPE)); attribHash.put("infiniteValue", new XMLAttribute(null, Constants.STRING_OR_NUMBER_TYPE)); attribHash.put("infiniteNegativeValue", new XMLAttribute(null, Constants.STRING_OR_NUMBER_TYPE)); attribHash.put("noDataValue", new XMLAttribute(null, Constants.STRING_OR_NUMBER_TYPE));
private void init() { classXDFNodeName = "dataFormat"; // order matters! these are in *reverse* order of their // occurence in the XDF DTD //the order of the attributes that all sub-classses should have attribOrder.add(0,"noDataValue"); attribOrder.add(0,"infiniteNegativeValue"); attribOrder.add(0,"infiniteValue"); attribOrder.add(0,"greaterThanOrEqualValue"); attribOrder.add(0,"greaterThanValue"); attribOrder.add(0,"lessThanOrEqualValue"); attribOrder.add(0,"lessThanValue"); }
4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/1a27c3c51765ad204d3e82f07b219db5a193dc0f/DataFormat.java/buggy/src/gov/nasa/gsfc/adc/xdf/DataFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5885, 2310, 18, 458, 2932, 2656, 9516, 620, 3113, 394, 3167, 1499, 12, 2011, 16, 5245, 18, 5804, 67, 916, 67, 9931, 67, 2399, 10019, 5885, 2310, 18, 458, 2932, 2656, 9516, 22376, 620, 3113, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5885, 2310, 18, 458, 2932, 2656, 9516, 620, 3113, 394, 3167, 1499, 12, 2011, 16, 5245, 18, 5804, 67, 916, 67, 9931, 67, 2399, 10019, 5885, 2310, 18, 458, 2932, 2656, 9516, 22376, 620, 3113, ...
protected Object childValue(Object parentValue) {
protected Object childValue(Object parentValue) {
protected Object childValue(Object parentValue) { return parentValue; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/InheritableThreadLocal.java/clean/core/src/classpath/java/java/lang/InheritableThreadLocal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1033, 1151, 620, 12, 921, 982, 620, 13, 288, 202, 202, 2463, 982, 620, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1033, 1151, 620, 12, 921, 982, 620, 13, 288, 202, 202, 2463, 982, 620, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
End of preview. Expand in Data Studio

Dataset Card for "java-encoded-small"

More Information needed

Downloads last month
7