rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
updateStatus(null);
|
updateStatus(IStatus.OK, "");
|
private boolean validateFolderName() { String name = folderNameField.getText(); IWorkspace workspace = container.getWorkspace(); IStatus nameStatus = workspace.validateName(name, IResource.FOLDER); if ("".equals(name)) { updateStatus(IStatus.ERROR, WorkbenchMessages.getString("NewFolderDialog.folderNameEmpty")); //$NON-NLS-1$ return false; } if (nameStatus.isOK() == false) { updateStatus(nameStatus); return false; } IFolder newFolder = container.getFolder(new Path(name)); if (newFolder.exists()) { updateStatus(IStatus.ERROR, WorkbenchMessages.format("NewFolderDialog.alreadyExists", new Object[] { name })); //$NON-NLS-1$ return false; } updateStatus(null); return true;}
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/cdf08439f3977fe372c1e2a6cd6e9b934bd6c831/NewFolderDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/NewFolderDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
1250,
1954,
26169,
1435,
288,
202,
780,
508,
273,
31814,
974,
18,
588,
1528,
5621,
202,
45,
8241,
6003,
273,
1478,
18,
588,
8241,
5621,
202,
45,
1482,
508,
1482,
273,
6003,
18,
5662,
461,
12,
529,
16,
467,
1420,
18,
17357,
1769,
202,
430,
261,
3660,
18,
14963,
12,
529,
3719,
288,
202,
202,
2725,
1482,
12,
45,
1482,
18,
3589,
16,
4147,
22144,
5058,
18,
588,
780,
2932,
1908,
3899,
6353,
18,
5609,
461,
1921,
7923,
1769,
202,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
2463,
629,
31,
202,
97,
202,
430,
261,
529,
1482,
18,
291,
3141,
1435,
422,
629,
13,
288,
202,
202,
2725,
1482,
12,
529,
1482,
1769,
202,
202,
2463,
629,
31,
202,
97,
202,
45,
3899,
394,
3899,
273,
1478,
18,
588,
3899,
12,
2704,
2666,
12,
529,
10019,
202,
430,
261,
2704,
3899,
18,
1808,
10756,
288,
202,
202,
2725,
1482,
12,
45,
1482,
18,
3589,
16,
4147,
22144,
5058,
18,
2139,
2932,
1908,
3899,
6353,
18,
17583,
4002,
3113,
394,
1033,
8526,
288,
508,
289,
10019,
202,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
2463,
629,
31,
202,
97,
202,
2725,
1482,
12,
2011,
1769,
202,
2463,
638,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
1250,
1954,
26169,
1435,
288,
202,
780,
508,
273,
31814,
974,
18,
588,
1528,
5621,
202,
45,
8241,
6003,
273,
1478,
18,
588,
8241,
5621,
202,
45,
1482,
508,
1482,
273,
6003,
18,
5662,
461,
12,
529,
16,
467,
1420,
18,
17357,
1769,
202,
430,
261,
3660,
18,
14963,
12,
529,
3719,
288,
202,
202,
2725,
1482,
12,
45,
1482,
18,
3589,
16,
4147,
22144,
5058,
18,
588,
780,
2932,
1908,
3899,
6353,
18,
5609,
461,
1921,
7923,
1769,
202,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
2463,
629,
31,
202,
97,
202,
430,
261,
529,
1482,
18,
291,
3141,
1435,
422,
629,
13,
288,
202,
202,
2725,
1482,
12,
529,
1482,
1769,
202,
202,
2
] |
JComboBox zGroup = new JComboBox(choices); JComboBox tGroup = new JComboBox(choices); tGroup.setSelectedIndex(1); JComboBox cGroup = new JComboBox(choices); cGroup.setSelectedIndex(2);
|
zGroup = new JComboBox(choices); setBox(zGroup,0); tGroup = new JComboBox(choices); setBox(tGroup,1); cGroup = new JComboBox(choices); setBox(cGroup,2);
|
public OptionsWindow(int numZ, int numT, CustomWindow c) { super("LOCI Data Browser - Options"); setBackground(Color.gray); cw = c; manager = cw.db.manager; FileStitcher fs = cw.db.fStitch; update = false; Border etchB = BorderFactory.createEtchedBorder(EtchedBorder.LOWERED); // get FilePattern Data String id = null,order = null,suffix = null; String[] prefixes = null,blocks = null; int sizeZ = -1,sizeT = -1,sizeC = -1; int[] axes = null; FilePattern fp = null; try { id = cw.db.id; order = fs.getDimensionOrder(id); sizeZ = fs.getSizeZ(id); sizeT = fs.getSizeT(id); sizeC = fs.getSizeC(id); axes = fs.getAxisTypes(id); fp = fs.getFilePattern(id); prefixes = fp.getPrefixes(); blocks = fp.getBlocks(); suffix = fp.getSuffix(); } catch(Exception exc) {exc.printStackTrace();} // add Display Pane JPanel disPane = new JPanel(); TitledBorder disB = BorderFactory.createTitledBorder(etchB, "Custom Axes"); disPane.setBorder(disB); JLabel sliceLab = new JLabel("\u00B7" + "Slice-Groups in File" + "\u00B7"); JLabel zLab = new JLabel(sizeZ + " slice(s):"); JLabel tLab = new JLabel(sizeT + " slice(s):"); JLabel cLab = new JLabel(sizeC + " slice(s):"); JLabel blockLab = new JLabel("\u00B7" + "Blocks in Filenames" + "\u00B7"); JLabel fileLab = new JLabel("Filename:"); Vector blockLabelsV = new Vector(); for(int i = 0;i<blocks.length;i++) { JLabel temp = new JLabel("Block " + blocks[i] + ":"); blockLabelsV.add(temp); } Object[] blockLabelsO = blockLabelsV.toArray(); JLabel[] blockLabels = new JLabel[blockLabelsO.length]; for(int i = 0;i<blockLabelsO.length;i++) { blockLabels[i] = (JLabel) blockLabelsO[i]; } Object[] choices = {"Z-Depth", "Time", "Channel"}; JComboBox zGroup = new JComboBox(choices); JComboBox tGroup = new JComboBox(choices); tGroup.setSelectedIndex(1); JComboBox cGroup = new JComboBox(choices); cGroup.setSelectedIndex(2); zGroup.addActionListener(this); tGroup.addActionListener(this); cGroup.addActionListener(this); Vector blockBoxesV = new Vector(); for(int i = 0;i<blocks.length;i++) { JComboBox temp = new JComboBox(choices); if (axes[i] == AxisGuesser.Z_AXIS) temp.setSelectedIndex(0); else if (axes[i] == AxisGuesser.T_AXIS) temp.setSelectedIndex(1); else temp.setSelectedIndex(2); temp.setActionCommand("Block1"); temp.addActionListener(this); blockBoxesV.add(temp); } Object[] blockBoxesO = blockBoxesV.toArray(); JComboBox[] blockBoxes = new JComboBox[blockBoxesO.length]; for(int i = 0;i<blockBoxesO.length;i++) { JComboBox temp = (JComboBox) blockBoxesO[i]; temp.setForeground(getColor(i)); blockBoxes[i] = temp; } JPanel slicePanel = new JPanel(); slicePanel.add(sliceLab); slicePanel.setBackground(Color.darkGray); sliceLab.setForeground(Color.lightGray); JPanel blockPanel = new JPanel(); blockPanel.add(blockLab); blockPanel.setBackground(Color.darkGray); blockLab.setForeground(Color.lightGray); JPanel filePane = new JPanel(new FlowLayout()); for(int i = 0;i<prefixes.length;i++) { JLabel prefLab = new JLabel(prefixes[i]); JLabel blokLab = new JLabel(blocks[i]); blokLab.setForeground(getColor(i)); filePane.add(prefLab); filePane.add(blokLab); } JLabel sufLab = new JLabel(suffix); filePane.add(sufLab); String rowString = "pref," + TAB + ",pref,pref,pref," + TAB + ",pref,pref"; for(int i = 0; i<blockLabels.length;i++) { rowString += ",pref"; } FormLayout layout = new FormLayout( TAB + ",pref," + TAB + ",pref:grow," + TAB, rowString); disPane.setLayout(layout); CellConstraints cc = new CellConstraints(); disPane.add(slicePanel,cc.xyw(1,1,5)); disPane.add(zLab,cc.xy(2,3)); disPane.add(zGroup,cc.xy(4,3)); disPane.add(tLab,cc.xy(2,4)); disPane.add(tGroup,cc.xy(4,4)); disPane.add(cLab,cc.xy(2,5)); disPane.add(cGroup,cc.xy(4,5)); disPane.add(blockPanel,cc.xyw(1,7,5)); disPane.add(fileLab,cc.xy(2,8)); disPane.add(filePane,cc.xy(4,8)); for(int i = 0;i<blockLabels.length;i++) { disPane.add(blockLabels[i], cc.xy(2,9+i)); disPane.add(blockBoxes[i], cc.xy(4,9+i)); } //set up animation options pane JPanel aniPane = new JPanel(); TitledBorder aniB = BorderFactory.createTitledBorder( etchB, "Animation Options"); aniPane.setBorder(aniB); JLabel fpsLab = new JLabel("Frames per second:"); SpinnerNumberModel model = new SpinnerNumberModel(10, 1, 99, 1); fps = new JSpinner(model); fps.addChangeListener(this); FormLayout layout2 = new FormLayout( TAB + ",pref," + TAB + ",pref:grow," + TAB, "pref"); aniPane.setLayout(layout2); CellConstraints cc2 = new CellConstraints(); aniPane.add(fpsLab,cc2.xy(2,1)); aniPane.add(fps,cc2.xy(4,1)); JPanel cachePane = new JPanel(); TitledBorder cacheB = BorderFactory.createTitledBorder( etchB, "CacheManager Options"); cachePane.setBorder(cacheB); JLabel typeL = new JLabel("\u00B7" + "Cache Type" + "\u00B7"); JLabel axesL = new JLabel("Axes to Cache:"); JLabel modeL = new JLabel("Cache Mode:"); JLabel stratL = new JLabel("Loading Strategy:"); JLabel sizeL = new JLabel("\u00B7" + "Slices to Store" + "\u00B7"); JLabel forL = new JLabel("Forward"); JLabel backL = new JLabel("Backward"); JLabel zL = new JLabel("Z:"); JLabel tL = new JLabel("T:"); JLabel cL = new JLabel("C:"); JLabel priorL = new JLabel("\u00B7" + "Axis Priority" + "\u00B7"); JLabel topL = new JLabel("Top Priority:"); JLabel midL = new JLabel("Mid Priority:"); JLabel lowL = new JLabel("Low Priority:"); JPanel typePanel = new JPanel(); typePanel.add(typeL); typePanel.setBackground(Color.darkGray); typeL.setForeground(Color.lightGray); JPanel sizePanel = new JPanel(); sizePanel.add(sizeL); sizePanel.setBackground(Color.darkGray); sizeL.setForeground(Color.lightGray); JPanel priorPanel = new JPanel(); priorPanel.add(priorL); priorPanel.setBackground(Color.darkGray); priorL.setForeground(Color.lightGray); zCheck = new JCheckBox("Z"); tCheck = new JCheckBox("T"); tCheck.setSelected(true); cCheck = new JCheckBox("C"); JPanel checkPanel = new JPanel(new GridLayout(1,3)); checkPanel.add(zCheck); checkPanel.add(tCheck); checkPanel.add(cCheck); zCheck.addItemListener(this); tCheck.addItemListener(this); cCheck.addItemListener(this); String[] modes = {"Crosshair", "Rectangle", "Cross/Rect"}; modeBox = new JComboBox(modes); String[] strats = {"Forward","Surround"}; stratBox = new JComboBox(strats); String[] boxAxes = {"Z","T","C"}; topBox = new JComboBox(boxAxes); midBox = new JComboBox(boxAxes); lowBox = new JComboBox(boxAxes); topBox.setSelectedIndex(1); midBox.setSelectedIndex(0); lowBox.setSelectedIndex(2); modeBox.addActionListener(this); stratBox.addActionListener(this); topBox.addActionListener(this); midBox.addActionListener(this); lowBox.addActionListener(this); SpinnerNumberModel zFMod = new SpinnerNumberModel(0,0,9999,1); zFSpin = new JSpinner(zFMod); SpinnerNumberModel zBMod = new SpinnerNumberModel(0,0,9999,1); zBSpin = new JSpinner(zBMod); SpinnerNumberModel tFMod = new SpinnerNumberModel(20,0,9999,1); tFSpin = new JSpinner(tFMod); SpinnerNumberModel tBMod = new SpinnerNumberModel(0,0,9999,1); tBSpin = new JSpinner(tBMod); SpinnerNumberModel cFMod = new SpinnerNumberModel(0,0,9999,1); cFSpin = new JSpinner(cFMod); SpinnerNumberModel cBMod = new SpinnerNumberModel(0,0,9999,1); cBSpin = new JSpinner(cBMod); zFSpin.addChangeListener(this); zBSpin.addChangeListener(this); tFSpin.addChangeListener(this); tBSpin.addChangeListener(this); cFSpin.addChangeListener(this); cBSpin.addChangeListener(this); resetBtn = new JButton("Reset CacheManager to Default"); resetBtn.addActionListener(this); FormLayout layout3 = new FormLayout( TAB + ",pref," + TAB + ",pref:grow," + TAB + ",pref:grow," + TAB, "pref,pref,pref,pref," + TAB + ",pref,pref,pref,pref,pref," + TAB + ",pref," + TAB + ",pref,pref,pref," + TAB + ",pref"); cachePane.setLayout(layout3); CellConstraints cc3 = new CellConstraints(); cachePane.add(typePanel,cc3.xyw(1,1,7)); cachePane.add(axesL,cc3.xyw(2,2,3)); cachePane.add(checkPanel,cc3.xy(6,2)); cachePane.add(modeL,cc3.xyw(2,3,3)); cachePane.add(modeBox,cc3.xy(6,3)); cachePane.add(stratL,cc3.xyw(2,4,3)); cachePane.add(stratBox,cc3.xy(6,4)); cachePane.add(sizePanel,cc3.xyw(1,6,7)); cachePane.add(forL,cc3.xy(4,7)); cachePane.add(backL,cc3.xy(6,7)); cachePane.add(zL,cc3.xy(2,8)); cachePane.add(zFSpin,cc3.xy(4,8)); cachePane.add(zBSpin,cc3.xy(6,8)); cachePane.add(tL,cc3.xy(2,9)); cachePane.add(tFSpin,cc3.xy(4,9)); cachePane.add(tBSpin,cc3.xy(6,9)); cachePane.add(cL,cc3.xy(2,10)); cachePane.add(cFSpin,cc3.xy(4,10)); cachePane.add(cBSpin,cc3.xy(6,10)); cachePane.add(priorPanel,cc3.xyw(1,12,7)); cachePane.add(topL,cc3.xyw(2,14,3)); cachePane.add(topBox,cc3.xy(6,14)); cachePane.add(midL,cc3.xyw(2,15,3)); cachePane.add(midBox,cc3.xy(6,15)); cachePane.add(lowL,cc3.xyw(2,16,3)); cachePane.add(lowBox,cc3.xy(6,16)); cachePane.add(resetBtn,cc3.xyw(2,18,5,"right,center")); if(!cw.db.virtual) enableCache(false); //configure/layout content pane FormLayout lastLayout = new FormLayout( "pref:grow", "pref,pref,pref"); setLayout(lastLayout); CellConstraints ccs = new CellConstraints(); add(aniPane,ccs.xy(1,1)); add(cachePane,ccs.xy(1,2)); add(disPane,ccs.xy(1,3)); oldTop = topBox.getSelectedIndex(); oldMid = midBox.getSelectedIndex(); oldLow = lowBox.getSelectedIndex(); //useful frame method that handles closing of window setDefaultCloseOperation(HIDE_ON_CLOSE); //put frame in the right place, with the right size, and make visible setLocation(100, 100);// ((JComponent) getContentPane()).setPreferredSize(new Dimension(300,500)); pack(); setVisible(true); update = true; }
|
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/f9b1d673ac7096425b738aed5786e97061d67b50/OptionsWindow.java/buggy/loci/plugins/browser/OptionsWindow.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5087,
3829,
12,
474,
818,
62,
16,
509,
818,
56,
16,
6082,
3829,
276,
13,
288,
565,
2240,
2932,
1502,
7266,
1910,
15408,
300,
5087,
8863,
565,
31217,
12,
2957,
18,
22440,
1769,
565,
14098,
273,
276,
31,
565,
3301,
273,
14098,
18,
1966,
18,
4181,
31,
3639,
1387,
510,
1437,
264,
2662,
273,
14098,
18,
1966,
18,
74,
510,
1437,
31,
565,
1089,
273,
629,
31,
565,
13525,
225,
1593,
38,
273,
13525,
1733,
18,
2640,
41,
88,
2049,
8107,
12,
41,
88,
2049,
8107,
18,
23085,
2056,
1769,
3639,
368,
336,
1387,
3234,
1910,
1377,
514,
612,
273,
446,
16,
1019,
273,
446,
16,
8477,
273,
446,
31,
1377,
514,
8526,
9419,
273,
446,
16,
7996,
273,
446,
31,
1377,
509,
963,
62,
273,
300,
21,
16,
1467,
56,
273,
300,
21,
16,
1467,
39,
273,
300,
21,
31,
1377,
509,
8526,
6515,
273,
446,
31,
1377,
1387,
3234,
4253,
273,
446,
31,
565,
775,
288,
1377,
612,
273,
14098,
18,
1966,
18,
350,
31,
1377,
1353,
273,
2662,
18,
588,
8611,
2448,
12,
350,
1769,
1377,
963,
62,
273,
2662,
18,
588,
1225,
62,
12,
350,
1769,
1377,
963,
56,
273,
2662,
18,
588,
1225,
56,
12,
350,
1769,
1377,
963,
39,
273,
2662,
18,
588,
1225,
39,
12,
350,
1769,
1377,
6515,
273,
2662,
18,
588,
6558,
2016,
12,
350,
1769,
1377,
4253,
273,
2662,
18,
29925,
3234,
12,
350,
1769,
1377,
9419,
273,
4253,
18,
588,
11700,
5621,
1377,
4398,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5087,
3829,
12,
474,
818,
62,
16,
509,
818,
56,
16,
6082,
3829,
276,
13,
288,
565,
2240,
2932,
1502,
7266,
1910,
15408,
300,
5087,
8863,
565,
31217,
12,
2957,
18,
22440,
1769,
565,
14098,
273,
276,
31,
565,
3301,
273,
14098,
18,
1966,
18,
4181,
31,
3639,
1387,
510,
1437,
264,
2662,
273,
14098,
18,
1966,
18,
74,
510,
1437,
31,
565,
1089,
273,
629,
31,
565,
13525,
225,
1593,
38,
273,
13525,
1733,
18,
2640,
41,
88,
2049,
8107,
12,
41,
88,
2049,
8107,
18,
23085,
2056,
1769,
3639,
368,
336,
1387,
3234,
1910,
1377,
514,
612,
273,
446,
16,
1019,
273,
446,
16,
8477,
273,
446,
31,
1377,
514,
8526,
9419,
273,
446,
16,
2
] |
super.connect(); setUpTransportIO(wrapConnection(socket));
|
if (usingProxy() && !makingSSLTunnel) { makingSSLTunnel = true; super.connect(); String save_meth = method; method = "CONNECT"; try { doRequest(); endRequest(); } finally { method = save_meth; } if (!connected) { throw new IOException(Messages.getString("luni.01", responseMessage, responseCode)); } InputStream is = socket.getInputStream(); while (is.available() != 0) { is.read(); } makingSSLTunnel = false; } else { super.connect(); } if (!makingSSLTunnel) { setUpTransportIO(wrapConnection(socket)); }
|
public void connect() throws IOException { if (connected) { return; } super.connect(); // TODO make SSL Tunnel in case of using the proxy setUpTransportIO(wrapConnection(socket)); }
|
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/a9a96644066f8919a0dfcbf9d535825432d225fc/HttpsURLConnection.java/buggy/modules/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/https/HttpsURLConnection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3077,
1435,
1216,
1860,
288,
5411,
309,
261,
8537,
13,
288,
7734,
327,
31,
5411,
289,
5411,
2240,
18,
3612,
5621,
5411,
368,
2660,
1221,
7419,
399,
8564,
316,
648,
434,
1450,
326,
2889,
5411,
24292,
6568,
4294,
12,
4113,
1952,
12,
7814,
10019,
3639,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
540,
1071,
918,
3077,
1435,
1216,
1860,
288,
5411,
309,
261,
8537,
13,
288,
7734,
327,
31,
5411,
289,
5411,
2240,
18,
3612,
5621,
5411,
368,
2660,
1221,
7419,
399,
8564,
316,
648,
434,
1450,
326,
2889,
5411,
24292,
6568,
4294,
12,
4113,
1952,
12,
7814,
10019,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
QuizClientServices client = answer.getSender();
|
private int checkAnswers(QuizQuestion question) { int correctAnswers=0; Vector answers = this.servant.getAnswers(); Console.println("Current question: " + question.getId(), Console.MSG_DEBUG); Console.println("Correct answer: #"+question.getCorrectAnswer(), Console.MSG_DEBUG); Console.println("There are "+answers.size()+" answers to be checked", Console.MSG_DEBUG); // Iterating over the available answers for(int i=0; i<answers.size(); i++) { QuizAnswer answer = (QuizAnswer) answers.elementAt(i); String nick=null; try { if(answer.getSender()!=null) nick = answer.getSender().getNickname(); } catch (RemoteException e) { System.err.println(e.getMessage()); e.printStackTrace(); } // Just to be sure that the current answer is related to the current question (SimpleClient) if(answer.getQuestionId()!=question.getId()) { Console.println("Answer from client "+ nick +" is not related to the current question", Console.MSG_NORMAL); continue; } Console.println(nick+" answered: #"+answer.getAnswer(), Console.MSG_DEBUG); // Check if the answer is correct if(answer.getAnswer() == question.getCorrectAnswer()) { QuizClientServices client = answer.getSender(); try { // Updating client's score client.updateScore(question.getPoints()); SystemMessage sysMsg = new SystemMessage(); sysMsg.setOpCode(SystemMessage.RIGHT_ANSWER); sysMsg.setBody("Your answer was right. " + question.getPoints() + " points!"); client.display(sysMsg); } catch(RemoteException e) { System.err.println(e.getMessage()); e.printStackTrace(); } Console.println("Correct answer from " +nick+". "+question.getPoints()+" points added.", Console.MSG_DEBUG); correctAnswers+=1; } } if(correctAnswers == 0) { Console.println("No correct answer", Console.MSG_DEBUG); } // Reset the servant's answer vector this.servant.clearAnswers(); return correctAnswers; }
|
12246 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12246/217bca0b012d3e68156c1411f94c5df12108bfbe/Quiz.java/buggy/quizmaster/server/Quiz.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
866,
19543,
12,
928,
452,
11665,
5073,
13,
202,
95,
202,
202,
474,
3434,
19543,
33,
20,
31,
202,
202,
5018,
12415,
273,
333,
18,
550,
7445,
18,
588,
19543,
5621,
9506,
202,
10215,
18,
8222,
2932,
3935,
5073,
30,
315,
397,
5073,
18,
26321,
9334,
9657,
18,
11210,
67,
9394,
1769,
202,
202,
10215,
18,
8222,
2932,
16147,
5803,
30,
31526,
15,
4173,
18,
588,
16147,
13203,
9334,
9657,
18,
11210,
67,
9394,
1769,
202,
202,
10215,
18,
8222,
2932,
9828,
854,
13773,
22340,
18,
1467,
1435,
9078,
12415,
358,
506,
5950,
3113,
9657,
18,
11210,
67,
9394,
1769,
9506,
202,
759,
3016,
1776,
1879,
326,
2319,
12415,
202,
202,
1884,
12,
474,
277,
33,
20,
31,
277,
32,
22340,
18,
1467,
5621,
277,
27245,
202,
202,
95,
1082,
202,
928,
452,
13203,
5803,
273,
261,
928,
452,
13203,
13,
12415,
18,
2956,
861,
12,
77,
1769,
25083,
202,
780,
10909,
33,
2011,
31,
25083,
202,
698,
288,
9506,
202,
430,
12,
13490,
18,
588,
12021,
1435,
5,
33,
2011,
13,
10909,
273,
5803,
18,
588,
12021,
7675,
588,
29756,
529,
5621,
1082,
202,
97,
1044,
261,
5169,
503,
425,
13,
1082,
202,
95,
9506,
202,
3163,
18,
370,
18,
8222,
12,
73,
18,
24906,
10663,
9506,
202,
73,
18,
1188,
6332,
5621,
1082,
202,
97,
25083,
202,
759,
12526,
358,
506,
3071,
716,
326,
783,
5803,
353,
3746,
358,
326,
783,
5073,
261,
5784,
1227,
13,
1082,
202,
430,
12,
13490,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1152,
509,
866,
19543,
12,
928,
452,
11665,
5073,
13,
202,
95,
202,
202,
474,
3434,
19543,
33,
20,
31,
202,
202,
5018,
12415,
273,
333,
18,
550,
7445,
18,
588,
19543,
5621,
9506,
202,
10215,
18,
8222,
2932,
3935,
5073,
30,
315,
397,
5073,
18,
26321,
9334,
9657,
18,
11210,
67,
9394,
1769,
202,
202,
10215,
18,
8222,
2932,
16147,
5803,
30,
31526,
15,
4173,
18,
588,
16147,
13203,
9334,
9657,
18,
11210,
67,
9394,
1769,
202,
202,
10215,
18,
8222,
2932,
9828,
854,
13773,
22340,
18,
1467,
1435,
9078,
12415,
358,
506,
5950,
3113,
9657,
18,
11210,
67,
9394,
1769,
9506,
202,
759,
3016,
1776,
1879,
326,
2319,
12415,
202,
202,
1884,
12,
474,
277,
2
] |
|
getSiteRoot(folder + newFolderName + C_FOLDER_SEPERATOR), new Hashtable());
|
getSiteRoot(folder + newFolderName + C_FOLDER_SEPARATOR), new Hashtable());
|
protected CmsFolder doCreateFolder(String folder, String newFolderName) throws CmsException { CmsFolder cmsFolder = m_rb.createFolder(m_context.currentUser(), m_context.currentGroup(), m_context.currentProject(), getSiteRoot(folder + newFolderName + C_FOLDER_SEPERATOR), new Hashtable()); return cmsFolder;}
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/d62681890400b4d3c5254ce708f96cd496e3c135/CmsObject.java/clean/src/com/opencms/file/CmsObject.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
2149,
3899,
741,
1684,
3899,
12,
780,
3009,
16,
514,
394,
26169,
13,
1216,
11228,
288,
565,
2149,
3899,
6166,
3899,
273,
312,
67,
6731,
18,
2640,
3899,
12,
81,
67,
2472,
18,
2972,
1299,
9334,
312,
67,
2472,
18,
2972,
1114,
9334,
312,
67,
2472,
18,
2972,
4109,
9334,
4766,
5411,
11021,
2375,
12,
5609,
397,
394,
26169,
397,
385,
67,
17357,
67,
4550,
3631,
394,
18559,
10663,
565,
327,
6166,
3899,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4750,
2149,
3899,
741,
1684,
3899,
12,
780,
3009,
16,
514,
394,
26169,
13,
1216,
11228,
288,
565,
2149,
3899,
6166,
3899,
273,
312,
67,
6731,
18,
2640,
3899,
12,
81,
67,
2472,
18,
2972,
1299,
9334,
312,
67,
2472,
18,
2972,
1114,
9334,
312,
67,
2472,
18,
2972,
4109,
9334,
4766,
5411,
11021,
2375,
12,
5609,
397,
394,
26169,
397,
385,
67,
17357,
67,
4550,
3631,
394,
18559,
10663,
565,
327,
6166,
3899,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
grammarDescription = new SchemaGrammarDescription(); grammarDescription.setContextType(referType); grammarDescription.setTargetNamespace(currSchemaInfo.fTargetNamespace); grammarDescription.setLocationHints(new String[] {locationHint}); sg = (SchemaGrammar)fGrammarPool.retrieveGrammar(grammarDescription); if (sg != null) { fGrammarBucket.putGrammar(sg); } } } if (sg == null) { grammarDescription = new SchemaGrammarDescription(); grammarDescription.setContextType(referType); grammarDescription.setTargetNamespace(currSchemaInfo.fTargetNamespace);
|
grammarDescription = new SchemaGrammarDescription(); grammarDescription.setContextType(referType); grammarDescription.setTargetNamespace(currSchemaInfo.fTargetNamespace); grammarDescription.setLocationHints(new String[] {locationHint}); sg = (SchemaGrammar)fGrammarPool.retrieveGrammar(grammarDescription); if (sg != null) { fGrammarBucket.putGrammar(sg); } } } if (sg == null) { grammarDescription = new SchemaGrammarDescription(); grammarDescription.setContextType(referType); grammarDescription.setTargetNamespace(currSchemaInfo.fTargetNamespace);
|
protected XSDocumentInfo constructTrees(Document schemaRoot, String locationHint, String callerTNS, short referType) { if (schemaRoot == null) return null; XSDocumentInfo currSchemaInfo = null; try { currSchemaInfo = new XSDocumentInfo(schemaRoot, fAttributeChecker, fSymbolTable); } catch (XMLSchemaException se) { reportSchemaError(ELE_ERROR_CODES[referType], new Object[]{locationHint}, DOMUtil.getRoot(schemaRoot)); return null; } // targetNamespace="" is not valid, issue a warning, and ignore it if (currSchemaInfo.fTargetNamespace != null && currSchemaInfo.fTargetNamespace.length() == 0) { reportSchemaWarning("EmptyTargetNamespace", new Object[]{locationHint}, DOMUtil.getRoot(schemaRoot)); currSchemaInfo.fTargetNamespace = null; } if (callerTNS != null) { // the second index to the NS_ERROR_CODES array // if the caller/expected NS is not absent, we use the first column int secondIdx = 0; // for include and redefine if (referType == XSDDescription.CONTEXT_INCLUDE || referType == XSDDescription.CONTEXT_REDEFINE) { // if the referred document has no targetNamespace, // it's a chameleon schema if (currSchemaInfo.fTargetNamespace == null) { currSchemaInfo.fTargetNamespace = callerTNS; currSchemaInfo.fIsChameleonSchema = true; } // if the referred document has a target namespace differing // from the caller, it's an error else if (callerTNS != currSchemaInfo.fTargetNamespace) { reportSchemaError(NS_ERROR_CODES[referType][secondIdx], new Object [] {callerTNS, currSchemaInfo.fTargetNamespace}, DOMUtil.getRoot(schemaRoot)); } } // for preparse, callerTNS is null, so it's not possible // for instance and import, the two NS's must be the same else if (callerTNS != currSchemaInfo.fTargetNamespace) { reportSchemaError(NS_ERROR_CODES[referType][secondIdx], new Object [] {callerTNS, currSchemaInfo.fTargetNamespace}, DOMUtil.getRoot(schemaRoot)); } } // now there is no caller/expected NS, it's an error for the referred // document to have a target namespace, unless we are preparsing a schema else if (currSchemaInfo.fTargetNamespace != null && referType != XSDDescription.CONTEXT_PREPARSE) { // the second index to the NS_ERROR_CODES array // if the caller/expected NS is absent, we use the second column int secondIdx = 1; reportSchemaError(NS_ERROR_CODES[referType][secondIdx], new Object [] {callerTNS, currSchemaInfo.fTargetNamespace}, DOMUtil.getRoot(schemaRoot)); } // the other cases (callerTNS == currSchemaInfo.fTargetNamespce == null) // are valid // a schema document can always access it's own target namespace currSchemaInfo.addAllowedNS(currSchemaInfo.fTargetNamespace); SchemaGrammar sg = null; SchemaGrammarDescription grammarDescription = null; // In the case of preparse, if the grammar is not available in the bucket we ask the pool // If the context is instance, the validator would have already consulted the pool if ((sg = fGrammarBucket.getGrammar(currSchemaInfo.fTargetNamespace)) == null && referType == XSDDescription.CONTEXT_PREPARSE) { if (fGrammarPool != null) { grammarDescription = new SchemaGrammarDescription(); grammarDescription.setContextType(referType); grammarDescription.setTargetNamespace(currSchemaInfo.fTargetNamespace); grammarDescription.setLocationHints(new String[] {locationHint}); sg = (SchemaGrammar)fGrammarPool.retrieveGrammar(grammarDescription); if (sg != null) { fGrammarBucket.putGrammar(sg); } } } if (sg == null) { grammarDescription = new SchemaGrammarDescription(); grammarDescription.setContextType(referType); grammarDescription.setTargetNamespace(currSchemaInfo.fTargetNamespace); grammarDescription.setLocationHints(new String[] {locationHint}); sg = new SchemaGrammar(fSymbolTable, currSchemaInfo.fTargetNamespace, grammarDescription); fGrammarBucket.putGrammar(sg); } // we got a grammar of the same namespace in the bucket, should ignore this one else if (referType == XSDDescription.CONTEXT_PREPARSE) { return null; } fDoc2XSDocumentMap.put(schemaRoot, currSchemaInfo); Vector dependencies = new Vector(); Element rootNode = DOMUtil.getRoot(schemaRoot); Document newSchemaRoot = null; for (Element child = DOMUtil.getFirstChildElement(rootNode); child != null; child = DOMUtil.getNextSiblingElement(child)) { String schemaNamespace=null; String schemaHint=null; String localName = DOMUtil.getLocalName(child); short refType = -1; if (localName.equals(SchemaSymbols.ELT_ANNOTATION)) continue; else if (localName.equals(SchemaSymbols.ELT_IMPORT)) { refType = XSDDescription.CONTEXT_IMPORT; // have to handle some validation here too! // call XSAttributeChecker to fill in attrs Object[] includeAttrs = fAttributeChecker.checkAttributes(child, true, currSchemaInfo); schemaHint = (String)includeAttrs[XSAttributeChecker.ATTIDX_SCHEMALOCATION]; schemaNamespace = (String)includeAttrs[XSAttributeChecker.ATTIDX_NAMESPACE]; if (schemaNamespace != null) schemaNamespace = fSymbolTable.addSymbol(schemaNamespace); if (schemaNamespace == currSchemaInfo.fTargetNamespace) { reportSchemaError("src-import.1.1", new Object [] {schemaNamespace}, child); } fAttributeChecker.returnAttrArray(includeAttrs, currSchemaInfo); // a schema document can access it's imported namespaces currSchemaInfo.addAllowedNS(schemaNamespace); // We first ask the GrammarBucket, then the GrammarPool and only then the EntityResolver is consulted if (fGrammarBucket.getGrammar(schemaNamespace) != null) { continue; } else { if (fGrammarPool != null) { fSchemaGrammarDescription.reset(); fSchemaGrammarDescription.setTargetNamespace(schemaNamespace); sg = (SchemaGrammar)fGrammarPool.retrieveGrammar(fSchemaGrammarDescription); if (sg != null) { fGrammarBucket.putGrammar(sg); continue; } } } grammarDescription = new SchemaGrammarDescription(); grammarDescription.setTargetNamespace(schemaNamespace); grammarDescription.setLocationHints(new String[] {schemaHint}); sg = new SchemaGrammar(fSymbolTable, schemaNamespace, grammarDescription); fGrammarBucket.putGrammar(sg); newSchemaRoot = getSchema(schemaNamespace, schemaHint, (String)fDoc2SystemId.get(schemaRoot), false, XSDDescription.CONTEXT_IMPORT, child); } else if ((localName.equals(SchemaSymbols.ELT_INCLUDE)) || (localName.equals(SchemaSymbols.ELT_REDEFINE))) { // validation for redefine/include will be the same here; just // make sure TNS is right (don't care about redef contents // yet). Object[] includeAttrs = fAttributeChecker.checkAttributes(child, true, currSchemaInfo); schemaHint = (String)includeAttrs[XSAttributeChecker.ATTIDX_SCHEMALOCATION]; fAttributeChecker.returnAttrArray(includeAttrs, currSchemaInfo); // schemaLocation is required on <include> and <redefine> if (schemaHint == null) reportSchemaError("s4s-att-must-appear", new Object [] { "<include> or <redefine>", "schemaLocation"}, child); // pass the systemId of the current document as the base systemId boolean mustResolve = false; refType = XSDDescription.CONTEXT_INCLUDE; if(localName.equals(SchemaSymbols.ELT_REDEFINE)) { mustResolve = nonAnnotationContent(child); refType = XSDDescription.CONTEXT_REDEFINE; } newSchemaRoot = getSchema(null, schemaHint, (String)fDoc2SystemId.get(schemaRoot), mustResolve, refType, child); schemaNamespace = currSchemaInfo.fTargetNamespace; } else { // no more possibility of schema references in well-formed // schema... break; } // If the schema is duplicate, we needn't call constructTrees() again. // To handle mutual <include>s // REVISIT: this creates a bug if the same document is both // imported and included. then only the first one takes // effect. XSDocumentInfo newSchemaInfo = null; if (fLastSchemaWasDuplicate) { newSchemaInfo = (XSDocumentInfo)fDoc2XSDocumentMap.get(newSchemaRoot); } else { newSchemaInfo = constructTrees(newSchemaRoot, schemaHint, schemaNamespace, refType); } if (localName.equals(SchemaSymbols.ELT_REDEFINE) && newSchemaInfo != null) { // must record which schema we're redefining so that we can // rename the right things later! fRedefine2XSDMap.put(child, newSchemaInfo); } if (newSchemaRoot != null) { if (newSchemaInfo != null) dependencies.addElement(newSchemaInfo); newSchemaRoot = null; } } fDependencyMap.put(currSchemaInfo, dependencies); return currSchemaInfo; } // end constructTrees
|
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/c8d855e0480e81ef42e6e1a8b97353e1aaf8a167/XSDHandler.java/buggy/src/org/apache/xerces/impl/xs/traversers/XSDHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1139,
55,
2519,
966,
4872,
26590,
12,
2519,
1963,
2375,
16,
514,
2117,
7002,
16,
514,
4894,
56,
3156,
16,
3025,
8884,
559,
13,
288,
3639,
309,
261,
4821,
2375,
422,
446,
13,
327,
446,
31,
3639,
1139,
55,
2519,
966,
4306,
3078,
966,
273,
446,
31,
3639,
775,
288,
5411,
4306,
3078,
966,
273,
394,
1139,
55,
2519,
966,
12,
4821,
2375,
16,
284,
1499,
8847,
16,
284,
5335,
1388,
1769,
3639,
289,
1044,
261,
4201,
3078,
503,
695,
13,
288,
5411,
2605,
3078,
668,
12,
41,
900,
67,
3589,
67,
17070,
63,
266,
586,
559,
6487,
17311,
394,
1033,
63,
7073,
3562,
7002,
5779,
17311,
4703,
1304,
18,
588,
2375,
12,
4821,
2375,
10019,
5411,
327,
446,
31,
3639,
289,
3639,
368,
1018,
3402,
1546,
6,
353,
486,
923,
16,
5672,
279,
3436,
16,
471,
2305,
518,
3639,
309,
261,
17016,
3078,
966,
18,
74,
2326,
3402,
480,
446,
597,
5411,
4306,
3078,
966,
18,
74,
2326,
3402,
18,
2469,
1435,
422,
374,
13,
288,
5411,
2605,
3078,
6210,
2932,
1921,
2326,
3402,
3113,
27573,
394,
1033,
63,
7073,
3562,
7002,
5779,
27573,
4703,
1304,
18,
588,
2375,
12,
4821,
2375,
10019,
5411,
4306,
3078,
966,
18,
74,
2326,
3402,
273,
446,
31,
3639,
289,
3639,
309,
261,
16140,
56,
3156,
480,
446,
13,
288,
5411,
368,
326,
2205,
770,
358,
326,
11472,
67,
3589,
67,
17070,
526,
5411,
368,
309,
326,
4894,
19,
3825,
11472,
353,
486,
17245,
16,
732,
999,
326,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4750,
1139,
55,
2519,
966,
4872,
26590,
12,
2519,
1963,
2375,
16,
514,
2117,
7002,
16,
514,
4894,
56,
3156,
16,
3025,
8884,
559,
13,
288,
3639,
309,
261,
4821,
2375,
422,
446,
13,
327,
446,
31,
3639,
1139,
55,
2519,
966,
4306,
3078,
966,
273,
446,
31,
3639,
775,
288,
5411,
4306,
3078,
966,
273,
394,
1139,
55,
2519,
966,
12,
4821,
2375,
16,
284,
1499,
8847,
16,
284,
5335,
1388,
1769,
3639,
289,
1044,
261,
4201,
3078,
503,
695,
13,
288,
5411,
2605,
3078,
668,
12,
41,
900,
67,
3589,
67,
17070,
63,
266,
586,
559,
6487,
17311,
394,
1033,
63,
7073,
3562,
7002,
5779,
17311,
4703,
1304,
18,
588,
2375,
12,
4821,
2375,
10019,
5411,
2
] |
cx.currentActivationScope = call.parentActivationScope;
|
public static void exitActivationFunction(Context cx) { if (cx.currentActivationDepth == 0) throw new IllegalStateException(); if (cx.currentActivationScope == null) throw new IllegalStateException(); if (cx.currentActivationCall != cx.currentActivationScope) throw new IllegalStateException(); NativeCall call = cx.currentActivationCall; cx.currentActivationCall = call.parentActivationCall; cx.currentActivationScope = call.parentActivationScope; call.parentActivationCall = null; call.parentActivationScope = null; decreaseActivationDepth(cx); }
|
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/5f71fe6973a37b77b4615a721450340c063c12ab/ScriptRuntime.java/buggy/js/rhino/src/org/mozilla/javascript/ScriptRuntime.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2427,
14857,
2083,
12,
1042,
9494,
13,
565,
288,
3639,
309,
261,
71,
92,
18,
2972,
14857,
6148,
422,
374,
13,
5411,
604,
394,
5477,
5621,
3639,
309,
261,
71,
92,
18,
2972,
14857,
3876,
422,
446,
13,
5411,
604,
394,
5477,
5621,
3639,
309,
261,
71,
92,
18,
2972,
14857,
1477,
480,
9494,
18,
2972,
14857,
3876,
13,
5411,
604,
394,
5477,
5621,
3639,
16717,
1477,
745,
273,
9494,
18,
2972,
14857,
1477,
31,
3639,
9494,
18,
2972,
14857,
1477,
273,
745,
18,
2938,
14857,
1477,
31,
2868,
745,
18,
2938,
14857,
1477,
273,
446,
31,
3639,
745,
18,
2938,
14857,
3876,
273,
446,
31,
3639,
20467,
14857,
6148,
12,
71,
92,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
760,
918,
2427,
14857,
2083,
12,
1042,
9494,
13,
565,
288,
3639,
309,
261,
71,
92,
18,
2972,
14857,
6148,
422,
374,
13,
5411,
604,
394,
5477,
5621,
3639,
309,
261,
71,
92,
18,
2972,
14857,
3876,
422,
446,
13,
5411,
604,
394,
5477,
5621,
3639,
309,
261,
71,
92,
18,
2972,
14857,
1477,
480,
9494,
18,
2972,
14857,
3876,
13,
5411,
604,
394,
5477,
5621,
3639,
16717,
1477,
745,
273,
9494,
18,
2972,
14857,
1477,
31,
3639,
9494,
18,
2972,
14857,
1477,
273,
745,
18,
2938,
14857,
1477,
31,
2868,
745,
18,
2938,
14857,
1477,
273,
446,
31,
3639,
745,
18,
2938,
14857,
3876,
273,
446,
31,
3639,
20467,
14857,
6148,
12,
71,
92,
1769,
565,
2
] |
|
_t = __t1419;
|
_t = __t1424;
|
public final void argfunc(AST _t) throws RecognitionException { AST argfunc_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AACBIT: { AST __t1396 = _t; AST tmp344_AST_in = (AST)_t; match(_t,AACBIT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1396; _t = _t.getNextSibling(); break; } case AAMSG: { AST __t1397 = _t; AST tmp345_AST_in = (AST)_t; match(_t,AAMSG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1397; _t = _t.getNextSibling(); break; } case ABSOLUTE: { AST __t1398 = _t; AST tmp346_AST_in = (AST)_t; match(_t,ABSOLUTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1398; _t = _t.getNextSibling(); break; } case ALIAS: { AST __t1399 = _t; AST tmp347_AST_in = (AST)_t; match(_t,ALIAS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1399; _t = _t.getNextSibling(); break; } case ASC: { AST __t1400 = _t; AST tmp348_AST_in = (AST)_t; match(_t,ASC); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1400; _t = _t.getNextSibling(); break; } case BASE64DECODE: { AST __t1401 = _t; AST tmp349_AST_in = (AST)_t; match(_t,BASE64DECODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1401; _t = _t.getNextSibling(); break; } case BASE64ENCODE: { AST __t1402 = _t; AST tmp350_AST_in = (AST)_t; match(_t,BASE64ENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1402; _t = _t.getNextSibling(); break; } case CANDO: { AST __t1403 = _t; AST tmp351_AST_in = (AST)_t; match(_t,CANDO); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1403; _t = _t.getNextSibling(); break; } case CANQUERY: { AST __t1404 = _t; AST tmp352_AST_in = (AST)_t; match(_t,CANQUERY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1404; _t = _t.getNextSibling(); break; } case CANSET: { AST __t1405 = _t; AST tmp353_AST_in = (AST)_t; match(_t,CANSET); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1405; _t = _t.getNextSibling(); break; } case CAPS: { AST __t1406 = _t; AST tmp354_AST_in = (AST)_t; match(_t,CAPS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1406; _t = _t.getNextSibling(); break; } case CHR: { AST __t1407 = _t; AST tmp355_AST_in = (AST)_t; match(_t,CHR); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1407; _t = _t.getNextSibling(); break; } case CODEPAGECONVERT: { AST __t1408 = _t; AST tmp356_AST_in = (AST)_t; match(_t,CODEPAGECONVERT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1408; _t = _t.getNextSibling(); break; } case COLLATE: { AST __t1409 = _t; AST tmp357_AST_in = (AST)_t; match(_t,COLLATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1409; _t = _t.getNextSibling(); break; } case COMPARE: { AST __t1410 = _t; AST tmp358_AST_in = (AST)_t; match(_t,COMPARE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1410; _t = _t.getNextSibling(); break; } case CONNECTED: { AST __t1411 = _t; AST tmp359_AST_in = (AST)_t; match(_t,CONNECTED); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1411; _t = _t.getNextSibling(); break; } case COUNTOF: { AST __t1412 = _t; AST tmp360_AST_in = (AST)_t; match(_t,COUNTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1412; _t = _t.getNextSibling(); break; } case CURRENTRESULTROW: { AST __t1413 = _t; AST tmp361_AST_in = (AST)_t; match(_t,CURRENTRESULTROW); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1413; _t = _t.getNextSibling(); break; } case DATE: { AST __t1414 = _t; AST tmp362_AST_in = (AST)_t; match(_t,DATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1414; _t = _t.getNextSibling(); break; } case DATETIME: { AST __t1415 = _t; AST tmp363_AST_in = (AST)_t; match(_t,DATETIME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1415; _t = _t.getNextSibling(); break; } case DATETIMETZ: { AST __t1416 = _t; AST tmp364_AST_in = (AST)_t; match(_t,DATETIMETZ); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1416; _t = _t.getNextSibling(); break; } case DAY: { AST __t1417 = _t; AST tmp365_AST_in = (AST)_t; match(_t,DAY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1417; _t = _t.getNextSibling(); break; } case DBCODEPAGE: { AST __t1418 = _t; AST tmp366_AST_in = (AST)_t; match(_t,DBCODEPAGE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1418; _t = _t.getNextSibling(); break; } case DBCOLLATION: { AST __t1419 = _t; AST tmp367_AST_in = (AST)_t; match(_t,DBCOLLATION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1419; _t = _t.getNextSibling(); break; } case DBPARAM: { AST __t1420 = _t; AST tmp368_AST_in = (AST)_t; match(_t,DBPARAM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1420; _t = _t.getNextSibling(); break; } case DBRESTRICTIONS: { AST __t1421 = _t; AST tmp369_AST_in = (AST)_t; match(_t,DBRESTRICTIONS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1421; _t = _t.getNextSibling(); break; } case DBTASKID: { AST __t1422 = _t; AST tmp370_AST_in = (AST)_t; match(_t,DBTASKID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1422; _t = _t.getNextSibling(); break; } case DBTYPE: { AST __t1423 = _t; AST tmp371_AST_in = (AST)_t; match(_t,DBTYPE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1423; _t = _t.getNextSibling(); break; } case DBVERSION: { AST __t1424 = _t; AST tmp372_AST_in = (AST)_t; match(_t,DBVERSION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1424; _t = _t.getNextSibling(); break; } case DECIMAL: { AST __t1425 = _t; AST tmp373_AST_in = (AST)_t; match(_t,DECIMAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1425; _t = _t.getNextSibling(); break; } case DECRYPT: { AST __t1426 = _t; AST tmp374_AST_in = (AST)_t; match(_t,DECRYPT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1426; _t = _t.getNextSibling(); break; } case DYNAMICNEXTVALUE: { AST __t1427 = _t; AST tmp375_AST_in = (AST)_t; match(_t,DYNAMICNEXTVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1427; _t = _t.getNextSibling(); break; } case ENCODE: { AST __t1428 = _t; AST tmp376_AST_in = (AST)_t; match(_t,ENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1428; _t = _t.getNextSibling(); break; } case ENCRYPT: { AST __t1429 = _t; AST tmp377_AST_in = (AST)_t; match(_t,ENCRYPT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1429; _t = _t.getNextSibling(); break; } case EXP: { AST __t1430 = _t; AST tmp378_AST_in = (AST)_t; match(_t,EXP); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1430; _t = _t.getNextSibling(); break; } case FILL: { AST __t1431 = _t; AST tmp379_AST_in = (AST)_t; match(_t,FILL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1431; _t = _t.getNextSibling(); break; } case FIRST: { AST __t1432 = _t; AST tmp380_AST_in = (AST)_t; match(_t,FIRST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1432; _t = _t.getNextSibling(); break; } case FIRSTOF: { AST __t1433 = _t; AST tmp381_AST_in = (AST)_t; match(_t,FIRSTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1433; _t = _t.getNextSibling(); break; } case GENERATEPBEKEY: { AST __t1434 = _t; AST tmp382_AST_in = (AST)_t; match(_t,GENERATEPBEKEY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1434; _t = _t.getNextSibling(); break; } case GETBITS: { AST __t1435 = _t; AST tmp383_AST_in = (AST)_t; match(_t,GETBITS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1435; _t = _t.getNextSibling(); break; } case GETBYTE: { AST __t1436 = _t; AST tmp384_AST_in = (AST)_t; match(_t,GETBYTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1436; _t = _t.getNextSibling(); break; } case GETBYTEORDER: { AST __t1437 = _t; AST tmp385_AST_in = (AST)_t; match(_t,GETBYTEORDER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1437; _t = _t.getNextSibling(); break; } case GETBYTES: { AST __t1438 = _t; AST tmp386_AST_in = (AST)_t; match(_t,GETBYTES); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1438; _t = _t.getNextSibling(); break; } case GETCOLLATIONS: { AST __t1439 = _t; AST tmp387_AST_in = (AST)_t; match(_t,GETCOLLATIONS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1439; _t = _t.getNextSibling(); break; } case GETDOUBLE: { AST __t1440 = _t; AST tmp388_AST_in = (AST)_t; match(_t,GETDOUBLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1440; _t = _t.getNextSibling(); break; } case GETFLOAT: { AST __t1441 = _t; AST tmp389_AST_in = (AST)_t; match(_t,GETFLOAT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1441; _t = _t.getNextSibling(); break; } case GETLICENSE: { AST __t1442 = _t; AST tmp390_AST_in = (AST)_t; match(_t,GETLICENSE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1442; _t = _t.getNextSibling(); break; } case GETLONG: { AST __t1443 = _t; AST tmp391_AST_in = (AST)_t; match(_t,GETLONG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1443; _t = _t.getNextSibling(); break; } case GETPOINTERVALUE: { AST __t1444 = _t; AST tmp392_AST_in = (AST)_t; match(_t,GETPOINTERVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1444; _t = _t.getNextSibling(); break; } case GETSHORT: { AST __t1445 = _t; AST tmp393_AST_in = (AST)_t; match(_t,GETSHORT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1445; _t = _t.getNextSibling(); break; } case GETSIZE: { AST __t1446 = _t; AST tmp394_AST_in = (AST)_t; match(_t,GETSIZE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1446; _t = _t.getNextSibling(); break; } case GETSTRING: { AST __t1447 = _t; AST tmp395_AST_in = (AST)_t; match(_t,GETSTRING); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1447; _t = _t.getNextSibling(); break; } case GETUNSIGNEDSHORT: { AST __t1448 = _t; AST tmp396_AST_in = (AST)_t; match(_t,GETUNSIGNEDSHORT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1448; _t = _t.getNextSibling(); break; } case HEXDECODE: { AST __t1449 = _t; AST tmp397_AST_in = (AST)_t; match(_t,HEXDECODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1449; _t = _t.getNextSibling(); break; } case HEXENCODE: { AST __t1450 = _t; AST tmp398_AST_in = (AST)_t; match(_t,HEXENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1450; _t = _t.getNextSibling(); break; } case INDEX: { AST __t1451 = _t; AST tmp399_AST_in = (AST)_t; match(_t,INDEX); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1451; _t = _t.getNextSibling(); break; } case INTEGER: { AST __t1452 = _t; AST tmp400_AST_in = (AST)_t; match(_t,INTEGER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1452; _t = _t.getNextSibling(); break; } case INTERVAL: { AST __t1453 = _t; AST tmp401_AST_in = (AST)_t; match(_t,INTERVAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1453; _t = _t.getNextSibling(); break; } case ISCODEPAGEFIXED: { AST __t1454 = _t; AST tmp402_AST_in = (AST)_t; match(_t,ISCODEPAGEFIXED); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1454; _t = _t.getNextSibling(); break; } case ISCOLUMNCODEPAGE: { AST __t1455 = _t; AST tmp403_AST_in = (AST)_t; match(_t,ISCOLUMNCODEPAGE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1455; _t = _t.getNextSibling(); break; } case ISLEADBYTE: { AST __t1456 = _t; AST tmp404_AST_in = (AST)_t; match(_t,ISLEADBYTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1456; _t = _t.getNextSibling(); break; } case ISODATE: { AST __t1457 = _t; AST tmp405_AST_in = (AST)_t; match(_t,ISODATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1457; _t = _t.getNextSibling(); break; } case KBLABEL: { AST __t1458 = _t; AST tmp406_AST_in = (AST)_t; match(_t,KBLABEL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1458; _t = _t.getNextSibling(); break; } case KEYCODE: { AST __t1459 = _t; AST tmp407_AST_in = (AST)_t; match(_t,KEYCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1459; _t = _t.getNextSibling(); break; } case KEYFUNCTION: { AST __t1460 = _t; AST tmp408_AST_in = (AST)_t; match(_t,KEYFUNCTION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1460; _t = _t.getNextSibling(); break; } case KEYLABEL: { AST __t1461 = _t; AST tmp409_AST_in = (AST)_t; match(_t,KEYLABEL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1461; _t = _t.getNextSibling(); break; } case KEYWORD: { AST __t1462 = _t; AST tmp410_AST_in = (AST)_t; match(_t,KEYWORD); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1462; _t = _t.getNextSibling(); break; } case KEYWORDALL: { AST __t1463 = _t; AST tmp411_AST_in = (AST)_t; match(_t,KEYWORDALL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1463; _t = _t.getNextSibling(); break; } case LAST: { AST __t1464 = _t; AST tmp412_AST_in = (AST)_t; match(_t,LAST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1464; _t = _t.getNextSibling(); break; } case LASTOF: { AST __t1465 = _t; AST tmp413_AST_in = (AST)_t; match(_t,LASTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1465; _t = _t.getNextSibling(); break; } case LC: { AST __t1466 = _t; AST tmp414_AST_in = (AST)_t; match(_t,LC); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1466; _t = _t.getNextSibling(); break; } case LEFTTRIM: { AST __t1467 = _t; AST tmp415_AST_in = (AST)_t; match(_t,LEFTTRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1467; _t = _t.getNextSibling(); break; } case LIBRARY: { AST __t1468 = _t; AST tmp416_AST_in = (AST)_t; match(_t,LIBRARY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1468; _t = _t.getNextSibling(); break; } case LISTEVENTS: { AST __t1469 = _t; AST tmp417_AST_in = (AST)_t; match(_t,LISTEVENTS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1469; _t = _t.getNextSibling(); break; } case LISTQUERYATTRS: { AST __t1470 = _t; AST tmp418_AST_in = (AST)_t; match(_t,LISTQUERYATTRS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1470; _t = _t.getNextSibling(); break; } case LISTSETATTRS: { AST __t1471 = _t; AST tmp419_AST_in = (AST)_t; match(_t,LISTSETATTRS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1471; _t = _t.getNextSibling(); break; } case LISTWIDGETS: { AST __t1472 = _t; AST tmp420_AST_in = (AST)_t; match(_t,LISTWIDGETS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1472; _t = _t.getNextSibling(); break; } case LOADPICTURE: { AST __t1473 = _t; AST tmp421_AST_in = (AST)_t; match(_t,LOADPICTURE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1473; _t = _t.getNextSibling(); break; } case LOG: { AST __t1474 = _t; AST tmp422_AST_in = (AST)_t; match(_t,LOG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1474; _t = _t.getNextSibling(); break; } case LOGICAL: { AST __t1475 = _t; AST tmp423_AST_in = (AST)_t; match(_t,LOGICAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1475; _t = _t.getNextSibling(); break; } case LOOKUP: { AST __t1476 = _t; AST tmp424_AST_in = (AST)_t; match(_t,LOOKUP); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1476; _t = _t.getNextSibling(); break; } case MAXIMUM: { AST __t1477 = _t; AST tmp425_AST_in = (AST)_t; match(_t,MAXIMUM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1477; _t = _t.getNextSibling(); break; } case MD5DIGEST: { AST __t1478 = _t; AST tmp426_AST_in = (AST)_t; match(_t,MD5DIGEST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1478; _t = _t.getNextSibling(); break; } case MEMBER: { AST __t1479 = _t; AST tmp427_AST_in = (AST)_t; match(_t,MEMBER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1479; _t = _t.getNextSibling(); break; } case MINIMUM: { AST __t1480 = _t; AST tmp428_AST_in = (AST)_t; match(_t,MINIMUM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1480; _t = _t.getNextSibling(); break; } case MONTH: { AST __t1481 = _t; AST tmp429_AST_in = (AST)_t; match(_t,MONTH); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1481; _t = _t.getNextSibling(); break; } case NORMALIZE: { AST __t1482 = _t; AST tmp430_AST_in = (AST)_t; match(_t,NORMALIZE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1482; _t = _t.getNextSibling(); break; } case NUMENTRIES: { AST __t1483 = _t; AST tmp431_AST_in = (AST)_t; match(_t,NUMENTRIES); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1483; _t = _t.getNextSibling(); break; } case NUMRESULTS: { AST __t1484 = _t; AST tmp432_AST_in = (AST)_t; match(_t,NUMRESULTS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1484; _t = _t.getNextSibling(); break; } case OSGETENV: { AST __t1485 = _t; AST tmp433_AST_in = (AST)_t; match(_t,OSGETENV); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1485; _t = _t.getNextSibling(); break; } case PDBNAME: { AST __t1486 = _t; AST tmp434_AST_in = (AST)_t; match(_t,PDBNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1486; _t = _t.getNextSibling(); break; } case PROGRAMNAME: { AST __t1487 = _t; AST tmp435_AST_in = (AST)_t; match(_t,PROGRAMNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1487; _t = _t.getNextSibling(); break; } case QUERYOFFEND: { AST __t1488 = _t; AST tmp436_AST_in = (AST)_t; match(_t,QUERYOFFEND); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1488; _t = _t.getNextSibling(); break; } case QUOTER: { AST __t1489 = _t; AST tmp437_AST_in = (AST)_t; match(_t,QUOTER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1489; _t = _t.getNextSibling(); break; } case RINDEX: { AST __t1490 = _t; AST tmp438_AST_in = (AST)_t; match(_t,RINDEX); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1490; _t = _t.getNextSibling(); break; } case RANDOM: { AST __t1491 = _t; AST tmp439_AST_in = (AST)_t; match(_t,RANDOM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1491; _t = _t.getNextSibling(); break; } case REPLACE: { AST __t1492 = _t; AST tmp440_AST_in = (AST)_t; match(_t,REPLACE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1492; _t = _t.getNextSibling(); break; } case RGBVALUE: { AST __t1493 = _t; AST tmp441_AST_in = (AST)_t; match(_t,RGBVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1493; _t = _t.getNextSibling(); break; } case RIGHTTRIM: { AST __t1494 = _t; AST tmp442_AST_in = (AST)_t; match(_t,RIGHTTRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1494; _t = _t.getNextSibling(); break; } case ROUND: { AST __t1495 = _t; AST tmp443_AST_in = (AST)_t; match(_t,ROUND); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1495; _t = _t.getNextSibling(); break; } case SDBNAME: { AST __t1496 = _t; AST tmp444_AST_in = (AST)_t; match(_t,SDBNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1496; _t = _t.getNextSibling(); break; } case SEARCH: { AST __t1497 = _t; AST tmp445_AST_in = (AST)_t; match(_t,SEARCH); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1497; _t = _t.getNextSibling(); break; } case SETDBCLIENT: { AST __t1498 = _t; AST tmp446_AST_in = (AST)_t; match(_t,SETDBCLIENT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1498; _t = _t.getNextSibling(); break; } case SETUSERID: { AST __t1499 = _t; AST tmp447_AST_in = (AST)_t; match(_t,SETUSERID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1499; _t = _t.getNextSibling(); break; } case SHA1DIGEST: { AST __t1500 = _t; AST tmp448_AST_in = (AST)_t; match(_t,SHA1DIGEST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1500; _t = _t.getNextSibling(); break; } case SQRT: { AST __t1501 = _t; AST tmp449_AST_in = (AST)_t; match(_t,SQRT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1501; _t = _t.getNextSibling(); break; } case SSLSERVERNAME: { AST __t1502 = _t; AST tmp450_AST_in = (AST)_t; match(_t,SSLSERVERNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1502; _t = _t.getNextSibling(); break; } case STRING: { AST __t1503 = _t; AST tmp451_AST_in = (AST)_t; match(_t,STRING); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1503; _t = _t.getNextSibling(); break; } case SUBSTITUTE: { AST __t1504 = _t; AST tmp452_AST_in = (AST)_t; match(_t,SUBSTITUTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1504; _t = _t.getNextSibling(); break; } case TOROWID: { AST __t1505 = _t; AST tmp453_AST_in = (AST)_t; match(_t,TOROWID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1505; _t = _t.getNextSibling(); break; } case TRIM: { AST __t1506 = _t; AST tmp454_AST_in = (AST)_t; match(_t,TRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1506; _t = _t.getNextSibling(); break; } case TRUNCATE: { AST __t1507 = _t; AST tmp455_AST_in = (AST)_t; match(_t,TRUNCATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1507; _t = _t.getNextSibling(); break; } case TYPEOF: { AST __t1508 = _t; AST tmp456_AST_in = (AST)_t; match(_t,TYPEOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1508; _t = _t.getNextSibling(); break; } case VALIDEVENT: { AST __t1509 = _t; AST tmp457_AST_in = (AST)_t; match(_t,VALIDEVENT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1509; _t = _t.getNextSibling(); break; } case VALIDHANDLE: { AST __t1510 = _t; AST tmp458_AST_in = (AST)_t; match(_t,VALIDHANDLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1510; _t = _t.getNextSibling(); break; } case VALIDOBJECT: { AST __t1511 = _t; AST tmp459_AST_in = (AST)_t; match(_t,VALIDOBJECT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1511; _t = _t.getNextSibling(); break; } case WEEKDAY: { AST __t1512 = _t; AST tmp460_AST_in = (AST)_t; match(_t,WEEKDAY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1512; _t = _t.getNextSibling(); break; } case WIDGETHANDLE: { AST __t1513 = _t; AST tmp461_AST_in = (AST)_t; match(_t,WIDGETHANDLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1513; _t = _t.getNextSibling(); break; } case YEAR: { AST __t1514 = _t; AST tmp462_AST_in = (AST)_t; match(_t,YEAR); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1514; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1501,
644,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1501,
644,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
432,
2226,
15650,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3437,
10525,
273,
389,
88,
31,
1082,
202,
9053,
1853,
5026,
24,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
37,
2226,
15650,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
12125,
1968,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
67,
88,
273,
1001,
88,
3437,
10525,
31,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
432,
2192,
30820,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3437,
10580,
273,
389,
88,
31,
1082,
202,
9053,
1853,
25574,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
37,
2192,
30820,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
12125,
1968,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
1501,
644,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1501,
644,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
432,
2226,
15650,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3437,
10525,
273,
389,
88,
31,
1082,
202,
9053,
1853,
5026,
24,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
37,
2226,
15650,
1769,
1082,
202,
67,
88,
2
] |
transform(graphics2d, orientation, xc, yc);
|
transform(graphics2d, orient, xc, yc);
|
private void drawString(Graphics2D graphics2d, String string, Point p, int alignment, double orientation) { int xc = p.x; int yc = p.y; AffineTransform transform = graphics2d.getTransform(); transform(graphics2d, orientation, xc, yc); FontMetrics fm = graphics2d.getFontMetrics(); double realTextWidth = fm.stringWidth(string); double realTextHeight = fm.getHeight() - fm.getDescent(); int offsetX = (int) (realTextWidth * (double) (alignment % 3) / 2.0); int offsetY = (int) (-realTextHeight * (double) (alignment / 3) / 2.0); if ((graphics2d != null) && (string != null)) { graphics2d.drawString(string, xc - offsetX, yc - offsetY); } graphics2d.setTransform(transform); }
|
51106 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51106/2998ad4a6ce2bb8d3c632a19d3c283ed3956d282/IdeaView.java/buggy/src/dg/hipster/view/IdeaView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3724,
780,
12,
17558,
22,
40,
17313,
22,
72,
16,
514,
533,
16,
4686,
293,
16,
509,
8710,
16,
5411,
1645,
9820,
13,
288,
7734,
509,
15192,
273,
293,
18,
92,
31,
3639,
509,
27495,
273,
293,
18,
93,
31,
7734,
23906,
558,
4059,
2510,
273,
17313,
22,
72,
18,
588,
4059,
5621,
7734,
2510,
12,
31586,
22,
72,
16,
7891,
16,
15192,
16,
27495,
1769,
7734,
10063,
5653,
10940,
273,
17313,
22,
72,
18,
588,
5711,
5653,
5621,
3639,
1645,
2863,
1528,
2384,
273,
10940,
18,
1080,
2384,
12,
1080,
1769,
3639,
1645,
2863,
1528,
2686,
273,
10940,
18,
588,
2686,
1435,
300,
10940,
18,
588,
4217,
319,
5621,
7734,
509,
27319,
273,
261,
474,
13,
261,
7688,
1528,
2384,
380,
261,
9056,
13,
261,
14409,
738,
890,
13,
342,
576,
18,
20,
1769,
3639,
509,
27650,
273,
261,
474,
13,
24927,
7688,
1528,
2686,
380,
261,
9056,
13,
261,
14409,
342,
890,
13,
342,
576,
18,
20,
1769,
7734,
309,
14015,
31586,
22,
72,
480,
446,
13,
597,
261,
1080,
480,
446,
3719,
288,
5411,
17313,
22,
72,
18,
9446,
780,
12,
1080,
16,
15192,
300,
27319,
16,
27495,
300,
27650,
1769,
3639,
289,
7734,
17313,
22,
72,
18,
542,
4059,
12,
6547,
1769,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
3238,
918,
3724,
780,
12,
17558,
22,
40,
17313,
22,
72,
16,
514,
533,
16,
4686,
293,
16,
509,
8710,
16,
5411,
1645,
9820,
13,
288,
7734,
509,
15192,
273,
293,
18,
92,
31,
3639,
509,
27495,
273,
293,
18,
93,
31,
7734,
23906,
558,
4059,
2510,
273,
17313,
22,
72,
18,
588,
4059,
5621,
7734,
2510,
12,
31586,
22,
72,
16,
7891,
16,
15192,
16,
27495,
1769,
7734,
10063,
5653,
10940,
273,
17313,
22,
72,
18,
588,
5711,
5653,
5621,
3639,
1645,
2863,
1528,
2384,
273,
10940,
18,
1080,
2384,
12,
1080,
1769,
3639,
1645,
2863,
1528,
2686,
273,
10940,
18,
588,
2686,
1435,
300,
10940,
18,
588,
4217,
319,
5621,
7734,
509,
27319,
273,
261,
474,
2
] |
ref1 =ref2; ref2 = ref1;
|
ref1 = ref2; ref2 = tmp;
|
final void checkForMissedSpills(Address ref1, Address ref2) { if (ref1.isZero()) { // Search from start of spill area ref1 = getFirstSpillLoc(); if (DEBUG) { VM.sysWrite("Updated, ref1: "); VM.sysWrite(ref1); VM.sysWrite("\n"); } } if (ref2.isZero()) { // Search up to end of spill area ref2 = getLastSpillLoc(); if (DEBUG) { VM.sysWrite("Updated, ref2: "); VM.sysWrite(ref2); VM.sysWrite("\n"); } } // since different archs will have the relative order of ref1, ref2 // differently, we normalize them by ensuring that ref1 < ref2; if (ref1.GT(ref2)) { Address tmp = ref1; ref1 =ref2; ref2 = ref1; } for (Address i = ref1.plus(BYTES_IN_ADDRESS); i.LT(ref2); i = i.plus(BYTES_IN_ADDRESS)) { Address ptr = i.loadAddress(); if (DEBUG) { VM.sysWrite(" Inspecting Spill: "); VM.sysWrite(i); VM.sysWrite(" with value ==>"); VM.sysWrite(ptr); VM.sysWrite("\n"); } if (MM_Interface.addressInVM(ptr)) { VM.sysWrite(" spill location:"); VM.sysWrite(i); VM.sysWrite(" contains a suspicious value ==>"); VM.sysWrite(ptr); VM.sysWrite("\n"); VM.sysWrite("FramePtr: "); VM.sysWrite(framePtr); VM.sysWrite("\tFirst Spill: "); VM.sysWrite(getFirstSpillLoc()); VM.sysWrite("\tLast Spill: "); VM.sysWrite(getLastSpillLoc()); VM.sysWrite("\n"); } } }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/08c7b3482a1501edd30549115cf9b4a92de0d352/VM_OptGenericGCMapIterator.java/clean/rvm/src/vm/compilers/optimizing/vmInterface/services/VM_OptGenericGCMapIterator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
918,
13855,
11729,
730,
3389,
737,
87,
12,
1887,
1278,
21,
16,
5267,
1278,
22,
13,
288,
565,
309,
261,
1734,
21,
18,
291,
7170,
10756,
288,
1377,
368,
5167,
628,
787,
434,
1694,
737,
5091,
1377,
1278,
21,
273,
7521,
3389,
737,
1333,
5621,
1377,
309,
261,
9394,
13,
288,
3639,
8251,
18,
9499,
3067,
2932,
7381,
16,
1278,
21,
30,
315,
1769,
3639,
8251,
18,
9499,
3067,
12,
1734,
21,
1769,
3639,
8251,
18,
9499,
3067,
31458,
82,
8863,
1377,
289,
565,
289,
377,
309,
261,
1734,
22,
18,
291,
7170,
10756,
288,
1377,
368,
5167,
731,
358,
679,
434,
1694,
737,
5091,
1377,
1278,
22,
273,
7595,
3389,
737,
1333,
5621,
1377,
309,
261,
9394,
13,
288,
3639,
8251,
18,
9499,
3067,
2932,
7381,
16,
1278,
22,
30,
315,
1769,
3639,
8251,
18,
9499,
3067,
12,
1734,
22,
1769,
3639,
8251,
18,
9499,
3067,
31458,
82,
8863,
1377,
289,
565,
289,
565,
368,
3241,
3775,
6637,
87,
903,
1240,
326,
3632,
1353,
434,
1278,
21,
16,
1278,
22,
565,
368,
23621,
16,
732,
3883,
2182,
635,
24831,
716,
1278,
21,
411,
1278,
22,
31,
377,
309,
261,
1734,
21,
18,
16506,
12,
1734,
22,
3719,
288,
1377,
5267,
1853,
273,
1278,
21,
31,
1377,
1278,
21,
273,
1734,
22,
31,
1377,
1278,
22,
273,
1278,
21,
31,
565,
289,
565,
364,
261,
1887,
277,
273,
1278,
21,
18,
10103,
12,
13718,
67,
706,
67,
15140,
1769,
277,
18,
12050,
12,
1734,
22,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
13855,
11729,
730,
3389,
737,
87,
12,
1887,
1278,
21,
16,
5267,
1278,
22,
13,
288,
565,
309,
261,
1734,
21,
18,
291,
7170,
10756,
288,
1377,
368,
5167,
628,
787,
434,
1694,
737,
5091,
1377,
1278,
21,
273,
7521,
3389,
737,
1333,
5621,
1377,
309,
261,
9394,
13,
288,
3639,
8251,
18,
9499,
3067,
2932,
7381,
16,
1278,
21,
30,
315,
1769,
3639,
8251,
18,
9499,
3067,
12,
1734,
21,
1769,
3639,
8251,
18,
9499,
3067,
31458,
82,
8863,
1377,
289,
565,
289,
377,
309,
261,
1734,
22,
18,
291,
7170,
10756,
288,
1377,
368,
5167,
731,
358,
679,
434,
1694,
737,
5091,
1377,
1278,
22,
273,
7595,
3389,
737,
1333,
5621,
1377,
309,
261,
2
] |
else { f = checkConstructor(name); } if (f != IdFunction.WAS_OVERWRITTEN) { return true; }
|
public boolean has(String name, Scriptable start) { if (prototypeFunctionPool != null) { IdFunction f; int id = mapNameToMethodId(name); if (id != 0) { f = prototypeFunctionPool[id]; } else { f = checkConstructor(name); } if (f != IdFunction.WAS_OVERWRITTEN) { return true; } } return super.has(name, start); }
|
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/IdScriptable.java/clean/js/rhino/src/org/mozilla/javascript/IdScriptable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
711,
12,
780,
508,
16,
22780,
787,
13,
288,
3639,
309,
261,
18541,
2083,
2864,
480,
446,
13,
288,
5411,
3124,
2083,
284,
31,
5411,
509,
612,
273,
852,
28455,
30793,
12,
529,
1769,
5411,
309,
261,
350,
480,
374,
13,
288,
1171,
284,
273,
4409,
2083,
2864,
63,
350,
15533,
5411,
289,
5411,
469,
288,
7734,
284,
273,
866,
6293,
12,
529,
1769,
5411,
289,
5411,
309,
261,
74,
480,
3124,
2083,
18,
21055,
67,
12959,
7181,
30972,
1157,
13,
288,
327,
638,
31,
289,
3639,
289,
3639,
327,
2240,
18,
5332,
12,
529,
16,
787,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1250,
711,
12,
780,
508,
16,
22780,
787,
13,
288,
3639,
309,
261,
18541,
2083,
2864,
480,
446,
13,
288,
5411,
3124,
2083,
284,
31,
5411,
509,
612,
273,
852,
28455,
30793,
12,
529,
1769,
5411,
309,
261,
350,
480,
374,
13,
288,
1171,
284,
273,
4409,
2083,
2864,
63,
350,
15533,
5411,
289,
5411,
469,
288,
7734,
284,
273,
866,
6293,
12,
529,
1769,
5411,
289,
5411,
309,
261,
74,
480,
3124,
2083,
18,
21055,
67,
12959,
7181,
30972,
1157,
13,
288,
327,
638,
31,
289,
3639,
289,
3639,
327,
2240,
18,
5332,
12,
529,
16,
787,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
paneFolder.getControl().getShell().removeShellListener(shellListener);
|
paneFolder.getControl().getShell().removeShellListener(shellListener);
|
public void dispose() { if (isDisposed()) { return; } // remove shell listener paneFolder.getControl().getShell().removeShellListener(shellListener); PresentationUtil.removeDragListener(paneFolder.getControl(), dragListener); PresentationUtil.removeDragListener(titleLabel, dragListener); systemMenuManager.dispose(); systemMenuManager.removeAll(); paneFolder.getControl().dispose(); paneFolder = null; titleLabel.dispose(); titleLabel = null; viewToolBar.dispose(); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/38085a8072ad4fd21bad0983f8bc31ac736c9f72/R21BasicStackPresentation.java/clean/bundles/org.eclipse.ui.presentations.r21/src/org/eclipse/ui/internal/presentations/R21BasicStackPresentation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
15825,
1435,
288,
3639,
309,
261,
291,
1669,
7423,
10756,
288,
5411,
327,
31,
3639,
289,
3639,
368,
1206,
5972,
2991,
3639,
13618,
3899,
18,
588,
3367,
7675,
588,
13220,
7675,
4479,
13220,
2223,
12,
10304,
2223,
1769,
3639,
25130,
367,
1304,
18,
4479,
11728,
2223,
12,
29009,
3899,
18,
588,
3367,
9334,
7734,
8823,
2223,
1769,
3639,
25130,
367,
1304,
18,
4479,
11728,
2223,
12,
2649,
2224,
16,
8823,
2223,
1769,
3639,
2619,
4599,
1318,
18,
2251,
4150,
5621,
3639,
2619,
4599,
1318,
18,
4479,
1595,
5621,
3639,
13618,
3899,
18,
588,
3367,
7675,
2251,
4150,
5621,
3639,
13618,
3899,
273,
446,
31,
3639,
2077,
2224,
18,
2251,
4150,
5621,
3639,
2077,
2224,
273,
446,
31,
3639,
1476,
6364,
5190,
18,
2251,
4150,
5621,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
15825,
1435,
288,
3639,
309,
261,
291,
1669,
7423,
10756,
288,
5411,
327,
31,
3639,
289,
3639,
368,
1206,
5972,
2991,
3639,
13618,
3899,
18,
588,
3367,
7675,
588,
13220,
7675,
4479,
13220,
2223,
12,
10304,
2223,
1769,
3639,
25130,
367,
1304,
18,
4479,
11728,
2223,
12,
29009,
3899,
18,
588,
3367,
9334,
7734,
8823,
2223,
1769,
3639,
25130,
367,
1304,
18,
4479,
11728,
2223,
12,
2649,
2224,
16,
8823,
2223,
1769,
3639,
2619,
4599,
1318,
18,
2251,
4150,
5621,
3639,
2619,
4599,
1318,
18,
4479,
1595,
5621,
3639,
13618,
3899,
18,
588,
3367,
7675,
2251,
4150,
5621,
3639,
13618,
3899,
273,
446,
31,
3639,
2077,
2224,
18,
2251,
4150,
5621,
3639,
2077,
2224,
273,
446,
2
] |
content.add(BorderLayout.CENTER,new JScrollPane(viewer)); panel = new JPanel(); panel.setLayout(new BoxLayout(panel,BoxLayout.X_AXIS)); panel.setBorder(new EmptyBorder(12,0,0,0)); panel.add(Box.createGlue()); back = new JButton(jEdit.getProperty("helpviewer.back")); back.setIcon(GUIUtilities.loadIcon("Back24.gif")); back.addActionListener(actionListener); panel.add(back); panel.add(Box.createHorizontalStrut(6)); forward = new JButton(jEdit.getProperty("helpviewer.forward")); forward.setIcon(GUIUtilities.loadIcon("Foward24.gif")); forward.addActionListener(actionListener); panel.add(forward); panel.add(Box.createGlue()); back.setPreferredSize(forward.getPreferredSize()); content.add(BorderLayout.SOUTH,panel);
|
getContentPane().add(BorderLayout.CENTER,new JScrollPane(viewer));
|
public HelpViewer(URL url) { super(jEdit.getProperty("helpviewer.title")); JPanel content = new JPanel(new BorderLayout()); content.setBorder(new EmptyBorder(12,12,12,12)); setContentPane(content); setIconImage(GUIUtilities.getEditorIcon()); history = new URL[25]; ActionHandler actionListener = new ActionHandler(); JPanel panel = new JPanel(new BorderLayout()); panel.setBorder(new EmptyBorder(0,0,12,0)); JLabel label = new JLabel(jEdit.getProperty("helpviewer.url")); label.setBorder(new EmptyBorder(0,0,0,12)); panel.add(BorderLayout.WEST,label); urlField = new JTextField(); panel.add(urlField); content.add(BorderLayout.NORTH,panel); viewer = new JEditorPane(); viewer.setEditable(false); viewer.setFont(new Font("Monospaced", Font.PLAIN, 12)); viewer.addHyperlinkListener(new LinkHandler()); content.add(BorderLayout.CENTER,new JScrollPane(viewer)); panel = new JPanel(); panel.setLayout(new BoxLayout(panel,BoxLayout.X_AXIS)); panel.setBorder(new EmptyBorder(12,0,0,0)); panel.add(Box.createGlue()); back = new JButton(jEdit.getProperty("helpviewer.back")); back.setIcon(GUIUtilities.loadIcon("Back24.gif")); back.addActionListener(actionListener); panel.add(back); panel.add(Box.createHorizontalStrut(6)); forward = new JButton(jEdit.getProperty("helpviewer.forward")); forward.setIcon(GUIUtilities.loadIcon("Foward24.gif")); forward.addActionListener(actionListener); panel.add(forward); panel.add(Box.createGlue()); back.setPreferredSize(forward.getPreferredSize()); content.add(BorderLayout.SOUTH,panel); gotoURL(url,true); setDefaultCloseOperation(DISPOSE_ON_CLOSE); setSize(600,400); GUIUtilities.loadGeometry(this,"helpviewer"); show(); }
|
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/36befb6db4c49cf26e323f63b35f29d5f1d64f55/HelpViewer.java/buggy/org/gjt/sp/jedit/gui/HelpViewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
11288,
18415,
12,
1785,
880,
13,
202,
95,
202,
202,
9565,
12,
78,
4666,
18,
588,
1396,
2932,
5201,
25256,
18,
2649,
7923,
1769,
202,
202,
46,
5537,
913,
273,
394,
24048,
12,
2704,
30814,
10663,
202,
202,
1745,
18,
542,
8107,
12,
2704,
8953,
8107,
12,
2138,
16,
2138,
16,
2138,
16,
2138,
10019,
202,
202,
542,
1350,
8485,
12,
1745,
1769,
202,
202,
542,
5554,
2040,
12,
43,
5370,
11864,
18,
588,
6946,
5554,
10663,
202,
202,
8189,
273,
394,
1976,
63,
2947,
15533,
202,
202,
1803,
1503,
1301,
2223,
273,
394,
4382,
1503,
5621,
202,
202,
46,
5537,
6594,
273,
394,
24048,
12,
2704,
30814,
10663,
202,
202,
13916,
18,
542,
8107,
12,
2704,
8953,
8107,
12,
20,
16,
20,
16,
2138,
16,
20,
10019,
202,
202,
46,
2224,
1433,
273,
394,
21403,
12,
78,
4666,
18,
588,
1396,
2932,
5201,
25256,
18,
718,
7923,
1769,
202,
202,
1925,
18,
542,
8107,
12,
2704,
8953,
8107,
12,
20,
16,
20,
16,
20,
16,
2138,
10019,
202,
202,
13916,
18,
1289,
12,
8107,
3744,
18,
31285,
16,
1925,
1769,
202,
202,
718,
974,
273,
394,
804,
16157,
5621,
202,
202,
13916,
18,
1289,
12,
718,
974,
1769,
202,
202,
1745,
18,
1289,
12,
8107,
3744,
18,
50,
28212,
16,
13916,
1769,
202,
202,
25256,
273,
394,
804,
6946,
8485,
5621,
202,
202,
25256,
18,
542,
15470,
12,
5743,
1769,
202,
202,
25256,
18,
542,
5711,
12,
2704,
10063,
2932,
11415,
538,
909,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11288,
18415,
12,
1785,
880,
13,
202,
95,
202,
202,
9565,
12,
78,
4666,
18,
588,
1396,
2932,
5201,
25256,
18,
2649,
7923,
1769,
202,
202,
46,
5537,
913,
273,
394,
24048,
12,
2704,
30814,
10663,
202,
202,
1745,
18,
542,
8107,
12,
2704,
8953,
8107,
12,
2138,
16,
2138,
16,
2138,
16,
2138,
10019,
202,
202,
542,
1350,
8485,
12,
1745,
1769,
202,
202,
542,
5554,
2040,
12,
43,
5370,
11864,
18,
588,
6946,
5554,
10663,
202,
202,
8189,
273,
394,
1976,
63,
2947,
15533,
202,
202,
1803,
1503,
1301,
2223,
273,
394,
4382,
1503,
5621,
202,
202,
46,
5537,
6594,
273,
394,
24048,
12,
2704,
30814,
10663,
202,
202,
13916,
18,
542,
8107,
12,
2
] |
IWorkbenchWindow window = WorkbenchPlugin .getDefault() .getWorkbench() .getActiveWorkbenchWindow();
|
IWorkbenchWindow window = WorkbenchPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow();
|
public void done(IJobChangeEvent event) { JobInfo info = getJobInfo(event.getJob()); if (event.getResult().getSeverity() == IStatus.ERROR) { info.setError(event.getResult()); UIJob job = new UIJob(ProgressMessages.getString("JobProgressManager.OpenProgressJob")) {//$NON-NLS-1$ /* (non-Javadoc) * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ public IStatus runInUIThread(IProgressMonitor monitor) { IWorkbenchWindow window = WorkbenchPlugin .getDefault() .getWorkbench() .getActiveWorkbenchWindow(); if (window == null) return Status.CANCEL_STATUS; ProgressUtil.openProgressView(window); return Status.OK_STATUS; } }; job.schedule(); refresh(info); } else { jobs.remove(event.getJob()); //Only refresh if we are showing it remove(info); } }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1a9cecd63f2d83ca30cee9aec5659bf7c2b3803d/JobProgressManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobProgressManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2731,
12,
45,
2278,
20930,
871,
13,
288,
202,
202,
2278,
966,
1123,
273,
13024,
966,
12,
2575,
18,
588,
2278,
10663,
202,
202,
430,
261,
2575,
18,
588,
1253,
7675,
588,
21630,
1435,
422,
467,
1482,
18,
3589,
13,
288,
1082,
202,
1376,
18,
542,
668,
12,
2575,
18,
588,
1253,
10663,
9506,
202,
5370,
2278,
1719,
273,
394,
6484,
2278,
12,
5491,
5058,
18,
588,
780,
2932,
2278,
5491,
1318,
18,
3678,
5491,
2278,
6,
3719,
288,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
20308,
261,
5836,
17,
24060,
13,
202,
380,
632,
5946,
2358,
18,
20416,
18,
4881,
18,
8298,
18,
5370,
2278,
7,
2681,
382,
57,
1285,
76,
896,
12,
3341,
18,
20416,
18,
3644,
18,
9448,
18,
45,
5491,
7187,
13,
202,
1195,
9506,
202,
482,
467,
1482,
1086,
382,
57,
1285,
76,
896,
12,
45,
5491,
7187,
6438,
13,
288,
6862,
202,
45,
2421,
22144,
3829,
2742,
273,
25083,
202,
2421,
22144,
3773,
6862,
1082,
202,
18,
588,
1868,
1435,
6862,
1082,
202,
18,
588,
2421,
22144,
1435,
6862,
1082,
202,
18,
588,
3896,
2421,
22144,
3829,
5621,
6862,
202,
430,
261,
5668,
422,
446,
13,
25083,
202,
2463,
2685,
18,
25268,
67,
8608,
31,
6862,
202,
5491,
1304,
18,
3190,
5491,
1767,
12,
5668,
1769,
6862,
202,
2463,
2685,
18,
3141,
67,
8608,
31,
9506,
202,
97,
1082,
202,
20451,
1082,
202,
4688,
18,
10676,
5621,
1082,
202,
9144,
12,
1376,
1769,
202,
202,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2731,
12,
45,
2278,
20930,
871,
13,
288,
202,
202,
2278,
966,
1123,
273,
13024,
966,
12,
2575,
18,
588,
2278,
10663,
202,
202,
430,
261,
2575,
18,
588,
1253,
7675,
588,
21630,
1435,
422,
467,
1482,
18,
3589,
13,
288,
1082,
202,
1376,
18,
542,
668,
12,
2575,
18,
588,
1253,
10663,
9506,
202,
5370,
2278,
1719,
273,
394,
6484,
2278,
12,
5491,
5058,
18,
588,
780,
2932,
2278,
5491,
1318,
18,
3678,
5491,
2278,
6,
3719,
288,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
20308,
261,
5836,
17,
24060,
13,
202,
380,
632,
5946,
2358,
18,
20416,
18,
4881,
18,
8298,
18,
5370,
2278,
7,
2681,
382,
57,
1285,
76,
896,
2
] |
m_server.resume();
|
server.resume();
|
private void suspendServer() { // not running - no need to do anything. if(m_server == null) { return; } if(m_suspendButton.isSelected()) { m_server.suspend(); } else { m_server.resume(); } }
|
48500 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48500/f8bdbb2dab0d67be139dd05d6110e466306c8868/RootPanel.java/buggy/src/java/org/apache/ftpserver/gui/RootPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
20413,
2081,
1435,
288,
7734,
368,
486,
3549,
300,
1158,
1608,
358,
741,
6967,
18,
3639,
309,
12,
81,
67,
3567,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
7734,
309,
12,
81,
67,
87,
18815,
3616,
18,
291,
7416,
10756,
288,
5411,
312,
67,
3567,
18,
87,
18815,
5621,
3639,
289,
3639,
469,
288,
5411,
1438,
18,
25158,
5621,
3639,
289,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3238,
918,
20413,
2081,
1435,
288,
7734,
368,
486,
3549,
300,
1158,
1608,
358,
741,
6967,
18,
3639,
309,
12,
81,
67,
3567,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
7734,
309,
12,
81,
67,
87,
18815,
3616,
18,
291,
7416,
10756,
288,
5411,
312,
67,
3567,
18,
87,
18815,
5621,
3639,
289,
3639,
469,
288,
5411,
1438,
18,
25158,
5621,
3639,
289,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
BasicTreeUI.this.selectPath(BasicTreeUI.this.tree, new TreePath(getPathToRoot(prev, 0)));
|
selectPath(tree, new TreePath(getPathToRoot(prev, 0)));
|
public void keyPressed(KeyEvent e) { TreeModel mod = BasicTreeUI.this.tree.getModel(); TreePath start = BasicTreeUI.this.tree.getLeadSelectionPath(); Object last = null; if (start != null) last = start.getLastPathComponent(); if (last != null) { // DOWN, KP_DOWN if (e.getKeyCode() == KeyEvent.VK_DOWN || e.getKeyCode() == KeyEvent.VK_KP_DOWN) { Object next = BasicTreeUI.this.getNextVisibleNode(last); if (next != null) { TreePath newPath = new TreePath(getPathToRoot(next, 0)); BasicTreeUI.this.selectPath(BasicTreeUI.this.tree, newPath); if (e.isControlDown()) tree.setLeadSelectionPath(newPath); else if (!mod.isLeaf(next) && e.isShiftDown()) BasicTreeUI.this.tree.expandPath(newPath); } } // UP, KP_UP else if (e.getKeyCode() == KeyEvent.VK_UP || e.getKeyCode() == KeyEvent.VK_KP_UP) { Object prev = BasicTreeUI.this.getPreviousVisibleNode(last); if (prev != null) { TreePath newPath = new TreePath(getPathToRoot(prev, 0)); BasicTreeUI.this.selectPath(BasicTreeUI.this.tree, new TreePath(getPathToRoot(prev, 0))); if (e.isControlDown()) tree.setLeadSelectionPath(newPath); else if (!mod.isLeaf(prev) && e.isShiftDown()) BasicTreeUI.this.tree.expandPath(newPath); } } // LEFT, KP_LEFT else if (e.getKeyCode() == KeyEvent.VK_LEFT || e.getKeyCode() == KeyEvent.VK_KP_LEFT) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(mod.getRoot(), last); if (!mod.isLeaf(last) && BasicTreeUI.this.tree.isExpanded(path)) BasicTreeUI.this.tree.collapsePath(path); else if (p != null) BasicTreeUI.this.selectPath(BasicTreeUI.this.tree, new TreePath(getPathToRoot(p, 0))); } // RIGHT, KP_RIGHT else if (e.getKeyCode() == KeyEvent.VK_RIGHT || e.getKeyCode() == KeyEvent.VK_KP_RIGHT) { TreePath path = new TreePath(getPathToRoot(last, 0)); if (!mod.isLeaf(last) && BasicTreeUI.this.tree.isCollapsed(path)) BasicTreeUI.this.tree.expandPath(path); else { Object next = BasicTreeUI.this.getNextVisibleNode(last); if (next != null) BasicTreeUI.this.selectPath( BasicTreeUI.this.tree, new TreePath( getPathToRoot( next, 0))); } } // Enter else if (e.getKeyCode() == KeyEvent.VK_ENTER) { TreePath path = new TreePath(getPathToRoot(last, 0)); if (!tree.isEditing()) { if (!mod.isLeaf(last)) { if (BasicTreeUI.this.tree.isExpanded(path)) BasicTreeUI.this.tree.collapsePath(path); else BasicTreeUI.this.tree.expandPath(path); } } } } }
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/ad9fe0128c253aaf223148f1f6216018924022e0/BasicTreeUI.java/buggy/javax/swing/plaf/basic/BasicTreeUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
498,
24624,
12,
653,
1133,
425,
13,
565,
288,
1377,
4902,
1488,
681,
273,
7651,
2471,
5370,
18,
2211,
18,
3413,
18,
588,
1488,
5621,
1377,
4902,
743,
787,
273,
7651,
2471,
5370,
18,
2211,
18,
3413,
18,
588,
9678,
6233,
743,
5621,
1377,
1033,
1142,
273,
446,
31,
1377,
309,
261,
1937,
480,
446,
13,
3639,
1142,
273,
787,
18,
588,
3024,
743,
1841,
5621,
1377,
309,
261,
2722,
480,
446,
13,
3639,
288,
1850,
368,
21595,
16,
1475,
52,
67,
12711,
1850,
309,
261,
73,
18,
588,
653,
1085,
1435,
422,
23737,
18,
58,
47,
67,
12711,
2868,
747,
425,
18,
588,
653,
1085,
1435,
422,
23737,
18,
58,
47,
67,
47,
52,
67,
12711,
13,
5411,
288,
2868,
1033,
1024,
273,
7651,
2471,
5370,
18,
2211,
18,
588,
2134,
6207,
907,
12,
2722,
1769,
2868,
309,
261,
4285,
480,
446,
13,
7734,
288,
5375,
4902,
743,
14954,
273,
394,
4902,
743,
12,
588,
743,
774,
2375,
12,
4285,
16,
374,
10019,
5375,
7651,
2471,
5370,
18,
2211,
18,
4025,
743,
12,
8252,
2471,
5370,
18,
2211,
18,
3413,
16,
14954,
1769,
5375,
309,
261,
73,
18,
291,
3367,
4164,
10756,
10792,
2151,
18,
542,
9678,
6233,
743,
12,
2704,
743,
1769,
5375,
469,
309,
16051,
1711,
18,
291,
9858,
12,
4285,
13,
597,
425,
18,
291,
10544,
4164,
10756,
10792,
7651,
2471,
5370,
18,
2211,
18,
3413,
18,
12320,
743,
12,
2704,
743,
1769,
7734,
289,
5411,
289,
1850,
368,
7376,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
498,
24624,
12,
653,
1133,
425,
13,
565,
288,
1377,
4902,
1488,
681,
273,
7651,
2471,
5370,
18,
2211,
18,
3413,
18,
588,
1488,
5621,
1377,
4902,
743,
787,
273,
7651,
2471,
5370,
18,
2211,
18,
3413,
18,
588,
9678,
6233,
743,
5621,
1377,
1033,
1142,
273,
446,
31,
1377,
309,
261,
1937,
480,
446,
13,
3639,
1142,
273,
787,
18,
588,
3024,
743,
1841,
5621,
1377,
309,
261,
2722,
480,
446,
13,
3639,
288,
1850,
368,
21595,
16,
1475,
52,
67,
12711,
1850,
309,
261,
73,
18,
588,
653,
1085,
1435,
422,
23737,
18,
58,
47,
67,
12711,
2868,
747,
425,
18,
588,
653,
1085,
1435,
422,
23737,
18,
58,
47,
67,
47,
52,
67,
2
] |
if ( StringUtil.compareVersion( handler.getVersion( ), "3" ) < 0 ) { if ( OBSOLETE_FLAT_FILE_ID.equalsIgnoreCase( extensionID ) ) extensionID = NEW_FLAT_FILE_ID; }
|
if ( OBSOLETE_FLAT_FILE_ID.equalsIgnoreCase( extensionID ) ) extensionID = NEW_FLAT_FILE_ID; }
|
private void parseODADataSetExtensionID( Attributes attrs, boolean extensionNameRequired ) { String extensionID = getAttrib( attrs, DesignSchemaConstants.EXTENSION_ID_ATTRIB ); if ( StringUtil.isBlank( extensionID ) ) { if ( !extensionNameRequired ) return; SemanticError e = new SemanticError( element, SemanticError.DESIGN_EXCEPTION_MISSING_EXTENSION ); RecoverableError.dealMissingInvalidExtension( handler, e ); } else { if ( StringUtil.compareVersion( handler.getVersion( ), "3" ) < 0 ) //$NON-NLS-1$ { if ( OBSOLETE_FLAT_FILE_ID.equalsIgnoreCase( extensionID ) ) extensionID = NEW_FLAT_FILE_ID; } if ( ODAProviderFactory.getInstance( ).createODAProvider( element, extensionID ) == null ) return; if ( !ODAProviderFactory.getInstance( ).createODAProvider( element, extensionID ).isValidODADataSetExtensionID( extensionID ) ) { SemanticError e = new SemanticError( element, new String[]{extensionID}, SemanticError.DESIGN_EXCEPTION_EXTENSION_NOT_FOUND ); RecoverableError.dealMissingInvalidExtension( handler, e ); } } setProperty( IOdaExtendableElementModel.EXTENSION_ID_PROP, extensionID ); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/72a3a0e29ff8a67f745d48e8d5880b5546f11ad2/OdaDataSetState.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/OdaDataSetState.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1109,
1212,
37,
13676,
3625,
734,
12,
9055,
3422,
16,
1082,
202,
6494,
2710,
461,
3705,
262,
202,
95,
202,
202,
780,
2710,
734,
273,
336,
12399,
12,
3422,
16,
9506,
202,
15478,
3078,
2918,
18,
12796,
67,
734,
67,
26741,
11272,
202,
202,
430,
261,
14205,
18,
291,
7796,
12,
2710,
734,
262,
262,
202,
202,
95,
1082,
202,
430,
261,
401,
6447,
461,
3705,
262,
9506,
202,
2463,
31,
1082,
202,
13185,
9941,
668,
425,
273,
394,
24747,
668,
12,
930,
16,
6862,
202,
13185,
9941,
668,
18,
1639,
11260,
67,
12658,
67,
19466,
67,
12796,
11272,
1082,
202,
426,
17399,
668,
18,
323,
287,
4841,
1941,
3625,
12,
1838,
16,
425,
11272,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
430,
261,
14205,
18,
9877,
1444,
12,
1838,
18,
588,
1444,
12,
262,
16,
315,
23,
6,
262,
411,
374,
262,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
95,
9506,
202,
430,
261,
9730,
3584,
4311,
67,
42,
12190,
67,
3776,
67,
734,
18,
14963,
5556,
12,
2710,
734,
262,
262,
6862,
202,
6447,
734,
273,
12887,
67,
42,
12190,
67,
3776,
67,
734,
31,
1082,
202,
97,
1082,
202,
430,
261,
531,
9793,
2249,
1733,
18,
588,
1442,
12,
262,
18,
2640,
1212,
37,
2249,
12,
930,
16,
6862,
202,
6447,
734,
262,
422,
446,
262,
9506,
202,
2463,
31,
1082,
202,
430,
261,
401,
1212,
37,
2249,
1733,
18,
588,
1442,
12,
262,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1152,
918,
1109,
1212,
37,
13676,
3625,
734,
12,
9055,
3422,
16,
1082,
202,
6494,
2710,
461,
3705,
262,
202,
95,
202,
202,
780,
2710,
734,
273,
336,
12399,
12,
3422,
16,
9506,
202,
15478,
3078,
2918,
18,
12796,
67,
734,
67,
26741,
11272,
202,
202,
430,
261,
14205,
18,
291,
7796,
12,
2710,
734,
262,
262,
202,
202,
95,
1082,
202,
430,
261,
401,
6447,
461,
3705,
262,
9506,
202,
2463,
31,
1082,
202,
13185,
9941,
668,
425,
273,
394,
24747,
668,
12,
930,
16,
6862,
202,
13185,
9941,
668,
18,
1639,
11260,
67,
12658,
67,
19466,
67,
12796,
11272,
1082,
202,
426,
17399,
668,
18,
323,
287,
4841,
1941,
3625,
12,
1838,
16,
425,
11272,
2
] |
int max = getColumnLabel(column).length(); int i; for (i = 0 ; i < rows.size(); ++i) { byte[][] x = (byte[][])(rows.elementAt(i)); if(x[column-1]!=null) { int xl = x[column - 1].length; if (xl > max) max = xl; } } return max;
|
Field f = getField(column); String type_name = f.getTypeName(); int sql_type = f.getSQLType(); int typmod = f.mod; if (type_name.equals( "int2" )) return 6; if (type_name.equals( "int4" ) || type_name.equals( "oid" )) return 11; if (type_name.equals( "int8" )) return 20; if (type_name.equals( "money" )) return 12; if (type_name.equals( "float4" )) return 11; if (type_name.equals( "float8" )) return 20; if (type_name.equals( "char" )) return 1; if (type_name.equals( "bool" )) return 1; if (type_name.equals( "date" )) return 14; if (type_name.equals( "time" )) return 8; if (type_name.equals( "timestamp" )) return 22; typmod -= 4; if (type_name.equals( "bpchar" ) || type_name.equals( "varchar" )) return typmod; if (type_name.equals( "numeric" )) return ( (typmod >>16) & 0xffff ) + 1 + ( typmod & 0xffff ); return f.length;
|
public int getColumnDisplaySize(int column) throws SQLException { int max = getColumnLabel(column).length(); int i; for (i = 0 ; i < rows.size(); ++i) { byte[][] x = (byte[][])(rows.elementAt(i)); if(x[column-1]!=null) { int xl = x[column - 1].length; if (xl > max) max = xl; } } return max; }
|
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/ae2e909b19c28b2768d60b67024ec84ced527147/ResultSetMetaData.java/buggy/postgresql/jdbc2/ResultSetMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
6716,
4236,
1225,
12,
474,
1057,
13,
1216,
6483,
225,
288,
565,
509,
943,
273,
6716,
2224,
12,
2827,
2934,
2469,
5621,
565,
509,
277,
31,
3639,
364,
261,
77,
273,
374,
274,
277,
411,
2595,
18,
1467,
5621,
965,
77,
13,
1377,
288,
202,
7229,
63,
6362,
65,
619,
273,
261,
7229,
63,
6362,
5717,
12,
3870,
18,
2956,
861,
12,
77,
10019,
202,
430,
12,
92,
63,
2827,
17,
21,
65,
5,
33,
2011,
13,
288,
202,
225,
509,
15643,
273,
619,
63,
2827,
300,
404,
8009,
2469,
31,
202,
225,
309,
261,
18402,
405,
943,
13,
202,
565,
943,
273,
15643,
31,
202,
97,
1377,
289,
565,
327,
943,
31,
225,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
6716,
4236,
1225,
12,
474,
1057,
13,
1216,
6483,
225,
288,
565,
509,
943,
273,
6716,
2224,
12,
2827,
2934,
2469,
5621,
565,
509,
277,
31,
3639,
364,
261,
77,
273,
374,
274,
277,
411,
2595,
18,
1467,
5621,
965,
77,
13,
1377,
288,
202,
7229,
63,
6362,
65,
619,
273,
261,
7229,
63,
6362,
5717,
12,
3870,
18,
2956,
861,
12,
77,
10019,
202,
430,
12,
92,
63,
2827,
17,
21,
65,
5,
33,
2011,
13,
288,
202,
225,
509,
15643,
273,
619,
63,
2827,
300,
404,
8009,
2469,
31,
202,
225,
309,
261,
18402,
405,
943,
13,
202,
565,
943,
273,
15643,
31,
202,
97,
1377,
289,
565,
327,
943,
31,
225,
289,
2,
-100
] |
Streamable holder = holderFactory.createHolder(type);
|
Streamable holder = HolderLocator.createHolder(type);
|
public DynAny create_simple(TypeCode official, TypeCode type) { Streamable holder = holderFactory.createHolder(type); return new gnuDynAny(holder, official, type, this, orb); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/gnuDynAnyFactory.java/buggy/core/src/classpath/gnu/gnu/CORBA/DynAn/gnuDynAnyFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
463,
878,
2961,
752,
67,
9647,
12,
15460,
3397,
22354,
16,
30332,
618,
13,
225,
288,
565,
3961,
429,
10438,
273,
670,
1498,
5786,
18,
2640,
6064,
12,
723,
1769,
565,
327,
394,
314,
13053,
10419,
2961,
12,
4505,
16,
3397,
22354,
16,
618,
16,
333,
16,
16823,
1769,
225,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
463,
878,
2961,
752,
67,
9647,
12,
15460,
3397,
22354,
16,
30332,
618,
13,
225,
288,
565,
3961,
429,
10438,
273,
670,
1498,
5786,
18,
2640,
6064,
12,
723,
1769,
565,
327,
394,
314,
13053,
10419,
2961,
12,
4505,
16,
3397,
22354,
16,
618,
16,
333,
16,
16823,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for(Iterator<Integer> it = database.iterator(); it.hasNext();) { Integer id = it.next(); if(!processedIDs.contains(id)) expandClusterOrder(database, id, progress); } } catch(Exception e) { throw new IllegalStateException(e); } long end = System.currentTimeMillis();
|
for (Iterator<Integer> it = database.iterator(); it.hasNext();) { Integer id = it.next(); if (!processedIDs.contains(id)) expandClusterOrder(database, id, progress); } } catch (Exception e) { throw new IllegalStateException(e); } long end = System.currentTimeMillis();
|
public void run(Database<T> database) throws IllegalStateException { long start = System.currentTimeMillis(); try { Progress progress = new Progress(database.size()); processedIDs = new HashSet<Integer>(database.size()); clusterOrder = new ClusterOrder(database, getDistanceFunction()); pq = new DefaultHeap<Distance, COEntry>(); getDistanceFunction().setDatabase(database); for(Iterator<Integer> it = database.iterator(); it.hasNext();) { Integer id = it.next(); if(!processedIDs.contains(id)) expandClusterOrder(database, id, progress); } } catch(Exception e) { throw new IllegalStateException(e); } long end = System.currentTimeMillis(); if(isTime()) { long elapsedTime = end - start; System.out.println(this.getClass().getName() + " runtime: " + elapsedTime + " milliseconds."); } }
|
5508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5508/dce0549f17b1f34d450f4b4a1eecf0adb6a33912/OPTICS.java/clean/src/de/lmu/ifi/dbs/algorithm/OPTICS.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
12,
4254,
32,
56,
34,
2063,
13,
1216,
5477,
565,
288,
3639,
1525,
787,
273,
2332,
18,
2972,
28512,
5621,
3639,
775,
3639,
288,
5411,
10980,
4007,
273,
394,
10980,
12,
6231,
18,
1467,
10663,
5411,
5204,
5103,
273,
394,
6847,
32,
4522,
34,
12,
6231,
18,
1467,
10663,
5411,
2855,
2448,
273,
394,
5584,
2448,
12,
6231,
16,
29452,
2083,
10663,
5411,
14619,
273,
394,
2989,
15648,
32,
7200,
16,
7910,
1622,
34,
5621,
5411,
29452,
2083,
7675,
542,
4254,
12,
6231,
1769,
5411,
364,
12,
3198,
32,
4522,
34,
518,
273,
2063,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
5411,
288,
7734,
2144,
612,
273,
518,
18,
4285,
5621,
7734,
309,
12,
5,
11005,
5103,
18,
12298,
12,
350,
3719,
10792,
4542,
3629,
2448,
12,
6231,
16,
612,
16,
4007,
1769,
5411,
289,
3639,
289,
3639,
1044,
12,
503,
425,
13,
3639,
288,
5411,
604,
394,
5477,
12,
73,
1769,
3639,
289,
3639,
1525,
679,
273,
2332,
18,
2972,
28512,
5621,
3639,
309,
12,
291,
950,
10756,
3639,
288,
5411,
1525,
9613,
950,
273,
679,
300,
787,
31,
5411,
2332,
18,
659,
18,
8222,
12,
2211,
18,
588,
797,
7675,
17994,
1435,
397,
315,
3099,
30,
315,
397,
9613,
950,
397,
315,
10993,
1199,
1769,
3639,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
918,
1086,
12,
4254,
32,
56,
34,
2063,
13,
1216,
5477,
565,
288,
3639,
1525,
787,
273,
2332,
18,
2972,
28512,
5621,
3639,
775,
3639,
288,
5411,
10980,
4007,
273,
394,
10980,
12,
6231,
18,
1467,
10663,
5411,
5204,
5103,
273,
394,
6847,
32,
4522,
34,
12,
6231,
18,
1467,
10663,
5411,
2855,
2448,
273,
394,
5584,
2448,
12,
6231,
16,
29452,
2083,
10663,
5411,
14619,
273,
394,
2989,
15648,
32,
7200,
16,
7910,
1622,
34,
5621,
5411,
29452,
2083,
7675,
542,
4254,
12,
6231,
1769,
5411,
364,
12,
3198,
32,
4522,
34,
518,
273,
2063,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
13,
5411,
288,
7734,
2144,
612,
273,
518,
18,
4285,
5621,
7734,
309,
2
] |
326, 327, 328, 329, 330, 58, 59, -1, -1, -1,
|
326, 327, 328, 329, 330, 58, 59, 333, 334, -1,
|
private static final short[] yyCheck3() { return new short[] { -1, -1, 10, -1, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 37, 38, -1, -1, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, 124, 125, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, 333, 334, -1, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, 93, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, -1, 37, 38, -1, 343, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, 93, 94, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, 43, 44, 45, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, 326, 62, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 0, 343, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, 43, 44, 45, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 124, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, 38, -1, 338, 41, -1, -1, 44, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, 37, 38, -1, 93, 94, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, 60, 41, 62, 63, 44, -1, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 94, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, -1, 44, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 124, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, 94, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, 60, -1, 62, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 318, 319, 320, 321, 322, 323, 324, 93, 94, 327, 328, -1, -1, -1, -1, 333, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 125, -1, -1, -1, -1, -1, 281, 282, -1, 94, -1, 96, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, 126, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 0, 293, 294, 295, 296, 297, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 41, -1, -1, 44, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, 58, 59, 60, -1, 62, 63, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 0, 293, 294, 295, 296, 297, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 41, -1, -1, 44, -1, 338, -1, 125, -1, -1, 343, 304, 305, -1, -1, 308, -1, 58, 59, 60, -1, 62, 63, 316, 317, 318, 319, 320, 321, -1, 323, 324, 0, -1, 327, -1, -1, -1, 331, 332, 333, 334, 10, -1, -1, -1, -1, -1, -1, -1, -1, 344, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, 41, -1, -1, 44, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, -1, -1, 93, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 125, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, -1, -1, -1, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, 93, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, 125, -1, 41, -1, -1, 44, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 325, 326, -1, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 0, 343, 41, -1, -1, 44, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 125, -1, -1, 0, -1, -1, -1, -1, -1, -1, 58, 59, -1, 10, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, 41, 93, -1, 44, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, 58, 59, -1, 10, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, 125, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, -1, -1, 41, 93, -1, 44, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 325, 326, -1, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, 125, -1, -1, -1, 343, 41, -1, -1, 44, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 93, -1, -1, 58, 59, -1, -1, -1, 63, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 325, 326, -1, -1, 329, 330, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, 125, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 325, 326, -1, -1, 329, 330, -1, 281, 282, -1, -1, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 325, 326, -1, -1, 329, 330, -1, 281, 282, -1, -1, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 0, -1, 338, 41, -1, -1, 44, 343, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 338, 41, -1, -1, 44, 343, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 41, -1, -1, 44, -1, -1, -1, 125, 10, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, 41, -1, -1, 44, -1, -1, 125, 10, -1, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 41, -1, -1, 44, -1, -1, -1, 125, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 125, -1, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 125, -1, 281, 282, -1, -1, -1, 93, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 125, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, 262, 263, 264, 343, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, 0, 343, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, 0, -1, -1, 343, -1, 41, -1, -1, 44, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 41, 343, -1, 44, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 93, 58, 59, -1, 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, 0, -1, 125, -1, -1, 41, 93, -1, 44, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 125, -1, -1, 41, -1, -1, 44, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, 41, -1, -1, 44, -1, 10, -1, -1, -1, -1, -1, 125, -1, -1, -1, 93, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, 93, 58, 59, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, -1, -1, 125, -1, -1, 10, 93, 290, 291, -1, 293, 294, 295, 296, 297, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, 125, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, 93, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 125, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, -1, -1, -1, -1, -1, 10, -1, 290, 291, -1, 293, 294, 295, 296, 297, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, 41, -1, -1, 44, -1, 10, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, 338, -1, -1, -1, -1, 343, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, 93, 58, 59, 338, -1, -1, -1, -1, 343, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, 94, -1, 125, -1, -1, -1, 93, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 124, -1, -1, -1, -1, -1, -1, -1, 125, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 343, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 0, 91, -1, -1, 94, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 124, 125, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, 91, -1, -1, 94, 290, 291, -1, 293, 294, 295, 296, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 125, -1, -1, -1, -1, -1, -1, -1, 281, 282, 124, 125, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, -1, -1, -1, -1, 333, 334, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 343, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, -1, -1, 338, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 290, 291, 281, 293, 294, 295, 296, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 37, 38, 338, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, 0, 47, -1, -1, -1, -1, 91, -1, -1, 94, 10, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, 124, 125, 41, 42, 43, 44, 45, 46, 47, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 124, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, 91, -1, 0, 94, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, 41, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 91, -1, -1, 94, 10, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, 124, 125, 41, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 125, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 0, -1, 338, 93, -1, -1, -1, -1, -1, -1, 10, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 318, 319, 320, 321, 322, 323, 324, 325, -1, 327, 328, -1, -1, -1, 125, 333, 334, -1, 290, 291, 41, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, -1, 337, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 290, 291, -1, 293, 294, 295, 296, 297, 281, 0, 125, -1, -1, -1, -1, -1, -1, 290, 291, 10, 293, 294, 295, 296, 297, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 59, 60, 61, 62, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, 0, -1, 290, 291, -1, 293, 294, 295, 296, 297, 10, -1, -1, -1, -1, -1, -1, 91, -1, -1, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, -1, -1, 91, 290, 291, 94, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 124, 125, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 336, -1, -1, 339, 340, 341, 342, -1, 126, -1, 346, 347, 348, 349, 350, 351, 33, -1, 290, 291, 356, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 126, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 256, 257, 258, 259, 260, 261, 59, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, }; }
|
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1564,
23,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
6647,
300,
21,
16,
282,
300,
21,
16,
282,
1728,
16,
282,
300,
21,
16,
225,
890,
8942,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
5411,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
5411,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
225,
2593,
24,
16,
225,
30616,
16,
282,
18091,
16,
5411,
18012,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
20170,
16,
282,
14856,
16,
282,
21193,
16,
282,
13291,
16,
282,
12292,
16,
282,
300,
21,
16,
282,
17495,
16,
5411,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
5411,
17066,
16,
282,
14995,
16,
282,
4752,
16,
282,
300,
21,
16,
282,
22684,
16,
282,
13746,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
5411,
300,
21,
16,
282,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
727,
3025,
8526,
9016,
1564,
23,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
6647,
300,
21,
16,
282,
300,
21,
16,
282,
1728,
16,
282,
300,
21,
16,
225,
890,
8942,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
5411,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
5411,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
16,
282,
300,
21,
2
] |
if (s.equals(rccchecks[i - FIRSTRCCCHECKTAG])) return i;
|
if (s.equals(rccchecks[i - FIRSTRCCCHECKTAG])) return i;
|
public static int checkFromString(String s) { for (int i = FIRSTRCCCHECKTAG; i <= LASTRCCCHECKTAG; i++) { if (s.equals(rccchecks[i - FIRSTRCCCHECKTAG])) return i; } //@ unreachable Assert.fail("unrecognized check string: \"" + s + "\""); return -1; }
|
46634 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46634/88c3a23ce6920080a820fcffe73c2469f7571ad9/TagConstants.java/buggy/src/escjava/trunk/ESCTools/Rcc/java/rcc/ast/TagConstants.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
866,
9193,
12,
780,
272,
13,
288,
3639,
364,
261,
474,
277,
273,
4011,
54,
3902,
6743,
10687,
7927,
31,
277,
1648,
2928,
3902,
6743,
10687,
7927,
31,
277,
27245,
288,
5411,
309,
261,
87,
18,
14963,
12,
86,
952,
12366,
63,
77,
300,
4011,
54,
3902,
6743,
10687,
7927,
22643,
7734,
327,
277,
31,
3639,
289,
3639,
23834,
25132,
3639,
5452,
18,
6870,
2932,
318,
12916,
866,
533,
30,
11843,
397,
272,
397,
11143,
1769,
3639,
327,
300,
21,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
760,
509,
866,
9193,
12,
780,
272,
13,
288,
3639,
364,
261,
474,
277,
273,
4011,
54,
3902,
6743,
10687,
7927,
31,
277,
1648,
2928,
3902,
6743,
10687,
7927,
31,
277,
27245,
288,
5411,
309,
261,
87,
18,
14963,
12,
86,
952,
12366,
63,
77,
300,
4011,
54,
3902,
6743,
10687,
7927,
22643,
7734,
327,
277,
31,
3639,
289,
3639,
23834,
25132,
3639,
5452,
18,
6870,
2932,
318,
12916,
866,
533,
30,
11843,
397,
272,
397,
11143,
1769,
3639,
327,
300,
21,
31,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return "Add an existing project to the source locations list.";
|
return CDebugUIPlugin.getResourceString("internal.ui.wizards.AddProjectSourceLocationWizard.Description");
|
public String getDescription() { return "Add an existing project to the source locations list."; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7c50719ee75ad53d8a6bd367d0f569749c3680bc/AddProjectSourceLocationWizard.java/buggy/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/wizards/AddProjectSourceLocationWizard.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
11056,
1435,
202,
95,
202,
202,
2463,
315,
986,
392,
2062,
1984,
358,
326,
1084,
7838,
666,
1199,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
514,
11056,
1435,
202,
95,
202,
202,
2463,
315,
986,
392,
2062,
1984,
358,
326,
1084,
7838,
666,
1199,
31,
202,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
boolean bT = false, bZ = false;
|
boolean bT = false, bZ = false, bZT = false;
|
void setDefaultZT(int t, int z, int sizeT, int sizeZ) { ToolBarManager tbm = toolBar.getManager(); tbm.onTChange(t); tbm.onZChange(z); int maxZ = sizeZ-1; int maxT = sizeT-1; tbm.setMaxT(maxT); tbm.setMaxZ(maxZ); toolBar.getZLabel().setText("/"+maxZ); toolBar.getTLabel().setText("/"+maxT); resetSliders(maxT, t, maxZ, z); boolean bT = false, bZ = false; if (maxT != 0) bT = true; if (maxZ != 0) bZ = true; toolBar.getTField().setEditable(bT); toolBar.getZField().setEditable(bZ); toolBar.getViewer3D().setEnabled(bZ); viewer3DItem.setEnabled(bZ); if (bZ && bT) movieItem.setEnabled(true); }
|
55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/69d9ca849e67dccda3286f8ae868fd51e5634768/ViewerUIF.java/clean/SRC/org/openmicroscopy/shoola/agents/viewer/ViewerUIF.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
9277,
62,
56,
12,
474,
268,
16,
509,
998,
16,
509,
963,
56,
16,
509,
963,
62,
13,
565,
288,
3639,
13288,
5190,
1318,
8739,
81,
273,
5226,
5190,
18,
588,
1318,
5621,
3639,
8739,
81,
18,
265,
56,
3043,
12,
88,
1769,
3639,
8739,
81,
18,
265,
62,
3043,
12,
94,
1769,
3639,
509,
943,
62,
273,
963,
62,
17,
21,
31,
3639,
509,
943,
56,
273,
963,
56,
17,
21,
31,
3639,
8739,
81,
18,
542,
2747,
56,
12,
1896,
56,
1769,
3639,
8739,
81,
18,
542,
2747,
62,
12,
1896,
62,
1769,
3639,
5226,
5190,
18,
588,
62,
2224,
7675,
542,
1528,
2932,
4898,
15,
1896,
62,
1769,
3639,
5226,
5190,
18,
588,
56,
2224,
7675,
542,
1528,
2932,
4898,
15,
1896,
56,
1769,
3639,
2715,
3738,
24290,
12,
1896,
56,
16,
268,
16,
943,
62,
16,
998,
1769,
3639,
1250,
324,
56,
273,
629,
16,
324,
62,
273,
629,
16,
324,
62,
56,
273,
629,
31,
3639,
309,
261,
1896,
56,
480,
374,
13,
324,
56,
273,
638,
31,
3639,
309,
261,
1896,
62,
480,
374,
13,
324,
62,
273,
638,
31,
3639,
5226,
5190,
18,
588,
56,
974,
7675,
542,
15470,
12,
70,
56,
1769,
3639,
5226,
5190,
18,
588,
62,
974,
7675,
542,
15470,
12,
70,
62,
1769,
3639,
5226,
5190,
18,
588,
18415,
23,
40,
7675,
542,
1526,
12,
70,
62,
1769,
3639,
14157,
23,
40,
1180,
18,
542,
1526,
12,
70,
62,
1769,
3639,
309,
261,
70,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
9277,
62,
56,
12,
474,
268,
16,
509,
998,
16,
509,
963,
56,
16,
509,
963,
62,
13,
565,
288,
3639,
13288,
5190,
1318,
8739,
81,
273,
5226,
5190,
18,
588,
1318,
5621,
3639,
8739,
81,
18,
265,
56,
3043,
12,
88,
1769,
3639,
8739,
81,
18,
265,
62,
3043,
12,
94,
1769,
3639,
509,
943,
62,
273,
963,
62,
17,
21,
31,
3639,
509,
943,
56,
273,
963,
56,
17,
21,
31,
3639,
8739,
81,
18,
542,
2747,
56,
12,
1896,
56,
1769,
3639,
8739,
81,
18,
542,
2747,
62,
12,
1896,
62,
1769,
3639,
5226,
5190,
18,
588,
62,
2224,
7675,
542,
1528,
2932,
4898,
15,
1896,
62,
1769,
3639,
5226,
5190,
18,
588,
56,
2
] |
return components[n];
|
return component[n];
|
public Component getComponent (int n) { if (n < 0 || n >= componentCount) throw new ArrayIndexOutOfBoundsException("no such component"); return components[n]; }
|
27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/42de8277e53eabea04a48598c12ed6d488412a7b/Container.java/clean/libjava/java/awt/Container.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5435,
10322,
261,
474,
290,
13,
225,
288,
565,
309,
261,
82,
411,
374,
747,
290,
1545,
1794,
1380,
13,
1377,
604,
394,
1510,
30548,
2932,
2135,
4123,
1794,
8863,
565,
327,
1794,
63,
82,
15533,
225,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5435,
10322,
261,
474,
290,
13,
225,
288,
565,
309,
261,
82,
411,
374,
747,
290,
1545,
1794,
1380,
13,
1377,
604,
394,
1510,
30548,
2932,
2135,
4123,
1794,
8863,
565,
327,
1794,
63,
82,
15533,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
else
|
} else {
|
public IWorkbenchPage openPage(final String perspId, final IAdaptable input) throws WorkbenchException { Assert.isNotNull(perspId); // Run op in busy cursor. final Object[] result = new Object[1]; BusyIndicator.showWhile(null, new Runnable() { public void run() { try { result[0] = busyOpenPage(perspId, input); } catch (WorkbenchException e) { result[0] = e; } } }); if (result[0] instanceof IWorkbenchPage) return (IWorkbenchPage) result[0]; else if (result[0] instanceof WorkbenchException) throw (WorkbenchException) result[0]; else throw new WorkbenchException( WorkbenchMessages.WorkbenchWindow_exceptionMessage); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/WorkbenchWindow.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
2421,
22144,
1964,
1696,
1964,
12,
6385,
514,
13508,
84,
548,
16,
727,
467,
13716,
429,
810,
13,
1082,
202,
15069,
4147,
22144,
503,
288,
202,
202,
8213,
18,
291,
5962,
12,
10422,
84,
548,
1769,
202,
202,
759,
1939,
1061,
316,
21697,
3347,
18,
202,
202,
6385,
1033,
8526,
563,
273,
394,
1033,
63,
21,
15533,
202,
202,
29289,
13140,
18,
4500,
15151,
12,
2011,
16,
394,
10254,
1435,
288,
1082,
202,
482,
918,
1086,
1435,
288,
9506,
202,
698,
288,
6862,
202,
2088,
63,
20,
65,
273,
21697,
3678,
1964,
12,
10422,
84,
548,
16,
810,
1769,
9506,
202,
97,
1044,
261,
2421,
22144,
503,
425,
13,
288,
6862,
202,
2088,
63,
20,
65,
273,
425,
31,
9506,
202,
97,
1082,
202,
97,
202,
202,
22938,
202,
202,
430,
261,
2088,
63,
20,
65,
1276,
467,
2421,
22144,
1964,
13,
1082,
202,
2463,
261,
45,
2421,
22144,
1964,
13,
563,
63,
20,
15533,
202,
202,
97,
469,
288,
309,
261,
2088,
63,
20,
65,
1276,
4147,
22144,
503,
13,
1082,
202,
12849,
261,
2421,
22144,
503,
13,
563,
63,
20,
15533,
202,
202,
12107,
1082,
202,
12849,
394,
4147,
22144,
503,
12,
6862,
202,
2421,
22144,
5058,
18,
2421,
22144,
3829,
67,
4064,
1079,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
482,
467,
2421,
22144,
1964,
1696,
1964,
12,
6385,
514,
13508,
84,
548,
16,
727,
467,
13716,
429,
810,
13,
1082,
202,
15069,
4147,
22144,
503,
288,
202,
202,
8213,
18,
291,
5962,
12,
10422,
84,
548,
1769,
202,
202,
759,
1939,
1061,
316,
21697,
3347,
18,
202,
202,
6385,
1033,
8526,
563,
273,
394,
1033,
63,
21,
15533,
202,
202,
29289,
13140,
18,
4500,
15151,
12,
2011,
16,
394,
10254,
1435,
288,
1082,
202,
482,
918,
1086,
1435,
288,
9506,
202,
698,
288,
6862,
202,
2088,
63,
20,
65,
273,
21697,
3678,
1964,
12,
10422,
84,
548,
16,
810,
1769,
9506,
202,
97,
1044,
261,
2421,
22144,
503,
425,
13,
288,
6862,
202,
2088,
63,
20,
2
] |
delayedMultilineUpdate = true; int endLine = startLine + numLines; /* update fold visibility map. */ int starti = fvmget(startLine); int endi = fvmget(endLine); /* both have same visibility; just remove * anything in between. */ if(Math.abs(starti % 2) == Math.abs(endi % 2))
|
if(endi - starti == fvmcount)
|
public void preContentRemoved(Buffer buffer, int startLine, int offset, int numLines, int length) { if(!buffer.isLoaded()) return; if(textArea.getDisplayManager() == DisplayManager.this) { if(numLines != 0) { preContentRemoved(firstLine,startLine,numLines); preContentRemoved(scrollLineCount,startLine,numLines); } if(delayedUpdateEnd >= startLine) delayedUpdateEnd -= numLines; delayedUpdate(startLine,startLine); } else { firstLine.callReset = true; scrollLineCount.callReset = true; } if(numLines != 0) { delayedMultilineUpdate = true; int endLine = startLine + numLines; /* update fold visibility map. */ int starti = fvmget(startLine); int endi = fvmget(endLine); /* both have same visibility; just remove * anything in between. */ if(Math.abs(starti % 2) == Math.abs(endi % 2)) { if(endi - starti == fvmcount) { // we're removing from before // the first visible to after // the last visible fvmreset(); firstLine.callReset = true; scrollLineCount.callReset = true; starti = 1; } else { fvmput(starti + 1,endi + 1,null); starti++; } } /* collapse 2 */ else if(starti != -1 && fvm[starti] == startLine) { if(endi - starti == fvmcount - 1) { // we're removing from // the first visible to after // the last visible fvmreset(); firstLine.callReset = true; scrollLineCount.callReset = true; starti = 1; } else fvmput(starti,endi + 1,null); } /* shift */ else { fvmput(starti + 1,endi,null); fvm[starti + 1] = startLine; starti += 2; } /* update */ for(int i = starti; i < fvmcount; i++) fvm[i] -= numLines; if(firstLine.physicalLine > getLastVisibleLine() || firstLine.physicalLine < getFirstVisibleLine()) { // will be handled later. // see comments at the end of // transactionComplete(). } // very subtle... if we leave this for // ensurePhysicalLineIsVisible(), an // extra line will be added to the // scroll line count. else if(!isLineVisible( firstLine.physicalLine)) { firstLine.physicalLine = getNextVisibleLine( firstLine.physicalLine); } lastfvmget = -1; fvmdump(); } } //}}}
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/e6e3327019fa6a56ac5ebb63c9ba2d29f9287b9f/DisplayManager.java/buggy/org/gjt/sp/jedit/textarea/DisplayManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
675,
1350,
10026,
12,
1892,
1613,
16,
509,
24636,
16,
1082,
202,
474,
1384,
16,
509,
818,
5763,
16,
509,
769,
13,
202,
202,
95,
1082,
202,
430,
12,
5,
4106,
18,
291,
8835,
10756,
9506,
202,
2463,
31,
1082,
202,
430,
12,
955,
5484,
18,
588,
4236,
1318,
1435,
422,
9311,
1318,
18,
2211,
13,
1082,
202,
95,
9506,
202,
430,
12,
2107,
5763,
480,
374,
13,
9506,
202,
95,
6862,
202,
1484,
1350,
10026,
12,
3645,
1670,
16,
1937,
1670,
16,
2107,
5763,
1769,
6862,
202,
1484,
1350,
10026,
12,
12033,
1670,
1380,
16,
1937,
1670,
16,
2107,
5763,
1769,
9506,
202,
97,
9506,
202,
430,
12,
10790,
329,
1891,
1638,
1545,
24636,
13,
6862,
202,
10790,
329,
1891,
1638,
3947,
818,
5763,
31,
9506,
202,
10790,
329,
1891,
12,
1937,
1670,
16,
1937,
1670,
1769,
1082,
202,
97,
1082,
202,
12107,
1082,
202,
95,
9506,
202,
3645,
1670,
18,
1991,
7013,
273,
638,
31,
9506,
202,
12033,
1670,
1380,
18,
1991,
7013,
273,
638,
31,
1082,
202,
97,
1082,
202,
430,
12,
2107,
5763,
480,
374,
13,
1082,
202,
95,
9506,
202,
10790,
329,
5049,
12554,
1891,
273,
638,
31,
9506,
202,
474,
31763,
273,
24636,
397,
818,
5763,
31,
9506,
202,
20308,
1089,
11590,
9478,
852,
18,
1195,
9506,
202,
474,
787,
77,
273,
284,
3489,
588,
12,
1937,
1670,
1769,
9506,
202,
474,
679,
77,
273,
284,
3489,
588,
12,
409,
1670,
1769,
9506,
202,
20308,
3937,
1240,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
675,
1350,
10026,
12,
1892,
1613,
16,
509,
24636,
16,
1082,
202,
474,
1384,
16,
509,
818,
5763,
16,
509,
769,
13,
202,
202,
95,
1082,
202,
430,
12,
5,
4106,
18,
291,
8835,
10756,
9506,
202,
2463,
31,
1082,
202,
430,
12,
955,
5484,
18,
588,
4236,
1318,
1435,
422,
9311,
1318,
18,
2211,
13,
1082,
202,
95,
9506,
202,
430,
12,
2107,
5763,
480,
374,
13,
9506,
202,
95,
6862,
202,
1484,
1350,
10026,
12,
3645,
1670,
16,
1937,
1670,
16,
2107,
5763,
1769,
6862,
202,
1484,
1350,
10026,
12,
12033,
1670,
1380,
16,
1937,
1670,
16,
2107,
5763,
1769,
9506,
202,
97,
9506,
202,
430,
12,
10790,
329,
1891,
1638,
1545,
24636,
2
] |
ICFileType typeById = resolver.getFileTypeById(typeByName.getId());
|
ICFileType typeById = model.getFileTypeById(typeByName.getId());
|
private void doTestFileTypeResolution(String fileName, String expectedTypeId) { ICFileType typeByName = resolver.getFileType(fileName); assertNotNull(typeByName); assertEquals(expectedTypeId, typeByName.getId()); ICFileType typeById = resolver.getFileTypeById(typeByName.getId()); assertNotNull(typeById); assertEquals(typeByName, typeById); ICLanguage languageById = resolver.getLanguageById(typeByName.getLanguage().getId()); assertNotNull(languageById); assertEquals(typeByName.getLanguage().getId(), languageById.getId()); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/285254ad4e9bc51ea2483287742812f092c60d3b/ResolverTests.java/buggy/core/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/filetype/tests/ResolverTests.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
741,
4709,
28941,
11098,
12,
780,
3968,
16,
514,
2665,
11731,
13,
288,
3196,
202,
2871,
28941,
618,
5911,
273,
5039,
18,
588,
28941,
12,
17812,
1769,
202,
202,
11231,
5962,
12,
723,
5911,
1769,
202,
202,
11231,
8867,
12,
3825,
11731,
16,
618,
5911,
18,
26321,
10663,
1082,
202,
2871,
28941,
618,
5132,
273,
5039,
18,
588,
28941,
5132,
12,
723,
5911,
18,
26321,
10663,
9506,
202,
11231,
5962,
12,
723,
5132,
1769,
202,
202,
11231,
8867,
12,
723,
5911,
16,
618,
5132,
1769,
9506,
202,
2871,
3779,
2653,
5132,
273,
5039,
18,
588,
3779,
5132,
12,
723,
5911,
18,
588,
3779,
7675,
26321,
10663,
202,
202,
11231,
5962,
12,
4923,
5132,
1769,
202,
202,
11231,
8867,
12,
723,
5911,
18,
588,
3779,
7675,
26321,
9334,
2653,
5132,
18,
26321,
10663,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1152,
918,
741,
4709,
28941,
11098,
12,
780,
3968,
16,
514,
2665,
11731,
13,
288,
3196,
202,
2871,
28941,
618,
5911,
273,
5039,
18,
588,
28941,
12,
17812,
1769,
202,
202,
11231,
5962,
12,
723,
5911,
1769,
202,
202,
11231,
8867,
12,
3825,
11731,
16,
618,
5911,
18,
26321,
10663,
1082,
202,
2871,
28941,
618,
5132,
273,
5039,
18,
588,
28941,
5132,
12,
723,
5911,
18,
26321,
10663,
9506,
202,
11231,
5962,
12,
723,
5132,
1769,
202,
202,
11231,
8867,
12,
723,
5911,
16,
618,
5132,
1769,
9506,
202,
2871,
3779,
2653,
5132,
273,
5039,
18,
588,
3779,
5132,
12,
723,
5911,
18,
588,
3779,
7675,
26321,
10663,
202,
202,
11231,
5962,
12,
4923,
5132,
1769,
202,
2
] |
public static ToHitData toHit(IGame game, int attackerId, Targetable target) { final Entity ae = game.getEntity(attackerId); if (ae == null) return new ToHitData(ToHitData.IMPOSSIBLE, "You can't attack from a null entity!"); if(!game.getOptions().booleanOption("maxtech_new_physicals")) return new ToHitData(ToHitData.IMPOSSIBLE, "no MaxTech physicals"); String impossible = toHitIsImpossible(game, ae, target); if(impossible != null) { return new ToHitData(ToHitData.IMPOSSIBLE, "impossible"); } IHex attHex = game.getBoard().getHex(ae.getPosition()); IHex targHex = game.getBoard().getHex(target.getPosition()); final int attackerElevation = ae.getElevation() + attHex.getElevation(); final int attackerHeight = attackerElevation + ae.getHeight(); final int targetElevation = target.getElevation() + targHex.getElevation(); final int targetHeight = targetElevation + target.getHeight(); ToHitData toHit; if (!(ae instanceof BipedMech) || !(target instanceof Mech)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Only biped mechs can trip other mechs"); } if (ae.isLocationBad(Mech.LOC_LLEG) || ae.isLocationBad(Mech.LOC_RLEG)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Leg missing"); } final int range = ae.getPosition().distance(target.getPosition()); int limb1 = Entity.LOC_NONE; int limb2 = Entity.LOC_NONE; if (attackerHeight < targetElevation || attackerElevation > targetElevation) { return new ToHitData(ToHitData.IMPOSSIBLE, "Target elevation not in range"); } if (!Compute.isInArc(ae.getPosition(), ae.getFacing(), target.getPosition(), Compute.ARC_FORWARD)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Target not in arc"); } if (ae.isProne()) { return new ToHitData(ToHitData.IMPOSSIBLE, "Attacker is prone"); } if(((Entity)target).isProne()) { return new ToHitData(ToHitData.IMPOSSIBLE, "Target is prone"); } boolean usedWeapons[] = new boolean[ae.locations()]; for(int i=0;i<ae.locations();i++) { usedWeapons[i] = false; } for (Mounted mounted : ae.getWeaponList()) { if (mounted.isUsedThisRound()) { int loc = mounted.getLocation(); if(loc != Entity.LOC_NONE) usedWeapons[loc] = true; } } if(!ae.hasWorkingSystem(Mech.ACTUATOR_HIP, Mech.LOC_RLEG)) usedWeapons[Mech.LOC_RLEG] = true; if(!ae.hasWorkingSystem(Mech.ACTUATOR_HIP, Mech.LOC_LLEG)) usedWeapons[Mech.LOC_LLEG] = true; if(!ae.hasWorkingSystem(Mech.ACTUATOR_SHOULDER, Mech.LOC_RARM)) usedWeapons[Mech.LOC_RARM] = true; if(!ae.hasWorkingSystem(Mech.ACTUATOR_SHOULDER, Mech.LOC_LARM)) usedWeapons[Mech.LOC_LARM] = true; if(attackerElevation < targetElevation) { if(usedWeapons[Mech.LOC_RARM] || usedWeapons[Mech.LOC_LARM]) { return new ToHitData(ToHitData.IMPOSSIBLE, "both arms unusable"); } limb1 = Mech.LOC_LARM; limb2 = Mech.LOC_RARM; } else { if(usedWeapons[Mech.LOC_RLEG]) { if(usedWeapons[Mech.LOC_LLEG]) { return new ToHitData(ToHitData.IMPOSSIBLE, "both legs unusable"); } limb1 = Mech.LOC_LLEG; } if(usedWeapons[Mech.LOC_RARM]) { if(usedWeapons[Mech.LOC_LARM]) { return new ToHitData(ToHitData.IMPOSSIBLE, "both arms unusable"); } limb2 = Mech.LOC_LARM; } } int base = 4; if ( game.getOptions().booleanOption("maxtech_physical_BTH") ) { base = ae.getCrew().getPiloting() - 1; } toHit = new ToHitData(base, "base"); setCommonModifiers(toHit, game, ae, target); if(limb1 == Entity.LOC_NONE) { ToHitData left = getLimbModifier(Mech.LOC_LLEG, ae); ToHitData right = getLimbModifier(Mech.LOC_RLEG, ae); if(left.getValue() < right.getValue()) toHit.append(left); else toHit.append(right); } else { toHit.append(getLimbModifier(limb1, ae)); } if(limb2 == Entity.LOC_NONE) { ToHitData left = getLimbModifier(Mech.LOC_LARM, ae); ToHitData right = getLimbModifier(Mech.LOC_RARM, ae); if(left.getValue() < right.getValue()) toHit.append(left); else toHit.append(right); } else { toHit.append(getLimbModifier(limb2, ae)); } return toHit;
|
public ToHitData toHit(IGame game) { return toHit(game, getEntityId(), game.getTarget(getTargetType(), getTargetId()));
|
public static ToHitData toHit(IGame game, int attackerId, Targetable target) { final Entity ae = game.getEntity(attackerId); if (ae == null) return new ToHitData(ToHitData.IMPOSSIBLE, "You can't attack from a null entity!"); if(!game.getOptions().booleanOption("maxtech_new_physicals")) return new ToHitData(ToHitData.IMPOSSIBLE, "no MaxTech physicals"); String impossible = toHitIsImpossible(game, ae, target); if(impossible != null) { return new ToHitData(ToHitData.IMPOSSIBLE, "impossible"); } IHex attHex = game.getBoard().getHex(ae.getPosition()); IHex targHex = game.getBoard().getHex(target.getPosition()); final int attackerElevation = ae.getElevation() + attHex.getElevation(); final int attackerHeight = attackerElevation + ae.getHeight(); final int targetElevation = target.getElevation() + targHex.getElevation(); final int targetHeight = targetElevation + target.getHeight(); ToHitData toHit; // non-mechs can't trip or be tripped if (!(ae instanceof BipedMech) || !(target instanceof Mech)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Only biped mechs can trip other mechs"); } // described as a leg hook / clothesline, // so it should need a working leg + a working arm // and 2 legs present if (ae.isLocationBad(Mech.LOC_LLEG) || ae.isLocationBad(Mech.LOC_RLEG)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Leg missing"); } // check range final int range = ae.getPosition().distance(target.getPosition()); int limb1 = Entity.LOC_NONE; int limb2 = Entity.LOC_NONE; // check elevation (target equal or 1 higher - ankle grab) if (attackerHeight < targetElevation || attackerElevation > targetElevation) { return new ToHitData(ToHitData.IMPOSSIBLE, "Target elevation not in range"); } // check facing if (!Compute.isInArc(ae.getPosition(), ae.getFacing(), target.getPosition(), Compute.ARC_FORWARD)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Target not in arc"); } // can't trip while prone if (ae.isProne()) { return new ToHitData(ToHitData.IMPOSSIBLE, "Attacker is prone"); } if(((Entity)target).isProne()) { return new ToHitData(ToHitData.IMPOSSIBLE, "Target is prone"); } // check if attacker has fired leg-mounted weapons boolean usedWeapons[] = new boolean[ae.locations()]; for(int i=0;i<ae.locations();i++) { usedWeapons[i] = false; } for (Mounted mounted : ae.getWeaponList()) { if (mounted.isUsedThisRound()) { int loc = mounted.getLocation(); if(loc != Entity.LOC_NONE) usedWeapons[loc] = true; } } //check for good hips / shoulders if(!ae.hasWorkingSystem(Mech.ACTUATOR_HIP, Mech.LOC_RLEG)) usedWeapons[Mech.LOC_RLEG] = true; if(!ae.hasWorkingSystem(Mech.ACTUATOR_HIP, Mech.LOC_LLEG)) usedWeapons[Mech.LOC_LLEG] = true; if(!ae.hasWorkingSystem(Mech.ACTUATOR_SHOULDER, Mech.LOC_RARM)) usedWeapons[Mech.LOC_RARM] = true; if(!ae.hasWorkingSystem(Mech.ACTUATOR_SHOULDER, Mech.LOC_LARM)) usedWeapons[Mech.LOC_LARM] = true; //to ankle grab, need both arms if(attackerElevation < targetElevation) { if(usedWeapons[Mech.LOC_RARM] || usedWeapons[Mech.LOC_LARM]) { return new ToHitData(ToHitData.IMPOSSIBLE, "both arms unusable"); } limb1 = Mech.LOC_LARM; limb2 = Mech.LOC_RARM; } else { //normal attack uses one leg and one arm if(usedWeapons[Mech.LOC_RLEG]) { if(usedWeapons[Mech.LOC_LLEG]) { return new ToHitData(ToHitData.IMPOSSIBLE, "both legs unusable"); } limb1 = Mech.LOC_LLEG; } if(usedWeapons[Mech.LOC_RARM]) { if(usedWeapons[Mech.LOC_LARM]) { return new ToHitData(ToHitData.IMPOSSIBLE, "both arms unusable"); } limb2 = Mech.LOC_LARM; } } //Set the base BTH int base = 4; // Level 3 rule: the BTH is PSR - 1 if ( game.getOptions().booleanOption("maxtech_physical_BTH") ) { base = ae.getCrew().getPiloting() - 1; } // Start the To-Hit toHit = new ToHitData(base, "base"); setCommonModifiers(toHit, game, ae, target); // Get best leg if(limb1 == Entity.LOC_NONE) { ToHitData left = getLimbModifier(Mech.LOC_LLEG, ae); ToHitData right = getLimbModifier(Mech.LOC_RLEG, ae); if(left.getValue() < right.getValue()) toHit.append(left); else toHit.append(right); } else { toHit.append(getLimbModifier(limb1, ae)); } // Get best arm if(limb2 == Entity.LOC_NONE) { ToHitData left = getLimbModifier(Mech.LOC_LARM, ae); ToHitData right = getLimbModifier(Mech.LOC_RARM, ae); if(left.getValue() < right.getValue()) toHit.append(left); else toHit.append(right); } else { toHit.append(getLimbModifier(limb2, ae)); } // done! return toHit; }
|
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/26d049695b50784ad795b53718db83368ca9a6fb/TripAttackAction.java/buggy/megamek/src/megamek/common/actions/TripAttackAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
2974,
13616,
751,
358,
13616,
12,
3047,
339,
7920,
16,
509,
13843,
264,
548,
16,
4766,
1377,
5916,
429,
1018,
13,
288,
3639,
727,
3887,
14221,
273,
7920,
18,
588,
1943,
12,
4558,
484,
264,
548,
1769,
3639,
309,
261,
8906,
422,
446,
13,
5411,
327,
394,
2974,
13616,
751,
12,
774,
13616,
751,
18,
3445,
2419,
1260,
13450,
900,
16,
315,
6225,
848,
1404,
13843,
628,
279,
446,
1522,
4442,
1769,
3639,
309,
12,
5,
13957,
18,
588,
1320,
7675,
6494,
1895,
2932,
1896,
28012,
67,
2704,
67,
844,
1900,
335,
1031,
6,
3719,
5411,
327,
394,
2974,
13616,
751,
12,
774,
13616,
751,
18,
3445,
2419,
1260,
13450,
900,
16,
315,
2135,
4238,
56,
8987,
24758,
335,
1031,
8863,
7734,
514,
23343,
273,
358,
13616,
2520,
1170,
12708,
12,
13957,
16,
14221,
16,
1018,
1769,
3639,
309,
12,
381,
12708,
480,
446,
13,
288,
5411,
327,
394,
2974,
13616,
751,
12,
774,
13616,
751,
18,
3445,
2419,
1260,
13450,
900,
16,
315,
381,
12708,
8863,
3639,
289,
3639,
467,
7037,
2403,
7037,
273,
7920,
18,
588,
22233,
7675,
588,
7037,
12,
8906,
18,
588,
2555,
10663,
3639,
467,
7037,
24202,
7037,
273,
7920,
18,
588,
22233,
7675,
588,
7037,
12,
3299,
18,
588,
2555,
10663,
3639,
727,
509,
13843,
264,
17274,
7112,
273,
14221,
18,
588,
17274,
7112,
1435,
397,
2403,
7037,
18,
588,
17274,
7112,
5621,
3639,
727,
509,
13843,
264,
2686,
273,
13843,
264,
17274,
7112,
397,
14221,
18,
588,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
2974,
13616,
751,
358,
13616,
12,
3047,
339,
7920,
16,
509,
13843,
264,
548,
16,
4766,
1377,
5916,
429,
1018,
13,
288,
3639,
727,
3887,
14221,
273,
7920,
18,
588,
1943,
12,
4558,
484,
264,
548,
1769,
3639,
309,
261,
8906,
422,
446,
13,
5411,
327,
394,
2974,
13616,
751,
12,
774,
13616,
751,
18,
3445,
2419,
1260,
13450,
900,
16,
315,
6225,
848,
1404,
13843,
628,
279,
446,
1522,
4442,
1769,
3639,
309,
12,
5,
13957,
18,
588,
1320,
7675,
6494,
1895,
2932,
1896,
28012,
67,
2704,
67,
844,
1900,
335,
1031,
6,
3719,
5411,
327,
394,
2974,
13616,
751,
12,
774,
13616,
751,
18,
3445,
2419,
1260,
13450,
900,
16,
315,
2135,
4238,
56,
2
] |
INavigatorContentDescriptor[] bindExtensions(String[] extensionIds);
|
INavigatorContentDescriptor[] bindExtensions(String[] extensionIds, boolean isRoot);
|
INavigatorContentDescriptor[] bindExtensions(String[] extensionIds);
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/187a6e5e9526ea47a03a969d7ddb741178d2527d/INavigatorContentService.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/INavigatorContentService.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
706,
13061,
1350,
3187,
8526,
1993,
7513,
12,
780,
8526,
2710,
2673,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
706,
13061,
1350,
3187,
8526,
1993,
7513,
12,
780,
8526,
2710,
2673,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
monitor.beginTask("", finalEditors.size());
|
monitorWrap.beginTask("", finalEditors.size());
|
public void run(IProgressMonitor monitor) {// try { // @issue reference to workspace to run runnable/* IProgressMonitor monitorWrap = new EventLoopProgressMonitor(monitor); ResourcesPlugin.getWorkspace().run(workspaceOp, monitorWrap);*///--------- This code was in the IWorkspaceRunnable above monitor.beginTask("", finalEditors.size()); //$NON-NLS-1$ Iterator enum = finalEditors.iterator(); while (enum.hasNext()) { IEditorPart part = (IEditorPart) enum.next(); part.doSave(new SubProgressMonitor(monitor, 1)); if (monitor.isCanceled()) break; }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/992fc4d46fd179609e0f556b4c6affa612b7ed50/EditorManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
12,
45,
5491,
7187,
6438,
13,
288,
759,
9506,
202,
698,
288,
6862,
202,
759,
632,
13882,
2114,
358,
6003,
358,
1086,
14685,
20308,
6862,
202,
45,
5491,
7187,
6438,
2964,
273,
394,
2587,
6452,
5491,
7187,
12,
10259,
1769,
6862,
202,
3805,
3773,
18,
588,
8241,
7675,
2681,
12,
14915,
3817,
16,
6438,
2964,
1769,
14,
28111,
8567,
1220,
981,
1703,
316,
326,
467,
8241,
20013,
5721,
6862,
202,
10259,
2964,
18,
10086,
2174,
2932,
3113,
727,
4666,
1383,
18,
1467,
10663,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
3198,
2792,
273,
727,
4666,
1383,
18,
9838,
5621,
6862,
202,
17523,
261,
7924,
18,
5332,
2134,
10756,
288,
25083,
202,
45,
6946,
1988,
1087,
273,
261,
45,
6946,
1988,
13,
2792,
18,
4285,
5621,
25083,
202,
2680,
18,
2896,
4755,
12,
2704,
2592,
5491,
7187,
12,
10259,
16,
404,
10019,
25083,
202,
430,
261,
10259,
18,
291,
23163,
10756,
6862,
1082,
202,
8820,
31,
6862,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1875,
202,
482,
918,
1086,
12,
45,
5491,
7187,
6438,
13,
288,
759,
9506,
202,
698,
288,
6862,
202,
759,
632,
13882,
2114,
358,
6003,
358,
1086,
14685,
20308,
6862,
202,
45,
5491,
7187,
6438,
2964,
273,
394,
2587,
6452,
5491,
7187,
12,
10259,
1769,
6862,
202,
3805,
3773,
18,
588,
8241,
7675,
2681,
12,
14915,
3817,
16,
6438,
2964,
1769,
14,
28111,
8567,
1220,
981,
1703,
316,
326,
467,
8241,
20013,
5721,
6862,
202,
10259,
2964,
18,
10086,
2174,
2932,
3113,
727,
4666,
1383,
18,
1467,
10663,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
3198,
2792,
273,
727,
4666,
1383,
18,
9838,
5621,
6862,
202,
17523,
261,
7924,
18,
5332,
2134,
10756,
288,
25083,
202,
45,
2
] |
private Function<Object[],Class> getTypeGetter(final Method method) {
|
private Function<Object[],Type> getTypeGetter(final Method method) {
|
private Function<Object[],Class> getTypeGetter(final Method method) { final Class<?>[] parameterTypes = method.getParameterTypes(); if (parameterTypes.length >= 1 && parameterTypes[0].equals(Class.class)) { return new Function<Object[], Class>() { public Class fun(final Object[] s) { return (Class)s[0]; } }; } if (parameterTypes.length == 2 && parameterTypes[1].equals(Class.class)) { return new Function<Object[], Class>() { public Class fun(final Object[] s) { return (Class)s[1]; } }; } return new Function<Object[], Class>() { public Class fun(final Object[] s) { return method.getReturnType(); } }; }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/9fc7ccfe5f84330b14cdd65a2caf1127162fa863/GenericInfoImpl.java/clean/source/com/intellij/util/xml/impl/GenericInfoImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
4284,
32,
921,
63,
6487,
559,
34,
3130,
8461,
12,
6385,
2985,
707,
13,
288,
565,
727,
1659,
12880,
34,
8526,
20173,
273,
707,
18,
588,
1662,
2016,
5621,
565,
309,
261,
6775,
2016,
18,
2469,
1545,
404,
597,
20173,
63,
20,
8009,
14963,
12,
797,
18,
1106,
3719,
288,
1377,
327,
394,
4284,
32,
921,
63,
6487,
1659,
34,
1435,
288,
3639,
1071,
1659,
9831,
12,
6385,
1033,
8526,
272,
13,
288,
1850,
327,
261,
797,
13,
87,
63,
20,
15533,
3639,
289,
1377,
289,
31,
565,
289,
565,
309,
261,
6775,
2016,
18,
2469,
422,
576,
597,
20173,
63,
21,
8009,
14963,
12,
797,
18,
1106,
3719,
288,
1377,
327,
394,
4284,
32,
921,
63,
6487,
1659,
34,
1435,
288,
3639,
1071,
1659,
9831,
12,
6385,
1033,
8526,
272,
13,
288,
1850,
327,
261,
797,
13,
87,
63,
21,
15533,
3639,
289,
1377,
289,
31,
565,
289,
565,
327,
394,
4284,
32,
921,
63,
6487,
1659,
34,
1435,
288,
1377,
1071,
1659,
9831,
12,
6385,
1033,
8526,
272,
13,
288,
3639,
327,
707,
18,
588,
9102,
5621,
1377,
289,
565,
289,
31,
225,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
3238,
4284,
32,
921,
63,
6487,
559,
34,
3130,
8461,
12,
6385,
2985,
707,
13,
288,
565,
727,
1659,
12880,
34,
8526,
20173,
273,
707,
18,
588,
1662,
2016,
5621,
565,
309,
261,
6775,
2016,
18,
2469,
1545,
404,
597,
20173,
63,
20,
8009,
14963,
12,
797,
18,
1106,
3719,
288,
1377,
327,
394,
4284,
32,
921,
63,
6487,
1659,
34,
1435,
288,
3639,
1071,
1659,
9831,
12,
6385,
1033,
8526,
272,
13,
288,
1850,
327,
261,
797,
13,
87,
63,
20,
15533,
3639,
289,
1377,
289,
31,
565,
289,
565,
309,
261,
6775,
2016,
18,
2469,
422,
576,
597,
20173,
63,
21,
8009,
14963,
12,
797,
18,
1106,
3719,
288,
1377,
327,
394,
4284,
32,
921,
63,
2
] |
if (method.isConstructor())
|
if (!JavaModelUtil.isPrimary(unit))
|
public static boolean isRenameAvailable(final IMethod method) throws CoreException { if (method == null) return false; if (!Checks.isAvailable(method)) return false; if (method.isConstructor()) return false; if (isRenameProhibited(method)) return false; return true; }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/7fe73391504467b9db1fbadca780965ee25f7a25/RefactoringAvailabilityTester.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
353,
16019,
5268,
12,
6385,
467,
1305,
707,
13,
1216,
30015,
288,
202,
202,
430,
261,
2039,
422,
446,
13,
1082,
202,
2463,
629,
31,
202,
202,
430,
16051,
4081,
18,
291,
5268,
12,
2039,
3719,
1082,
202,
2463,
629,
31,
202,
202,
430,
261,
2039,
18,
291,
6293,
10756,
1082,
202,
2463,
629,
31,
202,
202,
430,
261,
291,
16019,
626,
29993,
12,
2039,
3719,
1082,
202,
2463,
629,
31,
202,
202,
2463,
638,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1250,
353,
16019,
5268,
12,
6385,
467,
1305,
707,
13,
1216,
30015,
288,
202,
202,
430,
261,
2039,
422,
446,
13,
1082,
202,
2463,
629,
31,
202,
202,
430,
16051,
4081,
18,
291,
5268,
12,
2039,
3719,
1082,
202,
2463,
629,
31,
202,
202,
430,
261,
2039,
18,
291,
6293,
10756,
1082,
202,
2463,
629,
31,
202,
202,
430,
261,
291,
16019,
626,
29993,
12,
2039,
3719,
1082,
202,
2463,
629,
31,
202,
202,
2463,
638,
31,
202,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return m_logger.isInfoEnabled();
|
return m_logger.isWarnEnabled();
|
public boolean isInfoEnabled() { return m_logger.isInfoEnabled(); }
|
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/70d6a6fb3c092c7ecd8f1901169e816ce0244042/DefaultTaskContext.java/clean/proposal/myrmidon/src/java/org/apache/myrmidon/components/workspace/DefaultTaskContext.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
18636,
1435,
565,
288,
3639,
327,
312,
67,
4901,
18,
291,
3160,
1526,
5621,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1250,
18636,
1435,
565,
288,
3639,
327,
312,
67,
4901,
18,
291,
3160,
1526,
5621,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
DataProcessor helper = new DataProcessor( rtc, iae ); ResultSetWrapper wrapper = helper.mapToChartResultSet( expressionEvaluator, chart ); helper.generateRuntimeSeries( chart, wrapper );
|
SqlDataRowEvaluator rowEvaluator = new SqlDataRowEvaluator( resultSet ); bindData( rowEvaluator, chart, rtc );
|
public void bindData( IDataRowExpressionEvaluator expressionEvaluator, IActionEvaluator iae, Chart chart, RunTimeContext rtc ) throws ChartException { DataProcessor helper = new DataProcessor( rtc, iae ); ResultSetWrapper wrapper = helper.mapToChartResultSet( expressionEvaluator, chart ); helper.generateRuntimeSeries( chart, wrapper ); }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/00008bf6783ee348f7fe9b6150712c7132d1ec4c/Generator.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/Generator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1993,
751,
12,
467,
751,
1999,
2300,
15876,
2652,
15876,
16,
1082,
202,
45,
1803,
15876,
30905,
16,
14804,
4980,
16,
1939,
950,
1042,
436,
5111,
262,
1082,
202,
15069,
14804,
503,
202,
95,
202,
202,
751,
5164,
4222,
273,
394,
1910,
5164,
12,
436,
5111,
16,
30905,
11272,
202,
202,
13198,
3611,
4053,
273,
4222,
18,
1458,
774,
7984,
13198,
12,
2652,
15876,
16,
9506,
202,
11563,
11272,
202,
202,
4759,
18,
7163,
5576,
6485,
12,
4980,
16,
4053,
11272,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
918,
1993,
751,
12,
467,
751,
1999,
2300,
15876,
2652,
15876,
16,
1082,
202,
45,
1803,
15876,
30905,
16,
14804,
4980,
16,
1939,
950,
1042,
436,
5111,
262,
1082,
202,
15069,
14804,
503,
202,
95,
202,
202,
751,
5164,
4222,
273,
394,
1910,
5164,
12,
436,
5111,
16,
30905,
11272,
202,
202,
13198,
3611,
4053,
273,
4222,
18,
1458,
774,
7984,
13198,
12,
2652,
15876,
16,
9506,
202,
11563,
11272,
202,
202,
4759,
18,
7163,
5576,
6485,
12,
4980,
16,
4053,
11272,
202,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
case TOTAL_NEW_VIEW_ACK: type = "NEW_VIEW_ACK"; break;
|
case TOTAL_NEW_VIEW_ACK: type="NEW_VIEW_ACK"; break;
|
public String toString() { String type = ""; switch( total_header_type ) { case TOTAL_UNICAST: type = "TOTAL_UNICAST"; break; case TOTAL_BCAST: type = "TOTAL_BCAST"; break; case TOTAL_REQUEST: type = "TOTAL_REQUEST"; break; case TOTAL_NEW_VIEW: type = "NEW_VIEW"; break; case TOTAL_NEW_VIEW_ACK: type = "NEW_VIEW_ACK"; break; case TOTAL_CUM_SEQ_ACK: type = "TOTAL_CUM_SEQ_ACK"; break; case TOTAL_SEQ_ACK: type = "TOTAL_SEQ_ACK"; break; case TOTAL_RESEND: type = "TOTAL_RESEND"; break; default: type = "UNKNOWN TYPE (" + total_header_type + ')'; break; } return "[ TOTAL_OLD: type=" + type + ", seq=" + seq_id + " ]"; }
|
50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/5ad015d9a78e1da3350d9b398b46b2f5d4508564/TOTAL_OLD.java/buggy/src/org/jgroups/protocols/TOTAL_OLD.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1762,
1435,
288,
202,
565,
514,
618,
273,
1408,
31,
202,
565,
1620,
12,
2078,
67,
3374,
67,
723,
262,
288,
202,
565,
648,
399,
19851,
67,
2124,
2871,
9053,
30,
202,
202,
723,
273,
315,
28624,
67,
2124,
2871,
9053,
14432,
202,
202,
8820,
31,
202,
565,
648,
399,
19851,
67,
38,
21871,
30,
202,
202,
723,
273,
315,
28624,
67,
38,
21871,
14432,
202,
202,
8820,
31,
202,
565,
648,
399,
19851,
67,
5519,
30,
202,
202,
723,
273,
315,
28624,
67,
5519,
14432,
202,
202,
8820,
31,
202,
565,
648,
399,
19851,
67,
12917,
67,
12145,
30,
202,
202,
723,
273,
315,
12917,
67,
12145,
14432,
202,
202,
8820,
31,
202,
565,
648,
399,
19851,
67,
12917,
67,
12145,
67,
3649,
30,
202,
202,
723,
273,
315,
12917,
67,
12145,
67,
3649,
14432,
202,
202,
8820,
31,
202,
565,
648,
399,
19851,
67,
39,
2799,
67,
28114,
67,
3649,
30,
202,
202,
723,
273,
315,
28624,
67,
39,
2799,
67,
28114,
67,
3649,
14432,
202,
202,
8820,
31,
202,
565,
648,
399,
19851,
67,
28114,
67,
3649,
30,
202,
202,
723,
273,
315,
28624,
67,
28114,
67,
3649,
14432,
202,
202,
8820,
31,
202,
565,
648,
399,
19851,
67,
862,
21675,
30,
202,
202,
723,
273,
315,
28624,
67,
862,
21675,
14432,
202,
202,
8820,
31,
202,
565,
805,
30,
202,
202,
723,
273,
315,
14737,
3463,
7566,
397,
2078,
67,
3374,
67,
723,
397,
5777,
31,
202,
202,
8820,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
1762,
1435,
288,
202,
565,
514,
618,
273,
1408,
31,
202,
565,
1620,
12,
2078,
67,
3374,
67,
723,
262,
288,
202,
565,
648,
399,
19851,
67,
2124,
2871,
9053,
30,
202,
202,
723,
273,
315,
28624,
67,
2124,
2871,
9053,
14432,
202,
202,
8820,
31,
202,
565,
648,
399,
19851,
67,
38,
21871,
30,
202,
202,
723,
273,
315,
28624,
67,
38,
21871,
14432,
202,
202,
8820,
31,
202,
565,
648,
399,
19851,
67,
5519,
30,
202,
202,
723,
273,
315,
28624,
67,
5519,
14432,
202,
202,
8820,
31,
202,
565,
648,
399,
19851,
67,
12917,
67,
12145,
30,
202,
202,
723,
273,
315,
12917,
67,
12145,
14432,
202,
202,
8820,
31,
202,
565,
2
] |
if(sjpInfoLists.containsKey(method)) { return (List) sjpInfoLists.get(method); } else { return new LinkedList(); }
|
if(sjpInfoLists.containsKey(method)) { return (List) sjpInfoLists.get(method); } else { return new LinkedList(); }
|
public List/*<SJPInfo>*/ getSJPInfoList(SootMethod method) { if(sjpInfoLists.containsKey(method)) { return (List) sjpInfoLists.get(method); } else { return new LinkedList(); } }
|
236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/5382352ea23b31b8a89782dd250eadeaa5ff26cb/GlobalAspectInfo.java/buggy/aop/abc/src/abc/weaving/aspectinfo/GlobalAspectInfo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
20308,
32,
55,
29532,
966,
34,
5549,
1322,
29532,
17914,
12,
55,
1632,
1305,
707,
13,
288,
202,
430,
12,
87,
21797,
966,
7432,
18,
12298,
653,
12,
2039,
3719,
288,
202,
565,
327,
261,
682,
13,
272,
21797,
966,
7432,
18,
588,
12,
2039,
1769,
202,
97,
469,
288,
202,
565,
327,
394,
10688,
5621,
202,
97,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
987,
20308,
32,
55,
29532,
966,
34,
5549,
1322,
29532,
17914,
12,
55,
1632,
1305,
707,
13,
288,
202,
430,
12,
87,
21797,
966,
7432,
18,
12298,
653,
12,
2039,
3719,
288,
202,
565,
327,
261,
682,
13,
272,
21797,
966,
7432,
18,
588,
12,
2039,
1769,
202,
97,
469,
288,
202,
565,
327,
394,
10688,
5621,
202,
97,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
else { if (_local == null) { _local = methodGen.addLocalVariable2(name, _type.toJCType(), il.getEnd()); }
|
else { if (_local == null) mapRegister(methodGen);
|
public void translate(ClassGenerator classGen, MethodGenerator methodGen) { final ConstantPoolGen cpg = classGen.getConstantPool(); final InstructionList il = methodGen.getInstructionList(); String name = _name.getLocalPart(); name = name.replace('.', '_'); name = name.replace('-', '_'); // Make sure that a variable instance is only compiled once if (_compiled) return; _compiled = true; // If a result tree is implemented as method then compile and return if ((_select == null) && (_type != Type.ResultTree)) { compileResultTreeMethod(classGen); return; } if (isLocal()) { // Push args to call addVariable() if (_escapes) { il.append(classGen.loadTranslet()); il.append(new PUSH(cpg, _stackIndex)); } // Compile variable value computation translateValue(classGen, methodGen); // Dup value only when needed if (_escapes) { il.append(_type.DUP()); } // Add a new local variable and store value if (_refs.isEmpty()) { // nobody uses the value il.append(_type.POP()); _local = null; } else { // normal case if (_local == null) { _local = methodGen.addLocalVariable2(name, _type.toJCType(), il.getEnd()); } il.append(_type.STORE(_local.getIndex())); } // Store boxed value into the template's variable stack if (_escapes) { _type.translateBox(classGen, methodGen); il.append(new INVOKEVIRTUAL(cpg.addMethodref(TRANSLET_CLASS, ADD_VARIABLE, ADD_VARIABLE_SIG))); } } else { String signature = _type.toSignature(); if (signature.equals(DOM_IMPL_SIG)) signature = classGen.getDOMClassSig(); // Global variables are store in class fields if (classGen.containsField(name) == null) { classGen.addField(new Field(ACC_PUBLIC, cpg.addUtf8(name), cpg.addUtf8(signature), null, cpg.getConstantPool())); // Push a reference to "this" for putfield il.append(classGen.loadTranslet()); // Compile variable value computation translateValue(classGen, methodGen); // Store the variable in the allocated field il.append(new PUTFIELD(cpg.addFieldref(classGen.getClassName(), name, signature))); } } }
|
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/daaf59a9da4f2da390b5d787eb426977f2e4b5cf/Variable.java/buggy/src/org/apache/xalan/xsltc/compiler/Variable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4204,
12,
797,
3908,
667,
7642,
16,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
10551,
2864,
7642,
3283,
75,
273,
667,
7642,
18,
588,
6902,
2864,
5621,
202,
6385,
24605,
682,
14254,
273,
707,
7642,
18,
588,
11983,
682,
5621,
202,
780,
508,
273,
389,
529,
18,
588,
2042,
1988,
5621,
202,
529,
273,
508,
18,
2079,
2668,
1093,
16,
4427,
1769,
3639,
508,
273,
508,
18,
2079,
2668,
17,
2187,
4427,
1769,
202,
759,
4344,
3071,
716,
279,
2190,
791,
353,
1338,
7743,
3647,
202,
430,
261,
67,
19397,
13,
327,
31,
202,
67,
19397,
273,
638,
31,
202,
759,
971,
279,
563,
2151,
353,
8249,
487,
707,
1508,
4074,
471,
327,
202,
430,
14015,
67,
4025,
422,
446,
13,
597,
261,
67,
723,
480,
1412,
18,
1253,
2471,
3719,
288,
202,
565,
4074,
1253,
2471,
1305,
12,
1106,
7642,
1769,
202,
565,
327,
31,
202,
97,
202,
430,
261,
291,
2042,
10756,
288,
202,
565,
368,
8547,
833,
358,
745,
527,
3092,
1435,
202,
565,
309,
261,
67,
742,
7315,
13,
288,
202,
202,
330,
18,
6923,
12,
1106,
7642,
18,
945,
1429,
1810,
10663,
202,
202,
330,
18,
6923,
12,
2704,
28591,
12,
4057,
75,
16,
389,
3772,
1016,
10019,
202,
565,
289,
202,
565,
368,
16143,
2190,
460,
16039,
202,
565,
4204,
620,
12,
1106,
7642,
16,
707,
7642,
1769,
202,
565,
368,
463,
416,
460,
1338,
1347,
3577,
202,
565,
309,
261,
67,
742,
7315,
13,
288,
202,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4204,
12,
797,
3908,
667,
7642,
16,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
10551,
2864,
7642,
3283,
75,
273,
667,
7642,
18,
588,
6902,
2864,
5621,
202,
6385,
24605,
682,
14254,
273,
707,
7642,
18,
588,
11983,
682,
5621,
202,
780,
508,
273,
389,
529,
18,
588,
2042,
1988,
5621,
202,
529,
273,
508,
18,
2079,
2668,
1093,
16,
4427,
1769,
3639,
508,
273,
508,
18,
2079,
2668,
17,
2187,
4427,
1769,
202,
759,
4344,
3071,
716,
279,
2190,
791,
353,
1338,
7743,
3647,
202,
430,
261,
67,
19397,
13,
327,
31,
202,
67,
19397,
273,
638,
31,
202,
759,
971,
279,
563,
2151,
353,
8249,
487,
707,
1508,
4074,
471,
327,
202,
430,
2
] |
frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); frame.setSize(500, 500); frame.setVisible(true); frame.addWindowListener(new AppCloser());
|
frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); frame.setSize(500, 500); frame.setVisible(true); frame.addWindowListener(new AppCloser());
|
private void view(AtomContainer m) { if (showCOT) { logger.info("Viewing ChemObjectTree..."); JFrame frame = new JFrame("CDK Molecule Viewer"); ChemObjectTree cot = new ChemObjectTree(); frame.getContentPane().add(new JScrollPane(cot), BorderLayout.CENTER); cot.paintChemObject(m); frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); frame.setSize(500, 500); frame.setVisible(true); frame.addWindowListener(new AppCloser()); } else if (GeometryTools.has2DCoordinates(m) || GeometryTools.has3DCoordinates(m)) { logger.info("Viewing molecule..."); JFrame frame = new JFrame("CDK Molecule Viewer"); frame.getContentPane().setLayout(new BorderLayout()); // use Accelerated viewer if 3D coords are available if (GeometryTools.has3DCoordinates(m) && use3D) { logger.info("Viewing with 3D viewer"); boolean viewed = false; if (useJmol) { logger.debug(".. trying Jmol viewer"); try { frame.getContentPane().setLayout(new BorderLayout()); Object jmol = this.getClass().getClassLoader(). loadClass("org.openscience.jmol.app.Jmol").getInstance(); // org.openscience.jmol.app.Jmol jmol = org.openscience.jmol.app.Jmol.getJmol(frame); jmol.showChemFrame(Convertor.convert(m)); frame.getContentPane().add(jmol, BorderLayout.CENTER); logger.debug(".. done"); viewed = true; } catch (Exception e) { logger.error("Viewing did not succeed!"); logger.error(e.toString()); e.printStackTrace(); } } if (useJava3D && !viewed) { logger.debug(".. trying Java3D viewer"); try { AcceleratedRenderer3D renderer = new AcceleratedRenderer3D(new AcceleratedRenderer3DModel(m)); frame.getContentPane().add(renderer, BorderLayout.CENTER); logger.debug(".. done"); viewed = true; } catch (Exception e) { logger.error("Viewing did not succeed!"); logger.error(e.toString()); e.printStackTrace(); } } /* This is not uses as it does not work at all // try to view it without Java3D if (!viewed) { logger.debug(".. trying non-Java3D viewer"); MoleculeViewer3D mv = new MoleculeViewer3D(m); frame.getContentPane().add(mv, BorderLayout.CENTER); logger.debug(".. done"); } */ } else if (GeometryTools.has2DCoordinates(m)) { logger.info("Viewing with 2D viewer"); MoleculeViewer2D mv = new MoleculeViewer2D(m); logger.debug(m.toString()); frame.getContentPane().add(mv, BorderLayout.CENTER); } frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); frame.setSize(500, 500); frame.setVisible(true); frame.addWindowListener(new AppCloser()); } else { logger.info("Generating 2D coordinates"); StructureDiagramGenerator sdg = new StructureDiagramGenerator(); try { sdg.setMolecule(new Molecule(m)); sdg.generateCoordinates(new Vector2d(0, 1)); view(sdg.getMolecule()); } catch (Exception exc) { System.out.println("Molecule has no coordinates and cannot generate those."); System.exit(1); } } }
|
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/d856dc79ea0dc2aeb7f6136a65319d5c49b3d320/Viewer.java/buggy/src/org/openscience/cdk/applications/Viewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1476,
12,
3641,
2170,
312,
13,
202,
95,
3639,
309,
261,
4500,
39,
1974,
13,
288,
5411,
1194,
18,
1376,
2932,
1767,
310,
26542,
921,
2471,
7070,
1769,
1082,
202,
46,
3219,
2623,
273,
394,
804,
3219,
2932,
39,
3398,
490,
10545,
4441,
264,
8863,
5411,
26542,
921,
2471,
276,
352,
273,
394,
26542,
921,
2471,
5621,
5411,
2623,
18,
588,
1350,
8485,
7675,
1289,
12,
2704,
804,
26360,
12,
71,
352,
3631,
30814,
18,
19835,
1769,
5411,
276,
352,
18,
84,
1598,
20200,
921,
12,
81,
1769,
1082,
202,
3789,
18,
542,
1868,
4605,
2988,
12,
3829,
2918,
18,
13498,
23757,
67,
673,
67,
13384,
1769,
1082,
202,
3789,
18,
542,
1225,
12,
12483,
16,
6604,
1769,
1082,
202,
3789,
18,
542,
6207,
12,
3767,
1769,
1082,
202,
3789,
18,
1289,
3829,
2223,
12,
2704,
4677,
10924,
10663,
3639,
289,
469,
309,
261,
9823,
10348,
18,
5332,
22,
40,
13431,
12,
81,
13,
747,
9506,
202,
9823,
10348,
18,
5332,
23,
40,
13431,
12,
81,
3719,
202,
202,
95,
1082,
202,
4901,
18,
1376,
2932,
1767,
310,
13661,
7070,
1769,
1082,
202,
46,
3219,
2623,
273,
394,
804,
3219,
2932,
39,
3398,
490,
10545,
4441,
264,
8863,
1082,
202,
3789,
18,
588,
1350,
8485,
7675,
542,
3744,
12,
2704,
30814,
10663,
1082,
202,
759,
999,
15980,
292,
19007,
14157,
309,
890,
40,
6074,
854,
2319,
1082,
202,
430,
261,
9823,
10348,
18,
5332,
23,
40,
13431,
12,
81,
13,
597,
999,
23,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1152,
918,
1476,
12,
3641,
2170,
312,
13,
202,
95,
3639,
309,
261,
4500,
39,
1974,
13,
288,
5411,
1194,
18,
1376,
2932,
1767,
310,
26542,
921,
2471,
7070,
1769,
1082,
202,
46,
3219,
2623,
273,
394,
804,
3219,
2932,
39,
3398,
490,
10545,
4441,
264,
8863,
5411,
26542,
921,
2471,
276,
352,
273,
394,
26542,
921,
2471,
5621,
5411,
2623,
18,
588,
1350,
8485,
7675,
1289,
12,
2704,
804,
26360,
12,
71,
352,
3631,
30814,
18,
19835,
1769,
5411,
276,
352,
18,
84,
1598,
20200,
921,
12,
81,
1769,
1082,
202,
3789,
18,
542,
1868,
4605,
2988,
12,
3829,
2918,
18,
13498,
23757,
67,
673,
67,
13384,
1769,
1082,
202,
3789,
18,
542,
1225,
12,
12483,
2
] |
AST __t2457 = _t; AST tmp2444_AST_in = (AST)_t;
|
AST __t2458 = _t; AST tmp2445_AST_in = (AST)_t;
|
public final void sqlexpression(AST _t) throws RecognitionException { AST sqlexpression_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OR: { AST __t2436 = _t; AST tmp2432_AST_in = (AST)_t; match(_t,OR); _t = _t.getFirstChild(); sqlexpression(_t); _t = _retTree; sqlexpression(_t); _t = _retTree; _t = __t2436; _t = _t.getNextSibling(); break; } case AND: { AST __t2437 = _t; AST tmp2433_AST_in = (AST)_t; match(_t,AND); _t = _t.getFirstChild(); sqlexpression(_t); _t = _retTree; sqlexpression(_t); _t = _retTree; _t = __t2437; _t = _t.getNextSibling(); break; } case NOT: { AST __t2438 = _t; AST tmp2434_AST_in = (AST)_t; match(_t,NOT); _t = _t.getFirstChild(); sqlexpression(_t); _t = _retTree; _t = __t2438; _t = _t.getNextSibling(); break; } case MATCHES: { AST __t2439 = _t; AST tmp2435_AST_in = (AST)_t; match(_t,MATCHES); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_42.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2439; _t = _t.getNextSibling(); break; } case BEGINS: { AST __t2441 = _t; AST tmp2436_AST_in = (AST)_t; match(_t,BEGINS); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_42.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2441; _t = _t.getNextSibling(); break; } case CONTAINS: { AST __t2443 = _t; AST tmp2437_AST_in = (AST)_t; match(_t,CONTAINS); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_42.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2443; _t = _t.getNextSibling(); break; } case EQ: { AST __t2445 = _t; AST tmp2438_AST_in = (AST)_t; match(_t,EQ); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_42.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2445; _t = _t.getNextSibling(); break; } case NE: { AST __t2447 = _t; AST tmp2439_AST_in = (AST)_t; match(_t,NE); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_42.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2447; _t = _t.getNextSibling(); break; } case GTHAN: { AST __t2449 = _t; AST tmp2440_AST_in = (AST)_t; match(_t,GTHAN); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_42.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2449; _t = _t.getNextSibling(); break; } case GE: { AST __t2451 = _t; AST tmp2441_AST_in = (AST)_t; match(_t,GE); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_42.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2451; _t = _t.getNextSibling(); break; } case LTHAN: { AST __t2453 = _t; AST tmp2442_AST_in = (AST)_t; match(_t,LTHAN); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_42.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2453; _t = _t.getNextSibling(); break; } case LE: { AST __t2455 = _t; AST tmp2443_AST_in = (AST)_t; match(_t,LE); _t = _t.getFirstChild(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; if ((_tokenSet_42.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else if ((_t.getType()==Sql_comp_query)) { sql_comp_query(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t2455; _t = _t.getNextSibling(); break; } case EXISTS: { AST __t2457 = _t; AST tmp2444_AST_in = (AST)_t; match(_t,EXISTS); _t = _t.getFirstChild(); AST tmp2445_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); selectstatea(_t); _t = _retTree; AST tmp2446_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t2457; _t = _t.getNextSibling(); break; } case Sql_begins: { AST __t2458 = _t; AST tmp2447_AST_in = (AST)_t; match(_t,Sql_begins); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOT: { AST tmp2448_AST_in = (AST)_t; match(_t,NOT); _t = _t.getNextSibling(); break; } case BEGINS: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp2449_AST_in = (AST)_t; match(_t,BEGINS); _t = _t.getNextSibling(); sqlscalar(_t); _t = _retTree; _t = __t2458; _t = _t.getNextSibling(); break; } case Sql_between: { AST __t2460 = _t; AST tmp2450_AST_in = (AST)_t; match(_t,Sql_between); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOT: { AST tmp2451_AST_in = (AST)_t; match(_t,NOT); _t = _t.getNextSibling(); break; } case BETWEEN: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp2452_AST_in = (AST)_t; match(_t,BETWEEN); _t = _t.getNextSibling(); sqlscalar(_t); _t = _retTree; AST tmp2453_AST_in = (AST)_t; match(_t,AND); _t = _t.getNextSibling(); sqlscalar(_t); _t = _retTree; _t = __t2460; _t = _t.getNextSibling(); break; } case Sql_in: { AST __t2462 = _t; AST tmp2454_AST_in = (AST)_t; match(_t,Sql_in); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOT: { AST tmp2455_AST_in = (AST)_t; match(_t,NOT); _t = _t.getNextSibling(); break; } case IN_KW: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp2456_AST_in = (AST)_t; match(_t,IN_KW); _t = _t.getNextSibling(); AST tmp2457_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SELECT: { selectstatea(_t); _t = _retTree; break; } case LEXDATE: case NUMBER: case QSTRING: case BIGENDIAN: case EXCLUSIVELOCK: case FALSE_KW: case FINDCASESENSITIVE: case FINDGLOBAL: case FINDNEXTOCCURRENCE: case FINDPREVOCCURRENCE: case FINDSELECT: case FINDWRAPAROUND: case HOSTBYTEORDER: case LITTLEENDIAN: case NO: case NOLOCK: case NOWAIT: case NULL_KW: case READAVAILABLE: case READEXACTNUM: case SEARCHSELF: case SEARCHTARGET: case SHARELOCK: case TRUE_KW: case USERID: case WINDOWDELAYEDMINIMIZE: case WINDOWMAXIMIZED: case WINDOWMINIMIZED: case WINDOWNORMAL: case YES: case UNKNOWNVALUE: case Field_ref: case FUNCTIONCALLTYPE: case GETATTRCALLTYPE: case PROCEDURECALLTYPE: case SAXCOMPLETE: case SAXPARSERERROR: case SAXRUNNING: case SAXUNINITIALIZED: case SETATTRCALLTYPE: case ROWUNMODIFIED: case ROWDELETED: case ROWMODIFIED: case ROWCREATED: { sql_in_val(_t); _t = _retTree; { _loop2466: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp2458_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); sql_in_val(_t); _t = _retTree; } else { break _loop2466; } } while (true); } break; } default: { throw new NoViableAltException(_t); } } } AST tmp2459_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t2462; _t = _t.getNextSibling(); break; } case Sql_like: { AST __t2467 = _t; AST tmp2460_AST_in = (AST)_t; match(_t,Sql_like); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOT: { AST tmp2461_AST_in = (AST)_t; match(_t,NOT); _t = _t.getNextSibling(); break; } case LIKE: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp2462_AST_in = (AST)_t; match(_t,LIKE); _t = _t.getNextSibling(); sqlscalar(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ESCAPE: { AST tmp2463_AST_in = (AST)_t; match(_t,ESCAPE); _t = _t.getNextSibling(); sqlscalar(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t2467; _t = _t.getNextSibling(); break; } case Sql_null_test: { AST __t2470 = _t; AST tmp2464_AST_in = (AST)_t; match(_t,Sql_null_test); _t = _t.getFirstChild(); AST tmp2465_AST_in = (AST)_t; match(_t,IS); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOT: { AST tmp2466_AST_in = (AST)_t; match(_t,NOT); _t = _t.getNextSibling(); break; } case NULL_KW: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp2467_AST_in = (AST)_t; match(_t,NULL_KW); _t = _t.getNextSibling(); _t = __t2470; _t = _t.getNextSibling(); break; } default: if (_t==null) _t=ASTNULL; if ((_tokenSet_42.member(_t.getType()))) { sqlscalar(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
4744,
4149,
1337,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
4744,
4149,
1337,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
4869,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3247,
5718,
273,
389,
88,
31,
1082,
202,
9053,
1853,
3247,
1578,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
916,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
11410,
4149,
1337,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
11410,
4149,
1337,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
67,
88,
273,
1001,
88,
3247,
5718,
31,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
4116,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3247,
6418,
273,
389,
88,
31,
1082,
202,
9053,
1853,
3247,
3707,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
4307,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
11410,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
4744,
4149,
1337,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
4744,
4149,
1337,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
4869,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3247,
5718,
273,
389,
88,
31,
1082,
202,
9053,
1853,
3247,
1578,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
916,
1769,
1082,
202,
67,
88,
273,
389,
2
] |
if (methodId == Id_constructor) { return 0; }
|
if (prototypeFlag) { if (methodId == Id_constructor) { return 0; } }
|
public int methodArity(int methodId) { if (methodId == Id_constructor) { return 0; } return -1; }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/a388953fef0060b30fbaed415cbcffb0267ec213/NativeWith.java/clean/js/rhino/src/org/mozilla/javascript/NativeWith.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
707,
686,
560,
12,
474,
707,
548,
13,
288,
3639,
309,
261,
18541,
4678,
13,
288,
309,
261,
2039,
548,
422,
3124,
67,
12316,
13,
288,
327,
374,
31,
289,
289,
3639,
327,
300,
21,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
509,
707,
686,
560,
12,
474,
707,
548,
13,
288,
3639,
309,
261,
18541,
4678,
13,
288,
309,
261,
2039,
548,
422,
3124,
67,
12316,
13,
288,
327,
374,
31,
289,
289,
3639,
327,
300,
21,
31,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String expected = "<item id=\"1234\" class=\"http:
|
String expected = "<item id=\"1234\" class=\"http:
|
public void testRenderTypes() throws Exception { Types t = new Types(); t.setId(new Integer(1234)); t.setName("Types1"); t.setBooleanType(true); t.setFloatType(1.2f); t.setDoubleType(1.3d); t.setShortType((short) 231); t.setIntType(2); t.setLongType(327641237623423l); t.setBooleanObjType(Boolean.TRUE); t.setFloatObjType(new Float(2.2f)); t.setDoubleObjType(new Double(2.3d)); t.setShortObjType(new Short((short) 786)); t.setIntObjType(new Integer(4)); t.setLongObjType(new Long(876328471234l)); t.setBigDecimalObjType(new BigDecimal("9872876349183274123432.876128716235487621432")); t.setDateObjType(new Date(7777777777l)); t.setStringObjType("A String"); String expected = "<item id=\"1234\" class=\"http://www.flymine.org/model/testmodel#Types\" implements=\"http://www.flymine.org/model/testmodel#FlyMineBusinessObject\">" + ENDL + "<attribute name=\"bigDecimalObjType\" value=\"9872876349183274123432.876128716235487621432\"/>" + ENDL + "<attribute name=\"booleanObjType\" value=\"true\"/>" + ENDL + "<attribute name=\"booleanType\" value=\"true\"/>" + ENDL + "<attribute name=\"dateObjType\" value=\"7777777777\"/>" + ENDL + "<attribute name=\"doubleObjType\" value=\"2.3\"/>" + ENDL + "<attribute name=\"doubleType\" value=\"1.3\"/>" + ENDL + "<attribute name=\"floatObjType\" value=\"2.2\"/>" + ENDL + "<attribute name=\"floatType\" value=\"1.2\"/>" + ENDL + "<attribute name=\"intObjType\" value=\"4\"/>" + ENDL + "<attribute name=\"intType\" value=\"2\"/>" + ENDL + "<attribute name=\"longObjType\" value=\"876328471234\"/>" + ENDL + "<attribute name=\"longType\" value=\"327641237623423\"/>" + ENDL + "<attribute name=\"name\" value=\"Types1\"/>" + ENDL + "<attribute name=\"shortObjType\" value=\"786\"/>" + ENDL + "<attribute name=\"shortType\" value=\"231\"/>" + ENDL + "<attribute name=\"stringObjType\" value=\"A String\"/>" + ENDL + "</item>" + ENDL; assertEquals(expected, FullRenderer.render(t, model)); }
|
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/103499d542f84feee390bd10779134a557ccd4c0/FullRendererTest.java/clean/intermine/src/test/org/intermine/xml/full/FullRendererTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3420,
2016,
1435,
1216,
1185,
288,
3639,
7658,
268,
273,
394,
7658,
5621,
3639,
268,
18,
542,
548,
12,
2704,
2144,
12,
28462,
10019,
3639,
268,
18,
542,
461,
2932,
2016,
21,
8863,
3639,
268,
18,
542,
5507,
559,
12,
3767,
1769,
3639,
268,
18,
542,
4723,
559,
12,
21,
18,
22,
74,
1769,
3639,
268,
18,
542,
5265,
559,
12,
21,
18,
23,
72,
1769,
3639,
268,
18,
542,
4897,
559,
12443,
6620,
13,
576,
6938,
1769,
3639,
268,
18,
542,
1702,
559,
12,
22,
1769,
3639,
268,
18,
542,
3708,
559,
12,
1578,
27,
1105,
2138,
6418,
26,
17959,
4366,
80,
1769,
3639,
268,
18,
542,
5507,
2675,
559,
12,
5507,
18,
18724,
1769,
3639,
268,
18,
542,
4723,
2675,
559,
12,
2704,
5450,
12,
22,
18,
22,
74,
10019,
3639,
268,
18,
542,
5265,
2675,
559,
12,
2704,
3698,
12,
22,
18,
23,
72,
10019,
3639,
268,
18,
542,
4897,
2675,
559,
12,
2704,
7925,
12443,
6620,
13,
2371,
5292,
10019,
3639,
268,
18,
542,
1702,
2675,
559,
12,
2704,
2144,
12,
24,
10019,
3639,
268,
18,
542,
3708,
2675,
559,
12,
2704,
3407,
12,
28,
6669,
1578,
5193,
27,
28462,
80,
10019,
3639,
268,
18,
542,
29436,
2675,
559,
12,
2704,
8150,
2932,
10689,
27,
6030,
27,
4449,
7616,
2643,
1578,
5608,
28462,
1578,
18,
28,
6669,
10392,
27,
2313,
4366,
6564,
28,
6669,
22,
3461,
1578,
7923,
1769,
3639,
268,
18,
542,
1626,
2675,
559,
12,
2704,
2167,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
3420,
2016,
1435,
1216,
1185,
288,
3639,
7658,
268,
273,
394,
7658,
5621,
3639,
268,
18,
542,
548,
12,
2704,
2144,
12,
28462,
10019,
3639,
268,
18,
542,
461,
2932,
2016,
21,
8863,
3639,
268,
18,
542,
5507,
559,
12,
3767,
1769,
3639,
268,
18,
542,
4723,
559,
12,
21,
18,
22,
74,
1769,
3639,
268,
18,
542,
5265,
559,
12,
21,
18,
23,
72,
1769,
3639,
268,
18,
542,
4897,
559,
12443,
6620,
13,
576,
6938,
1769,
3639,
268,
18,
542,
1702,
559,
12,
22,
1769,
3639,
268,
18,
542,
3708,
559,
12,
1578,
27,
1105,
2138,
6418,
26,
17959,
4366,
80,
1769,
3639,
268,
18,
542,
5507,
2675,
559,
12,
5507,
18,
18724,
2
] |
if ("__BUILD_NUMBER__".equals(ourBuild)) ourBuild = "123";
|
if ("__BUILD_NUMBER__".equals(ourBuild)) ourBuild = Integer.toString(Integer.MAX_VALUE);
|
public static void checkForUpdates() throws ConnectionException { if (LOG.isDebugEnabled()) { LOG.debug("enter: checkForUpdates()"); } final Document document; try { document = loadVersionInfo(); } catch (Throwable t) { LOG.debug(t); throw new ConnectionException(t); } final String availBuild = document.getRootElement().getChild("build").getTextTrim(); final String availVersion = document.getRootElement().getChild("version").getTextTrim(); String ourBuild = ApplicationInfo.getInstance().getBuildNumber().trim(); if ("__BUILD_NUMBER__".equals(ourBuild)) ourBuild = "123";// TODO: change to correct behavior // Integer.toString(Integer.MAX_VALUE); if (LOG.isDebugEnabled()) { LOG.debug("build available:'" + availBuild + "' ourBuild='" + ourBuild + "' "); } try { final int iAvailBuild = Integer.parseInt(availBuild); final int iOurBuild = Integer.parseInt(ourBuild); if (iAvailBuild > iOurBuild) { NEW_VERION = new NewVersion(iAvailBuild, availVersion); } } catch (Throwable t) { LOG.debug(t); return; } UpdateSettingsConfigurable.getInstance().LAST_TIME_CHECKED = System.currentTimeMillis(); }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/c8c90ff256e290c86b49137a90030e1c35579b80/UpdateChecker.java/buggy/source/com/intellij/openapi/updateSettings/impl/UpdateChecker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
13855,
5121,
1435,
1216,
31545,
288,
565,
309,
261,
4842,
18,
291,
2829,
1526,
10756,
288,
1377,
2018,
18,
4148,
2932,
2328,
30,
13855,
5121,
1435,
8863,
565,
289,
565,
727,
4319,
1668,
31,
565,
775,
288,
1377,
1668,
273,
1262,
28571,
5621,
565,
289,
565,
1044,
261,
15155,
268,
13,
288,
1377,
2018,
18,
4148,
12,
88,
1769,
1377,
604,
394,
31545,
12,
88,
1769,
565,
289,
565,
727,
514,
15783,
3116,
273,
1668,
18,
588,
2375,
1046,
7675,
588,
1763,
2932,
3510,
20387,
588,
1528,
14795,
5621,
565,
727,
514,
15783,
1444,
273,
1668,
18,
588,
2375,
1046,
7675,
588,
1763,
2932,
1589,
20387,
588,
1528,
14795,
5621,
565,
514,
3134,
3116,
273,
4257,
966,
18,
588,
1442,
7675,
588,
3116,
1854,
7675,
5290,
5621,
565,
309,
7566,
972,
20215,
67,
9931,
972,
9654,
14963,
12,
477,
3116,
3719,
3134,
3116,
273,
315,
12936,
14432,
759,
2660,
30,
2549,
358,
3434,
6885,
4766,
17311,
368,
2144,
18,
10492,
12,
4522,
18,
6694,
67,
4051,
1769,
565,
309,
261,
4842,
18,
291,
2829,
1526,
10756,
288,
1377,
2018,
18,
4148,
2932,
3510,
2319,
2497,
6,
397,
15783,
3116,
397,
2491,
3134,
3116,
13396,
397,
3134,
3116,
397,
2491,
315,
1769,
565,
289,
565,
775,
288,
1377,
727,
509,
277,
3769,
671,
3116,
273,
2144,
18,
2670,
1702,
12,
842,
671,
3116,
1769,
1377,
727,
509,
277,
51,
295,
3116,
273,
2144,
18,
2670,
1702,
12,
477,
3116,
1769,
1377,
309,
261,
77,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
13855,
5121,
1435,
1216,
31545,
288,
565,
309,
261,
4842,
18,
291,
2829,
1526,
10756,
288,
1377,
2018,
18,
4148,
2932,
2328,
30,
13855,
5121,
1435,
8863,
565,
289,
565,
727,
4319,
1668,
31,
565,
775,
288,
1377,
1668,
273,
1262,
28571,
5621,
565,
289,
565,
1044,
261,
15155,
268,
13,
288,
1377,
2018,
18,
4148,
12,
88,
1769,
1377,
604,
394,
31545,
12,
88,
1769,
565,
289,
565,
727,
514,
15783,
3116,
273,
1668,
18,
588,
2375,
1046,
7675,
588,
1763,
2932,
3510,
20387,
588,
1528,
14795,
5621,
565,
727,
514,
15783,
1444,
273,
1668,
18,
588,
2375,
1046,
7675,
588,
1763,
2932,
1589,
20387,
588,
1528,
14795,
5621,
565,
514,
3134,
3116,
273,
2
] |
public org.quickfix.field.Account getAccount() throws FieldNotFound { org.quickfix.field.Account value = new org.quickfix.field.Account();
|
public quickfix.field.Account getAccount() throws FieldNotFound { quickfix.field.Account value = new quickfix.field.Account();
|
public org.quickfix.field.Account getAccount() throws FieldNotFound { org.quickfix.field.Account value = new org.quickfix.field.Account(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteStatusRequest.java/clean/src/java/src/quickfix/fix44/QuoteStatusRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
3032,
23393,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
3032,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
3032,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2358,
18,
19525,
904,
18,
1518,
18,
3032,
23393,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
3032,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
3032,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
recStr = record.toString();
|
recStr = record.toString();
|
String getStatus(CharSequence record) { long pos = -1; try { pos = getPos(); } catch(IOException io) { } String recStr; if(record.length() > statusMaxRecordChars_) { recStr = record.subSequence(0, statusMaxRecordChars_) + "..."; } else { recStr = record.toString(); } String unqualSplit = split_.getFile().getName() + ":" + split_.getStart() + "+" + split_.getLength(); String status = "HSTR " + StreamUtil.HOST + " " + numRec_ + ". pos=" + pos + " " + unqualSplit + " Processing record=" + recStr; status += " " + splitName_; return status; }
|
50331 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50331/e10b40e8014547113799b2653164e8c990d41209/StreamBaseRecordReader.java/clean/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamBaseRecordReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
514,
5870,
12,
2156,
4021,
1409,
13,
288,
565,
1525,
949,
273,
300,
21,
31,
565,
775,
288,
4202,
949,
273,
28666,
5621,
565,
289,
1044,
12,
14106,
2527,
13,
288,
565,
289,
565,
514,
1950,
1585,
31,
565,
309,
12,
3366,
18,
2469,
1435,
405,
1267,
2747,
2115,
7803,
67,
13,
288,
3639,
1950,
1585,
273,
1409,
18,
1717,
4021,
12,
20,
16,
1267,
2747,
2115,
7803,
67,
13,
397,
26456,
31,
565,
289,
469,
288,
377,
202,
3927,
1585,
273,
1409,
18,
10492,
5621,
565,
289,
565,
514,
640,
3369,
5521,
273,
1416,
27799,
29925,
7675,
17994,
1435,
397,
6153,
397,
1416,
27799,
588,
1685,
1435,
397,
17487,
397,
1416,
27799,
588,
1782,
5621,
565,
514,
1267,
273,
315,
44,
3902,
315,
397,
3961,
1304,
18,
8908,
397,
315,
315,
397,
818,
5650,
67,
397,
3552,
949,
1546,
397,
949,
377,
397,
315,
315,
397,
640,
3369,
5521,
397,
315,
19652,
1409,
1546,
397,
1950,
1585,
31,
565,
1267,
1011,
315,
315,
397,
1416,
461,
67,
31,
565,
327,
1267,
31,
225,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
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,
514,
5870,
12,
2156,
4021,
1409,
13,
288,
565,
1525,
949,
273,
300,
21,
31,
565,
775,
288,
4202,
949,
273,
28666,
5621,
565,
289,
1044,
12,
14106,
2527,
13,
288,
565,
289,
565,
514,
1950,
1585,
31,
565,
309,
12,
3366,
18,
2469,
1435,
405,
1267,
2747,
2115,
7803,
67,
13,
288,
3639,
1950,
1585,
273,
1409,
18,
1717,
4021,
12,
20,
16,
1267,
2747,
2115,
7803,
67,
13,
397,
26456,
31,
565,
289,
469,
288,
377,
202,
3927,
1585,
273,
1409,
18,
10492,
5621,
565,
289,
565,
514,
640,
3369,
5521,
273,
1416,
27799,
29925,
7675,
17994,
1435,
397,
6153,
397,
1416,
27799,
588,
1685,
1435,
397,
17487,
397,
1416,
27799,
588,
1782,
5621,
565,
514,
2
] |
do_alias_enable();
|
do_aliases();
|
public void actionPerformed(ActionEvent e) { do_alias_enable(); }});
|
3792 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3792/3640f0accac2caf33e91dc82574811270061681a/ClientDisplay.java/buggy/mud/Hegemon/ClientDisplay.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1850,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
5411,
741,
67,
13831,
5621,
540,
10523,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1850,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
5411,
741,
67,
13831,
5621,
540,
10523,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
throw new ArgumentError(getRuntime(), args.length, getArity());
|
throw getRuntime().newArgumentError(args.length, getArity());
|
public IRubyObject new_instance(IRubyObject[] args) { if (args.length != getArity()) { throw new ArgumentError(getRuntime(), args.length, getArity()); } Object[] constructorArguments = new Object[args.length]; Class[] types = constructor.getParameterTypes(); for (int i = 0; i < args.length; i++) { constructorArguments[i] = JavaUtil.convertArgument(args[i], types[i]); } try { Object result = constructor.newInstance(constructorArguments); return JavaObject.wrap(getRuntime(), result); } catch (IllegalArgumentException iae) { throw new TypeError(getRuntime(), "expected " + argument_types().inspect() + ", got [" + constructorArguments[0].getClass().getName() + ", ...]"); } catch (IllegalAccessException iae) { throw new TypeError(getRuntime(), "illegal access"); } catch (InvocationTargetException ite) { getRuntime().getJavaSupport().handleNativeException(ite.getTargetException()); Asserts.notReached(); return null; } catch (InstantiationException ie) { throw new TypeError(getRuntime(), "can't make instance of " + constructor.getDeclaringClass().getName()); } }
|
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/870e1da9b41bfdbae259e1fc5f18fc8b76686998/JavaConstructor.java/clean/src/org/jruby/javasupport/JavaConstructor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
394,
67,
1336,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
309,
261,
1968,
18,
2469,
480,
336,
686,
560,
10756,
288,
5411,
604,
18814,
7675,
2704,
1379,
668,
12,
1968,
18,
2469,
16,
336,
686,
560,
10663,
3639,
289,
3639,
1033,
8526,
3885,
4628,
273,
394,
1033,
63,
1968,
18,
2469,
15533,
3639,
1659,
8526,
1953,
273,
3885,
18,
588,
1662,
2016,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
5411,
3885,
4628,
63,
77,
65,
273,
5110,
1304,
18,
6283,
1379,
12,
1968,
63,
77,
6487,
1953,
63,
77,
19226,
3639,
289,
3639,
775,
288,
5411,
1033,
563,
273,
3885,
18,
2704,
1442,
12,
12316,
4628,
1769,
5411,
327,
5110,
921,
18,
4113,
12,
588,
5576,
9334,
563,
1769,
3639,
289,
1044,
261,
31237,
30905,
13,
288,
5411,
604,
394,
3580,
12,
588,
5576,
9334,
315,
3825,
315,
397,
1237,
67,
2352,
7675,
12009,
1435,
397,
4766,
2868,
3104,
2363,
8247,
397,
3885,
4628,
63,
20,
8009,
588,
797,
7675,
17994,
1435,
397,
3104,
1372,
4279,
1769,
3639,
289,
1044,
261,
12195,
9773,
30905,
13,
288,
5411,
604,
394,
3580,
12,
588,
5576,
9334,
315,
31751,
2006,
8863,
3639,
289,
1044,
261,
9267,
14950,
518,
73,
13,
288,
5411,
18814,
7675,
588,
5852,
6289,
7675,
4110,
9220,
503,
12,
1137,
18,
588,
14950,
10663,
5411,
5452,
87,
18,
902,
23646,
5621,
5411,
327,
446,
31,
3639,
289,
1044,
261,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15908,
10340,
921,
394,
67,
1336,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
309,
261,
1968,
18,
2469,
480,
336,
686,
560,
10756,
288,
5411,
604,
18814,
7675,
2704,
1379,
668,
12,
1968,
18,
2469,
16,
336,
686,
560,
10663,
3639,
289,
3639,
1033,
8526,
3885,
4628,
273,
394,
1033,
63,
1968,
18,
2469,
15533,
3639,
1659,
8526,
1953,
273,
3885,
18,
588,
1662,
2016,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
5411,
3885,
4628,
63,
77,
65,
273,
5110,
1304,
18,
6283,
1379,
12,
1968,
63,
77,
6487,
1953,
63,
77,
19226,
3639,
289,
3639,
775,
288,
5411,
1033,
563,
273,
3885,
18,
2
] |
super.delete(); m_schedule.unschedule();
|
synchronized (getTreeLock()) { super.delete(); m_schedule.unschedule(); }
|
public void delete() { super.delete(); m_schedule.unschedule(); }
|
11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/f6b0e5b5026461cd4acd6b2cb6ee097ec30ffa44/PollableService.java/clean/src/services/org/opennms/netmgt/poller/pollables/PollableService.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1430,
1435,
288,
3639,
2240,
18,
3733,
5621,
3639,
312,
67,
10676,
18,
318,
10676,
5621,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1430,
1435,
288,
3639,
2240,
18,
3733,
5621,
3639,
312,
67,
10676,
18,
318,
10676,
5621,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (log.isDebugEnabled()) { log.debug(LogManager.getHeader(context, "find_bitstream", "bitstream_format_id=" + formatRow.getIntColumn("bitstream_format_id"))); } BitstreamFormat fromCache = (BitstreamFormat) context.fromCache( BitstreamFormat.class, formatRow .getIntColumn("bitstream_format_id")); if (fromCache != null) { return fromCache; } return new BitstreamFormat(context, formatRow);
|
return findByFinish(context, formatRow);
|
public static BitstreamFormat findByShortDescription(Context context, String desc) throws SQLException { TableRow formatRow = DatabaseManager.findByUnique(context, "bitstreamformatregistry", "short_description", desc); if (formatRow == null) { return null; } // not null if (log.isDebugEnabled()) { log.debug(LogManager.getHeader(context, "find_bitstream", "bitstream_format_id=" + formatRow.getIntColumn("bitstream_format_id"))); } // From cache? BitstreamFormat fromCache = (BitstreamFormat) context.fromCache( BitstreamFormat.class, formatRow .getIntColumn("bitstream_format_id")); if (fromCache != null) { return fromCache; } return new BitstreamFormat(context, formatRow); }
|
51882 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51882/6de4ab065e835441c6df17fe326e6d904a13f915/BitstreamFormat.java/buggy/dspace/src/org/dspace/content/BitstreamFormat.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
6539,
3256,
1630,
6224,
4897,
3291,
12,
1042,
819,
16,
5411,
514,
3044,
13,
1216,
6483,
565,
288,
3639,
3555,
1999,
740,
1999,
273,
5130,
1318,
18,
4720,
858,
6303,
12,
2472,
16,
7734,
315,
3682,
3256,
2139,
9893,
3113,
315,
6620,
67,
3384,
3113,
3044,
1769,
3639,
309,
261,
2139,
1999,
422,
446,
13,
3639,
288,
5411,
327,
446,
31,
3639,
289,
3639,
368,
486,
446,
3639,
309,
261,
1330,
18,
291,
2829,
1526,
10756,
3639,
288,
5411,
613,
18,
4148,
12,
1343,
1318,
18,
588,
1864,
12,
2472,
16,
315,
4720,
67,
3682,
3256,
3113,
10792,
315,
3682,
3256,
67,
2139,
67,
350,
1546,
18701,
397,
740,
1999,
18,
588,
1702,
1494,
2932,
3682,
3256,
67,
2139,
67,
350,
6,
3719,
1769,
3639,
289,
3639,
368,
6338,
1247,
35,
3639,
6539,
3256,
1630,
628,
1649,
273,
261,
5775,
3256,
1630,
13,
819,
18,
2080,
1649,
12,
7734,
6539,
3256,
1630,
18,
1106,
16,
740,
1999,
13491,
263,
588,
1702,
1494,
2932,
3682,
3256,
67,
2139,
67,
350,
7923,
1769,
3639,
309,
261,
2080,
1649,
480,
446,
13,
3639,
288,
5411,
327,
628,
1649,
31,
3639,
289,
3639,
327,
394,
6539,
3256,
1630,
12,
2472,
16,
740,
1999,
1769,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
6539,
3256,
1630,
6224,
4897,
3291,
12,
1042,
819,
16,
5411,
514,
3044,
13,
1216,
6483,
565,
288,
3639,
3555,
1999,
740,
1999,
273,
5130,
1318,
18,
4720,
858,
6303,
12,
2472,
16,
7734,
315,
3682,
3256,
2139,
9893,
3113,
315,
6620,
67,
3384,
3113,
3044,
1769,
3639,
309,
261,
2139,
1999,
422,
446,
13,
3639,
288,
5411,
327,
446,
31,
3639,
289,
3639,
368,
486,
446,
3639,
309,
261,
1330,
18,
291,
2829,
1526,
10756,
3639,
288,
5411,
613,
18,
4148,
12,
1343,
1318,
18,
588,
1864,
12,
2472,
16,
315,
4720,
67,
3682,
3256,
3113,
10792,
315,
3682,
3256,
67,
2139,
67,
350,
1546,
18701,
397,
740,
1999,
18,
588,
1702,
1494,
2932,
3682,
2
] |
try { List<byte[]> lines = new LineReader().readLines(new ByteArrayInputStream(commitMessage.getBytes())); if (!lines.isEmpty()) { int lastIndex = lines.size() - 1; if (lines.get(lastIndex).length == 0) lines.remove(lastIndex); } if (lines.isEmpty()) return ""; if (lines.size() == 1) { return new String(lines.get(0)); } else { return new String(lines.get(0)) + "..."; } } catch (IOException e) { LOG.error(e);
|
int index13 = commitMessage.indexOf('\r'); int index10 = commitMessage.indexOf('\n'); if (index10 < 0 && index13 < 0) {
|
protected Comparable getDataOf(Object object) { String commitMessage = ((VcsFileRevision)object).getCommitMessage(); try { List<byte[]> lines = new LineReader().readLines(new ByteArrayInputStream(commitMessage.getBytes())); if (!lines.isEmpty()) { int lastIndex = lines.size() - 1; if (lines.get(lastIndex).length == 0) lines.remove(lastIndex); } if (lines.isEmpty()) return ""; if (lines.size() == 1) { return new String(lines.get(0)); } else { return new String(lines.get(0)) + "..."; } } catch (IOException e) { LOG.error(e); return commitMessage; } }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/3de0fd6612b01325d3a8e2dd29c980447948f32c/FileHistoryPanelImpl.java/buggy/source/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
13633,
4303,
951,
12,
921,
733,
13,
288,
1377,
514,
3294,
1079,
273,
14015,
58,
2143,
812,
7939,
13,
1612,
2934,
588,
5580,
1079,
5621,
1377,
775,
288,
3639,
987,
32,
7229,
8526,
34,
2362,
273,
394,
5377,
2514,
7675,
896,
5763,
12,
2704,
16180,
12,
7371,
1079,
18,
588,
2160,
1435,
10019,
3639,
309,
16051,
3548,
18,
291,
1921,
10756,
288,
1850,
509,
7536,
273,
2362,
18,
1467,
1435,
300,
404,
31,
1850,
309,
261,
3548,
18,
588,
12,
2722,
1016,
2934,
2469,
422,
374,
13,
2362,
18,
4479,
12,
2722,
1016,
1769,
3639,
289,
3639,
309,
261,
3548,
18,
291,
1921,
10756,
327,
1408,
31,
3639,
309,
261,
3548,
18,
1467,
1435,
422,
404,
13,
288,
1850,
327,
394,
514,
12,
3548,
18,
588,
12,
20,
10019,
3639,
289,
3639,
469,
288,
1850,
327,
394,
514,
12,
3548,
18,
588,
12,
20,
3719,
397,
26456,
31,
3639,
289,
1377,
289,
1377,
1044,
261,
14106,
425,
13,
288,
3639,
2018,
18,
1636,
12,
73,
1769,
3639,
327,
3294,
1079,
31,
1377,
289,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
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,
13633,
4303,
951,
12,
921,
733,
13,
288,
1377,
514,
3294,
1079,
273,
14015,
58,
2143,
812,
7939,
13,
1612,
2934,
588,
5580,
1079,
5621,
1377,
775,
288,
3639,
987,
32,
7229,
8526,
34,
2362,
273,
394,
5377,
2514,
7675,
896,
5763,
12,
2704,
16180,
12,
7371,
1079,
18,
588,
2160,
1435,
10019,
3639,
309,
16051,
3548,
18,
291,
1921,
10756,
288,
1850,
509,
7536,
273,
2362,
18,
1467,
1435,
300,
404,
31,
1850,
309,
261,
3548,
18,
588,
12,
2722,
1016,
2934,
2469,
422,
374,
13,
2362,
18,
4479,
12,
2722,
1016,
1769,
3639,
289,
3639,
309,
261,
3548,
18,
291,
1921,
10756,
327,
1408,
31,
3639,
309,
261,
3548,
18,
1467,
1435,
422,
404,
13,
2
] |
return queued_messages.getFirstSeq();
|
return queued_messages.getFirstSeq();
|
protected long getFirstQueuedSeqID() { return queued_messages.getFirstSeq(); }
|
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/5ad015d9a78e1da3350d9b398b46b2f5d4508564/TOTAL_OLD.java/clean/src/org/jgroups/protocols/TOTAL_OLD.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1525,
7521,
21039,
6926,
734,
1435,
288,
202,
2463,
12234,
67,
6833,
18,
588,
3759,
6926,
5621,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1525,
7521,
21039,
6926,
734,
1435,
288,
202,
2463,
12234,
67,
6833,
18,
588,
3759,
6926,
5621,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
requestCursor(NORMAL_CURSOR); JSVGCanvas.this.repaint();
|
requestCursor(NORMAL_CURSOR); JSVGCanvas.this.repaint(); }
|
public void run() { long t1 = System.currentTimeMillis(); requestCursor(WAIT_CURSOR); synchronized (globalBuffer) { // if we don't synchronize, we can accidentlly // paint twice after clearing twice clearBuffer(buffer, (int) (this.size.getWidth()), (int) (this.size.getHeight())); renderer.repaint(aoi); } long t2 = System.currentTimeMillis(); System.out.println("----------- Rendering --------- " + (t2 - t1) + " ms"); requestCursor(NORMAL_CURSOR); JSVGCanvas.this.repaint(); }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/3261258c9ba4b45204a6b564e0320550d2cc7855/JSVGCanvas.java/clean/sources/org/apache/batik/refimpl/util/JSVGCanvas.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
1525,
268,
21,
273,
2332,
18,
2972,
28512,
5621,
5411,
590,
6688,
12,
19046,
67,
7509,
55,
916,
1769,
5411,
3852,
261,
6347,
1892,
13,
288,
7734,
368,
309,
732,
2727,
1404,
16978,
16,
732,
848,
25961,
80,
715,
7734,
368,
12574,
13605,
1839,
29820,
13605,
7734,
2424,
1892,
12,
4106,
16,
261,
474,
13,
261,
2211,
18,
1467,
18,
588,
2384,
1435,
3631,
4766,
565,
261,
474,
13,
261,
2211,
18,
1467,
18,
588,
2686,
1435,
10019,
7734,
5690,
18,
14462,
1598,
12,
6033,
77,
1769,
5411,
289,
5411,
1525,
268,
22,
273,
2332,
18,
2972,
28512,
5621,
5411,
2332,
18,
659,
18,
8222,
2932,
13849,
18018,
300,
788,
315,
397,
1171,
9079,
261,
88,
22,
300,
268,
21,
13,
397,
315,
4086,
8863,
5411,
590,
6688,
12,
15480,
67,
7509,
55,
916,
1769,
5411,
6756,
9266,
12971,
18,
2211,
18,
14462,
1598,
5621,
3639,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
540,
1071,
918,
1086,
1435,
288,
5411,
1525,
268,
21,
273,
2332,
18,
2972,
28512,
5621,
5411,
590,
6688,
12,
19046,
67,
7509,
55,
916,
1769,
5411,
3852,
261,
6347,
1892,
13,
288,
7734,
368,
309,
732,
2727,
1404,
16978,
16,
732,
848,
25961,
80,
715,
7734,
368,
12574,
13605,
1839,
29820,
13605,
7734,
2424,
1892,
12,
4106,
16,
261,
474,
13,
261,
2211,
18,
1467,
18,
588,
2384,
1435,
3631,
4766,
565,
261,
474,
13,
261,
2211,
18,
1467,
18,
588,
2686,
1435,
10019,
7734,
5690,
18,
14462,
1598,
12,
6033,
77,
1769,
5411,
289,
5411,
1525,
268,
22,
273,
2332,
18,
2972,
28512,
5621,
5411,
2332,
18,
659,
18,
8222,
2932,
13849,
18018,
300,
788,
315,
397,
2
] |
Lexer lexer = new Lexer(content);
|
public String replaceLinks(CmsObject cms, String content, String relativePath) throws ParserException { Lexer lexer = new Lexer(content); m_relativePath = relativePath; m_mode = C_REPLACE_LINKS; m_cms = cms; m_result = new StringBuffer(); Parser parser = new Parser(); parser.setLexer(lexer); parser.visitAllNodesWith(this); return m_result.toString(); }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/c66c28e4527a155adbc10a942722ddcbad495baf/CmsLinkProcessor.java/buggy/src/org/opencms/staticexport/CmsLinkProcessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1453,
7100,
12,
4747,
921,
6166,
16,
514,
913,
16,
514,
12820,
13,
1216,
27990,
288,
15604,
312,
67,
11626,
743,
273,
12820,
31,
3639,
312,
67,
3188,
273,
385,
67,
21726,
67,
10554,
55,
31,
3639,
312,
67,
6851,
273,
6166,
31,
1171,
312,
67,
2088,
273,
394,
6674,
5621,
7734,
6783,
2082,
273,
394,
6783,
5621,
3639,
2082,
18,
542,
13356,
12,
31731,
1769,
3639,
2082,
18,
11658,
1595,
3205,
1190,
12,
2211,
1769,
7734,
327,
312,
67,
2088,
18,
10492,
5621,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
514,
1453,
7100,
12,
4747,
921,
6166,
16,
514,
913,
16,
514,
12820,
13,
1216,
27990,
288,
15604,
312,
67,
11626,
743,
273,
12820,
31,
3639,
312,
67,
3188,
273,
385,
67,
21726,
67,
10554,
55,
31,
3639,
312,
67,
6851,
273,
6166,
31,
1171,
312,
67,
2088,
273,
394,
6674,
5621,
7734,
6783,
2082,
273,
394,
6783,
5621,
3639,
2082,
18,
542,
13356,
12,
31731,
1769,
3639,
2082,
18,
11658,
1595,
3205,
1190,
12,
2211,
1769,
7734,
327,
312,
67,
2088,
18,
10492,
5621,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
if (ds.getReadableName ().equalsIgnoreCase(aReadableName)) return ds; }
|
if (ds.getReadableName ().equalsIgnoreCase(aReadableName)) return ds; }
|
public DataSource find (String aReadableName) { for (Enumeration e = mDataSources.elements() ; e.hasMoreElements() ;) { DataSource ds = (DataSource) e.nextElement(); if (ds.getReadableName ().equalsIgnoreCase(aReadableName)) return ds; } return null; }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/b0fa2f56cd2dcc90452b768e6b38187cfb8c30eb/AddressBook.java/clean/grendel/addressbook/AddressBook.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
12806,
1104,
261,
780,
279,
14151,
461,
13,
288,
5411,
364,
261,
21847,
425,
273,
312,
751,
8628,
18,
6274,
1435,
274,
425,
18,
5332,
7417,
3471,
1435,
274,
13,
288,
7734,
12806,
3780,
273,
261,
8597,
13,
425,
18,
4285,
1046,
5621,
7734,
309,
261,
2377,
18,
588,
14151,
461,
1832,
18,
14963,
5556,
12,
69,
14151,
461,
3719,
10792,
327,
3780,
31,
6647,
289,
6647,
327,
446,
31,
3639,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
540,
1071,
12806,
1104,
261,
780,
279,
14151,
461,
13,
288,
5411,
364,
261,
21847,
425,
273,
312,
751,
8628,
18,
6274,
1435,
274,
425,
18,
5332,
7417,
3471,
1435,
274,
13,
288,
7734,
12806,
3780,
273,
261,
8597,
13,
425,
18,
4285,
1046,
5621,
7734,
309,
261,
2377,
18,
588,
14151,
461,
1832,
18,
14963,
5556,
12,
69,
14151,
461,
3719,
10792,
327,
3780,
31,
6647,
289,
6647,
327,
446,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return getIfMap().keySet();
|
return getIfMap().values();
|
public Collection getIfInfos() { return getIfMap().keySet(); }
|
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/7d37131e71653ca0e637988b6c4038d65d0d8cf4/CollectionSet.java/clean/src/services/org/opennms/netmgt/collectd/CollectionSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2200,
336,
2047,
7655,
1435,
288,
3639,
327,
336,
2047,
863,
7675,
2372,
5621,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2200,
336,
2047,
7655,
1435,
288,
3639,
327,
336,
2047,
863,
7675,
2372,
5621,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
profile.saveBag(BagHelper.findNewBagName(savedBags, mbf.getNewBagName()), combined);
|
String name = BagHelper.findNewBagName(savedBags, mbf.getNewBagName()); profile.saveBag(name, combined);
|
public ActionForward union(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { HttpSession session = request.getSession(); Profile profile = (Profile) session.getAttribute(Constants.PROFILE); ModifyBagForm mbf = (ModifyBagForm) form; ServletContext servletContext = session.getServletContext(); ObjectStore os = (ObjectStore) servletContext.getAttribute(Constants.OBJECTSTORE); Map savedBags = profile.getSavedBags(); String[] selectedBags = mbf.getSelectedBags(); if (!typesMatch(savedBags, selectedBags)) { recordError(new ActionMessage("bag.typesDontMatch"), request); return mapping.findForward("history"); } // Now combine Class type = savedBags.get(selectedBags[0]).getClass(); InterMineBag combined = (InterMineBag) type.newInstance(); for (int i = 0; i < mbf.getSelectedBags().length; i++) { combined.addAll((Collection) savedBags.get(selectedBags[i])); } int defaultMax = 10000; int maxBagSize = WebUtil.getIntSessionProperty(session, "max.bag.size", defaultMax); if (combined.size () > maxBagSize) { ActionMessage actionMessage = new ActionMessage("bag.tooBig", new Integer(maxBagSize)); recordError(actionMessage, request); return mapping.findForward("history"); } profile.saveBag(BagHelper.findNewBagName(savedBags, mbf.getNewBagName()), combined); return mapping.findForward("history"); }
|
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/10d868c54ca47c727e8766fe5932793c3cf4cbad/ModifyBagAction.java/clean/intermine/web/main/src/org/intermine/web/history/ModifyBagAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
8514,
7812,
12,
1803,
3233,
2874,
16,
1171,
9079,
4382,
1204,
646,
16,
1171,
9079,
9984,
590,
16,
1171,
9079,
12446,
766,
13,
3639,
1216,
1185,
288,
3639,
26166,
1339,
273,
590,
18,
588,
2157,
5621,
3639,
11357,
3042,
273,
261,
4029,
13,
1339,
18,
588,
1499,
12,
2918,
18,
22462,
1769,
3639,
9518,
5013,
1204,
4903,
74,
273,
261,
11047,
5013,
1204,
13,
646,
31,
3639,
22717,
20474,
273,
1339,
18,
588,
4745,
1042,
5621,
3639,
1033,
2257,
1140,
273,
261,
921,
2257,
13,
20474,
18,
588,
1499,
12,
2918,
18,
9422,
13651,
1769,
7734,
1635,
5198,
38,
1341,
273,
3042,
18,
588,
16776,
38,
1341,
5621,
3639,
514,
8526,
3170,
38,
1341,
273,
4903,
74,
18,
588,
7416,
38,
1341,
5621,
7734,
309,
16051,
2352,
2060,
12,
14077,
38,
1341,
16,
3170,
38,
1341,
3719,
288,
5411,
1409,
668,
12,
2704,
4382,
1079,
2932,
22551,
18,
2352,
40,
1580,
2060,
6,
3631,
590,
1769,
5411,
327,
2874,
18,
4720,
8514,
2932,
8189,
8863,
3639,
289,
7734,
368,
4494,
8661,
3639,
1659,
618,
273,
5198,
38,
1341,
18,
588,
12,
8109,
38,
1341,
63,
20,
65,
2934,
588,
797,
5621,
3639,
5294,
49,
558,
5013,
8224,
273,
261,
2465,
49,
558,
5013,
13,
618,
18,
2704,
1442,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
4903,
74,
18,
588,
7416,
38,
1341,
7675,
2469,
31,
277,
27245,
288,
5411,
8224,
18,
1289,
1595,
12443,
2532,
13,
5198,
38,
1341,
18,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4382,
8514,
7812,
12,
1803,
3233,
2874,
16,
1171,
9079,
4382,
1204,
646,
16,
1171,
9079,
9984,
590,
16,
1171,
9079,
12446,
766,
13,
3639,
1216,
1185,
288,
3639,
26166,
1339,
273,
590,
18,
588,
2157,
5621,
3639,
11357,
3042,
273,
261,
4029,
13,
1339,
18,
588,
1499,
12,
2918,
18,
22462,
1769,
3639,
9518,
5013,
1204,
4903,
74,
273,
261,
11047,
5013,
1204,
13,
646,
31,
3639,
22717,
20474,
273,
1339,
18,
588,
4745,
1042,
5621,
3639,
1033,
2257,
1140,
273,
261,
921,
2257,
13,
20474,
18,
588,
1499,
12,
2918,
18,
9422,
13651,
1769,
7734,
1635,
5198,
38,
1341,
273,
3042,
18,
588,
16776,
38,
1341,
5621,
3639,
514,
8526,
3170,
38,
1341,
273,
4903,
2
] |
parse(buffer.toString(), ParserLanguage.CPP, true, true);
|
parse(buffer.toString(), ParserLanguage.CPP, true, 0);
|
public void test7_1s3() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("void h(unsigned Pc); // void h(unsigned int)\n"); //$NON-NLS-1$ buffer.append("void k(unsigned int Pc); // void k(unsigned int)\n"); //$NON-NLS-1$ parse(buffer.toString(), ParserLanguage.CPP, true, true); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7d7fa374bfd169ce8924a5c15bd01444e6e6e445/AST2CPPSpecTest.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPSpecTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
27,
67,
21,
87,
23,
1435,
1216,
1185,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
4106,
18,
6923,
2932,
6459,
366,
12,
22297,
453,
71,
1769,
368,
918,
366,
12,
22297,
509,
5153,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
6459,
417,
12,
22297,
509,
453,
71,
1769,
368,
918,
417,
12,
22297,
509,
5153,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
2670,
12,
4106,
18,
10492,
9334,
6783,
3779,
18,
4258,
52,
16,
638,
16,
638,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
918,
1842,
27,
67,
21,
87,
23,
1435,
1216,
1185,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
4106,
18,
6923,
2932,
6459,
366,
12,
22297,
453,
71,
1769,
368,
918,
366,
12,
22297,
509,
5153,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
6459,
417,
12,
22297,
509,
453,
71,
1769,
368,
918,
417,
12,
22297,
509,
5153,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
2670,
12,
4106,
18,
10492,
9334,
6783,
3779,
18,
4258,
52,
16,
638,
16,
638,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
tempEntry = build .getEntry(IBuildPropertiesConstants.PROPERTY_OUTPUT_PREFIX + oldName); if (tempEntry != null) { tempEntry .setName(IBuildPropertiesConstants.PROPERTY_OUTPUT_PREFIX + newValue.substring(7));
|
tempEntry = build.getEntry(PROPERTY_OUTPUT_PREFIX + oldName); if (tempEntry != null) tempEntry.setName(PROPERTY_OUTPUT_PREFIX + newValue.substring(7));
|
protected void entryModified(IBuildEntry oldEntry, String newValue) { final IBuildEntry entry = oldEntry; IBuildModel buildModel = getBuildModel(); IBuild build = buildModel.getBuild(); String oldName = entry.getName().substring(7); try { if (newValue.equals(entry.getName())) return; if (!newValue.startsWith(IBuildEntry.JAR_PREFIX)) newValue = IBuildEntry.JAR_PREFIX + newValue; if (!newValue.endsWith(".jar") && !newValue.endsWith("/") && !newValue.equals(IBuildEntry.JAR_PREFIX + ".")) //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ newValue +="/"; //$NON-NLS-1$ // jars.compile.order IBuildEntry tempEntry = build .getEntry(IBuildPropertiesConstants.PROPERTY_JAR_ORDER); if (tempEntry != null && tempEntry.contains(oldName)){ tempEntry.renameToken(oldName, newValue.substring(7)); } // output.{source folder}.jar tempEntry = build .getEntry(IBuildPropertiesConstants.PROPERTY_OUTPUT_PREFIX + oldName); if (tempEntry != null) { tempEntry .setName(IBuildPropertiesConstants.PROPERTY_OUTPUT_PREFIX + newValue.substring(7)); } // bin.includes tempEntry = build .getEntry(IBuildPropertiesConstants.PROPERTY_BIN_INCLUDES); if (tempEntry != null && tempEntry.contains(oldName)){ tempEntry.renameToken(oldName, newValue.substring(7)); } // bin.excludes tempEntry = build .getEntry(IBuildPropertiesConstants.PROPERTY_BIN_EXCLUDES); if (tempEntry != null && tempEntry.contains(oldName)){ tempEntry.renameToken(oldName, newValue.substring(7)); } // rename entry.setName(newValue); } catch (CoreException e) { PDEPlugin.logException(e); } }
|
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/8ef0d6ed33a0ada7aa654f23bd5c2b63fd6d7fd6/RuntimeInfoSection.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/build/RuntimeInfoSection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1241,
4575,
12,
45,
3116,
1622,
1592,
1622,
16,
514,
6129,
13,
288,
202,
202,
6385,
467,
3116,
1622,
1241,
273,
1592,
1622,
31,
202,
202,
45,
3116,
1488,
1361,
1488,
273,
21122,
1488,
5621,
202,
202,
45,
3116,
1361,
273,
1361,
1488,
18,
588,
3116,
5621,
202,
202,
780,
22916,
273,
1241,
18,
17994,
7675,
28023,
12,
27,
1769,
9506,
202,
698,
288,
1082,
202,
430,
261,
2704,
620,
18,
14963,
12,
4099,
18,
17994,
1435,
3719,
9506,
202,
2463,
31,
1082,
202,
430,
16051,
2704,
620,
18,
17514,
1190,
12,
45,
3116,
1622,
18,
46,
985,
67,
6307,
3719,
9506,
202,
2704,
620,
273,
467,
3116,
1622,
18,
46,
985,
67,
6307,
397,
6129,
31,
1082,
202,
430,
16051,
2704,
620,
18,
5839,
1190,
2932,
18,
11930,
7923,
597,
401,
2704,
620,
18,
5839,
1190,
2932,
4898,
13,
597,
401,
2704,
620,
18,
14963,
12,
45,
3116,
1622,
18,
46,
985,
67,
6307,
397,
4585,
3719,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
4329,
3993,
17,
5106,
17,
23,
8,
9506,
202,
2704,
620,
1011,
6,
4898,
31,
4329,
3993,
17,
5106,
17,
21,
8,
25083,
202,
759,
28838,
18,
11100,
18,
1019,
1082,
202,
45,
3116,
1622,
1906,
1622,
273,
1361,
1082,
202,
18,
588,
1622,
12,
45,
3116,
2297,
2918,
18,
9900,
67,
46,
985,
67,
7954,
1769,
1082,
202,
430,
261,
5814,
1622,
480,
446,
597,
1906,
1622,
18,
12298,
12,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1241,
4575,
12,
45,
3116,
1622,
1592,
1622,
16,
514,
6129,
13,
288,
202,
202,
6385,
467,
3116,
1622,
1241,
273,
1592,
1622,
31,
202,
202,
45,
3116,
1488,
1361,
1488,
273,
21122,
1488,
5621,
202,
202,
45,
3116,
1361,
273,
1361,
1488,
18,
588,
3116,
5621,
202,
202,
780,
22916,
273,
1241,
18,
17994,
7675,
28023,
12,
27,
1769,
9506,
202,
698,
288,
1082,
202,
430,
261,
2704,
620,
18,
14963,
12,
4099,
18,
17994,
1435,
3719,
9506,
202,
2463,
31,
1082,
202,
430,
16051,
2704,
620,
18,
17514,
1190,
12,
45,
3116,
1622,
18,
46,
985,
67,
6307,
3719,
9506,
202,
2704,
620,
273,
467,
3116,
1622,
18,
46,
985,
67,
6307,
397,
2
] |
return super.validateTakeValueForKeyPath(convertNumber(number), aPath);
|
return super.validateTakeValueForKeyPath(convertNumber(number), propertyKey());
|
public Object validateTakeValueForKeyPath (Object anObject, String aPath) throws NSValidation.ValidationException { Number number = null; try { if (anObject instanceof String) { number = (Number)numberFormatValueForString((String)anObject); } else if (anObject!=null && !(anObject instanceof Number)) { log.warn("Unable to read number: " + anObject); throw ERXValidationFactory.defaultFactory().createException(object(), propertyKey(), anObject, "NotANumberException"); } } catch(NSValidation.ValidationException ex) { validationFailedWithException(ex, anObject, propertyKey()); throw ex; } return super.validateTakeValueForKeyPath(convertNumber(number), aPath); }
|
46145 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46145/12faf466b38d7610844969f629cba5a554f7663b/ERD2WEditNumber.java/clean/Common/Frameworks/ERDirectToWeb/Sources/er/directtoweb/ERD2WEditNumber.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1954,
13391,
620,
19759,
743,
261,
921,
392,
921,
16,
514,
279,
743,
13,
1216,
11472,
4354,
18,
18146,
288,
3639,
3588,
1300,
273,
446,
31,
3639,
775,
288,
5411,
309,
261,
304,
921,
1276,
514,
13,
288,
7734,
1300,
273,
261,
1854,
13,
2696,
1630,
620,
1290,
780,
12443,
780,
13,
304,
921,
1769,
5411,
289,
469,
309,
261,
304,
921,
5,
33,
2011,
597,
401,
12,
304,
921,
1276,
3588,
3719,
288,
7734,
613,
18,
8935,
2932,
3370,
358,
855,
1300,
30,
315,
397,
392,
921,
1769,
7734,
604,
4232,
60,
4354,
1733,
18,
1886,
1733,
7675,
2640,
503,
12,
1612,
9334,
30299,
9334,
392,
921,
16,
315,
1248,
1258,
1226,
503,
8863,
5411,
289,
3639,
289,
1044,
12,
3156,
4354,
18,
18146,
431,
13,
288,
5411,
3379,
2925,
1190,
503,
12,
338,
16,
392,
921,
16,
30299,
10663,
5411,
604,
431,
31,
3639,
289,
3639,
327,
2240,
18,
5662,
13391,
620,
19759,
743,
12,
6283,
1854,
12,
2696,
3631,
30299,
10663,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1033,
1954,
13391,
620,
19759,
743,
261,
921,
392,
921,
16,
514,
279,
743,
13,
1216,
11472,
4354,
18,
18146,
288,
3639,
3588,
1300,
273,
446,
31,
3639,
775,
288,
5411,
309,
261,
304,
921,
1276,
514,
13,
288,
7734,
1300,
273,
261,
1854,
13,
2696,
1630,
620,
1290,
780,
12443,
780,
13,
304,
921,
1769,
5411,
289,
469,
309,
261,
304,
921,
5,
33,
2011,
597,
401,
12,
304,
921,
1276,
3588,
3719,
288,
7734,
613,
18,
8935,
2932,
3370,
358,
855,
1300,
30,
315,
397,
392,
921,
1769,
7734,
604,
4232,
60,
4354,
1733,
18,
1886,
1733,
7675,
2640,
503,
12,
1612,
9334,
30299,
9334,
392,
921,
16,
315,
1248,
1258,
1226,
503,
8863,
5411,
2
] |
BoxRendering.paint(c, inline);
|
BoxRendering.paint(c, inline, false);
|
static void paintAbsolute(Context c, Box inline) { // Uu.p("paint absolute: " + inline); //c.translate(line.x, line.y + (line.baseline - inline.height)); /*Renderer rend = c.getRenderer(inline.content.getElement()); rend.paint(c, inline);*/ BoxRendering.paint(c, inline); //c.translate(-line.x, -(line.y + (line.baseline - inline.height))); }
|
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/71b2cfce5b6554582e24848d6c3702480ac8ba6c/InlineRendering.java/buggy/src/java/org/xhtmlrenderer/render/InlineRendering.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
918,
12574,
10368,
12,
1042,
276,
16,
8549,
6370,
13,
288,
3639,
368,
587,
89,
18,
84,
2932,
84,
1598,
4967,
30,
315,
397,
6370,
1769,
3639,
368,
71,
18,
13929,
12,
1369,
18,
92,
16,
980,
18,
93,
397,
261,
1369,
18,
27818,
300,
6370,
18,
4210,
10019,
3639,
1748,
6747,
1654,
72,
273,
276,
18,
588,
6747,
12,
10047,
18,
1745,
18,
21336,
10663,
3639,
1654,
72,
18,
84,
1598,
12,
71,
16,
6370,
1769,
5549,
3639,
8549,
14261,
18,
84,
1598,
12,
71,
16,
6370,
16,
629,
1769,
3639,
368,
71,
18,
13929,
19236,
1369,
18,
92,
16,
300,
12,
1369,
18,
93,
397,
261,
1369,
18,
27818,
300,
6370,
18,
4210,
3719,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
760,
918,
12574,
10368,
12,
1042,
276,
16,
8549,
6370,
13,
288,
3639,
368,
587,
89,
18,
84,
2932,
84,
1598,
4967,
30,
315,
397,
6370,
1769,
3639,
368,
71,
18,
13929,
12,
1369,
18,
92,
16,
980,
18,
93,
397,
261,
1369,
18,
27818,
300,
6370,
18,
4210,
10019,
3639,
1748,
6747,
1654,
72,
273,
276,
18,
588,
6747,
12,
10047,
18,
1745,
18,
21336,
10663,
3639,
1654,
72,
18,
84,
1598,
12,
71,
16,
6370,
1769,
5549,
3639,
8549,
14261,
18,
84,
1598,
12,
71,
16,
6370,
16,
629,
1769,
3639,
368,
71,
18,
13929,
19236,
1369,
18,
92,
16,
300,
12,
1369,
18,
93,
397,
261,
1369,
18,
27818,
300,
6370,
18,
4210,
3719,
1769,
2
] |
DebugLog.stdoutPrintln(" didn't find a breakpoint...", DebugLog.BSF_LOG_L3);
|
DebugLog.stdoutPrintln(" didn't find a breakpoint...", DebugLog.BSF_LOG_L3);
|
public void _handleBreakpointHit(DocumentCell cell, int lineno) { JsCallbacks debugger; BreakPoint bp; Enumeration e; JsContext stub=null; boolean breakpointFound=false; boolean suspend=false; try { bp = cell.findBreakpointAtLine(lineno); } catch (BSFException bsfex) { bp = null; } if (bp != null) { breakpointFound = true; try { stub = m_rcp.hitBreakpoint(); DebugLog.stdoutPrintln(" breakpoint callback...", DebugLog.BSF_LOG_L3); m_callbacks.createFuture(m_rcp); m_callbacks.handleBreakpointHit(stub); suspend = true; } catch (RemoteException rex) { DebugLog.stderrPrintln(" EXCEPTION OCCURED DURING BREAKPOINT CALLBACK", DebugLog.BSF_LOG_L0); DebugLog.stderrPrintln(rex.getMessage(), DebugLog.BSF_LOG_L0); rex.printStackTrace(); suspend = false; } } else { DebugLog.stdoutPrintln(" didn't find a breakpoint...", DebugLog.BSF_LOG_L3); breakpointFound = false; } if (!breakpointFound) { // we haven't found a breakpoint at the current // line in the current document, we must be stepping // or in entry/exit mode try { stub = m_rcp.stepping(); FnOrScript current = cell.findFnOrScriptContaining(lineno); if (stub != null) { cell.setLastFnOrScript(current); DebugLog.stdoutPrintln(" stepping-done callback...", DebugLog.BSF_LOG_L3); m_callbacks.createFuture(m_rcp); m_callbacks.handleSteppingDone(stub); suspend = true; } else if (cell.getEntryExit() && (current != cell.getLastFnOrScript()) && (m_rcp.getContextCount() == 0)) { cell.setLastFnOrScript(current); stub = m_rcp.entry_exit_mode(); DebugLog.stdoutPrintln(" entry/exit mode...", DebugLog.BSF_LOG_L3); m_callbacks.createFuture(m_rcp); m_callbacks.handleSteppingDone(stub); suspend = true; } else { DebugLog.stdoutPrintln(" No reason to suspend execution.", DebugLog.BSF_LOG_L3); suspend = false; } } catch (RemoteException rex) { DebugLog.stderrPrintln(" EXCEPTION OCCURED DURING STEPPING-DONE CALLBACK", DebugLog.BSF_LOG_L0); DebugLog.stderrPrintln(rex.getMessage(), DebugLog.BSF_LOG_L0); rex.printStackTrace(); suspend = false; } } if (suspend) { // now, suspend this thread... until // we restart. try { m_callbacks.suspendFuture(m_rcp); } catch (Exception ex) { DebugLog.stdoutPrintln("Future creation failed... releasing the engine", DebugLog.BSF_LOG_L3); m_rcp.run(); } } }
|
50120 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50120/c862ef8858a7f8b398971097f11def4fa36a193c/RhinoEngineDebugger.java/clean/src/bsf-2.3/bsf/src/org/apache/bsf/engines/javascript/RhinoEngineDebugger.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
389,
4110,
20552,
13616,
12,
2519,
4020,
2484,
16,
509,
7586,
13,
288,
3639,
10209,
10617,
19977,
31,
3639,
17030,
2148,
9107,
31,
3639,
13864,
425,
31,
3639,
10209,
1042,
7168,
33,
2011,
31,
3639,
1250,
18820,
2043,
33,
5743,
31,
3639,
1250,
20413,
33,
5743,
31,
1082,
3639,
775,
288,
5411,
9107,
273,
2484,
18,
4720,
20552,
861,
1670,
12,
17782,
1769,
3639,
289,
1044,
261,
12692,
42,
503,
7081,
74,
338,
13,
288,
5411,
9107,
273,
446,
31,
3639,
289,
3639,
309,
261,
17152,
480,
446,
13,
288,
5411,
18820,
2043,
273,
638,
31,
5411,
775,
288,
7734,
7168,
273,
312,
67,
1310,
84,
18,
15989,
20552,
5621,
7734,
4015,
1343,
18,
10283,
5108,
2370,
2932,
202,
8820,
1153,
1348,
7070,
16,
4015,
1343,
18,
12692,
42,
67,
4842,
67,
48,
23,
1769,
2868,
202,
81,
67,
13316,
18,
2640,
4118,
12,
81,
67,
1310,
84,
1769,
7734,
312,
67,
13316,
18,
4110,
20552,
13616,
12,
12847,
1769,
7734,
20413,
273,
638,
31,
5411,
289,
1044,
261,
5169,
503,
28929,
13,
288,
7734,
4015,
1343,
18,
11241,
5108,
2370,
2932,
202,
12658,
531,
6743,
4830,
40,
463,
1099,
1360,
605,
22176,
8941,
22753,
8720,
3113,
4015,
1343,
18,
12692,
42,
67,
4842,
67,
48,
20,
1769,
6862,
7734,
4015,
1343,
18,
11241,
5108,
2370,
12,
266,
92,
18,
24906,
9334,
4015,
1343,
18,
12692,
42,
67,
4842,
67,
48,
20,
1769,
7734,
28929,
18,
1188,
6332,
5621,
7734,
20413,
273,
629,
31,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
4110,
20552,
13616,
12,
2519,
4020,
2484,
16,
509,
7586,
13,
288,
3639,
10209,
10617,
19977,
31,
3639,
17030,
2148,
9107,
31,
3639,
13864,
425,
31,
3639,
10209,
1042,
7168,
33,
2011,
31,
3639,
1250,
18820,
2043,
33,
5743,
31,
3639,
1250,
20413,
33,
5743,
31,
1082,
3639,
775,
288,
5411,
9107,
273,
2484,
18,
4720,
20552,
861,
1670,
12,
17782,
1769,
3639,
289,
1044,
261,
12692,
42,
503,
7081,
74,
338,
13,
288,
5411,
9107,
273,
446,
31,
3639,
289,
3639,
309,
261,
17152,
480,
446,
13,
288,
5411,
18820,
2043,
273,
638,
31,
5411,
775,
288,
7734,
7168,
273,
312,
67,
1310,
84,
18,
15989,
20552,
5621,
7734,
4015,
1343,
18,
10283,
5108,
2
] |
Shell getShell();
|
public Shell getShell() { return null; }
|
Shell getShell();
|
11075 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11075/6295fd93fbe029bec6b7a525722e315004146c8c/GViewer.java/buggy/g2gui/src/net/mldonkey/g2gui/view/viewers/GViewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
13220,
7932,
1165,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
13220,
7932,
1165,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (fromObj instanceof NativeArray && to.isArray()) { result = 1;
|
if (to.isArray()) { if (fromObj instanceof NativeArray) { result = 1; }
|
public static int getConversionWeight(Object fromObj, Class to) { int fromCode = NativeJavaObject.getJSTypeCode(fromObj); int result = CONVERSION_NONE; switch (fromCode) { case JSTYPE_UNDEFINED: if (to == ScriptRuntime.StringClass || to == ScriptRuntime.ObjectClass) { result = 1; } break; case JSTYPE_NULL: if (!to.isPrimitive()) { result = 1; } break; case JSTYPE_BOOLEAN: // "boolean" is #1 if (to == Boolean.TYPE) { result = 1; } else if (to == ScriptRuntime.BooleanClass) { result = 2; } else if (to == ScriptRuntime.ObjectClass) { result = 3; } else if (to == ScriptRuntime.StringClass) { result = 4; } break; case JSTYPE_NUMBER: if (to.isPrimitive()) { if (to == Double.TYPE) { result = 1; } else if (to != Boolean.TYPE) { result = 1 + NativeJavaObject.getSizeRank(to); } } else { if (to == ScriptRuntime.StringClass) { // native numbers are #1-8 result = 9; } else if (to == ScriptRuntime.ObjectClass) { result = 10; } else if (ScriptRuntime.NumberClass.isAssignableFrom(to)) { // "double" is #1 result = 2; } } break; case JSTYPE_STRING: if (to == ScriptRuntime.StringClass) { result = 1; } else if (to == ScriptRuntime.ObjectClass || to == ScriptRuntime.SerializableClass || to == ScriptRuntime.ComparableClass) { result = 2; } else if (to.isPrimitive() && to != Boolean.TYPE) { if (to == Character.TYPE) { result = 3; } else { result = 4; } } break; case JSTYPE_JAVA_CLASS: if (to == ScriptRuntime.ClassClass) { result = 1; } else if (to == ScriptRuntime.ObjectClass) { result = 3; } else if (to == ScriptRuntime.StringClass) { result = 4; } break; case JSTYPE_JAVA_OBJECT: case JSTYPE_JAVA_ARRAY: if (to == ScriptRuntime.StringClass) { result = 2; } else if (to.isPrimitive() && to != Boolean.TYPE) { result = (fromCode == JSTYPE_JAVA_ARRAY) ? CONVERSION_NONTRIVIAL : 2 + NativeJavaObject.getSizeRank(to); } else { Object javaObj = fromObj; if (javaObj instanceof Wrapper) { javaObj = ((Wrapper)javaObj).unwrap(); } if (to.isInstance(javaObj)) { result = CONVERSION_NONTRIVIAL; } } break; case JSTYPE_OBJECT: // Other objects takes #1-#3 spots if (fromObj instanceof NativeArray && to.isArray()) { // This is a native array conversion to a java array // Array conversions are all equal, and preferable to object // and string conversion, per LC3. result = 1; } else if (to == ScriptRuntime.ObjectClass) { result = 2; } else if (to == ScriptRuntime.StringClass) { result = 3; } else if (to.isPrimitive() || to != Boolean.TYPE) { result = 3 + NativeJavaObject.getSizeRank(to); } break; } return result; }
|
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/5ca0f4b06d738266d48d95bfac20180e4a544638/NativeJavaObject.java/clean/src/org/mozilla/javascript/NativeJavaObject.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
336,
6814,
6544,
12,
921,
628,
2675,
16,
1659,
358,
13,
288,
3639,
509,
628,
1085,
273,
16717,
5852,
921,
18,
588,
6479,
15460,
12,
2080,
2675,
1769,
3639,
509,
563,
273,
3492,
5757,
67,
9826,
31,
3639,
1620,
261,
2080,
1085,
13,
288,
3639,
648,
804,
882,
1738,
67,
2124,
15544,
30,
5411,
309,
261,
869,
422,
7739,
5576,
18,
780,
797,
747,
7734,
358,
422,
7739,
5576,
18,
921,
797,
13,
288,
7734,
563,
273,
404,
31,
5411,
289,
5411,
898,
31,
3639,
648,
804,
882,
1738,
67,
8560,
30,
5411,
309,
16051,
869,
18,
291,
9840,
10756,
288,
7734,
563,
273,
404,
31,
5411,
289,
5411,
898,
31,
3639,
648,
804,
882,
1738,
67,
17900,
30,
5411,
368,
315,
6494,
6,
353,
468,
21,
5411,
309,
261,
869,
422,
3411,
18,
2399,
13,
288,
7734,
563,
273,
404,
31,
5411,
289,
5411,
469,
309,
261,
869,
422,
7739,
5576,
18,
5507,
797,
13,
288,
7734,
563,
273,
576,
31,
5411,
289,
5411,
469,
309,
261,
869,
422,
7739,
5576,
18,
921,
797,
13,
288,
7734,
563,
273,
890,
31,
5411,
289,
5411,
469,
309,
261,
869,
422,
7739,
5576,
18,
780,
797,
13,
288,
7734,
563,
273,
1059,
31,
5411,
289,
5411,
898,
31,
3639,
648,
804,
882,
1738,
67,
9931,
30,
5411,
309,
261,
869,
18,
291,
9840,
10756,
288,
7734,
309,
261,
869,
422,
3698,
18,
2399,
13,
288,
10792,
563,
273,
404,
31,
7734,
289,
7734,
469,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
509,
336,
6814,
6544,
12,
921,
628,
2675,
16,
1659,
358,
13,
288,
3639,
509,
628,
1085,
273,
16717,
5852,
921,
18,
588,
6479,
15460,
12,
2080,
2675,
1769,
3639,
509,
563,
273,
3492,
5757,
67,
9826,
31,
3639,
1620,
261,
2080,
1085,
13,
288,
3639,
648,
804,
882,
1738,
67,
2124,
15544,
30,
5411,
309,
261,
869,
422,
7739,
5576,
18,
780,
797,
747,
7734,
358,
422,
7739,
5576,
18,
921,
797,
13,
288,
7734,
563,
273,
404,
31,
5411,
289,
5411,
898,
31,
3639,
648,
804,
882,
1738,
67,
8560,
30,
5411,
309,
16051,
869,
18,
291,
9840,
10756,
288,
7734,
563,
273,
404,
31,
5411,
289,
5411,
898,
31,
3639,
648,
804,
882,
2
] |
tree.setAttributeSet(attributeSet);
|
public void testAddTree() throws PlatformException { IAttributeSet attributeSet = createTestAttributeSet(); _attributeManager.add(attributeSet); // to enforce additional test attributeSet = _attributeManager.getAttributeSet(attributeSet.getName()); IAttributeDescription[] descriptions = attributeSet.getDesciptions(); ITreeNode ageNode = null; ITreeNode eduNode = null; ITreeNode assignedYes = null; ITreeNode assignedNo = null; ITreeNode assignedNo2 = null; Tree tree = (Tree) _treeManager.createTree(); for (int i = 0; i < descriptions.length; ++i) { if (descriptions[i].getName().equals("attr_age")) { ageNode = tree.createNode(descriptions[i]); } else if (descriptions[i].getName().equals("attr_education")) { eduNode = tree.createNode(descriptions[i]); } else if (descriptions[i].getName().equals("attr_assigned")) { assignedYes = tree.createNode(descriptions[i]); ((TreeNode)assignedYes).setLeafValue("Y"); assignedNo = tree.createNode(descriptions[i]); ((TreeNode)assignedNo).setLeafValue("N"); assignedNo2 = tree.createNode(descriptions[i]); ((TreeNode)assignedNo2).setLeafValue("N"); } } tree.setName("test" + System.currentTimeMillis()); tree.setRootNode(ageNode); tree.setAttributeSet(attributeSet); ageNode.addChildNode(eduNode, " > 22"); ageNode.addChildNode(assignedNo, " <= 22"); eduNode.addChildNode(assignedYes, "High school"); eduNode.addChildNode(assignedNo2, "Primary shool"); LOGGER.debug("Adding tree... "); _treeManager.add(tree); LOGGER.debug("Tree added."); }
|
12741 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12741/c5b6ddd10a1060facd97efd5efbd65bbba64e1b0/TreeManagerTest.java/buggy/salomon/platform/trunk/test/junit/src/salomon/engine/platform/data/tree/TreeManagerTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
986,
2471,
1435,
1216,
11810,
503,
565,
288,
3639,
467,
1499,
694,
1566,
694,
273,
752,
4709,
1499,
694,
5621,
3639,
389,
4589,
1318,
18,
1289,
12,
4589,
694,
1769,
3639,
368,
358,
12980,
3312,
1842,
3639,
1566,
694,
273,
389,
4589,
1318,
18,
588,
1499,
694,
12,
4589,
694,
18,
17994,
10663,
7734,
467,
1499,
3291,
8526,
15550,
273,
1566,
694,
18,
588,
4217,
77,
573,
5621,
3639,
467,
12513,
9388,
907,
273,
446,
31,
3639,
467,
12513,
1675,
89,
907,
273,
446,
31,
3639,
467,
12513,
6958,
22352,
273,
446,
31,
3639,
467,
12513,
6958,
2279,
273,
446,
31,
3639,
467,
12513,
6958,
2279,
22,
273,
446,
31,
7734,
4902,
2151,
273,
261,
2471,
13,
389,
3413,
1318,
18,
2640,
2471,
5621,
7734,
364,
261,
474,
277,
273,
374,
31,
277,
411,
15550,
18,
2469,
31,
965,
77,
13,
288,
5411,
309,
261,
30288,
63,
77,
8009,
17994,
7675,
14963,
2932,
1747,
67,
410,
6,
3719,
288,
7734,
9388,
907,
273,
2151,
18,
2640,
907,
12,
30288,
63,
77,
19226,
5411,
289,
469,
309,
261,
30288,
63,
77,
8009,
17994,
7675,
14963,
2932,
1747,
67,
329,
5286,
367,
6,
3719,
288,
7734,
1675,
89,
907,
273,
2151,
18,
2640,
907,
12,
30288,
63,
77,
19226,
5411,
289,
469,
309,
261,
30288,
63,
77,
8009,
17994,
7675,
14963,
2932,
1747,
67,
15938,
6,
3719,
288,
7734,
6958,
22352,
273,
2151,
18,
2640,
907,
12,
30288,
63,
77,
19226,
7734,
14015,
12513,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1842,
986,
2471,
1435,
1216,
11810,
503,
565,
288,
3639,
467,
1499,
694,
1566,
694,
273,
752,
4709,
1499,
694,
5621,
3639,
389,
4589,
1318,
18,
1289,
12,
4589,
694,
1769,
3639,
368,
358,
12980,
3312,
1842,
3639,
1566,
694,
273,
389,
4589,
1318,
18,
588,
1499,
694,
12,
4589,
694,
18,
17994,
10663,
7734,
467,
1499,
3291,
8526,
15550,
273,
1566,
694,
18,
588,
4217,
77,
573,
5621,
3639,
467,
12513,
9388,
907,
273,
446,
31,
3639,
467,
12513,
1675,
89,
907,
273,
446,
31,
3639,
467,
12513,
6958,
22352,
273,
446,
31,
3639,
467,
12513,
6958,
2279,
273,
446,
31,
3639,
467,
12513,
6958,
2279,
22,
273,
446,
31,
7734,
4902,
2151,
273,
261,
2
] |
|
rewind(_m170);
|
rewind(_m282);
|
public final void mMODULE_NAME(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = MODULE_NAME; int _saveIndex; boolean synPredMatched158 = false; if (((LA(1)=='A') && (LA(2)=='R') && (LA(3)=='R') && (LA(4)=='A'))) { int _m158 = mark(); synPredMatched158 = true; inputState.guessing++; try { { match("ARRAY"); } } catch (RecognitionException pe) { synPredMatched158 = false; } rewind(_m158); inputState.guessing--; } if ( synPredMatched158 ) { match("ARRAY"); if ( inputState.guessing==0 ) { _ttype = ARRAY_REF; } } else { boolean synPredMatched160 = false; if (((LA(1)=='S') && (LA(2)=='C') && (LA(3)=='A') && (LA(4)=='L'))) { int _m160 = mark(); synPredMatched160 = true; inputState.guessing++; try { { match("SCALAR"); } } catch (RecognitionException pe) { synPredMatched160 = false; } rewind(_m160); inputState.guessing--; } if ( synPredMatched160 ) { match("SCALAR"); if ( inputState.guessing==0 ) { _ttype = SCALAR_REF; } } else { boolean synPredMatched162 = false; if (((LA(1)=='H') && (LA(2)=='A') && (LA(3)=='S') && (LA(4)=='H'))) { int _m162 = mark(); synPredMatched162 = true; inputState.guessing++; try { { match("HASH"); } } catch (RecognitionException pe) { synPredMatched162 = false; } rewind(_m162); inputState.guessing--; } if ( synPredMatched162 ) { match("HASH"); if ( inputState.guessing==0 ) { _ttype = HASH_REF; } } else { boolean synPredMatched164 = false; if (((LA(1)=='C') && (LA(2)=='O') && (LA(3)=='D') && (LA(4)=='E'))) { int _m164 = mark(); synPredMatched164 = true; inputState.guessing++; try { { match("CODE"); } } catch (RecognitionException pe) { synPredMatched164 = false; } rewind(_m164); inputState.guessing--; } if ( synPredMatched164 ) { match("CODE"); if ( inputState.guessing==0 ) { _ttype = CODE_REF; } } else { boolean synPredMatched168 = false; if (((LA(1)=='F') && (LA(2)=='i') && (LA(3)=='l') && (LA(4)=='e'))) { int _m168 = mark(); synPredMatched168 = true; inputState.guessing++; try { { match("FileHandle"); } } catch (RecognitionException pe) { synPredMatched168 = false; } rewind(_m168); inputState.guessing--; } if ( synPredMatched168 ) { match("FileHandle"); if ( inputState.guessing==0 ) { _ttype = FILE_HANDLE; } } else { boolean synPredMatched170 = false; if (((LA(1)=='f') && (LA(2)=='i') && (LA(3)=='l') && (LA(4)=='e'))) { int _m170 = mark(); synPredMatched170 = true; inputState.guessing++; try { { match("fileno("); } } catch (RecognitionException pe) { synPredMatched170 = false; } rewind(_m170); inputState.guessing--; } if ( synPredMatched170 ) { { match("fileno("); } { int _cnt173=0; _loop173: do { if (((LA(1) >= '0' && LA(1) <= '9'))) { matchRange('0','9'); } else { if ( _cnt173>=1 ) { break _loop173; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} } _cnt173++; } while (true); } match(')'); if ( inputState.guessing==0 ) { _ttype = FILE_NO; } } else { boolean synPredMatched166 = false; if (((LA(1)=='R') && (LA(2)=='E') && (LA(3)=='F') && (true))) { int _m166 = mark(); synPredMatched166 = true; inputState.guessing++; try { { match("REF"); } } catch (RecognitionException pe) { synPredMatched166 = false; } rewind(_m166); inputState.guessing--; } if ( synPredMatched166 ) { match("REF"); if ( inputState.guessing==0 ) { _ttype = REF; } } else if ((_tokenSet_0.member(LA(1))) && (true) && (true) && (true)) { mPURE_NAME(false); if ( inputState.guessing==0 ) { _ttype = PURE_NAME; } } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } }}}}}} if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
|
48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/6ddba15fc8496d0818a1a3e2f6a771c7d36dd1f8/PerlBaseLexer.java/buggy/org.epic.debug/src/org/epic/debug/varparser/PerlBaseLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
312,
12194,
67,
1985,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
33,
2011,
31,
509,
389,
10086,
33,
955,
18,
2469,
5621,
202,
202,
67,
88,
723,
273,
14057,
67,
1985,
31,
202,
202,
474,
389,
5688,
1016,
31,
9506,
202,
6494,
6194,
10391,
15400,
25984,
273,
629,
31,
202,
202,
430,
261,
12443,
2534,
12,
21,
13,
18920,
37,
6134,
597,
261,
2534,
12,
22,
13,
18920,
54,
6134,
597,
261,
2534,
12,
23,
13,
18920,
54,
6134,
597,
261,
2534,
12,
24,
13,
18920,
37,
11,
20349,
288,
1082,
202,
474,
389,
81,
25984,
273,
2267,
5621,
1082,
202,
11982,
10391,
15400,
25984,
273,
638,
31,
1082,
202,
2630,
1119,
18,
20885,
310,
9904,
31,
1082,
202,
698,
288,
9506,
202,
95,
9506,
202,
1916,
2932,
8552,
8863,
9506,
202,
97,
1082,
202,
97,
1082,
202,
14683,
261,
5650,
7909,
503,
2804,
13,
288,
9506,
202,
11982,
10391,
15400,
25984,
273,
629,
31,
1082,
202,
97,
1082,
202,
266,
10094,
24899,
81,
25984,
1769,
1082,
202,
2630,
1119,
18,
20885,
310,
413,
31,
202,
202,
97,
202,
202,
430,
261,
6194,
10391,
15400,
25984,
262,
288,
1082,
202,
1916,
2932,
8552,
8863,
1082,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
9506,
202,
67,
88,
723,
273,
14884,
67,
10771,
31,
1082,
202,
97,
202,
202,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
312,
12194,
67,
1985,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
33,
2011,
31,
509,
389,
10086,
33,
955,
18,
2469,
5621,
202,
202,
67,
88,
723,
273,
14057,
67,
1985,
31,
202,
202,
474,
389,
5688,
1016,
31,
9506,
202,
6494,
6194,
10391,
15400,
25984,
273,
629,
31,
202,
202,
430,
261,
12443,
2534,
12,
21,
13,
18920,
37,
6134,
597,
261,
2534,
12,
22,
13,
18920,
54,
6134,
597,
261,
2534,
12,
23,
13,
18920,
54,
6134,
597,
261,
2534,
12,
24,
13,
18920,
37,
11,
20349,
288,
1082,
202,
474,
389,
2
] |
if (oldPage != null && lastShellSize.equals(shellSize)) {
|
if (oldPage != null && shellSize.equals(lastShellSize)) {
|
protected boolean showPage(IPreferenceNode node) { if (node == null) return false; // Create the page if nessessary if (node.getPage() == null) node.createPage(); if (node.getPage() == null) return false; IPreferencePage newPage = node.getPage(); if (newPage == currentPage) return true; Control currentWindow = null; if (currentPage != null) { if (!currentPage.okToLeave()) return false; }; IPreferencePage oldPage = currentPage; currentPage = newPage; // Set the new page's container currentPage.setContainer(this); // Ensure that the page control has been created // (this allows lazy page control creation) if (currentPage.getControl() == null) currentPage.createControl(pageContainer); //Layout the new widgets so the resize is correct pageContainer.layout(true); // Force calculation of the page's description label because // label can be wrapped. Point contentSize = currentPage.computeSize(); // Do we need resizing. Computation not needed if the // first page is inserted since computing the dialog's // size is done by calling dialog.open(). // Also prevent auto resize if the user has manually resized Shell shell= getShell(); Point shellSize= shell.getSize(); if (oldPage != null && lastShellSize.equals(shellSize)) { Rectangle rect= pageContainer.getClientArea(); Point containerSize= new Point(rect.width, rect.height); int hdiff= contentSize.x - containerSize.x; int vdiff= contentSize.y - containerSize.y; if (hdiff > 0 || vdiff > 0) { hdiff= Math.max(0, hdiff); vdiff= Math.max(0, vdiff); setShellSize(shellSize.x + hdiff, shellSize.y + vdiff); constrainShellSize(); lastShellSize = shell.getSize(); } } // Ensure that all other pages are invisible // (including ones that triggered an exception during // their creation). Control[] children = pageContainer.getChildren(); Control currentControl = currentPage.getControl(); for (int i = 0; i < children.length; i++) { if (children[i] != currentControl) children[i].setVisible(false); } // Make the new page visible currentPage.setVisible(true); if (oldPage != null) oldPage.setVisible(false); // update the dialog controls update(); return true;}
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/7ec59dde9756f54feff63a7315caaee50fd9c99e/PreferenceDialog.java/buggy/bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/preference/PreferenceDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
1250,
2405,
1964,
12,
45,
9624,
907,
756,
13,
288,
202,
430,
261,
2159,
422,
446,
13,
202,
202,
2463,
629,
31,
202,
759,
1788,
326,
1363,
309,
290,
403,
403,
814,
202,
430,
261,
2159,
18,
588,
1964,
1435,
422,
446,
13,
202,
202,
2159,
18,
2640,
1964,
5621,
202,
430,
261,
2159,
18,
588,
1964,
1435,
422,
446,
13,
202,
202,
2463,
629,
31,
1082,
202,
45,
9624,
1964,
394,
1964,
273,
756,
18,
588,
1964,
5621,
202,
430,
261,
2704,
1964,
422,
15117,
13,
202,
202,
2463,
638,
31,
1082,
202,
3367,
783,
3829,
273,
446,
31,
202,
430,
261,
2972,
1964,
480,
446,
13,
288,
202,
202,
430,
16051,
2972,
1964,
18,
601,
774,
21300,
10756,
1082,
202,
2463,
629,
31,
202,
20451,
202,
45,
9624,
1964,
1592,
1964,
273,
15117,
31,
202,
2972,
1964,
273,
394,
1964,
31,
202,
759,
1000,
326,
394,
1363,
1807,
1478,
202,
2972,
1964,
18,
542,
2170,
12,
2211,
1769,
202,
759,
7693,
716,
326,
1363,
3325,
711,
2118,
2522,
202,
759,
261,
2211,
5360,
7962,
1363,
3325,
6710,
13,
202,
430,
261,
2972,
1964,
18,
588,
3367,
1435,
422,
446,
13,
3196,
202,
2972,
1964,
18,
2640,
3367,
12,
2433,
2170,
1769,
1082,
202,
759,
3744,
326,
394,
10965,
1427,
326,
7041,
353,
3434,
202,
2433,
2170,
18,
6741,
12,
3767,
1769,
202,
759,
11889,
11096,
434,
326,
1363,
1807,
2477,
1433,
2724,
202,
759,
1433,
848,
506,
5805,
18,
202,
2148,
913,
1225,
273,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4750,
1250,
2405,
1964,
12,
45,
9624,
907,
756,
13,
288,
202,
430,
261,
2159,
422,
446,
13,
202,
202,
2463,
629,
31,
202,
759,
1788,
326,
1363,
309,
290,
403,
403,
814,
202,
430,
261,
2159,
18,
588,
1964,
1435,
422,
446,
13,
202,
202,
2159,
18,
2640,
1964,
5621,
202,
430,
261,
2159,
18,
588,
1964,
1435,
422,
446,
13,
202,
202,
2463,
629,
31,
1082,
202,
45,
9624,
1964,
394,
1964,
273,
756,
18,
588,
1964,
5621,
202,
430,
261,
2704,
1964,
422,
15117,
13,
202,
202,
2463,
638,
31,
1082,
202,
3367,
783,
3829,
273,
446,
31,
202,
430,
261,
2972,
1964,
480,
446,
13,
288,
202,
202,
430,
16051,
2972,
1964,
18,
601,
774,
2
] |
} else { placeHolder = new Rectangle( FlyoutPaletteComposite.this.getBounds().width
|
else placeHolder = new Rectangle(flyout.getBounds().width
|
public void run() { Control ctrl = Display.getCurrent().getCursorControl(); Point pt = FlyoutPaletteComposite.this.toControl(evt.x, evt.y); switchDock = isDescendantOf(graphicalControl, ctrl) && ((dock == PositionConstants.WEST && pt.x > threshold - 10) || (dock == PositionConstants.EAST && pt.x < threshold + 10)); boolean invalid = false; if (!switchDock) invalid = !isDescendantOf(FlyoutPaletteComposite.this, ctrl); if (switchDock) { if (dock == PositionConstants.WEST) { threshold = Math.max(threshold, pt.x); threshold = Math.min(threshold, switchThreshold); } else { threshold = Math.min(threshold, pt.x); threshold = Math.max(threshold, switchThreshold); } } Rectangle placeHolder = origBounds; if (switchDock) { if (dock == PositionConstants.EAST) { placeHolder = new Rectangle(0, 0, origBounds.width, origBounds.height); } else { placeHolder = new Rectangle( FlyoutPaletteComposite.this.getBounds().width - origBounds.width, 0, origBounds.width, origBounds.height); } } // update the cursor Cursor cursor; if (invalid) cursor = DragCursors.getCursor(DragCursors.INVALID); else if ((!switchDock && dock == PositionConstants.EAST) || (switchDock && dock == PositionConstants.WEST)) cursor = DragCursors.getCursor(DragCursors.RIGHT); else cursor = DragCursors.getCursor(DragCursors.LEFT); tracker.setCursor(cursor); // update the rectangle only if it has changed if (!tracker.getRectangles()[0].equals(placeHolder)) tracker.setRectangles(new Rectangle[] {placeHolder}); }
|
11225 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11225/2c1baba3d9ddda6bb9eb63724182e5edd41e4ad7/FlyoutPaletteComposite.java/clean/org.eclipse.gef/src/org/eclipse/gef/ui/palette/FlyoutPaletteComposite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
1086,
1435,
288,
25083,
202,
3367,
6414,
273,
9311,
18,
588,
3935,
7675,
588,
6688,
3367,
5621,
25083,
202,
2148,
5818,
273,
478,
715,
659,
25863,
9400,
18,
2211,
18,
869,
3367,
12,
73,
11734,
18,
92,
16,
6324,
18,
93,
1769,
9944,
202,
9610,
40,
975,
273,
353,
29014,
951,
12,
4660,
1706,
3367,
16,
6414,
13,
20982,
202,
10,
10,
14015,
72,
975,
422,
11010,
2918,
18,
31285,
597,
5818,
18,
92,
405,
5573,
300,
1728,
13,
6862,
9506,
202,
20081,
261,
72,
975,
422,
11010,
2918,
18,
41,
9053,
597,
5818,
18,
92,
411,
5573,
397,
1728,
10019,
25083,
202,
6494,
2057,
273,
629,
31,
25083,
202,
430,
16051,
9610,
40,
975,
13,
6862,
1082,
202,
5387,
273,
401,
291,
29014,
951,
12,
42,
715,
659,
25863,
9400,
18,
2211,
16,
6414,
1769,
25083,
202,
430,
261,
9610,
40,
975,
13,
288,
6862,
1082,
202,
430,
261,
72,
975,
422,
11010,
2918,
18,
31285,
13,
288,
6862,
9506,
202,
8699,
273,
2361,
18,
1896,
12,
8699,
16,
5818,
18,
92,
1769,
6862,
9506,
202,
8699,
273,
2361,
18,
1154,
12,
8699,
16,
1620,
7614,
1769,
6862,
1082,
202,
97,
469,
288,
6862,
9506,
202,
8699,
273,
2361,
18,
1154,
12,
8699,
16,
5818,
18,
92,
1769,
6862,
9506,
202,
8699,
273,
2361,
18,
1896,
12,
8699,
16,
1620,
7614,
1769,
6862,
1082,
202,
97,
25083,
202,
97,
25083,
202,
19463,
3166,
6064,
273,
1647,
5694,
31,
25083,
202,
430,
261,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4405,
202,
482,
918,
1086,
1435,
288,
25083,
202,
3367,
6414,
273,
9311,
18,
588,
3935,
7675,
588,
6688,
3367,
5621,
25083,
202,
2148,
5818,
273,
478,
715,
659,
25863,
9400,
18,
2211,
18,
869,
3367,
12,
73,
11734,
18,
92,
16,
6324,
18,
93,
1769,
9944,
202,
9610,
40,
975,
273,
353,
29014,
951,
12,
4660,
1706,
3367,
16,
6414,
13,
20982,
202,
10,
10,
14015,
72,
975,
422,
11010,
2918,
18,
31285,
597,
5818,
18,
92,
405,
5573,
300,
1728,
13,
6862,
9506,
202,
20081,
261,
72,
975,
422,
11010,
2918,
18,
41,
9053,
597,
5818,
18,
92,
411,
5573,
397,
1728,
10019,
25083,
202,
6494,
2057,
273,
629,
31,
25083,
202,
430,
16051,
9610,
40,
975,
2
] |
newValue = NativeJavaClass.wrap(getTopLevelScope(this), newClass);
|
newValue = new NativeJavaClass(getTopLevelScope(this), newClass);
|
synchronized Object getPkgProperty(String name, Scriptable start, boolean createPkg) { Object cached = super.get(name, start); if (cached != NOT_FOUND) return cached; String newPackage = packageName.length() == 0 ? name : packageName + "." + name; Context cx = Context.getContext(); ClassShutter shutter = cx.getClassShutter(); Scriptable newValue; try { if (shutter != null && !shutter.visibleToScripts(newPackage)) throw new ClassNotFoundException(); Class newClass = classLoader != null ? classLoader.loadClass(newPackage) : ScriptRuntime.loadClassName(newPackage); newValue = NativeJavaClass.wrap(getTopLevelScope(this), newClass); newValue.setParentScope(this); newValue.setPrototype(this.prototype); } catch (ClassNotFoundException ex) { if (createPkg) { NativeJavaPackage pkg = new NativeJavaPackage(newPackage, classLoader); pkg.setParentScope(this); pkg.setPrototype(this.prototype); newValue = pkg; } else { newValue = null; } } if (newValue != null) { // Make it available for fast lookup and sharing of // lazily-reflected constructors and static members. super.put(name, start, newValue); } return newValue; }
|
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/012b28330e6ece4895192a56453b155bffa44390/NativeJavaPackage.java/buggy/js/rhino/src/org/mozilla/javascript/NativeJavaPackage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
1033,
1689,
14931,
1396,
12,
780,
508,
16,
22780,
787,
16,
4766,
4202,
1250,
752,
11264,
13,
565,
288,
3639,
1033,
3472,
273,
2240,
18,
588,
12,
529,
16,
787,
1769,
3639,
309,
261,
7097,
480,
4269,
67,
9294,
13,
5411,
327,
3472,
31,
3639,
514,
394,
2261,
273,
9929,
18,
2469,
1435,
422,
374,
18701,
692,
508,
18701,
294,
9929,
397,
4585,
397,
508,
31,
3639,
1772,
9494,
273,
1772,
18,
29120,
5621,
3639,
1659,
1555,
18220,
9171,
387,
273,
9494,
18,
588,
797,
1555,
18220,
5621,
3639,
22780,
6129,
31,
3639,
775,
288,
5411,
309,
261,
674,
18220,
480,
446,
597,
401,
674,
18220,
18,
8613,
774,
15041,
12,
2704,
2261,
3719,
7734,
604,
394,
10403,
5621,
5411,
1659,
394,
797,
273,
11138,
480,
446,
7734,
692,
11138,
18,
945,
797,
12,
2704,
2261,
13,
7734,
294,
7739,
5576,
18,
945,
3834,
12,
2704,
2261,
1769,
5411,
6129,
273,
394,
16717,
5852,
797,
12,
588,
27046,
3876,
12,
2211,
3631,
394,
797,
1769,
5411,
6129,
18,
542,
3054,
3876,
12,
2211,
1769,
5411,
6129,
18,
542,
15846,
12,
2211,
18,
18541,
1769,
3639,
289,
1044,
261,
797,
3990,
431,
13,
288,
5411,
309,
261,
2640,
11264,
13,
288,
7734,
16717,
5852,
2261,
3475,
273,
394,
16717,
5852,
2261,
12,
2704,
2261,
16,
4766,
17311,
11138,
1769,
7734,
3475,
18,
542,
3054,
3876,
12,
2211,
1769,
7734,
3475,
18,
542,
15846,
12,
2211,
18,
18541,
1769,
7734,
6129,
273,
3475,
31,
5411,
289,
469,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
1033,
1689,
14931,
1396,
12,
780,
508,
16,
22780,
787,
16,
4766,
4202,
1250,
752,
11264,
13,
565,
288,
3639,
1033,
3472,
273,
2240,
18,
588,
12,
529,
16,
787,
1769,
3639,
309,
261,
7097,
480,
4269,
67,
9294,
13,
5411,
327,
3472,
31,
3639,
514,
394,
2261,
273,
9929,
18,
2469,
1435,
422,
374,
18701,
692,
508,
18701,
294,
9929,
397,
4585,
397,
508,
31,
3639,
1772,
9494,
273,
1772,
18,
29120,
5621,
3639,
1659,
1555,
18220,
9171,
387,
273,
9494,
18,
588,
797,
1555,
18220,
5621,
3639,
22780,
6129,
31,
3639,
775,
288,
5411,
309,
261,
674,
18220,
480,
446,
597,
401,
674,
18220,
18,
8613,
774,
15041,
12,
2704,
2261,
3719,
7734,
604,
394,
2
] |
modelTask = (ProbModelSourceLike)hireEmployee(commandRec, ProbModelSourceLike.class, "Source of probability character models (for likelihood calculations)"); if (modelTask == null) return sorry(commandRec, getName() + " couldn't start because no source of models of character evolution obtained."); modelTaskName = new MesquiteString(modelTask.getName()); likelihood = new MesquiteNumber(); seed = new MesquiteLong(1);
|
modelTask = (ProbModelSourceLike)hireEmployee(commandRec, ProbModelSourceLike.class, "Source of probability character models (for likelihood calculations)"); if (modelTask == null) return sorry(commandRec, getName() + " couldn't start because no source of models of character evolution obtained."); modelTaskName = new MesquiteString(modelTask.getName()); likelihood = new MesquiteNumber(); seed = new MesquiteLong(1);
|
public boolean startJob(String arguments, Object condition, CommandRecord commandRec, boolean hiredByName) { hireAllEmployees(commandRec, MargLikeAncStCLForModel.class); for (int i = 0; i<getNumberOfEmployees() && reconstructTask==null; i++) { Object e=getEmployeeVector().elementAt(i); if (e instanceof MargLikeAncStCLForModel){ ((MargLikeAncStCLForModel)e).setReportCladeLocalValues(true); // ((MargLikeAncStCLForModel)e).setRootMode(MargLikeAncStCLForModel.ROOT_USEPRIOR); } } if (modelTask == null) modelTask = (ProbModelSourceLike)hireEmployee(commandRec, ProbModelSourceLike.class, "Source of probability character models (for likelihood calculations)"); if (modelTask == null) return sorry(commandRec, getName() + " couldn't start because no source of models of character evolution obtained."); modelTaskName = new MesquiteString(modelTask.getName()); likelihood = new MesquiteNumber(); seed = new MesquiteLong(1); seed.setValue(originalSeed); generator = new Random(originalSeed); //seed? MesquiteSubmenuSpec mss = addSubmenu(null, "Source of probability models", makeCommand("setModelSource", this), ProbModelSourceLike.class); mss.setCompatibilityCheck(new ModelCompatibilityInfo(ProbabilityCategCharModel.class, null)); mss.setSelected(modelTaskName); addMenuItem("Set Seed (Stoch. Char. Map.)...", makeCommand("setSeed", this)); addMenuItem("Max. Events per Branch (Stoch. Char. Map.)...", makeCommand("setMax", this)); return true; }
|
56479 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56479/c571c02af5bd77d2f8d939f3a299eb0aa2d3e0f6/StochCharMapper.java/buggy/Source/mesquite/stochchar/StochCharMapper/StochCharMapper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
787,
2278,
12,
780,
1775,
16,
1033,
2269,
16,
3498,
2115,
1296,
5650,
16,
1250,
366,
2921,
5911,
13,
288,
3196,
202,
76,
577,
1595,
41,
23377,
25521,
12,
3076,
5650,
16,
490,
3175,
8804,
979,
71,
510,
5017,
1290,
1488,
18,
1106,
1769,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
32,
588,
9226,
41,
23377,
25521,
1435,
597,
23243,
2174,
631,
2011,
31,
277,
27245,
288,
1082,
202,
921,
425,
33,
588,
41,
27520,
5018,
7675,
2956,
861,
12,
77,
1769,
1082,
202,
430,
261,
73,
1276,
490,
3175,
8804,
979,
71,
510,
5017,
1290,
1488,
15329,
9506,
202,
12443,
49,
3175,
8804,
979,
71,
510,
5017,
1290,
1488,
13,
73,
2934,
542,
4820,
2009,
2486,
2042,
1972,
12,
3767,
1769,
1082,
202,
759,
202,
12443,
49,
3175,
8804,
979,
71,
510,
5017,
1290,
1488,
13,
73,
2934,
542,
2375,
2309,
12,
49,
3175,
8804,
979,
71,
510,
5017,
1290,
1488,
18,
9185,
67,
8001,
7698,
916,
1769,
1082,
202,
97,
25083,
202,
97,
202,
202,
430,
261,
2284,
2174,
422,
446,
13,
1875,
202,
2284,
2174,
273,
261,
9152,
1488,
1830,
8804,
13,
76,
577,
41,
27520,
12,
3076,
5650,
16,
14610,
1488,
1830,
8804,
18,
1106,
16,
315,
1830,
434,
11331,
3351,
3679,
261,
1884,
18067,
20882,
2225,
1769,
3196,
202,
430,
261,
2284,
2174,
422,
446,
13,
1875,
202,
2463,
272,
21637,
12,
3076,
5650,
16,
1723,
1435,
397,
315,
17991,
1404,
787,
2724,
1158,
1084,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
787,
2278,
12,
780,
1775,
16,
1033,
2269,
16,
3498,
2115,
1296,
5650,
16,
1250,
366,
2921,
5911,
13,
288,
3196,
202,
76,
577,
1595,
41,
23377,
25521,
12,
3076,
5650,
16,
490,
3175,
8804,
979,
71,
510,
5017,
1290,
1488,
18,
1106,
1769,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
32,
588,
9226,
41,
23377,
25521,
1435,
597,
23243,
2174,
631,
2011,
31,
277,
27245,
288,
1082,
202,
921,
425,
33,
588,
41,
27520,
5018,
7675,
2956,
861,
12,
77,
1769,
1082,
202,
430,
261,
73,
1276,
490,
3175,
8804,
979,
71,
510,
5017,
1290,
1488,
15329,
9506,
202,
12443,
49,
3175,
8804,
979,
71,
510,
5017,
1290,
1488,
13,
73,
2
] |
.getAttribute( "attributeBean" );
|
.getAttribute( IBirtConstants.ATTRIBUTE_BEAN );
|
protected void doService( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException { Collection fragments = new ArrayList( ); IViewerReportService service = getReportService( ); Collection parameters = null; InputOptions options = new InputOptions( ); options.setOption( InputOptions.OPT_REQUEST, request ); BaseAttributeBean attrBean = (BaseAttributeBean) request .getAttribute( "attributeBean" ); //$NON-NLS-1$ assert attrBean != null; try { parameters = service.getParameterDefinitions( attrBean.getReportDesignHandle( request ), options, true ); } catch ( ReportServiceException e ) { // TODO What to do here??? e.printStackTrace( ); } if ( parameters != null ) { Iterator iParameters = parameters.iterator( ); while ( iParameters != null && iParameters.hasNext( ) ) { Object parameter = iParameters.next( ); if ( parameter == null ) { continue; } IFragment fragment = null; if ( parameter instanceof ParameterGroupDefinition ) { fragment = new ParameterGroupFragment( (ParameterGroupDefinition) parameter ); } else if ( parameter instanceof ParameterDefinition ) { ParameterDefinition scalarParameter = (ParameterDefinition) parameter; if ( !scalarParameter.isHidden( ) ) { switch ( scalarParameter.getControlType( ) ) { case ParameterDefinition.TEXT_BOX : { fragment = new TextBoxParameterFragment( scalarParameter ); break; } case ParameterDefinition.LIST_BOX : { fragment = new ComboBoxParameterFragment( scalarParameter ); break; } case ParameterDefinition.RADIO_BUTTON : { fragment = new RadioButtonParameterFragment( scalarParameter ); break; } case ParameterDefinition.CHECK_BOX : { fragment = new CheckboxParameterFragment( scalarParameter ); break; } } } } if ( fragment != null ) { fragment.setJSPRootPath( JSPRootPath ); fragments.add( fragment ); } } } request.setAttribute( "fragments", fragments ); //$NON-NLS-1$ }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/6f200516dd6e313325dd2c5637ad596549bf99c5/ParameterDialogFragment.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/dialog/ParameterDialogFragment.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
741,
1179,
12,
9984,
590,
16,
1082,
202,
2940,
29910,
766,
262,
1216,
16517,
16,
1860,
202,
95,
202,
202,
2532,
14656,
273,
394,
2407,
12,
11272,
202,
202,
45,
18415,
4820,
1179,
1156,
273,
22452,
1179,
12,
11272,
202,
202,
2532,
1472,
273,
446,
31,
202,
202,
1210,
1320,
702,
273,
394,
2741,
1320,
12,
11272,
202,
202,
2116,
18,
542,
1895,
12,
2741,
1320,
18,
15620,
67,
5519,
16,
590,
11272,
202,
202,
2171,
1499,
3381,
1604,
3381,
273,
261,
2171,
1499,
3381,
13,
590,
9506,
202,
18,
588,
1499,
12,
23450,
2714,
2918,
18,
11616,
67,
23703,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
11231,
1604,
3381,
480,
446,
31,
9506,
202,
698,
202,
202,
95,
1082,
202,
3977,
273,
1156,
18,
588,
1662,
7130,
12,
6862,
202,
1747,
3381,
18,
588,
4820,
15478,
3259,
12,
590,
262,
16,
702,
16,
638,
11272,
202,
202,
97,
202,
202,
14683,
261,
8706,
15133,
425,
262,
202,
202,
95,
1082,
202,
759,
2660,
18734,
358,
741,
2674,
14646,
35,
1082,
202,
73,
18,
1188,
6332,
12,
11272,
202,
202,
97,
202,
202,
430,
261,
1472,
480,
446,
262,
202,
202,
95,
1082,
202,
3198,
277,
2402,
273,
1472,
18,
9838,
12,
11272,
1082,
202,
17523,
261,
277,
2402,
480,
446,
597,
277,
2402,
18,
5332,
2134,
12,
262,
262,
1082,
202,
95,
9506,
202,
921,
1569,
273,
277,
2402,
18,
4285,
12,
11272,
9506,
202,
430,
261,
1569,
422,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
1179,
12,
9984,
590,
16,
1082,
202,
2940,
29910,
766,
262,
1216,
16517,
16,
1860,
202,
95,
202,
202,
2532,
14656,
273,
394,
2407,
12,
11272,
202,
202,
45,
18415,
4820,
1179,
1156,
273,
22452,
1179,
12,
11272,
202,
202,
2532,
1472,
273,
446,
31,
202,
202,
1210,
1320,
702,
273,
394,
2741,
1320,
12,
11272,
202,
202,
2116,
18,
542,
1895,
12,
2741,
1320,
18,
15620,
67,
5519,
16,
590,
11272,
202,
202,
2171,
1499,
3381,
1604,
3381,
273,
261,
2171,
1499,
3381,
13,
590,
9506,
202,
18,
588,
1499,
12,
23450,
2714,
2918,
18,
11616,
67,
23703,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
11231,
1604,
3381,
480,
446,
2
] |
}
|
}
|
private void handleException(File inFile, Node child, Exception e) { hasCaughtException = true; String name = inFile.getAbsolutePath(); name = name.substring(0, name.lastIndexOf('.')) + "-save1.xml"; File save = new File(name); int i = 2; while(save.exists()) { name = name.substring(0, name.lastIndexOf('.')-1) + i + ".xml"; save = new File(name); i++; } if (!copy(inFile, save)) { inFile.renameTo(new File(name)); } if (child == null) { MylarPlugin.log(e, "Could not read task list"); } else { MylarPlugin.log(e, "Tasks may have been lost from " + child.getNodeName()); } }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/ff3294aceb7ea0980294d6567b3f980845cf27f1/TaskListExternalizer.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/TaskListExternalizer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
20879,
12,
812,
316,
812,
16,
2029,
1151,
16,
1185,
425,
13,
288,
202,
202,
5332,
24512,
503,
273,
638,
31,
202,
202,
780,
508,
273,
316,
812,
18,
588,
10368,
743,
5621,
202,
202,
529,
273,
508,
18,
28023,
12,
20,
16,
508,
18,
2722,
31985,
2668,
1093,
3719,
397,
3701,
5688,
21,
18,
2902,
14432,
202,
202,
812,
1923,
273,
394,
1387,
12,
529,
1769,
202,
202,
474,
277,
273,
576,
31,
202,
202,
17523,
12,
5688,
18,
1808,
10756,
288,
25083,
202,
529,
273,
508,
18,
28023,
12,
20,
16,
508,
18,
2722,
31985,
2668,
1093,
24950,
21,
13,
397,
277,
397,
3552,
2902,
14432,
1082,
202,
5688,
273,
394,
1387,
12,
529,
1769,
1082,
202,
77,
9904,
31,
202,
202,
97,
202,
202,
430,
16051,
3530,
12,
267,
812,
16,
1923,
3719,
288,
1082,
202,
267,
812,
18,
18539,
774,
12,
2704,
1387,
12,
529,
10019,
202,
202,
97,
6862,
202,
430,
261,
3624,
422,
446,
13,
288,
1082,
202,
12062,
7901,
3773,
18,
1330,
12,
73,
16,
315,
4445,
486,
855,
1562,
666,
8863,
202,
202,
97,
469,
288,
1082,
202,
12062,
7901,
3773,
18,
1330,
12,
73,
16,
315,
6685,
2026,
1240,
2118,
13557,
628,
315,
397,
1151,
18,
588,
18948,
10663,
202,
202,
97,
1082,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
1152,
918,
20879,
12,
812,
316,
812,
16,
2029,
1151,
16,
1185,
425,
13,
288,
202,
202,
5332,
24512,
503,
273,
638,
31,
202,
202,
780,
508,
273,
316,
812,
18,
588,
10368,
743,
5621,
202,
202,
529,
273,
508,
18,
28023,
12,
20,
16,
508,
18,
2722,
31985,
2668,
1093,
3719,
397,
3701,
5688,
21,
18,
2902,
14432,
202,
202,
812,
1923,
273,
394,
1387,
12,
529,
1769,
202,
202,
474,
277,
273,
576,
31,
202,
202,
17523,
12,
5688,
18,
1808,
10756,
288,
25083,
202,
529,
273,
508,
18,
28023,
12,
20,
16,
508,
18,
2722,
31985,
2668,
1093,
24950,
21,
13,
397,
277,
397,
3552,
2902,
14432,
1082,
202,
5688,
273,
394,
1387,
12,
2
] |
match(input,34,FOLLOW_34_in_no_loop946); following.push(FOLLOW_opt_eol_in_no_loop948);
|
match(input,34,FOLLOW_34_in_no_loop950); following.push(FOLLOW_opt_eol_in_no_loop952);
|
public AttributeDescr no_loop() throws RecognitionException { AttributeDescr d; Token loc=null; Token t=null; d = null; try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:463:17: ( (loc= 'no-loop' opt_eol ( ';' )? opt_eol ) | (loc= 'no-loop' t= BOOL opt_eol ( ';' )? opt_eol ) ) int alt33=2; int LA33_0 = input.LA(1); if ( LA33_0==34 ) { int LA33_1 = input.LA(2); if ( LA33_1==BOOL ) { alt33=2; } else if ( LA33_1==EOL||LA33_1==15||LA33_1==22||LA33_1==27||LA33_1==29||LA33_1==31||(LA33_1>=33 && LA33_1<=38) ) { alt33=1; } else { NoViableAltException nvae = new NoViableAltException("458:1: no_loop returns [AttributeDescr d] : ( (loc= \'no-loop\' opt_eol ( \';\' )? opt_eol ) | (loc= \'no-loop\' t= BOOL opt_eol ( \';\' )? opt_eol ) );", 33, 1, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("458:1: no_loop returns [AttributeDescr d] : ( (loc= \'no-loop\' opt_eol ( \';\' )? opt_eol ) | (loc= \'no-loop\' t= BOOL opt_eol ( \';\' )? opt_eol ) );", 33, 0, input); throw nvae; } switch (alt33) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:463:17: (loc= 'no-loop' opt_eol ( ';' )? opt_eol ) { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:463:17: (loc= 'no-loop' opt_eol ( ';' )? opt_eol ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:464:25: loc= 'no-loop' opt_eol ( ';' )? opt_eol { loc=(Token)input.LT(1); match(input,34,FOLLOW_34_in_no_loop946); following.push(FOLLOW_opt_eol_in_no_loop948); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:464:47: ( ';' )? int alt31=2; int LA31_0 = input.LA(1); if ( LA31_0==15 ) { alt31=1; } else if ( LA31_0==EOL||LA31_0==22||LA31_0==27||LA31_0==29||LA31_0==31||(LA31_0>=33 && LA31_0<=38) ) { alt31=2; } else { NoViableAltException nvae = new NoViableAltException("464:47: ( \';\' )?", 31, 0, input); throw nvae; } switch (alt31) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:464:47: ';' { match(input,15,FOLLOW_15_in_no_loop950); } break; } following.push(FOLLOW_opt_eol_in_no_loop953); opt_eol(); following.pop(); d = new AttributeDescr( "no-loop", "true" ); d.setLocation( offset(loc.getLine()), loc.getCharPositionInLine() ); } } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:471:17: (loc= 'no-loop' t= BOOL opt_eol ( ';' )? opt_eol ) { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:471:17: (loc= 'no-loop' t= BOOL opt_eol ( ';' )? opt_eol ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:472:25: loc= 'no-loop' t= BOOL opt_eol ( ';' )? opt_eol { loc=(Token)input.LT(1); match(input,34,FOLLOW_34_in_no_loop978); t=(Token)input.LT(1); match(input,BOOL,FOLLOW_BOOL_in_no_loop982); following.push(FOLLOW_opt_eol_in_no_loop984); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:472:54: ( ';' )? int alt32=2; int LA32_0 = input.LA(1); if ( LA32_0==15 ) { alt32=1; } else if ( LA32_0==EOL||LA32_0==22||LA32_0==27||LA32_0==29||LA32_0==31||(LA32_0>=33 && LA32_0<=38) ) { alt32=2; } else { NoViableAltException nvae = new NoViableAltException("472:54: ( \';\' )?", 32, 0, input); throw nvae; } switch (alt32) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:472:54: ';' { match(input,15,FOLLOW_15_in_no_loop986); } break; } following.push(FOLLOW_opt_eol_in_no_loop989); opt_eol(); following.pop(); d = new AttributeDescr( "no-loop", t.getText() ); d.setLocation( offset(loc.getLine()), loc.getCharPositionInLine() ); } } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
|
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/7f81b86a0f548bd02b09afc74b46454cdf158154/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3601,
16198,
1158,
67,
6498,
1435,
1216,
9539,
288,
6647,
3601,
16198,
302,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
3155,
268,
33,
2011,
31,
1171,
202,
202,
72,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
24,
4449,
30,
4033,
30,
261,
261,
1829,
33,
296,
2135,
17,
6498,
11,
2153,
67,
30951,
261,
7554,
7851,
2153,
67,
30951,
262,
571,
261,
1829,
33,
296,
2135,
17,
6498,
11,
268,
33,
9784,
1741,
2153,
67,
30951,
261,
7554,
7851,
2153,
67,
30951,
262,
262,
5411,
509,
3770,
3707,
33,
22,
31,
5411,
509,
2928,
3707,
67,
20,
273,
810,
18,
2534,
12,
21,
1769,
5411,
309,
261,
2928,
3707,
67,
20,
631,
5026,
262,
288,
7734,
509,
2928,
3707,
67,
21,
273,
810,
18,
2534,
12,
22,
1769,
7734,
309,
261,
2928,
3707,
67,
21,
631,
19040,
262,
288,
10792,
3770,
3707,
33,
22,
31,
7734,
289,
7734,
469,
309,
261,
2928,
3707,
67,
21,
631,
5842,
20081,
2534,
3707,
67,
21,
631,
3600,
20081,
2534,
3707,
67,
21,
631,
3787,
20081,
2534,
3707,
67,
21,
631,
5324,
20081,
2534,
3707,
67,
21,
631,
5540,
20081,
2534,
3707,
67,
21,
631,
6938,
20081,
12,
2534,
3707,
67,
21,
34,
33,
3707,
597,
2928,
3707,
67,
21,
32,
33,
7414,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3601,
16198,
1158,
67,
6498,
1435,
1216,
9539,
288,
6647,
3601,
16198,
302,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
3155,
268,
33,
2011,
31,
1171,
202,
202,
72,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
24,
4449,
30,
4033,
30,
261,
261,
1829,
33,
296,
2135,
17,
6498,
11,
2153,
67,
30951,
261,
7554,
7851,
2153,
67,
30951,
262,
571,
261,
1829,
33,
296,
2135,
17,
6498,
11,
268,
33,
9784,
1741,
2153,
67,
30951,
261,
7554,
7851,
2153,
67,
2
] |
private static final int jjStartNfa_0(int pos, long active0, long active1, long active2) { return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1, active2), pos + 1); }
|
private static final int jjStartNfa_0(int pos, long active0, long active1, long active2) { return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1, active2), pos + 1); }
|
private static final int jjStartNfa_0(int pos, long active0, long active1, long active2) { return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1, active2), pos + 1); }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/23e69d576250f417c265d779703b8da08a67aaed/CPPParserTokenManager.java/buggy/pmd/src/net/sourceforge/pmd/cpd/cppast/CPPParserTokenManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
727,
509,
10684,
1685,
50,
507,
67,
20,
12,
474,
949,
16,
1525,
2695,
20,
16,
1525,
2695,
21,
16,
1525,
2695,
22,
13,
288,
3639,
327,
10684,
7607,
50,
507,
67,
20,
12,
78,
78,
4947,
28565,
40,
507,
67,
20,
12,
917,
16,
2695,
20,
16,
2695,
21,
16,
2695,
22,
3631,
949,
397,
404,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3238,
760,
727,
509,
10684,
1685,
50,
507,
67,
20,
12,
474,
949,
16,
1525,
2695,
20,
16,
1525,
2695,
21,
16,
1525,
2695,
22,
13,
288,
3639,
327,
10684,
7607,
50,
507,
67,
20,
12,
78,
78,
4947,
28565,
40,
507,
67,
20,
12,
917,
16,
2695,
20,
16,
2695,
21,
16,
2695,
22,
3631,
949,
397,
404,
1769,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Level level = getLevelArg(evaluator, args, 0, true); return level.getName();
|
Member member = getMemberArg(evaluator, args, 0, true); return member.getCaption();
|
public Object evaluate(Evaluator evaluator, Exp[] args) { Level level = getLevelArg(evaluator, args, 0, true); return level.getName(); }
|
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/6edfd201208294a63e08eefe822045d54d51622b/BuiltinFunTable.java/buggy/src/main/mondrian/olap/fun/BuiltinFunTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
5956,
12,
15876,
18256,
16,
7784,
8526,
833,
13,
288,
7734,
4557,
1801,
273,
17236,
4117,
12,
14168,
639,
16,
833,
16,
374,
16,
638,
1769,
7734,
327,
1801,
18,
17994,
5621,
5411,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2398,
1071,
1033,
5956,
12,
15876,
18256,
16,
7784,
8526,
833,
13,
288,
7734,
4557,
1801,
273,
17236,
4117,
12,
14168,
639,
16,
833,
16,
374,
16,
638,
1769,
7734,
327,
1801,
18,
17994,
5621,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public ProgramPanel(boolean showDateAndChannel) { if (showDateAndChannel) { mDateAndChannelAsString = ""; }
|
public ProgramPanel() {
|
public ProgramPanel(boolean showDateAndChannel) { if (showDateAndChannel) { // The empty String indicated that date and title should be shown mDateAndChannelAsString = ""; } mTitleIcon = new TextAreaIcon(null, mTitleFont, WIDTH_RIGHT - 5); mDescriptionIcon = new TextAreaIcon(null, mNormalFont, WIDTH_RIGHT - 5); mDescriptionIcon.setMaximumLineCount(3); }
|
9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/69c7cd76aa33b898b3f7998913fa8b78357f27da/ProgramPanel.java/buggy/tvbrowser/src/util/ui/ProgramPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13586,
5537,
12,
6494,
2405,
1626,
1876,
2909,
13,
288,
565,
309,
261,
4500,
1626,
1876,
2909,
13,
288,
1377,
368,
1021,
1008,
514,
17710,
716,
1509,
471,
2077,
1410,
506,
12188,
1377,
312,
1626,
1876,
2909,
8092,
273,
1408,
31,
565,
289,
3639,
312,
4247,
5554,
273,
394,
3867,
5484,
5554,
12,
2011,
16,
312,
4247,
5711,
16,
22631,
67,
11847,
300,
1381,
1769,
565,
312,
3291,
5554,
273,
394,
3867,
5484,
5554,
12,
2011,
16,
312,
5506,
5711,
16,
22631,
67,
11847,
300,
1381,
1769,
565,
312,
3291,
5554,
18,
542,
13528,
1670,
1380,
12,
23,
1769,
1377,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
13586,
5537,
12,
6494,
2405,
1626,
1876,
2909,
13,
288,
565,
309,
261,
4500,
1626,
1876,
2909,
13,
288,
1377,
368,
1021,
1008,
514,
17710,
716,
1509,
471,
2077,
1410,
506,
12188,
1377,
312,
1626,
1876,
2909,
8092,
273,
1408,
31,
565,
289,
3639,
312,
4247,
5554,
273,
394,
3867,
5484,
5554,
12,
2011,
16,
312,
4247,
5711,
16,
22631,
67,
11847,
300,
1381,
1769,
565,
312,
3291,
5554,
273,
394,
3867,
5484,
5554,
12,
2011,
16,
312,
5506,
5711,
16,
22631,
67,
11847,
300,
1381,
1769,
565,
312,
3291,
5554,
18,
542,
13528,
1670,
1380,
12,
23,
1769,
1377,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
cfw.add(ByteCode.DUP); cfw.addALoad(contextArg); cfw.addALoad(scopeArg); cfw.addInvoke(ByteCode.INVOKESTATIC, mainClassName, REGEXP_INIT_METHOD_NAME, REGEXP_INIT_METHOD_SIGNATURE);
|
static void pushRegExpArray(ClassFileWriter cfw, ScriptOrFnNode n, int contextArg, int scopeArg) { // precompile all regexp literals int regexpCount = n.getRegexpCount(); if (regexpCount == 0) badTree(); cfw.addPush(regexpCount); cfw.add(ByteCode.ANEWARRAY, "java/lang/Object"); cfw.addALoad(contextArg); cfw.addInvoke(ByteCode.INVOKESTATIC, "org/mozilla/javascript/ScriptRuntime", "checkRegExpProxy", "(Lorg/mozilla/javascript/Context;" +")Lorg/mozilla/javascript/RegExpProxy;"); for (int i = 0; i != regexpCount; ++i) { cfw.add(ByteCode.DUP2); // Stack structure: proxy, array, proxy, array cfw.addALoad(contextArg); cfw.addALoad(scopeArg); cfw.addPush(n.getRegexpString(i)); String regexpFlags = n.getRegexpFlags(i); if (regexpFlags == null) { cfw.add(ByteCode.ACONST_NULL); } else { cfw.addPush(regexpFlags); } cfw.addInvoke(ByteCode.INVOKEINTERFACE, "org/mozilla/javascript/RegExpProxy", "newRegExp", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"Ljava/lang/String;Ljava/lang/String;" +")Ljava/lang/Object;"); // Stack structure: result of newRegExp, array, proxy, array cfw.addPush(i); cfw.add(ByteCode.SWAP); cfw.add(ByteCode.AASTORE); // Stack structure: proxy, array } // remove proxy cfw.add(ByteCode.POP); }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/0296900ea3f55089d4d3db653867340b23f3b63b/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
30387,
1769,
6080,
91,
18,
1289,
1013,
6189,
12,
2472,
4117,
1769,
6080,
91,
18,
1289,
1013,
6189,
12,
4887,
4117,
1769,
6080,
91,
18,
1289,
10969,
12,
3216,
1085,
18,
706,
17691,
11027,
11781,
16,
2774,
3834,
16,
11980,
16109,
67,
12919,
67,
5327,
67,
1985,
16,
11980,
16109,
67,
12919,
67,
5327,
67,
26587,
1769,
225,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
30387,
1769,
6080,
91,
18,
1289,
1013,
6189,
12,
2472,
4117,
1769,
6080,
91,
18,
1289,
1013,
6189,
12,
4887,
4117,
1769,
6080,
91,
18,
1289,
10969,
12,
3216,
1085,
18,
706,
17691,
11027,
11781,
16,
2774,
3834,
16,
11980,
16109,
67,
12919,
67,
5327,
67,
1985,
16,
11980,
16109,
67,
12919,
67,
5327,
67,
26587,
1769,
225,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
30387,
1769,
6080,
91,
18,
1289,
1013,
6189,
12,
2472,
4117,
1769,
6080,
91,
18,
1289,
1013,
6189,
12,
4887,
4117,
1769,
6080,
91,
18,
1289,
10969,
12,
3216,
1085,
18,
706,
17691,
11027,
11781,
16,
2774,
3834,
16,
11980,
16109,
67,
12919,
67,
5327,
67,
1985,
16,
11980,
16109,
67,
12919,
67,
5327,
67,
26587,
1769,
225,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
30387,
1769,
6080,
91,
18,
1289,
1013,
6189,
12,
2472,
4117,
1769,
6080,
91,
18,
1289,
1013,
6189,
12,
4887,
4117,
1769,
6080,
91,
18,
1289,
10969,
12,
3216,
1085,
18,
706,
17691,
11027,
11781,
16,
2774,
3834,
16,
11980,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
30387,
1769,
6080,
91,
18,
1289,
1013,
6189,
12,
2472,
4117,
1769,
6080,
91,
18,
1289,
1013,
6189,
12,
4887,
4117,
1769,
6080,
91,
18,
1289,
10969,
12,
3216,
1085,
18,
706,
17691,
11027,
11781,
16,
2774,
3834,
16,
11980,
16109,
67,
12919,
67,
5327,
67,
1985,
16,
11980,
16109,
67,
12919,
67,
5327,
67,
26587,
1769,
225,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
30387,
1769,
6080,
91,
18,
1289,
1013,
6189,
12,
2472,
4117,
1769,
6080,
91,
18,
1289,
1013,
6189,
12,
4887,
4117,
1769,
6080,
91,
18,
1289,
10969,
12,
3216,
1085,
18,
706,
17691,
11027,
11781,
16,
2774,
3834,
16,
11980,
16109,
67,
12919,
67,
2
] |
|
public void getDocuments(DocumentSet docs) {
|
public DocumentSet getDocuments(DocumentSet docs) {
|
public void getDocuments(DocumentSet docs) { Lock lock = db.getLock(); try { lock.acquire(Lock.READ_LOCK); docs.addCollection(this); docs.addAll(documents.values()); } catch (LockException e) { LOG.warn(e.getMessage(), e); } finally { lock.release(); } }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/2ee5b3c48790b3d2b920c6b01005947dacf8f643/Collection.java/buggy/src/org/exist/collections/Collection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
9956,
87,
12,
2519,
694,
3270,
13,
288,
202,
202,
2531,
2176,
273,
1319,
18,
588,
2531,
5621,
202,
202,
698,
288,
1082,
202,
739,
18,
1077,
1039,
12,
2531,
18,
6949,
67,
6589,
1769,
1082,
202,
8532,
18,
1289,
2532,
12,
2211,
1769,
1082,
202,
8532,
18,
1289,
1595,
12,
24795,
18,
2372,
10663,
202,
202,
97,
1044,
261,
2531,
503,
425,
13,
288,
1082,
202,
4842,
18,
8935,
12,
73,
18,
24906,
9334,
425,
1769,
202,
202,
97,
3095,
288,
1082,
202,
739,
18,
9340,
5621,
202,
202,
97,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
918,
9956,
87,
12,
2519,
694,
3270,
13,
288,
202,
202,
2531,
2176,
273,
1319,
18,
588,
2531,
5621,
202,
202,
698,
288,
1082,
202,
739,
18,
1077,
1039,
12,
2531,
18,
6949,
67,
6589,
1769,
1082,
202,
8532,
18,
1289,
2532,
12,
2211,
1769,
1082,
202,
8532,
18,
1289,
1595,
12,
24795,
18,
2372,
10663,
202,
202,
97,
1044,
261,
2531,
503,
425,
13,
288,
1082,
202,
4842,
18,
8935,
12,
73,
18,
24906,
9334,
425,
1769,
202,
202,
97,
3095,
288,
1082,
202,
739,
18,
9340,
5621,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (creator.getType().getName().startsWith(PACKAGE_DWR_DENY))
|
if (!exposeInternals)
|
public String getReasonToNotDisplay(Creator creator, String className, Method method) { String methodName = method.getName(); // Is it public if (!Modifier.isPublic(method.getModifiers())) { return Messages.getString("ExecuteQuery.DeniedNonPublic"); } // Do access controls allow it? if (!isExecutable(className, methodName)) { return Messages.getString("ExecuteQuery.DeniedByAccessRules"); } // We ban some methods from Object too if (method.getDeclaringClass() == Object.class) { return Messages.getString("ExecuteQuery.DeniedObjectMethod"); } if (creator.getType().getName().startsWith(PACKAGE_DWR_DENY)) { return Messages.getString("ExecuteQuery.DeniedCoreDWR"); } // Check the parameters are not DWR internal either for (int j = 0; j < method.getParameterTypes().length; j++) { Class paramType = method.getParameterTypes()[j]; if (paramType.getName().startsWith(PACKAGE_DWR_DENY)) { return Messages.getString("ExecuteQuery.DeniedParamDWR"); } } return null; }
|
45384 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45384/8c225350a56ab077acc06665bbd1d12906d2b6e6/DefaultAccessControl.java/clean/java/org/directwebremoting/impl/DefaultAccessControl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
26521,
774,
1248,
4236,
12,
10636,
11784,
16,
514,
2658,
16,
2985,
707,
13,
565,
288,
3639,
514,
4918,
273,
707,
18,
17994,
5621,
3639,
368,
2585,
518,
1071,
3639,
309,
16051,
9829,
18,
291,
4782,
12,
2039,
18,
588,
11948,
1435,
3719,
3639,
288,
5411,
327,
4838,
18,
588,
780,
2932,
5289,
1138,
18,
10410,
3989,
4782,
8863,
3639,
289,
3639,
368,
2256,
2006,
11022,
1699,
518,
35,
3639,
309,
16051,
291,
17709,
12,
12434,
16,
4918,
3719,
3639,
288,
5411,
327,
4838,
18,
588,
780,
2932,
5289,
1138,
18,
10410,
858,
1862,
4478,
8863,
3639,
289,
3639,
368,
1660,
25732,
2690,
2590,
628,
1033,
4885,
3639,
309,
261,
2039,
18,
588,
3456,
14682,
1435,
422,
1033,
18,
1106,
13,
3639,
288,
5411,
327,
4838,
18,
588,
780,
2932,
5289,
1138,
18,
10410,
921,
1305,
8863,
3639,
289,
3639,
309,
16051,
338,
4150,
21843,
1031,
13,
3639,
288,
5411,
327,
4838,
18,
588,
780,
2932,
5289,
1138,
18,
10410,
4670,
40,
7181,
8863,
3639,
289,
3639,
368,
2073,
326,
1472,
854,
486,
463,
7181,
2713,
3344,
3639,
364,
261,
474,
525,
273,
374,
31,
525,
411,
707,
18,
588,
1662,
2016,
7675,
2469,
31,
525,
27245,
3639,
288,
5411,
1659,
20781,
273,
707,
18,
588,
1662,
2016,
1435,
63,
78,
15533,
5411,
309,
261,
891,
559,
18,
17994,
7675,
17514,
1190,
12,
19077,
67,
40,
7181,
67,
13296,
61,
3719,
5411,
288,
7734,
327,
4838,
18,
588,
780,
2932,
5289,
1138,
18,
10410,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
26521,
774,
1248,
4236,
12,
10636,
11784,
16,
514,
2658,
16,
2985,
707,
13,
565,
288,
3639,
514,
4918,
273,
707,
18,
17994,
5621,
3639,
368,
2585,
518,
1071,
3639,
309,
16051,
9829,
18,
291,
4782,
12,
2039,
18,
588,
11948,
1435,
3719,
3639,
288,
5411,
327,
4838,
18,
588,
780,
2932,
5289,
1138,
18,
10410,
3989,
4782,
8863,
3639,
289,
3639,
368,
2256,
2006,
11022,
1699,
518,
35,
3639,
309,
16051,
291,
17709,
12,
12434,
16,
4918,
3719,
3639,
288,
5411,
327,
4838,
18,
588,
780,
2932,
5289,
1138,
18,
10410,
858,
1862,
4478,
8863,
3639,
289,
3639,
368,
1660,
25732,
2690,
2590,
628,
1033,
4885,
3639,
309,
261,
2039,
18,
588,
3456,
14682,
1435,
2
] |
invokeSwitchHelper(e, methods, 2);
|
invokeSwitchHelper(e, methods, 2, base);
|
public FastClassEmitter(ClassVisitor v, String className, Class type) { super(v); begin_class(Constants.V1_2, Constants.ACC_PUBLIC, className, FAST_CLASS, null, Constants.SOURCE_FILE); // constructor CodeEmitter e = begin_method(Constants.ACC_PUBLIC, CSTRUCT_CLASS, null, null); e.load_this(); e.load_args(); e.super_invoke_constructor(CSTRUCT_CLASS); e.return_value(); e.end_method(); VisibilityPredicate vp = new VisibilityPredicate(type, false); List methods = ReflectUtils.addAllMethods(type, new ArrayList()); CollectionUtils.filter(methods, vp); CollectionUtils.filter(methods, new DuplicatesPredicate()); List constructors = new ArrayList(Arrays.asList(type.getDeclaredConstructors())); CollectionUtils.filter(constructors, vp); // getIndex(String) emitIndexBySignature(methods); // getIndex(String, Class[]) emitIndexByClassArray(methods); // getIndex(Class[]) e = begin_method(Constants.ACC_PUBLIC, CONSTRUCTOR_GET_INDEX, null, null); e.load_args(); List info = CollectionUtils.transform(constructors, MethodInfoTransformer.getInstance()); EmitUtils.constructor_switch(e, info, new GetIndexCallback(e, info)); e.end_method(); // invoke(int, Object, Object[]) e = begin_method(Constants.ACC_PUBLIC, INVOKE, INVOCATION_TARGET_EXCEPTION_ARRAY, null); e.load_arg(1); e.checkcast(Type.getType(type)); e.load_arg(0); invokeSwitchHelper(e, methods, 2); e.end_method(); // newInstance(int, Object[]) e = begin_method(Constants.ACC_PUBLIC, NEW_INSTANCE, INVOCATION_TARGET_EXCEPTION_ARRAY, null); e.new_instance(Type.getType(type)); e.dup(); e.load_arg(0); invokeSwitchHelper(e, constructors, 1); e.end_method(); // getMaxIndex() e = begin_method(Constants.ACC_PUBLIC, GET_MAX_INDEX, null, null); e.push(methods.size() - 1); e.return_value(); e.end_method(); end_class(); }
|
1154 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1154/4467a17b7aca523344904b4322cc964b4e06d4a7/FastClassEmitter.java/buggy/src/proxy/net/sf/cglib/reflect/FastClassEmitter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9545,
797,
13476,
12,
797,
7413,
331,
16,
514,
2658,
16,
1659,
618,
13,
288,
3639,
2240,
12,
90,
1769,
2868,
2376,
67,
1106,
12,
2918,
18,
58,
21,
67,
22,
16,
5245,
18,
31414,
67,
14939,
16,
2658,
16,
24239,
67,
5237,
16,
446,
16,
5245,
18,
6537,
67,
3776,
1769,
3639,
368,
3885,
3639,
3356,
13476,
425,
273,
2376,
67,
2039,
12,
2918,
18,
31414,
67,
14939,
16,
385,
13915,
67,
5237,
16,
446,
16,
446,
1769,
3639,
425,
18,
945,
67,
2211,
5621,
3639,
425,
18,
945,
67,
1968,
5621,
3639,
425,
18,
9565,
67,
14407,
67,
12316,
12,
39,
13915,
67,
5237,
1769,
3639,
425,
18,
2463,
67,
1132,
5621,
3639,
425,
18,
409,
67,
2039,
5621,
3639,
27791,
8634,
18500,
273,
394,
27791,
8634,
12,
723,
16,
629,
1769,
3639,
987,
2590,
273,
17906,
1989,
18,
1289,
1595,
4712,
12,
723,
16,
394,
2407,
10663,
3639,
26777,
18,
2188,
12,
5163,
16,
18500,
1769,
3639,
26777,
18,
2188,
12,
5163,
16,
394,
463,
3868,
815,
8634,
10663,
3639,
987,
19874,
273,
394,
2407,
12,
12726,
18,
345,
682,
12,
723,
18,
588,
18888,
29590,
1435,
10019,
3639,
26777,
18,
2188,
12,
10062,
1383,
16,
18500,
1769,
7734,
368,
8088,
12,
780,
13,
3639,
3626,
1016,
858,
5374,
12,
5163,
1769,
3639,
368,
8088,
12,
780,
16,
1659,
63,
5717,
3639,
3626,
1016,
30032,
1076,
12,
5163,
1769,
7734,
368,
8088,
12,
797,
63,
5717,
3639,
425,
273,
2376,
67,
2039,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9545,
797,
13476,
12,
797,
7413,
331,
16,
514,
2658,
16,
1659,
618,
13,
288,
3639,
2240,
12,
90,
1769,
2868,
2376,
67,
1106,
12,
2918,
18,
58,
21,
67,
22,
16,
5245,
18,
31414,
67,
14939,
16,
2658,
16,
24239,
67,
5237,
16,
446,
16,
5245,
18,
6537,
67,
3776,
1769,
3639,
368,
3885,
3639,
3356,
13476,
425,
273,
2376,
67,
2039,
12,
2918,
18,
31414,
67,
14939,
16,
385,
13915,
67,
5237,
16,
446,
16,
446,
1769,
3639,
425,
18,
945,
67,
2211,
5621,
3639,
425,
18,
945,
67,
1968,
5621,
3639,
425,
18,
9565,
67,
14407,
67,
12316,
12,
39,
13915,
67,
5237,
1769,
3639,
425,
18,
2463,
67,
1132,
5621,
3639,
425,
18,
2
] |
/* Uncomment when bug #55341 fixed */
|
args.add(AjdtAjcTests.TESTDATA_PATH + "/src1/LTWMethodITD.aj");
|
public static void makeURLWeavingClassLoaderJars() throws IOException { List args = new ArrayList(); /* * Vanilla classes */ args.add("-classpath"); args.add("../lib/test/aspectjrt.jar;../lib/test/testing-client.jar" + File.pathSeparator + System.getProperty("aspectjrt.path")); args.add("-outjar"); args.add("../weaver/testdata/ltw-classes.jar"); args.add(AjdtAjcTests.TESTDATA_PATH + "/src1/LTWHelloWorld.java"); args.add(AjdtAjcTests.TESTDATA_PATH + "/src1/ltw/LTWPackageTest.java"); CommandTestCase.runCompiler(args, CommandTestCase.NO_ERRORS); /* * Woven classes */ args = new ArrayList(); args.add("-classpath"); args.add("../lib/test/aspectjrt.jar;../lib/test/testing-client.jar;../weaver/testdata/ltw-classes.jar" + File.pathSeparator + System.getProperty("aspectjrt.path")); args.add("-outjar"); args.add("../weaver/testdata/ltw-woven.jar"); args.add(AjdtAjcTests.TESTDATA_PATH + "/src1/LTWHelloWorld.java"); args.add(AjdtAjcTests.TESTDATA_PATH + "/src1/LTWAspect.aj"); CommandTestCase.runCompiler(args, CommandTestCase.NO_ERRORS); /* * Advice */ args = new ArrayList(); args.add("-classpath"); args.add("../lib/test/aspectjrt.jar;../lib/test/testing-client.jar;../weaver/testdata/ltw-classes.jar" + File.pathSeparator + System.getProperty("aspectjrt.path")); args.add("-outjar"); args.add("../weaver/testdata/ltw-aspects.jar"); args.add(AjdtAjcTests.TESTDATA_PATH + "/src1/LTWAspect.aj"); CommandTestCase.runCompiler(args, CommandTestCase.NO_ERRORS); /* * Around closure advice */ args = new ArrayList(); args.add("-classpath"); args.add("../lib/test/aspectjrt.jar;../lib/test/testing-client.jar;../weaver/testdata/ltw-classes.jar" + File.pathSeparator + System.getProperty("aspectjrt.path")); args.add("-outjar"); args.add("../weaver/testdata/ltw-acaspects.jar"); args.add(AjdtAjcTests.TESTDATA_PATH + "/src1/LTWAroundClosure.aj"); CommandTestCase.runCompiler(args, CommandTestCase.NO_ERRORS); /* * ITD */ args = new ArrayList(); args.add("-Xlint:ignore"); args.add("-classpath"); args.add("../lib/test/aspectjrt.jar;../lib/test/testing-client.jar;../weaver/testdata/ltw-classes.jar" + File.pathSeparator + System.getProperty("aspectjrt.path")); args.add("-outjar"); args.add("../weaver/testdata/ltw-itdaspects.jar"); args.add(AjdtAjcTests.TESTDATA_PATH + "/src1/LTWInterfaceITD.aj"); args.add(AjdtAjcTests.TESTDATA_PATH + "/src1/LTWFieldITD.aj"); /* Uncomment when bug #55341 fixed */// args.add(AjdtAjcTests.TESTDATA_PATH + "/src1/LTWMethodITD.aj"); CommandTestCase.runCompiler(args, CommandTestCase.NO_ERRORS); /* * perXXX() */ args = new ArrayList(); args.add("-classpath"); args.add("../lib/test/aspectjrt.jar;../lib/test/testing-client.jar;../weaver/testdata/ltw-classes.jar" + File.pathSeparator + System.getProperty("aspectjrt.path")); args.add("-outjar"); args.add("../weaver/testdata/ltw-peraspects.jar"); args.add(AjdtAjcTests.TESTDATA_PATH + "/src1/LTWPerthis.aj"); CommandTestCase.runCompiler(args, CommandTestCase.NO_ERRORS); }
|
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/0521e79aea0550b1357a7ccc6a5050f8ce27ce9b/BcweaverJarMaker.java/buggy/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BcweaverJarMaker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1221,
1785,
3218,
5339,
7805,
46,
5913,
1435,
1216,
1860,
288,
202,
202,
682,
833,
273,
394,
2407,
5621,
202,
202,
20308,
1082,
380,
776,
26476,
3318,
1082,
1195,
202,
202,
1968,
18,
1289,
2932,
17,
26302,
8863,
3196,
202,
1968,
18,
1289,
2932,
6216,
2941,
19,
3813,
19,
23579,
78,
3797,
18,
11930,
31,
6216,
2941,
19,
3813,
19,
3813,
310,
17,
2625,
18,
11930,
6,
397,
1082,
282,
1387,
18,
803,
6581,
397,
2332,
18,
588,
1396,
2932,
23579,
78,
3797,
18,
803,
7923,
1769,
202,
202,
1968,
18,
1289,
2932,
17,
659,
11930,
8863,
202,
202,
1968,
18,
1289,
2932,
6216,
1814,
21851,
19,
3813,
892,
19,
5618,
91,
17,
4701,
18,
11930,
8863,
202,
202,
1968,
18,
1289,
12,
37,
78,
7510,
37,
78,
71,
14650,
18,
16961,
4883,
67,
4211,
397,
2206,
4816,
21,
19,
12050,
12557,
8996,
18071,
18,
6290,
8863,
202,
202,
1968,
18,
1289,
12,
37,
78,
7510,
37,
78,
71,
14650,
18,
16961,
4883,
67,
4211,
397,
2206,
4816,
21,
19,
5618,
91,
19,
12050,
59,
2261,
4709,
18,
6290,
8863,
202,
202,
2189,
4709,
2449,
18,
2681,
9213,
12,
1968,
16,
3498,
4709,
2449,
18,
3417,
67,
29127,
1769,
202,
202,
20308,
1875,
380,
678,
1527,
275,
3318,
1082,
1195,
202,
202,
1968,
273,
394,
2407,
5621,
202,
202,
1968,
18,
1289,
2932,
17,
26302,
8863,
3196,
202,
1968,
18,
1289,
2932,
6216,
2941,
19,
3813,
19,
23579,
78,
3797,
18,
11930,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
1221,
1785,
3218,
5339,
7805,
46,
5913,
1435,
1216,
1860,
288,
202,
202,
682,
833,
273,
394,
2407,
5621,
202,
202,
20308,
1082,
380,
776,
26476,
3318,
1082,
1195,
202,
202,
1968,
18,
1289,
2932,
17,
26302,
8863,
3196,
202,
1968,
18,
1289,
2932,
6216,
2941,
19,
3813,
19,
23579,
78,
3797,
18,
11930,
31,
6216,
2941,
19,
3813,
19,
3813,
310,
17,
2625,
18,
11930,
6,
397,
1082,
282,
1387,
18,
803,
6581,
397,
2332,
18,
588,
1396,
2932,
23579,
78,
3797,
18,
803,
7923,
1769,
202,
202,
1968,
18,
1289,
2932,
17,
659,
11930,
8863,
202,
202,
1968,
18,
1289,
2932,
6216,
1814,
21851,
19,
3813,
892,
19,
5618,
91,
17,
4701,
2
] |
return new JaninoConnection();
|
return new JaninoConnection(connectionParameters);
|
public Connection connect(ConnectionParameters connectionParameters) { return new JaninoConnection(); }
|
55401 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55401/73b47572742f2fd87e840b86fbc703a0ee85d611/Driver.java/buggy/drivers/src/java/scriptella/driver/janino/Driver.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4050,
3077,
12,
1952,
2402,
1459,
2402,
13,
288,
3639,
327,
394,
23214,
15020,
1952,
12,
4071,
2402,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4050,
3077,
12,
1952,
2402,
1459,
2402,
13,
288,
3639,
327,
394,
23214,
15020,
1952,
12,
4071,
2402,
1769,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return new TransferableProxy (t, local);
|
return new TransferableProxy(t, local);
|
protected Transferable createTransferableProxy(Transferable t, boolean local) { return new TransferableProxy (t, local); }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/53983e95556bf4b775130b06570aa2ea08d85628/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
12279,
429,
752,
5912,
429,
3886,
12,
5912,
429,
268,
16,
1250,
1191,
13,
225,
288,
565,
327,
394,
12279,
429,
3886,
12,
88,
16,
1191,
1769,
225,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4750,
12279,
429,
752,
5912,
429,
3886,
12,
5912,
429,
268,
16,
1250,
1191,
13,
225,
288,
565,
327,
394,
12279,
429,
3886,
12,
88,
16,
1191,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ifac = new IsotopeFactory();
|
ifac = new IsotopeFactory(builder);
|
public static IsotopeFactory getInstance() throws IOException, OptionalDataException, ClassNotFoundException { if (ifac == null) { ifac = new IsotopeFactory(); } return ifac; }
|
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/99fe3519d35ad1fd276844ab16fa237c545a01fc/IsotopeFactory.java/buggy/src/org/openscience/cdk/config/IsotopeFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
2585,
18946,
1733,
3694,
1435,
9506,
1216,
1860,
16,
4055,
22480,
16,
10403,
202,
95,
3639,
309,
261,
430,
1077,
422,
446,
13,
288,
5411,
309,
1077,
273,
394,
2585,
18946,
1733,
12,
9574,
1769,
3639,
289,
3639,
327,
309,
1077,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2585,
18946,
1733,
3694,
1435,
9506,
1216,
1860,
16,
4055,
22480,
16,
10403,
202,
95,
3639,
309,
261,
430,
1077,
422,
446,
13,
288,
5411,
309,
1077,
273,
394,
2585,
18946,
1733,
12,
9574,
1769,
3639,
289,
3639,
327,
309,
1077,
31,
202,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public org.quickfix.field.UnderlyingCFICode getUnderlyingCFICode() throws FieldNotFound { org.quickfix.field.UnderlyingCFICode value = new org.quickfix.field.UnderlyingCFICode();
|
public quickfix.field.UnderlyingCFICode getUnderlyingCFICode() throws FieldNotFound { quickfix.field.UnderlyingCFICode value = new quickfix.field.UnderlyingCFICode();
|
public org.quickfix.field.UnderlyingCFICode getUnderlyingCFICode() throws FieldNotFound { org.quickfix.field.UnderlyingCFICode value = new org.quickfix.field.UnderlyingCFICode(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/RequestForPositions.java/buggy/src/java/src/quickfix/fix44/RequestForPositions.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
39,
1653,
1085,
10833,
765,
6291,
39,
1653,
1085,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
39,
1653,
1085,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
39,
1653,
1085,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
39,
1653,
1085,
10833,
765,
6291,
39,
1653,
1085,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
39,
1653,
1085,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
39,
1653,
1085,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
TreeParent[] treeIncludes = new TreeParent[index];
|
DOMASTNodeParent[] treeIncludes = new DOMASTNodeParent[index];
|
public void groupIncludes(IASTPreprocessorStatement[] statements) { // get all of the includes from the preprocessor statements (need the object since .equals isn't implemented) IASTPreprocessorIncludeStatement[] includes = new IASTPreprocessorIncludeStatement[INITIAL_INCLUDE_STATEMENT_SIZE]; int index = 0; for(int i=0; i<statements.length; i++) { if (monitor != null && monitor.isCanceled()) return; if (statements[i] instanceof IASTPreprocessorIncludeStatement) { if (index == includes.length) { includes = (IASTPreprocessorIncludeStatement[])ArrayUtil.append(IASTPreprocessorIncludeStatement.class, includes, statements[i]); index++; } else { includes[index++] = (IASTPreprocessorIncludeStatement)statements[i]; } } } // get the tree model elements corresponding to the includes TreeParent[] treeIncludes = new TreeParent[index]; for (int i=0; i<treeIncludes.length; i++) { if (monitor != null && monitor.isCanceled()) return; treeIncludes[i] = root.findTreeObject(includes[i], false); } // loop through the includes and make sure that all of the nodes // that are children of the TU are in the proper include (based on offset) TreeObject child = null; outerLoop: for (int i=treeIncludes.length-1; i>=0; i--) { if (treeIncludes[i] == null) continue; for(int j=root.getChildren(false).length-1; j>=0; j--) { if (monitor != null && monitor.isCanceled()) return; child = root.getChildren(false)[j]; if (child != null && treeIncludes[i] != child && includes[i] instanceof ASTInclusionStatement && ((ASTNode)child.getNode()).getOffset() >= ((ASTInclusionStatement)includes[i]).startOffset && ((ASTNode)child.getNode()).getOffset() <= ((ASTInclusionStatement)includes[i]).endOffset) { root.removeChild(child); treeIncludes[i].addChild(child); } } } }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/7a1f792fe6a4780bc309b94ddba65d9b41a96fd7/CPPPopulateASTViewAction.java/clean/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/tests/DOMAST/CPPPopulateASTViewAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1041,
16815,
12,
45,
9053,
1386,
8700,
3406,
8526,
6317,
13,
288,
202,
202,
759,
336,
777,
434,
326,
6104,
628,
326,
31445,
6317,
261,
14891,
326,
733,
3241,
263,
14963,
5177,
1404,
8249,
13,
202,
202,
45,
9053,
1386,
8700,
8752,
3406,
8526,
6104,
273,
394,
467,
9053,
1386,
8700,
8752,
3406,
63,
28497,
67,
26003,
67,
28411,
67,
4574,
15533,
202,
202,
474,
770,
273,
374,
31,
202,
202,
1884,
12,
474,
277,
33,
20,
31,
277,
32,
18393,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
261,
10259,
480,
446,
597,
6438,
18,
291,
23163,
10756,
327,
31,
1082,
202,
430,
261,
18393,
63,
77,
65,
1276,
467,
9053,
1386,
8700,
8752,
3406,
13,
288,
9506,
202,
430,
261,
1615,
422,
6104,
18,
2469,
13,
288,
6862,
202,
18499,
273,
261,
45,
9053,
1386,
8700,
8752,
3406,
63,
5717,
1076,
1304,
18,
6923,
12,
45,
9053,
1386,
8700,
8752,
3406,
18,
1106,
16,
6104,
16,
6317,
63,
77,
19226,
6862,
202,
1615,
9904,
31,
9506,
202,
97,
469,
288,
6862,
202,
18499,
63,
1615,
9904,
65,
273,
261,
45,
9053,
1386,
8700,
8752,
3406,
13,
18393,
63,
77,
15533,
6862,
202,
97,
1082,
202,
97,
202,
202,
97,
9506,
202,
759,
336,
326,
2151,
938,
2186,
4656,
358,
326,
6104,
202,
202,
2471,
3054,
8526,
2151,
16815,
273,
394,
4902,
3054,
63,
1615,
15533,
202,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
3413,
16815,
18,
2469,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1041,
16815,
12,
45,
9053,
1386,
8700,
3406,
8526,
6317,
13,
288,
202,
202,
759,
336,
777,
434,
326,
6104,
628,
326,
31445,
6317,
261,
14891,
326,
733,
3241,
263,
14963,
5177,
1404,
8249,
13,
202,
202,
45,
9053,
1386,
8700,
8752,
3406,
8526,
6104,
273,
394,
467,
9053,
1386,
8700,
8752,
3406,
63,
28497,
67,
26003,
67,
28411,
67,
4574,
15533,
202,
202,
474,
770,
273,
374,
31,
202,
202,
1884,
12,
474,
277,
33,
20,
31,
277,
32,
18393,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
261,
10259,
480,
446,
597,
6438,
18,
291,
23163,
10756,
327,
31,
1082,
202,
430,
261,
18393,
63,
77,
65,
1276,
467,
9053,
1386,
8700,
2
] |
AST __t756 = _t; AST tmp2135_AST_in = (AST)_t;
|
AST __t760 = _t; AST tmp2138_AST_in = (AST)_t;
|
public final void columnformat(AST _t) throws RecognitionException { AST columnformat_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t747 = _t; AST tmp2126_AST_in = (AST)_t; match(_t,Format_phrase); _t = _t.getFirstChild(); { int _cnt764=0; _loop764: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case FORMAT: { AST __t749 = _t; AST tmp2127_AST_in = (AST)_t; match(_t,FORMAT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t749; _t = _t.getNextSibling(); break; } case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case NOLABELS: { AST tmp2128_AST_in = (AST)_t; match(_t,NOLABELS); _t = _t.getNextSibling(); break; } case COLUMNFONT: { AST __t750 = _t; AST tmp2129_AST_in = (AST)_t; match(_t,COLUMNFONT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t750; _t = _t.getNextSibling(); break; } case COLUMNDCOLOR: { AST __t751 = _t; AST tmp2130_AST_in = (AST)_t; match(_t,COLUMNDCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t751; _t = _t.getNextSibling(); break; } case COLUMNBGCOLOR: { AST __t752 = _t; AST tmp2131_AST_in = (AST)_t; match(_t,COLUMNBGCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t752; _t = _t.getNextSibling(); break; } case COLUMNFGCOLOR: { AST __t753 = _t; AST tmp2132_AST_in = (AST)_t; match(_t,COLUMNFGCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t753; _t = _t.getNextSibling(); break; } case COLUMNPFCOLOR: { AST __t754 = _t; AST tmp2133_AST_in = (AST)_t; match(_t,COLUMNPFCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t754; _t = _t.getNextSibling(); break; } case LABELFONT: { AST __t755 = _t; AST tmp2134_AST_in = (AST)_t; match(_t,LABELFONT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t755; _t = _t.getNextSibling(); break; } case LABELDCOLOR: { AST __t756 = _t; AST tmp2135_AST_in = (AST)_t; match(_t,LABELDCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t756; _t = _t.getNextSibling(); break; } case LABELBGCOLOR: { AST __t757 = _t; AST tmp2136_AST_in = (AST)_t; match(_t,LABELBGCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t757; _t = _t.getNextSibling(); break; } case LABELFGCOLOR: { AST __t758 = _t; AST tmp2137_AST_in = (AST)_t; match(_t,LABELFGCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t758; _t = _t.getNextSibling(); break; } case LEXAT: { AST __t759 = _t; AST tmp2138_AST_in = (AST)_t; match(_t,LEXAT); _t = _t.getFirstChild(); field(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Format_phrase: { columnformat(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t759; _t = _t.getNextSibling(); break; } case WIDTH: { AST __t761 = _t; AST tmp2139_AST_in = (AST)_t; match(_t,WIDTH); _t = _t.getFirstChild(); AST tmp2140_AST_in = (AST)_t; match(_t,NUMBER); _t = _t.getNextSibling(); _t = __t761; _t = _t.getNextSibling(); break; } case WIDTHPIXELS: { AST __t762 = _t; AST tmp2141_AST_in = (AST)_t; match(_t,WIDTHPIXELS); _t = _t.getFirstChild(); AST tmp2142_AST_in = (AST)_t; match(_t,NUMBER); _t = _t.getNextSibling(); _t = __t762; _t = _t.getNextSibling(); break; } case WIDTHCHARS: { AST __t763 = _t; AST tmp2143_AST_in = (AST)_t; match(_t,WIDTHCHARS); _t = _t.getFirstChild(); AST tmp2144_AST_in = (AST)_t; match(_t,NUMBER); _t = _t.getNextSibling(); _t = __t763; _t = _t.getNextSibling(); break; } default: { if ( _cnt764>=1 ) { break _loop764; } else {throw new NoViableAltException(_t);} } } _cnt764++; } while (true); } _t = __t747; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1057,
2139,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1057,
2139,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
5608,
27,
273,
389,
88,
31,
202,
202,
9053,
1853,
22,
25452,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
1630,
67,
9429,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
474,
389,
13085,
27,
1105,
33,
20,
31,
202,
202,
67,
6498,
27,
1105,
30,
202,
202,
2896,
288,
1082,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
1082,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
1082,
202,
3593,
10449,
30,
1082,
202,
95,
9506,
202,
9053,
1001,
88,
5608,
29,
273,
389,
88,
31,
9506,
202,
9053,
1853,
22,
14260,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
9506,
202,
1916,
24899,
88,
16,
7254,
1769,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
9506,
202,
8692,
24899,
88,
1769,
9506,
202,
67,
88,
273,
389,
1349,
2471,
31,
9506,
202,
67,
88,
273,
1001,
88,
5608,
29,
31,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
9506,
202,
8820,
31,
1082,
202,
97,
1082,
202,
3593,
13473,
13545,
30,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
1057,
2139,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1057,
2139,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
5608,
27,
273,
389,
88,
31,
202,
202,
9053,
1853,
22,
25452,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
1630,
67,
9429,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
474,
389,
13085,
27,
1105,
33,
20,
31,
202,
202,
67,
6498,
27,
1105,
30,
202,
202,
2896,
288,
1082,
202,
430,
261,
2
] |
TreeSet<Integer> seeds = new TreeSet<Integer>(); for (QueryResult<DoubleDistance> neighbor : neighbors) { seeds.add(neighbor.getID());
|
for (QueryResult seed : seeds) { Integer nextID = seed.getID(); Integer nextID_corrDim = (Integer) database.getAssociation(AssociationID.LOCAL_DIMENSIONALITY, nextID); if (nextID_corrDim > lambda) continue; if (!processedIDs.contains(nextID)) { currentCluster.add(nextID); processedIDs.add(nextID); } else if (noise.contains(nextID)) { currentCluster.add(nextID); noise.remove(nextID); }
|
protected void expandCluster(Database<RealVector> database, Integer startObjectID, Progress progress) { Integer corrDim = (Integer) database.getAssociation(AssociationID.LOCAL_DIMENSIONALITY, startObjectID); // euclidean epsilon neighborhood < minpts -> noise if (corrDim == null) { noise.add(startObjectID); processedIDs.add(startObjectID); if (isVerbose()) { progress.setProcessed(processedIDs.size()); logger.log(new ProgressLogRecord(Level.INFO, Util.status(progress, resultList.size()), progress.getTask(), progress.status())); } return; } // compute weighted epsilon neighborhood List<QueryResult<DoubleDistance>> neighbors = database.rangeQuery(startObjectID, epsilon, distanceFunction); // neighbors < minPts OR local dimensionality > lambda -> noise if (neighbors.size() < minpts || corrDim > lambda) { noise.add(startObjectID); processedIDs.add(startObjectID); if (isVerbose()) { progress.setProcessed(processedIDs.size()); logger.log(new ProgressLogRecord(Level.INFO, Util.status(progress, resultList.size()), progress.getTask(), progress.status())); } return; } // try to expand the cluster List<Integer> currentCluster = new ArrayList<Integer>(); TreeSet<Integer> seeds = new TreeSet<Integer>(); for (QueryResult<DoubleDistance> neighbor : neighbors) { seeds.add(neighbor.getID()); } while (seeds.size() > 0) { Integer q = seeds.first(); List<QueryResult<DoubleDistance>> reachables = database.rangeQuery(q, epsilon, distanceFunction); for (QueryResult<DoubleDistance> r : reachables) { Integer corrDim_r = (Integer) database.getAssociation(AssociationID.LOCAL_DIMENSIONALITY, r.getID()); // r is not reachable from q if (corrDim_r > lambda) continue; boolean inNoise = noise.contains(r.getID()); boolean unclassified = !processedIDs.contains(r.getID()); if (inNoise || unclassified) { if (unclassified) { seeds.add(r.getID()); } currentCluster.add(r.getID()); processedIDs.add(r.getID()); if (inNoise) { noise.remove(r.getID()); } if (isVerbose()) { progress.setProcessed(processedIDs.size()); int numClusters = currentCluster.size() > minpts ? resultList.size() + 1 : resultList.size(); logger.log(new ProgressLogRecord(Level.INFO, Util.status(progress, numClusters), progress.getTask(), progress.status())); } } } seeds.remove(q); if (processedIDs.size() == database.size() && noise.size() == 0) { break; } } if (currentCluster.size() >= minpts) { resultList.add(currentCluster); } else { for (Integer id : currentCluster) { noise.add(id); } noise.add(startObjectID); processedIDs.add(startObjectID); } if (isVerbose()) { progress.setProcessed(processedIDs.size()); logger.log(new ProgressLogRecord(Level.INFO, Util.status(progress, resultList.size()), progress.getTask(), progress.status())); } }
|
5508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5508/bdfa42966607a7f02c14ca456157bcde79dd1fba/ProjectedDBSCAN.java/clean/src/de/lmu/ifi/dbs/algorithm/clustering/ProjectedDBSCAN.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
4542,
3629,
12,
4254,
32,
6955,
5018,
34,
2063,
16,
2144,
787,
22359,
16,
10980,
4007,
13,
288,
565,
2144,
19480,
5225,
273,
261,
4522,
13,
2063,
18,
588,
7174,
12,
7174,
734,
18,
14922,
67,
2565,
958,
3156,
1146,
1013,
4107,
16,
787,
22359,
1769,
565,
368,
425,
22392,
12263,
10553,
19619,
411,
1131,
1092,
317,
10825,
565,
309,
261,
17515,
5225,
422,
446,
13,
288,
1377,
10825,
18,
1289,
12,
1937,
22359,
1769,
1377,
5204,
5103,
18,
1289,
12,
1937,
22359,
1769,
1377,
309,
261,
291,
14489,
10756,
288,
3639,
4007,
18,
542,
13533,
12,
11005,
5103,
18,
1467,
10663,
3639,
1194,
18,
1330,
12,
2704,
10980,
25723,
12,
2355,
18,
5923,
16,
3564,
18,
2327,
12,
8298,
16,
24520,
18,
1467,
1435,
3631,
4007,
18,
588,
2174,
9334,
4007,
18,
2327,
1435,
10019,
1377,
289,
1377,
327,
31,
565,
289,
565,
368,
3671,
13747,
12263,
10553,
19619,
565,
987,
32,
23583,
32,
5265,
7200,
9778,
11003,
273,
2063,
18,
3676,
1138,
12,
1937,
22359,
16,
12263,
16,
3888,
2083,
1769,
565,
368,
11003,
411,
1131,
27961,
225,
4869,
1191,
29912,
405,
3195,
317,
10825,
565,
309,
261,
17549,
18,
1467,
1435,
411,
1131,
1092,
747,
19480,
5225,
405,
3195,
13,
288,
1377,
10825,
18,
1289,
12,
1937,
22359,
1769,
1377,
5204,
5103,
18,
1289,
12,
1937,
22359,
1769,
1377,
309,
261,
291,
14489,
10756,
288,
3639,
4007,
18,
542,
13533,
12,
11005,
5103,
18,
1467,
10663,
3639,
1194,
18,
1330,
12,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4542,
3629,
12,
4254,
32,
6955,
5018,
34,
2063,
16,
2144,
787,
22359,
16,
10980,
4007,
13,
288,
565,
2144,
19480,
5225,
273,
261,
4522,
13,
2063,
18,
588,
7174,
12,
7174,
734,
18,
14922,
67,
2565,
958,
3156,
1146,
1013,
4107,
16,
787,
22359,
1769,
565,
368,
425,
22392,
12263,
10553,
19619,
411,
1131,
1092,
317,
10825,
565,
309,
261,
17515,
5225,
422,
446,
13,
288,
1377,
10825,
18,
1289,
12,
1937,
22359,
1769,
1377,
5204,
5103,
18,
1289,
12,
1937,
22359,
1769,
1377,
309,
261,
291,
14489,
10756,
288,
3639,
4007,
18,
542,
13533,
12,
11005,
5103,
18,
1467,
10663,
3639,
1194,
18,
1330,
12,
2704,
10980,
25723,
12,
2355,
18,
5923,
16,
3564,
2
] |
IToken nameToken = null; if (LT(1) == IToken.tIDENTIFIER) { nameToken = identifier(); }
|
IToken nameToken = null; if (LT(1) == IToken.tIDENTIFIER) { nameToken = identifier(); }
|
protected ICASTCompositeTypeSpecifier structOrUnionSpecifier() throws BacktrackException, EndOfFileException { int classKind = 0; IToken classKey = null; IToken mark = mark(); // class key switch (LT(1)) { case IToken.t_struct: classKey = consume(); classKind = IASTCompositeTypeSpecifier.k_struct; break; case IToken.t_union: classKey = consume(); classKind = IASTCompositeTypeSpecifier.k_union; break; default: throwBacktrack(mark.getOffset(), mark.getLength()); } IToken nameToken = null; // class name if (LT(1) == IToken.tIDENTIFIER) { nameToken = identifier(); } if (LT(1) != IToken.tLBRACE) { IToken errorPoint = LA(1); backup(mark); throwBacktrack(errorPoint.getOffset(), errorPoint.getLength()); } consume(IToken.tLBRACE); IASTName name = null; if (nameToken != null) name = createName(nameToken); else name = createName(); ICASTCompositeTypeSpecifier result = createCompositeTypeSpecifier(); result.setKey(classKind); ((ASTNode) result).setOffset(classKey.getOffset()); result.setName(name); if (name != null) { name.setParent(result); name.setPropertyInParent(IASTCompositeTypeSpecifier.TYPE_NAME); } memberDeclarationLoop: while (LT(1) != IToken.tRBRACE) { int checkToken = LA(1).hashCode(); switch (LT(1)) { case IToken.tRBRACE: consume(IToken.tRBRACE); break memberDeclarationLoop; default: try { IASTDeclaration d = declaration(); d.setParent(result); d .setPropertyInParent(IASTCompositeTypeSpecifier.MEMBER_DECLARATION); result.addMemberDeclaration(d); } catch (BacktrackException bt) { if (checkToken == LA(1).hashCode()) failParseWithErrorHandling(); } } if (checkToken == LA(1).hashCode()) failParseWithErrorHandling(); } // consume the } int endOffset = consume(IToken.tRBRACE).getEndOffset(); ((CASTNode) result).setLength(endOffset - classKey.getOffset()); return result; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/8d833f012a81dac41a0d33c7e0f047c1dfe415f2/GNUCSourceParser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/GNUCSourceParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
467,
21871,
9400,
559,
21416,
1958,
1162,
14325,
21416,
1435,
540,
1216,
4297,
4101,
503,
16,
4403,
951,
812,
503,
288,
1377,
509,
667,
5677,
273,
374,
31,
1377,
467,
1345,
667,
653,
273,
446,
31,
1377,
467,
1345,
2267,
273,
2267,
5621,
1377,
368,
667,
498,
1377,
1620,
261,
12050,
12,
21,
3719,
288,
540,
648,
467,
1345,
18,
88,
67,
1697,
30,
5411,
667,
653,
273,
7865,
5621,
5411,
667,
5677,
273,
467,
9053,
9400,
559,
21416,
18,
79,
67,
1697,
31,
5411,
898,
31,
540,
648,
467,
1345,
18,
88,
67,
18910,
30,
5411,
667,
653,
273,
7865,
5621,
5411,
667,
5677,
273,
467,
9053,
9400,
559,
21416,
18,
79,
67,
18910,
31,
5411,
898,
31,
540,
805,
30,
5411,
604,
2711,
4101,
12,
3355,
18,
588,
2335,
9334,
2267,
18,
588,
1782,
10663,
1377,
289,
1377,
467,
1345,
508,
1345,
273,
446,
31,
1377,
368,
667,
508,
1377,
309,
261,
12050,
12,
21,
13,
422,
467,
1345,
18,
88,
16606,
13,
288,
540,
508,
1345,
273,
2756,
5621,
1377,
289,
1377,
309,
261,
12050,
12,
21,
13,
480,
467,
1345,
18,
88,
12995,
9254,
13,
288,
540,
467,
1345,
555,
2148,
273,
2928,
12,
21,
1769,
540,
5114,
12,
3355,
1769,
540,
604,
2711,
4101,
12,
1636,
2148,
18,
588,
2335,
9334,
555,
2148,
18,
588,
1782,
10663,
1377,
289,
1377,
7865,
12,
1285,
969,
18,
88,
12995,
9254,
1769,
1377,
467,
9053,
461,
508,
273,
446,
31,
1377,
309,
261,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4750,
467,
21871,
9400,
559,
21416,
1958,
1162,
14325,
21416,
1435,
540,
1216,
4297,
4101,
503,
16,
4403,
951,
812,
503,
288,
1377,
509,
667,
5677,
273,
374,
31,
1377,
467,
1345,
667,
653,
273,
446,
31,
1377,
467,
1345,
2267,
273,
2267,
5621,
1377,
368,
667,
498,
1377,
1620,
261,
12050,
12,
21,
3719,
288,
540,
648,
467,
1345,
18,
88,
67,
1697,
30,
5411,
667,
653,
273,
7865,
5621,
5411,
667,
5677,
273,
467,
9053,
9400,
559,
21416,
18,
79,
67,
1697,
31,
5411,
898,
31,
540,
648,
467,
1345,
18,
88,
67,
18910,
30,
5411,
667,
653,
273,
7865,
5621,
5411,
667,
5677,
273,
467,
9053,
9400,
559,
21416,
18,
79,
67,
18910,
31,
5411,
2
] |
ServiceClient sender = new ServiceClient(configContext);
|
ServiceClient sender = new ServiceClient(configContext, null);
|
public void testEchoXMLSync() throws Exception { for (int i = 0; i < 10; i++) { OMElement payload = createPayload(); Options clientOptions = new Options(); clientOptions.setTo(targetEPR); clientOptions.setProperty(Constants.Configuration.ENABLE_MTOM, Constants.VALUE_TRUE); clientOptions.setTransportInProtocol(Constants.TRANSPORT_HTTP); clientOptions.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); ConfigurationContextFactory factory = new ConfigurationContextFactory(); ConfigurationContext configContext = factory.buildConfigurationContext("target/test-resources/integrationRepo"); ServiceClient sender = new ServiceClient(configContext); sender.setOptions(clientOptions); OMElement result = sender.sendReceive(payload); OMElement data = (OMElement) result.getFirstOMChild(); compareWithCreatedOMText(data.getText()); sender.finalizeInvoke(); log.info("" + i); UtilServer.unDeployClientService(); } }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/8baa74e67adc60139306df51be4a393501d5b175/EchoRawMTOMToBase64Test.java/buggy/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMToBase64Test.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
19704,
4201,
4047,
1435,
1216,
1185,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1728,
31,
277,
27245,
288,
5411,
531,
12310,
2385,
273,
752,
6110,
5621,
5411,
5087,
26512,
273,
394,
5087,
5621,
5411,
26512,
18,
542,
774,
12,
3299,
41,
8025,
1769,
5411,
26512,
18,
542,
1396,
12,
2918,
18,
1750,
18,
29377,
67,
6152,
1872,
16,
5245,
18,
4051,
67,
18724,
1769,
5411,
26512,
18,
542,
6568,
382,
5752,
12,
2918,
18,
8989,
31943,
67,
3693,
1769,
5411,
26512,
18,
542,
20601,
1444,
3098,
12,
27952,
2138,
2918,
18,
27952,
67,
1157,
24397,
1423,
67,
11368,
67,
3098,
1769,
5411,
4659,
29871,
3272,
273,
394,
4659,
29871,
5621,
5411,
4659,
1042,
642,
1042,
273,
10792,
3272,
18,
3510,
1750,
1042,
2932,
3299,
19,
3813,
17,
4683,
19,
27667,
8791,
8863,
5411,
1956,
1227,
5793,
273,
394,
1956,
1227,
12,
1425,
1042,
16,
446,
1769,
5411,
5793,
18,
542,
1320,
12,
2625,
1320,
1769,
5411,
531,
12310,
563,
273,
5793,
18,
4661,
11323,
12,
7648,
1769,
5411,
531,
12310,
501,
273,
261,
51,
12310,
13,
563,
18,
588,
3759,
1872,
1763,
5621,
5411,
3400,
1190,
6119,
1872,
1528,
12,
892,
18,
588,
1528,
10663,
5411,
5793,
18,
30343,
10969,
5621,
5411,
613,
18,
1376,
2932,
6,
397,
277,
1769,
5411,
3564,
2081,
18,
318,
10015,
1227,
1179,
5621,
3639,
289,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
19704,
4201,
4047,
1435,
1216,
1185,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1728,
31,
277,
27245,
288,
5411,
531,
12310,
2385,
273,
752,
6110,
5621,
5411,
5087,
26512,
273,
394,
5087,
5621,
5411,
26512,
18,
542,
774,
12,
3299,
41,
8025,
1769,
5411,
26512,
18,
542,
1396,
12,
2918,
18,
1750,
18,
29377,
67,
6152,
1872,
16,
5245,
18,
4051,
67,
18724,
1769,
5411,
26512,
18,
542,
6568,
382,
5752,
12,
2918,
18,
8989,
31943,
67,
3693,
1769,
5411,
26512,
18,
542,
20601,
1444,
3098,
12,
27952,
2138,
2918,
18,
27952,
67,
1157,
24397,
1423,
67,
11368,
67,
3098,
1769,
5411,
4659,
29871,
3272,
273,
394,
4659,
29871,
5621,
5411,
2
] |
return super.toString()+":"+Base64.encode(routingKey)+","+ Base64.encode(cryptoKey)+","+compressionAlgorithm+","+controlDocument+ ","+cryptoAlgorithm;
|
return super.toString()+ ':' +Base64.encode(routingKey)+ ',' + Base64.encode(cryptoKey)+ ',' +compressionAlgorithm+ ',' +controlDocument+ ',' +cryptoAlgorithm;
|
public String toString() { return super.toString()+":"+Base64.encode(routingKey)+","+ Base64.encode(cryptoKey)+","+compressionAlgorithm+","+controlDocument+ ","+cryptoAlgorithm; }
|
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/62fd59041864b4ed1f43adc676de6bfb5ea977f3/ClientCHK.java/buggy/src/freenet/keys/ClientCHK.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
288,
3639,
327,
2240,
18,
10492,
1435,
9078,
2773,
15,
2171,
1105,
18,
3015,
12,
16529,
653,
27921,
15937,
15,
540,
202,
2171,
1105,
18,
3015,
12,
18489,
653,
27921,
15937,
15,
23766,
6801,
15,
15937,
15,
7098,
2519,
15,
540,
202,
15937,
15,
18489,
6801,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
514,
1762,
1435,
288,
3639,
327,
2240,
18,
10492,
1435,
9078,
2773,
15,
2171,
1105,
18,
3015,
12,
16529,
653,
27921,
15937,
15,
540,
202,
2171,
1105,
18,
3015,
12,
18489,
653,
27921,
15937,
15,
23766,
6801,
15,
15937,
15,
7098,
2519,
15,
540,
202,
15937,
15,
18489,
6801,
31,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { DynaActionForm editarAulaForm = (DynaActionForm) form; HttpSession sessao = request.getSession(false); if (sessao != null) { IUserView userView = (IUserView) sessao.getAttribute(SessionConstants.U_VIEW); GestorServicos gestor = GestorServicos.manager(); InfoLesson iAulaAntiga = (InfoLesson) sessao.getAttribute("infoAula"); Calendar inicio = Calendar.getInstance(); inicio.set( Calendar.HOUR_OF_DAY, Integer.parseInt((String)editarAulaForm.get("horaInicio"))); inicio.set( Calendar.MINUTE, Integer.parseInt((String)editarAulaForm.get("minutosInicio"))); inicio.set(Calendar.SECOND, 0); Calendar fim = Calendar.getInstance(); fim.set( Calendar.HOUR_OF_DAY, Integer.parseInt((String)editarAulaForm.get("horaFim"))); fim.set( Calendar.MINUTE, Integer.parseInt((String)editarAulaForm.get("minutosFim"))); fim.set(Calendar.SECOND, 0); InfoRoom infoSala = new InfoRoom(); infoSala.setNome((String) editarAulaForm.get("nomeSala")); RoomKey kSalaAntiga = new RoomKey(iAulaAntiga.getInfoSala().getNome()); KeyLesson kAulaAntiga = new KeyLesson( iAulaAntiga.getDiaSemana(), iAulaAntiga.getInicio(), iAulaAntiga.getFim(), kSalaAntiga); InfoLesson iAula = new InfoLesson( new DiaSemana(new Integer((String) editarAulaForm.get("diaSemana"))), inicio, fim, new TipoAula(new Integer((String) editarAulaForm.get("tipoAula"))), infoSala, iAulaAntiga.getInfoDisciplinaExecucao()); Object argsEditarAula[] = { kAulaAntiga, iAula }; InfoLessonServiceResult result = null; try { result = (InfoLessonServiceResult) gestor.executar( userView, "EditarAula", argsEditarAula); } catch (ExistingServiceException ex) { throw new ExistingActionException("A aula", ex); } catch (InterceptingServiceException ex) { throw new InterceptingActionException(infoSala.getNome(), ex); } InfoExecutionCourse iDE = (InfoExecutionCourse) sessao.getAttribute( "infoDisciplinaExecucao"); Object argsLerAulas[] = new Object[1]; argsLerAulas[0] = iDE; ArrayList infoAulas = (ArrayList) gestor.executar( userView, "LerAulasDeDisciplinaExecucao", argsLerAulas); sessao.removeAttribute("listaAulas"); if (infoAulas != null && !infoAulas.isEmpty()) sessao.setAttribute("listaAulas", infoAulas); sessao.removeAttribute("indexAula"); ActionErrors actionErrors = getActionErrors(result, inicio, fim); if (actionErrors.isEmpty()) { sessao.removeAttribute("infoAula"); return mapping.findForward("Sucesso"); } else { saveErrors(request, actionErrors); return mapping.getInputForward(); } } else throw new Exception(); }
|
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/b1e0bdc3ae8d91a1ad9a46c8becf21c3c099cf75/EditarAulaFormAction.java/buggy/src/ServidorApresentacao/Action/sop/EditarAulaFormAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4382,
8514,
1836,
12,
202,
202,
1803,
3233,
2874,
16,
202,
202,
1803,
1204,
646,
16,
202,
202,
2940,
18572,
590,
16,
202,
202,
2940,
29910,
766,
13,
202,
202,
15069,
1185,
288,
202,
202,
10419,
69,
1803,
1204,
3874,
297,
37,
5552,
1204,
273,
261,
10419,
69,
1803,
1204,
13,
646,
31,
202,
202,
2940,
2157,
8451,
6033,
273,
590,
18,
588,
2157,
12,
5743,
1769,
202,
202,
430,
261,
23828,
6033,
480,
446,
13,
288,
1082,
202,
45,
1299,
1767,
729,
1767,
273,
261,
45,
1299,
1767,
13,
8451,
6033,
18,
588,
1499,
12,
2157,
2918,
18,
57,
67,
12145,
1769,
6862,
202,
43,
395,
280,
827,
90,
335,
538,
314,
395,
280,
273,
611,
395,
280,
827,
90,
335,
538,
18,
4181,
5621,
1082,
202,
966,
15313,
265,
277,
37,
5552,
14925,
360,
69,
273,
9506,
202,
12,
966,
15313,
265,
13,
8451,
6033,
18,
588,
1499,
2932,
1376,
37,
5552,
8863,
25083,
202,
7335,
316,
335,
1594,
273,
5542,
18,
588,
1442,
5621,
1082,
202,
267,
335,
1594,
18,
542,
12,
9506,
202,
7335,
18,
21372,
67,
3932,
67,
10339,
16,
9506,
202,
4522,
18,
2670,
1702,
12443,
780,
13,
4619,
297,
37,
5552,
1204,
18,
588,
2932,
76,
10610,
382,
335,
1594,
6,
3719,
1769,
1082,
202,
267,
335,
1594,
18,
542,
12,
9506,
202,
7335,
18,
30090,
16,
9506,
202,
4522,
18,
2670,
1702,
12443,
780,
13,
4619,
297,
37,
5552,
1204,
18,
588,
2932,
1154,
322,
538,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4382,
8514,
1836,
12,
202,
202,
1803,
3233,
2874,
16,
202,
202,
1803,
1204,
646,
16,
202,
202,
2940,
18572,
590,
16,
202,
202,
2940,
29910,
766,
13,
202,
202,
15069,
1185,
288,
202,
202,
10419,
69,
1803,
1204,
3874,
297,
37,
5552,
1204,
273,
261,
10419,
69,
1803,
1204,
13,
646,
31,
202,
202,
2940,
2157,
8451,
6033,
273,
590,
18,
588,
2157,
12,
5743,
1769,
202,
202,
430,
261,
23828,
6033,
480,
446,
13,
288,
1082,
202,
45,
1299,
1767,
729,
1767,
273,
261,
45,
1299,
1767,
13,
8451,
6033,
18,
588,
1499,
12,
2157,
2918,
18,
57,
67,
12145,
1769,
6862,
202,
43,
395,
280,
827,
90,
335,
538,
314,
395,
280,
273,
2
] |
||
protected PDOMSearchQuery(int flags) {
|
protected PDOMSearchQuery(ICElement[] scope, int flags) {
|
protected PDOMSearchQuery(int flags) { this.flags = flags; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/c394f40e489dd37280520439c09530c1c4a9e61f/PDOMSearchQuery.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/PDOMSearchQuery.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
453,
8168,
2979,
1138,
12,
474,
2943,
13,
288,
202,
202,
2211,
18,
7133,
273,
2943,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
453,
8168,
2979,
1138,
12,
474,
2943,
13,
288,
202,
202,
2211,
18,
7133,
273,
2943,
31,
202,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Identity getCallerIdentity() throws IllegalStateException;
|
Identity getCallerIdentity();
|
Identity getCallerIdentity() throws IllegalStateException;
|
6764 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6764/5853b56d0f8ffd8709172ca7c9c31357766144d6/EJBContext.java/buggy/j2ee/src/java/javax/ejb/EJBContext.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
7808,
336,
11095,
4334,
1435,
1216,
5477,
31,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
7808,
336,
11095,
4334,
1435,
1216,
5477,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
bos.write(key.toString(false).getBytes());
|
bos.write(key.toString().getBytes("UTF-8"));
|
private static String getForceValue(FreenetURI key, long time) { MessageDigest md = SHA256.getMessageDigest(); ByteArrayOutputStream bos = new ByteArrayOutputStream(); try{ bos.write(random); bos.write(key.toString(false).getBytes()); bos.write(Long.toString(time / FORCE_GRAIN_INTERVAL).getBytes()); } catch (IOException e) { throw new Error(e); } return HexUtil.bytesToHex(md.digest(bos.toByteArray())); }
|
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/1c876261ab73159d57a26624667ec7bf7acd15b8/FProxyToadlet.java/buggy/src/freenet/clients/http/FProxyToadlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
514,
336,
10997,
620,
12,
42,
2842,
278,
3098,
498,
16,
1525,
813,
13,
288,
202,
202,
1079,
9568,
3481,
273,
9777,
5034,
18,
24906,
9568,
5621,
202,
202,
8826,
4632,
23904,
273,
394,
11559,
5621,
9506,
202,
698,
95,
1082,
202,
70,
538,
18,
2626,
12,
9188,
1769,
1082,
202,
70,
538,
18,
2626,
12,
856,
18,
10492,
12,
5743,
2934,
588,
2160,
10663,
1082,
202,
70,
538,
18,
2626,
12,
3708,
18,
10492,
12,
957,
342,
12108,
1441,
67,
24554,
706,
67,
16435,
2934,
588,
2160,
10663,
202,
202,
97,
1044,
261,
14106,
425,
13,
288,
1082,
202,
12849,
394,
1068,
12,
73,
1769,
202,
202,
97,
9506,
202,
2463,
15734,
1304,
18,
3890,
774,
7037,
12,
1264,
18,
10171,
12,
70,
538,
18,
869,
8826,
1435,
10019,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1152,
760,
514,
336,
10997,
620,
12,
42,
2842,
278,
3098,
498,
16,
1525,
813,
13,
288,
202,
202,
1079,
9568,
3481,
273,
9777,
5034,
18,
24906,
9568,
5621,
202,
202,
8826,
4632,
23904,
273,
394,
11559,
5621,
9506,
202,
698,
95,
1082,
202,
70,
538,
18,
2626,
12,
9188,
1769,
1082,
202,
70,
538,
18,
2626,
12,
856,
18,
10492,
12,
5743,
2934,
588,
2160,
10663,
1082,
202,
70,
538,
18,
2626,
12,
3708,
18,
10492,
12,
957,
342,
12108,
1441,
67,
24554,
706,
67,
16435,
2934,
588,
2160,
10663,
202,
202,
97,
1044,
261,
14106,
425,
13,
288,
1082,
202,
12849,
394,
1068,
12,
73,
1769,
202,
202,
97,
9506,
202,
2463,
15734,
1304,
18,
2
] |
return fgCWorkbenchAdapter;
|
return getWorkbenchAdapter(celem);
|
public Object getAdapter(Object element, Class key) { ICElement celem = (ICElement) element; IResource res = null; if (IPropertySource.class.equals(key)) { if (celem instanceof IBinary) { return new BinaryPropertySource((IBinary)celem); } res = celem.getResource(); if (res != null) { if (res instanceof IFile) { return new FilePropertySource((IFile)res); } return new ResourcePropertySource(res); } return new CElementPropertySource(celem); } else if (IWorkspaceRoot.class.equals(key)) { res = celem.getUnderlyingResource(); if (res != null) return res.getWorkspace().getRoot(); } else if (IProject.class.equals(key)) { res = celem.getResource(); if (res != null) return res.getProject(); } else if (IResource.class.equals(key)) { return celem.getResource(); } else if (IDeferredWorkbenchAdapter.class.equals(key)) { return fgDeferredCWorkbenchAdapter; } else if (IWorkbenchAdapter.class.equals(key)) { return fgCWorkbenchAdapter; } else if (IActionFilter.class.equals(key)) { return fgCWorkbenchAdapter; } return null; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/41d098da72990706a7f21c5e8f13a2c01b778543/CElementAdapterFactory.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CElementAdapterFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
16679,
12,
921,
930,
16,
1659,
498,
13,
288,
202,
202,
2871,
1046,
276,
10037,
273,
261,
2871,
1046,
13,
930,
31,
202,
202,
45,
1420,
400,
273,
446,
31,
9506,
202,
430,
261,
45,
1396,
1830,
18,
1106,
18,
14963,
12,
856,
3719,
288,
1082,
202,
430,
261,
2183,
351,
1276,
467,
5905,
13,
288,
9506,
202,
2463,
394,
7896,
1396,
1830,
12443,
45,
5905,
13,
2183,
351,
1769,
6862,
1082,
202,
97,
1082,
202,
455,
273,
276,
10037,
18,
588,
1420,
5621,
1082,
202,
430,
261,
455,
480,
446,
13,
288,
9506,
202,
430,
261,
455,
1276,
467,
812,
13,
288,
6862,
202,
2463,
394,
1387,
1396,
1830,
12443,
45,
812,
13,
455,
1769,
9506,
202,
97,
9506,
202,
2463,
394,
2591,
1396,
1830,
12,
455,
1769,
1082,
202,
97,
1082,
202,
2463,
394,
385,
1046,
1396,
1830,
12,
2183,
351,
1769,
202,
202,
97,
469,
309,
261,
45,
8241,
2375,
18,
1106,
18,
14963,
12,
856,
3719,
288,
9506,
400,
273,
276,
10037,
18,
588,
14655,
6291,
1420,
5621,
1082,
202,
430,
261,
455,
480,
446,
13,
9506,
202,
2463,
400,
18,
588,
8241,
7675,
588,
2375,
5621,
202,
202,
97,
469,
309,
261,
45,
4109,
18,
1106,
18,
14963,
12,
856,
3719,
288,
1082,
202,
455,
273,
276,
10037,
18,
588,
1420,
5621,
1082,
202,
430,
261,
455,
480,
446,
13,
9506,
202,
2463,
400,
18,
588,
4109,
5621,
202,
202,
97,
469,
309,
261,
45,
1420,
18,
1106,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
16679,
12,
921,
930,
16,
1659,
498,
13,
288,
202,
202,
2871,
1046,
276,
10037,
273,
261,
2871,
1046,
13,
930,
31,
202,
202,
45,
1420,
400,
273,
446,
31,
9506,
202,
430,
261,
45,
1396,
1830,
18,
1106,
18,
14963,
12,
856,
3719,
288,
1082,
202,
430,
261,
2183,
351,
1276,
467,
5905,
13,
288,
9506,
202,
2463,
394,
7896,
1396,
1830,
12443,
45,
5905,
13,
2183,
351,
1769,
6862,
1082,
202,
97,
1082,
202,
455,
273,
276,
10037,
18,
588,
1420,
5621,
1082,
202,
430,
261,
455,
480,
446,
13,
288,
9506,
202,
430,
261,
455,
1276,
467,
812,
13,
288,
6862,
202,
2463,
394,
1387,
1396,
1830,
12443,
45,
812,
13,
455,
2
] |
Timer timer = new Timer(menu.getDelay(), new SelectMenuAction()); timer.setRepeats(false); timer.start();
|
protected void setupPostTimer(JMenu menu) { // TODO: Implement this properly. }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicMenuUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
12290,
5441,
273,
394,
12290,
12,
5414,
18,
588,
6763,
9334,
394,
6766,
4599,
1803,
10663,
5441,
18,
542,
426,
347,
2323,
12,
5743,
1769,
5441,
18,
1937,
5621,
12290,
5441,
273,
394,
12290,
12,
5414,
18,
588,
6763,
9334,
394,
6766,
4599,
1803,
10663,
5441,
18,
542,
426,
347,
2323,
12,
5743,
1769,
5441,
18,
1937,
5621,
4750,
6777,
5441,
273,
394,
12290,
12,
5414,
18,
588,
6763,
9334,
394,
6766,
4599,
1803,
10663,
5441,
18,
542,
426,
347,
2323,
12,
5743,
1769,
5441,
18,
1937,
5621,
918,
6777,
5441,
273,
394,
12290,
12,
5414,
18,
588,
6763,
9334,
394,
6766,
4599,
1803,
10663,
5441,
18,
542,
426,
347,
2323,
12,
5743,
1769,
5441,
18,
1937,
5621,
3875,
3349,
6777,
12,
46,
4599,
6777,
5441,
273,
394,
12290,
12,
5414,
18,
588,
6763,
9334,
394,
6766,
4599,
1803,
10663,
5441,
18,
542,
426,
347,
2323,
12,
5743,
1769,
5441,
18,
1937,
5621,
3824,
13,
6777,
5441,
273,
394,
12290,
12,
5414,
18,
588,
6763,
9334,
394,
6766,
4599,
1803,
10663,
5441,
18,
542,
426,
347,
2323,
12,
5743,
1769,
5441,
18,
1937,
5621,
12290,
5441,
273,
394,
12290,
12,
5414,
18,
588,
6763,
9334,
394,
6766,
4599,
1803,
10663,
5441,
18,
542,
426,
347,
2323,
12,
5743,
1769,
5441,
18,
1937,
5621,
288,
6777,
5441,
273,
394,
12290,
12,
5414,
18,
588,
6763,
9334,
394,
6766,
4599,
1803,
10663,
5441,
18,
542,
426,
347,
2323,
12,
5743,
1769,
5441,
18,
1937,
5621,
12290,
5441,
273,
394,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12290,
5441,
273,
394,
12290,
12,
5414,
18,
588,
6763,
9334,
394,
6766,
4599,
1803,
10663,
5441,
18,
542,
426,
347,
2323,
12,
5743,
1769,
5441,
18,
1937,
5621,
12290,
5441,
273,
394,
12290,
12,
5414,
18,
588,
6763,
9334,
394,
6766,
4599,
1803,
10663,
5441,
18,
542,
426,
347,
2323,
12,
5743,
1769,
5441,
18,
1937,
5621,
4750,
6777,
5441,
273,
394,
12290,
12,
5414,
18,
588,
6763,
9334,
394,
6766,
4599,
1803,
10663,
5441,
18,
542,
426,
347,
2323,
12,
5743,
1769,
5441,
18,
1937,
5621,
918,
6777,
5441,
273,
394,
12290,
12,
5414,
18,
588,
6763,
9334,
394,
6766,
4599,
1803,
10663,
5441,
18,
542,
426,
347,
2323,
12,
5743,
1769,
5441,
18,
1937,
5621,
3875,
2
] |
|
pcJump = (int)sDbl[LOCAL_SHFT + slot];
|
pcJump = (int)sDbl[LOCAL_SHFT + indexReg];
|
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScriptException { if (cx.interpreterSecurityDomain != idata.securityDomain) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); } SecurityController sc = idata.securityController; Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = idata.securityDomain; try { return sc.callWithDomain(idata.securityDomain, cx, fnOrScript, scope, thisObj, args); } finally { cx.interpreterSecurityDomain = savedDomain; } } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int VAR_SHFT = 0; final int maxVars = idata.itsMaxVars; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Kit.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int withDepth = 0; int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[VAR_SHFT + i] = arg; if (arg == DBL_MRK) { sDbl[VAR_SHFT + i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } DebugFrame debuggerFrame = null; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); } if (idata.itsFunctionType != 0) { InterpretedFunction f = (InterpretedFunction)fnOrScript; if (!idata.useDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } } else { ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Kit.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { createFunction(cx, scope, fdata, idata.itsFromEvalCode); } } } // Wrapped regexps for functions are stored in InterpretedFunction // but for script which should not contain references to scope // the regexps re-wrapped during each script execution Scriptable[] scriptRegExps = null; boolean useActivationVars = false; if (debuggerFrame != null) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) { useActivationVars = true; scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } InterpreterData savedData = cx.interpreterData; cx.interpreterData = idata; Object result = undefined; // If javaException != null on exit, it will be throw instead of // normal return Throwable javaException = null; int exceptionPC = -1; byte[] iCode = idata.itsICode; int pc = 0; int pcPrevBranch = 0; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; String[] strings = idata.itsStringTable; String stringReg = null; int indexReg = 0; Loop: for (;;) { int pcJump; try { int op = 0xFF & iCode[pc++]; switch (op) { // Back indent to ease imlementation reading case Icode_CATCH: { // The following code should be executed inside try/catch inside main // loop, not in the loop catch block itself to deal with exceptions // from observeInstructionCount. A special bytecode is used only to // simplify logic. if (javaException == null) Kit.codeBug(); pcJump = -1; boolean doCatch = false; int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { final int SCRIPT_CAN_CATCH = 0, ONLY_FINALLY = 1, OTHER = 2; int exType; if (javaException instanceof JavaScriptException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EcmaError) { // an offical ECMA error object, exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EvaluatorException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof RuntimeException) { exType = ONLY_FINALLY; } else { // Error instance exType = OTHER; } if (exType != OTHER) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script if (exType == SCRIPT_CAN_CATCH) { // Allow JS to catch only JavaScriptException and // EcmaError pcJump = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pcJump >= 0) { // Has catch block doCatch = true; } } if (pcJump < 0) { pcJump = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pcJump < 0) { break Loop; } // We caught an exception // restore scope at try point int tryWithDepth = idata.itsExceptionTable[ handlerOffset + EXCEPTION_WITH_DEPTH_SLOT]; while (tryWithDepth != withDepth) { if (scope == null) Kit.codeBug(); scope = ScriptRuntime.leaveWith(scope); --withDepth; } if (doCatch) { stackTop = STACK_SHFT - 1; int exLocal = idata.itsExceptionTable[ handlerOffset + EXCEPTION_LOCAL_SLOT]; stack[LOCAL_SHFT + exLocal] = ScriptRuntime.getCatchObject( cx, scope, javaException); } else { stackTop = STACK_SHFT; // Call finally handler with javaException on stack top to // distinguish from normal invocation through GOSUB // which would contain DBL_MRK on the stack stack[stackTop] = javaException; } // clear exception javaException = null; // go to generic jump code break; } case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int sourceLine = getShort(iCode, pc); throw new JavaScriptException(value, idata.itsSourceFile, sourceLine); } case Token.GE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl <= lDbl); } else { valBln = ScriptRuntime.cmp_LE(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.LE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl <= rDbl); } else { valBln = ScriptRuntime.cmp_LE(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.GT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl < lDbl); } else { valBln = ScriptRuntime.cmp_LT(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl < rDbl); } else { valBln = ScriptRuntime.cmp_LT(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.IFNE : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { pc += 2; continue Loop; } pcJump = getTarget(iCode, pc); break; } case Token.IFEQ : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { pc += 2; continue Loop; } pcJump = getTarget(iCode, pc); break; } case Icode_IFEQ_POP : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { pc += 2; continue Loop; } stack[stackTop] = null; --stackTop; pcJump = getTarget(iCode, pc); break; } case Token.GOTO : pcJump = getTarget(iCode, pc); break; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 2; pcJump = getTarget(iCode, pc); break; case Icode_RETSUB : { int slot = (iCode[pc] & 0xFF); Object value = stack[LOCAL_SHFT + slot]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc - 1; pcJump = getJavaCatchPC(iCode); } else { // Normal return from GOSUB pcJump = (int)sDbl[LOCAL_SHFT + slot]; } break; } case Token.POP : stack[stackTop] = null; stackTop--; continue Loop; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; continue Loop; case Icode_DUPSECOND : { stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stackTop++; continue Loop; } case Icode_SWAP : { Object o = stack[stackTop]; stack[stackTop] = stack[stackTop - 1]; stack[stackTop - 1] = o; double d = sDbl[stackTop]; sDbl[stackTop] = sDbl[stackTop - 1]; sDbl[stackTop - 1] = d; continue Loop; } case Token.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; continue Loop; case Token.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Token.RETURN_POPV : break Loop; case Icode_RETUNDEF : result = undefined; break Loop; case Token.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; continue Loop; } case Token.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; continue Loop; } case Token.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; continue Loop; } case Token.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; continue Loop; } case Token.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; continue Loop; } case Token.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; continue Loop; } case Token.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; continue Loop; } case Token.ADD : --stackTop; do_add(stack, sDbl, stackTop); continue Loop; case Token.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; continue Loop; } case Token.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; continue Loop; } case Token.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; continue Loop; } case Token.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; continue Loop; } case Token.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; continue Loop; } case Token.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; continue Loop; } case Token.NOT : { stack[stackTop] = stack_boolean(stack, sDbl, stackTop) ? Boolean.FALSE : Boolean.TRUE; continue Loop; } case Icode_REG_STR1: stringReg = strings[0xFF & iCode[pc]]; ++pc; continue Loop; case Icode_REG_STR2: stringReg = strings[getIndex(iCode, pc)]; pc += 2; continue Loop; case Icode_REG_STR4: stringReg = strings[getInt(iCode, pc)]; pc += 4; continue Loop; case Icode_REG_IND1: indexReg = 0xFF & iCode[pc]; ++pc; continue Loop; case Icode_REG_IND2: indexReg = getIndex(iCode, pc); pc += 2; continue Loop; case Icode_REG_IND4: indexReg = getInt(iCode, pc); pc += 4; continue Loop; case Token.BINDNAME : stack[++stackTop] = ScriptRuntime.bind(scope, stringReg); continue Loop; case Token.SETNAME : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, stringReg); continue Loop; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs); continue Loop; } case Token.GETPROP : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); continue Loop; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); continue Loop; } case Token.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; continue Loop; case Token.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; continue Loop; case Icode_PROPINC : case Icode_PROPDEC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecr(lhs, name, scope, op == Icode_PROPINC); continue Loop; } case Icode_ELEMINC : case Icode_ELEMDEC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecrElem(lhs, rhs, scope, op == Icode_ELEMINC); continue Loop; } case Token.LOCAL_SAVE : { int slot = (iCode[pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; --stackTop; ++pc; continue Loop; } case Token.LOCAL_LOAD : { int slot = (iCode[pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; ++pc; continue Loop; } case Icode_CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } // indexReg: number of arguments int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int sourceLine = getShort(iCode, pc + 2); stackTop -= indexReg; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, indexReg); Object functionThis; if (isNew) { functionThis = null; } else { functionThis = stack[stackTop]; if (functionThis == DBL_MRK) { functionThis = doubleWrap(sDbl[stackTop]); } --stackTop; } Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, function, isNew, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); instructionCount = cx.instructionCount; pc += 4; continue Loop; } case Token.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } // indexReg: number of arguments stackTop -= indexReg; int calleeArgShft = stackTop + 1; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; Scriptable calleeScope = scope; if (idata.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } Scriptable calleeThis; if (rhs instanceof Scriptable || rhs == null) { calleeThis = (Scriptable)rhs; } else { calleeThis = ScriptRuntime.toObject(cx, calleeScope, rhs); } if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; stack[stackTop] = interpret(cx, calleeScope, calleeThis, stack, sDbl, calleeArgShft, indexReg, f, f.itsData); } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, indexReg); stack[stackTop] = f.call(cx, calleeScope, calleeThis, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = stringReg; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; continue Loop; } case Token.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } // indexReg: number of arguments stackTop -= indexReg; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, indexReg, f, f.itsData); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, indexReg); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = stringReg; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; continue Loop; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); continue Loop; } case Icode_TYPEOFNAME : stack[++stackTop] = ScriptRuntime.typeofName(scope, stringReg); continue Loop; case Icode_NAME_FAST_THIS : case Icode_NAME_SLOW_THIS : stackTop = do_nameAndThis(stack, stackTop, scope, stringReg, op); continue Loop; case Token.STRING : stack[++stackTop] = stringReg; continue Loop; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc); pc += 2; continue Loop; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc); pc += 4; continue Loop; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[indexReg]; continue Loop; case Token.NAME : stack[++stackTop] = ScriptRuntime.name(scope, stringReg); continue Loop; case Icode_NAMEINC : case Icode_NAMEDEC : stack[++stackTop] = ScriptRuntime.postIncrDecr(scope, stringReg, op == Icode_NAMEINC); continue Loop; case Token.SETVAR : { int slot = (iCode[pc] & 0xFF); if (!useActivationVars) { stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, slot, val); } ++pc; continue Loop; } case Token.GETVAR : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; } else { stack[stackTop] = activationGet(fnOrScript, scope, slot); } ++pc; continue Loop; } case Icode_VARINC : case Icode_VARDEC : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { Object val = stack[VAR_SHFT + slot]; stack[stackTop] = val; double d; if (val == DBL_MRK) { d = sDbl[VAR_SHFT + slot]; sDbl[stackTop] = d; } else { d = ScriptRuntime.toNumber(val); } stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = (op == Icode_VARINC) ? d + 1.0 : d - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; double d = ScriptRuntime.toNumber(val); val = doubleWrap((op == Icode_VARINC) ? d + 1.0 : d - 1.0); activationPut(fnOrScript, scope, slot, val); } ++pc; continue Loop; } case Token.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; continue Loop; case Token.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; continue Loop; case Token.NULL : stack[++stackTop] = null; continue Loop; case Token.THIS : stack[++stackTop] = thisObj; continue Loop; case Token.THISFN : stack[++stackTop] = fnOrScript; continue Loop; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; continue Loop; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; continue Loop; case Token.UNDEFINED : stack[++stackTop] = Undefined.instance; continue Loop; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); ++withDepth; continue Loop; } case Token.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); --withDepth; continue Loop; case Token.CATCH_SCOPE : stack[stackTop] = ScriptRuntime.newCatchScope(stringReg, stack[stackTop]); continue Loop; case Token.ENUM_INIT : { int slot = (iCode[pc] & 0xFF); Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.enumInit(lhs, scope); ++pc; continue Loop; } case Token.ENUM_NEXT : case Token.ENUM_ID : { int slot = (iCode[pc] & 0xFF); Object val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val); ++pc; continue Loop; } case Icode_PUSH_PARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[++stackTop] = ScriptRuntime.getParent(lhs); continue Loop; } case Icode_GETPROTO : case Icode_GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_GETPROTO) { val = ScriptRuntime.getProto(lhs, scope); } else { val = ScriptRuntime.getParent(lhs, scope); } stack[stackTop] = val; continue Loop; } case Icode_SETPROTO : case Icode_SETPARENT : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_SETPROTO) { val = ScriptRuntime.setProto(lhs, rhs, scope); } else { val = ScriptRuntime.setParent(lhs, rhs, scope); } stack[stackTop] = val; continue Loop; } case Icode_SCOPE : stack[++stackTop] = scope; continue Loop; case Icode_CLOSURE : { InterpreterData closureData = idata.itsNestedFunctions[indexReg]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); continue Loop; } case Token.REGEXP : { Scriptable regexp; if (idata.itsFunctionType != 0) { regexp = ((InterpretedFunction)fnOrScript).itsRegExps[indexReg]; } else { if (scriptRegExps == null) { scriptRegExps = wrapRegExps(cx, scope, idata); } regexp = scriptRegExps[indexReg]; } stack[++stackTop] = regexp; continue Loop; } case Icode_LITERAL_NEW : // indexReg: number of values in the literal ++stackTop; stack[stackTop] = new Object[indexReg]; sDbl[stackTop] = 0; continue Loop; case Icode_LITERAL_SET : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int i = (int)sDbl[stackTop]; ((Object[])stack[stackTop])[i] = value; sDbl[stackTop] = i + 1; continue Loop; } case Token.ARRAYLIT : case Icode_SPARE_ARRAYLIT : case Token.OBJECTLIT : { Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.OBJECTLIT) { Object[] ids = (Object[])idata.literalIds[indexReg]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, scope); } else { int[] skipIndexces = null; if (op == Icode_SPARE_ARRAYLIT) { skipIndexces = (int[])idata.literalIds[indexReg]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, scope); } stack[stackTop] = val; continue Loop; } case Icode_LINE : { cx.interpreterLineIndex = pc; if (debuggerFrame != null) { int line = getShort(iCode, pc); debuggerFrame.onLineChange(cx, line); } pc += 2; continue Loop; } default : { dumpICode(idata); throw new RuntimeException("Unknown icode : "+op+" @ pc : "+(pc-1)); } } // end of interpreter switch // This should be reachable only for jump implementation if (instructionThreshold != 0) { instructionCount += pc - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } pcPrevBranch = pcJump; } pc = pcJump; continue Loop; } // end of interpreter try catch (Throwable ex) { pcJump = getJavaCatchPC(iCode); if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } pcPrevBranch = pcJump; } javaException = ex; exceptionPC = pc - 1; pc = pcJump; continue Loop; } } // end of interpreter loop cx.interpreterData = savedData; if (debuggerFrame != null) { if (javaException != null) { debuggerFrame.onExit(cx, true, javaException); } else { debuggerFrame.onExit(cx, false, result); } } if (idata.itsNeedsActivation || debuggerFrame != null) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } if (javaException != null) { if (javaException instanceof JavaScriptException) { throw (JavaScriptException)javaException; } else if (javaException instanceof RuntimeException) { throw (RuntimeException)javaException; } else { // Must be instance of Error or code bug throw (Error)javaException; } } return result; }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/5b81311a845598f1a18a6f94fb54470e92728630/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701,
16717,
2083,
2295,
1162,
3651,
16,
18701,
5294,
11599,
751,
612,
396,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
71,
92,
18,
2761,
11599,
4368,
3748,
480,
612,
396,
18,
7462,
3748,
13,
288,
5411,
309,
261,
1968,
40,
3083,
480,
446,
13,
288,
7734,
833,
273,
30169,
1076,
12,
1968,
16,
833,
40,
3083,
16,
1501,
10544,
16,
1501,
1380,
1769,
5411,
289,
5411,
6036,
2933,
888,
273,
612,
396,
18,
7462,
2933,
31,
5411,
1033,
5198,
3748,
273,
9494,
18,
2761,
11599,
4368,
3748,
31,
5411,
9494,
18,
2761,
11599,
4368,
3748,
273,
612,
396,
18,
7462,
3748,
31,
5411,
775,
288,
7734,
327,
888,
18,
1991,
1190,
3748,
12,
350,
396,
18,
7462,
3748,
16,
9494,
16,
2295,
1162,
3651,
16,
29159,
2146,
16,
15261,
16,
833,
1769,
5411,
289,
3095,
288,
7734,
9494,
18,
2761,
11599,
4368,
3748,
273,
5198,
3748,
31,
5411,
289,
3639,
289,
3639,
727,
1033,
2383,
48,
67,
23464,
47,
273,
5294,
11599,
18,
2290,
48,
67,
23464,
47,
31,
3639,
727,
22780,
3109,
273,
22243,
18,
1336,
31,
3639,
727,
509,
8350,
67,
2664,
4464,
273,
374,
31,
3639,
727,
509,
943,
5555,
273,
612,
396,
18,
1282,
2747,
5555,
31,
3639,
727,
509,
15234,
67,
2664,
4464,
273,
8350,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701,
16717,
2083,
2295,
1162,
3651,
16,
18701,
5294,
11599,
751,
612,
396,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
71,
92,
18,
2761,
11599,
4368,
3748,
480,
612,
396,
18,
7462,
3748,
13,
288,
5411,
309,
261,
1968,
40,
3083,
480,
446,
13,
288,
7734,
833,
273,
30169,
1076,
12,
1968,
16,
833,
40,
3083,
16,
1501,
10544,
16,
1501,
1380,
1769,
5411,
289,
5411,
6036,
2933,
888,
273,
612,
396,
18,
7462,
2933,
31,
5411,
1033,
5198,
3748,
273,
9494,
2
] |
ByteBuffer buf = imageData.loadImage(ResourceLoader.getResourceAsStream(ref), false);
|
ByteBuffer buf = imageData.loadImage(ResourceLoader.getResourceAsStream(ref), false, null);
|
public Cursor getAnimatedCursor(String ref,int x,int y, int width, int height, int[] cursorDelays) throws IOException, LWJGLException { IntBuffer cursorDelaysBuffer = ByteBuffer.allocateDirect(cursorDelays.length*4).order(ByteOrder.nativeOrder()).asIntBuffer(); for (int i=0;i<cursorDelays.length;i++) { cursorDelaysBuffer.put(cursorDelays[i]); } cursorDelaysBuffer.flip(); ImageData imageData = new TGAImageData(); ByteBuffer buf = imageData.loadImage(ResourceLoader.getResourceAsStream(ref), false); return new Cursor(width, height, x, y, cursorDelays.length, buf.asIntBuffer(), cursorDelaysBuffer); }
|
47738 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47738/17eee815b89a0a2b5bd03e4ca3a6f9afde5ea397/CursorLoader.java/buggy/src/org/newdawn/slick/opengl/CursorLoader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
13949,
336,
979,
17275,
6688,
12,
780,
1278,
16,
474,
619,
16,
474,
677,
16,
509,
1835,
16,
509,
2072,
16,
509,
8526,
3347,
6763,
87,
13,
1216,
1860,
16,
511,
59,
46,
11261,
503,
288,
202,
202,
1702,
1892,
3347,
6763,
87,
1892,
273,
7400,
18,
16247,
5368,
12,
9216,
6763,
87,
18,
2469,
14,
24,
2934,
1019,
12,
3216,
2448,
18,
13635,
2448,
1435,
2934,
345,
1702,
1892,
5621,
202,
202,
1884,
261,
474,
277,
33,
20,
31,
77,
32,
9216,
6763,
87,
18,
2469,
31,
77,
27245,
288,
1082,
202,
9216,
6763,
87,
1892,
18,
458,
12,
9216,
6763,
87,
63,
77,
19226,
202,
202,
97,
202,
202,
9216,
6763,
87,
1892,
18,
12357,
5621,
202,
202,
2040,
751,
26229,
273,
394,
399,
25043,
2040,
751,
5621,
202,
202,
12242,
1681,
273,
26229,
18,
945,
2040,
12,
1420,
2886,
18,
588,
1420,
17052,
12,
1734,
3631,
629,
1769,
6862,
1082,
202,
2463,
394,
13949,
12,
2819,
16,
2072,
16,
619,
16,
677,
16,
3347,
6763,
87,
18,
2469,
16,
1681,
18,
345,
1702,
1892,
9334,
3347,
6763,
87,
1892,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
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,
13949,
336,
979,
17275,
6688,
12,
780,
1278,
16,
474,
619,
16,
474,
677,
16,
509,
1835,
16,
509,
2072,
16,
509,
8526,
3347,
6763,
87,
13,
1216,
1860,
16,
511,
59,
46,
11261,
503,
288,
202,
202,
1702,
1892,
3347,
6763,
87,
1892,
273,
7400,
18,
16247,
5368,
12,
9216,
6763,
87,
18,
2469,
14,
24,
2934,
1019,
12,
3216,
2448,
18,
13635,
2448,
1435,
2934,
345,
1702,
1892,
5621,
202,
202,
1884,
261,
474,
277,
33,
20,
31,
77,
32,
9216,
6763,
87,
18,
2469,
31,
77,
27245,
288,
1082,
202,
9216,
6763,
87,
1892,
18,
458,
12,
9216,
6763,
87,
63,
77,
19226,
202,
202,
97,
202,
202,
9216,
6763,
87,
1892,
18,
2
] |
genValues = new QValue[]{QValue.create(parent.getNodeId().getUUID().toString())};
|
String uuid = parent.getUUID(); if (uuid == null) { uuid = UUID.randomUUID().toString(); } genValues = new QValue[]{QValue.create(uuid)};
|
private QValue[] computeSystemGeneratedPropertyValues(NodeState parent, QPropertyDefinition def) { QValue[] genValues = null; /** * todo: need to come up with some callback mechanism for applying system generated values * (e.g. using a NodeTypeInstanceHandler interface) */ String[] qDefaultValues = def.getDefaultValues(); if (qDefaultValues != null && qDefaultValues.length > 0) { if (def.getRequiredType() == PropertyType.BINARY) { try { genValues = QValue.create(def.getDefaultValuesAsStream(), def.getRequiredType()); } catch (IOException e) { log.error("Internal error while build QValue from property definition: ", e.getMessage()); return null; } } else { genValues = QValue.create(qDefaultValues, def.getRequiredType()); } } else { // some predefined nodetypes declare auto-created properties without // default values QName declaringNT = def.getDeclaringNodeType(); QName name = def.getQName(); if (QName.MIX_REFERENCEABLE.equals(declaringNT) && QName.JCR_UUID.equals(name)) { // mix:referenceable node type defines jcr:uuid genValues = new QValue[]{QValue.create(parent.getNodeId().getUUID().toString())}; } else if (QName.NT_BASE.equals(declaringNT)) { // nt:base node type if (QName.JCR_PRIMARYTYPE.equals(name)) { // jcr:primaryType property genValues = new QValue[]{QValue.create(parent.getNodeTypeName())}; } else if (QName.JCR_MIXINTYPES.equals(name)) { // jcr:mixinTypes property QName[] mixins = parent.getMixinTypeNames(); genValues = new QValue[mixins.length]; for (int i = 0; i < mixins.length; i++) { genValues[i] = QValue.create(mixins[i]); } } } else if (QName.NT_HIERARCHYNODE.equals(declaringNT) && QName.JCR_CREATED.equals(name)) { // nt:hierarchyNode node type defines jcr:created property genValues = new QValue[]{QValue.create(Calendar.getInstance())}; } else if (QName.NT_RESOURCE.equals(declaringNT) && QName.JCR_LASTMODIFIED.equals(name)) { // nt:resource node type defines jcr:lastModified property genValues = new QValue[]{QValue.create(Calendar.getInstance())}; } else if (QName.NT_VERSION.equals(declaringNT) && QName.JCR_CREATED.equals(name)) { // nt:version node type defines jcr:created property genValues = new QValue[]{QValue.create(Calendar.getInstance())}; } } return genValues; }
|
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/a697c8379c6a42f34da9483c7fdf1acfe95896b6/SessionItemStateManager.java/buggy/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/SessionItemStateManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2238,
620,
8526,
3671,
3163,
7823,
1396,
1972,
12,
907,
1119,
982,
16,
4766,
12900,
2238,
1396,
1852,
1652,
13,
288,
3639,
2238,
620,
8526,
3157,
1972,
273,
446,
31,
3639,
1783,
540,
380,
10621,
30,
1608,
358,
12404,
731,
598,
2690,
1348,
12860,
364,
13650,
2619,
4374,
924,
540,
380,
261,
73,
18,
75,
18,
1450,
279,
20896,
1442,
1503,
1560,
13,
540,
1195,
3639,
514,
8526,
1043,
1868,
1972,
273,
1652,
18,
588,
1868,
1972,
5621,
3639,
309,
261,
85,
1868,
1972,
480,
446,
597,
1043,
1868,
1972,
18,
2469,
405,
374,
13,
288,
5411,
309,
261,
536,
18,
588,
3705,
559,
1435,
422,
22983,
18,
16813,
13,
288,
7734,
775,
288,
10792,
3157,
1972,
273,
2238,
620,
18,
2640,
12,
536,
18,
588,
1868,
1972,
17052,
9334,
1652,
18,
588,
3705,
559,
10663,
7734,
289,
1044,
261,
14106,
425,
13,
288,
10792,
613,
18,
1636,
2932,
3061,
555,
1323,
1361,
2238,
620,
628,
1272,
2379,
30,
3104,
425,
18,
24906,
10663,
10792,
327,
446,
31,
7734,
289,
5411,
289,
469,
288,
9079,
3157,
1972,
273,
2238,
620,
18,
2640,
12,
85,
1868,
1972,
16,
1652,
18,
588,
3705,
559,
10663,
5411,
289,
3639,
289,
469,
288,
5411,
368,
2690,
19555,
14003,
15180,
14196,
3656,
17,
4824,
1790,
2887,
5411,
368,
805,
924,
5411,
16723,
20845,
1784,
273,
1652,
18,
588,
3456,
5968,
15101,
5621,
5411,
16723,
508,
273,
1652,
18,
588,
13688,
5621,
5411,
309,
261,
13688,
18,
7492,
60,
67,
14617,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3238,
2238,
620,
8526,
3671,
3163,
7823,
1396,
1972,
12,
907,
1119,
982,
16,
4766,
12900,
2238,
1396,
1852,
1652,
13,
288,
3639,
2238,
620,
8526,
3157,
1972,
273,
446,
31,
3639,
1783,
540,
380,
10621,
30,
1608,
358,
12404,
731,
598,
2690,
1348,
12860,
364,
13650,
2619,
4374,
924,
540,
380,
261,
73,
18,
75,
18,
1450,
279,
20896,
1442,
1503,
1560,
13,
540,
1195,
3639,
514,
8526,
1043,
1868,
1972,
273,
1652,
18,
588,
1868,
1972,
5621,
3639,
309,
261,
85,
1868,
1972,
480,
446,
597,
1043,
1868,
1972,
18,
2469,
405,
374,
13,
288,
5411,
309,
261,
536,
18,
588,
3705,
559,
1435,
422,
22983,
18,
16813,
13,
288,
7734,
775,
288,
10792,
3157,
1972,
2
] |
Object[] ids = scrip.getIds(); if(proto != null) t.put("__proto__", "__proto__"); if(parent != null) t.put("__parent__", "__parent__"); if(ids.length > 0) { for(int j = 0; j < ids.length; j++) {
|
Object[] ids; if (scrip instanceof ScriptableObject) { ids = ((ScriptableObject)scrip).getAllIds(); } else { ids = scrip.getIds(); } if (ids == null) ids = empty; if (proto != null) t.put("__proto__", "__proto__"); if (parent != null) t.put("__parent__", "__parent__"); if (ids.length > 0) { for (int j = 0; j < ids.length; j++) {
|
protected Object[] getChildren() { if(children != null) return children; Context cx = Context.enter(); try { Object value = getObject(); if(value == null) return children = empty; if(value == ScriptableObject.NOT_FOUND || value == Undefined.instance) { return children = empty; } if(value instanceof Scriptable) { Scriptable scrip = (Scriptable)value; Scriptable proto = scrip.getPrototype(); Scriptable parent = scrip.getParentScope(); if(value instanceof NativeCall) { if(name != null && name.equals("this")) { // this is the local variables table root // don't show the __parent__ property parent = null; } else if(!(parent instanceof NativeCall)) { // don't bother showing [object Global] as // the __parent__ property which just creates // more noise parent = null; } } if(proto != null) { if(builtin == null) { builtin = new Scriptable[6]; builtin[0] = ScriptableObject.getObjectPrototype(scrip); builtin[1] = ScriptableObject.getFunctionPrototype(scrip); builtin[2] = ScriptableObject.getClassPrototype(scrip, "String"); builtin[3] = ScriptableObject.getClassPrototype(scrip, "Boolean"); builtin[4] = ScriptableObject.getClassPrototype(scrip, "Array"); builtin[5] = ScriptableObject.getClassPrototype(scrip, "Number"); } for(int i = 0; i < builtin.length; i++) { if(proto == builtin[i]) { proto = null; break; } } } if(scrip.has(0, scrip)) { int len = 0; try { Scriptable start = scrip; Scriptable obj = start; Object result = Undefined.instance; do { if(obj.has("length", start)) { result = obj.get("length", start); if (result != Scriptable.NOT_FOUND) break; } obj = obj.getPrototype(); } while (obj != null); if(result instanceof Number) { len = ((Number)result).intValue(); } } catch(Exception exc) { } if(parent != null) { len++; } if(proto != null) { len++; } children = new VariableNode[len]; int i = 0; int j = 0; if(proto != null) { children[i++] = new VariableNode(scrip, "__proto__"); j++; } if(parent != null) { children[i++] = new VariableNode(scrip, "__parent__"); j++; } for(; i < len; i++) { children[i] = new VariableNode(scrip, i-j); } } else { int len = 0; Hashtable t = new Hashtable(); Object[] ids = scrip.getIds(); if(proto != null) t.put("__proto__", "__proto__"); if(parent != null) t.put("__parent__", "__parent__"); if(ids.length > 0) { for(int j = 0; j < ids.length; j++) { t.put(ids[j], ids[j]); } } ids = new Object[t.size()]; Enumeration e = t.keys(); int j = 0; while(e.hasMoreElements()) { ids[j++] = e.nextElement().toString(); } if(ids != null && ids.length > 0) { java.util.Arrays.sort(ids, new java.util.Comparator() { public int compare(Object l, Object r) { return l.toString().compareToIgnoreCase(r.toString()); } }); len = ids.length; } children = new VariableNode[len]; for(int i = 0; i < len; i++) { Object id = ids[i]; children[i] = new VariableNode(scrip, id.toString()); } } } } catch (Exception exc) { exc.printStackTrace(); } finally { cx.exit(); } return children; }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/b9766e81693411fa600b26b9a0763dcf621b2770/VariableModel.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/VariableModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1033,
8526,
10268,
1435,
288,
3639,
309,
12,
5906,
480,
446,
13,
327,
2325,
31,
3639,
1772,
9494,
273,
1772,
18,
2328,
5621,
3639,
775,
288,
5411,
1033,
460,
273,
6455,
5621,
5411,
309,
12,
1132,
422,
446,
13,
327,
2325,
273,
1008,
31,
5411,
309,
12,
1132,
422,
22780,
921,
18,
4400,
67,
9294,
747,
9079,
460,
422,
22243,
18,
1336,
13,
288,
7734,
327,
2325,
273,
1008,
31,
5411,
289,
5411,
309,
12,
1132,
1276,
22780,
13,
288,
7734,
22780,
888,
21335,
273,
261,
3651,
429,
13,
1132,
31,
7734,
22780,
3760,
273,
888,
21335,
18,
588,
15846,
5621,
7734,
22780,
982,
273,
888,
21335,
18,
588,
3054,
3876,
5621,
7734,
309,
12,
1132,
1276,
16717,
1477,
13,
288,
10792,
309,
12,
529,
480,
446,
597,
508,
18,
14963,
2932,
2211,
6,
3719,
288,
13491,
368,
333,
353,
326,
1191,
3152,
1014,
1365,
13491,
368,
2727,
1404,
2405,
326,
1001,
2938,
972,
1272,
13491,
982,
273,
446,
31,
10792,
289,
469,
309,
12,
5,
12,
2938,
1276,
16717,
1477,
3719,
288,
13491,
368,
2727,
1404,
23440,
17253,
306,
1612,
8510,
65,
487,
13491,
368,
326,
1001,
2938,
972,
1272,
1492,
2537,
3414,
13491,
368,
1898,
10825,
13491,
982,
273,
446,
31,
10792,
289,
7734,
289,
7734,
309,
12,
9393,
480,
446,
13,
288,
10792,
309,
12,
24553,
422,
446,
13,
288,
13491,
15273,
273,
394,
22780,
63,
26,
15533,
13491,
15273,
63,
20,
65,
273,
18701,
22780,
921,
18,
588,
921,
15846,
12,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4750,
1033,
8526,
10268,
1435,
288,
3639,
309,
12,
5906,
480,
446,
13,
327,
2325,
31,
3639,
1772,
9494,
273,
1772,
18,
2328,
5621,
3639,
775,
288,
5411,
1033,
460,
273,
6455,
5621,
5411,
309,
12,
1132,
422,
446,
13,
327,
2325,
273,
1008,
31,
5411,
309,
12,
1132,
422,
22780,
921,
18,
4400,
67,
9294,
747,
9079,
460,
422,
22243,
18,
1336,
13,
288,
7734,
327,
2325,
273,
1008,
31,
5411,
289,
5411,
309,
12,
1132,
1276,
22780,
13,
288,
7734,
22780,
888,
21335,
273,
261,
3651,
429,
13,
1132,
31,
7734,
22780,
3760,
273,
888,
21335,
18,
588,
15846,
5621,
7734,
22780,
982,
273,
888,
21335,
18,
588,
3054,
3876,
5621,
7734,
309,
12,
1132,
1276,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.