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 |
---|---|---|---|---|---|---|
public int Exists(boolean[] retVal) { return XPCOM.VtblCall(super.LAST_METHOD_ID + 31, getAddress(), retVal);
|
public int Exists(boolean[] _retval) { return XPCOM.VtblCall(super.LAST_METHOD_ID + 31, getAddress(), _retval);
|
public int Exists(boolean[] retVal) { return XPCOM.VtblCall(super.LAST_METHOD_ID + 31, getAddress(), retVal); }
|
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/cd2fb0a07a77e0559780eb7909d058354d8afbbe/nsIFile.java/clean/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsIFile.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
17277,
12,
6494,
8526,
12197,
13,
288,
202,
202,
2463,
1139,
3513,
1872,
18,
58,
16187,
1477,
12,
9565,
18,
14378,
67,
5327,
67,
734,
397,
8231,
16,
14808,
9334,
12197,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
509,
17277,
12,
6494,
8526,
12197,
13,
288,
202,
202,
2463,
1139,
3513,
1872,
18,
58,
16187,
1477,
12,
9565,
18,
14378,
67,
5327,
67,
734,
397,
8231,
16,
14808,
9334,
12197,
1769,
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
] |
setLocationRelativeTo(null);
|
private void initComponents() {//GEN-BEGIN:initComponents jTabbedPane1 = new javax.swing.JTabbedPane(); genOptionsPanel = new javax.swing.JPanel(); jPanel2 = new javax.swing.JPanel(); chkUseMDCache = new javax.swing.JCheckBox(); chkExtractContentMD = new javax.swing.JCheckBox(); chkUseOracleForExtractors = new javax.swing.JCheckBox(); chkUseOracleForPlugs = new javax.swing.JCheckBox(); extractorsPanel = new javax.swing.JPanel(); schemesPanel = new javax.swing.JPanel(); schemesLabel = new javax.swing.JLabel(); schemesListScrollPane = new javax.swing.JScrollPane(); schemesList = new javax.swing.JList(); infoPanel = new javax.swing.JPanel(); jScrollPane1 = new javax.swing.JScrollPane(); extractorInfoTA = new javax.swing.JTextArea(); plugsPanel = new javax.swing.JPanel(); contentTypesPanel = new javax.swing.JPanel(); contentTypesLabel = new javax.swing.JLabel(); contentTypesScrollPane = new javax.swing.JScrollPane(); contentTypesList = new javax.swing.JList(); contentTypeInfoPanel = new javax.swing.JPanel(); jScrollPane2 = new javax.swing.JScrollPane(); plugInfoTA = new javax.swing.JTextArea(); jPanel1 = new javax.swing.JPanel(); buttonOK = new javax.swing.JButton(); setTitle("Options"); setLocationRelativeTo(null); setModal(true); setResizable(false); addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { closeDialog(evt); } }); jTabbedPane1.setToolTipText(""); jTabbedPane1.setPreferredSize(new java.awt.Dimension(640, 480)); jTabbedPane1.addContainerListener(new java.awt.event.ContainerAdapter() { public void componentAdded(java.awt.event.ContainerEvent evt) { jTabbedPane1ComponentAdded(evt); } }); jPanel2.setLayout(new javax.swing.BoxLayout(jPanel2, javax.swing.BoxLayout.Y_AXIS)); chkUseMDCache.setSelected(Frax.getInstance().getConfiguration().getUseMetadataCache()); chkUseMDCache.setText("Use metadata cache"); chkUseMDCache.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { chkUseMDCacheActionPerformed(evt); } }); jPanel2.add(chkUseMDCache); chkExtractContentMD.setSelected(Frax.getInstance().getConfiguration().getExtractContentMetadata()); chkExtractContentMD.setText("Extract content metadata"); jPanel2.add(chkExtractContentMD); chkUseOracleForExtractors.setSelected(Frax.getInstance().getConfiguration().getUseOracleForExtractors()); chkUseOracleForExtractors.setText("Use oracle for unrecognized schemes"); jPanel2.add(chkUseOracleForExtractors); chkUseOracleForPlugs.setSelected(Frax.getInstance().getConfiguration().getUseOracleForPlugs()); chkUseOracleForPlugs.setText("Use oracle for unrecognized content types"); jPanel2.add(chkUseOracleForPlugs); genOptionsPanel.add(jPanel2); jTabbedPane1.addTab("General Options", genOptionsPanel); extractorsPanel.setLayout(new java.awt.BorderLayout()); extractorsPanel.setToolTipText(""); schemesPanel.setLayout(new javax.swing.BoxLayout(schemesPanel, javax.swing.BoxLayout.Y_AXIS)); schemesLabel.setText("Schemes"); schemesLabel.setToolTipText("S"); schemesPanel.add(schemesLabel); schemesList.setBorder(new javax.swing.border.EtchedBorder()); schemesList.setFont(new java.awt.Font("Dialog", 0, 12)); schemesList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); schemesList.setToolTipText(""); schemesList.addListSelectionListener(new javax.swing.event.ListSelectionListener() { public void valueChanged(javax.swing.event.ListSelectionEvent evt) { schemesListValueChanged(evt); } }); schemesListScrollPane.setViewportView(schemesList); schemesPanel.add(schemesListScrollPane); extractorsPanel.add(schemesPanel, java.awt.BorderLayout.WEST); infoPanel.setLayout(new java.awt.BorderLayout()); extractorInfoTA.setEditable(false); extractorInfoTA.setToolTipText(""); jScrollPane1.setViewportView(extractorInfoTA); infoPanel.add(jScrollPane1, java.awt.BorderLayout.CENTER); extractorsPanel.add(infoPanel, java.awt.BorderLayout.CENTER); jTabbedPane1.addTab("Extractors", extractorsPanel); plugsPanel.setLayout(new java.awt.BorderLayout()); contentTypesPanel.setLayout(new javax.swing.BoxLayout(contentTypesPanel, javax.swing.BoxLayout.Y_AXIS)); contentTypesLabel.setText("MIME Types"); contentTypesLabel.setToolTipText("S"); contentTypesPanel.add(contentTypesLabel); contentTypesList.setBorder(new javax.swing.border.EtchedBorder()); contentTypesList.setFont(new java.awt.Font("Dialog", 0, 12)); contentTypesList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); contentTypesList.setToolTipText(""); contentTypesList.addListSelectionListener(new javax.swing.event.ListSelectionListener() { public void valueChanged(javax.swing.event.ListSelectionEvent evt) { contentTypesListValueChanged(evt); } }); contentTypesScrollPane.setViewportView(contentTypesList); contentTypesPanel.add(contentTypesScrollPane); plugsPanel.add(contentTypesPanel, java.awt.BorderLayout.WEST); contentTypeInfoPanel.setLayout(new java.awt.BorderLayout()); plugInfoTA.setEditable(false); plugInfoTA.setToolTipText(""); jScrollPane2.setViewportView(plugInfoTA); contentTypeInfoPanel.add(jScrollPane2, java.awt.BorderLayout.CENTER); plugsPanel.add(contentTypeInfoPanel, java.awt.BorderLayout.CENTER); jTabbedPane1.addTab("Plugs", plugsPanel); getContentPane().add(jTabbedPane1, java.awt.BorderLayout.CENTER); buttonOK.setText("OK"); buttonOK.setToolTipText(""); buttonOK.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { buttonOKActionPerformed(evt); } }); jPanel1.add(buttonOK); getContentPane().add(jPanel1, java.awt.BorderLayout.SOUTH); pack(); }//GEN-END:initComponents
|
14628 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14628/0422695c5135176f82c40cef7fd6de9cd35ae3c0/OptionsDialog.java/buggy/virtual/server/src/psl/memento/server/frax/gui/OptionsDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1208,
7171,
1435,
288,
759,
16652,
17,
16061,
30,
2738,
7171,
565,
525,
5661,
2992,
8485,
21,
273,
394,
6863,
18,
5328,
310,
18,
46,
5661,
2992,
8485,
5621,
565,
3157,
1320,
5537,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
565,
17871,
22,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
565,
15000,
3727,
6188,
1649,
273,
394,
6863,
18,
5328,
310,
18,
46,
19174,
5621,
565,
15000,
4976,
1350,
6188,
273,
394,
6863,
18,
5328,
310,
18,
46,
19174,
5621,
565,
15000,
3727,
23601,
1290,
4976,
1383,
273,
394,
6863,
18,
5328,
310,
18,
46,
19174,
5621,
565,
15000,
3727,
23601,
1290,
1749,
9024,
273,
394,
6863,
18,
5328,
310,
18,
46,
19174,
5621,
565,
2608,
1383,
5537,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
565,
20436,
5537,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
565,
20436,
2224,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224,
5621,
565,
20436,
682,
26360,
273,
394,
6863,
18,
5328,
310,
18,
46,
26360,
5621,
565,
20436,
682,
273,
394,
6863,
18,
5328,
310,
18,
46,
682,
5621,
565,
1123,
5537,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
565,
525,
26360,
21,
273,
394,
6863,
18,
5328,
310,
18,
46,
26360,
5621,
565,
14031,
966,
9833,
273,
394,
6863,
18,
5328,
310,
18,
46,
1528,
5484,
5621,
565,
886,
9024,
5537,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
565,
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,
3238,
918,
1208,
7171,
1435,
288,
759,
16652,
17,
16061,
30,
2738,
7171,
565,
525,
5661,
2992,
8485,
21,
273,
394,
6863,
18,
5328,
310,
18,
46,
5661,
2992,
8485,
5621,
565,
3157,
1320,
5537,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
565,
17871,
22,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
565,
15000,
3727,
6188,
1649,
273,
394,
6863,
18,
5328,
310,
18,
46,
19174,
5621,
565,
15000,
4976,
1350,
6188,
273,
394,
6863,
18,
5328,
310,
18,
46,
19174,
5621,
565,
15000,
3727,
23601,
1290,
4976,
1383,
273,
394,
6863,
18,
5328,
310,
18,
46,
19174,
5621,
565,
15000,
3727,
23601,
1290,
1749,
9024,
273,
394,
6863,
18,
5328,
310,
2
] |
|
result[2] = (args.length == 3) ? args[2] : "run";
|
result[2] = (args.length == 3 || args.length == 4) ? args[2] : "run";
|
private static String[] parseArgs(final String[] args) { if ((args.length < 1) || (args.length > 4)) { parseError(); } // PROACTIVE added a parameter for the deployment descriptor String[] result = new String[4]; if (args[0].equals("-java") || args[0].equals("-fractal")) { if (args.length < 2) { parseError(); } result[0] = args[0]; result[1] = args[1]; result[2] = (args.length == 3) ? args[2] : "run"; result[3] = (args.length == 4) ? args[3] : null; } else { result[0] = "-java"; result[1] = args[0]; result[2] = (args.length >= 2) ? args[1] : "run"; } return result; }
|
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/b405cea3084cf1883f207a7498b801473baafe85/Launcher.java/clean/src/org/objectweb/proactive/core/component/adl/Launcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
514,
8526,
1109,
2615,
12,
6385,
514,
8526,
833,
13,
288,
3639,
309,
14015,
1968,
18,
2469,
411,
404,
13,
747,
261,
1968,
18,
2469,
405,
1059,
3719,
288,
5411,
1109,
668,
5621,
3639,
289,
3639,
368,
4629,
13301,
3096,
279,
1569,
364,
326,
6314,
4950,
3639,
514,
8526,
563,
273,
394,
514,
63,
24,
15533,
3639,
309,
261,
1968,
63,
20,
8009,
14963,
2932,
17,
6290,
7923,
747,
833,
63,
20,
8009,
14963,
2932,
17,
74,
14266,
287,
6,
3719,
288,
5411,
309,
261,
1968,
18,
2469,
411,
576,
13,
288,
7734,
1109,
668,
5621,
5411,
289,
5411,
563,
63,
20,
65,
273,
833,
63,
20,
15533,
5411,
563,
63,
21,
65,
273,
833,
63,
21,
15533,
5411,
563,
63,
22,
65,
273,
261,
1968,
18,
2469,
422,
890,
747,
833,
18,
2469,
422,
1059,
13,
692,
833,
63,
22,
65,
294,
315,
2681,
14432,
5411,
563,
63,
23,
65,
273,
261,
1968,
18,
2469,
422,
1059,
13,
692,
833,
63,
23,
65,
294,
446,
31,
3639,
289,
469,
288,
5411,
563,
63,
20,
65,
273,
3701,
6290,
14432,
5411,
563,
63,
21,
65,
273,
833,
63,
20,
15533,
5411,
563,
63,
22,
65,
273,
261,
1968,
18,
2469,
1545,
576,
13,
692,
833,
63,
21,
65,
294,
315,
2681,
14432,
3639,
289,
3639,
327,
563,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
514,
8526,
1109,
2615,
12,
6385,
514,
8526,
833,
13,
288,
3639,
309,
14015,
1968,
18,
2469,
411,
404,
13,
747,
261,
1968,
18,
2469,
405,
1059,
3719,
288,
5411,
1109,
668,
5621,
3639,
289,
3639,
368,
4629,
13301,
3096,
279,
1569,
364,
326,
6314,
4950,
3639,
514,
8526,
563,
273,
394,
514,
63,
24,
15533,
3639,
309,
261,
1968,
63,
20,
8009,
14963,
2932,
17,
6290,
7923,
747,
833,
63,
20,
8009,
14963,
2932,
17,
74,
14266,
287,
6,
3719,
288,
5411,
309,
261,
1968,
18,
2469,
411,
576,
13,
288,
7734,
1109,
668,
5621,
5411,
289,
5411,
563,
63,
20,
65,
273,
833,
63,
20,
15533,
5411,
563,
63,
21,
65,
273,
833,
63,
2
] |
String lRubyLib = System.getProperty("jruby.lib", lRubyHome + File.separatorChar + "lib");
|
String lRubyLib = System.getProperty("jruby.lib"); /*if (lRubyLib == null && lRubyHome != null && lRubyHome.length() != 0) { lRubyLib = lRubyHome + File.separatorChar + "lib"; }*/
|
public void initLoad(ArrayList ioAdditionalDirectory) { // don't know what this is used for in MRI, it holds the handle of all loaded libs // ruby_dln_librefs = rb_ary_new(); //in MRI the ruby installation path is determined from the place where the ruby lib is found //of course we can't do that, let's just use the jruby.home property String lRubyHome = System.getProperty("jruby.home"); String lRubyLib = System.getProperty("jruby.lib", lRubyHome + File.separatorChar + "lib"); for (int i = ioAdditionalDirectory.size() - 1; i >= 0; i--) { ioAdditionalDirectory.set(i, new RubyString(this, (String) ioAdditionalDirectory.get(i))); } if (lRubyLib != null && lRubyLib.length() != 0) { ioAdditionalDirectory.add(new RubyString(this, lRubyLib)); } if (lRubyHome != null && lRubyHome.length() != 0) { //FIXME: use the version number in some other way than hardcoded here String lRuby = lRubyHome + File.separatorChar + "lib" + File.separatorChar + "ruby" + File.separatorChar; String lSiteRuby = lRuby + "site_ruby"; String lSiteRubyVersion = lSiteRuby + File.separatorChar + RUBY_VERSION; String lArch = File.separatorChar + "JAVA"; String lRubyVersion = lRuby + RUBY_VERSION; ioAdditionalDirectory.add(new RubyString(this, lSiteRubyVersion)); ioAdditionalDirectory.add(new RubyString(this, lSiteRubyVersion + lArch)); ioAdditionalDirectory.add(new RubyString(this, lSiteRuby)); ioAdditionalDirectory.add(new RubyString(this, lRubyVersion)); ioAdditionalDirectory.add(new RubyString(this, lRubyVersion + lArch)); } //FIXME: safe level pb here ioAdditionalDirectory.add(new RubyString(this, ".")); RubyArray rb_load_path = new RubyArray(this, ioAdditionalDirectory); defineReadonlyVariable("$:", rb_load_path); defineReadonlyVariable("$-I", rb_load_path); defineReadonlyVariable("$LOAD_PATH", rb_load_path); RubyArray rb_features = new RubyArray(this); defineReadonlyVariable("$\"", rb_features); }
|
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/774c5d3d592dfd020e3a8f961b73f629c4c55cf0/Ruby.java/buggy/org/jruby/Ruby.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
2563,
12,
19558,
2527,
10552,
2853,
13,
288,
3639,
368,
202,
19752,
1404,
5055,
4121,
333,
353,
1399,
364,
316,
490,
2259,
16,
518,
14798,
326,
1640,
434,
777,
4203,
15042,
3639,
368,
202,
202,
27768,
67,
72,
2370,
67,
2941,
9316,
273,
7138,
67,
814,
67,
2704,
5621,
3639,
368,
267,
490,
2259,
326,
22155,
13193,
589,
353,
11383,
628,
326,
3166,
1625,
326,
22155,
2561,
353,
1392,
3639,
368,
792,
4362,
732,
848,
1404,
741,
716,
16,
2231,
1807,
2537,
999,
326,
525,
27768,
18,
8712,
1272,
3639,
514,
328,
54,
10340,
8684,
273,
2332,
18,
588,
1396,
2932,
78,
27768,
18,
8712,
8863,
3639,
514,
328,
54,
10340,
5664,
273,
2332,
18,
588,
1396,
2932,
78,
27768,
18,
2941,
8863,
1748,
430,
261,
80,
54,
10340,
5664,
422,
446,
597,
328,
54,
10340,
8684,
480,
446,
597,
328,
54,
10340,
8684,
18,
2469,
1435,
480,
374,
13,
288,
328,
54,
10340,
5664,
273,
328,
54,
10340,
8684,
397,
1387,
18,
11287,
2156,
397,
315,
2941,
14432,
289,
5549,
3639,
364,
261,
474,
277,
273,
2527,
10552,
2853,
18,
1467,
1435,
300,
404,
31,
277,
1545,
374,
31,
277,
413,
13,
288,
5411,
2527,
10552,
2853,
18,
542,
12,
77,
16,
394,
19817,
780,
12,
2211,
16,
261,
780,
13,
2527,
10552,
2853,
18,
588,
12,
77,
3719,
1769,
3639,
289,
3639,
309,
261,
80,
54,
10340,
5664,
480,
446,
597,
328,
54,
10340,
5664,
18,
2469,
1435,
480,
374,
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,
1208,
2563,
12,
19558,
2527,
10552,
2853,
13,
288,
3639,
368,
202,
19752,
1404,
5055,
4121,
333,
353,
1399,
364,
316,
490,
2259,
16,
518,
14798,
326,
1640,
434,
777,
4203,
15042,
3639,
368,
202,
202,
27768,
67,
72,
2370,
67,
2941,
9316,
273,
7138,
67,
814,
67,
2704,
5621,
3639,
368,
267,
490,
2259,
326,
22155,
13193,
589,
353,
11383,
628,
326,
3166,
1625,
326,
22155,
2561,
353,
1392,
3639,
368,
792,
4362,
732,
848,
1404,
741,
716,
16,
2231,
1807,
2537,
999,
326,
525,
27768,
18,
8712,
1272,
3639,
514,
328,
54,
10340,
8684,
273,
2332,
18,
588,
1396,
2932,
78,
27768,
18,
8712,
8863,
3639,
514,
328,
54,
10340,
5664,
273,
2332,
18,
2
] |
return version;
|
return (version == null ? "" : version);
|
public String getVersion() { return version;}
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/cacefa4d355eabdef28efd9d240ed810fe9706df/PlatformInfo.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/PlatformInfo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
514,
8343,
1435,
288,
202,
2463,
1177,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
514,
8343,
1435,
288,
202,
2463,
1177,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
(Object[]) null);
|
null);
|
public static XMLStreamReader getPullParser(Object beanObject, QName beanName) { try { JamServiceFactory factory = JamServiceFactory.getInstance(); JamServiceParams jam_service_parms = factory.createServiceParams(); jam_service_parms.addClassLoader(beanObject.getClass().getClassLoader());// beanObject.getClass().isArray() jam_service_parms.includeClass(beanObject.getClass().getName()); JamService service = factory.createService(jam_service_parms); JamClassIterator jClassIter = service.getClasses(); JClass jClass; if (jClassIter.hasNext()) { jClass = (JClass) jClassIter.next(); } else { throw new AxisFault("No service class found , exception from JAM"); } // properties from JAM JProperty properties [] = jClass.getDeclaredProperties(); Arrays.sort(properties); BeanInfo beanInfo = Introspector.getBeanInfo(beanObject.getClass()); PropertyDescriptor [] propDescs = beanInfo.getPropertyDescriptors(); HashMap propertMap = new HashMap(); for (int i = 0; i < propDescs.length; i++) { PropertyDescriptor propDesc = propDescs[i]; propertMap.put(propDesc.getName(), propDesc); } ArrayList object = new ArrayList(); for (int i = 0; i < properties.length; i++) { JProperty property = properties[i]; PropertyDescriptor propDesc = (PropertyDescriptor) propertMap.get( getCorrectName(property.getSimpleName())); if (propDesc == null) { // JAM does bad thing so I need to add this continue; } Class ptype = propDesc.getPropertyType(); if (propDesc.getName().equals("class")) { continue; } if (SimpleTypeMapper.isSimpleType(ptype)) { Object value = propDesc.getReadMethod().invoke(beanObject, (Object[]) null); object.add(new QName(beanName.getNamespaceURI(), propDesc.getName(), beanName.getPrefix())); object.add(value == null ? null : SimpleTypeMapper.getStringValue(value)); } else if (ptype.isArray()) { Object value [] = (Object[]) propDesc.getReadMethod().invoke(beanObject, (Object[]) null); if (SimpleTypeMapper.isSimpleType(ptype.getComponentType())) { for (int j = 0; j < value.length; j++) { Object o = value[j]; object.add(new QName(beanName.getNamespaceURI(), propDesc.getName(), beanName.getPrefix())); object.add(o == null ? null : SimpleTypeMapper.getStringValue(o)); } } else { for (int j = 0; j < value.length; j++) { Object o = value[j]; object.add(new QName(beanName.getNamespaceURI(), propDesc.getName(), beanName.getPrefix())); object.add(o); } } } else if (SimpleTypeMapper.isArrayList(ptype)) { Object value = propDesc.getReadMethod().invoke(beanObject, (Object[]) null); ArrayList objList = (ArrayList) value; if (objList != null && objList.size() > 0) { //this was given error , when the array.size = 0 // and if the array contain simple type , then the ADBPullParser asked // PullParser from That simpel type for (int j = 0; j < objList.size(); j++) { Object o = objList.get(j); if (SimpleTypeMapper.isSimpleType(o)) { object.add(new QName(beanName.getNamespaceURI(), propDesc.getName(), beanName.getPrefix())); object.add(o); } else { object.add(new QName(beanName.getNamespaceURI(), propDesc.getName(), beanName.getPrefix())); object.add(o); } } } } else { object.add(new QName(propDesc.getName())); Object value = propDesc.getReadMethod().invoke(beanObject, (Object[]) null); object.add(value); } } return new ADBXMLStreamReaderImpl(beanName, object.toArray(), null); } catch (java.io.IOException e) { throw new RuntimeException(e); } catch (java.beans.IntrospectionException e) { throw new RuntimeException(e); } catch (java.lang.reflect.InvocationTargetException e) { throw new RuntimeException(e); } catch (java.lang.IllegalAccessException e) { throw new RuntimeException(e); } }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/b75d3dc98728f6736cdbb75c2ffb2495bceacb2e/BeanUtil.java/clean/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15595,
2514,
1689,
420,
2678,
12,
921,
3931,
921,
16,
16723,
17932,
13,
288,
3639,
775,
288,
5411,
804,
301,
1179,
1733,
3272,
273,
804,
301,
1179,
1733,
18,
588,
1442,
5621,
5411,
804,
301,
1179,
1370,
525,
301,
67,
3278,
67,
29927,
273,
3272,
18,
2640,
1179,
1370,
5621,
5411,
525,
301,
67,
3278,
67,
29927,
18,
1289,
7805,
12,
14496,
921,
18,
588,
797,
7675,
588,
7805,
10663,
759,
5411,
3931,
921,
18,
588,
797,
7675,
291,
1076,
1435,
5411,
525,
301,
67,
3278,
67,
29927,
18,
6702,
797,
12,
14496,
921,
18,
588,
797,
7675,
17994,
10663,
5411,
804,
301,
1179,
1156,
273,
3272,
18,
2640,
1179,
12,
78,
301,
67,
3278,
67,
29927,
1769,
5411,
804,
301,
797,
3198,
525,
797,
2360,
273,
1156,
18,
588,
4818,
5621,
5411,
804,
797,
525,
797,
31,
5411,
309,
261,
78,
797,
2360,
18,
5332,
2134,
10756,
288,
7734,
525,
797,
273,
261,
46,
797,
13,
525,
797,
2360,
18,
4285,
5621,
5411,
289,
469,
288,
7734,
604,
394,
15509,
7083,
2932,
2279,
1156,
667,
1392,
269,
1520,
628,
804,
2192,
8863,
5411,
289,
5411,
368,
1790,
628,
804,
2192,
5411,
804,
1396,
1790,
5378,
273,
525,
797,
18,
588,
18888,
2297,
5621,
5411,
5647,
18,
3804,
12,
4738,
1769,
5411,
7704,
966,
3931,
966,
273,
3094,
26170,
280,
18,
588,
3381,
966,
12,
14496,
921,
18,
588,
797,
10663,
5411,
26761,
5378,
2270,
4217,
87,
273,
3931,
966,
18,
588,
1396,
12705,
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,
15595,
2514,
1689,
420,
2678,
12,
921,
3931,
921,
16,
16723,
17932,
13,
288,
3639,
775,
288,
5411,
804,
301,
1179,
1733,
3272,
273,
804,
301,
1179,
1733,
18,
588,
1442,
5621,
5411,
804,
301,
1179,
1370,
525,
301,
67,
3278,
67,
29927,
273,
3272,
18,
2640,
1179,
1370,
5621,
5411,
525,
301,
67,
3278,
67,
29927,
18,
1289,
7805,
12,
14496,
921,
18,
588,
797,
7675,
588,
7805,
10663,
759,
5411,
3931,
921,
18,
588,
797,
7675,
291,
1076,
1435,
5411,
525,
301,
67,
3278,
67,
29927,
18,
6702,
797,
12,
14496,
921,
18,
588,
797,
7675,
17994,
10663,
5411,
804,
301,
1179,
1156,
273,
3272,
18,
2640,
1179,
12,
78,
301,
67,
3278,
67,
2
] |
if (args[i].equals("--size") && (h != null)){ Integer max = (new Integer(args[i+ 1])); h.setMaxFileSize(max.intValue());
|
if (args[i].equals("--conf")){ confFile = args[i + 1];
|
public static void main(String[] args) throws RepositoryException, AccessDeniedException, IOException, ClassNotFoundException, InstantiationException, IllegalAccessException, SizeException { // I have to declare all var here so they are not resetted out of the for. String zipFile = null; String confFile = null; String home = null; String repoConfFile = null; //2 booleans in case the user specified nothing boolean isBackup = false; boolean isRestore = false; //Parse the command line. for (int i = 0; i < args.length; i++) { if ( args[i].equals("--help") || args.length == 0) { usage(); } if (args[i].equals("--zip")){ zipFile = args[i + 1]; //We put it here because later we might offer other possibilities than only zip h = new ZipFileBackupIOHandler(zipFile); } if (args[i].equals("--size") && (h != null)){ Integer max = (new Integer(args[i+ 1])); h.setMaxFileSize(max.intValue()); } if (args[i].equals("--conf")){ confFile = args[i + 1]; } if (args[i].equals("backup") && isRestore == false ){ isBackup = true; repoConfFile = args[i + 1]; home = args[i + 2]; } if (args[i].equals("restore") && isBackup == false ){ isRestore = true; repoConfFile = args[i + 1]; home = args[i + 2]; } } LaunchBackup launch = null; //We need to shutdown properly the repository whatever happens try { //Launch backup if (isBackup) { launch = new LaunchBackup(repoConfFile, home, confFile); launch.backup(h); } //Launch restore else if (isRestore) { launch = new LaunchBackup(); launch.restore(h); } //Launch nothing (if nothing specified else { usage(); } } finally { if (launch !=null) launch.shutdown(); } }
|
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/dc86f004a8d5e1a1e0437d76fccd5921a6405473/LaunchBackup.java/clean/contrib/backup/src/main/java/org/apache/jackrabbit/backup/LaunchBackup.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
13367,
16,
21665,
16,
1860,
16,
10403,
16,
19248,
16,
11900,
16,
6321,
503,
288,
4202,
368,
467,
1240,
358,
14196,
777,
569,
2674,
1427,
2898,
854,
486,
2715,
2344,
596,
434,
326,
364,
18,
377,
202,
780,
19450,
273,
446,
31,
3639,
514,
2195,
812,
273,
446,
31,
3639,
514,
6382,
273,
446,
31,
3639,
514,
3538,
3976,
812,
273,
446,
31,
3639,
368,
22,
31050,
316,
648,
326,
729,
1269,
5083,
3639,
1250,
353,
6248,
273,
629,
31,
3639,
1250,
353,
10874,
273,
629,
31,
7734,
368,
3201,
326,
1296,
980,
18,
377,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
377,
1082,
5411,
309,
261,
833,
63,
77,
8009,
14963,
2932,
413,
5201,
7923,
225,
747,
833,
18,
2469,
422,
374,
13,
288,
7734,
4084,
5621,
5411,
289,
13491,
309,
261,
1968,
63,
77,
8009,
14963,
2932,
413,
4450,
6,
3719,
95,
2398,
202,
4450,
812,
273,
833,
63,
77,
397,
404,
15533,
2398,
202,
759,
3218,
1378,
518,
2674,
2724,
5137,
732,
4825,
10067,
1308,
28550,
2353,
1338,
3144,
2398,
202,
76,
273,
394,
18364,
6248,
4294,
1503,
12,
4450,
812,
1769,
5411,
289,
4766,
565,
309,
261,
1968,
63,
77,
8009,
14963,
2932,
413,
1467,
7923,
597,
261,
76,
480,
446,
3719,
95,
2398,
202,
2398,
202,
4522,
943,
273,
261,
2704,
2144,
12,
1968,
63,
77,
15,
404,
5717,
1769,
7734,
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,
918,
2774,
12,
780,
8526,
833,
13,
1216,
13367,
16,
21665,
16,
1860,
16,
10403,
16,
19248,
16,
11900,
16,
6321,
503,
288,
4202,
368,
467,
1240,
358,
14196,
777,
569,
2674,
1427,
2898,
854,
486,
2715,
2344,
596,
434,
326,
364,
18,
377,
202,
780,
19450,
273,
446,
31,
3639,
514,
2195,
812,
273,
446,
31,
3639,
514,
6382,
273,
446,
31,
3639,
514,
3538,
3976,
812,
273,
446,
31,
3639,
368,
22,
31050,
316,
648,
326,
729,
1269,
5083,
3639,
1250,
353,
6248,
273,
629,
31,
3639,
1250,
353,
10874,
273,
629,
31,
7734,
368,
3201,
326,
1296,
980,
18,
377,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
833,
18,
2469,
2
] |
public void setGenerator (String role, String source, Parameters param, Parameters hintParam)
|
public void setGenerator (String role, String source, Parameters param, Parameters hintParam)
|
public void setGenerator (String role, String source, Parameters param, Parameters hintParam) throws ProcessingException { super.setGenerator(role, source, param, hintParam); // check the hint param for a "caching-point" hint String pipelinehint = null; try { pipelinehint = hintParam.getParameter("caching-point", null); if (this.getLogger().isDebugEnabled()) { getLogger().debug("generator caching-point pipeline-hint is set to: " + pipelinehint); } } catch (Exception ex) { if (this.getLogger().isWarnEnabled()) { getLogger().warn("caching-point hint Exception, pipeline-hint ignored: " + ex); } } // if this generator is manually set to "caching-point" (via pipeline-hint) // then ensure the next component is caching. if ( "true".equals(pipelinehint)) { this.nextIsCachePoint=true; } }
|
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/0833977571ea9e36049226d23cca1ec7c32f196c/CachingPointProcessingPipeline.java/buggy/src/java/org/apache/cocoon/components/pipeline/impl/CachingPointProcessingPipeline.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3908,
261,
780,
2478,
16,
514,
1084,
16,
7012,
579,
16,
7012,
7380,
786,
13,
377,
1216,
19652,
503,
288,
3639,
2240,
18,
542,
3908,
12,
4615,
16,
1084,
16,
579,
16,
7380,
786,
1769,
7734,
368,
866,
326,
7380,
579,
364,
279,
315,
17703,
310,
17,
1153,
6,
7380,
3639,
514,
5873,
11317,
273,
446,
31,
3639,
775,
288,
5411,
5873,
11317,
273,
7380,
786,
18,
588,
1662,
2932,
17703,
310,
17,
1153,
3113,
446,
1769,
5411,
309,
261,
2211,
18,
588,
3328,
7675,
291,
2829,
1526,
10756,
288,
7734,
7156,
7675,
4148,
2932,
8812,
11393,
17,
1153,
5873,
17,
11317,
353,
444,
358,
30,
315,
397,
5873,
11317,
1769,
5411,
289,
3639,
289,
1044,
261,
503,
431,
13,
288,
5411,
309,
261,
2211,
18,
588,
3328,
7675,
291,
3160,
1526,
10756,
288,
7734,
7156,
7675,
8935,
2932,
17703,
310,
17,
1153,
7380,
1185,
16,
5873,
17,
11317,
5455,
30,
315,
397,
431,
1769,
5411,
289,
3639,
289,
3639,
368,
309,
333,
4456,
353,
10036,
444,
358,
315,
17703,
310,
17,
1153,
6,
261,
21985,
5873,
17,
11317,
13,
3639,
368,
1508,
3387,
326,
1024,
1794,
353,
11393,
18,
3639,
309,
261,
315,
3767,
9654,
14963,
12,
14511,
11317,
3719,
288,
5411,
333,
18,
4285,
2520,
1649,
2148,
33,
3767,
31,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3908,
261,
780,
2478,
16,
514,
1084,
16,
7012,
579,
16,
7012,
7380,
786,
13,
377,
1216,
19652,
503,
288,
3639,
2240,
18,
542,
3908,
12,
4615,
16,
1084,
16,
579,
16,
7380,
786,
1769,
7734,
368,
866,
326,
7380,
579,
364,
279,
315,
17703,
310,
17,
1153,
6,
7380,
3639,
514,
5873,
11317,
273,
446,
31,
3639,
775,
288,
5411,
5873,
11317,
273,
7380,
786,
18,
588,
1662,
2932,
17703,
310,
17,
1153,
3113,
446,
1769,
5411,
309,
261,
2211,
18,
588,
3328,
7675,
291,
2829,
1526,
10756,
288,
7734,
7156,
7675,
4148,
2932,
8812,
11393,
17,
1153,
5873,
17,
11317,
353,
444,
358,
30,
315,
397,
5873,
11317,
1769,
5411,
289,
3639,
289,
2
] |
((ValidationError) getDbc().getPartialValidationError().getValue()).message);
|
((IStatus) getDbc().getPartialValidationStatus().getValue()).getMessage());
|
public void testScenario06() { // Binding the name property of an Adventure object to the contents of // Text controls where validation occurs and the name cannot be longer // than 15 characters and cannot contain spaces Text text = new Text(getComposite(), SWT.BORDER); final String noSpacesMessage = "Name must not contain spaces."; final String max15CharactersMessage = "Maximum length for name is 15 characters."; adventure.setName("ValidValue"); IValidator validator = new IValidator() { public ValidationError isPartiallyValid(Object value) { return isValid(value); } public ValidationError isValid(Object value) { String stringValue = (String) value; if (stringValue.length() > 15) { return ValidationError.error(max15CharactersMessage); } else if (stringValue.indexOf(' ') != -1) { return ValidationError.error(noSpacesMessage); } else { return null; } } }; BindSpec bindSpec = new BindSpec().setModelToTargetConverter(new IdentityConverter(String.class)) .setTargetToModelConverter(new IdentityConverter(String.class)) .setValidator(validator); getDbc().bindValue(SWTObservables.observeText(text, SWT.Modify), BeansObservables.observeValue(adventure, "name"), bindSpec); // no validation message assertEquals(null, getDbc().getPartialValidationError().getValue()); enterText(text, "Invalid Value"); assertEquals(noSpacesMessage, ((ValidationError) getDbc().getPartialValidationError().getValue()).message); assertEquals("ValidValue", text.getText()); text.setText("InvalidValueBecauseTooLong"); assertEquals(max15CharactersMessage, ((ValidationError) getDbc().getPartialValidationError().getValue()).message); assertEquals("ValidValue", text.getText()); enterText(text, "anothervalid"); assertEquals(null, getDbc().getPartialValidationError().getValue()); assertEquals("anothervalid", text.getText()); assertEquals("anothervalid", adventure.getName()); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/646de6c1228ca0820a97e225df84d75e3993e272/PropertyScenarios.java/clean/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/PropertyScenarios.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
21390,
7677,
1435,
288,
3639,
368,
15689,
326,
508,
1272,
434,
392,
4052,
616,
594,
733,
358,
326,
2939,
434,
3639,
368,
3867,
11022,
1625,
3379,
9938,
471,
326,
508,
2780,
506,
7144,
3639,
368,
2353,
4711,
3949,
471,
2780,
912,
7292,
3639,
3867,
977,
273,
394,
3867,
12,
588,
9400,
9334,
348,
8588,
18,
38,
7954,
1769,
3639,
727,
514,
1158,
12077,
1079,
273,
315,
461,
1297,
486,
912,
7292,
1199,
31,
3639,
727,
514,
943,
3600,
11600,
1079,
273,
315,
13528,
769,
364,
508,
353,
4711,
3949,
1199,
31,
3639,
1261,
616,
594,
18,
542,
461,
2932,
1556,
620,
8863,
3639,
467,
5126,
4213,
273,
394,
467,
5126,
1435,
288,
5411,
1071,
13167,
353,
1988,
6261,
1556,
12,
921,
460,
13,
288,
7734,
327,
4908,
12,
1132,
1769,
5411,
289,
5411,
1071,
13167,
4908,
12,
921,
460,
13,
288,
7734,
514,
19721,
273,
261,
780,
13,
460,
31,
7734,
309,
261,
1080,
620,
18,
2469,
1435,
405,
4711,
13,
288,
10792,
327,
13167,
18,
1636,
12,
1896,
3600,
11600,
1079,
1769,
7734,
289,
469,
309,
261,
1080,
620,
18,
31806,
2668,
8624,
480,
300,
21,
13,
288,
10792,
327,
13167,
18,
1636,
12,
2135,
12077,
1079,
1769,
7734,
289,
469,
288,
10792,
327,
446,
31,
7734,
289,
5411,
289,
3639,
289,
31,
3639,
6936,
1990,
1993,
1990,
273,
394,
6936,
1990,
7675,
542,
1488,
774,
2326,
5072,
12,
2704,
7808,
5072,
12,
780,
18,
1106,
3719,
7734,
263,
542,
2326,
774,
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,
21390,
7677,
1435,
288,
3639,
368,
15689,
326,
508,
1272,
434,
392,
4052,
616,
594,
733,
358,
326,
2939,
434,
3639,
368,
3867,
11022,
1625,
3379,
9938,
471,
326,
508,
2780,
506,
7144,
3639,
368,
2353,
4711,
3949,
471,
2780,
912,
7292,
3639,
3867,
977,
273,
394,
3867,
12,
588,
9400,
9334,
348,
8588,
18,
38,
7954,
1769,
3639,
727,
514,
1158,
12077,
1079,
273,
315,
461,
1297,
486,
912,
7292,
1199,
31,
3639,
727,
514,
943,
3600,
11600,
1079,
273,
315,
13528,
769,
364,
508,
353,
4711,
3949,
1199,
31,
3639,
1261,
616,
594,
18,
542,
461,
2932,
1556,
620,
8863,
3639,
467,
5126,
4213,
273,
394,
467,
5126,
1435,
288,
5411,
1071,
13167,
2
] |
}
|
}
|
public Integer run(InfoGrantOwner infoGrantOwner) throws FenixServiceException, ExcepcaoPersistencia { ISuportePersistente sp = null; IPersistentGrantOwner pGrantOwner = null; try { sp = PersistenceSupportFactory.getDefaultPersistenceSupport(); } catch (ExcepcaoPersistencia e) { e.printStackTrace(); throw new FenixServiceException("Unable to dao factory!", e); } pGrantOwner = sp.getIPersistentGrantOwner(); IPerson person = null; IGrantOwner grantOwner = null; ICountry country = null; if (infoGrantOwner.getPersonInfo().getInfoPais() != null) { country = (ICountry) sp.getIPersistentCountry().readByOID(Country.class, infoGrantOwner.getPersonInfo().getInfoPais().getIdInternal()); } else { //If the person country is undefined it is set to default "PORTUGUESA NATURAL DO CONTINENTE" //In a not distance future this will not be needed since the coutry can never be null country = (ICountry) sp.getIPersistentCountry().readCountryByNationality("PORTUGUESA NATURAL DO CONTINENTE"); } //create or edit person information if (infoGrantOwner.getPersonInfo().getIdInternal() == null) { person = DomainFactory.makePerson(infoGrantOwner.getPersonInfo(), country); } else { person = (IPerson) sp.getIPessoaPersistente().readByOID(Person.class, infoGrantOwner.getPersonInfo().getIdInternal()); person.edit(infoGrantOwner.getPersonInfo(), country); } //verify if person is new if (person.getUsername() != null) grantOwner = checkIfGrantOwnerExists(infoGrantOwner.getGrantOwnerNumber(), pGrantOwner); //create or edit grantOwner information if (grantOwner == null) { grantOwner = DomainFactory.makeGrantOwner(); IPersistentRole persistentRole = sp.getIPersistentRole(); person.getPersonRoles().add(persistentRole.readByRoleType(RoleType.GRANT_OWNER)); } grantOwner = prepareGrantOwner(grantOwner, person, infoGrantOwner, pGrantOwner); //Generate the GrantOwner's Person Username if (person.getUsername() == null) person.changeUsername(generateGrantOwnerPersonUsername(grantOwner.getNumber()), (List<IPerson>) sp.getIPessoaPersistente().readAll(Person.class)); return grantOwner.getIdInternal(); }
|
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/2231edb51240240259e56f311816db5525770fe5/EditGrantOwner.java/buggy/src/net/sourceforge/fenixedu/applicationTier/Servico/grant/owner/EditGrantOwner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2144,
1086,
12,
966,
9021,
5541,
1123,
9021,
5541,
13,
1216,
478,
275,
697,
15133,
16,
1312,
311,
2436,
6033,
12771,
28115,
288,
3639,
467,
3088,
499,
73,
11906,
73,
1694,
273,
446,
31,
3639,
2971,
6572,
9021,
5541,
293,
9021,
5541,
273,
446,
31,
7734,
775,
288,
5411,
1694,
273,
13381,
6289,
1733,
18,
588,
1868,
13182,
6289,
5621,
3639,
289,
1044,
261,
424,
311,
2436,
6033,
12771,
28115,
425,
13,
288,
5411,
425,
18,
1188,
6332,
5621,
5411,
604,
394,
478,
275,
697,
15133,
2932,
3370,
358,
15229,
3272,
5,
3113,
425,
1769,
3639,
289,
3639,
293,
9021,
5541,
273,
1694,
18,
588,
2579,
6572,
9021,
5541,
5621,
7734,
2971,
3565,
6175,
273,
446,
31,
3639,
467,
9021,
5541,
7936,
5541,
273,
446,
31,
3639,
467,
8142,
5251,
273,
446,
31,
7734,
309,
261,
1376,
9021,
5541,
18,
588,
8346,
966,
7675,
588,
966,
16507,
291,
1435,
480,
446,
13,
288,
5411,
5251,
273,
261,
2871,
3326,
13,
1694,
18,
588,
2579,
6572,
8142,
7675,
896,
858,
12945,
12,
8142,
18,
1106,
16,
1123,
9021,
5541,
18,
588,
8346,
966,
7675,
588,
966,
16507,
291,
7675,
26321,
3061,
10663,
3639,
289,
469,
288,
5411,
368,
2047,
326,
6175,
5251,
353,
3109,
518,
353,
444,
358,
805,
315,
6354,
57,
43,
1821,
5233,
31395,
27015,
5467,
8020,
706,
1157,
1448,
6,
2398,
368,
382,
279,
486,
3888,
3563,
333,
903,
486,
506,
3577,
3241,
326,
276,
1395,
698,
848,
5903,
506,
446,
5411,
5251,
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,
2144,
1086,
12,
966,
9021,
5541,
1123,
9021,
5541,
13,
1216,
478,
275,
697,
15133,
16,
1312,
311,
2436,
6033,
12771,
28115,
288,
3639,
467,
3088,
499,
73,
11906,
73,
1694,
273,
446,
31,
3639,
2971,
6572,
9021,
5541,
293,
9021,
5541,
273,
446,
31,
7734,
775,
288,
5411,
1694,
273,
13381,
6289,
1733,
18,
588,
1868,
13182,
6289,
5621,
3639,
289,
1044,
261,
424,
311,
2436,
6033,
12771,
28115,
425,
13,
288,
5411,
425,
18,
1188,
6332,
5621,
5411,
604,
394,
478,
275,
697,
15133,
2932,
3370,
358,
15229,
3272,
5,
3113,
425,
1769,
3639,
289,
3639,
293,
9021,
5541,
273,
1694,
18,
588,
2579,
6572,
9021,
5541,
5621,
7734,
2971,
3565,
6175,
273,
446,
31,
2
] |
private Neighbors getNeighbors(V v)
|
private Neighbors<V,E> getNeighbors(V v)
|
private Neighbors getNeighbors(V v) { Neighbors neighbors = m_neighborMap.get(v); if (neighbors == null) { neighbors = new Neighbors<V, E>(v, Graphs.neighborListOf(m_graph, v)); m_neighborMap.put(v, neighbors); } return neighbors; }
|
4188 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4188/3358959abc414f2281c71486c6c1a90935b1e909/NeighborIndex.java/clean/src/org/jgrapht/alg/NeighborIndex.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
30663,
1383,
32,
58,
16,
41,
34,
336,
27053,
12,
58,
331,
13,
565,
288,
3639,
30663,
1383,
11003,
273,
312,
67,
18168,
863,
18,
588,
12,
90,
1769,
3639,
309,
261,
17549,
422,
446,
13,
288,
5411,
11003,
273,
394,
30663,
1383,
32,
58,
16,
512,
34,
12,
90,
16,
10792,
5601,
87,
18,
18168,
682,
951,
12,
81,
67,
4660,
16,
331,
10019,
5411,
312,
67,
18168,
863,
18,
458,
12,
90,
16,
11003,
1769,
3639,
289,
3639,
327,
11003,
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,
3238,
30663,
1383,
32,
58,
16,
41,
34,
336,
27053,
12,
58,
331,
13,
565,
288,
3639,
30663,
1383,
11003,
273,
312,
67,
18168,
863,
18,
588,
12,
90,
1769,
3639,
309,
261,
17549,
422,
446,
13,
288,
5411,
11003,
273,
394,
30663,
1383,
32,
58,
16,
512,
34,
12,
90,
16,
10792,
5601,
87,
18,
18168,
682,
951,
12,
81,
67,
4660,
16,
331,
10019,
5411,
312,
67,
18168,
863,
18,
458,
12,
90,
16,
11003,
1769,
3639,
289,
3639,
327,
11003,
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
] |
int [] argList = {OS.XmNlabelString, 0, OS.XmNmnemonic, 0}; OS.XtGetValues (handle, argList, argList.length / 2); int xmString = argList [1]; int mnemonic = argList [3]; if (mnemonic == OS.XK_VoidSymbol) mnemonic = 0; if (xmString == 0) error (SWT.ERROR_CANNOT_GET_TEXT); char [] result = null; int address = OS.XmStringUnparse ( xmString, null, OS.XmCHARSET_TEXT, OS.XmCHARSET_TEXT, null, 0, OS.XmOUTPUT_ALL); if (address != 0) { int length = OS.strlen (address); byte [] buffer = new byte [length]; OS.memmove (buffer, address, length); OS.XtFree (address); result = Converter.mbcsToWcs (getCodePage (), buffer); } OS.XmStringFree (xmString); int count = 0; if (mnemonic != 0) count++; for (int i=0; i<result.length-1; i++) if (result [i] == Mnemonic) count++; char [] newResult = result; if ((count != 0) || (mnemonic != 0)) { newResult = new char [result.length + count]; int i = 0, j = 0; while (i < result.length) { if ((mnemonic != 0) && (result [i] == mnemonic)) { if (j < newResult.length) newResult [j++] = Mnemonic; mnemonic = 0; } if ((newResult [j++] = result [i++]) == Mnemonic) if (j < newResult.length) newResult [j++] = Mnemonic; } } return new String (newResult);
|
return text;
|
public String getText () { checkWidget(); if ((style & SWT.ARROW) != 0) return ""; int [] argList = {OS.XmNlabelString, 0, OS.XmNmnemonic, 0}; OS.XtGetValues (handle, argList, argList.length / 2); int xmString = argList [1]; int mnemonic = argList [3]; if (mnemonic == OS.XK_VoidSymbol) mnemonic = 0; if (xmString == 0) error (SWT.ERROR_CANNOT_GET_TEXT); char [] result = null; int address = OS.XmStringUnparse ( xmString, null, OS.XmCHARSET_TEXT, OS.XmCHARSET_TEXT, null, 0, OS.XmOUTPUT_ALL); if (address != 0) { int length = OS.strlen (address); byte [] buffer = new byte [length]; OS.memmove (buffer, address, length); OS.XtFree (address); result = Converter.mbcsToWcs (getCodePage (), buffer); } OS.XmStringFree (xmString); int count = 0; if (mnemonic != 0) count++; for (int i=0; i<result.length-1; i++) if (result [i] == Mnemonic) count++; char [] newResult = result; if ((count != 0) || (mnemonic != 0)) { newResult = new char [result.length + count]; int i = 0, j = 0; while (i < result.length) { if ((mnemonic != 0) && (result [i] == mnemonic)) { if (j < newResult.length) newResult [j++] = Mnemonic; mnemonic = 0; } if ((newResult [j++] = result [i++]) == Mnemonic) if (j < newResult.length) newResult [j++] = Mnemonic; } } return new String (newResult);}
|
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/99e0a1867a438da276ff0ae73d406d471f437071/Button.java/buggy/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Button.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
514,
6701,
1832,
288,
202,
1893,
4609,
5621,
202,
430,
14015,
4060,
473,
348,
8588,
18,
985,
11226,
13,
480,
374,
13,
327,
1408,
31,
202,
474,
5378,
1501,
682,
273,
288,
4618,
18,
60,
81,
50,
1925,
780,
16,
374,
16,
5932,
18,
60,
81,
50,
13607,
20918,
16,
374,
20451,
202,
4618,
18,
60,
88,
967,
1972,
261,
4110,
16,
1501,
682,
16,
1501,
682,
18,
2469,
342,
576,
1769,
202,
474,
25179,
780,
273,
1501,
682,
306,
21,
15533,
202,
474,
12883,
20918,
273,
1501,
682,
306,
23,
15533,
202,
430,
261,
13607,
20918,
422,
5932,
18,
60,
47,
67,
19038,
5335,
13,
12883,
20918,
273,
374,
31,
202,
430,
261,
92,
81,
780,
422,
374,
13,
555,
261,
55,
8588,
18,
3589,
67,
39,
16791,
67,
3264,
67,
5151,
1769,
202,
3001,
5378,
563,
273,
446,
31,
202,
202,
474,
1758,
273,
5932,
18,
60,
81,
780,
984,
2670,
261,
202,
202,
92,
81,
780,
16,
202,
202,
2011,
16,
202,
202,
4618,
18,
60,
81,
26977,
67,
5151,
16,
202,
202,
4618,
18,
60,
81,
26977,
67,
5151,
16,
202,
202,
2011,
16,
202,
202,
20,
16,
202,
202,
4618,
18,
60,
81,
15527,
67,
4685,
1769,
202,
430,
261,
2867,
480,
374,
13,
288,
202,
202,
474,
769,
273,
5932,
18,
10835,
261,
2867,
1769,
202,
202,
7229,
5378,
1613,
273,
394,
1160,
306,
2469,
15533,
202,
202,
4618,
18,
3917,
8501,
261,
4106,
16,
1758,
16,
769,
1769,
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,
1071,
514,
6701,
1832,
288,
202,
1893,
4609,
5621,
202,
430,
14015,
4060,
473,
348,
8588,
18,
985,
11226,
13,
480,
374,
13,
327,
1408,
31,
202,
474,
5378,
1501,
682,
273,
288,
4618,
18,
60,
81,
50,
1925,
780,
16,
374,
16,
5932,
18,
60,
81,
50,
13607,
20918,
16,
374,
20451,
202,
4618,
18,
60,
88,
967,
1972,
261,
4110,
16,
1501,
682,
16,
1501,
682,
18,
2469,
342,
576,
1769,
202,
474,
25179,
780,
273,
1501,
682,
306,
21,
15533,
202,
474,
12883,
20918,
273,
1501,
682,
306,
23,
15533,
202,
430,
261,
13607,
20918,
422,
5932,
18,
60,
47,
67,
19038,
5335,
13,
12883,
20918,
273,
374,
31,
202,
430,
261,
92,
81,
780,
422,
2
] |
for(int i = 0; i < frames.length; i++) { if(frames[i].isShowing()) {
|
for (int i = 0; i < frames.length; i++) { if (frames[i].isShowing()) {
|
JInternalFrame getSelectedFrame() { JInternalFrame[] frames = desk.getAllFrames(); for(int i = 0; i < frames.length; i++) { if(frames[i].isShowing()) { return frames[i]; } } return frames[frames.length - 1]; }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/bebd557da53b74c60ab8525aa96904d4cee6224c/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
804,
3061,
3219,
16625,
3219,
1435,
288,
4202,
804,
3061,
3219,
8526,
7793,
273,
2832,
79,
18,
588,
1595,
15162,
5621,
4202,
364,
12,
474,
277,
273,
374,
31,
277,
411,
7793,
18,
2469,
31,
277,
27245,
288,
6647,
309,
12,
10278,
63,
77,
8009,
291,
5706,
310,
10756,
288,
9079,
327,
7793,
63,
77,
15533,
6647,
289,
4202,
289,
4202,
327,
7793,
63,
10278,
18,
2469,
300,
404,
15533,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
804,
3061,
3219,
16625,
3219,
1435,
288,
4202,
804,
3061,
3219,
8526,
7793,
273,
2832,
79,
18,
588,
1595,
15162,
5621,
4202,
364,
12,
474,
277,
273,
374,
31,
277,
411,
7793,
18,
2469,
31,
277,
27245,
288,
6647,
309,
12,
10278,
63,
77,
8009,
291,
5706,
310,
10756,
288,
9079,
327,
7793,
63,
77,
15533,
6647,
289,
4202,
289,
4202,
327,
7793,
63,
10278,
18,
2469,
300,
404,
15533,
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
] |
}
|
}
|
protected void receiveDownEvent(Event evt) { }
|
51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/de11e563cde19970f8491cbb8d689fbc8fd53f0f/MessageDispatcher.java/clean/src/org/jgroups/blocks/MessageDispatcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4750,
918,
6798,
4164,
1133,
12,
1133,
6324,
13,
288,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4750,
918,
6798,
4164,
1133,
12,
1133,
6324,
13,
288,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
"Unable to parse staticPattern - ", ex);
|
"Unable to parse constPattern - " , ex);
|
public void run() { try { mConfig.setStaticPat(aPat); } catch (RESyntaxException ex) { throw new BuildException( "Unable to parse staticPattern - ", ex); } }
|
50482 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50482/31d71edbf5878608559125e5c7c4939e6f81841f/CheckStyleTask.java/buggy/src/checkstyle/com/puppycrawl/tools/checkstyle/CheckStyleTask.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
1086,
1435,
7734,
288,
10792,
775,
288,
13491,
312,
809,
18,
542,
5788,
22834,
12,
69,
22834,
1769,
10792,
289,
10792,
1044,
261,
7031,
5392,
503,
431,
13,
288,
13491,
604,
394,
18463,
12,
18701,
315,
3370,
358,
1109,
1866,
3234,
300,
315,
269,
431,
1769,
10792,
289,
7734,
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,
1171,
1071,
918,
1086,
1435,
7734,
288,
10792,
775,
288,
13491,
312,
809,
18,
542,
5788,
22834,
12,
69,
22834,
1769,
10792,
289,
10792,
1044,
261,
7031,
5392,
503,
431,
13,
288,
13491,
604,
394,
18463,
12,
18701,
315,
3370,
358,
1109,
1866,
3234,
300,
315,
269,
431,
1769,
10792,
289,
7734,
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
] |
int[] sentEventCount = { 0 } ;
|
private void doIt(final PipelineContext pipelineContext, ContentHandler contentHandler) { final ExternalContext externalContext = (ExternalContext) pipelineContext.getAttribute(PipelineContext.EXTERNAL_CONTEXT); final Element filesElement; final Element actionElement; final XFormsContainingDocument containingDocument; final XFormsState xformsState; final String staticStateUUID; // Use request input provided by client final Document requestDocument = readInputAsDOM4J(pipelineContext, INPUT_REQUEST); // Get action actionElement = requestDocument.getRootElement().element(XFormsConstants.XXFORMS_ACTION_QNAME); // Get files if any (those come from xforms-server-submit.xpl upon submission) filesElement = requestDocument.getRootElement().element(XFormsConstants.XXFORMS_FILES_QNAME); // Retrieve state { // Get static state final String staticStateString; { final Element staticStateElement = requestDocument.getRootElement().element(XFormsConstants.XXFORMS_STATIC_STATE_QNAME); staticStateString = staticStateElement.getTextTrim(); } // Get dynamic state final String dynamicStateString; { final Element dynamicStateElement = requestDocument.getRootElement().element(XFormsConstants.XXFORMS_DYNAMIC_STATE_QNAME); dynamicStateString = dynamicStateElement.getTextTrim(); } if (dynamicStateString.startsWith(APPLICATION_STATE_PREFIX)) { // State is currently stored in the application scope final String dynamicStateUUID = dynamicStateString.substring(APPLICATION_STATE_PREFIX.length()); // Extract page generation id staticStateUUID = staticStateString.substring(APPLICATION_STATE_PREFIX.length()); // We don't create the session cache at this point as it may not be necessary final XFormsServerApplicationStateCache applicationStateCache = XFormsServerApplicationStateCache.instance(externalContext, false); final XFormsState applicationFormsState = applicationStateCache.find(staticStateUUID, dynamicStateUUID); // This is not going to be good when it happens, and we must create a caching heuristic that minimizes this if (applicationFormsState == null) throw new OXFException("Unable to retrieve XForms engine state from application cache."); xformsState = applicationFormsState; } else if (dynamicStateString.startsWith(SESSION_STATE_PREFIX)) { // State doesn't come with the request, we should look it up in the repository final String dynamicStateUUID = dynamicStateString.substring(SESSION_STATE_PREFIX.length()); // Extract page generation id staticStateUUID = staticStateString.startsWith(SESSION_STATE_PREFIX) ? staticStateString.substring(SESSION_STATE_PREFIX.length()) : staticStateString.substring(APPLICATION_STATE_PREFIX.length()); // We don't create the session cache at this point as it may not be necessary final XFormsServerSessionStateCache sessionStateCache = XFormsServerSessionStateCache.instance(externalContext.getSession(false), false); final XFormsState sessionFormsState = (sessionStateCache == null) ? null : sessionStateCache.find(staticStateUUID, dynamicStateUUID); // This is not going to be good when it happens, and we must create a caching heuristic that minimizes this if (sessionFormsState == null) throw new OXFException("Unable to retrieve XForms engine state from session cache."); xformsState = sessionFormsState; } else { // State comes with request staticStateUUID = null; xformsState = new XFormsState(staticStateString, dynamicStateString); } } if (XFormsUtils.isCacheDocument()) { // Try to obtain containing document from cache if (filesElement == null) { // No fileElements, this may have been cached containingDocument = XFormsServerDocumentCache.instance().find(pipelineContext, xformsState); } else { // If there are filesElement, then we know this was not cached logger.debug("XForms - containing document cache (getContainingDocument): fileElements present."); containingDocument = createXFormsContainingDocument(pipelineContext, xformsState, filesElement); } } else { // Otherwise we recreate the containing document from scratch containingDocument = createXFormsContainingDocument(pipelineContext, xformsState, filesElement); } try { // Run event if any boolean allEvents = false; final Map valueChangeControlIds = new HashMap(); if (actionElement != null) { final List eventElements = actionElement.elements(XFormsConstants.XXFORMS_EVENT_QNAME); if (eventElements != null && eventElements.size() > 0) { // NOTE: We store here the last xxforms-value-change-with-focus-change event so // we can coalesce values in case several such events are sent for the same // control. The client should not send us such series of events, but currently // it may happen. String lastSourceControlId = null; String lastValueChangeEventValue = null; int[] sentEventCount = { 0 } ; containingDocument.prepareForExternalEventsSequence(pipelineContext); for (Iterator i = eventElements.iterator(); i.hasNext();) { final Element eventElement = (Element) i.next(); final String sourceControlId = eventElement.attributeValue("source-control-id"); final String otherControlId = eventElement.attributeValue("other-control-id"); final String eventName = eventElement.attributeValue("name"); final String value = eventElement.getText(); if (XFormsEvents.XXFORMS_ALL_EVENTS_REQUIRED.equals(eventName)) { // Special event telling us to resend the client all the events since initialization allEvents = true; } else if (sourceControlId != null && eventName != null) { // An event is passed if (eventName.equals(XFormsEvents.XXFORMS_VALUE_CHANGE_WITH_FOCUS_CHANGE) && otherControlId == null) { // xxforms-value-change-with-focus-change event if (lastSourceControlId == null) { // Rember event lastSourceControlId = sourceControlId; lastValueChangeEventValue = value; } else if (lastSourceControlId.equals(sourceControlId)) { // Update event lastValueChangeEventValue = value; } else { // Send old event executeExternalEventPrepareIfNecessary(pipelineContext, containingDocument, sentEventCount, XFormsEvents.XXFORMS_VALUE_CHANGE_WITH_FOCUS_CHANGE, lastSourceControlId, null, lastValueChangeEventValue); // Remember new event lastSourceControlId = sourceControlId; lastValueChangeEventValue = value; } } else { if (lastSourceControlId != null) { // Send old event executeExternalEventPrepareIfNecessary(pipelineContext, containingDocument, sentEventCount, XFormsEvents.XXFORMS_VALUE_CHANGE_WITH_FOCUS_CHANGE, lastSourceControlId, null, lastValueChangeEventValue); lastSourceControlId = null; lastValueChangeEventValue = null; } // Send new event executeExternalEventPrepareIfNecessary(pipelineContext, containingDocument, sentEventCount, eventName, sourceControlId, otherControlId, value); } if (eventName.equals(XFormsEvents.XXFORMS_VALUE_CHANGE_WITH_FOCUS_CHANGE)) { // Remember id of control of which value changed valueChangeControlIds.put(sourceControlId, ""); } } else if (!(sourceControlId == null && eventName == null)) { throw new OXFException("<event> element must either have source-control-id and name attributes, or no attribute."); } } // Flush stored event if needed if (lastSourceControlId != null) { // Send old event executeExternalEventPrepareIfNecessary(pipelineContext, containingDocument, sentEventCount, XFormsEvents.XXFORMS_VALUE_CHANGE_WITH_FOCUS_CHANGE, lastSourceControlId, null, lastValueChangeEventValue); } } } // Create resulting document if there is a ContentHandler if (contentHandler != null) { outputResponse(containingDocument, allEvents, valueChangeControlIds, pipelineContext, contentHandler, staticStateUUID, externalContext, xformsState); } } catch (Throwable e) { // If an exception is caught, we need to discard the object as its state may be inconsistent final ObjectPool sourceObjectPool = containingDocument.getSourceObjectPool(); if (sourceObjectPool != null) { logger.debug("XForms - containing document cache: throwable caught, discarding document from pool."); try { sourceObjectPool.invalidateObject(containingDocument); containingDocument.setSourceObjectPool(null); } catch (Exception e1) { throw new OXFException(e1); } } throw new OXFException(e); } }
|
54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/ddf570ce111ad74e1bea3ec73c30bed0bec1dadd/XFormsServer.java/buggy/src/java/org/orbeon/oxf/xforms/processor/XFormsServer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
7193,
12,
6385,
13671,
1042,
5873,
1042,
16,
3697,
1503,
913,
1503,
13,
288,
3639,
727,
11352,
1042,
3903,
1042,
273,
261,
6841,
1042,
13,
5873,
1042,
18,
588,
1499,
12,
8798,
1042,
18,
2294,
11702,
67,
13181,
1769,
3639,
727,
3010,
1390,
1046,
31,
3639,
727,
3010,
1301,
1046,
31,
3639,
727,
1139,
18529,
24344,
2519,
4191,
2519,
31,
3639,
727,
1139,
18529,
1119,
619,
9741,
1119,
31,
3639,
727,
514,
760,
1119,
5562,
31,
3639,
368,
2672,
590,
810,
2112,
635,
1004,
3639,
727,
4319,
590,
2519,
273,
855,
1210,
1463,
8168,
24,
46,
12,
14511,
1042,
16,
12943,
67,
5519,
1769,
3639,
368,
968,
1301,
3639,
1301,
1046,
273,
590,
2519,
18,
588,
2375,
1046,
7675,
2956,
12,
60,
18529,
2918,
18,
5619,
4983,
55,
67,
12249,
67,
16032,
1769,
3639,
368,
968,
1390,
309,
1281,
261,
451,
2584,
12404,
628,
619,
9741,
17,
3567,
17,
9297,
18,
92,
412,
12318,
8515,
13,
3639,
1390,
1046,
273,
590,
2519,
18,
588,
2375,
1046,
7675,
2956,
12,
60,
18529,
2918,
18,
5619,
4983,
55,
67,
12669,
67,
16032,
1769,
3639,
368,
10708,
919,
3639,
288,
5411,
368,
968,
760,
919,
5411,
727,
514,
760,
1119,
780,
31,
5411,
288,
7734,
727,
3010,
760,
1119,
1046,
273,
590,
2519,
18,
588,
2375,
1046,
7675,
2956,
12,
60,
18529,
2918,
18,
5619,
4983,
55,
67,
22741,
67,
7998,
67,
16032,
1769,
7734,
760,
1119,
780,
273,
760,
1119,
1046,
18,
588,
1528,
14795,
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,
918,
741,
7193,
12,
6385,
13671,
1042,
5873,
1042,
16,
3697,
1503,
913,
1503,
13,
288,
3639,
727,
11352,
1042,
3903,
1042,
273,
261,
6841,
1042,
13,
5873,
1042,
18,
588,
1499,
12,
8798,
1042,
18,
2294,
11702,
67,
13181,
1769,
3639,
727,
3010,
1390,
1046,
31,
3639,
727,
3010,
1301,
1046,
31,
3639,
727,
1139,
18529,
24344,
2519,
4191,
2519,
31,
3639,
727,
1139,
18529,
1119,
619,
9741,
1119,
31,
3639,
727,
514,
760,
1119,
5562,
31,
3639,
368,
2672,
590,
810,
2112,
635,
1004,
3639,
727,
4319,
590,
2519,
273,
855,
1210,
1463,
8168,
24,
46,
12,
14511,
1042,
16,
12943,
67,
5519,
1769,
3639,
368,
968,
1301,
3639,
1301,
1046,
273,
590,
2519,
18,
2
] |
|
void receivePacket(Packet packet, Connection con) throws I2PException { boolean ok = verifyPacket(packet, con); if (!ok) { if ( (!packet.isFlagSet(Packet.FLAG_RESET)) && (_log.shouldLog(Log.ERROR)) ) _log.error("Packet does NOT verify: " + packet + " on " + con); packet.releasePayload(); return; } if (con.getHardDisconnected()) { if ( (packet.getSequenceNum() > 0) || (packet.getPayloadSize() > 0) || (packet.isFlagSet(Packet.FLAG_SYNCHRONIZE)) || (packet.isFlagSet(Packet.FLAG_CLOSE)) ) { if (_log.shouldLog(Log.WARN)) _log.warn("Received a data packet after hard disconnect: " + packet + " on " + con); con.sendReset(); } else { if (_log.shouldLog(Log.WARN)) _log.warn("Received a packet after hard disconnect, ignoring: " + packet + " on " + con); } packet.releasePayload(); return; } if (packet.isFlagSet(Packet.FLAG_MAX_PACKET_SIZE_INCLUDED)) { if (packet.getOptionalMaxSize() < con.getOptions().getMaxMessageSize()) { if (_log.shouldLog(Log.INFO)) _log.info("Reducing our max message size to " + packet.getOptionalMaxSize() + " from " + con.getOptions().getMaxMessageSize()); con.getOptions().setMaxMessageSize(packet.getOptionalMaxSize()); con.getOutputStream().setBufferSize(packet.getOptionalMaxSize()); } } con.packetReceived(); boolean choke = false; if (packet.isFlagSet(Packet.FLAG_DELAY_REQUESTED)) { if (packet.getOptionalDelay() > 60000) { // requested choke choke = true; con.getOptions().setRTT(con.getOptions().getRTT() + 10*1000); } } long ready = con.getInputStream().getHighestReadyBockId(); int available = con.getOptions().getInboundBufferSize() - con.getInputStream().getTotalReadySize(); int allowedBlocks = available/con.getOptions().getMaxMessageSize(); if ( (packet.getPayloadSize() > 0) && (packet.getSequenceNum() > ready + allowedBlocks) ) { if (_log.shouldLog(Log.WARN)) _log.warn("Inbound buffer exceeded on connection " + con + " (" + ready + "/"+ (ready+allowedBlocks) + "/" + available + ": dropping " + packet); ack(con, packet.getAckThrough(), packet.getNacks(), null, false, choke); con.getOptions().setChoke(61*1000); packet.releasePayload(); con.ackImmediately(); return; } con.getOptions().setChoke(0); _context.statManager().addRateData("stream.con.receiveMessageSize", packet.getPayloadSize(), 0); boolean isNew = con.getInputStream().messageReceived(packet.getSequenceNum(), packet.getPayload()); if ( (packet.getSequenceNum() == 0) && (packet.getPayloadSize() > 0) ) { if (_log.shouldLog(Log.DEBUG)) _log.debug("seq=0 && size=" + packet.getPayloadSize() + ": isNew? " + isNew + " packet: " + packet + " con: " + con); } // close *after* receiving the data, as well as after verifying the signatures / etc if (packet.isFlagSet(Packet.FLAG_CLOSE) && packet.isFlagSet(Packet.FLAG_SIGNATURE_INCLUDED)) con.closeReceived(); boolean fastAck = false; boolean ackOnly = false; if (isNew) { con.incrementUnackedPacketsReceived(); con.incrementBytesReceived(packet.getPayloadSize()); if (packet.isFlagSet(Packet.FLAG_DELAY_REQUESTED) && (packet.getOptionalDelay() <= 0) ) { if (_log.shouldLog(Log.DEBUG)) _log.debug("Scheduling immediate ack for " + packet); con.setNextSendTime(_context.clock().now() + con.getOptions().getSendAckDelay()); } else { int delay = con.getOptions().getSendAckDelay(); if (packet.isFlagSet(Packet.FLAG_DELAY_REQUESTED)) // delayed ACK requested delay = packet.getOptionalDelay(); con.setNextSendTime(delay + _context.clock().now()); if (_log.shouldLog(Log.DEBUG)) _log.debug("Scheduling ack in " + delay + "ms for received packet " + packet); } } else { if ( (packet.getSequenceNum() > 0) || (packet.getPayloadSize() > 0) || (packet.isFlagSet(Packet.FLAG_SYNCHRONIZE)) ) { _context.statManager().addRateData("stream.con.receiveDuplicateSize", packet.getPayloadSize(), 0); con.incrementDupMessagesReceived(1); // take note of congestion if (_log.shouldLog(Log.WARN)) _log.warn("congestion.. dup " + packet); SimpleTimer.getInstance().addEvent(new AckDup(con), con.getOptions().getSendAckDelay()); //con.setNextSendTime(_context.clock().now() + con.getOptions().getSendAckDelay()); //fastAck = true; } else { if (packet.isFlagSet(Packet.FLAG_SYNCHRONIZE)) { //con.incrementUnackedPacketsReceived(); con.setNextSendTime(_context.clock().now() + con.getOptions().getSendAckDelay()); } else { if (_log.shouldLog(Log.DEBUG)) _log.debug("ACK only packet received: " + packet); ackOnly = true; } } } if (packet.isFlagSet(Packet.FLAG_SYNCHRONIZE) && ((packet.getSendStreamId() == null) || DataHelper.eq(packet.getSendStreamId(), Packet.STREAM_ID_UNKNOWN) ) ) { // don't honor the ACK 0 in SYN packets received when the other side // has obviously not seen our messages } else { fastAck = ack(con, packet.getAckThrough(), packet.getNacks(), packet, isNew, choke); } con.eventOccurred(); if (fastAck) { if (con.getLastSendTime() + 2000 < _context.clock().now()) { if (_log.shouldLog(Log.DEBUG)) _log.debug("Fast ack for dup " + packet); con.ackImmediately(); } } if (ackOnly || !isNew) { // non-ack message payloads are queued in the MessageInputStream packet.releasePayload(); } //if (choke) // con.fastRetransmit(); }
|
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/6a19501214b3f1c26f1f015332a7e4a13106599f/ConnectionPacketHandler.java/clean/apps/streaming/java/src/net/i2p/client/streaming/ConnectionPacketHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
6798,
6667,
12,
6667,
4414,
16,
4050,
356,
13,
1216,
467,
22,
52,
503,
288,
3639,
1250,
1529,
273,
3929,
6667,
12,
11482,
16,
356,
1769,
3639,
309,
16051,
601,
13,
288,
5411,
309,
261,
16051,
11482,
18,
291,
4678,
694,
12,
6667,
18,
9651,
67,
26665,
3719,
597,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
3589,
3719,
262,
7734,
389,
1330,
18,
1636,
2932,
6667,
1552,
4269,
3929,
30,
315,
397,
4414,
397,
315,
603,
315,
397,
356,
1769,
5411,
4414,
18,
9340,
6110,
5621,
5411,
327,
31,
3639,
289,
3639,
309,
261,
591,
18,
588,
29601,
26303,
10756,
288,
5411,
309,
261,
261,
11482,
18,
588,
4021,
2578,
1435,
405,
374,
13,
747,
261,
11482,
18,
588,
6110,
1225,
1435,
405,
374,
13,
747,
5375,
261,
11482,
18,
291,
4678,
694,
12,
6667,
18,
9651,
67,
7474,
50,
1792,
19359,
15641,
3719,
747,
261,
11482,
18,
291,
4678,
694,
12,
6667,
18,
9651,
67,
13384,
3719,
262,
288,
7734,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
27999,
3719,
10792,
389,
1330,
18,
8935,
2932,
8872,
279,
501,
4414,
1839,
7877,
9479,
30,
315,
397,
4414,
397,
315,
603,
315,
397,
356,
1769,
7734,
356,
18,
4661,
7013,
5621,
5411,
289,
469,
288,
7734,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
27999,
3719,
10792,
389,
1330,
18,
8935,
2932,
8872,
279,
4414,
1839,
7877,
9479,
16,
14398,
30,
315,
397,
4414,
397,
315,
603,
315,
397,
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,
6798,
6667,
12,
6667,
4414,
16,
4050,
356,
13,
1216,
467,
22,
52,
503,
288,
3639,
1250,
1529,
273,
3929,
6667,
12,
11482,
16,
356,
1769,
3639,
309,
16051,
601,
13,
288,
5411,
309,
261,
16051,
11482,
18,
291,
4678,
694,
12,
6667,
18,
9651,
67,
26665,
3719,
597,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
3589,
3719,
262,
7734,
389,
1330,
18,
1636,
2932,
6667,
1552,
4269,
3929,
30,
315,
397,
4414,
397,
315,
603,
315,
397,
356,
1769,
5411,
4414,
18,
9340,
6110,
5621,
5411,
327,
31,
3639,
289,
3639,
309,
261,
591,
18,
588,
29601,
26303,
10756,
288,
5411,
309,
261,
261,
11482,
18,
588,
4021,
2578,
1435,
405,
374,
13,
747,
2
] |
||
newValue = new Item("I", ((Integer) it2.getConstant()) / ((Integer) it.getConstant())); else if (seen == IAND) newValue = new Item("I", ((Integer) it2.getConstant()) & ((Integer) it.getConstant())); else if (seen == IOR) newValue = new Item("I", ((Integer) it2.getConstant()) | ((Integer) it.getConstant()));
|
newValue = new Item("I", intValue2 / intValue1); else if (seen == IAND) { newValue = new Item("I", intValue2 & intValue1); if ((intValue1&0xff) == 0 && intValue1 != 0 || (intValue2&0xff) == 0 && intValue2 != 0 ) newValue.specialKind = Item.LOW_8_BITS_CLEAR; } else if (seen == IOR) newValue = new Item("I",intValue2 | intValue1);
|
private void pushByIntMath(int seen, Item it, Item it2) { if (DEBUG) System.out.println("pushByIntMath: " + it.getConstant() + " " + it2.getConstant() ); Item newValue = new Item("I"); try { if ((it.getConstant() != null) && it2.getConstant() != null) { if (seen == IADD) newValue = new Item("I", ((Integer) it2.getConstant()) + ((Integer) it.getConstant())); else if (seen == ISUB) newValue = new Item("I", ((Integer) it2.getConstant()) - ((Integer) it.getConstant())); else if (seen == IMUL) newValue = new Item("I", ((Integer) it2.getConstant()) * ((Integer) it.getConstant())); else if (seen == IDIV) newValue = new Item("I", ((Integer) it2.getConstant()) / ((Integer) it.getConstant())); else if (seen == IAND) newValue = new Item("I", ((Integer) it2.getConstant()) & ((Integer) it.getConstant())); else if (seen == IOR) newValue = new Item("I", ((Integer) it2.getConstant()) | ((Integer) it.getConstant())); else if (seen == IXOR) newValue = new Item("I", ((Integer) it2.getConstant()) ^ ((Integer) it.getConstant())); else if (seen == ISHL) newValue = new Item("I", ((Integer) it2.getConstant()) << ((Integer) it.getConstant())); else if (seen == ISHR) newValue = new Item("I", ((Integer) it2.getConstant()) >> ((Integer) it.getConstant())); else if (seen == IREM) newValue = new Item("I", ((Integer) it2.getConstant()) % ((Integer) it.getConstant())); else if (seen == IUSHR) newValue = new Item("I", ((Integer) it2.getConstant()) >>> ((Integer) it.getConstant())); } else if (it2.getConstant() != null && seen == ISHL && ((Integer) it2.getConstant()) >= 8) newValue.specialKind = Item.LOW_8_BITS_CLEAR; else if (it2.getConstant() != null && seen == IAND && (((Integer) it2.getConstant()) & 0xff) == 0) newValue.specialKind = Item.LOW_8_BITS_CLEAR; } catch (RuntimeException e) { // ignore it } if (DEBUG) System.out.println("push: " + newValue); push(newValue); }
|
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/2a5c36c69fbb233ebab42243e72e9f60ac908c3a/OpcodeStack.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/OpcodeStack.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
202,
1152,
918,
1817,
858,
1702,
10477,
12,
474,
5881,
16,
4342,
518,
16,
4342,
518,
22,
13,
288,
1082,
309,
261,
9394,
13,
2332,
18,
659,
18,
8222,
2932,
6206,
858,
1702,
10477,
30,
315,
397,
518,
18,
588,
6902,
1435,
225,
397,
315,
315,
397,
518,
22,
18,
588,
6902,
1435,
11272,
3196,
202,
1180,
6129,
225,
273,
394,
4342,
2932,
45,
8863,
3196,
202,
698,
288,
3196,
202,
430,
14015,
305,
18,
588,
6902,
1435,
480,
446,
13,
597,
518,
22,
18,
588,
6902,
1435,
480,
446,
13,
288,
1082,
202,
430,
261,
15156,
422,
467,
8355,
13,
9506,
202,
2704,
620,
273,
394,
4342,
2932,
45,
3113,
14015,
4522,
13,
518,
22,
18,
588,
6902,
10756,
397,
14015,
4522,
13,
518,
18,
588,
6902,
1435,
10019,
1082,
202,
12107,
309,
261,
15156,
422,
4437,
3457,
13,
9506,
202,
2704,
620,
273,
394,
4342,
2932,
45,
3113,
14015,
4522,
13,
518,
22,
18,
588,
6902,
10756,
300,
14015,
4522,
13,
518,
18,
588,
6902,
1435,
10019,
1082,
202,
12107,
309,
261,
15156,
422,
6246,
1506,
13,
9506,
202,
2704,
620,
273,
394,
4342,
2932,
45,
3113,
14015,
4522,
13,
518,
22,
18,
588,
6902,
10756,
380,
14015,
4522,
13,
518,
18,
588,
6902,
1435,
10019,
1082,
202,
12107,
309,
261,
15156,
422,
1599,
8188,
13,
9506,
202,
2704,
620,
273,
394,
4342,
2932,
45,
3113,
14015,
4522,
13,
518,
22,
18,
588,
6902,
10756,
342,
14015,
4522,
13,
518,
18,
588,
6902,
1435,
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,
202,
1152,
918,
1817,
858,
1702,
10477,
12,
474,
5881,
16,
4342,
518,
16,
4342,
518,
22,
13,
288,
1082,
309,
261,
9394,
13,
2332,
18,
659,
18,
8222,
2932,
6206,
858,
1702,
10477,
30,
315,
397,
518,
18,
588,
6902,
1435,
225,
397,
315,
315,
397,
518,
22,
18,
588,
6902,
1435,
11272,
3196,
202,
1180,
6129,
225,
273,
394,
4342,
2932,
45,
8863,
3196,
202,
698,
288,
3196,
202,
430,
14015,
305,
18,
588,
6902,
1435,
480,
446,
13,
597,
518,
22,
18,
588,
6902,
1435,
480,
446,
13,
288,
1082,
202,
430,
261,
15156,
422,
467,
8355,
13,
9506,
202,
2704,
620,
273,
394,
4342,
2932,
45,
3113,
14015,
4522,
13,
518,
22,
18,
588,
2
] |
if(range.getFrom().compareTo( propertyValue ) == -1) {
|
if(range.getFrom().compareTo( propertyValue ) == 1) {
|
protected void processValidate(Object propertyValue, Errors errors) { Object[] args = new Object[] { constraintPropertyName, constraintOwningClass, propertyValue, range.getFrom(), range.getTo() }; if(propertyValue == null) { super.rejectValue(errors,SIZE_CONSTRAINT + INVALID_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); return; } if(propertyValue.getClass().isArray()) { Integer length = new Integer(Array.getLength( propertyValue )); if(!range.contains(length)) { if(range.getFrom().compareTo( length ) == -1) { super.rejectValue(errors,LENGTH_CONSTRAINT + TOOSHORT_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_LENGTH_MESSAGE, args )); } else if(range.getFrom().compareTo(length) == 1) { super.rejectValue(errors,LENGTH_CONSTRAINT + TOOLONG_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_LENGTH_MESSAGE, args )); } return; } } if(propertyValue instanceof Collection) { Integer collectionSize = new Integer(((Collection)propertyValue).size()); if(!range.contains( collectionSize )) { if(range.getFrom().compareTo( collectionSize ) == -1) { super.rejectValue(errors,SIZE_CONSTRAINT + TOOSMALL_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); } else if(range.getFrom().compareTo(collectionSize) == 1) { super.rejectValue(errors,SIZE_CONSTRAINT + TOOBIG_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); } } } else if(propertyValue instanceof Number) { if(range.getFrom().compareTo( propertyValue ) == -1) { super.rejectValue(errors,SIZE_CONSTRAINT + TOOSMALL_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); } else if(range.getFrom().compareTo(propertyValue) == 1) { super.rejectValue(errors,SIZE_CONSTRAINT + TOOBIG_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_SIZE_MESSAGE, args )); } } else if(propertyValue instanceof String) { Integer stringLength = new Integer(((String)propertyValue ).length()); if(!range.contains(stringLength)) { if(range.getFrom().compareTo( stringLength ) == -1) { super.rejectValue(errors,LENGTH_CONSTRAINT + TOOSHORT_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_LENGTH_MESSAGE, args )); } else if(range.getFrom().compareTo(stringLength) == 1) { super.rejectValue(errors,LENGTH_CONSTRAINT + TOOLONG_SUFFIX,args,MessageFormat.format( DEFAULT_INVALID_LENGTH_MESSAGE, args )); } } } }
|
52280 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52280/1db9771587982d3c4e7d8b077a7c3357d6207c4c/ConstrainedProperty.java/clean/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4750,
918,
1207,
4270,
12,
921,
12337,
16,
9372,
1334,
13,
288,
5411,
1033,
8526,
833,
273,
394,
1033,
8526,
288,
4954,
13073,
16,
4954,
3494,
2093,
797,
16,
12337,
16,
225,
1048,
18,
588,
1265,
9334,
1048,
18,
588,
774,
1435,
225,
289,
31,
5411,
309,
12,
4468,
620,
422,
446,
13,
288,
7734,
2240,
18,
24163,
620,
12,
4324,
16,
4574,
67,
15199,
397,
10071,
67,
14964,
16,
1968,
16,
1079,
1630,
18,
2139,
12,
3331,
67,
9347,
67,
4574,
67,
8723,
16,
833,
262,
1769,
7734,
327,
31,
5411,
289,
5411,
309,
12,
4468,
620,
18,
588,
797,
7675,
291,
1076,
10756,
288,
7734,
2144,
769,
273,
394,
2144,
12,
1076,
18,
588,
1782,
12,
12337,
262,
1769,
7734,
309,
12,
5,
3676,
18,
12298,
12,
2469,
3719,
288,
10792,
309,
12,
3676,
18,
588,
1265,
7675,
9877,
774,
12,
769,
262,
422,
300,
21,
13,
288,
13491,
2240,
18,
24163,
620,
12,
4324,
16,
7096,
67,
15199,
397,
8493,
51,
15993,
67,
14964,
16,
1968,
16,
1079,
1630,
18,
2139,
12,
3331,
67,
9347,
67,
7096,
67,
8723,
16,
833,
262,
1769,
10792,
289,
10792,
469,
309,
12,
3676,
18,
588,
1265,
7675,
9877,
774,
12,
2469,
13,
422,
404,
13,
288,
13491,
2240,
18,
24163,
620,
12,
4324,
16,
7096,
67,
15199,
397,
8493,
1741,
7390,
67,
14964,
16,
1968,
16,
1079,
1630,
18,
2139,
12,
3331,
67,
9347,
67,
7096,
67,
8723,
16,
833,
262,
1769,
10792,
289,
10792,
327,
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,
540,
4750,
918,
1207,
4270,
12,
921,
12337,
16,
9372,
1334,
13,
288,
5411,
1033,
8526,
833,
273,
394,
1033,
8526,
288,
4954,
13073,
16,
4954,
3494,
2093,
797,
16,
12337,
16,
225,
1048,
18,
588,
1265,
9334,
1048,
18,
588,
774,
1435,
225,
289,
31,
5411,
309,
12,
4468,
620,
422,
446,
13,
288,
7734,
2240,
18,
24163,
620,
12,
4324,
16,
4574,
67,
15199,
397,
10071,
67,
14964,
16,
1968,
16,
1079,
1630,
18,
2139,
12,
3331,
67,
9347,
67,
4574,
67,
8723,
16,
833,
262,
1769,
7734,
327,
31,
5411,
289,
5411,
309,
12,
4468,
620,
18,
588,
797,
7675,
291,
1076,
10756,
288,
7734,
2144,
769,
273,
394,
2144,
12,
1076,
18,
588,
1782,
12,
2
] |
debug="opening file "+filename;
|
private Row getBuffer() { int i, f; int smallest; Row r1, r2; Row retval; String filename; debug="start"; // Open all files at once and read one row from each file... if (data.files.size()>0 && ( data.dis.size()==0 || data.fis.size()==0 )) { debug="initialize"; logBasic("Opening "+data.files.size()+" tmp-files..."); try { for (f=0;f<data.files.size() && !isStopped();f++) { filename=((File)data.files.get(f)).toString(); debug="opening file "+filename; if (log.isDetailed()) logDetailed("Opening tmp-file: ["+filename+"]"); FileInputStream fi=new FileInputStream( (File)data.files.get(f) ); DataInputStream di=new DataInputStream( fi ); data.fis.add(fi); data.dis.add(di); // How long is the buffer? int buffersize=di.readInt(); debug="buffersize = "+buffersize; if (log.isDetailed()) logDetailed("["+filename+"] expecting "+buffersize+" rows..."); if (buffersize>0) { // Read a row from each temp-file data.rowbuffer.add(new Row(di)); // new row } } } catch(Exception e) { logError("Error reading back tmp-files in step ["+debug+"] : "+e.toString()); } } if (data.files.size()==0) { if (data.buffer.size()>0) { retval=(Row)data.buffer.get(0); data.buffer.remove(0); } else { retval=null; } } else { if (data.rowbuffer.size()==0) retval=null; else { // We now have "filenr" rows waiting: which one is the smallest? // for (i=0;i<data.rowbuffer.size() && !isStopped();i++) { Row b = (Row)data.rowbuffer.get(i); if (log.isRowLevel()) logRowlevel("--BR#"+i+": "+b.toString()); } // smallest=0; r1=(Row)data.rowbuffer.get(smallest); for (f=1;f<data.rowbuffer.size() && !isStopped();f++) { r2=(Row)data.rowbuffer.get(f); if (r2!=null && r2.compare(r1, data.fieldnrs, meta.getAscending())<0) { smallest=f; r1=(Row)data.rowbuffer.get(smallest); } } retval=r1; data.rowbuffer.remove(smallest); if (log.isRowLevel()) logRowlevel("Smallest row selected on ["+smallest+"] : "+retval); // now get another Row for position smallest File file = (File)data.files.get(smallest); DataInputStream di = (DataInputStream)data.dis.get(smallest); FileInputStream fi = (FileInputStream)data.fis.get(smallest); try { data.rowbuffer.add(smallest, new Row(di)); } catch(KettleFileException fe) // empty file or EOF mostly { try { di.close(); fi.close(); file.delete(); } catch(IOException e) { logError("Unable to close/delete file #"+smallest+" --> "+file.toString()); setErrors(1); stopAll(); return null; } data.files.remove(smallest); data.dis.remove(smallest); data.fis.remove(smallest); } } } return retval; }
|
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/3f39d037ba2ddf06fc422d6ae1f3add16df6eae5/SortRows.java/buggy/src/be/ibridge/kettle/trans/step/sortrows/SortRows.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6556,
22238,
1435,
202,
95,
202,
202,
474,
277,
16,
284,
31,
202,
202,
474,
13541,
31,
202,
202,
1999,
436,
21,
16,
436,
22,
31,
202,
202,
1999,
5221,
31,
202,
202,
780,
1544,
31,
9506,
202,
4148,
1546,
1937,
14432,
9506,
202,
759,
3502,
777,
1390,
622,
3647,
471,
855,
1245,
1027,
628,
1517,
585,
2777,
202,
202,
430,
261,
892,
18,
2354,
18,
1467,
1435,
34,
20,
597,
261,
501,
18,
2251,
18,
1467,
1435,
631,
20,
747,
501,
18,
74,
291,
18,
1467,
1435,
631,
20,
8623,
202,
202,
95,
1082,
202,
4148,
1546,
11160,
14432,
1082,
202,
1330,
8252,
2932,
21378,
13773,
892,
18,
2354,
18,
1467,
1435,
9078,
1853,
17,
2354,
7070,
1769,
6862,
202,
698,
1082,
202,
95,
9506,
202,
1884,
261,
74,
33,
20,
31,
74,
32,
892,
18,
2354,
18,
1467,
1435,
597,
401,
291,
15294,
5621,
74,
27245,
9506,
202,
95,
6862,
202,
3459,
33,
12443,
812,
13,
892,
18,
2354,
18,
588,
12,
74,
13,
2934,
10492,
5621,
6862,
202,
4148,
1546,
3190,
310,
585,
13773,
3459,
31,
6862,
202,
430,
261,
1330,
18,
291,
40,
6372,
10756,
613,
40,
6372,
2932,
21378,
1853,
17,
768,
30,
8247,
15,
3459,
9078,
4279,
1769,
6862,
202,
812,
4348,
7314,
33,
2704,
11907,
12,
261,
812,
13,
892,
18,
2354,
18,
588,
12,
74,
13,
11272,
6862,
202,
751,
4348,
4314,
33,
2704,
29382,
12,
7314,
11272,
6862,
202,
892,
18,
74,
291,
18,
1289,
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,
6556,
22238,
1435,
202,
95,
202,
202,
474,
277,
16,
284,
31,
202,
202,
474,
13541,
31,
202,
202,
1999,
436,
21,
16,
436,
22,
31,
202,
202,
1999,
5221,
31,
202,
202,
780,
1544,
31,
9506,
202,
4148,
1546,
1937,
14432,
9506,
202,
759,
3502,
777,
1390,
622,
3647,
471,
855,
1245,
1027,
628,
1517,
585,
2777,
202,
202,
430,
261,
892,
18,
2354,
18,
1467,
1435,
34,
20,
597,
261,
501,
18,
2251,
18,
1467,
1435,
631,
20,
747,
501,
18,
74,
291,
18,
1467,
1435,
631,
20,
8623,
202,
202,
95,
1082,
202,
4148,
1546,
11160,
14432,
1082,
202,
1330,
8252,
2932,
21378,
13773,
892,
18,
2354,
18,
1467,
1435,
9078,
1853,
17,
2
] |
|
return ((RubyModule) obj).op_le(this); }
|
return ((RubyModule) obj).op_le(this); }
|
public RubyBoolean op_ge(RubyObject obj) { if (!(obj instanceof RubyModule)) { throw new RubyTypeException(getRuby(), "compared with non class/module"); } return ((RubyModule) obj).op_le(this); }
|
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
5507,
1061,
67,
908,
12,
54,
10340,
921,
1081,
13,
288,
202,
202,
430,
16051,
12,
2603,
1276,
19817,
3120,
3719,
288,
1082,
202,
12849,
394,
19817,
14144,
12,
588,
54,
10340,
9334,
315,
9877,
72,
598,
1661,
667,
19,
2978,
8863,
202,
202,
97,
202,
202,
2463,
14015,
54,
10340,
3120,
13,
1081,
2934,
556,
67,
298,
12,
2211,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
19817,
5507,
1061,
67,
908,
12,
54,
10340,
921,
1081,
13,
288,
202,
202,
430,
16051,
12,
2603,
1276,
19817,
3120,
3719,
288,
1082,
202,
12849,
394,
19817,
14144,
12,
588,
54,
10340,
9334,
315,
9877,
72,
598,
1661,
667,
19,
2978,
8863,
202,
202,
97,
202,
202,
2463,
14015,
54,
10340,
3120,
13,
1081,
2934,
556,
67,
298,
12,
2211,
1769,
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
] |
private static boolean isInWhileStatementBody(PsiElement element) {
|
private static boolean isInWhileStatementBody(PsiElement element){
|
private static boolean isInWhileStatementBody(PsiElement element) { final PsiWhileStatement whileStatement = (PsiWhileStatement) PsiTreeUtil.getParentOfType(element, PsiWhileStatement.class); if (whileStatement == null) { return false; } final PsiStatement body = whileStatement.getBody(); return PsiTreeUtil.isAncestor(body, element, true); }
|
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/ControlFlowUtils.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/ControlFlowUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
8048,
15151,
3406,
2250,
12,
52,
7722,
1046,
930,
15329,
3639,
727,
453,
7722,
15151,
3406,
1323,
3406,
273,
7734,
261,
52,
7722,
15151,
3406,
13,
453,
7722,
2471,
1304,
18,
588,
3054,
18859,
12,
2956,
16,
453,
7722,
15151,
3406,
18,
1106,
1769,
3639,
309,
261,
17523,
3406,
422,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
3406,
1417,
273,
1323,
3406,
18,
588,
2250,
5621,
3639,
327,
453,
7722,
2471,
1304,
18,
291,
15637,
12,
3432,
16,
930,
16,
638,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
8048,
15151,
3406,
2250,
12,
52,
7722,
1046,
930,
15329,
3639,
727,
453,
7722,
15151,
3406,
1323,
3406,
273,
7734,
261,
52,
7722,
15151,
3406,
13,
453,
7722,
2471,
1304,
18,
588,
3054,
18859,
12,
2956,
16,
453,
7722,
15151,
3406,
18,
1106,
1769,
3639,
309,
261,
17523,
3406,
422,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
727,
453,
7722,
3406,
1417,
273,
1323,
3406,
18,
588,
2250,
5621,
3639,
327,
453,
7722,
2471,
1304,
18,
291,
15637,
12,
3432,
16,
930,
16,
638,
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
] |
org.intermine.web.LogMe.log("i", "processPartials - mapOfPartials: " + mapOfPartials);
|
private void processPartials(Map mapOfPartials) throws ObjectStoreException { //org.intermine.web.LogMe.log("i", "processPartials - mapOfPartials: " + mapOfPartials); Iterator mapOfPartialsIter = mapOfPartials.keySet().iterator(); while (mapOfPartialsIter.hasNext()) { int minBioStart = Integer.MAX_VALUE; int maxBioEnd = -1; int minChrStart = Integer.MAX_VALUE; int maxChrEnd = -1; int newStrand = 0; Integer newStartPhase = null; Integer newEndPhase = null; BioEntity newLocationObject = null; BioEntity bioEntity = (BioEntity) mapOfPartialsIter.next(); //org.intermine.web.LogMe.log("i", "processPartials bioEntity: " + bioEntity); List partialLocList = (List) mapOfPartials.get(bioEntity); //org.intermine.web.LogMe.log("i", "processPartials list: " + partialLocList.size()); Iterator partialLocListIter = partialLocList.iterator(); while (partialLocListIter.hasNext()) { Object nextObject = partialLocListIter.next(); //org.intermine.web.LogMe.log("i", "nextObject: " + nextObject); PartialLocation pl = (PartialLocation) nextObject; //org.intermine.web.LogMe.log("i", "pl: " + pl); // createChromosomeLocation() doesn't set subjectStart or subjectEnd yet // if (pl.getSubjectStart().intValue() < minBioStart) { // minBioStart = pl.getSubjectStart().intValue(); // org.intermine.web.LogMe.log("i", "setting minBioStart " // + "to " + minBioStart); // } // if (pl.getSubjectEnd().intValue() > maxBioEnd) { // maxBioEnd = pl.getSubjectEnd().intValue(); // org.intermine.web.LogMe.log("i", "setting maxBioEnd " // + "to " + maxBioEnd); // } if (pl.getStart().intValue() < minChrStart) { minChrStart = pl.getStart().intValue(); //org.intermine.web.LogMe.log("i", "setting minChrStart to " + minChrStart); // use the start phase of the first Location in the new Location newStartPhase = pl.getPhase(); } if (pl.getEnd().intValue() > maxChrEnd) { maxChrEnd = pl.getEnd().intValue(); //org.intermine.web.LogMe.log("i", "setting maxChrEnd to " + maxChrEnd); // use the end phase of the last Location in the new Location newEndPhase = pl.getEndPhase(); } if (newStrand == 0) { newStrand = pl.getStrand().intValue(); } else { if (newStrand != pl.getStrand().intValue()) { throw new RuntimeException("BioEntity (" + bioEntity + ") has two " + "Locations " + "with inconsistent strands"); } } if (newLocationObject == null) { newLocationObject = pl.getObject(); } else { if (!newLocationObject.equals(pl.getObject())) { throw new RuntimeException("BioEntity (" + bioEntity + ") is located " + "on two different BioEntities " + pl.getObject().getId() + " and " + newLocationObject.getId()); } } } // should check that maxChrEnd - minChrStart = maxBioEnd - minBioStart once // createChromosomeLocation() is fixed Location newLocation = (Location) DynamicUtil.createObject(Collections.singleton(Location.class)); newLocation.setStart(new Integer(minChrStart)); newLocation.setEnd(new Integer(maxChrEnd)); newLocation.setStartIsPartial(Boolean.FALSE); newLocation.setEndIsPartial(Boolean.FALSE); newLocation.setStrand(new Integer(newStrand)); newLocation.setPhase(newStartPhase); newLocation.setEndPhase(newEndPhase); newLocation.setSubject(bioEntity); newLocation.setObject(newLocationObject); osw.store(newLocation); //org.intermine.web.LogMe.log("i", "created: " + newLocation); } }
|
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/6b768e25aec7336fc03e51a0cd5096e996370c1a/CalculateLocations.java/buggy/flymine/model/genomic/src/java/org/flymine/postprocess/CalculateLocations.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
2567,
9447,
87,
300,
852,
951,
9447,
87,
30,
315,
397,
852,
951,
9447,
87,
1769,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
2567,
9447,
87,
300,
852,
951,
9447,
87,
30,
315,
397,
852,
951,
9447,
87,
1769,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
2567,
9447,
87,
300,
852,
951,
9447,
87,
30,
315,
397,
852,
951,
9447,
87,
1769,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
2567,
9447,
87,
300,
852,
951,
9447,
87,
30,
315,
397,
852,
951,
9447,
87,
1769,
3238,
3341,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
2567,
9447,
87,
300,
852,
951,
9447,
87,
30,
315,
397,
852,
951,
9447,
87,
1769,
918,
3341,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
2567,
9447,
87,
300,
852,
951,
9447,
87,
30,
315,
397,
852,
951,
9447,
87,
1769,
1207,
9447,
87,
12,
863,
3341,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
2567,
9447,
87,
300,
852,
951,
9447,
87,
30,
315,
397,
852,
951,
9447,
87,
1769,
852,
951,
9447,
87,
13,
3341,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
2567,
9447,
87,
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,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
2567,
9447,
87,
300,
852,
951,
9447,
87,
30,
315,
397,
852,
951,
9447,
87,
1769,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
2567,
9447,
87,
300,
852,
951,
9447,
87,
30,
315,
397,
852,
951,
9447,
87,
1769,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
2567,
9447,
87,
300,
852,
951,
9447,
87,
30,
315,
397,
852,
951,
9447,
87,
1769,
2358,
18,
2761,
3081,
18,
4875,
18,
1343,
4667,
18,
1330,
2932,
77,
3113,
315,
2567,
9447,
87,
300,
852,
951,
9447,
87,
30,
315,
397,
2
] |
|
switch (id) { case ConstructorId_fromCharCode: return "fromCharCode";
|
if (id == Id_length) { return "length"; } if (prototypeFlag) { switch (id) { case ConstructorId_fromCharCode: return "fromCharCode";
|
protected String getIdName(int id) { switch (id) { case ConstructorId_fromCharCode: return "fromCharCode"; case Id_constructor: return "constructor"; case Id_toString: return "toString"; case Id_valueOf: return "valueOf"; case Id_charAt: return "charAt"; case Id_charCodeAt: return "charCodeAt"; case Id_indexOf: return "indexOf"; case Id_lastIndexOf: return "lastIndexOf"; case Id_split: return "split"; case Id_substring: return "substring"; case Id_toLowerCase: return "toLowerCase"; case Id_toUpperCase: return "toUpperCase"; case Id_substr: return "substr"; case Id_concat: return "concat"; case Id_slice: return "slice"; case Id_bold: return "bold"; case Id_italics: return "italics"; case Id_fixed: return "fixed"; case Id_strike: return "strike"; case Id_small: return "small"; case Id_big: return "big"; case Id_blink: return "blink"; case Id_sup: return "sup"; case Id_sub: return "sub"; case Id_fontsize: return "fontsize"; case Id_fontcolor: return "fontcolor"; case Id_link: return "link"; case Id_anchor: return "anchor"; case Id_equals: return "equals"; case Id_equalsIgnoreCase: return "equalsIgnoreCase"; case Id_match: return "match"; case Id_search: return "search"; case Id_replace: return "replace"; case Id_length: return "length"; } return null; }
|
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/35caf7c2bb93872680ae16e34746d94fe1e533e3/NativeString.java/clean/js/rhino/src/org/mozilla/javascript/NativeString.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
2634,
461,
12,
474,
612,
13,
288,
3639,
1620,
261,
350,
13,
288,
3639,
648,
11417,
548,
67,
2080,
20535,
30,
282,
327,
315,
2080,
20535,
14432,
3639,
648,
3124,
67,
12316,
30,
9079,
327,
315,
12316,
14432,
3639,
648,
3124,
67,
10492,
30,
5375,
327,
315,
10492,
14432,
3639,
648,
3124,
67,
1132,
951,
30,
10402,
327,
315,
1132,
951,
14432,
3639,
648,
3124,
67,
3001,
861,
30,
10792,
327,
315,
3001,
861,
14432,
3639,
648,
3124,
67,
3001,
1085,
861,
30,
7734,
327,
315,
3001,
1085,
861,
14432,
3639,
648,
3124,
67,
31806,
30,
10402,
327,
315,
31806,
14432,
3639,
648,
3124,
67,
2722,
31985,
30,
9079,
327,
315,
2722,
31985,
14432,
3639,
648,
3124,
67,
4939,
30,
5397,
327,
315,
4939,
14432,
3639,
648,
3124,
67,
28023,
30,
1171,
327,
315,
28023,
14432,
3639,
648,
3124,
67,
869,
5630,
30,
9079,
327,
315,
869,
5630,
14432,
3639,
648,
3124,
67,
869,
8915,
30,
9079,
327,
315,
869,
8915,
14432,
3639,
648,
3124,
67,
10706,
30,
10792,
327,
315,
10706,
14432,
3639,
648,
3124,
67,
16426,
30,
10792,
327,
315,
16426,
14432,
3639,
648,
3124,
67,
6665,
30,
5397,
327,
315,
6665,
14432,
3639,
648,
3124,
67,
16390,
30,
8227,
327,
315,
16390,
14432,
3639,
648,
3124,
67,
7053,
2102,
30,
10402,
327,
315,
7053,
2102,
14432,
3639,
648,
3124,
67,
12429,
30,
5397,
327,
315,
12429,
14432,
3639,
648,
3124,
67,
701,
2547,
30,
10792,
327,
315,
701,
2547,
14432,
3639,
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,
514,
2634,
461,
12,
474,
612,
13,
288,
3639,
1620,
261,
350,
13,
288,
3639,
648,
11417,
548,
67,
2080,
20535,
30,
282,
327,
315,
2080,
20535,
14432,
3639,
648,
3124,
67,
12316,
30,
9079,
327,
315,
12316,
14432,
3639,
648,
3124,
67,
10492,
30,
5375,
327,
315,
10492,
14432,
3639,
648,
3124,
67,
1132,
951,
30,
10402,
327,
315,
1132,
951,
14432,
3639,
648,
3124,
67,
3001,
861,
30,
10792,
327,
315,
3001,
861,
14432,
3639,
648,
3124,
67,
3001,
1085,
861,
30,
7734,
327,
315,
3001,
1085,
861,
14432,
3639,
648,
3124,
67,
31806,
30,
10402,
327,
315,
31806,
14432,
3639,
648,
3124,
67,
2722,
31985,
30,
9079,
327,
315,
2722,
31985,
14432,
3639,
648,
2
] |
PropertyHandle propHandle = getPropertyHandle( SimpleDataSet.PARAM_BINDINGS_PROP );
|
PropertyHandle propHandle = getPropertyHandle( ISimpleDataSetModel.PARAM_BINDINGS_PROP );
|
public Iterator paramBindingsIterator( ) { PropertyHandle propHandle = getPropertyHandle( SimpleDataSet.PARAM_BINDINGS_PROP ); assert propHandle != null; return propHandle.iterator( ); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/d802c33711e0d111551ae23575895cd060f085b6/DataSetHandle.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DataSetHandle.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4498,
579,
10497,
3198,
12,
262,
202,
95,
202,
202,
1396,
3259,
2270,
3259,
273,
3911,
3259,
12,
4477,
13676,
18,
8388,
67,
2739,
55,
67,
15811,
11272,
202,
202,
11231,
2270,
3259,
480,
446,
31,
202,
202,
2463,
2270,
3259,
18,
9838,
12,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4498,
579,
10497,
3198,
12,
262,
202,
95,
202,
202,
1396,
3259,
2270,
3259,
273,
3911,
3259,
12,
4477,
13676,
18,
8388,
67,
2739,
55,
67,
15811,
11272,
202,
202,
11231,
2270,
3259,
480,
446,
31,
202,
202,
2463,
2270,
3259,
18,
9838,
12,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 void firePropertyChange(String propertyName, Object oldValue, Object newValue) { if (oldValue == null || newValue == null || !oldValue.equals(newValue)) { multicast(new PropertyChangeEvent(source, propertyName, oldValue, newValue));
|
public void firePropertyChange(String propertyName, Object oldValue, Object newValue) { if (oldValue == null || newValue == null || !oldValue.equals(newValue)) { multicast(new PropertyChangeEvent(source, propertyName, oldValue, newValue)); }
|
public void firePropertyChange(String propertyName, Object oldValue, Object newValue) { if (oldValue == null || newValue == null || !oldValue.equals(newValue)) { multicast(new PropertyChangeEvent(source, propertyName, oldValue, newValue)); } }
|
4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/a6a25004fd5e24a1bc5f053aa539d01dc2553fbf/PropertyChangeMulticaster.java/buggy/src/java/org/logicalcobwebs/concurrent/PropertyChangeMulticaster.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
4452,
1396,
3043,
12,
780,
5470,
16,
21394,
1033,
11144,
16,
1033,
6129,
13,
288,
4202,
309,
261,
1673,
620,
422,
446,
747,
6129,
422,
446,
747,
401,
1673,
620,
18,
14963,
12,
2704,
620,
3719,
288,
1377,
24470,
12,
2704,
4276,
20930,
12,
3168,
16,
4766,
3639,
5470,
16,
29159,
11144,
16,
29159,
6129,
10019,
565,
289,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
918,
4452,
1396,
3043,
12,
780,
5470,
16,
21394,
1033,
11144,
16,
1033,
6129,
13,
288,
4202,
309,
261,
1673,
620,
422,
446,
747,
6129,
422,
446,
747,
401,
1673,
620,
18,
14963,
12,
2704,
620,
3719,
288,
1377,
24470,
12,
2704,
4276,
20930,
12,
3168,
16,
4766,
3639,
5470,
16,
29159,
11144,
16,
29159,
6129,
10019,
565,
289,
1377,
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
] |
Model model = new Model();
|
Model model = new Model(context);
|
public void readImpl(org.orbeon.oxf.pipeline.api.PipelineContext context, ContentHandler contentHandler) { try { // Extract info from model final Model model = (Model) readCacheInputAsObject(context, getInputByName(INPUT_MODEL), new CacheableInputReader(){ public Object read(PipelineContext context, ProcessorInput input) { Model model = new Model(); readInputAsSAX(context, input, model.getContentHandlerForModel()); return model; } }); // Read instance data and annotate final Document instance = DocumentHelper.createDocument (readCacheInputAsDOM4J(context, INPUT_INSTANCE).getRootElement().createCopy()); XFormsUtils.setInitialDecoration(instance.getDocument()); model.applyInputOutputBinds(instance); // Output the instance to the specified content handler LocationSAXWriter saxw = new LocationSAXWriter(); saxw.setContentHandler(contentHandler); saxw.write(instance); } catch (SAXException e) { throw new OXFException(e); } }
|
52783 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52783/5996bad8ae7a5e6bde143d457470ccb6e7d8a675/XFormsAnnotate.java/clean/src/java/org/orbeon/oxf/processor/xforms/validation/XFormsAnnotate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
855,
2828,
12,
3341,
18,
280,
2196,
265,
18,
2409,
74,
18,
14511,
18,
2425,
18,
8798,
1042,
819,
16,
3697,
1503,
913,
1503,
13,
288,
7734,
775,
288,
10792,
368,
8152,
1123,
628,
938,
10792,
727,
3164,
938,
273,
261,
1488,
13,
855,
1649,
1210,
1463,
921,
12,
2472,
16,
225,
12353,
5911,
12,
15934,
67,
17391,
3631,
394,
4379,
429,
1210,
2514,
1435,
95,
13491,
1071,
1033,
855,
12,
8798,
1042,
819,
16,
15476,
1210,
810,
13,
288,
18701,
3164,
938,
273,
394,
3164,
12,
2472,
1769,
18701,
855,
1210,
1463,
55,
2501,
12,
2472,
16,
810,
16,
938,
18,
588,
1350,
1503,
1290,
1488,
10663,
18701,
327,
938,
31,
13491,
289,
10792,
15549,
10792,
368,
2720,
791,
501,
471,
13795,
10792,
727,
4319,
791,
273,
4319,
2276,
18,
2640,
2519,
18701,
261,
896,
1649,
1210,
1463,
8168,
24,
46,
12,
2472,
16,
12943,
67,
13341,
2934,
588,
2375,
1046,
7675,
2640,
2951,
10663,
10792,
1139,
18529,
1989,
18,
542,
4435,
7859,
367,
12,
1336,
18,
588,
2519,
10663,
10792,
938,
18,
9010,
1210,
1447,
17856,
12,
1336,
1769,
10792,
368,
3633,
326,
791,
358,
326,
1269,
913,
1838,
10792,
7050,
55,
2501,
2289,
20319,
91,
273,
394,
7050,
55,
2501,
2289,
5621,
10792,
20319,
91,
18,
542,
1350,
1503,
12,
1745,
1503,
1769,
10792,
20319,
91,
18,
2626,
12,
1336,
1769,
7734,
289,
1044,
261,
55,
2501,
503,
425,
13,
288,
10792,
604,
394,
531,
60,
42,
503,
12,
73,
1769,
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,
2398,
1071,
918,
855,
2828,
12,
3341,
18,
280,
2196,
265,
18,
2409,
74,
18,
14511,
18,
2425,
18,
8798,
1042,
819,
16,
3697,
1503,
913,
1503,
13,
288,
7734,
775,
288,
10792,
368,
8152,
1123,
628,
938,
10792,
727,
3164,
938,
273,
261,
1488,
13,
855,
1649,
1210,
1463,
921,
12,
2472,
16,
225,
12353,
5911,
12,
15934,
67,
17391,
3631,
394,
4379,
429,
1210,
2514,
1435,
95,
13491,
1071,
1033,
855,
12,
8798,
1042,
819,
16,
15476,
1210,
810,
13,
288,
18701,
3164,
938,
273,
394,
3164,
12,
2472,
1769,
18701,
855,
1210,
1463,
55,
2501,
12,
2472,
16,
810,
16,
938,
18,
588,
1350,
1503,
1290,
1488,
10663,
18701,
327,
938,
31,
13491,
289,
10792,
15549,
2
] |
return "[addr=" + address.toString() + ",port=" + Integer.toString(port) + ",localport=" + Integer.toString(localport) + "]";
|
return "[addr=" + address.toString() + ",port=" + Integer.toString(port) + ",localport=" + Integer.toString(localport) + "]";
|
public String toString () { return "[addr=" + address.toString() + ",port=" + Integer.toString(port) + ",localport=" + Integer.toString(localport) + "]"; }
|
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/84d120cc49d42a79bfbc68fe36429395bdef90fd/SocketImpl.java/buggy/libjava/java/net/SocketImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1762,
1832,
225,
288,
565,
327,
5158,
4793,
1546,
397,
1758,
18,
10492,
1435,
397,
3104,
655,
1546,
397,
2144,
18,
10492,
12,
655,
13,
397,
1377,
3104,
3729,
655,
1546,
397,
2144,
18,
10492,
12,
3729,
655,
13,
397,
9870,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1762,
1832,
225,
288,
565,
327,
5158,
4793,
1546,
397,
1758,
18,
10492,
1435,
397,
3104,
655,
1546,
397,
2144,
18,
10492,
12,
655,
13,
397,
1377,
3104,
3729,
655,
1546,
397,
2144,
18,
10492,
12,
3729,
655,
13,
397,
9870,
31,
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
] |
return fsInputFile;
|
return makeAbsolute(fsInputFile);
|
public File startLocalInput(File fsInputFile, File tmpLocalFile) throws IOException { return fsInputFile; }
|
50331 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50331/8968cd30844c308747b23d03b2d7859f4c68210b/LocalFileSystem.java/buggy/src/java/org/apache/hadoop/fs/LocalFileSystem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1387,
787,
2042,
1210,
12,
812,
2662,
1210,
812,
16,
1387,
1853,
2042,
812,
13,
1216,
1860,
288,
3639,
327,
1221,
10368,
12,
2556,
1210,
812,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
1387,
787,
2042,
1210,
12,
812,
2662,
1210,
812,
16,
1387,
1853,
2042,
812,
13,
1216,
1860,
288,
3639,
327,
1221,
10368,
12,
2556,
1210,
812,
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
] |
} catch (IllegalAccessException e) { e.printStackTrace(); throw new RuntimeException("Cannot adapt " + value + " (" + propertyName + ") :" + e.getMessage()); } catch (InstantiationException e) { e.printStackTrace(); throw new RuntimeException("Cannot adapt " + value + " (" + propertyName + ") :" + e.getMessage()); } catch (NoSuchMethodException e) { e.printStackTrace(); throw new RuntimeException("Adapter Class " + adapterClass.getName() + " must define the right constructor. :" + e.getMessage()); } catch (InvocationTargetException e) { e.printStackTrace(); throw new RuntimeException("Cannot adapt " + value + " (" + propertyName + ") :" + e.getMessage());
|
} catch (Exception e) { LOG.debug("Cannot adapt ", e); throw new RuntimeException("Cannot adapt " + parent + " (" + propertyName + ") ", e);
|
public AdapterNode adapt(DOMAdapter rootAdapter, Node parent, String propertyName, Object value) { Class klass = value.getClass(); Class adapterClass = findAdapterForClass(klass); try { if (adapterClass == null) { if (klass.isArray()) { adapterClass = ArrayAdapter.class; } else if (String.class.isAssignableFrom(klass) || klass.isPrimitive() || Number.class.isAssignableFrom(klass)) { adapterClass = ToStringAdapter.class; } else if (Collection.class.isAssignableFrom(klass)) { adapterClass = CollectionAdapter.class; } else { adapterClass = BeanAdapter.class; } } Constructor c = adapterClass.getConstructor(new Class[]{ DOMAdapter.class, AdapterNode.class, String.class, Object.class }); AdapterNode adapter = ((AdapterNode) c.newInstance(new Object[]{ this, parent, propertyName, value })); return adapter; } catch (IllegalAccessException e) { e.printStackTrace(); throw new RuntimeException("Cannot adapt " + value + " (" + propertyName + ") :" + e.getMessage()); } catch (InstantiationException e) { e.printStackTrace(); throw new RuntimeException("Cannot adapt " + value + " (" + propertyName + ") :" + e.getMessage()); } catch (NoSuchMethodException e) { e.printStackTrace(); throw new RuntimeException("Adapter Class " + adapterClass.getName() + " must define the right constructor. :" + e.getMessage()); } catch (InvocationTargetException e) { e.printStackTrace(); throw new RuntimeException("Cannot adapt " + value + " (" + propertyName + ") :" + e.getMessage()); } }
|
15560 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15560/484642cbad8aa70c8ba859db24dfa06e8345346e/DOMAdapter.java/buggy/src/java/com/opensymphony/webwork/views/xslt/DOMAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
14238,
907,
5855,
12,
8168,
4216,
1365,
4216,
16,
2029,
982,
16,
514,
5470,
16,
1033,
460,
13,
288,
3639,
1659,
7352,
273,
460,
18,
588,
797,
5621,
3639,
1659,
4516,
797,
273,
1104,
4216,
22581,
12,
22626,
1769,
3639,
775,
288,
5411,
309,
261,
10204,
797,
422,
446,
13,
288,
7734,
309,
261,
22626,
18,
291,
1076,
10756,
288,
10792,
4516,
797,
273,
1510,
4216,
18,
1106,
31,
7734,
289,
469,
7734,
309,
261,
780,
18,
1106,
18,
291,
7961,
1265,
12,
22626,
13,
747,
7352,
18,
291,
9840,
1435,
747,
3588,
18,
1106,
18,
291,
7961,
1265,
12,
22626,
3719,
7734,
288,
10792,
4516,
797,
273,
21901,
4216,
18,
1106,
31,
7734,
289,
469,
309,
261,
2532,
18,
1106,
18,
291,
7961,
1265,
12,
22626,
3719,
288,
10792,
4516,
797,
273,
2200,
4216,
18,
1106,
31,
7734,
289,
469,
288,
10792,
4516,
797,
273,
7704,
4216,
18,
1106,
31,
7734,
289,
5411,
289,
5411,
11417,
276,
273,
4516,
797,
18,
588,
6293,
12,
2704,
1659,
63,
7073,
10792,
4703,
4216,
18,
1106,
16,
14238,
907,
18,
1106,
16,
514,
18,
1106,
16,
10792,
1033,
18,
1106,
5411,
15549,
5411,
14238,
907,
4516,
273,
14015,
4216,
907,
13,
276,
18,
2704,
1442,
12,
2704,
1033,
63,
7073,
10792,
333,
16,
982,
16,
5470,
16,
460,
5411,
289,
10019,
5411,
327,
4516,
31,
3639,
289,
1044,
261,
12195,
9773,
425,
13,
288,
5411,
425,
18,
1188,
6332,
5621,
5411,
604,
394,
3235,
2932,
4515,
5855,
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,
14238,
907,
5855,
12,
8168,
4216,
1365,
4216,
16,
2029,
982,
16,
514,
5470,
16,
1033,
460,
13,
288,
3639,
1659,
7352,
273,
460,
18,
588,
797,
5621,
3639,
1659,
4516,
797,
273,
1104,
4216,
22581,
12,
22626,
1769,
3639,
775,
288,
5411,
309,
261,
10204,
797,
422,
446,
13,
288,
7734,
309,
261,
22626,
18,
291,
1076,
10756,
288,
10792,
4516,
797,
273,
1510,
4216,
18,
1106,
31,
7734,
289,
469,
7734,
309,
261,
780,
18,
1106,
18,
291,
7961,
1265,
12,
22626,
13,
747,
7352,
18,
291,
9840,
1435,
747,
3588,
18,
1106,
18,
291,
7961,
1265,
12,
22626,
3719,
7734,
288,
10792,
4516,
797,
273,
21901,
4216,
18,
1106,
31,
7734,
289,
469,
309,
2
] |
e.getPresentation().setEnabled(createNodes(dataContext, e.getPlace().equals(ActionPlaces.J2EE_VIEW_POPUP) || e.getPlace().equals(ActionPlaces.STRUCTURE_VIEW_POPUP) || e.getPlace().equals(ActionPlaces.PROJECT_VIEW_POPUP)) != null);
|
e.getPresentation().setEnabled(canCreateNodes(dataContext, e));
|
public void update(AnActionEvent e) { final DataContext dataContext = e.getDataContext(); Project project = (Project)dataContext.getData(DataConstants.PROJECT); if (project == null) { e.getPresentation().setEnabled(false); } else { e.getPresentation().setEnabled(createNodes(dataContext, e.getPlace().equals(ActionPlaces.J2EE_VIEW_POPUP) || e.getPlace().equals(ActionPlaces.STRUCTURE_VIEW_POPUP) || e.getPlace().equals(ActionPlaces.PROJECT_VIEW_POPUP)) != null); } }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/41f06a540dec1e712628e7f55cbdb51cc65f09d4/AddToFavoritesAction.java/clean/source/com/intellij/ide/favoritesTreeView/AddToFavoritesAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1089,
12,
979,
1803,
1133,
425,
13,
288,
565,
727,
1910,
1042,
501,
1042,
273,
425,
18,
588,
751,
1042,
5621,
565,
5420,
1984,
273,
261,
4109,
13,
892,
1042,
18,
588,
751,
12,
751,
2918,
18,
17147,
1769,
565,
309,
261,
4406,
422,
446,
13,
288,
1377,
425,
18,
588,
6351,
367,
7675,
542,
1526,
12,
5743,
1769,
565,
289,
565,
469,
288,
1377,
425,
18,
588,
6351,
367,
7675,
542,
1526,
12,
2640,
3205,
12,
892,
1042,
16,
425,
18,
588,
6029,
7675,
14963,
12,
1803,
24791,
18,
46,
22,
9383,
67,
12145,
67,
30374,
3079,
13,
747,
4766,
17311,
425,
18,
588,
6029,
7675,
14963,
12,
1803,
24791,
18,
13915,
4830,
67,
12145,
67,
30374,
3079,
13,
747,
4766,
17311,
425,
18,
588,
6029,
7675,
14963,
12,
1803,
24791,
18,
17147,
67,
12145,
67,
30374,
3079,
3719,
480,
446,
1769,
565,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1089,
12,
979,
1803,
1133,
425,
13,
288,
565,
727,
1910,
1042,
501,
1042,
273,
425,
18,
588,
751,
1042,
5621,
565,
5420,
1984,
273,
261,
4109,
13,
892,
1042,
18,
588,
751,
12,
751,
2918,
18,
17147,
1769,
565,
309,
261,
4406,
422,
446,
13,
288,
1377,
425,
18,
588,
6351,
367,
7675,
542,
1526,
12,
5743,
1769,
565,
289,
565,
469,
288,
1377,
425,
18,
588,
6351,
367,
7675,
542,
1526,
12,
2640,
3205,
12,
892,
1042,
16,
425,
18,
588,
6029,
7675,
14963,
12,
1803,
24791,
18,
46,
22,
9383,
67,
12145,
67,
30374,
3079,
13,
747,
4766,
17311,
425,
18,
588,
6029,
7675,
14963,
12,
1803,
24791,
18,
13915,
4830,
67,
12145,
2
] |
return false;
|
return false;
|
public boolean isMember(EPerson e) { // this is slow, should have a fast static db-check version Iterator i = epeople.iterator(); while(i.hasNext()) { EPerson e2 = (EPerson)i.next(); if(e2.getID() == e.getID()) return true; } // if we made it through the loop, must be false return false; }
|
51882 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51882/f256de673891036e35faf527e33be214c272b2ff/Group.java/buggy/dspace/src/org/dspace/eperson/Group.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
4419,
12,
41,
8346,
425,
13,
565,
288,
3639,
368,
333,
353,
11816,
16,
1410,
1240,
279,
4797,
760,
1319,
17,
1893,
1177,
3639,
4498,
277,
273,
425,
28035,
18,
9838,
5621,
3639,
1323,
12,
77,
18,
5332,
2134,
10756,
3639,
288,
5411,
512,
8346,
425,
22,
273,
261,
41,
8346,
13,
77,
18,
4285,
5621,
13491,
309,
12,
73,
22,
18,
588,
734,
1435,
422,
425,
18,
588,
734,
10756,
7734,
327,
638,
31,
3639,
289,
3639,
368,
309,
732,
7165,
518,
3059,
326,
2798,
16,
1297,
506,
629,
3639,
327,
629,
31,
377,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
4419,
12,
41,
8346,
425,
13,
565,
288,
3639,
368,
333,
353,
11816,
16,
1410,
1240,
279,
4797,
760,
1319,
17,
1893,
1177,
3639,
4498,
277,
273,
425,
28035,
18,
9838,
5621,
3639,
1323,
12,
77,
18,
5332,
2134,
10756,
3639,
288,
5411,
512,
8346,
425,
22,
273,
261,
41,
8346,
13,
77,
18,
4285,
5621,
13491,
309,
12,
73,
22,
18,
588,
734,
1435,
422,
425,
18,
588,
734,
10756,
7734,
327,
638,
31,
3639,
289,
3639,
368,
309,
732,
7165,
518,
3059,
326,
2798,
16,
1297,
506,
629,
3639,
327,
629,
31,
377,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String htmlStr = imcref.getAdminTemplate( "no_demotemplate.html", user, null );
|
String htmlStr = services.getAdminTemplate( "no_demotemplate.html", user, null );
|
public void doPost( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { ImcmsServices imcref = Imcms.getServices(); UserDomainObject user = Utility.getLoggedOnUser( req ); DocumentMapper documentMapper = imcref.getDocumentMapper(); int documentId = Integer.parseInt( req.getParameter( "meta_id" ) ); TextDocumentDomainObject textDocument = (TextDocumentDomainObject)documentMapper.getDocument( documentId ); TemplateMapper templateMapper = imcref.getTemplateMapper(); TemplateDomainObject requestedTemplate = getRequestedTemplate( req, templateMapper ); TemplateGroupDomainObject requestedTemplateGroup = getRequestedTemplateGroup( req, templateMapper ); TextDocumentPermissionSetDomainObject textDocumentPermissionSet = (TextDocumentPermissionSetDomainObject)user.getPermissionSetFor( textDocument ); TemplateGroupDomainObject[] allowedTemplateGroups = textDocumentPermissionSet.getAllowedTemplateGroups(); boolean requestedTemplateGroupIsAllowed = null == requestedTemplateGroup; boolean requestedTemplateIsAllowed = null == requestedTemplate; for ( int i = 0; i < allowedTemplateGroups.length; i++ ) { TemplateGroupDomainObject allowedTemplateGroup = allowedTemplateGroups[i]; if ( allowedTemplateGroup.equals( requestedTemplateGroup ) ) { requestedTemplateGroupIsAllowed = true; } if ( templateMapper.templateGroupContainsTemplate( allowedTemplateGroup, requestedTemplate ) ) { requestedTemplateIsAllowed = true; } } // Check if user has write rights if ( !imcref.checkDocAdminRights( documentId, user, imcode.server.ImcmsConstants.PERM_EDIT_TEXT_DOCUMENT_TEMPLATE ) || !requestedTemplateIsAllowed || !requestedTemplateGroupIsAllowed ) { // Checking to see if user may edit this Utility.setDefaultHtmlContentType( res ); String output = AdminDoc.adminDoc( documentId, user, req, res ); if ( output != null ) { Writer out = res.getWriter(); out.write( output ); } return; } if ( req.getParameter( "update" ) != null ) { Writer out = res.getWriter(); Utility.setDefaultHtmlContentType( res ); user.put( "flags", new Integer( 0 ) ); if ( requestedTemplate == null ) { List vec = new ArrayList(); vec.add( "#meta_id#" ); vec.add( String.valueOf( documentId ) ); String htmlStr = imcref.getAdminTemplate( "inPage_admin_no_template.html", user, vec ); out.write( htmlStr ); return; } // save textdoc textDocument.setTemplate( requestedTemplate ); if ( null != requestedTemplateGroup ) { textDocument.setTemplateGroupId( requestedTemplateGroup.getId() ); } try { documentMapper.saveDocument( textDocument, user ); imcref.updateMainLog( "Text docs [" + textDocument.getId() + "] updated by user: [" + user.getFullName() + "]" ); } catch ( MaxCategoryDomainObjectsOfTypeExceededException e ) { throw new RuntimeException( e ); } // return page String output = AdminDoc.adminDoc( documentId, user, req, res ); if ( output != null ) { out.write( output ); } return; } else if ( req.getParameter( "preview" ) != null ) { if ( requestedTemplate == null ) { // If the user didn't select a template List vec = new ArrayList(); vec.add( "#meta_id#" ); vec.add( String.valueOf( documentId ) ); Utility.setDefaultHtmlContentType( res ); String htmlStr = imcref.getAdminTemplate( "inPage_admin_no_template.html", user, vec ); Writer out = res.getWriter(); out.write( htmlStr ); return; } Object[] temp = imcref.getDemoTemplate( requestedTemplate.getId() ); if ( temp != null ) { String demoTemplateName = requestedTemplate.getId() + "." + temp[0]; // Set content-type depending on type of demo-template. res.setContentType( getServletContext().getMimeType( demoTemplateName ) ); byte[] bytes = (byte[])temp[1]; ServletOutputStream out = res.getOutputStream(); res.setContentLength( bytes.length ); out.write( bytes ); return; } else { Utility.setDefaultHtmlContentType( res ); String htmlStr = imcref.getAdminTemplate( "no_demotemplate.html", user, null ); Writer out = res.getWriter(); out.write( htmlStr ); return; } } else if ( req.getParameter( "change_group" ) != null ) { Utility.setDefaultHtmlContentType( res ); Writer out = res.getWriter(); user.put( "flags", new Integer( imcode.server.ImcmsConstants.PERM_EDIT_TEXT_DOCUMENT_TEMPLATE ) ); if ( null != requestedTemplateGroup ) { user.setTemplateGroup( requestedTemplateGroup ); } String output = AdminDoc.adminDoc( documentId, user, req, res ); if ( output != null ) { out.write( output ); } return; } }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/1839527f657da9c703fa883b807364266c2da5a4/SaveInPage.java/buggy/server/src/com/imcode/imcms/servlet/admin/SaveInPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
3639,
2221,
6851,
5676,
709,
71,
1734,
273,
2221,
6851,
18,
588,
5676,
5621,
3639,
2177,
3748,
921,
729,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
1111,
11272,
3639,
4319,
4597,
1668,
4597,
273,
709,
71,
1734,
18,
588,
2519,
4597,
5621,
3639,
509,
28573,
273,
2144,
18,
2670,
1702,
12,
1111,
18,
588,
1662,
12,
315,
3901,
67,
350,
6,
262,
11272,
3639,
3867,
2519,
3748,
921,
977,
2519,
273,
261,
1528,
2519,
3748,
921,
13,
5457,
4597,
18,
588,
2519,
12,
28573,
11272,
3639,
5035,
4597,
1542,
4597,
273,
709,
71,
1734,
18,
588,
2283,
4597,
5621,
3639,
5035,
3748,
921,
3764,
2283,
273,
4328,
329,
2283,
12,
1111,
16,
1542,
4597,
11272,
3639,
5035,
1114,
3748,
921,
3764,
2283,
1114,
273,
4328,
329,
2283,
1114,
12,
1111,
16,
1542,
4597,
11272,
3639,
3867,
2519,
5041,
694,
3748,
921,
977,
2519,
5041,
694,
273,
261,
1528,
2519,
5041,
694,
3748,
921,
13,
1355,
18,
588,
5041,
694,
1290,
12,
977,
2519,
11272,
3639,
5035,
1114,
3748,
921,
8526,
2935,
2283,
3621,
273,
977,
2519,
5041,
694,
18,
588,
5042,
2283,
3621,
5621,
3639,
1250,
3764,
2283,
1114,
2520,
5042,
273,
446,
422,
3764,
2283,
1114,
31,
3639,
1250,
3764,
2283,
2520,
5042,
273,
446,
422,
3764,
2283,
31,
3639,
364,
261,
509,
277,
273,
374,
31,
277,
411,
2935,
2283,
3621,
18,
2469,
31,
277,
9904,
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,
377,
1071,
918,
741,
3349,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
3639,
2221,
6851,
5676,
709,
71,
1734,
273,
2221,
6851,
18,
588,
5676,
5621,
3639,
2177,
3748,
921,
729,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
1111,
11272,
3639,
4319,
4597,
1668,
4597,
273,
709,
71,
1734,
18,
588,
2519,
4597,
5621,
3639,
509,
28573,
273,
2144,
18,
2670,
1702,
12,
1111,
18,
588,
1662,
12,
315,
3901,
67,
350,
6,
262,
11272,
3639,
3867,
2519,
3748,
921,
977,
2519,
273,
261,
1528,
2519,
3748,
921,
13,
5457,
4597,
18,
588,
2519,
12,
28573,
11272,
3639,
5035,
4597,
1542,
4597,
273,
709,
71,
1734,
18,
588,
2283,
4597,
5621,
3639,
5035,
2
] |
completedUploadInfoboxContent.addChild(createRequestTable(pageMaker, completedUpload, new int[] { LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, LIST_PERSISTENCE, LIST_KEY }));
|
completedUploadInfoboxContent.addChild(createRequestTable(pageMaker, ctx, completedUpload, new int[] { LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, LIST_PERSISTENCE, LIST_KEY }));
|
public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { // We ensure that we have a FCP server running if(!fcp.enabled){ this.writeReply(ctx, 400, "text/plain", "FCP server is missing", "You need to enable the FCP server to access this page"); return; } HTTPRequest request = new HTTPRequest(uri, null, ctx); String requestPath = request.getPath().substring("/queue/".length()); if (requestPath.length() > 0) { /* okay, there is something in the path, check it. */ try { FreenetURI key = new FreenetURI(requestPath); /* locate request */ ClientRequest[] clientRequests = fcp.getGlobalRequests(); for (int requestIndex = 0, requestCount = clientRequests.length; requestIndex < requestCount; requestIndex++) { ClientRequest clientRequest = clientRequests[requestIndex]; if (clientRequest.hasFinished() && (clientRequest instanceof ClientGet)) { ClientGet clientGet = (ClientGet) clientRequest; if (clientGet.getURI().toString(false).equals(key.toString(false))) { Bucket data = clientGet.getBucket(); String mimeType = clientGet.getMIMEType(); String requestedMimeType = request.getParam("type", null); String forceString = request.getParam("force"); FProxyToadlet.handleDownload(ctx, data, ctx.getBucketFactory(), mimeType, requestedMimeType, forceString, request.isParameterSet("forcedownload"), "/queue/", key, "", "/queue/"); return; } } } } catch (MalformedURLException mue1) { } } PageMaker pageMaker = ctx.getPageMaker(); // First, get the queued requests, and separate them into different types. LinkedList completedDownloadToDisk = new LinkedList(); LinkedList completedDownloadToTemp = new LinkedList(); LinkedList completedUpload = new LinkedList(); LinkedList completedDirUpload = new LinkedList(); LinkedList failedDownload = new LinkedList(); LinkedList failedUpload = new LinkedList(); LinkedList failedDirUpload = new LinkedList(); LinkedList uncompletedDownload = new LinkedList(); LinkedList uncompletedUpload = new LinkedList(); LinkedList uncompletedDirUpload = new LinkedList(); ClientRequest[] reqs = fcp.getGlobalRequests(); if(Logger.shouldLog(Logger.MINOR, this)) Logger.minor(this, "Request count: "+reqs.length); if(reqs.length < 1){ HTMLNode pageNode = pageMaker.getPageNode("Global queue of " + core.getMyName()); HTMLNode contentNode = pageMaker.getContentNode(pageNode); /* add alert summary box */ contentNode.addChild(core.alerts.createSummary()); HTMLNode infobox = contentNode.addChild(pageMaker.getInfobox("infobox-information", "Global queue is empty")); HTMLNode infoboxContent = pageMaker.getContentNode(infobox); infoboxContent.addChild("#", "There is no task queued on the global queue at the moment."); contentNode.addChild(createInsertBox(pageMaker)); writeReply(ctx, 200, "text/html", "OK", pageNode.generate()); return; } for(int i=0;i<reqs.length;i++) { ClientRequest req = reqs[i]; if(req instanceof ClientGet) { ClientGet cg = (ClientGet) req; if(cg.hasSucceeded()) { if(cg.isDirect()) completedDownloadToTemp.add(cg); else if(cg.isToDisk()) completedDownloadToDisk.add(cg); else // FIXME Logger.error(this, "Don't know what to do with "+cg); } else if(cg.hasFinished()) { failedDownload.add(cg); } else { uncompletedDownload.add(cg); } } else if(req instanceof ClientPut) { ClientPut cp = (ClientPut) req; if(cp.hasSucceeded()) { completedUpload.add(cp); } else if(cp.hasFinished()) { failedUpload.add(cp); } else { uncompletedUpload.add(cp); } } else if(req instanceof ClientPutDir) { ClientPutDir cp = (ClientPutDir) req; if(cp.hasSucceeded()) { completedDirUpload.add(cp); } else if(cp.hasFinished()) { failedDirUpload.add(cp); } else { uncompletedDirUpload.add(cp); } } } Comparator identifierComparator = new Comparator() { public int compare(Object first, Object second) { ClientRequest firstRequest = (ClientRequest) first; ClientRequest secondRequest = (ClientRequest) second; short firstPrio = firstRequest.getPriority(); short secondPrio = secondRequest.getPriority(); if(firstPrio > secondPrio) return 1; if(secondPrio > firstPrio) return -1; return firstRequest.getIdentifier().compareTo(secondRequest.getIdentifier()); } }; Collections.sort(completedDownloadToDisk, identifierComparator); Collections.sort(completedDownloadToTemp, identifierComparator); Collections.sort(completedUpload, identifierComparator); Collections.sort(completedDirUpload, identifierComparator); Collections.sort(failedDownload, identifierComparator); Collections.sort(failedUpload, identifierComparator); Collections.sort(failedDirUpload, identifierComparator); Collections.sort(uncompletedDownload, identifierComparator); Collections.sort(uncompletedUpload, identifierComparator); Collections.sort(uncompletedDirUpload, identifierComparator); HTMLNode pageNode = pageMaker.getPageNode("(" + (uncompletedDirUpload.size() + uncompletedDownload.size() + uncompletedUpload.size()) + '/' + (failedDirUpload.size() + failedDownload.size() + failedUpload.size()) + '/' + (completedDirUpload.size() + completedDownloadToDisk.size() + completedDownloadToTemp.size() + completedUpload.size()) + ") Queued Requests of " + core.getMyName()); HTMLNode contentNode = pageMaker.getContentNode(pageNode); /* add alert summary box */ contentNode.addChild(core.alerts.createSummary()); /* add file insert box */ contentNode.addChild(createInsertBox(pageMaker)); /* navigation bar */ HTMLNode navigationBar = pageMaker.getInfobox("navbar", "Request Navigation"); HTMLNode navigationContent = pageMaker.getContentNode(navigationBar).addChild("ul"); boolean includeNavigationBar = false; if (!completedDownloadToTemp.isEmpty()) { navigationContent.addChild("li").addChild("a", "href", "#completedDownloadToTemp", "Completed downloads to temp"); includeNavigationBar = true; } if (!completedDownloadToDisk.isEmpty()) { navigationContent.addChild("li").addChild("a", "href", "#completedDownloadToDisk", "Completed downloads to disk"); includeNavigationBar = true; } if (!completedUpload.isEmpty()) { navigationContent.addChild("li").addChild("a", "href", "#completedUpload", "Completed uploads"); includeNavigationBar = true; } if (!completedDirUpload.isEmpty()) { navigationContent.addChild("li").addChild("a", "href", "#completeDirUpload", "Completed directory uploads"); includeNavigationBar = true; } if (!failedDownload.isEmpty()) { navigationContent.addChild("li").addChild("a", "href", "#failedDownload", "Failed downloads"); includeNavigationBar = true; } if (!failedUpload.isEmpty()) { navigationContent.addChild("li").addChild("a", "href", "#failedUpload", "Failed uploads"); includeNavigationBar = true; } if (!failedDirUpload.isEmpty()) { navigationContent.addChild("li").addChild("a", "href", "#failedDirUpload", "Failed directory uploads"); includeNavigationBar = true; } if (!uncompletedDownload.isEmpty()) { navigationContent.addChild("li").addChild("a", "href", "#uncompletedDownload", "Downloads in progress"); includeNavigationBar = true; } if (!uncompletedUpload.isEmpty()) { navigationContent.addChild("li").addChild("a", "href", "#uncompletedUpload", "Uploads in progress"); includeNavigationBar = true; } if (!uncompletedDirUpload.isEmpty()) { navigationContent.addChild("li").addChild("a", "href", "#uncompletedDirUpload", "Directory uploads in progress"); includeNavigationBar = true; } if (includeNavigationBar) { contentNode.addChild(navigationBar); } HTMLNode legendBox = contentNode.addChild(pageMaker.getInfobox("legend", "Legend")); HTMLNode legendContent = pageMaker.getContentNode(legendBox); HTMLNode legendTable = legendContent.addChild("table", "class", "queue"); HTMLNode legendRow = legendTable.addChild("tr"); for(int i=0; i<7; i++){ legendRow.addChild("td", "class", "priority" + i, "Priority " + i); } if (reqs.length > 1 && SimpleToadletServer.isPanicButtonToBeShown) { contentNode.addChild(createPanicBox(pageMaker)); } boolean advancedEnabled = core.isAdvancedDarknetEnabled(); if (!completedDownloadToTemp.isEmpty()) { contentNode.addChild("a", "name", "completedDownloadToTemp"); HTMLNode completedDownloadsTempInfobox = contentNode.addChild(pageMaker.getInfobox("completed_requests", "Completed: Downloads to temporary directory (" + completedDownloadToTemp.size() + ')')); HTMLNode completedDownloadsToTempContent = pageMaker.getContentNode(completedDownloadsTempInfobox); if (advancedEnabled) { completedDownloadsToTempContent.addChild(createRequestTable(pageMaker, completedDownloadToTemp, new int[] { LIST_IDENTIFIER, LIST_SIZE, LIST_MIME_TYPE, LIST_DOWNLOAD, LIST_PERSISTENCE, LIST_KEY })); } else { completedDownloadsToTempContent.addChild(createRequestTable(pageMaker, completedDownloadToTemp, new int[] { LIST_SIZE, LIST_MIME_TYPE, LIST_DOWNLOAD, LIST_PERSISTENCE, LIST_KEY })); } } if (!completedDownloadToDisk.isEmpty()) { contentNode.addChild("a", "name", "completedDownloadToDisk"); HTMLNode completedToDiskInfobox = contentNode.addChild(pageMaker.getInfobox("completed_requests", "Completed: Downloads to download directory (" + completedDownloadToDisk.size() + ')')); HTMLNode completedToDiskInfoboxContent = pageMaker.getContentNode(completedToDiskInfobox); if (advancedEnabled) { completedToDiskInfoboxContent.addChild(createRequestTable(pageMaker, completedDownloadToDisk, new int[] { LIST_IDENTIFIER, LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, LIST_DOWNLOAD, LIST_PERSISTENCE, LIST_KEY })); } else { completedToDiskInfoboxContent.addChild(createRequestTable(pageMaker, completedDownloadToDisk, new int[] { LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, LIST_DOWNLOAD, LIST_PERSISTENCE, LIST_KEY })); } } if (!completedUpload.isEmpty()) { contentNode.addChild("a", "name", "completedUpload"); HTMLNode completedUploadInfobox = contentNode.addChild(pageMaker.getInfobox("completed_requests", "Completed: Uploads (" + completedUpload.size() + ')')); HTMLNode completedUploadInfoboxContent = pageMaker.getContentNode(completedUploadInfobox); if (advancedEnabled) { completedUploadInfoboxContent.addChild(createRequestTable(pageMaker, completedUpload, new int[] { LIST_IDENTIFIER, LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, LIST_PERSISTENCE, LIST_KEY })); } else { completedUploadInfoboxContent.addChild(createRequestTable(pageMaker, completedUpload, new int[] { LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, LIST_PERSISTENCE, LIST_KEY })); } } if (!completedDirUpload.isEmpty()) { contentNode.addChild("a", "name", "completedDirUpload"); HTMLNode completedUploadDirInfobox = contentNode.addChild(pageMaker.getInfobox("completed_requests", "Completed: Directory Uploads (" + completedDirUpload.size() + ')')); HTMLNode completedUploadDirContent = pageMaker.getContentNode(completedUploadDirInfobox); if (advancedEnabled) { completedUploadDirContent.addChild(createRequestTable(pageMaker, completedDirUpload, new int[] { LIST_IDENTIFIER, LIST_FILES, LIST_TOTAL_SIZE, LIST_PERSISTENCE, LIST_KEY })); } else { completedUploadDirContent.addChild(createRequestTable(pageMaker, completedDirUpload, new int[] { LIST_FILES, LIST_TOTAL_SIZE, LIST_PERSISTENCE, LIST_KEY })); } } if (!failedDownload.isEmpty()) { contentNode.addChild("a", "name", "failedDownload"); HTMLNode failedInfobox = contentNode.addChild(pageMaker.getInfobox("failed_requests", "Failed: Downloads (" + failedDownload.size() + ')')); HTMLNode failedContent = pageMaker.getContentNode(failedInfobox); if (advancedEnabled) { failedContent.addChild(createRequestTable(pageMaker, failedDownload, new int[] { LIST_IDENTIFIER, LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, LIST_PROGRESS, LIST_REASON, LIST_PERSISTENCE, LIST_KEY })); } else { failedContent.addChild(createRequestTable(pageMaker, failedDownload, new int[] { LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, LIST_PROGRESS, LIST_REASON, LIST_PERSISTENCE, LIST_KEY })); } } if (!failedUpload.isEmpty()) { contentNode.addChild("a", "name", "failedUpload"); HTMLNode failedInfobox = contentNode.addChild(pageMaker.getInfobox("failed_requests", "Failed: Uploads (" + failedUpload.size() + ')')); HTMLNode failedContent = pageMaker.getContentNode(failedInfobox); if (advancedEnabled) { failedContent.addChild(createRequestTable(pageMaker, failedUpload, new int[] { LIST_IDENTIFIER, LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, LIST_PROGRESS, LIST_REASON, LIST_PERSISTENCE, LIST_KEY })); } else { failedContent.addChild(createRequestTable(pageMaker, failedUpload, new int[] { LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, LIST_PROGRESS, LIST_REASON, LIST_PERSISTENCE, LIST_KEY })); } } if (!failedDirUpload.isEmpty()) { contentNode.addChild("a", "name", "failedDirUpload"); HTMLNode failedInfobox = contentNode.addChild(pageMaker.getInfobox("failed_requests", "Failed: Directory Uploads (" + failedDirUpload.size() + ')')); HTMLNode failedContent = pageMaker.getContentNode(failedInfobox); if (advancedEnabled) { failedContent.addChild(createRequestTable(pageMaker, failedDirUpload, new int[] { LIST_IDENTIFIER, LIST_FILES, LIST_TOTAL_SIZE, LIST_PROGRESS, LIST_REASON, LIST_PERSISTENCE, LIST_KEY })); } else { failedContent.addChild(createRequestTable(pageMaker, failedDirUpload, new int[] { LIST_FILES, LIST_TOTAL_SIZE, LIST_PROGRESS, LIST_REASON, LIST_PERSISTENCE, LIST_KEY })); } } if (!uncompletedDownload.isEmpty()) { contentNode.addChild("a", "name", "uncompletedDownload"); HTMLNode uncompletedInfobox = contentNode.addChild(pageMaker.getInfobox("requests_in_progress", "In Progress: Downloads (" + uncompletedDownload.size() + ')')); HTMLNode uncompletedContent = pageMaker.getContentNode(uncompletedInfobox); if (advancedEnabled) { uncompletedContent.addChild(createRequestTable(pageMaker, uncompletedDownload, new int[] { LIST_IDENTIFIER, LIST_PRIORITY, LIST_SIZE, LIST_MIME_TYPE, LIST_PROGRESS, LIST_PERSISTENCE, LIST_FILENAME, LIST_KEY })); } else { uncompletedContent.addChild(createRequestTable(pageMaker, uncompletedDownload, new int[] { LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, LIST_PROGRESS, LIST_PERSISTENCE, LIST_KEY })); } } if (!uncompletedUpload.isEmpty()) { contentNode.addChild("a", "name", "uncompletedUpload"); HTMLNode uncompletedInfobox = contentNode.addChild(pageMaker.getInfobox("requests_in_progress", "In Progress: Uploads (" + uncompletedUpload.size() + ')')); HTMLNode uncompletedContent = pageMaker.getContentNode(uncompletedInfobox); if (advancedEnabled) { uncompletedContent.addChild(createRequestTable(pageMaker, uncompletedUpload, new int[] { LIST_IDENTIFIER, LIST_PRIORITY, LIST_SIZE, LIST_MIME_TYPE, LIST_PROGRESS, LIST_PERSISTENCE, LIST_FILENAME, LIST_KEY })); } else { uncompletedContent.addChild(createRequestTable(pageMaker, uncompletedUpload, new int[] { LIST_FILENAME, LIST_SIZE, LIST_MIME_TYPE, LIST_PROGRESS, LIST_PERSISTENCE, LIST_KEY })); } } if (!uncompletedDirUpload.isEmpty()) { contentNode.addChild("a", "name", "uncompletedDirUpload"); HTMLNode uncompletedInfobox = contentNode.addChild(pageMaker.getInfobox("requests_in_progress", "In Progress: DirUploads (" + uncompletedDirUpload.size() + ')')); HTMLNode uncompletedContent = pageMaker.getContentNode(uncompletedInfobox); if (advancedEnabled) { uncompletedContent.addChild(createRequestTable(pageMaker, uncompletedDirUpload, new int[] { LIST_IDENTIFIER, LIST_FILES, LIST_PRIORITY, LIST_TOTAL_SIZE, LIST_PROGRESS, LIST_PERSISTENCE, LIST_KEY })); } else { uncompletedContent.addChild(createRequestTable(pageMaker, uncompletedDirUpload, new int[] { LIST_FILES, LIST_TOTAL_SIZE, LIST_PROGRESS, LIST_PERSISTENCE, LIST_KEY })); } } MultiValueTable pageHeaders = new MultiValueTable(); this.writeReply(ctx, 200, "text/html", "OK", pageHeaders, pageNode.generate()); }
|
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/7b992ac7b46f4eaaf97e9e0e1b7e5c18e1c89deb/QueueToadlet.java/buggy/src/freenet/clients/http/QueueToadlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
225,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
9506,
202,
759,
1660,
3387,
716,
732,
1240,
279,
478,
4258,
1438,
3549,
202,
202,
430,
12,
5,
74,
4057,
18,
5745,
15329,
1082,
202,
2211,
18,
2626,
7817,
12,
5900,
16,
7409,
16,
315,
955,
19,
7446,
3113,
315,
42,
4258,
1438,
353,
3315,
3113,
315,
6225,
1608,
358,
4237,
326,
478,
4258,
1438,
358,
2006,
333,
1363,
8863,
1082,
202,
2463,
31,
202,
202,
97,
9506,
202,
23891,
590,
273,
394,
25238,
12,
1650,
16,
446,
16,
1103,
1769,
202,
202,
780,
23691,
273,
590,
18,
588,
743,
7675,
28023,
2932,
19,
4000,
4898,
18,
2469,
10663,
9506,
202,
430,
261,
2293,
743,
18,
2469,
1435,
405,
374,
13,
288,
1082,
202,
20308,
21194,
16,
1915,
353,
5943,
316,
326,
589,
16,
866,
518,
18,
1195,
1082,
202,
698,
288,
9506,
202,
42,
2842,
278,
3098,
498,
273,
394,
478,
2842,
278,
3098,
12,
2293,
743,
1769,
6862,
9506,
202,
20308,
10627,
590,
1195,
9506,
202,
1227,
691,
8526,
1004,
6421,
273,
284,
4057,
18,
588,
5160,
6421,
5621,
9506,
202,
1884,
261,
474,
590,
1016,
273,
374,
16,
590,
1380,
273,
1004,
6421,
18,
2469,
31,
590,
1016,
411,
590,
1380,
31,
590,
1016,
27245,
288,
6862,
202,
1227,
691,
1004,
691,
273,
1004,
6421,
63,
2293,
1016,
15533,
6862,
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,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
225,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
9506,
202,
759,
1660,
3387,
716,
732,
1240,
279,
478,
4258,
1438,
3549,
202,
202,
430,
12,
5,
74,
4057,
18,
5745,
15329,
1082,
202,
2211,
18,
2626,
7817,
12,
5900,
16,
7409,
16,
315,
955,
19,
7446,
3113,
315,
42,
4258,
1438,
353,
3315,
3113,
315,
6225,
1608,
358,
4237,
326,
478,
4258,
1438,
358,
2006,
333,
1363,
8863,
1082,
202,
2463,
31,
202,
202,
97,
9506,
202,
23891,
590,
273,
394,
25238,
12,
1650,
16,
446,
16,
1103,
1769,
202,
202,
780,
23691,
273,
590,
18,
2
] |
if (qualifier==null)
|
if (qualifier == null)
|
public static DCType findByElement(Context context, String element, String qualifier) throws SQLException { String sql = "SELECT * FROM dctyperegistry WHERE element LIKE \"" + element + "\" AND qualifier"; if (qualifier==null) { sql = sql + "=null;"; } else { sql = sql + " LIKE \"" + qualifier + "\";"; } TableRowIterator tri = DatabaseManager.query(context, "dctyperegistry", sql); // Return the first matching element (if two match there's a problem, // but not one dealt with here) if (tri.hasNext()) { return new DCType(context, tri.next()); } else { // No match means there's no corresponding element return null; } }
|
47214 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47214/cce44b43d94dd70675266da89dbc37a0419208f7/DCType.java/buggy/dspace/src/org/dspace/administer/DCType.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
21533,
559,
6224,
1046,
12,
1042,
819,
16,
514,
930,
16,
3639,
514,
12327,
13,
3639,
1216,
6483,
565,
288,
3639,
514,
1847,
273,
315,
4803,
380,
4571,
18253,
8300,
1332,
2128,
4852,
930,
13161,
11843,
397,
5411,
930,
397,
7023,
4116,
12327,
14432,
7734,
309,
261,
28157,
422,
446,
13,
3639,
288,
5411,
1847,
273,
1847,
397,
29199,
2011,
4868,
31,
3639,
289,
3639,
469,
3639,
288,
5411,
1847,
273,
1847,
397,
315,
13161,
11843,
397,
12327,
397,
7023,
4868,
31,
3639,
289,
3639,
3555,
1999,
3198,
6882,
273,
5130,
1318,
18,
2271,
12,
2472,
16,
5411,
315,
72,
299,
8300,
1332,
2128,
3113,
5411,
1847,
1769,
3639,
368,
2000,
326,
1122,
3607,
930,
261,
430,
2795,
845,
1915,
1807,
279,
6199,
16,
3639,
368,
1496,
486,
1245,
443,
2390,
598,
2674,
13,
3639,
309,
261,
16857,
18,
5332,
2134,
10756,
3639,
288,
5411,
327,
394,
21533,
559,
12,
2472,
16,
6882,
18,
4285,
10663,
3639,
289,
3639,
469,
3639,
288,
5411,
368,
2631,
845,
4696,
1915,
1807,
1158,
4656,
930,
5411,
327,
446,
31,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
21533,
559,
6224,
1046,
12,
1042,
819,
16,
514,
930,
16,
3639,
514,
12327,
13,
3639,
1216,
6483,
565,
288,
3639,
514,
1847,
273,
315,
4803,
380,
4571,
18253,
8300,
1332,
2128,
4852,
930,
13161,
11843,
397,
5411,
930,
397,
7023,
4116,
12327,
14432,
7734,
309,
261,
28157,
422,
446,
13,
3639,
288,
5411,
1847,
273,
1847,
397,
29199,
2011,
4868,
31,
3639,
289,
3639,
469,
3639,
288,
5411,
1847,
273,
1847,
397,
315,
13161,
11843,
397,
12327,
397,
7023,
4868,
31,
3639,
289,
3639,
3555,
1999,
3198,
6882,
273,
5130,
1318,
18,
2271,
12,
2472,
16,
5411,
315,
72,
299,
8300,
1332,
2128,
3113,
5411,
1847,
1769,
3639,
368,
2000,
326,
1122,
3607,
930,
261,
2
] |
jj_la1[89] = jj_gen;
|
jj_la1[90] = jj_gen;
|
final public BreakStatement BreakStatement() throws ParseException { Token label = null; Token first = getToken(1); jj_consume_token(BREAK); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IDENTIFIER: label = jj_consume_token(IDENTIFIER); break; default: jj_la1[89] = jj_gen; ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SEMICOLON: jj_consume_token(SEMICOLON); break; default: jj_la1[90] = jj_gen; _errorChar(';'); } if (label == null) { {if (true) return new UnlabeledBreakStatement(_loc(first));} } else { {if (true) return new LabeledBreakStatement(_loc(first), label.image);} } throw new Error("Missing return statement in function"); }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/8e9d6d4a3458f4fb8d197d118149328dfb2ae150/ACParser.java/clean/drjava/src/edu/rice/cs/drjava/model/autocomplete/parser/ACParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
17030,
3406,
17030,
3406,
1435,
1216,
10616,
288,
225,
3155,
1433,
273,
446,
31,
225,
3155,
1122,
273,
9162,
12,
21,
1769,
565,
10684,
67,
21224,
67,
2316,
12,
27960,
1769,
565,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
565,
648,
26765,
30,
1377,
1433,
273,
10684,
67,
21224,
67,
2316,
12,
16606,
1769,
1377,
898,
31,
565,
805,
30,
1377,
10684,
67,
11821,
21,
63,
9349,
65,
273,
10684,
67,
4507,
31,
1377,
274,
565,
289,
565,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
565,
648,
3174,
22972,
1741,
673,
30,
1377,
10684,
67,
21224,
67,
2316,
12,
1090,
22972,
1741,
673,
1769,
1377,
898,
31,
565,
805,
30,
1377,
10684,
67,
11821,
21,
63,
9349,
65,
273,
10684,
67,
4507,
31,
1377,
389,
1636,
2156,
2668,
4359,
1769,
565,
289,
565,
309,
261,
1925,
422,
446,
13,
288,
1377,
288,
430,
261,
3767,
13,
327,
394,
1351,
1925,
329,
7634,
3406,
24899,
1829,
12,
3645,
10019,
97,
565,
289,
565,
469,
288,
1377,
288,
430,
261,
3767,
13,
327,
394,
5287,
329,
7634,
3406,
24899,
1829,
12,
3645,
3631,
1433,
18,
2730,
1769,
97,
565,
289,
565,
604,
394,
1068,
2932,
4841,
327,
3021,
316,
445,
8863,
225,
289,
2,
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,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
17030,
3406,
17030,
3406,
1435,
1216,
10616,
288,
225,
3155,
1433,
273,
446,
31,
225,
3155,
1122,
273,
9162,
12,
21,
1769,
565,
10684,
67,
21224,
67,
2316,
12,
27960,
1769,
565,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
565,
648,
26765,
30,
1377,
1433,
273,
10684,
67,
21224,
67,
2316,
12,
16606,
1769,
1377,
898,
31,
565,
805,
30,
1377,
10684,
67,
11821,
21,
63,
9349,
65,
273,
10684,
67,
4507,
31,
1377,
274,
565,
289,
565,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
2
] |
if (checkMembers && members.length > 0) { boolean existence; IProject projectHandle = (IProject) createResourceHandle(); if (projectHandle.exists()) { try { boolean open = projectHandle.isOpen(); if (!open) { projectHandle.open(null); } existence = super.verifyExistence(checkMembers); if (!open) { projectHandle.close(null); } } catch (CoreException e) { existence = false; } return existence; } return false;
|
IProject projectHandle = (IProject) createResourceHandle(); if (projectHandle.isAccessible()) { return super.verifyExistence(checkMembers);
|
public boolean verifyExistence(boolean checkMembers) { // We can only check members if the project is open. if (checkMembers && members.length > 0) { boolean existence; IProject projectHandle = (IProject) createResourceHandle(); if (projectHandle.exists()) { try { boolean open = projectHandle.isOpen(); if (!open) { projectHandle.open(null); } existence = super.verifyExistence(checkMembers); if (!open) { projectHandle.close(null); } } catch (CoreException e) { existence = false; } return existence; } return false; } return super.verifyExistence(checkMembers); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/53f08cca51b863bdd0dfd0aa6bcd055ab231df00/ProjectDescription.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/undo/ProjectDescription.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3929,
4786,
802,
12,
6494,
866,
6918,
13,
288,
202,
202,
759,
1660,
848,
1338,
866,
4833,
309,
326,
1984,
353,
1696,
18,
202,
202,
430,
261,
1893,
6918,
597,
4833,
18,
2469,
405,
374,
13,
288,
1082,
202,
6494,
15782,
31,
1082,
202,
45,
4109,
1984,
3259,
273,
261,
45,
4109,
13,
24317,
3259,
5621,
1082,
202,
430,
261,
4406,
3259,
18,
1808,
10756,
288,
9506,
202,
698,
288,
6862,
202,
6494,
1696,
273,
1984,
3259,
18,
291,
3678,
5621,
6862,
202,
430,
16051,
3190,
13,
288,
25083,
202,
4406,
3259,
18,
3190,
12,
2011,
1769,
6862,
202,
97,
6862,
202,
7398,
802,
273,
2240,
18,
8705,
4786,
802,
12,
1893,
6918,
1769,
6862,
202,
430,
16051,
3190,
13,
288,
25083,
202,
4406,
3259,
18,
4412,
12,
2011,
1769,
6862,
202,
97,
9506,
202,
97,
1044,
261,
25341,
425,
13,
288,
6862,
202,
7398,
802,
273,
629,
31,
9506,
202,
97,
9506,
202,
2463,
15782,
31,
1082,
202,
97,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
2463,
2240,
18,
8705,
4786,
802,
12,
1893,
6918,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3929,
4786,
802,
12,
6494,
866,
6918,
13,
288,
202,
202,
759,
1660,
848,
1338,
866,
4833,
309,
326,
1984,
353,
1696,
18,
202,
202,
430,
261,
1893,
6918,
597,
4833,
18,
2469,
405,
374,
13,
288,
1082,
202,
6494,
15782,
31,
1082,
202,
45,
4109,
1984,
3259,
273,
261,
45,
4109,
13,
24317,
3259,
5621,
1082,
202,
430,
261,
4406,
3259,
18,
1808,
10756,
288,
9506,
202,
698,
288,
6862,
202,
6494,
1696,
273,
1984,
3259,
18,
291,
3678,
5621,
6862,
202,
430,
16051,
3190,
13,
288,
25083,
202,
4406,
3259,
18,
3190,
12,
2011,
1769,
6862,
202,
97,
6862,
202,
7398,
802,
273,
2240,
18,
8705,
4786,
802,
12,
1893,
6918,
1769,
6862,
2
] |
logger.debug("Atom type found for symbol: ", symbol);
|
logger.debug("Atom type found for symbol: ", at);
|
public AtomType[] getAtomTypes(String symbol) { logger.debug("Request for atomtype for symbol ", symbol); Vector al = new Vector(); AtomType atomType = null; for (int f = 0; f < atomTypes.size(); f++) { AtomType at = (AtomType) atomTypes.elementAt(f); if (at.getSymbol().equals(symbol)) { logger.debug("Atom type found for symbol: ", symbol); al.addElement((AtomType) at.clone()); } } AtomType[] atomTypes = new AtomType[al.size()]; al.copyInto(atomTypes); if (atomTypes.length > 0) logger.debug("Atomtype for symbol ", symbol, " has this number of types: " + atomTypes.length); else logger.debug("No atomtype for symbol ", symbol); return atomTypes; }
|
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/0c95e2a531ac0466a29f1fb44cefddf1c29e9d9d/AtomTypeFactory.java/buggy/src/org/openscience/cdk/config/AtomTypeFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
7149,
559,
8526,
12358,
2016,
12,
780,
3273,
13,
202,
95,
3639,
1194,
18,
4148,
2932,
691,
364,
3179,
723,
364,
3273,
3104,
3273,
1769,
3639,
5589,
524,
273,
394,
5589,
5621,
3639,
7149,
559,
3179,
559,
273,
446,
31,
3639,
364,
261,
474,
284,
273,
374,
31,
284,
411,
3179,
2016,
18,
1467,
5621,
284,
27245,
3639,
288,
5411,
7149,
559,
622,
273,
261,
3641,
559,
13,
3179,
2016,
18,
2956,
861,
12,
74,
1769,
5411,
309,
261,
270,
18,
588,
5335,
7675,
14963,
12,
7175,
3719,
288,
7734,
1194,
18,
4148,
2932,
3641,
618,
1392,
364,
3273,
30,
3104,
622,
1769,
7734,
524,
18,
1289,
1046,
12443,
3641,
559,
13,
622,
18,
14056,
10663,
5411,
289,
3639,
289,
3639,
7149,
559,
8526,
3179,
2016,
273,
394,
7149,
559,
63,
287,
18,
1467,
1435,
15533,
3639,
524,
18,
3530,
5952,
12,
7466,
2016,
1769,
3639,
309,
261,
7466,
2016,
18,
2469,
405,
374,
13,
5411,
1194,
18,
4148,
2932,
3641,
723,
364,
3273,
3104,
3273,
16,
315,
711,
333,
1300,
434,
1953,
30,
315,
397,
3179,
2016,
18,
2469,
1769,
3639,
469,
5411,
1194,
18,
4148,
2932,
2279,
3179,
723,
364,
3273,
3104,
3273,
1769,
3639,
327,
3179,
2016,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
7149,
559,
8526,
12358,
2016,
12,
780,
3273,
13,
202,
95,
3639,
1194,
18,
4148,
2932,
691,
364,
3179,
723,
364,
3273,
3104,
3273,
1769,
3639,
5589,
524,
273,
394,
5589,
5621,
3639,
7149,
559,
3179,
559,
273,
446,
31,
3639,
364,
261,
474,
284,
273,
374,
31,
284,
411,
3179,
2016,
18,
1467,
5621,
284,
27245,
3639,
288,
5411,
7149,
559,
622,
273,
261,
3641,
559,
13,
3179,
2016,
18,
2956,
861,
12,
74,
1769,
5411,
309,
261,
270,
18,
588,
5335,
7675,
14963,
12,
7175,
3719,
288,
7734,
1194,
18,
4148,
2932,
3641,
618,
1392,
364,
3273,
30,
3104,
622,
1769,
7734,
524,
18,
1289,
1046,
12443,
3641,
559,
13,
622,
18,
14056,
10663,
2
] |
if (m_timeSettings.getUseByoyomi())
|
if (timeSettings.getUseByoyomi())
|
private void setTimeSettings() { if (m_commandThread == null) return; if (m_timeSettings == null) return; if (! m_commandThread.isCommandSupported("time_settings")) { showError("Command time_settings not supported"); return; } long preByoyomi = m_timeSettings.getPreByoyomi() / 1000; long byoyomi = 0; long byoyomiMoves = 0; if (m_timeSettings.getUseByoyomi()) { byoyomi = m_timeSettings.getByoyomi() / 1000; byoyomiMoves = m_timeSettings.getByoyomiMoves(); } try { m_commandThread.sendCommand("time_settings " + preByoyomi + " " + byoyomi + " " + byoyomiMoves); } catch (GtpError e) { showError(e); } }
|
48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/4c13bf5dc2c09e4f38ce5b9fad44b827df31ab49/GoGui.java/clean/src/gogui/GoGui.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
11195,
2628,
1435,
565,
288,
3639,
309,
261,
81,
67,
3076,
3830,
422,
446,
13,
5411,
327,
31,
3639,
309,
261,
81,
67,
957,
2628,
422,
446,
13,
5411,
327,
31,
3639,
309,
16051,
312,
67,
3076,
3830,
18,
291,
2189,
7223,
2932,
957,
67,
4272,
6,
3719,
3639,
288,
5411,
2405,
668,
2932,
2189,
813,
67,
4272,
486,
3260,
8863,
5411,
327,
31,
3639,
289,
3639,
1525,
675,
858,
13372,
362,
77,
273,
312,
67,
957,
2628,
18,
588,
1386,
858,
13372,
362,
77,
1435,
342,
4336,
31,
3639,
1525,
635,
13372,
362,
77,
273,
374,
31,
3639,
1525,
635,
13372,
362,
77,
19297,
273,
374,
31,
3639,
309,
261,
957,
2628,
18,
588,
3727,
858,
13372,
362,
77,
10756,
3639,
288,
5411,
635,
13372,
362,
77,
273,
312,
67,
957,
2628,
18,
588,
858,
13372,
362,
77,
1435,
342,
4336,
31,
5411,
635,
13372,
362,
77,
19297,
273,
312,
67,
957,
2628,
18,
588,
858,
13372,
362,
77,
19297,
5621,
3639,
289,
3639,
775,
3639,
288,
5411,
312,
67,
3076,
3830,
18,
4661,
2189,
2932,
957,
67,
4272,
315,
397,
675,
858,
13372,
362,
77,
397,
315,
315,
4766,
3639,
397,
635,
13372,
362,
77,
397,
315,
315,
397,
635,
13372,
362,
77,
19297,
1769,
3639,
289,
3639,
1044,
261,
43,
6834,
668,
425,
13,
3639,
288,
5411,
2405,
668,
12,
73,
1769,
3639,
289,
565,
289,
2,
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,
1,
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,
11195,
2628,
1435,
565,
288,
3639,
309,
261,
81,
67,
3076,
3830,
422,
446,
13,
5411,
327,
31,
3639,
309,
261,
81,
67,
957,
2628,
422,
446,
13,
5411,
327,
31,
3639,
309,
16051,
312,
67,
3076,
3830,
18,
291,
2189,
7223,
2932,
957,
67,
4272,
6,
3719,
3639,
288,
5411,
2405,
668,
2932,
2189,
813,
67,
4272,
486,
3260,
8863,
5411,
327,
31,
3639,
289,
3639,
1525,
675,
858,
13372,
362,
77,
273,
312,
67,
957,
2628,
18,
588,
1386,
858,
13372,
362,
77,
1435,
342,
4336,
31,
3639,
1525,
635,
13372,
362,
77,
273,
374,
31,
3639,
1525,
635,
13372,
362,
77,
19297,
273,
374,
31,
3639,
309,
261,
957,
2628,
18,
588,
3727,
2
] |
if (!attributes.containsKey(attrName) || !((AuthorizationAttribute) attributes.get(attrName)).getAllowSSO()) { allow = false; break; }
|
if (!attributes.containsKey(attrName) || !((AuthorizationAttribute) attributes.get(attrName)).getAllowSSO()) return false;
|
boolean allowSSOForAttributes(final String[] requestedAttributes) { boolean allow = true; if (requestedAttributes == null) { throw new IllegalArgumentException("requestedAttributes cannot be null"); } for (int i = 0; i < requestedAttributes.length; i++) { final String attrName = requestedAttributes[i]; if (!attributes.containsKey(attrName) || !((AuthorizationAttribute) attributes.get(attrName)).getAllowSSO()) { allow = false; break; } } return allow; }
|
1637 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1637/35ea405c173af989c94d87e2258881973334d7a2/AuthorizationClient.java/buggy/moria2/modules/moria-am/src/java/no/feide/moria/authorization/AuthorizationClient.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
1699,
1260,
51,
1290,
2498,
12,
6385,
514,
8526,
3764,
2498,
13,
288,
3639,
1250,
1699,
273,
638,
31,
3639,
309,
261,
19065,
2498,
422,
446,
13,
288,
604,
394,
2754,
2932,
19065,
2498,
2780,
506,
446,
8863,
289,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3764,
2498,
18,
2469,
31,
277,
27245,
288,
5411,
727,
514,
11583,
273,
3764,
2498,
63,
77,
15533,
5411,
309,
16051,
4350,
18,
12298,
653,
12,
1747,
461,
13,
747,
401,
12443,
6063,
1499,
13,
1677,
18,
588,
12,
1747,
461,
13,
2934,
588,
7009,
1260,
51,
10756,
288,
7734,
1699,
273,
629,
31,
7734,
898,
31,
5411,
289,
3639,
289,
3639,
327,
1699,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1250,
1699,
1260,
51,
1290,
2498,
12,
6385,
514,
8526,
3764,
2498,
13,
288,
3639,
1250,
1699,
273,
638,
31,
3639,
309,
261,
19065,
2498,
422,
446,
13,
288,
604,
394,
2754,
2932,
19065,
2498,
2780,
506,
446,
8863,
289,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
3764,
2498,
18,
2469,
31,
277,
27245,
288,
5411,
727,
514,
11583,
273,
3764,
2498,
63,
77,
15533,
5411,
309,
16051,
4350,
18,
12298,
653,
12,
1747,
461,
13,
747,
401,
12443,
6063,
1499,
13,
1677,
18,
588,
12,
1747,
461,
13,
2934,
588,
7009,
1260,
51,
10756,
288,
7734,
1699,
273,
629,
31,
7734,
898,
31,
5411,
289,
3639,
289,
3639,
327,
1699,
31,
565,
289,
2,
-100
] |
return type.javaClass;
|
return type.getJavaClass();
|
public Class<E> getValueClass() { return type.javaClass; }
|
50290 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50290/7bb0fc5b287253acceeb4afd68ec7a6f2518146f/Type.java/buggy/runtime/src/com/exedio/cope/Type.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1659,
32,
41,
34,
2366,
797,
1435,
202,
202,
95,
1082,
202,
2463,
618,
18,
6290,
797,
31,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1659,
32,
41,
34,
2366,
797,
1435,
202,
202,
95,
1082,
202,
2463,
618,
18,
6290,
797,
31,
202,
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
] |
this.constructors = constructors; }
|
this.constructors = constructors; }
|
public JavaConstructor(Constructor[] constructors) { this.constructors = constructors; }
|
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/0a7181933af700ea8025a4197f3a5ebcc08333c3/JavaConstructor.java/buggy/org/jruby/javasupport/JavaConstructor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5110,
6293,
12,
6293,
8526,
19874,
13,
288,
202,
202,
2211,
18,
10062,
1383,
273,
19874,
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,
482,
5110,
6293,
12,
6293,
8526,
19874,
13,
288,
202,
202,
2211,
18,
10062,
1383,
273,
19874,
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
] |
ruby.getBlock().getCurrent().getFrame().setNamespace(ruby.getCurrentFrame().getNamespace());
|
ruby.getBlockStack().getCurrent().getFrame().setNamespace(ruby.getCurrentFrame().getNamespace());
|
public RubyObject yieldUnder(RubyModule under) { return under.executeUnder(new Callback() { public RubyObject execute(RubyObject self, RubyObject[] args, Ruby ruby) { // if () { Block oldBlock = ruby.getBlock().getCurrent().cloneBlock(); /* copy the block to avoid modifying global data. */ ruby.getBlock().getCurrent().getFrame().setNamespace(ruby.getCurrentFrame().getNamespace()); try { return ruby.yield(args[0], args[0], ruby.getRubyClass(), false).toRubyObject(); } finally { ruby.getBlock().setCurrent(oldBlock); } // } /* static block, no need to restore */ // ruby.getBlock().frame.setNamespace(ruby.getRubyFrame().getNamespace()); // return ruby.yield0(args[0], args[0], ruby.getRubyClass(), false); } public int getArity() { return -1; } }, new RubyObject[] { this }); }
|
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/8db42974495981011f558bcce15e2dfc28681a76/RubyObject.java/buggy/org/jruby/RubyObject.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
2824,
14655,
12,
54,
10340,
3120,
3613,
13,
288,
3639,
327,
3613,
18,
8837,
14655,
12,
2704,
8444,
1435,
288,
5411,
1071,
19817,
921,
1836,
12,
54,
10340,
921,
365,
16,
19817,
921,
8526,
833,
16,
19817,
22155,
13,
288,
7734,
368,
309,
1832,
288,
11794,
3914,
1592,
1768,
273,
22155,
18,
588,
1768,
7675,
588,
3935,
7675,
14056,
1768,
5621,
7734,
1748,
1610,
326,
1203,
358,
4543,
21920,
2552,
501,
18,
1195,
7734,
22155,
18,
588,
1768,
2624,
7675,
588,
3935,
7675,
588,
3219,
7675,
542,
3402,
12,
27768,
18,
588,
3935,
3219,
7675,
588,
3402,
10663,
7734,
775,
288,
10792,
327,
22155,
18,
23604,
12,
1968,
63,
20,
6487,
833,
63,
20,
6487,
22155,
18,
588,
54,
10340,
797,
9334,
629,
2934,
869,
54,
10340,
921,
5621,
7734,
289,
3095,
288,
10792,
22155,
18,
588,
1768,
7675,
542,
3935,
12,
1673,
1768,
1769,
7734,
289,
7734,
368,
289,
7734,
1748,
760,
1203,
16,
1158,
1608,
358,
5217,
1195,
7734,
368,
22155,
18,
588,
1768,
7675,
3789,
18,
542,
3402,
12,
27768,
18,
588,
54,
10340,
3219,
7675,
588,
3402,
10663,
7734,
368,
327,
22155,
18,
23604,
20,
12,
1968,
63,
20,
6487,
833,
63,
20,
6487,
22155,
18,
588,
54,
10340,
797,
9334,
629,
1769,
5411,
289,
13491,
1071,
509,
336,
686,
560,
1435,
288,
7734,
327,
300,
21,
31,
5411,
289,
3639,
19879,
394,
19817,
921,
8526,
288,
333,
15549,
565,
289,
2,
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,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
2824,
14655,
12,
54,
10340,
3120,
3613,
13,
288,
3639,
327,
3613,
18,
8837,
14655,
12,
2704,
8444,
1435,
288,
5411,
1071,
19817,
921,
1836,
12,
54,
10340,
921,
365,
16,
19817,
921,
8526,
833,
16,
19817,
22155,
13,
288,
7734,
368,
309,
1832,
288,
11794,
3914,
1592,
1768,
273,
22155,
18,
588,
1768,
7675,
588,
3935,
7675,
14056,
1768,
5621,
7734,
1748,
1610,
326,
1203,
358,
4543,
21920,
2552,
501,
18,
1195,
7734,
22155,
18,
588,
1768,
2624,
7675,
588,
3935,
7675,
588,
3219,
7675,
542,
3402,
12,
27768,
18,
588,
3935,
3219,
7675,
588,
3402,
10663,
7734,
775,
288,
10792,
327,
22155,
18,
23604,
12,
1968,
63,
20,
6487,
833,
63,
20,
6487,
2
] |
String end = target.substring(target.lastIndexOf("."), target.length()).toLowerCase();
|
public void run() { makeBase64(target); try { InputStream is = new BufferedInputStream( new FileInputStream(target + ".tmp")); OutputStream os = new BufferedOutputStream( new FileOutputStream(target)); BASE64Decoder b64dc = new BASE64Decoder(); b64dc.decodeBuffer(is, os); String end = target.substring(target.lastIndexOf("."), target.length()).toLowerCase(); is.close(); os.close(); if (end.equals(".gif") || end.equals(".jpg")) { new imageViewer(target); } new File(target + ".tmp").delete(); } catch (IOException e) { System.err.println(e); } }
|
3248 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3248/69c86341b8e3e6c05b57a1406d7445170b6d5a0d/Base64Decode.java/clean/encode/Base64Decode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
288,
202,
202,
6540,
2171,
1105,
12,
3299,
1769,
202,
202,
698,
288,
1082,
202,
4348,
353,
273,
394,
24742,
12,
6862,
202,
2704,
11907,
12,
3299,
397,
3552,
5645,
7923,
1769,
1082,
202,
4632,
1140,
273,
394,
28649,
12,
6862,
202,
2704,
12942,
12,
3299,
10019,
1082,
202,
8369,
1105,
7975,
324,
1105,
7201,
273,
394,
10250,
1105,
7975,
5621,
1082,
202,
70,
1105,
7201,
18,
3922,
1892,
12,
291,
16,
1140,
1769,
1082,
202,
780,
679,
273,
1018,
18,
28023,
12,
3299,
18,
2722,
31985,
2932,
1199,
3631,
25083,
202,
3299,
18,
2469,
1435,
2934,
869,
5630,
5621,
1082,
202,
291,
18,
4412,
5621,
1082,
202,
538,
18,
4412,
5621,
1082,
202,
430,
261,
409,
18,
14963,
2932,
18,
13905,
7923,
747,
679,
18,
14963,
2932,
18,
14362,
6,
3719,
288,
9506,
202,
2704,
1316,
18415,
12,
3299,
1769,
1082,
202,
97,
1082,
202,
2704,
1387,
12,
3299,
397,
3552,
5645,
20387,
3733,
5621,
202,
202,
97,
1044,
261,
14106,
425,
13,
288,
1082,
202,
3163,
18,
370,
18,
8222,
12,
73,
1769,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
288,
202,
202,
6540,
2171,
1105,
12,
3299,
1769,
202,
202,
698,
288,
1082,
202,
4348,
353,
273,
394,
24742,
12,
6862,
202,
2704,
11907,
12,
3299,
397,
3552,
5645,
7923,
1769,
1082,
202,
4632,
1140,
273,
394,
28649,
12,
6862,
202,
2704,
12942,
12,
3299,
10019,
1082,
202,
8369,
1105,
7975,
324,
1105,
7201,
273,
394,
10250,
1105,
7975,
5621,
1082,
202,
70,
1105,
7201,
18,
3922,
1892,
12,
291,
16,
1140,
1769,
1082,
202,
780,
679,
273,
1018,
18,
28023,
12,
3299,
18,
2722,
31985,
2932,
1199,
3631,
25083,
202,
3299,
18,
2469,
1435,
2934,
869,
5630,
5621,
1082,
202,
291,
18,
4412,
5621,
1082,
202,
538,
18,
4412,
5621,
1082,
2
] |
|
if (Model.getFacade().isPublic(cls)) {
|
if (Model.getFacade().isPublic(cls) || Model.getFacade().isAClassifier(Model.getFacade().getNamespace(cls))) {
|
StringBuffer generateClassifierStart(Object cls) { String sClassifierKeyword; if (Model.getFacade().isAClass(cls)) { sClassifierKeyword = "class"; } else if (Model.getFacade().isAInterface(cls)) { sClassifierKeyword = "interface"; } else { return null; // actors, use cases etc. } StringBuffer sb = new StringBuffer(80); // Add the comments for this classifier first. // Each pattern here must be similar to corresponding code piece // Classfier code piece doesn't start with LINE_SEPARATOR // so the next line is commented. See Issue 1505 //sb.append (LINE_SEPARATOR); sb.append(DocumentationManager.getComments(cls)); sb.append(generateConstraintEnrichedDocComment(cls, true, "")); // Now add visibility if (Model.getFacade().isPublic(cls)) { sb.append(generateVisibility(Model.getFacade().getVisibility(cls))); } // Add other modifiers if (Model.getFacade().isAbstract(cls) && !(Model.getFacade().isAInterface(cls))) { sb.append("abstract "); } if (Model.getFacade().isLeaf(cls)) { sb.append("final "); } // add additional modifiers Object smod = Model.getFacade().getTaggedValue(cls, "src_modifiers"); if (smod != null && Model.getFacade().getValue(smod) != null) { sb.append(" "); sb.append(Model.getFacade().getValue(smod)); sb.append(" "); } // add classifier keyword and classifier name sb.append(sClassifierKeyword).append(" "); sb.append(generateName(Model.getFacade().getName(cls))); // add base class/interface String baseClass = generateGeneralization(Model.getFacade().getGeneralizations(cls)); if (!baseClass.equals("")) { sb.append(" ").append("extends ").append(baseClass); } // add implemented interfaces, if needed // UML: realizations! if (Model.getFacade().isAClass(cls)) { String interfaces = generateSpecification(cls); LOG.debug("Specification: " + interfaces); if (!interfaces.equals("")) { sb.append(" ").append("implements ").append(interfaces); } } // add opening brace sb.append(lfBeforeCurly ? (LINE_SEPARATOR + "{") : " {"); // list tagged values for documentation String tv = generateTaggedValues(cls); if (tv != null && tv.length() > 0) { sb.append(LINE_SEPARATOR).append(INDENT).append(tv); } return sb; }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/51142e6912d6b25dff5dc8e111e8704a8d5106d7/GeneratorJava.java/buggy/src_new/org/argouml/language/java/generator/GeneratorJava.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
6674,
2103,
13860,
1685,
12,
921,
2028,
13,
288,
3639,
514,
272,
13860,
8736,
31,
3639,
309,
261,
1488,
18,
588,
12467,
7675,
291,
37,
797,
12,
6429,
3719,
288,
5411,
272,
13860,
8736,
273,
315,
1106,
14432,
3639,
289,
469,
309,
261,
1488,
18,
588,
12467,
7675,
291,
37,
1358,
12,
6429,
3719,
288,
5411,
272,
13860,
8736,
273,
315,
5831,
14432,
3639,
289,
469,
288,
5411,
327,
446,
31,
368,
27141,
16,
999,
6088,
5527,
18,
3639,
289,
3639,
6674,
2393,
273,
394,
6674,
12,
3672,
1769,
3639,
368,
1436,
326,
5678,
364,
333,
14622,
1122,
18,
3639,
368,
8315,
1936,
2674,
1297,
506,
7281,
358,
4656,
981,
11151,
3639,
368,
1659,
74,
2453,
981,
11151,
3302,
1404,
787,
598,
14340,
67,
4550,
3639,
368,
1427,
326,
1024,
980,
353,
31813,
18,
2164,
11820,
18478,
25,
3639,
368,
18366,
18,
6923,
261,
5997,
67,
4550,
1769,
3639,
2393,
18,
6923,
12,
18905,
1318,
18,
588,
9051,
12,
6429,
10019,
3639,
2393,
18,
6923,
12,
7163,
5806,
664,
12761,
329,
1759,
4469,
12,
6429,
16,
638,
16,
1408,
10019,
3639,
368,
4494,
527,
9478,
3639,
309,
261,
1488,
18,
588,
12467,
7675,
291,
4782,
12,
6429,
13,
747,
3164,
18,
588,
12467,
7675,
291,
37,
13860,
12,
1488,
18,
588,
12467,
7675,
588,
3402,
12,
6429,
20349,
288,
5411,
2393,
18,
6923,
12,
7163,
10135,
12,
1488,
18,
588,
12467,
7675,
588,
10135,
12,
6429,
3719,
1769,
3639,
289,
3639,
368,
1436,
1308,
10429,
3639,
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,
6674,
2103,
13860,
1685,
12,
921,
2028,
13,
288,
3639,
514,
272,
13860,
8736,
31,
3639,
309,
261,
1488,
18,
588,
12467,
7675,
291,
37,
797,
12,
6429,
3719,
288,
5411,
272,
13860,
8736,
273,
315,
1106,
14432,
3639,
289,
469,
309,
261,
1488,
18,
588,
12467,
7675,
291,
37,
1358,
12,
6429,
3719,
288,
5411,
272,
13860,
8736,
273,
315,
5831,
14432,
3639,
289,
469,
288,
5411,
327,
446,
31,
368,
27141,
16,
999,
6088,
5527,
18,
3639,
289,
3639,
6674,
2393,
273,
394,
6674,
12,
3672,
1769,
3639,
368,
1436,
326,
5678,
364,
333,
14622,
1122,
18,
3639,
368,
8315,
1936,
2674,
1297,
506,
7281,
358,
4656,
981,
11151,
3639,
368,
1659,
74,
2453,
981,
11151,
2
] |
currentPutField = null;
|
public void writeFields() throws IOException { if (currentPutField == null) throw new NotActiveException("writeFields can only be called after putFields has been called"); // putFields may be called more than once, but not writeFields. markFieldsWritten(); currentPutField.write(this); currentPutField = null; }
|
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/aa9a1e51dfe3c217d861f0795af77c53a43ecefb/ObjectOutputStream.java/clean/libjava/java/io/ObjectOutputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1045,
2314,
1435,
1216,
1860,
225,
288,
565,
309,
261,
2972,
6426,
974,
422,
446,
13,
1377,
604,
394,
2288,
3896,
503,
2932,
2626,
2314,
848,
1338,
506,
2566,
1839,
1378,
2314,
711,
2118,
2566,
8863,
565,
368,
1378,
2314,
2026,
506,
2566,
1898,
2353,
3647,
16,
1496,
486,
1045,
2314,
18,
565,
2267,
2314,
12643,
5621,
565,
783,
6426,
974,
18,
2626,
12,
2211,
1769,
377,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1045,
2314,
1435,
1216,
1860,
225,
288,
565,
309,
261,
2972,
6426,
974,
422,
446,
13,
1377,
604,
394,
2288,
3896,
503,
2932,
2626,
2314,
848,
1338,
506,
2566,
1839,
1378,
2314,
711,
2118,
2566,
8863,
565,
368,
1378,
2314,
2026,
506,
2566,
1898,
2353,
3647,
16,
1496,
486,
1045,
2314,
18,
565,
2267,
2314,
12643,
5621,
565,
783,
6426,
974,
18,
2626,
12,
2211,
1769,
377,
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
] |
|
generator.generate(sourceModel.getSModel(), targetModel, monitor); }
|
if (mySaveTransientModels) { saveTransientModels(generatorContext); } else { generatorContext.getModule().dispose(); } }
|
public void run() { generator.generate(sourceModel.getSModel(), targetModel, monitor); }
|
14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/c1d5fc9850189bf2facf5e81993e661544e4de1e/GeneratorManager.java/clean/source/jetbrains/mps/generator/GeneratorManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
6647,
1071,
918,
1086,
1435,
288,
5411,
4456,
18,
7163,
12,
3168,
1488,
18,
588,
55,
1488,
9334,
1018,
1488,
16,
6438,
1769,
1850,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6647,
1071,
918,
1086,
1435,
288,
5411,
4456,
18,
7163,
12,
3168,
1488,
18,
588,
55,
1488,
9334,
1018,
1488,
16,
6438,
1769,
1850,
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
] |
BitSet queryableIds = new BitSet(nodeDirs.length);
|
IntSet queryableIds = new IntSet();
|
public QueryableNode[] getQueryableNodes() throws SQLException { QueryableNode[] nodes = new QueryableNode[0]; // Get all of the numeric directory names in the RRD directory; these // are the nodeids of the nodes that have performance data File[] nodeDirs = this.rrdDirectory.listFiles(RrdFileConstants.NODE_DIRECTORY_FILTER); if(nodeDirs != null && nodeDirs.length > 0) { List nodeList = new LinkedList(); // Construct a set containing the nodeIds that are queryable BitSet queryableIds = new BitSet(nodeDirs.length); for (int i = 0; i < nodeDirs.length; i++) { String fileName = nodeDirs[i].getName(); int nodeId = Integer.parseInt(fileName); queryableIds.set(nodeId); } //create the main stem of the select statement StringBuffer select = new StringBuffer("SELECT DISTINCT NODEID, NODELABEL FROM NODE WHERE NODETYPE != 'D' ORDER BY NODELABEL"); Connection conn = Vault.getDbConnection(); Statement stmt = null; ResultSet rs = null; try { stmt = conn.createStatement(); rs = stmt.executeQuery(select.toString()); while( rs.next() ) { int nodeId = rs.getInt("nodeid"); if (queryableIds.get(nodeId)) { QueryableNode node = new QueryableNode(); node.nodeId = nodeId; node.nodeLabel = rs.getString("nodeLabel"); nodeList.add(node); } } } finally { if (rs != null) rs.close(); if (stmt != null) stmt.close(); Vault.releaseDbConnection(conn); } nodes = (QueryableNode[])nodeList.toArray(new QueryableNode[nodeList.size()]); } return( nodes ); }
|
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/fc8cea0e530f0a31ed7d8e518df0ff409b580dc2/PerformanceModel.java/buggy/src/web/src/org/opennms/web/performance/PerformanceModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2770,
429,
907,
8526,
6041,
429,
3205,
1435,
1216,
6483,
288,
3639,
2770,
429,
907,
8526,
2199,
273,
394,
2770,
429,
907,
63,
20,
15533,
3639,
368,
968,
777,
434,
326,
6389,
1867,
1257,
316,
326,
534,
20403,
1867,
31,
4259,
3639,
368,
854,
326,
756,
2232,
434,
326,
2199,
716,
1240,
9239,
501,
3639,
1387,
8526,
756,
9872,
273,
333,
18,
523,
72,
2853,
18,
1098,
2697,
12,
54,
13623,
812,
2918,
18,
8744,
67,
17229,
67,
11126,
1769,
7734,
309,
12,
2159,
9872,
480,
446,
597,
756,
9872,
18,
2469,
405,
374,
13,
288,
5411,
987,
10198,
273,
394,
10688,
5621,
5411,
368,
14291,
279,
444,
4191,
326,
756,
2673,
716,
854,
843,
429,
5411,
3094,
694,
843,
429,
2673,
273,
394,
3094,
694,
5621,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
756,
9872,
18,
2469,
31,
277,
27245,
288,
7734,
514,
3968,
273,
756,
9872,
63,
77,
8009,
17994,
5621,
7734,
509,
11507,
273,
2144,
18,
2670,
1702,
12,
17812,
1769,
7734,
843,
429,
2673,
18,
542,
12,
2159,
548,
1769,
5411,
289,
5411,
368,
2640,
326,
2774,
13119,
434,
326,
2027,
3021,
5411,
6674,
2027,
273,
394,
6674,
2932,
4803,
23286,
11922,
734,
16,
423,
1212,
2247,
10255,
4571,
11922,
4852,
423,
1212,
27062,
480,
296,
40,
11,
10205,
6953,
423,
1212,
2247,
10255,
8863,
5411,
4050,
1487,
273,
17329,
18,
588,
4331,
1952,
5621,
5411,
8056,
3480,
273,
446,
31,
5411,
10842,
3597,
273,
446,
31,
5411,
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,
2770,
429,
907,
8526,
6041,
429,
3205,
1435,
1216,
6483,
288,
3639,
2770,
429,
907,
8526,
2199,
273,
394,
2770,
429,
907,
63,
20,
15533,
3639,
368,
968,
777,
434,
326,
6389,
1867,
1257,
316,
326,
534,
20403,
1867,
31,
4259,
3639,
368,
854,
326,
756,
2232,
434,
326,
2199,
716,
1240,
9239,
501,
3639,
1387,
8526,
756,
9872,
273,
333,
18,
523,
72,
2853,
18,
1098,
2697,
12,
54,
13623,
812,
2918,
18,
8744,
67,
17229,
67,
11126,
1769,
7734,
309,
12,
2159,
9872,
480,
446,
597,
756,
9872,
18,
2469,
405,
374,
13,
288,
5411,
987,
10198,
273,
394,
10688,
5621,
5411,
368,
14291,
279,
444,
4191,
326,
756,
2673,
716,
854,
843,
429,
5411,
2
] |
List siteFileNames = FileUtils.getFileNames( directory, null, defaultExcludes, false );
|
List siteFiles = FileUtils.getFileNames( directory, null, defaultExcludes, false ); for ( Iterator it = siteFiles.iterator(); it.hasNext(); ) { String currentFile = (String) it.next();
|
private static void tryToFindDuplicates( File directory, Map duplicate ) throws IOException { String defaultExcludes = StringUtils.join( DEFAULT_EXCLUDES, "," ); List siteFileNames = FileUtils.getFileNames( directory, null, defaultExcludes, false ); String currentFileName; for ( Iterator it = siteFileNames.iterator(); it.hasNext(); ) { currentFileName = (String) it.next(); if ( currentFileName.lastIndexOf( File.separator ) == -1 ) { // ignore files directly in the directory continue; } if ( currentFileName.lastIndexOf( "." ) == -1 ) { // ignore files without extension continue; } String key = currentFileName.substring( currentFileName.indexOf( File.separator ) + 1, currentFileName.lastIndexOf( "." ) ); String filePattern = "**/" + key + ".*"; List duplicateFileNames = FileUtils.getFileNames( directory, filePattern, defaultExcludes, false ); Set duplicatedFileNamesSet = (Set) duplicate.get( key.toLowerCase() ); if ( duplicatedFileNamesSet == null ) { duplicatedFileNamesSet = new HashSet(); } String tmp; for ( Iterator it2 = duplicateFileNames.iterator(); it2.hasNext(); ) { tmp = (String) it2.next(); if ( tmp.lastIndexOf( File.separator ) == -1 ) { // ignore files directly in the directory continue; } duplicatedFileNamesSet.add( directory.getAbsolutePath() + File.separator + tmp ); } duplicate.put( key.toLowerCase(), duplicatedFileNamesSet ); } }
|
51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/0100df041fcde4ad386f65568ac70320dcaf2d25/DoxiaMojo.java/clean/maven-site-plugin/src/main/java/org/apache/maven/doxia/DoxiaMojo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
775,
774,
3125,
23897,
12,
1387,
1867,
16,
1635,
6751,
262,
3639,
1216,
1860,
565,
288,
3639,
514,
805,
30866,
273,
5778,
18,
5701,
12,
3331,
67,
2294,
14829,
55,
16,
5753,
11272,
9079,
987,
2834,
2697,
273,
13779,
18,
29925,
1557,
12,
1867,
16,
446,
16,
805,
30866,
16,
629,
11272,
364,
261,
4498,
518,
273,
2834,
2697,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
514,
22650,
273,
261,
780,
13,
518,
18,
4285,
5621,
3639,
514,
783,
4771,
31,
3639,
364,
261,
4498,
518,
273,
2834,
812,
1557,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
3639,
288,
5411,
783,
4771,
273,
261,
780,
13,
518,
18,
4285,
5621,
5411,
309,
261,
783,
4771,
18,
2722,
31985,
12,
1387,
18,
11287,
262,
422,
300,
21,
262,
5411,
288,
7734,
368,
2305,
1390,
5122,
316,
326,
1867,
7734,
1324,
31,
5411,
289,
5411,
309,
261,
783,
4771,
18,
2722,
31985,
12,
4585,
262,
422,
300,
21,
262,
5411,
288,
7734,
368,
2305,
1390,
2887,
2710,
7734,
1324,
31,
5411,
289,
5411,
514,
498,
273,
783,
4771,
18,
28023,
12,
783,
4771,
18,
31806,
12,
1387,
18,
11287,
262,
397,
404,
16,
4766,
7734,
783,
4771,
18,
2722,
31985,
12,
4585,
262,
11272,
5411,
514,
585,
3234,
273,
28078,
4898,
397,
498,
397,
3552,
7388,
31,
5411,
987,
6751,
812,
1557,
273,
13779,
18,
29925,
1557,
12,
1867,
16,
585,
3234,
16,
805,
30866,
16,
629,
11272,
5411,
1000,
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,
760,
918,
775,
774,
3125,
23897,
12,
1387,
1867,
16,
1635,
6751,
262,
3639,
1216,
1860,
565,
288,
3639,
514,
805,
30866,
273,
5778,
18,
5701,
12,
3331,
67,
2294,
14829,
55,
16,
5753,
11272,
9079,
987,
2834,
2697,
273,
13779,
18,
29925,
1557,
12,
1867,
16,
446,
16,
805,
30866,
16,
629,
11272,
364,
261,
4498,
518,
273,
2834,
2697,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
514,
22650,
273,
261,
780,
13,
518,
18,
4285,
5621,
3639,
514,
783,
4771,
31,
3639,
364,
261,
4498,
518,
273,
2834,
812,
1557,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
3639,
288,
5411,
783,
4771,
273,
261,
780,
13,
518,
18,
4285,
5621,
2
] |
try { setAccesskey((String) evalAttr("accesskey", getAccesskeyExpr(), String.class)); } catch (NullAttributeException ex) { }
|
String string = null; Boolean bool = null;
|
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accesskey", getAccesskeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAccept((String) evalAttr("accept", getAcceptExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAlt((String) evalAttr("alt", getAltExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAltKey((String) evalAttr("altKey", getAltKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setMaxlength((String) evalAttr("maxlength", getMaxlengthExpr(), String.class)); } catch (NullAttributeException ex) { } try { setName((String) evalAttr("name", getNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnblur((String) evalAttr("onblur", getOnblurExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnchange((String) evalAttr("onchange", getOnchangeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnclick((String) evalAttr("onclick", getOnclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOndblclick((String) evalAttr("ondblclick", getOndblclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnfocus((String) evalAttr("onfocus", getOnfocusExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypressExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemoveExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseoutExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseoverExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setProperty((String) evalAttr("property", getPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setSize((String) evalAttr("size", getSizeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyle((String) evalAttr("style", getStyleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleClass((String) evalAttr("styleClass", getStyleClassExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleId((String) evalAttr("styleId", getStyleIdExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTabindex((String) evalAttr("tabindex", getTabindexExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitle((String) evalAttr("title", getTitleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitleKey((String) evalAttr("titleKey", getTitleKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setValue((String) evalAttr("value", getValueExpr(), String.class)); } catch (NullAttributeException ex) { } }
|
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/022bd23c954cf673e53731849d562b3c295473f1/ELFileTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELFileTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
856,
3113,
21909,
856,
4742,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
5933,
12443,
780,
13,
5302,
3843,
2932,
9436,
3113,
4506,
4474,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
8853,
12443,
12,
5507,
13,
5302,
3843,
2932,
9278,
3113,
336,
8853,
4742,
9334,
4766,
5411,
3411,
18,
1106,
13,
2934,
13491,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
15034,
12443,
12,
5507,
13,
5302,
3843,
2932,
19626,
3113,
8088,
329,
4742,
9334,
4766,
6647,
3411,
18,
1106,
13,
2934,
15604,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
10851,
2469,
12443,
780,
13,
5302,
3843,
2932,
27875,
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,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
856,
3113,
21909,
856,
4742,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
5933,
12443,
780,
13,
5302,
3843,
2932,
9436,
3113,
4506,
4474,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
2
] |
if(!shouldReplace) { return file.read(); } else { int curr = file.read(); if (curr != '\r') { return curr; } else if (!isWin) { return '\n'; } else { int next = file.read(); if(next == '\n') { return next; } file.seek(file.getFilePointer() - 1); return curr; } }
|
return file.read();
|
public int sysread() throws IOException { if(!shouldReplace) { return file.read(); } else { int curr = file.read(); if (curr != '\r') { return curr; } else if (!isWin) { return '\n'; } else { int next = file.read(); if(next == '\n') { return next; } file.seek(file.getFilePointer() - 1); return curr; } } }
|
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/500bc20ac823da86d173c906df2b9e776a4d35e2/IOHandlerSeekable.java/buggy/src/org/jruby/util/IOHandlerSeekable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
2589,
896,
1435,
1216,
1860,
288,
3639,
309,
12,
5,
13139,
5729,
13,
288,
5411,
327,
585,
18,
896,
5621,
3639,
289,
469,
288,
5411,
509,
4306,
273,
585,
18,
896,
5621,
5411,
309,
261,
17016,
480,
2337,
86,
6134,
288,
7734,
327,
4306,
31,
5411,
289,
469,
309,
16051,
291,
18049,
13,
288,
7734,
327,
2337,
82,
13506,
5411,
289,
469,
288,
7734,
509,
1024,
273,
585,
18,
896,
5621,
7734,
309,
12,
4285,
422,
2337,
82,
6134,
288,
10792,
327,
1024,
31,
7734,
289,
27573,
585,
18,
16508,
12,
768,
18,
29925,
4926,
1435,
300,
404,
1769,
7734,
327,
4306,
31,
5411,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
2589,
896,
1435,
1216,
1860,
288,
3639,
309,
12,
5,
13139,
5729,
13,
288,
5411,
327,
585,
18,
896,
5621,
3639,
289,
469,
288,
5411,
509,
4306,
273,
585,
18,
896,
5621,
5411,
309,
261,
17016,
480,
2337,
86,
6134,
288,
7734,
327,
4306,
31,
5411,
289,
469,
309,
16051,
291,
18049,
13,
288,
7734,
327,
2337,
82,
13506,
5411,
289,
469,
288,
7734,
509,
1024,
273,
585,
18,
896,
5621,
7734,
309,
12,
4285,
422,
2337,
82,
6134,
288,
10792,
327,
1024,
31,
7734,
289,
27573,
585,
18,
16508,
12,
768,
18,
29925,
4926,
1435,
300,
404,
1769,
7734,
327,
4306,
31,
5411,
289,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
currentSetOfMolecules.addMolecule(currentMolecule);
|
currentSetOfMolecules.addMolecule(currentMolecule);
|
public void endDocument() { currentSetOfMolecules.addMolecule(currentMolecule); currentChemModel.setSetOfMolecules(currentSetOfMolecules); currentChemSequence.addChemModel(currentChemModel); this.addChemSequence(currentChemSequence); if (debug) System.out.println("Molecule added"); };
|
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/e04a2bbd6afdac34488441c1ce22ad5f73d254ff/ChemFileCDO.java/buggy/org/openscience/cdk/io/ChemFileCDO.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
679,
2519,
1435,
288,
202,
565,
783,
694,
951,
49,
29466,
18,
1289,
29669,
12,
2972,
29669,
1769,
202,
377,
202,
565,
783,
20200,
1488,
18,
542,
694,
951,
49,
29466,
12,
2972,
694,
951,
49,
29466,
1769,
202,
565,
783,
20200,
4021,
18,
1289,
20200,
1488,
12,
2972,
20200,
1488,
1769,
202,
565,
333,
18,
1289,
20200,
4021,
12,
2972,
20200,
4021,
1769,
202,
565,
309,
261,
4148,
13,
2332,
18,
659,
18,
8222,
2932,
29669,
3096,
8863,
565,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
679,
2519,
1435,
288,
202,
565,
783,
694,
951,
49,
29466,
18,
1289,
29669,
12,
2972,
29669,
1769,
202,
377,
202,
565,
783,
20200,
1488,
18,
542,
694,
951,
49,
29466,
12,
2972,
694,
951,
49,
29466,
1769,
202,
565,
783,
20200,
4021,
18,
1289,
20200,
1488,
12,
2972,
20200,
1488,
1769,
202,
565,
333,
18,
1289,
20200,
4021,
12,
2972,
20200,
4021,
1769,
202,
565,
309,
261,
4148,
13,
2332,
18,
659,
18,
8222,
2932,
29669,
3096,
8863,
565,
289,
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
] |
}
|
}
|
public void doTag(XMLOutput output) throws Exception { if (log.isDebugEnabled()) { log.debug("running with items: " + items); } if (items != null) { Iterator iter = items.evaluateAsIterator(context); if (log.isDebugEnabled()) { log.debug("Iterating through: " + iter); } for (index = begin; iter.hasNext() && index < end; index += step) { Object value = iter.next(); if (var != null) { context.setVariable(var, value); } if (indexVar != null) { context.setVariable(indexVar, new Integer(index)); } getBody().run(context, output); } } }
|
51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/ed885dee7d315dcab3e18c17a0ba9823bcce7968/ForEachTag.java/clean/src/java/org/apache/commons/jelly/tags/core/ForEachTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
1805,
12,
4201,
1447,
876,
13,
1216,
1185,
288,
202,
202,
430,
261,
1330,
18,
291,
2829,
1526,
10756,
288,
1082,
202,
1330,
18,
4148,
2932,
8704,
598,
1516,
30,
315,
397,
1516,
1769,
202,
202,
97,
202,
202,
430,
261,
3319,
480,
446,
13,
288,
1082,
202,
3198,
1400,
273,
1516,
18,
21024,
1463,
3198,
12,
2472,
1769,
1082,
202,
430,
261,
1330,
18,
291,
2829,
1526,
10756,
288,
9506,
202,
1330,
18,
4148,
2932,
2360,
1776,
3059,
30,
315,
397,
1400,
1769,
1082,
202,
97,
1082,
202,
1884,
261,
1615,
273,
2376,
31,
1400,
18,
5332,
2134,
1435,
597,
770,
411,
679,
31,
770,
1011,
2235,
13,
288,
9506,
202,
921,
460,
273,
1400,
18,
4285,
5621,
9506,
202,
430,
261,
1401,
480,
446,
13,
288,
6862,
202,
2472,
18,
542,
3092,
12,
1401,
16,
460,
1769,
9506,
202,
97,
9506,
202,
430,
261,
1615,
1537,
480,
446,
13,
288,
6862,
202,
2472,
18,
542,
3092,
12,
1615,
1537,
16,
394,
2144,
12,
1615,
10019,
9506,
202,
97,
9506,
202,
588,
2250,
7675,
2681,
12,
2472,
16,
876,
1769,
1082,
202,
97,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
1805,
12,
4201,
1447,
876,
13,
1216,
1185,
288,
202,
202,
430,
261,
1330,
18,
291,
2829,
1526,
10756,
288,
1082,
202,
1330,
18,
4148,
2932,
8704,
598,
1516,
30,
315,
397,
1516,
1769,
202,
202,
97,
202,
202,
430,
261,
3319,
480,
446,
13,
288,
1082,
202,
3198,
1400,
273,
1516,
18,
21024,
1463,
3198,
12,
2472,
1769,
1082,
202,
430,
261,
1330,
18,
291,
2829,
1526,
10756,
288,
9506,
202,
1330,
18,
4148,
2932,
2360,
1776,
3059,
30,
315,
397,
1400,
1769,
1082,
202,
97,
1082,
202,
1884,
261,
1615,
273,
2376,
31,
1400,
18,
5332,
2134,
1435,
597,
770,
411,
679,
31,
770,
1011,
2235,
13,
288,
9506,
202,
921,
460,
2
] |
if (writer != null && writer.isPaused()) { return false; } this.watermark = watermark; return true;
|
if (writer != null && writer.isPaused()) { return false; } this.watermark = watermark; return true;
|
public boolean add(Watermark watermark) { if (writer != null && writer.isPaused()) { return false; } this.watermark = watermark; return true; }
|
3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/6288f051b807f9da0a0f308a00b5851da285b8fb/PdfDocument.java/clean/itext/src/com/lowagie/text/pdf/PdfDocument.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
527,
12,
19438,
14377,
13,
288,
3639,
309,
261,
6299,
480,
446,
597,
2633,
18,
291,
28590,
10756,
288,
5411,
327,
629,
31,
3639,
289,
3639,
333,
18,
91,
10003,
273,
14377,
31,
3639,
327,
638,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
527,
12,
19438,
14377,
13,
288,
3639,
309,
261,
6299,
480,
446,
597,
2633,
18,
291,
28590,
10756,
288,
5411,
327,
629,
31,
3639,
289,
3639,
333,
18,
91,
10003,
273,
14377,
31,
3639,
327,
638,
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
] |
contextData.popFrame(); }
|
public void onExit(Context cx, boolean byThrow, Object resultOrException) { if (db.breakOnReturn && !byThrow) { db.handleBreakpointHit(this, cx); } contextData.popFrame(); }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/677ac1cd7685aceb4fdd606aa3e6c9cea9f6d6cb/Main.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
603,
6767,
12,
1042,
9494,
16,
1250,
635,
8282,
16,
1033,
563,
1162,
503,
13,
288,
3639,
309,
261,
1966,
18,
8820,
1398,
990,
597,
401,
1637,
8282,
13,
288,
5411,
1319,
18,
4110,
20552,
13616,
12,
2211,
16,
9494,
1769,
3639,
289,
3639,
819,
751,
18,
5120,
3219,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
603,
6767,
12,
1042,
9494,
16,
1250,
635,
8282,
16,
1033,
563,
1162,
503,
13,
288,
3639,
309,
261,
1966,
18,
8820,
1398,
990,
597,
401,
1637,
8282,
13,
288,
5411,
1319,
18,
4110,
20552,
13616,
12,
2211,
16,
9494,
1769,
3639,
289,
3639,
819,
751,
18,
5120,
3219,
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
] |
|
void loadAggregations() {
|
boolean loadAggregations() { if (keys.isEmpty()) { return false; }
|
void loadAggregations() { AggregationManager.instance().loadAggregations(keys, pinnedSegments); }
|
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/2215c0130826fb9cf0f807dc520cac422d238974/RolapResult.java/clean/src/main/mondrian/rolap/RolapResult.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
6459,
1262,
6078,
1012,
1435,
288,
1082,
202,
12089,
1318,
18,
1336,
7675,
945,
6078,
1012,
12,
2452,
16,
26193,
7946,
1769,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
6459,
1262,
6078,
1012,
1435,
288,
1082,
202,
12089,
1318,
18,
1336,
7675,
945,
6078,
1012,
12,
2452,
16,
26193,
7946,
1769,
202,
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
] |
.setSelection(on == MarkerFilter.ON_SELECTED_RESOURCE_AND_CHILDREN);
|
.setSelection(on == MarkerFilter.ON_SELECTED_AND_CHILDREN);
|
protected void updateUIWithFilter(MarkerFilter filter) { setSelectedTypes(filter.getSelectedTypes()); int on = filter.getOnResource(); anyResourceButton.setSelection(on == MarkerFilter.ON_ANY_RESOURCE); anyResourceInSameProjectButton .setSelection(on == MarkerFilter.ON_ANY_RESOURCE_OF_SAME_PROJECT); selectedResourceButton .setSelection(on == MarkerFilter.ON_SELECTED_RESOURCE_ONLY); selectedResourceAndChildrenButton .setSelection(on == MarkerFilter.ON_SELECTED_RESOURCE_AND_CHILDREN); workingSetGroup.setSelection(on == MarkerFilter.ON_WORKING_SET); workingSetGroup.setWorkingSet(filter.getWorkingSet()); updateEnabledState(true); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/d429cef46040235ef9ac2442a0d7364d1bc73be0/DialogMarkerFilter.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerFilter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1089,
5370,
1190,
1586,
12,
7078,
1586,
1034,
13,
288,
202,
202,
542,
7416,
2016,
12,
2188,
18,
588,
7416,
2016,
10663,
3639,
509,
603,
273,
1034,
18,
588,
1398,
1420,
5621,
3639,
1281,
1420,
3616,
18,
542,
6233,
12,
265,
422,
14742,
1586,
18,
673,
67,
15409,
67,
11395,
1769,
3639,
1281,
1420,
382,
8650,
4109,
3616,
7734,
263,
542,
6233,
12,
265,
422,
14742,
1586,
18,
673,
67,
15409,
67,
11395,
67,
3932,
67,
29080,
67,
17147,
1769,
3639,
3170,
1420,
3616,
7734,
263,
542,
6233,
12,
265,
422,
14742,
1586,
18,
673,
67,
4803,
2056,
67,
11395,
67,
10857,
1769,
3639,
3170,
1420,
1876,
4212,
3616,
7734,
263,
542,
6233,
12,
265,
422,
14742,
1586,
18,
673,
67,
4803,
2056,
67,
4307,
67,
27043,
24296,
1769,
3639,
5960,
694,
1114,
18,
542,
6233,
12,
265,
422,
14742,
1586,
18,
673,
67,
10566,
1360,
67,
4043,
1769,
3639,
5960,
694,
1114,
18,
542,
14836,
694,
12,
2188,
18,
588,
14836,
694,
10663,
3639,
1089,
1526,
1119,
12,
3767,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
1117,
918,
1089,
5370,
1190,
1586,
12,
7078,
1586,
1034,
13,
288,
202,
202,
542,
7416,
2016,
12,
2188,
18,
588,
7416,
2016,
10663,
3639,
509,
603,
273,
1034,
18,
588,
1398,
1420,
5621,
3639,
1281,
1420,
3616,
18,
542,
6233,
12,
265,
422,
14742,
1586,
18,
673,
67,
15409,
67,
11395,
1769,
3639,
1281,
1420,
382,
8650,
4109,
3616,
7734,
263,
542,
6233,
12,
265,
422,
14742,
1586,
18,
673,
67,
15409,
67,
11395,
67,
3932,
67,
29080,
67,
17147,
1769,
3639,
3170,
1420,
3616,
7734,
263,
542,
6233,
12,
265,
422,
14742,
1586,
18,
673,
67,
4803,
2056,
67,
11395,
67,
10857,
1769,
3639,
3170,
1420,
1876,
4212,
3616,
7734,
263,
542,
6233,
12,
265,
2
] |
loop_over_basic_blocks:
|
void dump() { VM.sysWrite ("********* START OF SSA LOOP DUMP in OPT_AnnotatedLSTNode FOR " + ir.method + "\n"); if (isNonRegularLoop()) { VM.sysWrite("Non-regular"); } else if (isAffineLoop()) { VM.sysWrite("Affine"); } else if (isCountableLoop()) { VM.sysWrite("Countable"); } else { VM.sysWrite("INVALID"); } VM.sysWrite(" Loop:\n\tIteratorInstr: " + iteratorInstr.toString() + "\n\tIfCmpInstr:" + ifCmpInstr.toString() + "\n\tTerminalIteratorValue: " + terminalIteratorValue.toString() + "\n\tInitialIteratorValue: " + initialIteratorValue.toString() + "\n\tCarriedLoopIterator: " + carriedLoopIterator.toString() + "\n\tPhiLoopIterator: " + phiLoopIterator.toString() + "\n\tStrideValue: " + strideValue.toString() + "\n\tLoop: " + getBasicBlocks().toString() + " / " + loop.toString() + "\n"); OPT_BasicBlockEnumeration loopBlocks = getBasicBlocks(); loop_over_basic_blocks: while(loopBlocks.hasMoreElements()){ // The current basic block OPT_BasicBlock curLoopBB = loopBlocks.next(); dumpBlock(curLoopBB); } VM.sysWrite ("********* END OF SSA LOOP DUMP in OPT_AnnotatedLSTNode FOR " + ir.method + "\n"); }
|
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/e5123498d1a6680e6bfb6766a2b5591e2baf1fe6/OPT_AnnotatedLSTNode.java/clean/rvm/src/com/ibm/jikesrvm/opt/OPT_AnnotatedLSTNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
4657,
1435,
288,
565,
8251,
18,
9499,
3067,
7566,
1644,
14,
10485,
15932,
348,
5233,
1806,
3665,
463,
23942,
316,
16456,
67,
17985,
48,
882,
907,
12108,
315,
397,
9482,
18,
2039,
397,
1548,
82,
8863,
565,
309,
261,
291,
3989,
17974,
6452,
10756,
288,
1377,
8251,
18,
9499,
3067,
2932,
3989,
17,
16819,
8863,
565,
289,
565,
469,
309,
261,
291,
13785,
558,
6452,
10756,
288,
1377,
8251,
18,
9499,
3067,
2932,
13785,
558,
8863,
565,
289,
565,
469,
309,
261,
291,
1380,
429,
6452,
10756,
288,
1377,
8251,
18,
9499,
3067,
2932,
1380,
429,
8863,
565,
289,
565,
469,
288,
1377,
8251,
18,
9499,
3067,
2932,
9347,
8863,
565,
289,
565,
8251,
18,
9499,
3067,
2932,
9720,
5581,
82,
64,
88,
3198,
382,
701,
30,
315,
397,
2775,
382,
701,
18,
10492,
1435,
397,
7734,
1548,
82,
64,
88,
2047,
31832,
382,
701,
2773,
397,
309,
31832,
382,
701,
18,
10492,
1435,
397,
7734,
1548,
82,
64,
88,
11336,
3198,
620,
30,
315,
397,
8651,
3198,
620,
18,
10492,
1435,
397,
7734,
1548,
82,
64,
88,
4435,
3198,
620,
30,
315,
397,
2172,
3198,
620,
18,
10492,
1435,
397,
7734,
1548,
82,
64,
88,
16321,
24012,
6452,
3198,
30,
315,
397,
5926,
24012,
6452,
3198,
18,
10492,
1435,
397,
7734,
1548,
82,
64,
88,
31905,
6452,
3198,
30,
315,
397,
7706,
6452,
3198,
18,
10492,
1435,
397,
7734,
1548,
82,
64,
88,
1585,
831,
620,
30,
315,
397,
11084,
620,
18,
10492,
1435,
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,
918,
4657,
1435,
288,
565,
8251,
18,
9499,
3067,
7566,
1644,
14,
10485,
15932,
348,
5233,
1806,
3665,
463,
23942,
316,
16456,
67,
17985,
48,
882,
907,
12108,
315,
397,
9482,
18,
2039,
397,
1548,
82,
8863,
565,
309,
261,
291,
3989,
17974,
6452,
10756,
288,
1377,
8251,
18,
9499,
3067,
2932,
3989,
17,
16819,
8863,
565,
289,
565,
469,
309,
261,
291,
13785,
558,
6452,
10756,
288,
1377,
8251,
18,
9499,
3067,
2932,
13785,
558,
8863,
565,
289,
565,
469,
309,
261,
291,
1380,
429,
6452,
10756,
288,
1377,
8251,
18,
9499,
3067,
2932,
1380,
429,
8863,
565,
289,
565,
469,
288,
1377,
8251,
18,
9499,
3067,
2932,
9347,
8863,
565,
289,
565,
8251,
18,
9499,
3067,
2
] |
|
if (y <= 0) { if (y == 0) return one (); else throw new Error ("negative exponent"); } if (x.isZero ()) return x; int plen = x.words == null ? 1 : x.ival; int blen = ((x.intLength () * y) >> 5) + 2 * plen; boolean negative = x.isNegative () && (y & 1) != 0; int[] pow2 = new int [blen]; int[] rwords = new int [blen]; int[] work = new int [blen]; x.getAbsolute (pow2); int rlen = 1; rwords[0] = 1; for (;;) { if ((y & 1) != 0) { MPN.mul (work, pow2, plen, rwords, rlen); int[] temp = work; work = rwords; rwords = temp; rlen += plen; while (rwords[rlen-1] == 0) rlen--; } y >>= 1; if (y == 0) break; MPN.mul (work, pow2, plen, pow2, plen); int[] temp = work; work = pow2; pow2 = temp; plen *= 2; while (pow2[plen-1] == 0) plen--; } if (rwords[rlen-1] < 0) rlen++; if (negative) negate (rwords, rwords, rlen); return IntNum.make (rwords, rlen);
|
if (isOne()) return this; if (isMinusOne()) return y.isOdd () ? this : IntNum.one (); if (y.words == null && y.ival >= 0) return power (this, y.ival); if (isZero()) return y.isNegative () ? RatNum.infinity(-1) : (RatNum) this; return super.power (y);
|
public static IntNum power (IntNum x, int y) { if (y <= 0) { if (y == 0) return one (); else throw new Error ("negative exponent"); } if (x.isZero ()) return x; int plen = x.words == null ? 1 : x.ival; // Length of pow2. int blen = ((x.intLength () * y) >> 5) + 2 * plen; boolean negative = x.isNegative () && (y & 1) != 0; int[] pow2 = new int [blen]; int[] rwords = new int [blen]; int[] work = new int [blen]; x.getAbsolute (pow2); // pow2 = abs(x); int rlen = 1; rwords[0] = 1; // rwords = 1; for (;;) // for (i = 0; ; i++) { // pow2 == x**(2**i) // prod = x**(sum(j=0..i-1, (y>>j)&1)) if ((y & 1) != 0) { // r *= pow2 MPN.mul (work, pow2, plen, rwords, rlen); int[] temp = work; work = rwords; rwords = temp; rlen += plen; while (rwords[rlen-1] == 0) rlen--; } y >>= 1; if (y == 0) break; // pow2 *= pow2; MPN.mul (work, pow2, plen, pow2, plen); int[] temp = work; work = pow2; pow2 = temp; // swap to avoid a copy plen *= 2; while (pow2[plen-1] == 0) plen--; } if (rwords[rlen-1] < 0) rlen++; if (negative) negate (rwords, rwords, rlen); return IntNum.make (rwords, rlen); }
|
41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/0a93967f8fd105ee3b8e1067b6d6b3c9979828e5/IntNum.java/buggy/gnu/math/IntNum.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
3094,
2578,
7212,
261,
1702,
2578,
619,
16,
509,
677,
13,
225,
288,
565,
309,
261,
93,
1648,
374,
13,
1377,
288,
202,
430,
261,
93,
422,
374,
13,
202,
225,
327,
1245,
261,
1769,
202,
12107,
202,
225,
604,
394,
1068,
7566,
13258,
9100,
8863,
1377,
289,
565,
309,
261,
92,
18,
291,
7170,
1832,
13,
1377,
327,
619,
31,
565,
509,
886,
275,
273,
619,
18,
3753,
422,
446,
692,
404,
294,
619,
18,
5162,
31,
225,
368,
11311,
434,
7602,
22,
18,
565,
509,
324,
1897,
273,
14015,
92,
18,
474,
1782,
1832,
380,
677,
13,
1671,
1381,
13,
397,
576,
380,
886,
275,
31,
565,
1250,
6092,
273,
619,
18,
291,
14959,
1832,
597,
261,
93,
473,
404,
13,
480,
374,
31,
565,
509,
8526,
7602,
22,
273,
394,
509,
306,
70,
1897,
15533,
565,
509,
8526,
436,
3753,
273,
394,
509,
306,
70,
1897,
15533,
565,
509,
8526,
1440,
273,
394,
509,
306,
70,
1897,
15533,
565,
619,
18,
588,
10368,
261,
23509,
22,
1769,
202,
759,
7602,
22,
273,
2417,
12,
92,
1769,
565,
509,
436,
1897,
273,
404,
31,
565,
436,
3753,
63,
20,
65,
273,
404,
31,
368,
436,
3753,
273,
404,
31,
565,
364,
261,
25708,
13,
225,
368,
364,
261,
77,
273,
374,
31,
225,
274,
277,
27245,
1377,
288,
202,
759,
7602,
22,
422,
619,
636,
12,
22,
636,
77,
13,
202,
759,
10791,
273,
619,
636,
12,
1364,
12,
78,
33,
20,
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,
3094,
2578,
7212,
261,
1702,
2578,
619,
16,
509,
677,
13,
225,
288,
565,
309,
261,
93,
1648,
374,
13,
1377,
288,
202,
430,
261,
93,
422,
374,
13,
202,
225,
327,
1245,
261,
1769,
202,
12107,
202,
225,
604,
394,
1068,
7566,
13258,
9100,
8863,
1377,
289,
565,
309,
261,
92,
18,
291,
7170,
1832,
13,
1377,
327,
619,
31,
565,
509,
886,
275,
273,
619,
18,
3753,
422,
446,
692,
404,
294,
619,
18,
5162,
31,
225,
368,
11311,
434,
7602,
22,
18,
565,
509,
324,
1897,
273,
14015,
92,
18,
474,
1782,
1832,
380,
677,
13,
1671,
1381,
13,
397,
576,
380,
886,
275,
31,
565,
1250,
6092,
273,
619,
18,
291,
14959,
2
] |
log.info(LogManager.getHeader(context, "view_bitstream",
|
log.info(LogManager.getHeader(context, "view_html",
|
protected void doDSGet(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { Bitstream bitstream = null; // Get the ID from the URL String idString = request.getPathInfo(); String filename = ""; String handle = ""; if (idString != null) { // Remove leading slash if (idString.startsWith("/")) { idString = idString.substring(1); } // Get filename int slashIndex = idString.lastIndexOf('/'); if (slashIndex != -1) { filename = idString.substring(slashIndex + 1); filename = URLDecoder.decode(filename, Constants.DEFAULT_ENCODING); handle = idString.substring(0, slashIndex); } // If there's still a second slash, remove it and anything after it, // it might be a relative directory name slashIndex = handle.indexOf('/'); slashIndex = handle.indexOf('/', slashIndex + 1); if (slashIndex != -1) { handle = handle.substring(0, slashIndex); } /* Get entire relative path after handle, in case it * is actually the bitstream name. e.g. for item * with handle 1234.56/13, the URL for an item could be: * .../dspace/1234.56/13/sub1/sub2/foo.html * so return relative path: "sub1/sub2/foo.html" * Also translate any encoded slashes, etc. to match bitstream name. */ String relPath = null; slashIndex = idString.indexOf('/'); if (slashIndex != -1) { slashIndex = idString.indexOf('/', slashIndex + 1); if (slashIndex != -1) relPath = URLDecoder.decode(idString.substring(slashIndex + 1), Constants.DEFAULT_ENCODING); } // Find the corresponding bitstream try { boolean found = false; Item item = null; /* * If the original item doesn't have a Handle yet (because it's * in the workflow) what we actually have is a fake Handle in * the form: db-id/1234 where 1234 is the database ID of the * item. */ if (handle.startsWith("db-id")) { String dbIDString = handle .substring(handle.indexOf('/') + 1); int dbID = Integer.parseInt(dbIDString); item = Item.find(context, dbID); } else { item = (Item) HandleManager .resolveToObject(context, handle); } if (item == null) { log.info(LogManager.getHeader(context, "invalid_id", "path=" + handle)); JSPManager .showInvalidIDError(request, response, handle, -1); return; } if (relPath == null || (bitstream = getItemBitstreamByName(item, relPath)) == null) bitstream = getItemBitstreamByName(item, filename); } catch (NumberFormatException nfe) { // Invalid ID - this will be dealt with below } } // Did we get a bitstream? if (bitstream != null) { log.info(LogManager.getHeader(context, "view_bitstream", "bitstream_id=" + bitstream.getID())); // Set the response MIME type response.setContentType(bitstream.getFormat().getMIMEType()); // Response length response.setHeader("Content-Length", String.valueOf(bitstream .getSize())); // Pipe the bits InputStream is = bitstream.retrieve(); Utils.bufferedCopy(is, response.getOutputStream()); is.close(); response.getOutputStream().flush(); } else { // No bitstream - we got an invalid ID log.info(LogManager.getHeader(context, "view_bitstream", "invalid_bitstream_id=" + idString)); JSPManager.showInvalidIDError(request, response, idString, Constants.BITSTREAM); } }
|
51882 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51882/ef51d8b9a3e079c3f34f02104b02f987adc796a0/HTMLServlet.java/clean/dspace/src/org/dspace/app/webui/servlet/HTMLServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
3948,
967,
12,
1042,
819,
16,
9984,
590,
16,
5411,
12446,
766,
13,
1216,
16517,
16,
1860,
16,
5411,
6483,
16,
23859,
503,
565,
288,
3639,
6539,
3256,
28640,
273,
446,
31,
3639,
368,
968,
326,
1599,
628,
326,
1976,
3639,
514,
612,
780,
273,
590,
18,
588,
743,
966,
5621,
3639,
514,
1544,
273,
1408,
31,
3639,
514,
1640,
273,
1408,
31,
3639,
309,
261,
350,
780,
480,
446,
13,
3639,
288,
5411,
368,
3581,
7676,
9026,
5411,
309,
261,
350,
780,
18,
17514,
1190,
2932,
4898,
3719,
5411,
288,
7734,
612,
780,
273,
612,
780,
18,
28023,
12,
21,
1769,
5411,
289,
5411,
368,
968,
1544,
5411,
509,
9026,
1016,
273,
612,
780,
18,
2722,
31985,
2668,
2473,
1769,
5411,
309,
261,
12877,
1016,
480,
300,
21,
13,
5411,
288,
7734,
1544,
273,
612,
780,
18,
28023,
12,
12877,
1016,
397,
404,
1769,
7734,
1544,
273,
1976,
7975,
18,
3922,
12,
3459,
16,
13491,
5245,
18,
5280,
67,
14672,
1769,
7734,
1640,
273,
612,
780,
18,
28023,
12,
20,
16,
9026,
1016,
1769,
5411,
289,
5411,
368,
971,
1915,
1807,
4859,
279,
2205,
9026,
16,
1206,
518,
471,
6967,
1839,
518,
16,
5411,
368,
518,
4825,
506,
279,
3632,
1867,
508,
5411,
9026,
1016,
273,
1640,
18,
31806,
2668,
2473,
1769,
5411,
9026,
1016,
273,
1640,
18,
31806,
2668,
19,
2187,
9026,
1016,
397,
404,
1769,
5411,
309,
261,
12877,
1016,
480,
300,
21,
13,
5411,
288,
7734,
1640,
273,
1640,
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,
918,
741,
3948,
967,
12,
1042,
819,
16,
9984,
590,
16,
5411,
12446,
766,
13,
1216,
16517,
16,
1860,
16,
5411,
6483,
16,
23859,
503,
565,
288,
3639,
6539,
3256,
28640,
273,
446,
31,
3639,
368,
968,
326,
1599,
628,
326,
1976,
3639,
514,
612,
780,
273,
590,
18,
588,
743,
966,
5621,
3639,
514,
1544,
273,
1408,
31,
3639,
514,
1640,
273,
1408,
31,
3639,
309,
261,
350,
780,
480,
446,
13,
3639,
288,
5411,
368,
3581,
7676,
9026,
5411,
309,
261,
350,
780,
18,
17514,
1190,
2932,
4898,
3719,
5411,
288,
7734,
612,
780,
273,
612,
780,
18,
28023,
12,
21,
1769,
5411,
289,
5411,
368,
968,
1544,
5411,
509,
9026,
1016,
273,
612,
780,
2
] |
return ((p.voteType & Vetting.RES_BAD_MASK)>0); }
|
return (p.voteType == Vetting.RES_INSUFFICIENT) || (p.voteType == Vetting.RES_NO_VOTES); }
|
public boolean isMember(Pea p) { return ((p.voteType & Vetting.RES_BAD_MASK)>0); }
|
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/a129c0bb615c93f0edb07935960e0351194faa06/DataPod.java/clean/tools/java/org/unicode/cldr/web/DataPod.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
11794,
1071,
1250,
353,
4419,
12,
11227,
69,
293,
13,
288,
27573,
327,
14015,
84,
18,
25911,
559,
473,
776,
278,
1787,
18,
7031,
67,
16234,
67,
11704,
13,
34,
20,
1769,
18701,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
11794,
1071,
1250,
353,
4419,
12,
11227,
69,
293,
13,
288,
27573,
327,
14015,
84,
18,
25911,
559,
473,
776,
278,
1787,
18,
7031,
67,
16234,
67,
11704,
13,
34,
20,
1769,
18701,
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
] |
getRuntime().getCacheMap().remove(name, existingMethod);
|
getRuntime().getCacheMap().remove(name, existingMethod);
|
public void addMethod(String name, ICallable method) { if (this == getRuntime().getObject()) { getRuntime().secure(4); } if (getRuntime().getSafeLevel() >= 4 && !isTaint()) { throw getRuntime().newSecurityError("Insecure: can't define method"); } testFrozen("class/module"); // We can safely reference methods here instead of doing getMethods() since if we // are adding we are not using a IncludedModuleWrapper. synchronized(getMethods()) { // If we add a method which already is cached in this class, then we should update the // cachemap so it stays up to date. ICallable existingMethod = (ICallable) getMethods().remove(name); if (existingMethod != null) { getRuntime().getCacheMap().remove(name, existingMethod); } getMethods().put(name, method); } }
|
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/1278c5bb3507a052d150d814f15453542ae41aed/RubyModule.java/clean/src/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
18223,
12,
780,
508,
16,
467,
11452,
707,
13,
288,
3639,
309,
261,
2211,
422,
18814,
7675,
588,
921,
10756,
288,
5411,
18814,
7675,
8869,
12,
24,
1769,
3639,
289,
3639,
309,
261,
588,
5576,
7675,
588,
9890,
2355,
1435,
1545,
1059,
597,
401,
291,
29048,
10756,
288,
5411,
604,
18814,
7675,
2704,
4368,
668,
2932,
382,
8869,
30,
848,
1404,
4426,
707,
8863,
3639,
289,
3639,
1842,
42,
9808,
2932,
1106,
19,
2978,
8863,
3639,
368,
1660,
848,
15303,
2114,
2590,
2674,
3560,
434,
9957,
15429,
1435,
3241,
309,
732,
3639,
368,
854,
6534,
732,
854,
486,
1450,
279,
657,
7908,
3120,
3611,
18,
3639,
3852,
12,
588,
4712,
10756,
288,
5411,
368,
971,
732,
527,
279,
707,
1492,
1818,
353,
3472,
316,
333,
667,
16,
1508,
732,
1410,
1089,
326,
2398,
368,
7122,
25248,
1427,
518,
384,
8271,
731,
358,
1509,
18,
5411,
467,
11452,
2062,
1305,
273,
261,
45,
11452,
13,
15429,
7675,
4479,
12,
529,
1769,
5411,
309,
261,
11711,
1305,
480,
446,
13,
288,
377,
202,
3639,
18814,
7675,
588,
1649,
863,
7675,
4479,
12,
529,
16,
2062,
1305,
1769,
5411,
289,
5411,
15429,
7675,
458,
12,
529,
16,
707,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
18223,
12,
780,
508,
16,
467,
11452,
707,
13,
288,
3639,
309,
261,
2211,
422,
18814,
7675,
588,
921,
10756,
288,
5411,
18814,
7675,
8869,
12,
24,
1769,
3639,
289,
3639,
309,
261,
588,
5576,
7675,
588,
9890,
2355,
1435,
1545,
1059,
597,
401,
291,
29048,
10756,
288,
5411,
604,
18814,
7675,
2704,
4368,
668,
2932,
382,
8869,
30,
848,
1404,
4426,
707,
8863,
3639,
289,
3639,
1842,
42,
9808,
2932,
1106,
19,
2978,
8863,
3639,
368,
1660,
848,
15303,
2114,
2590,
2674,
3560,
434,
9957,
15429,
1435,
3241,
309,
732,
3639,
368,
854,
6534,
732,
854,
486,
1450,
279,
657,
7908,
3120,
3611,
18,
3639,
3852,
12,
588,
4712,
10756,
288,
5411,
368,
971,
732,
2
] |
"JPEG image - probably not dangerous", false, null, null));
|
"JPEG image - probably not dangerous but can contain EXIF data", false, null, null));
|
public static void init() { // Register known MIME types // Plain text register(new MIMEType("text/plain", "txt", new String[0], new String[] { "text", "pot" }, true, true, null, null, false, false, false, false, false, false, "Plain text - not dangerous unless your browser is stupid (e.g. Internet Explorer)", "Plain text - not dangerous unless you include compromizing information", true, "US-ASCII", null)); // GIF - probably safe - FIXME check this out, write filters register(new MIMEType("image/gif", "gif", new String[0], new String[0], true, false, null, null, false, false, false, false, false, false, "GIF image - probably not dangerous", "GIF image - probably not dangerous but you should wipe any comments", false, null, null)); // JPEG - probably safe - FIXME check this out, write filters register(new MIMEType("image/jpeg", "jpeg", new String[0], new String[] { "jpg" }, true, true, null, null, false, false, false, false, false, false, "JPEG image - probably not dangerous", "JPEG image - probably not dangerous", false, null, null)); // PNG - probably safe - FIXME check this out, write filters register(new MIMEType("image/png", "png", new String[0], new String[0], true, false, null, null, false, false, false, false, true, false, "PNG image - probably not dangerous", "PNG image - probably not dangerous but you should wipe any comments or text blocks", false, null, null)); // PDF - very dangerous - FIXME ideally we would have a filter, this is such a common format... register(new MIMEType("application/pdf", "pdf", new String[] { "application/x-pdf" }, new String[0], false, false, null, null, true, true, true, false, true, true, "Adobe(R) PDF document - VERY DANGEROUS!", "Adobe(R) PDF document - VERY DANGEROUS!", false, null, null)); // HTML - dangerous if not filtered register(new MIMEType("text/html", "html", new String[] { "text/xhtml", "text/xml+xhtml" }, new String[] { "htm" }, false, false /* maybe? */, new HTMLFilter(), null /* FIXME */, true, true, true, true, true, true, "HTML - not dangerous if filtered", "HTML - may contain dangerous metadata etc; suggest you check it by hand", true, "iso-8859-1", new HTMLFilter())); // CSS - danagerous if not filtered, not sure about the filter register(new MIMEType("text/css", "css", new String[0], new String[0], false, false /* unknown */, new CSSReadFilter(), null, true, true, true, true, true, false, "CSS (cascading style sheet, usually used with HTML) - probably not dangerous if filtered, but the filter is not a whitelist filter so take care", "CSS (cascading style sheet, usually used with HTML) - this can probably contain metadata, check it by hand", true, "utf-8", new CSSReadFilter())); }
|
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/43f61cab7c740ee019ecaae1577095dbc9928eb2/ContentFilter.java/clean/src/freenet/clients/http/filter/ContentFilter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1208,
1435,
288,
202,
202,
759,
5433,
4846,
13195,
1953,
9506,
202,
759,
17367,
977,
202,
202,
4861,
12,
2704,
13195,
559,
2932,
955,
19,
7446,
3113,
315,
5830,
3113,
394,
514,
63,
20,
6487,
394,
514,
8526,
288,
315,
955,
3113,
315,
13130,
6,
19879,
9506,
202,
3767,
16,
638,
16,
446,
16,
446,
16,
629,
16,
629,
16,
629,
16,
629,
16,
629,
16,
629,
16,
4697,
202,
6,
13360,
977,
300,
486,
27308,
1481,
3308,
3433,
4748,
353,
384,
416,
350,
261,
73,
18,
75,
18,
21352,
1312,
11766,
2225,
16,
9506,
202,
6,
13360,
977,
300,
486,
27308,
1481,
3308,
1846,
2341,
1161,
520,
6894,
1779,
3113,
9506,
202,
3767,
16,
315,
3378,
17,
13756,
3113,
446,
10019,
9506,
202,
759,
31978,
300,
8656,
4183,
300,
9852,
866,
333,
596,
16,
1045,
3415,
3196,
202,
4861,
12,
2704,
13195,
559,
2932,
2730,
19,
13905,
3113,
315,
13905,
3113,
394,
514,
63,
20,
6487,
394,
514,
63,
20,
6487,
4697,
202,
3767,
16,
629,
16,
446,
16,
446,
16,
629,
16,
629,
16,
629,
16,
629,
16,
629,
16,
629,
16,
9506,
202,
6,
43,
5501,
1316,
300,
8656,
486,
27308,
1481,
3113,
9506,
202,
6,
43,
5501,
1316,
300,
8656,
486,
27308,
1481,
1496,
1846,
1410,
341,
3151,
1281,
5678,
3113,
9506,
202,
5743,
16,
446,
16,
446,
10019,
9506,
202,
759,
28038,
300,
8656,
4183,
300,
9852,
866,
333,
596,
16,
1045,
3415,
202,
202,
4861,
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,
482,
760,
918,
1208,
1435,
288,
202,
202,
759,
5433,
4846,
13195,
1953,
9506,
202,
759,
17367,
977,
202,
202,
4861,
12,
2704,
13195,
559,
2932,
955,
19,
7446,
3113,
315,
5830,
3113,
394,
514,
63,
20,
6487,
394,
514,
8526,
288,
315,
955,
3113,
315,
13130,
6,
19879,
9506,
202,
3767,
16,
638,
16,
446,
16,
446,
16,
629,
16,
629,
16,
629,
16,
629,
16,
629,
16,
629,
16,
4697,
202,
6,
13360,
977,
300,
486,
27308,
1481,
3308,
3433,
4748,
353,
384,
416,
350,
261,
73,
18,
75,
18,
21352,
1312,
11766,
2225,
16,
9506,
202,
6,
13360,
977,
300,
486,
27308,
1481,
3308,
1846,
2341,
1161,
520,
6894,
1779,
3113,
9506,
202,
3767,
2
] |
mau.setAuCachedUrlSet(cus);
|
mau.addUrl(url1);
|
public void setUp() throws Exception { super.setUp(); getMockLockssDaemon().getAlertManager(); mau = new MockArchivalUnit(); crawlRule = new MockCrawlRule(); crawlRule.addUrlToCrawl(url1); spec = new CrawlSpec(startUrls, crawlRule); cus = new MockCachedUrlSet(mau, null); cus.addUrl(url1); mau.setAuCachedUrlSet(cus); mau.setPlugin(new MockPlugin()); List repairUrls = ListUtil.list(url1); crawler = new RepairCrawler(mau, spec, aus, repairUrls, 0); }
|
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/1daae17bba467f29e3575dfd082f58a6511a6679/TestRepairCrawler.java/buggy/test/src/org/lockss/crawler/TestRepairCrawler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
24292,
1435,
1216,
1185,
288,
565,
2240,
18,
542,
1211,
5621,
565,
2108,
975,
2531,
1049,
12858,
7675,
588,
13298,
1318,
5621,
565,
312,
8377,
273,
394,
7867,
12269,
5162,
2802,
5621,
565,
23182,
2175,
273,
394,
7867,
39,
15161,
2175,
5621,
565,
23182,
2175,
18,
1289,
1489,
774,
39,
15161,
12,
718,
21,
1769,
565,
857,
273,
394,
385,
15161,
1990,
12,
1937,
10509,
16,
23182,
2175,
1769,
565,
27964,
273,
394,
7867,
9839,
1489,
694,
12,
2540,
89,
16,
446,
1769,
565,
27964,
18,
1289,
1489,
12,
718,
21,
1769,
565,
312,
8377,
18,
1289,
1489,
12,
718,
21,
1769,
565,
312,
8377,
18,
542,
3773,
12,
2704,
7867,
3773,
10663,
565,
987,
20994,
10509,
273,
987,
1304,
18,
1098,
12,
718,
21,
1769,
565,
18588,
273,
394,
868,
6017,
21342,
12,
2540,
89,
16,
857,
16,
279,
407,
16,
20994,
10509,
16,
374,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
24292,
1435,
1216,
1185,
288,
565,
2240,
18,
542,
1211,
5621,
565,
2108,
975,
2531,
1049,
12858,
7675,
588,
13298,
1318,
5621,
565,
312,
8377,
273,
394,
7867,
12269,
5162,
2802,
5621,
565,
23182,
2175,
273,
394,
7867,
39,
15161,
2175,
5621,
565,
23182,
2175,
18,
1289,
1489,
774,
39,
15161,
12,
718,
21,
1769,
565,
857,
273,
394,
385,
15161,
1990,
12,
1937,
10509,
16,
23182,
2175,
1769,
565,
27964,
273,
394,
7867,
9839,
1489,
694,
12,
2540,
89,
16,
446,
1769,
565,
27964,
18,
1289,
1489,
12,
718,
21,
1769,
565,
312,
8377,
18,
1289,
1489,
12,
718,
21,
1769,
565,
312,
8377,
18,
542,
3773,
12,
2704,
7867,
3773,
10663,
565,
987,
20994,
2
] |
"Lorg/mozilla/javascript/Scriptable;)",
|
"Lorg/mozilla/javascript/Scriptable;Z)",
|
private void generatePrologue(Context cx, Node tree, boolean inFunction, int directParameterCount) { funObjLocal = reserveWordLocal(0); contextLocal = reserveWordLocal(1); variableObjectLocal = reserveWordLocal(2); thisObjLocal = reserveWordLocal(3); if (directParameterCount > 0) { for (int i = 0; i < (3 * directParameterCount); i++) reserveWordLocal(i + 4); // reserve 'args' } // reserve 'args[]' argsLocal = reserveWordLocal(directParameterCount <= 0 ? 4 : (3 * directParameterCount) + 4); // These locals are to be pre-allocated since they need function scope. // They are primarily used by the exception handling mechanism Integer localCount = (Integer)(tree.getProp(Node.LOCALCOUNT_PROP)); if (localCount != null) { itsLocalAllocationBase = (short)(argsLocal + 1); for (int i = 0; i < localCount.intValue(); i++) { reserveWordLocal(itsLocalAllocationBase + i); } } hasVarsInRegs = inFunction && !((OptFunctionNode)tree).requiresActivation(); if (hasVarsInRegs) { // No need to create activation. Pad arguments if need be. int parmCount = vars.getParameterCount(); if (inFunction && parmCount > 0 && directParameterCount < 0) { // Set up args array // check length of arguments, pad if need be aload(argsLocal); addByteCode(ByteCode.ARRAYLENGTH); push(parmCount); int label = acquireLabel(); addByteCode(ByteCode.IF_ICMPGE, label); aload(argsLocal); push(parmCount); addScriptRuntimeInvoke("padArguments", "([Ljava/lang/Object;I)", "[Ljava/lang/Object;"); astore(argsLocal); markLabel(label); } // REMIND - only need to initialize the vars that don't get a value // before the next call and are used in the function short firstUndefVar = -1; for (int i = 0; i < vars.size(); i++) { OptLocalVariable lVar = (OptLocalVariable) vars.get(i); if (lVar.isNumber()) { lVar.assignJRegister(getNewWordPairLocal()); push(0.0); dstore(lVar.getJRegister()); } else if (lVar.isParameter()) { if (directParameterCount < 0) { lVar.assignJRegister(getNewWordLocal()); aload(argsLocal); push(i); addByteCode(ByteCode.AALOAD); astore(lVar.getJRegister()); } } else { lVar.assignJRegister(getNewWordLocal()); if (firstUndefVar == -1) { pushUndefined(); firstUndefVar = lVar.getJRegister(); } else { aload(firstUndefVar); } astore(lVar.getJRegister()); } lVar.setStartPC(classFile.getCurrentCodeOffset()); } // Indicate that we should generate debug information for // the variable table. (If we're generating debug info at // all.) debugVars = vars; // Skip creating activation object. return; } if (directParameterCount > 0) { // We're going to create an activation object, so we // need to get an args array with all the arguments in it. aload(argsLocal); push(directParameterCount); addOptRuntimeInvoke("padStart", "([Ljava/lang/Object;I)", "[Ljava/lang/Object;"); astore(argsLocal); for (int i=0; i < directParameterCount; i++) { aload(argsLocal); push(i); // "3" is 1 for Object parm and 2 for double parm, and // "4" is to account for the context, etc. parms aload((short) (3*i+4)); addByteCode(ByteCode.AASTORE); } } String debugVariableName; if (inFunction) { aload(contextLocal); aload(variableObjectLocal); aload(funObjLocal); aload(thisObjLocal); aload(argsLocal); addScriptRuntimeInvoke("initVarObj", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/NativeFunction;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)", "Lorg/mozilla/javascript/Scriptable;"); debugVariableName = "activation"; } else { aload(contextLocal); aload(variableObjectLocal); aload(funObjLocal); aload(thisObjLocal); addScriptRuntimeInvoke("initScript", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/NativeFunction;" + "Lorg/mozilla/javascript/Scriptable;)", "Lorg/mozilla/javascript/Scriptable;"); debugVariableName = "global"; } astore(variableObjectLocal); if (cx.isGeneratingDebug()) { debugVars = new OptVariableTable(); debugVars.addLocal(debugVariableName); OptLocalVariable lv = (OptLocalVariable) debugVars.get(debugVariableName); lv.assignJRegister(variableObjectLocal); lv.setStartPC(classFile.getCurrentCodeOffset()); } if (!inFunction) { // OPT: use dataflow to prove that this assignment is dead scriptResultLocal = getNewWordLocal(); pushUndefined(); astore(scriptResultLocal); } if (inFunction && ((OptFunctionNode)tree).containsCalls(-1)) { if (((OptFunctionNode)tree).containsCalls(0)) { itsZeroArgArray = getNewWordLocal(); classFile.add(ByteCode.GETSTATIC, "org/mozilla/javascript/ScriptRuntime", "emptyArgs", "[Ljava/lang/Object;"); astore(itsZeroArgArray); } if (((OptFunctionNode)tree).containsCalls(1)) { itsOneArgArray = getNewWordLocal(); push(1); addByteCode(ByteCode.ANEWARRAY, "java/lang/Object"); astore(itsOneArgArray); } } if (debugLevel > 0) { // XXX is 0 correct? // setup the local for 'pc' with a default value debug_pcLocal = getNewWordLocal(); addByteCode(ByteCode.ICONST_0); istore(debug_pcLocal); if (debugLevel >= 6) { debugStopSubLabel = acquireLabel(); generateDebugStopSubroutine(); } } }
|
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/e9d1f871b7b4a5283b53bbf6d6b04b6fb23d8394/Codegen.java/clean/js/rhino/org/mozilla/javascript/optimizer/Codegen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
626,
1330,
344,
12,
1042,
9494,
16,
2029,
2151,
16,
1250,
316,
2083,
16,
21394,
509,
2657,
1662,
1380,
13,
565,
288,
3639,
9831,
2675,
2042,
273,
20501,
3944,
2042,
12,
20,
1769,
3639,
819,
2042,
273,
20501,
3944,
2042,
12,
21,
1769,
3639,
2190,
921,
2042,
273,
20501,
3944,
2042,
12,
22,
1769,
3639,
15261,
2042,
273,
20501,
3944,
2042,
12,
23,
1769,
3639,
309,
261,
7205,
1662,
1380,
405,
374,
13,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
261,
23,
380,
2657,
1662,
1380,
1769,
277,
27245,
7734,
20501,
3944,
2042,
12,
77,
397,
1059,
1769,
9079,
368,
20501,
296,
1968,
11,
3639,
289,
3639,
368,
20501,
296,
1968,
63,
3864,
3639,
833,
2042,
273,
20501,
3944,
2042,
12,
7205,
1662,
1380,
1648,
374,
19694,
692,
1059,
294,
261,
23,
380,
2657,
1662,
1380,
13,
397,
1059,
1769,
3639,
368,
8646,
8985,
854,
358,
506,
675,
17,
28172,
3241,
2898,
1608,
445,
2146,
18,
3639,
368,
16448,
854,
15610,
10243,
1399,
635,
326,
1520,
5057,
12860,
3639,
2144,
1191,
1380,
273,
261,
4522,
21433,
3413,
18,
588,
4658,
12,
907,
18,
14922,
7240,
67,
15811,
10019,
3639,
309,
261,
3729,
1380,
480,
446,
13,
288,
5411,
2097,
2042,
17353,
2171,
273,
261,
6620,
21433,
1968,
2042,
397,
404,
1769,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1191,
1380,
18,
474,
620,
5621,
277,
27245,
288,
7734,
20501,
3944,
2042,
12,
1282,
2042,
17353,
2171,
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,
918,
2103,
626,
1330,
344,
12,
1042,
9494,
16,
2029,
2151,
16,
1250,
316,
2083,
16,
21394,
509,
2657,
1662,
1380,
13,
565,
288,
3639,
9831,
2675,
2042,
273,
20501,
3944,
2042,
12,
20,
1769,
3639,
819,
2042,
273,
20501,
3944,
2042,
12,
21,
1769,
3639,
2190,
921,
2042,
273,
20501,
3944,
2042,
12,
22,
1769,
3639,
15261,
2042,
273,
20501,
3944,
2042,
12,
23,
1769,
3639,
309,
261,
7205,
1662,
1380,
405,
374,
13,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
261,
23,
380,
2657,
1662,
1380,
1769,
277,
27245,
7734,
20501,
3944,
2042,
12,
77,
397,
1059,
1769,
9079,
368,
20501,
296,
1968,
11,
3639,
289,
3639,
368,
20501,
296,
1968,
2
] |
if(pubKey == null) pubKey = node.getKey(((NodeSSK)key).getPubKeyHash());
|
public void run() { if((key instanceof NodeSSK) && (pubKey == null)) { pubKey = ((NodeSSK)key).getPubKey(); if(pubKey == null) pubKey = node.getKey(((NodeSSK)key).getPubKeyHash()); } short origHTL = htl; node.addRequestSender(key, htl, this); HashSet nodesRoutedTo = new HashSet(); HashSet nodesNotIgnored = new HashSet(); try { while(true) { Logger.minor(this, "htl="+htl); if(htl == 0) { // RNF // Would be DNF if arrived with no HTL // But here we've already routed it and that's been rejected. finish(ROUTE_NOT_FOUND, null); return; } // Route it PeerNode next; double nextValue; next = node.peers.closerPeer(source, nodesRoutedTo, nodesNotIgnored, target, true); if(next != null) nextValue = next.getLocation().getValue(); else nextValue = -1.0; if(next == null) { // Backtrack finish(ROUTE_NOT_FOUND, null); return; } Logger.minor(this, "Routing request to "+next); nodesRoutedTo.add(next); if(PeerManager.distance(target, nextValue) > PeerManager.distance(target, nearestLoc)) { htl = node.decrementHTL(source, htl); Logger.minor(this, "Backtracking: target="+target+" next="+nextValue+" closest="+nearestLoc+" so htl="+htl); } Message req = createDataRequest(); next.send(req, this); Message msg = null; while(true) { /** * What are we waiting for? * FNPAccepted - continue * FNPRejectedLoop - go to another node * FNPRejectedOverload - fail (propagates back to source, * then reduces source transmit rate) */ MessageFilter mfAccepted = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(ACCEPTED_TIMEOUT).setType(DMT.FNPAccepted); MessageFilter mfRejectedLoop = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(ACCEPTED_TIMEOUT).setType(DMT.FNPRejectedLoop); MessageFilter mfRejectedOverload = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(ACCEPTED_TIMEOUT).setType(DMT.FNPRejectedOverload); // mfRejectedOverload must be the last thing in the or // So its or pointer remains null // Otherwise we need to recreate it below MessageFilter mf = mfAccepted.or(mfRejectedLoop.or(mfRejectedOverload)); try { msg = node.usm.waitFor(mf, this); Logger.minor(this, "first part got "+msg); } catch (DisconnectedException e) { Logger.normal(this, "Disconnected from "+next+" while waiting for Accepted on "+uid); break; } if(msg == null) { Logger.minor(this, "Timeout waiting for Accepted"); // Timeout waiting for Accepted next.localRejectedOverload("AcceptedTimeout"); forwardRejectedOverload(); // Try next node break; } if(msg.getSpec() == DMT.FNPRejectedLoop) { Logger.minor(this, "Rejected loop"); next.successNotOverload(); // Find another node to route to break; } if(msg.getSpec() == DMT.FNPRejectedOverload) { Logger.minor(this, "Rejected: overload"); // Non-fatal - probably still have time left forwardRejectedOverload(); if (msg.getBoolean(DMT.IS_LOCAL)) { Logger.minor(this, "Is local"); next.localRejectedOverload("ForwardRejectedOverload"); Logger.minor(this, "Local RejectedOverload, moving on to next peer"); // Give up on this one, try another break; } continue; } if(msg.getSpec() != DMT.FNPAccepted) { Logger.error(this, "Unrecognized message: "+msg); continue; } break; } if((msg == null) || (msg.getSpec() != DMT.FNPAccepted)) { // Try another node continue; } Logger.minor(this, "Got Accepted"); // Otherwise, must be Accepted // So wait... while(true) { MessageFilter mfDNF = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(FETCH_TIMEOUT).setType(DMT.FNPDataNotFound); MessageFilter mfDF = makeDataFoundFilter(next); MessageFilter mfRouteNotFound = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(FETCH_TIMEOUT).setType(DMT.FNPRouteNotFound); MessageFilter mfRejectedOverload = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(FETCH_TIMEOUT).setType(DMT.FNPRejectedOverload); MessageFilter mfPubKey = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(FETCH_TIMEOUT).setType(DMT.FNPSSKPubKey); MessageFilter mfRealDFCHK = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(FETCH_TIMEOUT).setType(DMT.FNPCHKDataFound); MessageFilter mfRealDFSSK = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(FETCH_TIMEOUT).setType(DMT.FNPSSKDataFound); MessageFilter mf = mfDNF.or(mfRouteNotFound.or(mfRejectedOverload.or(mfDF.or(mfPubKey.or(mfRealDFCHK.or(mfRealDFSSK)))))); try { msg = node.usm.waitFor(mf, this); } catch (DisconnectedException e) { Logger.normal(this, "Disconnected from "+next+" while waiting for data on "+uid); break; } Logger.minor(this, "second part got "+msg); if(msg == null) { // Fatal timeout next.localRejectedOverload("FatalTimeout"); forwardRejectedOverload(); finish(TIMED_OUT, next); return; } if(msg.getSpec() == DMT.FNPDataNotFound) { next.successNotOverload(); finish(DATA_NOT_FOUND, next); return; } if(msg.getSpec() == DMT.FNPRouteNotFound) { // Backtrack within available hops short newHtl = msg.getShort(DMT.HTL); if(newHtl < htl) htl = newHtl; next.successNotOverload(); break; } if(msg.getSpec() == DMT.FNPRejectedOverload) { // Non-fatal - probably still have time left forwardRejectedOverload(); if (msg.getBoolean(DMT.IS_LOCAL)) { next.localRejectedOverload("ForwardRejectedOverload2"); Logger.minor(this, "Local RejectedOverload, moving on to next peer"); // Give up on this one, try another break; } continue; // Wait for any further response } if(msg.getSpec() == DMT.FNPCHKDataFound) { if(!(key instanceof NodeCHK)) { Logger.error(this, "Got "+msg+" but expected a different key type from "+next); break; } // Found data next.successNotOverload(); // First get headers headers = ((ShortBuffer)msg.getObject(DMT.BLOCK_HEADERS)).getData(); // FIXME: Validate headers node.addTransferringSender((NodeCHK)key, this); try { prb = new PartiallyReceivedBlock(Node.PACKETS_IN_BLOCK, Node.PACKET_SIZE); synchronized(this) { notifyAll(); } BlockReceiver br = new BlockReceiver(node.usm, next, uid, prb, this); try { Logger.minor(this, "Receiving data"); byte[] data = br.receive(); Logger.minor(this, "Received data"); // Received data try { verifyAndCommit(data); } catch (KeyVerifyException e1) { Logger.normal(this, "Got data but verify failed: "+e1, e1); finish(VERIFY_FAILURE, next); return; } finish(SUCCESS, next); return; } catch (RetrievalException e) { Logger.normal(this, "Transfer failed: "+e, e); finish(TRANSFER_FAILED, next); return; } } finally { node.removeTransferringSender((NodeCHK)key, this); } } if(msg.getSpec() == DMT.FNPSSKPubKey) { Logger.minor(this, "Got pubkey on "+uid); if(!(key instanceof NodeSSK)) { Logger.error(this, "Got "+msg+" but expected a different key type from "+next); break; } byte[] pubkeyAsBytes = ((ShortBuffer)msg.getObject(DMT.PUBKEY_AS_BYTES)).getData(); try { if(pubKey == null) pubKey = new DSAPublicKey(pubkeyAsBytes); ((NodeSSK)key).setPubKey(pubKey); } catch (SSKVerifyException e) { pubKey = null; Logger.error(this, "Invalid pubkey from "+source+" on "+uid+" ("+e.getMessage()+")", e); break; // try next node } catch (IOException e) { Logger.error(this, "Invalid pubkey from "+source+" on "+uid+" ("+e+")"); break; // try next node } if(sskData != null) { finishSSK(next); return; } continue; } if(msg.getSpec() == DMT.FNPSSKDataFound) { Logger.minor(this, "Got data on "+uid); if(!(key instanceof NodeSSK)) { Logger.error(this, "Got "+msg+" but expected a different key type from "+next); break; } headers = ((ShortBuffer)msg.getObject(DMT.BLOCK_HEADERS)).getData(); sskData = ((ShortBuffer)msg.getObject(DMT.DATA)).getData(); if(pubKey != null) { finishSSK(next); return; } continue; } Logger.error(this, "Unexpected message: "+msg); } } } catch (Throwable t) { Logger.error(this, "Caught "+t, t); finish(INTERNAL_ERROR, null); } finally { Logger.minor(this, "Leaving RequestSender.run() for "+uid); node.completed(uid); node.removeRequestSender(key, origHTL, this); } }
|
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/9ea509d6b77109eb95d09ad3d429f5c67c98b90b/RequestSender.java/buggy/src/freenet/node/RequestSender.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
309,
12443,
856,
1276,
2029,
1260,
47,
13,
597,
261,
10174,
653,
422,
446,
3719,
288,
540,
202,
10174,
653,
273,
14015,
907,
1260,
47,
13,
856,
2934,
588,
17924,
5621,
540,
202,
430,
12,
10174,
653,
422,
446,
13,
540,
202,
202,
10174,
653,
273,
756,
18,
588,
653,
12443,
12,
907,
1260,
47,
13,
856,
2934,
588,
17924,
2310,
10663,
3639,
289,
7734,
3025,
1647,
5062,
48,
273,
366,
6172,
31,
3639,
756,
18,
1289,
691,
12021,
12,
856,
16,
366,
6172,
16,
333,
1769,
3639,
6847,
2199,
4583,
329,
774,
273,
394,
6847,
5621,
3639,
6847,
2199,
1248,
15596,
273,
394,
6847,
5621,
3639,
775,
288,
3639,
1323,
12,
3767,
13,
288,
5411,
4242,
18,
17364,
12,
2211,
16,
315,
647,
80,
1546,
15,
647,
80,
1769,
5411,
309,
12,
647,
80,
422,
374,
13,
288,
7734,
368,
534,
26473,
7734,
368,
678,
1006,
506,
18001,
42,
309,
2454,
2950,
598,
1158,
25052,
7734,
368,
12484,
2674,
732,
8081,
1818,
3237,
329,
518,
471,
716,
1807,
2118,
11876,
18,
7734,
4076,
12,
30334,
67,
4400,
67,
9294,
16,
446,
1769,
7734,
327,
31,
5411,
289,
13491,
368,
5179,
518,
5411,
10669,
907,
1024,
31,
5411,
1645,
1024,
620,
31,
5411,
1024,
273,
756,
18,
30502,
18,
27736,
6813,
12,
3168,
16,
2199,
4583,
329,
774,
16,
2199,
1248,
15596,
16,
1018,
16,
638,
1769,
5411,
309,
12,
4285,
480,
446,
13,
7734,
1024,
620,
273,
1024,
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,
918,
1086,
1435,
288,
3639,
309,
12443,
856,
1276,
2029,
1260,
47,
13,
597,
261,
10174,
653,
422,
446,
3719,
288,
540,
202,
10174,
653,
273,
14015,
907,
1260,
47,
13,
856,
2934,
588,
17924,
5621,
540,
202,
430,
12,
10174,
653,
422,
446,
13,
540,
202,
202,
10174,
653,
273,
756,
18,
588,
653,
12443,
12,
907,
1260,
47,
13,
856,
2934,
588,
17924,
2310,
10663,
3639,
289,
7734,
3025,
1647,
5062,
48,
273,
366,
6172,
31,
3639,
756,
18,
1289,
691,
12021,
12,
856,
16,
366,
6172,
16,
333,
1769,
3639,
6847,
2199,
4583,
329,
774,
273,
394,
6847,
5621,
3639,
6847,
2199,
1248,
15596,
273,
394,
6847,
5621,
3639,
775,
288,
3639,
1323,
12,
2
] |
|
return TypeUtil.unqualifiedName(col.getClassDescriptor().getClassName()) + "Id";
|
if (FieldDescriptor.M_N_RELATION != col.relationType()) { throw new IllegalArgumentException("Argument must be a CollectionDescriptor for a " + "many-to-many relation"); } return StringUtil.capitalise(col.getName());
|
public static String getInwardIndirectionColumnName(CollectionDescriptor col) { return TypeUtil.unqualifiedName(col.getClassDescriptor().getClassName()) + "Id"; }
|
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/8da52abda0586ab303c44e8616649940b585a666/DatabaseUtil.java/buggy/intermine/src/java/org/intermine/util/DatabaseUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
7854,
2913,
3866,
2769,
8516,
12,
2532,
3187,
645,
13,
288,
3639,
309,
261,
974,
3187,
18,
49,
67,
50,
67,
27822,
480,
645,
18,
5488,
559,
10756,
288,
604,
394,
2754,
2932,
1379,
1297,
506,
279,
2200,
3187,
364,
279,
315,
397,
315,
9353,
17,
869,
17,
9353,
2533,
8863,
289,
225,
327,
14205,
18,
5909,
7053,
784,
12,
1293,
18,
17994,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
514,
7854,
2913,
3866,
2769,
8516,
12,
2532,
3187,
645,
13,
288,
3639,
309,
261,
974,
3187,
18,
49,
67,
50,
67,
27822,
480,
645,
18,
5488,
559,
10756,
288,
604,
394,
2754,
2932,
1379,
1297,
506,
279,
2200,
3187,
364,
279,
315,
397,
315,
9353,
17,
869,
17,
9353,
2533,
8863,
289,
225,
327,
14205,
18,
5909,
7053,
784,
12,
1293,
18,
17994,
10663,
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
] |
else
|
else
|
private void serverMessageReceived(ServerMessage msg) { if(msg instanceof NodeChangeServerMessage) { nodeChangeMessageReceived( (NodeChangeServerMessage) msg); } else if(msg instanceof ClientInitServerMessage) { initMessageReceived( (ClientInitServerMessage) msg); } else if (msg instanceof ConnectionRefusedMessage) { m_connectionRefusedError = ((ConnectionRefusedMessage) msg).getError(); shutDown(); } else throw new IllegalArgumentException("Unknown server messgae:" + msg); }
|
8909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8909/b26bdbc72e2a108cc505375e4fc3b24203d4c0f3/ClientMessenger.java/clean/triplea/src/games/strategy/net/ClientMessenger.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1438,
1079,
8872,
12,
2081,
1079,
1234,
13,
202,
95,
202,
202,
430,
12,
3576,
1276,
2029,
3043,
2081,
1079,
13,
202,
202,
95,
1082,
202,
2159,
3043,
1079,
8872,
12,
261,
907,
3043,
2081,
1079,
13,
1234,
1769,
202,
202,
97,
202,
202,
12107,
309,
12,
3576,
1276,
2445,
2570,
2081,
1079,
13,
202,
202,
95,
1082,
202,
2738,
1079,
8872,
12,
261,
1227,
2570,
2081,
1079,
13,
1234,
1769,
202,
202,
97,
202,
202,
12107,
309,
261,
3576,
1276,
4050,
1957,
3668,
1079,
13,
202,
202,
95,
1082,
202,
81,
67,
4071,
1957,
3668,
668,
273,
14015,
1952,
1957,
3668,
1079,
13,
1234,
2934,
588,
668,
5621,
1082,
202,
674,
322,
4164,
5621,
202,
202,
97,
202,
202,
12107,
1875,
202,
12849,
394,
2754,
2932,
4874,
1438,
12755,
75,
8906,
2773,
397,
1234,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1438,
1079,
8872,
12,
2081,
1079,
1234,
13,
202,
95,
202,
202,
430,
12,
3576,
1276,
2029,
3043,
2081,
1079,
13,
202,
202,
95,
1082,
202,
2159,
3043,
1079,
8872,
12,
261,
907,
3043,
2081,
1079,
13,
1234,
1769,
202,
202,
97,
202,
202,
12107,
309,
12,
3576,
1276,
2445,
2570,
2081,
1079,
13,
202,
202,
95,
1082,
202,
2738,
1079,
8872,
12,
261,
1227,
2570,
2081,
1079,
13,
1234,
1769,
202,
202,
97,
202,
202,
12107,
309,
261,
3576,
1276,
4050,
1957,
3668,
1079,
13,
202,
202,
95,
1082,
202,
81,
67,
4071,
1957,
3668,
668,
273,
14015,
1952,
1957,
3668,
1079,
13,
1234,
2934,
588,
668,
5621,
1082,
202,
674,
322,
4164,
5621,
2
] |
System.out.println("\t"+plg_str);
|
System.out.println("\t" + plg_str);
|
public static void main(String[] args) throws SQLException { String mlng_str = "MULTILINESTRING ((10 10 0,20 10 0,20 20 0,20 10 0,10 10 0),(5 5 0,5 6 0,6 6 0,6 5 0,5 5 0))"; String mplg_str = "MULTIPOLYGON (((10 10 0,20 10 0,20 20 0,20 10 0,10 10 0),(5 5 0,5 6 0,6 6 0,6 5 0,5 5 0)),((10 10 0,20 10 0,20 20 0,20 10 0,10 10 0),(5 5 0,5 6 0,6 6 0,6 5 0,5 5 0)))"; String plg_str = "POLYGON ((10 10 0,20 10 0,20 20 0,20 10 0,10 10 0),(5 5 0,5 6 0,6 6 0,6 5 0,5 5 0))"; String lng_str = "LINESTRING (10 10 20,20 20 20, 50 50 50, 34 34 34)"; String ptg_str = "POINT(10 10 20)"; String lr_str = "(10 10 20,34 34 34, 23 19 23 , 10 10 11)"; System.out.println("LinearRing Test:"); System.out.println("\t"+lr_str); LinearRing lr = new LinearRing(lr_str); System.out.println("\t"+lr.toString()); System.out.println(); System.out.println("Point Test:"); System.out.println("\t"+ptg_str); Point ptg = new Point(ptg_str); System.out.println("\t"+ptg.toString()); System.out.println(); System.out.println("LineString Test:"); System.out.println("\t"+lng_str); LineString lng = new LineString(lng_str); System.out.println("\t"+lng.toString()); System.out.println(); System.out.println("Polygon Test:"); System.out.println("\t"+plg_str); Polygon plg = new Polygon(plg_str); System.out.println("\t"+plg.toString()); System.out.println(); System.out.println("MultiPolygon Test:"); System.out.println("\t"+mplg_str); MultiPolygon mplg = new MultiPolygon(mplg_str); System.out.println("\t"+mplg.toString()); System.out.println(); System.out.println("MultiLineString Test:"); System.out.println("\t"+mlng_str); MultiLineString mlng = new MultiLineString(mlng_str); System.out.println("\t"+mlng.toString()); System.out.println(); System.out.println("PG Test:"); System.out.println("\t"+mlng_str); PGgeometry pgf = new PGgeometry(mlng_str); System.out.println("\t"+pgf.toString()); System.out.println(); System.out.println("finished"); }
|
4075 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4075/7c60f02794a42ad5611a832e1a25971002a5d371/Test.java/clean/jdbc2/src/examples/Test.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
6483,
288,
3639,
514,
312,
19700,
67,
701,
273,
315,
12845,
30690,
5804,
14015,
2163,
1728,
374,
16,
3462,
1728,
374,
16,
3462,
4200,
374,
16,
3462,
1728,
374,
16,
2163,
1728,
374,
3631,
12,
25,
1381,
374,
16,
25,
1666,
374,
16,
26,
1666,
374,
16,
26,
1381,
374,
16,
25,
1381,
374,
30743,
31,
3639,
514,
18476,
75,
67,
701,
273,
315,
24683,
1741,
30317,
673,
261,
12443,
2163,
1728,
374,
16,
3462,
1728,
374,
16,
3462,
4200,
374,
16,
3462,
1728,
374,
16,
2163,
1728,
374,
3631,
12,
25,
1381,
374,
16,
25,
1666,
374,
16,
26,
1666,
374,
16,
26,
1381,
374,
16,
25,
1381,
374,
13,
3631,
12443,
2163,
1728,
374,
16,
3462,
1728,
374,
16,
3462,
4200,
374,
16,
3462,
1728,
374,
16,
2163,
1728,
374,
3631,
12,
25,
1381,
374,
16,
25,
1666,
374,
16,
26,
1666,
374,
16,
26,
1381,
374,
16,
25,
1381,
374,
3719,
2225,
31,
3639,
514,
886,
75,
67,
701,
273,
315,
14232,
30317,
673,
14015,
2163,
1728,
374,
16,
3462,
1728,
374,
16,
3462,
4200,
374,
16,
3462,
1728,
374,
16,
2163,
1728,
374,
3631,
12,
25,
1381,
374,
16,
25,
1666,
374,
16,
26,
1666,
374,
16,
26,
1381,
374,
16,
25,
1381,
374,
30743,
31,
3639,
514,
12662,
67,
701,
273,
315,
5997,
5804,
225,
261,
2163,
1728,
4200,
16,
3462,
4200,
4200,
16,
6437,
6437,
6437,
16,
13438,
13438,
13438,
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,
918,
2774,
12,
780,
8526,
833,
13,
1216,
6483,
288,
3639,
514,
312,
19700,
67,
701,
273,
315,
12845,
30690,
5804,
14015,
2163,
1728,
374,
16,
3462,
1728,
374,
16,
3462,
4200,
374,
16,
3462,
1728,
374,
16,
2163,
1728,
374,
3631,
12,
25,
1381,
374,
16,
25,
1666,
374,
16,
26,
1666,
374,
16,
26,
1381,
374,
16,
25,
1381,
374,
30743,
31,
3639,
514,
18476,
75,
67,
701,
273,
315,
24683,
1741,
30317,
673,
261,
12443,
2163,
1728,
374,
16,
3462,
1728,
374,
16,
3462,
4200,
374,
16,
3462,
1728,
374,
16,
2163,
1728,
374,
3631,
12,
25,
1381,
374,
16,
25,
1666,
374,
16,
26,
1666,
374,
16,
26,
1381,
374,
16,
25,
2
] |
if (_response != null) { InputStream is = _response.getContentStream(); if (is != null && is instanceof CopyInputStream) { try { if (is.available()>0) { while (is.read() > 0); } } catch (IOException ioe) { System.out.println("Error flushing the conversation : " + ioe); } _response.setContent(((CopyInputStream) is).toByteArray()); _response.setContentStream(null); } }
|
public Response getResponse() { if (_response != null) { InputStream is = _response.getContentStream(); if (is != null && is instanceof CopyInputStream) { try { if (is.available()>0) { while (is.read() > 0); } } catch (IOException ioe) { System.out.println("Error flushing the conversation : " + ioe); } _response.setContent(((CopyInputStream) is).toByteArray()); _response.setContentStream(null); } } return _response; }
|
31053 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31053/780b730cde6b4e1953b9e34e788adfd5c162fcff/ConversationRecorder.java/buggy/src/org/owasp/webscarab/plugin/proxy/ConversationRecorder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2306,
6476,
1435,
288,
3639,
309,
261,
67,
2740,
480,
446,
13,
288,
5411,
5037,
353,
273,
389,
2740,
18,
588,
1350,
1228,
5621,
5411,
309,
261,
291,
480,
446,
597,
353,
1276,
5631,
4348,
13,
288,
7734,
775,
288,
10792,
309,
261,
291,
18,
5699,
1435,
34,
20,
13,
288,
13491,
1323,
261,
291,
18,
896,
1435,
405,
374,
1769,
10792,
289,
7734,
289,
1044,
261,
14106,
10847,
13,
288,
10792,
2332,
18,
659,
18,
8222,
2932,
668,
30121,
326,
10039,
294,
315,
397,
10847,
1769,
7734,
289,
7734,
389,
2740,
18,
542,
1350,
12443,
12,
2951,
4348,
13,
353,
2934,
869,
8826,
10663,
7734,
389,
2740,
18,
542,
1350,
1228,
12,
2011,
1769,
5411,
289,
3639,
289,
3639,
327,
389,
2740,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2306,
6476,
1435,
288,
3639,
309,
261,
67,
2740,
480,
446,
13,
288,
5411,
5037,
353,
273,
389,
2740,
18,
588,
1350,
1228,
5621,
5411,
309,
261,
291,
480,
446,
597,
353,
1276,
5631,
4348,
13,
288,
7734,
775,
288,
10792,
309,
261,
291,
18,
5699,
1435,
34,
20,
13,
288,
13491,
1323,
261,
291,
18,
896,
1435,
405,
374,
1769,
10792,
289,
7734,
289,
1044,
261,
14106,
10847,
13,
288,
10792,
2332,
18,
659,
18,
8222,
2932,
668,
30121,
326,
10039,
294,
315,
397,
10847,
1769,
7734,
289,
7734,
389,
2740,
18,
542,
1350,
12443,
12,
2951,
4348,
13,
353,
2934,
869,
8826,
10663,
7734,
389,
2740,
18,
542,
1350,
1228,
12,
2011,
1769,
5411,
289,
2
] |
|
this.streamInput = input; this.streamOutput = output;
|
input = new Channel(Float.TYPE, 2); output = new Channel(Float.TYPE, 1);
|
public void init(final int N, final int W) { this.add(new SplitJoin() { public void init() { this.setSplitter(WEIGHTED_ROUND_ROBIN(N, N)); this.add(new Filter() { Channel input = new Channel(Float.TYPE, 1); Channel output = new Channel(Float.TYPE, 1); //float weights[] = new float[W]; int curr; public void init() { //for (int i=0; i<W; i++) // weights[i] = calcWeight(i, N, W); curr = 0; } public void initIO() { this.streamInput = input; this.streamOutput = output; } private float calcWeight(int a, int b, int c) { return 1; } public void work() { output.pushFloat(input.popFloat()* 2); //weights[curr++]); if(curr>= W) curr = 0; } }); this.add(new IdentityFloat()); this.setJoiner(ROUND_ROBIN()); }}); this.add(new SplitJoin() { public void init() { this.setSplitter(DUPLICATE()); this.add(new Filter() { Channel input = new Channel(Float.TYPE, 2); Channel output = new Channel(Float.TYPE, 1); public void initIO () { this.streamInput = input; this.streamOutput = output; } public void init () { } public void work() { output.pushFloat(input.popFloat() - input.popFloat()); } }); this.add(new Filter() { Channel input = new Channel(Float.TYPE, 2); Channel output = new Channel(Float.TYPE, 1); public void initIO () { this.streamInput = input; this.streamOutput = output; } public void init () { } public void work() { output.pushFloat(input.popFloat() + input.popFloat()); } }); this.setJoiner(WEIGHTED_ROUND_ROBIN(N, N)); }}); }}
|
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/e4e63e1768c1661823f004fc6e0b62737906e716/FFT.java/clean/streams/apps/benchmarks/fft/streamit/FFT.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
12,
6385,
509,
423,
16,
727,
509,
678,
13,
288,
3639,
333,
18,
1289,
12,
2704,
5385,
4572,
1435,
288,
7734,
1071,
918,
1208,
1435,
288,
10792,
333,
18,
542,
26738,
12,
6950,
16055,
6404,
67,
15092,
67,
1457,
12615,
12,
50,
16,
423,
10019,
10792,
333,
18,
1289,
12,
2704,
4008,
1435,
288,
18701,
5307,
810,
273,
394,
5307,
12,
4723,
18,
2399,
16,
404,
1769,
18701,
5307,
876,
273,
394,
5307,
12,
4723,
18,
2399,
16,
404,
1769,
18701,
368,
5659,
5376,
8526,
273,
394,
1431,
63,
59,
15533,
18701,
509,
4306,
31,
18701,
1071,
918,
1208,
1435,
288,
27573,
368,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
59,
31,
277,
27245,
27573,
368,
565,
5376,
63,
77,
65,
273,
7029,
6544,
12,
77,
16,
423,
16,
678,
1769,
27573,
4306,
273,
374,
31,
18701,
289,
18701,
1071,
918,
1208,
4294,
1435,
288,
27573,
333,
18,
3256,
1210,
273,
810,
31,
27573,
333,
18,
3256,
1447,
273,
876,
31,
18701,
289,
18701,
3238,
1431,
7029,
6544,
12,
474,
279,
16,
509,
324,
16,
509,
276,
13,
288,
27573,
327,
404,
31,
18701,
289,
18701,
1071,
918,
1440,
1435,
288,
27573,
876,
18,
6206,
4723,
12,
2630,
18,
5120,
4723,
1435,
14,
4766,
1171,
576,
1769,
368,
9727,
63,
17016,
9904,
19226,
27573,
309,
12,
17016,
34,
33,
678,
13,
4306,
273,
374,
31,
18701,
289,
13491,
15549,
10792,
333,
18,
1289,
12,
2704,
7808,
4723,
10663,
10792,
333,
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,
918,
1208,
12,
6385,
509,
423,
16,
727,
509,
678,
13,
288,
3639,
333,
18,
1289,
12,
2704,
5385,
4572,
1435,
288,
7734,
1071,
918,
1208,
1435,
288,
10792,
333,
18,
542,
26738,
12,
6950,
16055,
6404,
67,
15092,
67,
1457,
12615,
12,
50,
16,
423,
10019,
10792,
333,
18,
1289,
12,
2704,
4008,
1435,
288,
18701,
5307,
810,
273,
394,
5307,
12,
4723,
18,
2399,
16,
404,
1769,
18701,
5307,
876,
273,
394,
5307,
12,
4723,
18,
2399,
16,
404,
1769,
18701,
368,
5659,
5376,
8526,
273,
394,
1431,
63,
59,
15533,
18701,
509,
4306,
31,
18701,
1071,
918,
1208,
1435,
288,
27573,
368,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
59,
31,
277,
2
] |
super(Kinds.NONE, Position.NOPOS, Names.NOSYMBOL, null, 0, 0);
|
super(Kinds.NONE, null, Position.NOPOS, 0, Names.NOSYMBOL, 0);
|
public NoSymbol() { super(Kinds.NONE, Position.NOPOS, Names.NOSYMBOL, null, 0, 0); super.setInfo(Type.NoType); }
|
1156 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1156/3ec2af254866c60389b3fd304c14d1137b9cf4c8/Symbol.java/buggy/sources/scalac/symtab/Symbol.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2631,
5335,
1435,
288,
3639,
2240,
12,
5677,
87,
18,
9826,
16,
446,
16,
11010,
18,
3417,
7057,
16,
374,
16,
5276,
18,
3417,
22093,
16,
374,
1769,
3639,
2240,
18,
542,
966,
12,
559,
18,
2279,
559,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2631,
5335,
1435,
288,
3639,
2240,
12,
5677,
87,
18,
9826,
16,
446,
16,
11010,
18,
3417,
7057,
16,
374,
16,
5276,
18,
3417,
22093,
16,
374,
1769,
3639,
2240,
18,
542,
966,
12,
559,
18,
2279,
559,
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
] |
GL gl = getGL(); if (rect && !gl.isExtensionAvailable("GL_NV_texture_rectangle")) { System.err.println("WindowsPbufferGLContext: WARNING: GL_NV_texture_rectangle extension not " + "supported; skipping requested render_to_texture_rectangle support for pbuffer"); rect = false;
|
if (!gl.isExtensionAvailable("WGL_ARB_render_texture")) { System.err.println("WindowsPbufferGLContext: WARNING: WGL_ARB_render_texture extension not " + "supported; implementing render_to_texture support using slow texture readback"); } else { hasRTT = true; GL gl = getGL(); if (rect && !gl.isExtensionAvailable("GL_NV_texture_rectangle")) { System.err.println("WindowsPbufferGLContext: WARNING: GL_NV_texture_rectangle extension not " + "supported; skipping requested render_to_texture_rectangle support for pbuffer"); rect = false; } if (rect) { if (DEBUG) { System.err.println(" Using render-to-texture-rectangle"); } textureTarget = GL.GL_TEXTURE_RECTANGLE_NV; } else { if (DEBUG) { System.err.println(" Using vanilla render-to-texture"); } textureTarget = GL.GL_TEXTURE_2D; } int[] tmp = new int[1]; gl.glGenTextures(1, tmp); texture = tmp[0]; gl.glBindTexture(textureTarget, texture); gl.glTexParameteri(textureTarget, GL.GL_TEXTURE_MIN_FILTER, GL.GL_NEAREST); gl.glTexParameteri(textureTarget, GL.GL_TEXTURE_MAG_FILTER, GL.GL_NEAREST); gl.glTexParameteri(textureTarget, GL.GL_TEXTURE_WRAP_S, GL.GL_CLAMP_TO_EDGE); gl.glTexParameteri(textureTarget, GL.GL_TEXTURE_WRAP_T, GL.GL_CLAMP_TO_EDGE); gl.glCopyTexImage2D(textureTarget, 0, GL.GL_RGB, 0, 0, width, height, 0);
|
protected synchronized boolean makeCurrent(Runnable initAction) throws GLException { created = false; if (buffer == 0) { // pbuffer not instantiated yet return false; } boolean res = super.makeCurrent(initAction); if (created) { // Initialize render-to-texture support if requested rtt = capabilities.getOffscreenRenderToTexture(); rect = capabilities.getOffscreenRenderToTextureRectangle(); if (rtt) { if (DEBUG) { System.err.println("Initializing render-to-texture support"); } GL gl = getGL(); if (rect && !gl.isExtensionAvailable("GL_NV_texture_rectangle")) { System.err.println("WindowsPbufferGLContext: WARNING: GL_NV_texture_rectangle extension not " + "supported; skipping requested render_to_texture_rectangle support for pbuffer"); rect = false; } if (rect) { if (DEBUG) { System.err.println(" Using render-to-texture-rectangle"); } textureTarget = GL.GL_TEXTURE_RECTANGLE_NV; } else { if (DEBUG) { System.err.println(" Using vanilla render-to-texture"); } textureTarget = GL.GL_TEXTURE_2D; } int[] tmp = new int[1]; gl.glGenTextures(1, tmp); texture = tmp[0]; gl.glBindTexture(textureTarget, texture); gl.glTexParameteri(textureTarget, GL.GL_TEXTURE_MIN_FILTER, GL.GL_NEAREST); gl.glTexParameteri(textureTarget, GL.GL_TEXTURE_MAG_FILTER, GL.GL_NEAREST); gl.glTexParameteri(textureTarget, GL.GL_TEXTURE_WRAP_S, GL.GL_CLAMP_TO_EDGE); gl.glTexParameteri(textureTarget, GL.GL_TEXTURE_WRAP_T, GL.GL_CLAMP_TO_EDGE); gl.glCopyTexImage2D(textureTarget, 0, GL.GL_RGB, 0, 0, width, height, 0); } } return res; }
|
46278 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46278/d4647dc1d9020f9c7bec2fac06dbb0424cb11c29/WindowsPbufferGLContext.java/buggy/src/net/java/games/jogl/impl/windows/WindowsPbufferGLContext.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
3852,
1250,
1221,
3935,
12,
20013,
1208,
1803,
13,
1216,
10252,
503,
288,
565,
2522,
273,
629,
31,
565,
309,
261,
4106,
422,
374,
13,
288,
1377,
368,
293,
4106,
486,
17651,
4671,
1377,
327,
629,
31,
565,
289,
565,
1250,
400,
273,
2240,
18,
6540,
3935,
12,
2738,
1803,
1769,
565,
309,
261,
4824,
13,
288,
1377,
368,
9190,
1743,
17,
869,
17,
955,
594,
2865,
309,
3764,
1377,
31525,
225,
273,
12359,
18,
588,
7210,
9252,
3420,
774,
10967,
5621,
1377,
4917,
273,
12359,
18,
588,
7210,
9252,
3420,
774,
10967,
19463,
5621,
1377,
309,
261,
86,
748,
13,
288,
3639,
309,
261,
9394,
13,
288,
1850,
2332,
18,
370,
18,
8222,
2932,
29782,
1743,
17,
869,
17,
955,
594,
2865,
8863,
3639,
289,
3639,
10252,
5118,
273,
7162,
48,
5621,
3639,
309,
261,
2607,
597,
401,
7043,
18,
291,
3625,
5268,
2932,
11261,
67,
11679,
67,
955,
594,
67,
2607,
4341,
6,
3719,
288,
1850,
2332,
18,
370,
18,
8222,
2932,
10399,
52,
4106,
11261,
1042,
30,
9744,
30,
10252,
67,
11679,
67,
955,
594,
67,
2607,
4341,
2710,
486,
315,
397,
11794,
315,
4127,
31,
14195,
3764,
1743,
67,
869,
67,
955,
594,
67,
2607,
4341,
2865,
364,
293,
4106,
8863,
1850,
4917,
273,
629,
31,
3639,
289,
3639,
309,
261,
2607,
13,
288,
1850,
309,
261,
9394,
13,
288,
5411,
2332,
18,
370,
18,
8222,
2932,
225,
11637,
1743,
17,
869,
17,
955,
594,
17,
2607,
4341,
8863,
1850,
289,
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,
3852,
1250,
1221,
3935,
12,
20013,
1208,
1803,
13,
1216,
10252,
503,
288,
565,
2522,
273,
629,
31,
565,
309,
261,
4106,
422,
374,
13,
288,
1377,
368,
293,
4106,
486,
17651,
4671,
1377,
327,
629,
31,
565,
289,
565,
1250,
400,
273,
2240,
18,
6540,
3935,
12,
2738,
1803,
1769,
565,
309,
261,
4824,
13,
288,
1377,
368,
9190,
1743,
17,
869,
17,
955,
594,
2865,
309,
3764,
1377,
31525,
225,
273,
12359,
18,
588,
7210,
9252,
3420,
774,
10967,
5621,
1377,
4917,
273,
12359,
18,
588,
7210,
9252,
3420,
774,
10967,
19463,
5621,
1377,
309,
261,
86,
748,
13,
288,
3639,
309,
261,
9394,
13,
288,
1850,
2332,
18,
370,
18,
8222,
2932,
29782,
1743,
2
] |
static Map getAllNamespaces ( Cur c, Map filleMe ) { assert c.isNode(); c.push(); if (!c.isContainer()) c.toParent(); assert c.isContainer(); do { QName cName = c.getName(); while ( c.toNextAttr() ) { if (c.isXmlns()) { String prefix = c.getXmlnsPrefix(); String uri = c.getXmlnsUri(); // Here I check to see if there is a default namespace // mapping which is not empty on a non root container which // is in a namespace. This this case, I do not want to add // this mapping because it could not be persisted out this // way. if (prefix.length() == 0 && uri.length() > 0 && cName != null && cName.getNamespaceURI().length() > 0) { continue; } if (filleMe == null) filleMe = new HashMap(); if (!filleMe.containsKey( prefix )) filleMe.put( prefix, uri ); } } if (!c.isContainer()) c.toParentRaw(); } while ( c.toParentRaw() ); c.pop(); return filleMe; }
|
3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/6a1584bb1ad8f163dc69272874712dc74f03660e/Locale.java/buggy/src/store/org/apache/xmlbeans/impl/store/Locale.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1635,
5514,
13180,
261,
7251,
276,
16,
1635,
661,
298,
4667,
262,
565,
288,
3639,
1815,
276,
18,
291,
907,
5621,
7734,
276,
18,
6206,
5621,
3639,
309,
16051,
71,
18,
291,
2170,
10756,
5411,
276,
18,
869,
3054,
5621,
7734,
1815,
276,
18,
291,
2170,
5621,
3639,
741,
3639,
288,
5411,
16723,
276,
461,
273,
276,
18,
17994,
5621,
5411,
1323,
261,
276,
18,
869,
2134,
3843,
1435,
262,
5411,
288,
7734,
309,
261,
71,
18,
291,
4432,
2387,
10756,
7734,
288,
10792,
514,
1633,
273,
276,
18,
588,
4432,
2387,
2244,
5621,
10792,
514,
2003,
565,
273,
276,
18,
588,
4432,
2387,
3006,
5621,
4766,
3639,
368,
13743,
467,
866,
358,
2621,
309,
1915,
353,
279,
805,
1981,
10792,
368,
2874,
1492,
353,
486,
1008,
603,
279,
1661,
1365,
1478,
1492,
10792,
368,
353,
316,
279,
1981,
18,
225,
1220,
333,
648,
16,
467,
741,
486,
2545,
358,
527,
10792,
368,
333,
2874,
2724,
518,
3377,
486,
506,
14249,
596,
333,
10792,
368,
4031,
18,
10792,
309,
261,
3239,
18,
2469,
1435,
422,
374,
597,
2003,
18,
2469,
1435,
405,
374,
597,
18701,
276,
461,
480,
446,
597,
276,
461,
18,
588,
3402,
3098,
7675,
2469,
1435,
405,
374,
13,
10792,
288,
13491,
1324,
31,
10792,
289,
10792,
309,
261,
7540,
298,
4667,
422,
446,
13,
13491,
661,
298,
4667,
273,
394,
4317,
5621,
10792,
309,
16051,
7540,
298,
4667,
18,
12298,
653,
12,
1633,
8623,
13491,
661,
298,
4667,
18,
458,
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,
760,
1635,
5514,
13180,
261,
7251,
276,
16,
1635,
661,
298,
4667,
262,
565,
288,
3639,
1815,
276,
18,
291,
907,
5621,
7734,
276,
18,
6206,
5621,
3639,
309,
16051,
71,
18,
291,
2170,
10756,
5411,
276,
18,
869,
3054,
5621,
7734,
1815,
276,
18,
291,
2170,
5621,
3639,
741,
3639,
288,
5411,
16723,
276,
461,
273,
276,
18,
17994,
5621,
5411,
1323,
261,
276,
18,
869,
2134,
3843,
1435,
262,
5411,
288,
7734,
309,
261,
71,
18,
291,
4432,
2387,
10756,
7734,
288,
10792,
514,
1633,
273,
276,
18,
588,
4432,
2387,
2244,
5621,
10792,
514,
2003,
565,
273,
276,
18,
588,
4432,
2387,
3006,
5621,
4766,
3639,
368,
13743,
467,
866,
358,
2621,
309,
1915,
353,
2
] |
||
if(myLogger.isLoggable(Logger.INFO)) myLogger.log(Logger.INFO,"BIBEDispatcher Thread terminated");
|
if(myLogger.isLoggable(Logger.FINE)) myLogger.log(Logger.FINE,myID+" - BIBEDispatcher Thread terminated");
|
public void run() { lastResponse = null; int status = 0; //myLogger.log("BIBEDispatcher thread started", 2); if(myLogger.isLoggable(Logger.INFO)) myLogger.log(Logger.INFO,"BIBEDispatcher thread started"); while (active) { try { while (active) { status = 0; Connection outConnection = outHolder.getConnection(); if (outConnection != null) { JICPPacket pkt = readPacket(outConnection); status = 1; pkt = handlePacket(pkt); if (pkt != null) { status = 2; outConnection.writePacket(pkt); status = 3; } } else { handlePeerExited("Max disconnection timeout expired"); } } } catch (IOException ioe) { if (active) { //myLogger.log("IOException OC["+status+"]"+ioe, 2); if(myLogger.isLoggable(Logger.WARNING)) myLogger.log(Logger.WARNING,"IOException OC["+status+"]"+ioe); outHolder.resetConnection(); } } } //myLogger.log("BIBEDispatcher Thread terminated", 1); if(myLogger.isLoggable(Logger.INFO)) myLogger.log(Logger.INFO,"BIBEDispatcher Thread terminated"); }
|
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/7212a3e7161a7c9169d76f052d8e7660480e0507/BIBEDispatcher.java/clean/leap/src/jade/imtp/leap/JICP/BIBEDispatcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1086,
1435,
288,
282,
202,
2722,
1064,
273,
446,
31,
282,
202,
474,
1267,
273,
374,
31,
202,
202,
759,
4811,
3328,
18,
1330,
2932,
31558,
5948,
6681,
2650,
5746,
3113,
576,
1769,
7734,
309,
12,
4811,
3328,
18,
291,
1343,
8455,
12,
3328,
18,
5923,
3719,
10402,
3399,
3328,
18,
1330,
12,
3328,
18,
5923,
10837,
31558,
5948,
6681,
2650,
5746,
8863,
282,
202,
17523,
261,
3535,
13,
288,
21114,
202,
698,
288,
9506,
202,
17523,
261,
3535,
13,
288,
6862,
202,
2327,
273,
374,
31,
6862,
202,
1952,
596,
1952,
273,
596,
6064,
18,
588,
1952,
5621,
6862,
202,
430,
261,
659,
1952,
480,
446,
13,
288,
25083,
202,
46,
2871,
52,
6667,
11536,
273,
855,
6667,
12,
659,
1952,
1769,
25083,
202,
2327,
273,
404,
31,
25083,
202,
5465,
88,
273,
1640,
6667,
12,
5465,
88,
1769,
25083,
202,
430,
261,
5465,
88,
480,
446,
13,
288,
6862,
1082,
202,
2327,
273,
576,
31,
1082,
282,
9506,
202,
659,
1952,
18,
2626,
6667,
12,
5465,
88,
1769,
1082,
282,
9506,
202,
2327,
273,
890,
31,
25083,
202,
97,
6862,
202,
97,
6862,
202,
12107,
288,
6862,
565,
1640,
6813,
6767,
329,
2932,
2747,
1015,
4071,
2021,
7708,
8863,
6862,
202,
97,
26924,
202,
97,
21114,
202,
97,
21114,
202,
14683,
261,
14106,
10847,
13,
288,
9506,
202,
430,
261,
3535,
13,
288,
282,
9506,
202,
759,
4811,
3328,
18,
1330,
2932,
14106,
531,
39,
9614,
15,
2327,
9078,
4279,
15,
1594,
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,
918,
1086,
1435,
288,
282,
202,
2722,
1064,
273,
446,
31,
282,
202,
474,
1267,
273,
374,
31,
202,
202,
759,
4811,
3328,
18,
1330,
2932,
31558,
5948,
6681,
2650,
5746,
3113,
576,
1769,
7734,
309,
12,
4811,
3328,
18,
291,
1343,
8455,
12,
3328,
18,
5923,
3719,
10402,
3399,
3328,
18,
1330,
12,
3328,
18,
5923,
10837,
31558,
5948,
6681,
2650,
5746,
8863,
282,
202,
17523,
261,
3535,
13,
288,
21114,
202,
698,
288,
9506,
202,
17523,
261,
3535,
13,
288,
6862,
202,
2327,
273,
374,
31,
6862,
202,
1952,
596,
1952,
273,
596,
6064,
18,
588,
1952,
5621,
6862,
202,
430,
261,
659,
1952,
480,
446,
13,
288,
25083,
202,
46,
2871,
52,
6667,
11536,
2
] |
AST __t411 = _t; AST tmp1992_AST_in = (AST)_t;
|
AST __t415 = _t; AST tmp1996_AST_in = (AST)_t;
|
public final void assignment_list(AST _t) throws RecognitionException { AST assignment_list_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case RECORD_NAME: { AST tmp1991_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: { AST __t411 = _t; AST tmp1992_AST_in = (AST)_t; match(_t,EXCEPT); _t = _t.getFirstChild(); { _loop413: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Field_ref)) { field(_t); _t = _retTree; } else { break _loop413; } } while (true); } _t = __t411; _t = _t.getNextSibling(); break; } case EOF: case 3: case PERIOD: case NOERROR_KW: { break; } default: { throw new NoViableAltException(_t); } } } break; } case EOF: case 3: case PERIOD: case NOERROR_KW: case EQUAL: case Assign_from_buffer: { { _loop420: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQUAL: { assign_equal(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case WHEN: { AST __t416 = _t; AST tmp1993_AST_in = (AST)_t; match(_t,WHEN); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t416; _t = _t.getNextSibling(); break; } case EOF: case 3: case PERIOD: case NOERROR_KW: case EQUAL: case Assign_from_buffer: { break; } default: { throw new NoViableAltException(_t); } } } break; } case Assign_from_buffer: { AST __t417 = _t; AST tmp1994_AST_in = (AST)_t; match(_t,Assign_from_buffer); _t = _t.getFirstChild(); field(_t); _t = _retTree; _t = __t417; _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case WHEN: { AST __t419 = _t; AST tmp1995_AST_in = (AST)_t; match(_t,WHEN); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t419; _t = _t.getNextSibling(); break; } case EOF: case 3: case PERIOD: case NOERROR_KW: case EQUAL: case Assign_from_buffer: { break; } default: { throw new NoViableAltException(_t); } } } break; } default: { break _loop420; } } } while (true); } break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/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,
6661,
67,
1098,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
6661,
67,
1098,
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,
24346,
67,
1985,
30,
202,
202,
95,
1082,
202,
9053,
1853,
19818,
21,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
22261,
67,
1985,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
95,
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,
5675,
14514,
30,
1082,
202,
95,
9506,
202,
9053,
1001,
88,
24,
2499,
273,
389,
88,
31,
9506,
202,
9053,
1853,
19818,
22,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
9506,
202,
1916,
24899,
88,
16,
2294,
14514,
1769,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
9506,
202,
95,
9506,
202,
67,
6498,
24,
3437,
30,
9506,
202,
2896,
288,
6862,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
6862,
202,
430,
14015,
67,
88,
18,
588,
559,
1435,
631,
974,
67,
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,
6661,
67,
1098,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
6661,
67,
1098,
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,
24346,
67,
1985,
30,
202,
202,
95,
1082,
202,
9053,
1853,
19818,
21,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
22261,
67,
1985,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
2
] |
new String [] {plugin.getDescriptor().getLabel(), node.name()});
|
new String[] { plugin.getDescriptor().getLabel(), node.name() });
|
public String getText(Object obj) { IEclipsePreferences node = (IEclipsePreferences) obj; // we are at the scope level if (node.parent().parent() == null) { if (node.name().equals(InstanceScope.SCOPE)) return WorkbenchMessages.getString("PreferencesExportDialog.WorkspaceScope"); //$NON-NLS-1$ else if (node.name().equals(ConfigurationScope.SCOPE)) return WorkbenchMessages.getString("PreferencesExportDialog.ConfigurationScope"); //$NON-NLS-1$ return node.name(); } // we are at the plug-in level, try and look up a reasonable name String result = node.name(); Plugin plugin = Platform.getPlugin(result); if (plugin != null) return WorkbenchMessages.format("PreferencesExportDialog.PluginLabel", //$NON-NLS-1$ new String [] {plugin.getDescriptor().getLabel(), node.name()}); return node.name(); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/30cca58e535fad544a21622988ec733f1b88c164/PreferencesExportDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/PreferencesExportDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
514,
6701,
12,
921,
1081,
13,
288,
9506,
202,
8732,
71,
10472,
12377,
756,
273,
261,
8732,
71,
10472,
12377,
13,
1081,
31,
9506,
202,
759,
732,
854,
622,
326,
2146,
1801,
9506,
202,
430,
261,
2159,
18,
2938,
7675,
2938,
1435,
422,
446,
13,
288,
6862,
202,
430,
261,
2159,
18,
529,
7675,
14963,
12,
1442,
3876,
18,
19444,
3719,
25083,
202,
2463,
4147,
22144,
5058,
18,
588,
780,
2932,
12377,
6144,
6353,
18,
8241,
3876,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
12107,
309,
261,
2159,
18,
529,
7675,
14963,
12,
1750,
3876,
18,
19444,
3719,
25083,
202,
2463,
4147,
22144,
5058,
18,
588,
780,
2932,
12377,
6144,
6353,
18,
1750,
3876,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
2463,
756,
18,
529,
5621,
9506,
202,
97,
9506,
202,
759,
732,
854,
622,
326,
15852,
17,
267,
1801,
16,
775,
471,
2324,
731,
279,
23589,
508,
9506,
202,
780,
563,
273,
756,
18,
529,
5621,
9506,
202,
3773,
1909,
273,
11810,
18,
588,
3773,
12,
2088,
1769,
9506,
202,
430,
261,
4094,
480,
446,
13,
6862,
202,
2463,
4147,
22144,
5058,
18,
2139,
2932,
12377,
6144,
6353,
18,
3773,
2224,
3113,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
1082,
202,
2704,
514,
5378,
288,
4094,
18,
588,
3187,
7675,
588,
2224,
9334,
756,
18,
529,
17767,
1769,
9506,
202,
2463,
756,
18,
529,
5621,
1082,
202,
97,
2,
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,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
514,
6701,
12,
921,
1081,
13,
288,
9506,
202,
8732,
71,
10472,
12377,
756,
273,
261,
8732,
71,
10472,
12377,
13,
1081,
31,
9506,
202,
759,
732,
854,
622,
326,
2146,
1801,
9506,
202,
430,
261,
2159,
18,
2938,
7675,
2938,
1435,
422,
446,
13,
288,
6862,
202,
430,
261,
2159,
18,
529,
7675,
14963,
12,
1442,
3876,
18,
19444,
3719,
25083,
202,
2463,
4147,
22144,
5058,
18,
588,
780,
2932,
12377,
6144,
6353,
18,
8241,
3876,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
12107,
309,
261,
2159,
18,
529,
7675,
14963,
12,
1750,
3876,
18,
19444,
3719,
25083,
202,
2463,
4147,
22144,
5058,
18,
588,
780,
2932,
12377,
6144,
6353,
18,
1750,
2
] |
return readOnly;
|
return readOnly;
|
public boolean isReadOnly() throws SQLException { return readOnly; }
|
45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/839b9bc0117946afd62ee385a4c8a36c01b3053b/Connection.java/buggy/src/interfaces/jdbc/org/postgresql/Connection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
26249,
1435,
1216,
6483,
288,
202,
2463,
15075,
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,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
26249,
1435,
1216,
6483,
288,
202,
2463,
15075,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
List options = getOptions(args); String composition = ""; boolean quiet = false; boolean nowait = false; for (Iterator iterator = options.iterator(); iterator.hasNext();) { CLOption option = (CLOption) iterator.next(); switch (option.getId()) { case CLOption.TEXT_ARGUMENT: System.err.println("Unknown argument: " + option.getArgument()); break; case HELP_OPT: printUsage(); break; case VERSION_OPT: printVersion(); break; case COMPOSITION_OPT: composition = option.getArgument(); break; case QUIET_OPT: quiet = true; break; case NOWAIT_OPT: nowait = true; break; }
|
CommandLine cl = null; try { cl = getCommandLine(args ); } catch ( ParseException e ) { System.out.println( "Error in parsing arguments: "); e.printStackTrace(); System.exit( -1 );
|
public static void main(String[] args) { List options = getOptions(args); String composition = ""; boolean quiet = false; boolean nowait = false; for (Iterator iterator = options.iterator(); iterator.hasNext();) { CLOption option = (CLOption) iterator.next(); switch (option.getId()) { case CLOption.TEXT_ARGUMENT: //This occurs when a user supplies an argument that //is not an option System.err.println("Unknown argument: " + option.getArgument()); break; case HELP_OPT: printUsage(); break; case VERSION_OPT: printVersion(); break; case COMPOSITION_OPT: composition = option.getArgument(); break; case QUIET_OPT: quiet = true; break; case NOWAIT_OPT: nowait = true; break; } } try { buildAndStartContainer(composition, quiet, nowait); } catch (RuntimeException e) { System.err.println("NanoContainer has failed to start application. Cause : " + e.getMessage()); e.printStackTrace(); } catch (IOException e) { System.err.println("NanoContainer has failed to start application, for IO reasons. Exception message : " + e.getMessage()); e.printStackTrace(); } catch (ClassNotFoundException e) { System.err.println("NanoContainer has failed to start application. A Class was not found. Exception message : " + e.getMessage()); e.printStackTrace(); } if (!quiet) { System.out.println("Exiting NanoContainer's standalone main method."); } }
|
14040 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14040/bb310e41fe27646ab1f6b99b595fcc7b86a8af30/Standalone.java/buggy/java/nanocontainer/src/java/org/nanocontainer/Standalone.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
987,
702,
273,
9849,
12,
1968,
1769,
3639,
514,
16919,
273,
1408,
31,
3639,
1250,
10902,
273,
629,
31,
3639,
1250,
2037,
1540,
273,
629,
31,
3639,
364,
261,
3198,
2775,
273,
702,
18,
9838,
5621,
2775,
18,
5332,
2134,
5621,
13,
288,
5411,
27775,
375,
1456,
273,
261,
22693,
375,
13,
2775,
18,
4285,
5621,
5411,
1620,
261,
3482,
18,
26321,
10756,
288,
7734,
648,
27775,
375,
18,
5151,
67,
18311,
30,
10792,
368,
2503,
9938,
1347,
279,
729,
1169,
5259,
392,
1237,
716,
10792,
368,
291,
486,
392,
1456,
10792,
2332,
18,
370,
18,
8222,
2932,
4874,
1237,
30,
315,
397,
1456,
18,
588,
1379,
10663,
10792,
898,
31,
7734,
648,
22557,
52,
67,
15620,
30,
10792,
1172,
5357,
5621,
10792,
898,
31,
7734,
648,
8456,
67,
15620,
30,
10792,
1172,
1444,
5621,
10792,
898,
31,
7734,
648,
5423,
15258,
67,
15620,
30,
10792,
16919,
273,
1456,
18,
588,
1379,
5621,
10792,
898,
31,
7734,
648,
2238,
5370,
1584,
67,
15620,
30,
10792,
10902,
273,
638,
31,
10792,
898,
31,
7734,
648,
3741,
19046,
67,
15620,
30,
10792,
2037,
1540,
273,
638,
31,
10792,
898,
31,
5411,
289,
3639,
289,
3639,
775,
288,
5411,
1361,
1876,
1685,
2170,
12,
24388,
16,
10902,
16,
2037,
1540,
1769,
3639,
289,
1044,
261,
11949,
425,
13,
288,
5411,
2332,
18,
370,
18,
8222,
2932,
16112,
2170,
711,
2535,
358,
787,
2521,
18,
21389,
294,
315,
397,
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,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
987,
702,
273,
9849,
12,
1968,
1769,
3639,
514,
16919,
273,
1408,
31,
3639,
1250,
10902,
273,
629,
31,
3639,
1250,
2037,
1540,
273,
629,
31,
3639,
364,
261,
3198,
2775,
273,
702,
18,
9838,
5621,
2775,
18,
5332,
2134,
5621,
13,
288,
5411,
27775,
375,
1456,
273,
261,
22693,
375,
13,
2775,
18,
4285,
5621,
5411,
1620,
261,
3482,
18,
26321,
10756,
288,
7734,
648,
27775,
375,
18,
5151,
67,
18311,
30,
10792,
368,
2503,
9938,
1347,
279,
729,
1169,
5259,
392,
1237,
716,
10792,
368,
291,
486,
392,
1456,
10792,
2332,
18,
370,
18,
8222,
2932,
4874,
1237,
30,
315,
397,
1456,
18,
588,
1379,
2
] |
clone.tileInstanceProperties[i] = new Properties[map[i].length];
|
public Object clone() throws CloneNotSupportedException { TileLayer clone = (TileLayer) super.clone(); // Clone the layer data clone.map = new Tile[map.length][]; clone.tileInstanceProperties = new Properties[map.length][]; for (int i = 0; i < map.length; i++) { clone.map[i] = new Tile[map[i].length]; System.arraycopy(map[i], 0, clone.map[i], 0, map[i].length); clone.tileInstanceProperties[i] = new Properties[map[i].length]; for (int j = 0; j < map[i].length; j++) { if (tileInstanceProperties[i][j] != null) { clone.tileInstanceProperties[i][j] = new Properties(tileInstanceProperties[i][j]); } } } return clone; }
|
6621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6621/84016ba1940950a1a85529b7c33af8d038ea597b/TileLayer.java/buggy/src/tiled/core/TileLayer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
3236,
1435,
1216,
12758,
25482,
288,
3639,
13791,
4576,
3236,
273,
261,
9337,
4576,
13,
2240,
18,
14056,
5621,
3639,
368,
12758,
326,
3018,
501,
3639,
3236,
18,
1458,
273,
394,
13791,
63,
1458,
18,
2469,
6362,
15533,
3639,
3236,
18,
15368,
1442,
2297,
273,
394,
6183,
63,
1458,
18,
2469,
6362,
15533,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
852,
18,
2469,
31,
277,
27245,
288,
5411,
3236,
18,
1458,
63,
77,
65,
273,
394,
13791,
63,
1458,
63,
77,
8009,
2469,
15533,
5411,
2332,
18,
1126,
3530,
12,
1458,
63,
77,
6487,
374,
16,
3236,
18,
1458,
63,
77,
6487,
374,
16,
852,
63,
77,
8009,
2469,
1769,
15604,
364,
261,
474,
525,
273,
374,
31,
525,
411,
852,
63,
77,
8009,
2469,
31,
525,
27245,
288,
7734,
309,
261,
15368,
1442,
2297,
63,
77,
6362,
78,
65,
480,
446,
13,
288,
10792,
3236,
18,
15368,
1442,
2297,
63,
77,
6362,
78,
65,
273,
394,
6183,
12,
15368,
1442,
2297,
63,
77,
6362,
78,
19226,
7734,
289,
5411,
289,
3639,
289,
3639,
327,
3236,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
3236,
1435,
1216,
12758,
25482,
288,
3639,
13791,
4576,
3236,
273,
261,
9337,
4576,
13,
2240,
18,
14056,
5621,
3639,
368,
12758,
326,
3018,
501,
3639,
3236,
18,
1458,
273,
394,
13791,
63,
1458,
18,
2469,
6362,
15533,
3639,
3236,
18,
15368,
1442,
2297,
273,
394,
6183,
63,
1458,
18,
2469,
6362,
15533,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
852,
18,
2469,
31,
277,
27245,
288,
5411,
3236,
18,
1458,
63,
77,
65,
273,
394,
13791,
63,
1458,
63,
77,
8009,
2469,
15533,
5411,
2332,
18,
1126,
3530,
12,
1458,
63,
77,
6487,
374,
16,
3236,
18,
1458,
63,
77,
6487,
374,
16,
852,
63,
77,
8009,
2469,
1769,
15604,
364,
261,
2
] |
|
public void startContextElement(String name, Attributes attributes) throws org.xml.sax.SAXException { String refid = attributes.getValue("refid"); if (logger.isDebugEnabled()) { } if (checkNonEmpty(refid)) { setResultObject(refid); }else throw new org.xml.sax.SAXException("The Id of the referenced process cannot be set to an empty string"); }
|
public void startContextElement(String name, Attributes attributes) throws org.xml.sax.SAXException { String refid = attributes.getValue("refid"); if (logger.isDebugEnabled()) { logger.debug("refid "+refid); } if (checkNonEmpty(refid)) { setResultObject(refid); } else { throw new org.xml.sax.SAXException( "The Id of the referenced process cannot be set to an empty string"); } }
|
public void startContextElement(String name, Attributes attributes) throws org.xml.sax.SAXException { String refid = attributes.getValue("refid");if (logger.isDebugEnabled()) { //logger.debug("refid "+refid);} if (checkNonEmpty(refid)) { setResultObject(refid); }else throw new org.xml.sax.SAXException("The Id of the referenced process cannot be set to an empty string"); }
|
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/c171c3550f70b496c1228bbed45f5f8feea45a9c/ProcessReferenceHandler.java/buggy/src/org/objectweb/proactive/core/descriptor/xml/ProcessReferenceHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
787,
1042,
1046,
12,
780,
508,
16,
9055,
1677,
13,
1216,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
288,
565,
514,
1278,
350,
273,
1677,
18,
24805,
2932,
1734,
350,
8863,
430,
261,
4901,
18,
291,
2829,
1526,
10756,
288,
565,
368,
4901,
18,
4148,
2932,
1734,
350,
13773,
1734,
350,
1769,
97,
565,
309,
261,
1893,
23176,
12,
1734,
350,
3719,
288,
1377,
21582,
921,
12,
1734,
350,
1769,
565,
202,
97,
12107,
604,
394,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
2932,
1986,
3124,
434,
326,
8042,
1207,
2780,
506,
444,
358,
392,
1008,
533,
8863,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
787,
1042,
1046,
12,
780,
508,
16,
9055,
1677,
13,
1216,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
288,
565,
514,
1278,
350,
273,
1677,
18,
24805,
2932,
1734,
350,
8863,
430,
261,
4901,
18,
291,
2829,
1526,
10756,
288,
565,
368,
4901,
18,
4148,
2932,
1734,
350,
13773,
1734,
350,
1769,
97,
565,
309,
261,
1893,
23176,
12,
1734,
350,
3719,
288,
1377,
21582,
921,
12,
1734,
350,
1769,
565,
202,
97,
12107,
604,
394,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
2932,
1986,
3124,
434,
326,
8042,
1207,
2780,
506,
444,
358,
392,
1008,
533,
8863,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
consume(IToken.tLBRACE);
|
IToken lbrace = consume(IToken.tLBRACE);
|
protected IASTDeclaration linkageSpecification(IASTScope scope) throws EndOfFileException, BacktrackException { IToken firstToken = consume(IToken.t_extern); if (LT(1) != IToken.tSTRING) throwBacktrack(firstToken.getOffset()); IToken spec = consume(IToken.tSTRING); if (LT(1) == IToken.tLBRACE) { consume(IToken.tLBRACE); IASTLinkageSpecification linkage = null; try { linkage = astFactory.createLinkageSpecification( scope, spec.getImage(), firstToken.getOffset(), firstToken.getLineNumber()); } catch (Exception e) { logException( "linkageSpecification_1:createLinkageSpecification", e ); //$NON-NLS-1$ throwBacktrack(firstToken.getOffset()); } linkage.enterScope( requestor, astFactory.getReferenceManager() ); linkageDeclarationLoop : while (LT(1) != IToken.tRBRACE) { int checkToken = LA(1).hashCode(); switch (LT(1)) { case IToken.tRBRACE : consume(IToken.tRBRACE); break linkageDeclarationLoop; default : try { declaration(linkage, null, null, KeywordSetKey.DECLARATION); } catch (BacktrackException bt) { failParse(bt); if (checkToken == LA(1).hashCode()) failParseWithErrorHandling(); } } if (checkToken == LA(1).hashCode()) failParseWithErrorHandling(); } // consume the } IToken lastTokenConsumed = consume(); linkage.setEndingOffsetAndLineNumber(lastTokenConsumed.getEndOffset(), lastTokenConsumed.getLineNumber()); linkage.exitScope( requestor, astFactory.getReferenceManager() ); return linkage; } // single declaration IASTLinkageSpecification linkage; try { linkage = astFactory.createLinkageSpecification( scope, spec.getImage(), firstToken.getOffset(), firstToken.getLineNumber()); } catch (Exception e) { logException( "linkageSpecification_2:createLinkageSpecification", e ); //$NON-NLS-1$ throwBacktrack(firstToken.getOffset()); return null; } linkage.enterScope( requestor, astFactory.getReferenceManager() ); declaration(linkage, null, null, KeywordSetKey.DECLARATION); linkage.exitScope( requestor, astFactory.getReferenceManager() ); return linkage; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/36ec31dca2ce38ed47d0f35d5d3993c54f09c5ff/Parser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
467,
9053,
6094,
1692,
410,
8615,
12,
45,
9053,
3876,
2146,
13,
3639,
1216,
4403,
951,
812,
503,
16,
4297,
4101,
503,
565,
288,
3639,
467,
1345,
1122,
1345,
273,
7865,
12,
1285,
969,
18,
88,
67,
338,
798,
1769,
3639,
309,
261,
12050,
12,
21,
13,
480,
467,
1345,
18,
88,
5804,
13,
5411,
604,
2711,
4101,
12,
3645,
1345,
18,
588,
2335,
10663,
3639,
467,
1345,
857,
273,
7865,
12,
1285,
969,
18,
88,
5804,
1769,
1850,
309,
261,
12050,
12,
21,
13,
422,
467,
1345,
18,
88,
12995,
9254,
13,
3639,
288,
5411,
467,
1345,
7831,
9963,
273,
7865,
12,
1285,
969,
18,
88,
12995,
9254,
1769,
5411,
467,
9053,
2098,
410,
8615,
1692,
410,
273,
446,
31,
5411,
775,
5411,
288,
7734,
1692,
410,
273,
10792,
3364,
1733,
18,
2640,
2098,
410,
8615,
12,
13491,
2146,
16,
13491,
857,
18,
588,
2040,
9334,
13491,
1122,
1345,
18,
588,
2335,
9334,
1122,
1345,
18,
588,
31063,
10663,
5411,
289,
5411,
1044,
261,
503,
425,
13,
5411,
288,
2398,
202,
1330,
503,
12,
315,
1232,
410,
8615,
67,
21,
30,
2640,
2098,
410,
8615,
3113,
425,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
7734,
604,
2711,
4101,
12,
3645,
1345,
18,
588,
2335,
10663,
5411,
289,
13491,
1692,
410,
18,
2328,
3876,
12,
590,
280,
16,
3364,
1733,
18,
588,
2404,
1318,
1435,
11272,
7734,
1692,
410,
6094,
6452,
294,
1323,
261,
12050,
12,
21,
13,
480,
467,
1345,
18,
88,
19437,
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,
467,
9053,
6094,
1692,
410,
8615,
12,
45,
9053,
3876,
2146,
13,
3639,
1216,
4403,
951,
812,
503,
16,
4297,
4101,
503,
565,
288,
3639,
467,
1345,
1122,
1345,
273,
7865,
12,
1285,
969,
18,
88,
67,
338,
798,
1769,
3639,
309,
261,
12050,
12,
21,
13,
480,
467,
1345,
18,
88,
5804,
13,
5411,
604,
2711,
4101,
12,
3645,
1345,
18,
588,
2335,
10663,
3639,
467,
1345,
857,
273,
7865,
12,
1285,
969,
18,
88,
5804,
1769,
1850,
309,
261,
12050,
12,
21,
13,
422,
467,
1345,
18,
88,
12995,
9254,
13,
3639,
288,
5411,
467,
1345,
7831,
9963,
273,
7865,
12,
1285,
969,
18,
88,
12995,
9254,
1769,
5411,
467,
9053,
2098,
410,
8615,
1692,
2
] |
found =
|
found =
|
private void checkThrowsTags(List aTags, List aThrows) { // Loop over the tags, checking to see they exist in the throws. final Set foundThrows = new HashSet(); //used for performance only final ListIterator tagIt = aTags.listIterator(); while (tagIt.hasNext()) { final JavadocTag tag = (JavadocTag) tagIt.next(); if (!tag.isThrowsTag()) { continue; } tagIt.remove(); // Loop looking for matching throw final String documentedEx = tag.getArg1(); boolean found = foundThrows.contains(documentedEx); final ListIterator throwIt = aThrows.listIterator(); while (!found && throwIt.hasNext()) { final ExceptionInfo ei = (ExceptionInfo) throwIt.next(); final FullIdent fi = ei.getFullIdent(); final String declaredEx = fi.getText(); if (isSameType(declaredEx, documentedEx)) { found = true; ei.setFound(); foundThrows.add(documentedEx); } else if (mAllowThrowsTagsForSubclasses) { final ClassResolver cr = getClassResolver(); try { final Class documentedClass = cr.resolve(documentedEx); try { final Class declaredClass = cr.resolve(declaredEx); found = declaredClass.isAssignableFrom(documentedClass); if (found) { ei.setFound(); } } catch (ClassNotFoundException e) { log(tag.getLineNo(), "javadoc.classInfo", "@throws", declaredEx); } } catch (ClassNotFoundException e) { log(tag.getLineNo(), "javadoc.classInfo", "@throws", documentedEx); } } } // Handle extra JavadocTag. if (!found) { boolean reqd = true; if (mAllowUndeclaredRTE) { final ClassResolver cr = getClassResolver(); try { final Class clazz = cr.resolve(tag.getArg1()); reqd = !RuntimeException.class.isAssignableFrom(clazz) && !Error.class.isAssignableFrom(clazz); } catch (ClassNotFoundException e) { log(tag.getLineNo(), "javadoc.classInfo", "@throws", tag.getArg1()); } } if (reqd) { log(tag.getLineNo(), "javadoc.unusedTag", "@throws", tag.getArg1()); } } } // Now dump out all throws without tags :- unless // the user has chosen to suppress these problems if (!mAllowMissingThrowsTags) { final ListIterator throwIt = aThrows.listIterator(); while (throwIt.hasNext()) { final ExceptionInfo ei = (ExceptionInfo) throwIt.next(); if (!ei.isFound()) { final FullIdent fi = ei.getFullIdent(); log(fi.getLineNo(), fi.getColumnNo(), "javadoc.expectedTag", "@throws", fi.getText()); } } } }
|
50482 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50482/3b4c5f5b9f6c9e1d500b320963e15436dc497f2f/JavadocMethodCheck.java/clean/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/JavadocMethodCheck.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
866,
21845,
3453,
12,
682,
279,
3453,
16,
987,
279,
21845,
13,
565,
288,
3639,
368,
9720,
1879,
326,
2342,
16,
6728,
358,
2621,
2898,
1005,
316,
326,
1216,
18,
3639,
727,
1000,
1392,
21845,
273,
394,
6847,
5621,
368,
3668,
364,
9239,
1338,
3639,
727,
987,
3198,
1047,
7193,
273,
279,
3453,
18,
1098,
3198,
5621,
3639,
1323,
261,
2692,
7193,
18,
5332,
2134,
10756,
288,
5411,
727,
5195,
1805,
1047,
273,
261,
24060,
1805,
13,
1047,
7193,
18,
4285,
5621,
5411,
309,
16051,
2692,
18,
291,
21845,
1805,
10756,
288,
7734,
1324,
31,
5411,
289,
5411,
1047,
7193,
18,
4479,
5621,
5411,
368,
9720,
7849,
364,
3607,
604,
5411,
727,
514,
23051,
424,
273,
1047,
18,
588,
4117,
21,
5621,
5411,
1250,
1392,
273,
1392,
21845,
18,
12298,
12,
5457,
329,
424,
1769,
5411,
727,
987,
3198,
604,
7193,
273,
279,
21845,
18,
1098,
3198,
5621,
5411,
1323,
16051,
7015,
597,
604,
7193,
18,
5332,
2134,
10756,
288,
7734,
727,
1185,
966,
13247,
273,
261,
503,
966,
13,
604,
7193,
18,
4285,
5621,
7734,
727,
11692,
6106,
7314,
273,
13247,
18,
588,
5080,
6106,
5621,
7734,
727,
514,
7886,
424,
273,
7314,
18,
588,
1528,
5621,
7734,
309,
261,
291,
8650,
559,
12,
16571,
424,
16,
23051,
424,
3719,
288,
10792,
1392,
273,
638,
31,
10792,
13247,
18,
542,
2043,
5621,
10792,
1392,
21845,
18,
1289,
12,
5457,
329,
424,
1769,
7734,
289,
7734,
469,
309,
261,
81,
7009,
21845,
3453,
1290,
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,
918,
866,
21845,
3453,
12,
682,
279,
3453,
16,
987,
279,
21845,
13,
565,
288,
3639,
368,
9720,
1879,
326,
2342,
16,
6728,
358,
2621,
2898,
1005,
316,
326,
1216,
18,
3639,
727,
1000,
1392,
21845,
273,
394,
6847,
5621,
368,
3668,
364,
9239,
1338,
3639,
727,
987,
3198,
1047,
7193,
273,
279,
3453,
18,
1098,
3198,
5621,
3639,
1323,
261,
2692,
7193,
18,
5332,
2134,
10756,
288,
5411,
727,
5195,
1805,
1047,
273,
261,
24060,
1805,
13,
1047,
7193,
18,
4285,
5621,
5411,
309,
16051,
2692,
18,
291,
21845,
1805,
10756,
288,
7734,
1324,
31,
5411,
289,
5411,
1047,
7193,
18,
4479,
5621,
5411,
368,
9720,
7849,
364,
3607,
604,
5411,
727,
514,
23051,
424,
273,
2
] |
log.info( "Removed BioAssay " + ba.getName() + " and its assciations." );
|
log.info( "Removed BioAssay " + ba.getName() + " and its associations." );
|
public Object doInHibernate( Session session ) throws HibernateException { ExpressionExperiment toDeletePers = ( ExpressionExperiment ) session.merge( toDelete ); Set<BioAssayDimension> dims = new HashSet<BioAssayDimension>(); Collection<DesignElementDataVector> designElementDataVectors = toDeletePers .getDesignElementDataVectors(); int count = 0; AuditTrail at; // reused a couple times to delete the audit trails log.info( "Removing Design Element Data Vectors." ); for ( DesignElementDataVector dv : designElementDataVectors ) { BioAssayDimension dim = dv.getBioAssayDimension(); dims.add( dim ); session.delete( dv ); if ( ++count % 500 == 0 ) log.info( count + " design Element data vectors deleted" ); } log.info( "Removing BioAssay Dimensions." ); for ( BioAssayDimension dim : dims ) { session.delete( dim ); } // Delete BioMaterials for ( BioAssay ba : toDeletePers.getBioAssays() ) { // fixme this needs to be here for lazy loading issues. Even though the AD isn't getting removed. // Not happy about this at all. but what to do? ba.getArrayDesignUsed().getCompositeSequences().size(); for ( BioMaterial bm : ba.getSamplesUsed() ) { session.delete( bm ); } // delete references to files on disk for ( LocalFile lf : ba.getDerivedDataFiles() ) { for ( LocalFile sf : lf.getSourceFiles() ) session.delete( sf ); session.delete( lf ); } // Delete raw data files if ( ba.getRawDataFile() != null ) session.delete( ba.getRawDataFile() ); // remove the bioassay audit trail at = ba.getAuditTrail(); if ( at != null ) { for ( AuditEvent event : at.getEvents() ) session.delete( event ); session.delete( at ); } log.info( "Removed BioAssay " + ba.getName() + " and its assciations." ); } // Remove audit information for ee from the db. We might want to keep this but...... at = toDeletePers.getAuditTrail(); if ( at != null ) { for ( AuditEvent event : at.getEvents() ) session.delete( event ); session.delete( at ); } session.delete( toDeletePers ); session.flush(); session.clear(); return null; }
|
4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/537a05e239141186cef1ba18fe9f7986e85a6388/ExpressionExperimentDaoImpl.java/clean/gemma-mda/src/main/java/ubic/gemma/model/expression/experiment/ExpressionExperimentDaoImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
741,
382,
44,
24360,
12,
3877,
1339,
262,
1216,
670,
24360,
503,
288,
7734,
5371,
22338,
358,
2613,
14781,
273,
261,
5371,
22338,
262,
1339,
18,
2702,
12,
358,
2613,
11272,
7734,
1000,
32,
38,
1594,
2610,
528,
8611,
34,
9914,
273,
394,
6847,
32,
38,
1594,
2610,
528,
8611,
34,
5621,
7734,
2200,
32,
15478,
1046,
751,
5018,
34,
8281,
1046,
751,
21680,
273,
358,
2613,
14781,
13491,
263,
588,
15478,
1046,
751,
21680,
5621,
7734,
509,
1056,
273,
374,
31,
7734,
12975,
18107,
622,
31,
368,
23312,
279,
1825,
2268,
4124,
358,
1430,
326,
8215,
1284,
14573,
7734,
613,
18,
1376,
12,
315,
18939,
225,
29703,
3010,
1910,
5589,
87,
1199,
11272,
7734,
364,
261,
29703,
1046,
751,
5018,
12494,
294,
8281,
1046,
751,
21680,
262,
288,
10792,
21209,
2610,
528,
8611,
2464,
273,
12494,
18,
588,
38,
1594,
2610,
528,
8611,
5621,
10792,
9914,
18,
1289,
12,
2464,
11272,
10792,
1339,
18,
3733,
12,
12494,
11272,
10792,
309,
261,
965,
1883,
738,
6604,
422,
374,
262,
613,
18,
1376,
12,
1056,
397,
315,
8281,
3010,
501,
10046,
4282,
6,
11272,
7734,
289,
7734,
613,
18,
1376,
12,
315,
18939,
21209,
2610,
528,
463,
23124,
1199,
11272,
7734,
364,
261,
21209,
2610,
528,
8611,
2464,
294,
9914,
262,
288,
10792,
1339,
18,
3733,
12,
2464,
11272,
7734,
289,
7734,
368,
2504,
21209,
11790,
87,
7734,
364,
261,
21209,
2610,
528,
9846,
294,
358,
2613,
14781,
18,
588,
38,
1594,
2610,
8271,
1435,
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,
2398,
1071,
1033,
741,
382,
44,
24360,
12,
3877,
1339,
262,
1216,
670,
24360,
503,
288,
7734,
5371,
22338,
358,
2613,
14781,
273,
261,
5371,
22338,
262,
1339,
18,
2702,
12,
358,
2613,
11272,
7734,
1000,
32,
38,
1594,
2610,
528,
8611,
34,
9914,
273,
394,
6847,
32,
38,
1594,
2610,
528,
8611,
34,
5621,
7734,
2200,
32,
15478,
1046,
751,
5018,
34,
8281,
1046,
751,
21680,
273,
358,
2613,
14781,
13491,
263,
588,
15478,
1046,
751,
21680,
5621,
7734,
509,
1056,
273,
374,
31,
7734,
12975,
18107,
622,
31,
368,
23312,
279,
1825,
2268,
4124,
358,
1430,
326,
8215,
1284,
14573,
7734,
613,
18,
1376,
12,
315,
18939,
225,
29703,
3010,
1910,
5589,
87,
1199,
11272,
7734,
364,
2
] |
functionType = new CPPFunctionType(returnType, parms);
|
functionType = new CPPFunctionType(cpp_double, parms);
|
private void __builtin_nan() { // const char * ICASTSimpleDeclSpecifier parmSds = new CASTSimpleDeclSpecifier(); parmSds.setType(IASTSimpleDeclSpecifier.t_char); parmSds.setConst(true); CPointerType c_const_char_p = new CPointerType(new CQualifierType(parmSds)); c_const_char_p.setPointer(new CASTPointer()); IType cpp_const_char_p = new CPPPointerType(new CPPQualifierType(new CPPBasicType(IBasicType.t_char, 0), true, false)); //double __builtin_nan (const char * str) IBinding temp = null; if (lang == ParserLanguage.C) { ICASTSimpleDeclSpecifier sds = new CASTSimpleDeclSpecifier(); sds.setType(IASTSimpleDeclSpecifier.t_double); IType returnType = new CBasicType(sds); IFunctionType functionType = null; IType[] parms = new IType[1]; parms[0] = c_const_char_p; functionType = new CFunctionType(returnType, parms); IParameter[] theParms = new IParameter[1]; theParms[0] = new CBuiltinParameter(parms[0]); temp = new CImplicitFunction(__BUILTIN_NAN, scope, functionType, theParms, false); } else { IType returnType = new CPPBasicType( IBasicType.t_double, 0 ); IFunctionType functionType = null; IType[] parms = new IType[1]; parms[0] = cpp_const_char_p; functionType = new CPPFunctionType(returnType, parms); IParameter[] theParms = new IParameter[1]; theParms[0] = new CPPBuiltinParameter(parms[0]); temp = new CPPImplicitFunction(__BUILTIN_NAN, scope, functionType, theParms, false); } bindings = (IBinding[])ArrayUtil.append(IBinding.class, bindings, temp); //float __builtin_nanf (const char * str) temp = null; if (lang == ParserLanguage.C) { ICASTSimpleDeclSpecifier sds = new CASTSimpleDeclSpecifier(); sds.setType(IASTSimpleDeclSpecifier.t_float); IType returnType = new CBasicType(sds); IFunctionType functionType = null; IType[] parms = new IType[1]; parms[0] = c_const_char_p; functionType = new CFunctionType(returnType, parms); IParameter[] theParms = new IParameter[1]; theParms[0] = new CBuiltinParameter(parms[0]); temp = new CImplicitFunction(__BUILTIN_NANF, scope, functionType, theParms, false); } else { IType returnType = new CPPBasicType( IBasicType.t_float, 0 ); IFunctionType functionType = null; IType[] parms = new IType[1]; parms[0] = cpp_const_char_p; functionType = new CPPFunctionType(returnType, parms); IParameter[] theParms = new IParameter[1]; theParms[0] = new CPPBuiltinParameter(parms[0]); temp = new CPPImplicitFunction(__BUILTIN_NANF, scope, functionType, theParms, false); } bindings = (IBinding[])ArrayUtil.append(IBinding.class, bindings, temp); //long double __builtin_nanl (const char * str) temp = null; if (lang == ParserLanguage.C) { ICASTSimpleDeclSpecifier sds = new CASTSimpleDeclSpecifier(); sds.setType(IASTSimpleDeclSpecifier.t_double); sds.setLong(true); IType returnType = new CBasicType(sds); IFunctionType functionType = null; IType[] parms = new IType[1]; parms[0] = c_const_char_p; functionType = new CFunctionType(returnType, parms); IParameter[] theParms = new IParameter[1]; theParms[0] = new CBuiltinParameter(parms[0]); temp = new CImplicitFunction(__BUILTIN_NANL, scope, functionType, theParms, false); } else { IType returnType = new CPPBasicType( IBasicType.t_double, CPPBasicType.IS_LONG ); IFunctionType functionType = null; IType[] parms = new IType[1]; parms[0] = cpp_const_char_p; functionType = new CPPFunctionType(returnType, parms); IParameter[] theParms = new IParameter[1]; theParms[0] = new CPPBuiltinParameter(parms[0]); temp = new CPPImplicitFunction(__BUILTIN_NANL, scope, functionType, theParms, false); } bindings = (IBinding[])ArrayUtil.append(IBinding.class, bindings, temp); //double __builtin_nans (const char * str) temp = null; if (lang == ParserLanguage.C) { ICASTSimpleDeclSpecifier sds = new CASTSimpleDeclSpecifier(); sds.setType(IASTSimpleDeclSpecifier.t_double); IType returnType = new CBasicType(sds); IFunctionType functionType = null; IType[] parms = new IType[1]; parms[0] = c_const_char_p; functionType = new CFunctionType(returnType, parms); IParameter[] theParms = new IParameter[1]; theParms[0] = new CBuiltinParameter(parms[0]); temp = new CImplicitFunction(__BUILTIN_NANS, scope, functionType, theParms, false); } else { IType returnType = new CPPBasicType( IBasicType.t_double, 0 ); IFunctionType functionType = null; IType[] parms = new IType[1]; parms[0] = cpp_const_char_p; functionType = new CPPFunctionType(returnType, parms); IParameter[] theParms = new IParameter[1]; theParms[0] = new CPPBuiltinParameter(parms[0]); temp = new CPPImplicitFunction(__BUILTIN_NANS, scope, functionType, theParms, false); } bindings = (IBinding[])ArrayUtil.append(IBinding.class, bindings, temp); //float __builtin_nansf (const char * str) temp = null; if (lang == ParserLanguage.C) { ICASTSimpleDeclSpecifier sds = new CASTSimpleDeclSpecifier(); sds.setType(IASTSimpleDeclSpecifier.t_float); IType returnType = new CBasicType(sds); IFunctionType functionType = null; IType[] parms = new IType[1]; parms[0] = c_const_char_p; functionType = new CFunctionType(returnType, parms); IParameter[] theParms = new IParameter[1]; theParms[0] = new CBuiltinParameter(parms[0]); temp = new CImplicitFunction(__BUILTIN_NANSF, scope, functionType, theParms, false); } else { IType returnType = new CPPBasicType( IBasicType.t_float, 0 ); IFunctionType functionType = null; IType[] parms = new IType[1]; parms[0] = cpp_const_char_p; functionType = new CPPFunctionType(returnType, parms); IParameter[] theParms = new IParameter[1]; theParms[0] = new CPPBuiltinParameter(parms[0]); temp = new CPPImplicitFunction(__BUILTIN_NANSF, scope, functionType, theParms, false); } bindings = (IBinding[])ArrayUtil.append(IBinding.class, bindings, temp); //long double __builtin_nansl (const char * str) temp = null; if (lang == ParserLanguage.C) { ICASTSimpleDeclSpecifier sds = new CASTSimpleDeclSpecifier(); sds.setType(IASTSimpleDeclSpecifier.t_double); sds.setLong(true); IType returnType = new CBasicType(sds); IFunctionType functionType = null; IType[] parms = new IType[1]; parms[0] = c_const_char_p; functionType = new CFunctionType(returnType, parms); IParameter[] theParms = new IParameter[1]; theParms[0] = new CBuiltinParameter(parms[0]); temp = new CImplicitFunction(__BUILTIN_NANSL, scope, functionType, theParms, false); } else { IType returnType = new CPPBasicType( IBasicType.t_double, CPPBasicType.IS_LONG ); IFunctionType functionType = null; IType[] parms = new IType[1]; parms[0] = cpp_const_char_p; functionType = new CPPFunctionType(returnType, parms); IParameter[] theParms = new IParameter[1]; theParms[0] = new CPPBuiltinParameter(parms[0]); temp = new CPPImplicitFunction(__BUILTIN_NANSL, scope, functionType, theParms, false); } bindings = (IBinding[])ArrayUtil.append(IBinding.class, bindings, temp); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/e5e342776ddb4235e342044729523a01bf8c688b/GCCBuiltinSymbolProvider.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/GCCBuiltinSymbolProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1001,
24553,
67,
13569,
1435,
288,
202,
202,
759,
1866,
1149,
380,
202,
202,
2871,
9053,
5784,
3456,
21416,
19924,
55,
2377,
273,
394,
6425,
882,
5784,
3456,
21416,
5621,
202,
202,
1065,
81,
55,
2377,
18,
542,
559,
12,
45,
9053,
5784,
3456,
21416,
18,
88,
67,
3001,
1769,
202,
202,
1065,
81,
55,
2377,
18,
542,
9661,
12,
3767,
1769,
202,
202,
4258,
2480,
559,
276,
67,
10248,
67,
3001,
67,
84,
273,
394,
385,
4926,
559,
12,
2704,
385,
16185,
559,
12,
1065,
81,
55,
2377,
10019,
202,
202,
71,
67,
10248,
67,
3001,
67,
84,
18,
542,
4926,
12,
2704,
6425,
882,
4926,
10663,
202,
202,
45,
559,
3283,
84,
67,
10248,
67,
3001,
67,
84,
273,
394,
5181,
52,
4926,
559,
12,
2704,
5181,
52,
16185,
559,
12,
2704,
5181,
52,
8252,
559,
12,
45,
8252,
559,
18,
88,
67,
3001,
16,
374,
3631,
638,
16,
629,
10019,
202,
202,
759,
9056,
1001,
24553,
67,
13569,
261,
10248,
1149,
380,
609,
13,
202,
202,
45,
5250,
1906,
273,
446,
31,
9506,
202,
430,
261,
4936,
422,
6783,
3779,
18,
39,
13,
288,
1082,
202,
2871,
9053,
5784,
3456,
21416,
272,
2377,
273,
394,
6425,
882,
5784,
3456,
21416,
5621,
1082,
202,
87,
2377,
18,
542,
559,
12,
45,
9053,
5784,
3456,
21416,
18,
88,
67,
9056,
1769,
1082,
202,
45,
559,
9424,
273,
394,
385,
8252,
559,
12,
87,
2377,
1769,
1082,
202,
45,
2083,
559,
445,
559,
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,
1001,
24553,
67,
13569,
1435,
288,
202,
202,
759,
1866,
1149,
380,
202,
202,
2871,
9053,
5784,
3456,
21416,
19924,
55,
2377,
273,
394,
6425,
882,
5784,
3456,
21416,
5621,
202,
202,
1065,
81,
55,
2377,
18,
542,
559,
12,
45,
9053,
5784,
3456,
21416,
18,
88,
67,
3001,
1769,
202,
202,
1065,
81,
55,
2377,
18,
542,
9661,
12,
3767,
1769,
202,
202,
4258,
2480,
559,
276,
67,
10248,
67,
3001,
67,
84,
273,
394,
385,
4926,
559,
12,
2704,
385,
16185,
559,
12,
1065,
81,
55,
2377,
10019,
202,
202,
71,
67,
10248,
67,
3001,
67,
84,
18,
542,
4926,
12,
2704,
6425,
882,
4926,
10663,
202,
202,
45,
559,
3283,
84,
67,
2
] |
public activeObjectMap.Obj findObject(org.omg.CORBA.Object object)
|
public AOM.Obj findObject(org.omg.CORBA.Object object)
|
public activeObjectMap.Obj findObject(org.omg.CORBA.Object object) { activeObjectMap.Obj h = aom.findObject(object); if (h != null) return h; else { for (int i = 0; i < children.size(); i++) { h = ((gnuPOA) children.get(i)).findObject(object); if (h != null) return h; } } return h; }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e9344cb85925e12da0e0cccb4ba0521d8696a226/gnuPOA.java/buggy/core/src/classpath/gnu/gnu/CORBA/Poa/gnuPOA.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
432,
1872,
18,
2675,
1104,
921,
12,
3341,
18,
362,
75,
18,
9428,
12536,
18,
921,
733,
13,
225,
288,
565,
2695,
921,
863,
18,
2675,
366,
273,
279,
362,
18,
4720,
921,
12,
1612,
1769,
565,
309,
261,
76,
480,
446,
13,
1377,
327,
366,
31,
565,
469,
1377,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2325,
18,
1467,
5621,
277,
27245,
1850,
288,
5411,
366,
273,
14015,
1600,
89,
2419,
37,
13,
2325,
18,
588,
12,
77,
13,
2934,
4720,
921,
12,
1612,
1769,
5411,
309,
261,
76,
480,
446,
13,
2868,
327,
366,
31,
1850,
289,
1377,
289,
565,
327,
366,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
432,
1872,
18,
2675,
1104,
921,
12,
3341,
18,
362,
75,
18,
9428,
12536,
18,
921,
733,
13,
225,
288,
565,
2695,
921,
863,
18,
2675,
366,
273,
279,
362,
18,
4720,
921,
12,
1612,
1769,
565,
309,
261,
76,
480,
446,
13,
1377,
327,
366,
31,
565,
469,
1377,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
2325,
18,
1467,
5621,
277,
27245,
1850,
288,
5411,
366,
273,
14015,
1600,
89,
2419,
37,
13,
2325,
18,
588,
12,
77,
13,
2934,
4720,
921,
12,
1612,
1769,
5411,
309,
261,
76,
480,
446,
13,
2868,
327,
366,
31,
1850,
289,
1377,
289,
565,
327,
366,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100
] |
String columnName = ""; String method = runtimeData.getParameter("method"); elementID = runtimeData.getParameter("elementID"); String destinationColumnId = elementID; try {
|
try { String columnName = ""; String method = runtimeData.getParameter("method"); elementID = runtimeData.getParameter("elementID"); String destinationColumnId = elementID;
|
public void setRuntimeData (ChannelRuntimeData rd) throws PortalException { runtimeData = rd; // If the user hasn't clicked on a tab, get persisted active tab if (activeTab.equals("none")) activeTab = getActiveTab(); action = runtimeData.getParameter("action"); if (action != null) { // Select tab if (action.equals("selectTab")) activeTab = runtimeData.getParameter("activeTab"); // Set active tab else if (action.equals("setActiveTab")) { try { setActiveTab(activeTab); } catch (Exception e) { Logger.log(Logger.ERROR, e); action = "error"; errorMessage = errorMessageSetActiveTab; } } // Rename tab else if (action.equals("renameTab")) { String tabId = runtimeData.getParameter("elementID"); String tabName = runtimeData.getParameter("tabName"); try { renameTab(tabId, tabName); } catch (Exception e) { Logger.log(Logger.ERROR, e); action = "error"; errorMessage = errorMessageRenameTab; } } // Move tab else if (action.equals("moveTab")) { String methodAndID = runtimeData.getParameter("method_ID"); String sourceTabId = runtimeData.getParameter("elementID"); int indexOf_ = methodAndID.indexOf("_"); String method = methodAndID.substring(0, indexOf_); // insertBefore or appendAfter String destinationTabId = methodAndID.substring(indexOf_ + 1); try { moveTab(sourceTabId, method, destinationTabId); } catch (Exception e) { Logger.log(Logger.ERROR, e); action = "error"; errorMessage = errorMessageMoveTab; } } // Add tab else if (action.equals("addTab")) { String tabName = runtimeData.getParameter("tabName"); String methodAndID = runtimeData.getParameter("method_ID"); int indexOf_ = methodAndID.indexOf("_"); String method = methodAndID.substring(0, indexOf_); // insertBefore or appendAfter String destinationTabId = methodAndID.substring(indexOf_ + 1); try { addFolder(tabName, method, destinationTabId); } catch (Exception e) { Logger.log(Logger.ERROR, e); action = "error"; errorMessage = errorMessageAddTab; } } // Delete tab else if (action.equals("deleteTab")) { String tabId = runtimeData.getParameter("elementID"); try { deleteElement(tabId); } catch (Exception e) { Logger.log(Logger.ERROR, e); action = "error"; errorMessage = errorMessageDeleteTab; } } // Select column else if (action.equals("selectColumn")) elementID = runtimeData.getParameter("elementID"); // Change column width(s) else if (action.equals("columnWidth")) { HashMap columnWidths = new HashMap(); Enumeration eParams = runtimeData.getParameterNames(); while (eParams.hasMoreElements()) { String param = (String)eParams.nextElement(); String prefix = "columnWidth_"; if (param.startsWith(prefix)) { String folderId = param.substring(prefix.length()); String newWidth = runtimeData.getParameter(prefix + folderId); columnWidths.put(folderId, newWidth); } } try { changeColumnWidths(columnWidths); } catch (Exception e) { Logger.log(Logger.ERROR, e); action = "error"; errorMessage = errorMessageChangeColumnWidths; } } // Move column else if (action.equals("moveColumn")) { String activeTabParam = runtimeData.getParameter("activeTab"); if (activeTabParam != null) activeTab = activeTabParam; } // Move column here else if (action.equals("moveColumnHere")) { String method = runtimeData.getParameter("method"); String destinationId = runtimeData.getParameter("elementID"); try { moveColumn(elementID, method, destinationId); } catch (Exception e) { Logger.log(Logger.ERROR, e); action = "error"; errorMessage = errorMessageMoveColumn; } } // New column else if (action.equals("newColumn")) { String columnName = ""; String method = runtimeData.getParameter("method"); elementID = runtimeData.getParameter("elementID"); String destinationColumnId = elementID; try { addFolder(columnName, method, destinationColumnId); } catch (Exception e) { Logger.log(Logger.ERROR, e); action = "error"; errorMessage = errorMessageNewColumn; } } // Add column else if (action.equals("addColumn")) { // Currently not implemented... // We need to assign widths to columns. // The action addColumn isn't in the stylesheet yet. } // Delete column else if (action.equals("deleteColumn")) { String columnId = runtimeData.getParameter("elementID"); try { deleteElement(columnId); } catch (Exception e) { Logger.log(Logger.ERROR, e); action = "error"; errorMessage = errorMessageDeleteColumn; } } // Select channel else if (action.equals("selectChannel")) { elementID = runtimeData.getParameter("elementID"); } // Move channel else if (action.equals("moveChannel")) { String activeTabParam = runtimeData.getParameter("activeTab"); if (activeTabParam != null) activeTab = activeTabParam; } // Move channel here else if (action.equals("moveChannelHere")) { String method = runtimeData.getParameter("method"); String destinationId = runtimeData.getParameter("elementID"); try { moveChannel(elementID, method, destinationId); } catch (Exception e) { Logger.log(Logger.ERROR, e); action = "error"; errorMessage = errorMessageMoveChannel; } } // Delete channel else if (action.equals("deleteChannel")) { String channelId = runtimeData.getParameter("elementID"); try { deleteElement(channelId); } catch (Exception e) { Logger.log(Logger.ERROR, e); action = "error"; errorMessage = errorMessageDeleteChannel; } } } else action = "none"; }
|
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/d8498f8a41b27b734536a3185386a790969aafc5/TabColumnPrefsState.java/clean/source/org/jasig/portal/channels/UserPreferences/TabColumnPrefsState.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
5576,
751,
261,
2909,
5576,
751,
9437,
13,
1216,
25478,
503,
565,
288,
1377,
3099,
751,
273,
9437,
31,
1377,
368,
971,
326,
729,
13342,
1404,
17688,
603,
279,
3246,
16,
336,
14249,
2695,
3246,
1377,
309,
261,
3535,
5661,
18,
14963,
2932,
6102,
6,
3719,
3639,
2695,
5661,
273,
11960,
5661,
5621,
1377,
1301,
273,
3099,
751,
18,
588,
1662,
2932,
1128,
8863,
1377,
309,
261,
1128,
480,
446,
13,
1377,
288,
3639,
368,
6766,
3246,
3639,
309,
261,
1128,
18,
14963,
2932,
4025,
5661,
6,
3719,
1850,
2695,
5661,
273,
3099,
751,
18,
588,
1662,
2932,
3535,
5661,
8863,
3639,
368,
1000,
2695,
3246,
3639,
469,
309,
261,
1128,
18,
14963,
2932,
542,
3896,
5661,
6,
3719,
3639,
288,
1850,
775,
1850,
288,
5411,
20669,
5661,
12,
3535,
5661,
1769,
1850,
289,
1850,
1044,
261,
503,
425,
13,
1850,
288,
5411,
4242,
18,
1330,
12,
3328,
18,
3589,
16,
425,
1769,
5411,
1301,
273,
315,
1636,
14432,
5411,
9324,
273,
9324,
694,
3896,
5661,
31,
1850,
289,
3639,
289,
3639,
368,
19996,
3246,
3639,
469,
309,
261,
1128,
18,
14963,
2932,
18539,
5661,
6,
3719,
3639,
288,
1850,
514,
3246,
548,
273,
3099,
751,
18,
588,
1662,
2932,
2956,
734,
8863,
1850,
514,
3246,
461,
273,
3099,
751,
18,
588,
1662,
2932,
7032,
461,
8863,
1850,
775,
1850,
288,
5411,
6472,
5661,
12,
7032,
548,
16,
3246,
461,
1769,
1850,
289,
1850,
1044,
261,
503,
425,
13,
1850,
288,
5411,
4242,
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,
444,
5576,
751,
261,
2909,
5576,
751,
9437,
13,
1216,
25478,
503,
565,
288,
1377,
3099,
751,
273,
9437,
31,
1377,
368,
971,
326,
729,
13342,
1404,
17688,
603,
279,
3246,
16,
336,
14249,
2695,
3246,
1377,
309,
261,
3535,
5661,
18,
14963,
2932,
6102,
6,
3719,
3639,
2695,
5661,
273,
11960,
5661,
5621,
1377,
1301,
273,
3099,
751,
18,
588,
1662,
2932,
1128,
8863,
1377,
309,
261,
1128,
480,
446,
13,
1377,
288,
3639,
368,
6766,
3246,
3639,
309,
261,
1128,
18,
14963,
2932,
4025,
5661,
6,
3719,
1850,
2695,
5661,
273,
3099,
751,
18,
588,
1662,
2932,
3535,
5661,
8863,
3639,
368,
1000,
2695,
3246,
3639,
469,
309,
261,
1128,
18,
14963,
2932,
542,
2
] |
public ArrayList getActiveObjects(String nodeName) throws java.rmi.RemoteException;
|
public ArrayList getActiveObjects(String nodeName) throws java.rmi.RemoteException;
|
public ArrayList getActiveObjects(String nodeName) throws java.rmi.RemoteException;
|
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/c171c3550f70b496c1228bbed45f5f8feea45a9c/RemoteProActiveRuntime.java/buggy/src/org/objectweb/proactive/core/runtime/rmi/RemoteProActiveRuntime.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
202,
482,
2407,
11960,
4710,
12,
780,
7553,
13,
1216,
2252,
18,
8864,
77,
18,
5169,
503,
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
] |
[
1,
1,
1,
1,
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,
282,
202,
482,
2407,
11960,
4710,
12,
780,
7553,
13,
1216,
2252,
18,
8864,
77,
18,
5169,
503,
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
] |
if(A_OpenCms.isLogging()) {
|
if((A_OpenCms.isLogging() && I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING)) {
|
public byte[] getMasterTemplate(CmsObject cms, I_CmsTemplate templateClass, CmsFile masterTemplate, com.opencms.launcher.I_CmsTemplateCache cache, Hashtable parameters) throws CmsException { byte[] result; // Collect cache directives from subtemplates CmsCacheDirectives cd = templateClass.collectCacheDirectives(cms, masterTemplate.getAbsolutePath(), C_ROOT_TEMPLATE_NAME, parameters, null); boolean streamable = cms.getRequestContext().isStreaming() && cd.isStreamable(); cms.getRequestContext().setStreaming(streamable); /*System.err.println("******************************************************************"); System.err.println("* Cache directives Summary"); System.err.println("* File : " + masterTemplate.getAbsolutePath()); System.err.println("* Class : " + templateClass.getClass()); System.err.println("* internal cacheable : " + (cd.isInternalCacheable()?"true":"false")); System.err.println("* proxy public cacheable : " + (cd.isProxyPublicCacheable()?"true":"false")); System.err.println("* proxy private cacheable : " + (cd.isProxyPrivateCacheable()?"true":"false")); System.err.println("* exportable cacheable : " + (cd.isExportable()?"true":"false")); System.err.println("* streamable : " + (cd.isStreamable()?"true":"false")); System.err.println("******************************************************************"); */ //String cacheKey = cms.getUrl(); Object cacheKey = templateClass.getKey(cms, masterTemplate.getAbsolutePath(), parameters, null); //boolean cacheable = templateClass.isCacheable(cms, masterTemplate.getAbsolutePath(), C_ROOT_TEMPLATE_NAME, parameters, null); boolean cacheable = cd.isInternalCacheable(); I_CmsResponse resp = cms.getRequestContext().getResponse(); // was there already a cache-control header set? if(!resp.containsHeader("Cache-Control")) { // only if the resource is cacheable and if the current project is online, // then the browser may cache the resource if(cd.isProxyPublicCacheable() || cd.isProxyPrivateCacheable()) { // set max-age to 5 minutes. In this time a proxy may cache this content. resp.setHeader("Cache-Control", "max-age=300"); if(cd.isProxyPrivateCacheable()) { resp.addHeader("Cache-Control", "private"); } } else { // set the http-header to pragma no-cache. //HTTP 1.1 resp.setHeader("Cache-Control", "no-cache"); //HTTP 1.0 resp.setHeader("Pragma", "no-cache"); } } if(cacheable && cache.has(cacheKey) && !templateClass.shouldReload(cms, masterTemplate.getAbsolutePath(), C_ROOT_TEMPLATE_NAME, parameters, null)) { result = cache.get(cacheKey); // We don't want to stream this... cms.getRequestContext().setStreaming(false); } else { try { result = templateClass.getContent(cms, masterTemplate.getAbsolutePath(), C_ROOT_TEMPLATE_NAME, parameters); } catch(CmsException e) { cache.clearCache(cacheKey); if(A_OpenCms.isLogging()) { A_OpenCms.log(C_OPENCMS_INFO, "[CmsRootTemplate] Could not get contents of master template " + masterTemplate.getName()); } throw e; } if(cacheable) { cache.put(cacheKey, result); } if(streamable) { result = null; } } return result; }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/65fec749058083642e3e85283287c65357fa8690/CmsRootTemplate.java/clean/src/com/opencms/template/CmsRootTemplate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
27607,
2283,
12,
4747,
921,
6166,
16,
467,
67,
4747,
2283,
1542,
797,
16,
28118,
4171,
2283,
16,
532,
18,
556,
14645,
18,
20738,
264,
18,
45,
67,
4747,
2283,
1649,
1247,
16,
18559,
1472,
13,
1216,
11228,
288,
3639,
1160,
8526,
563,
31,
3639,
368,
9302,
1247,
13877,
628,
720,
8502,
3639,
2149,
1649,
25343,
7976,
273,
1542,
797,
18,
14676,
1649,
25343,
12,
6851,
16,
4171,
2283,
18,
588,
10368,
743,
9334,
385,
67,
9185,
67,
12205,
67,
1985,
16,
1472,
16,
446,
1769,
3639,
1250,
1407,
429,
273,
6166,
18,
588,
21426,
7675,
291,
15973,
1435,
597,
7976,
18,
291,
1228,
429,
5621,
3639,
6166,
18,
588,
21426,
7675,
542,
15973,
12,
3256,
429,
1769,
3639,
1748,
3163,
18,
370,
18,
8222,
2932,
11125,
636,
8863,
3639,
2332,
18,
370,
18,
8222,
2932,
14,
4379,
13877,
17967,
8863,
3639,
2332,
18,
370,
18,
8222,
2932,
14,
1387,
10792,
294,
315,
397,
4171,
2283,
18,
588,
10368,
743,
10663,
3639,
2332,
18,
370,
18,
8222,
2932,
14,
1659,
10402,
294,
315,
397,
1542,
797,
18,
588,
797,
10663,
3639,
2332,
18,
370,
18,
8222,
2932,
14,
2713,
27730,
1377,
294,
315,
397,
261,
4315,
18,
291,
3061,
1649,
429,
1435,
7225,
3767,
15563,
5743,
7923,
1769,
3639,
2332,
18,
370,
18,
8222,
2932,
14,
2889,
1071,
27730,
225,
294,
315,
397,
261,
4315,
18,
291,
3886,
4782,
1649,
429,
1435,
7225,
3767,
15563,
5743,
7923,
1769,
3639,
2332,
18,
370,
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,
1160,
8526,
27607,
2283,
12,
4747,
921,
6166,
16,
467,
67,
4747,
2283,
1542,
797,
16,
28118,
4171,
2283,
16,
532,
18,
556,
14645,
18,
20738,
264,
18,
45,
67,
4747,
2283,
1649,
1247,
16,
18559,
1472,
13,
1216,
11228,
288,
3639,
1160,
8526,
563,
31,
3639,
368,
9302,
1247,
13877,
628,
720,
8502,
3639,
2149,
1649,
25343,
7976,
273,
1542,
797,
18,
14676,
1649,
25343,
12,
6851,
16,
4171,
2283,
18,
588,
10368,
743,
9334,
385,
67,
9185,
67,
12205,
67,
1985,
16,
1472,
16,
446,
1769,
3639,
1250,
1407,
429,
273,
6166,
18,
588,
21426,
7675,
291,
15973,
1435,
597,
7976,
18,
291,
1228,
429,
5621,
3639,
6166,
18,
588,
21426,
7675,
542,
15973,
12,
2
] |
final IProject newProjectHandle = mainPage.getProjectHandle();
|
final IProject newProjectHandle = mainPage.getProjectHandle( );
|
private IProject createNewProject() { if (newProject != null) return newProject; // get a project handle final IProject newProjectHandle = mainPage.getProjectHandle(); // get a project descriptor IPath newPath = null; if (!mainPage.useDefaults()) newPath = mainPage.getLocationPath(); IWorkspace workspace = ResourcesPlugin.getWorkspace(); final IProjectDescription description = workspace .newProjectDescription(newProjectHandle.getName()); description.setLocation(newPath); description.setNatureIds(new String[]{"org.eclipse.birt.report.designer.ui.reportprojectnature"}); //$NON-NLS-1$ // create the new project operation WorkspaceModifyOperation op = new WorkspaceModifyOperation() { protected void execute(IProgressMonitor monitor) throws CoreException { createProject(description, newProjectHandle, monitor); } }; // run the new project creation operation try { getContainer().run(true, true, op); } catch (InterruptedException e) { return null; } catch (InvocationTargetException e) { // ie.- one of the steps resulted in a core exception Throwable t = e.getTargetException(); if (t instanceof CoreException) { if (((CoreException) t).getStatus().getCode() == IResourceStatus.CASE_VARIANT_EXISTS) { MessageDialog .openError( getShell(), Messages .getString("NewReportProjectWizard.errorMessage"), //$NON-NLS-1$ Messages .getFormattedString( "NewReportProjectWizard.caseVariantExistsError", new String[]{newProjectHandle.getName()}) //$NON-NLS-1$, ); } else { ErrorDialog.openError(getShell(), Messages .getString("NewReportProjectWizard.errorMessage"), //$NON-NLS-1$ null, // no special message ((CoreException) t).getStatus()); } } else { // CoreExceptions are handled above, but unexpected runtime // exceptions and errors may still occur. ExceptionHandler.handle( e ); MessageDialog .openError( getShell(), Messages .getString("NewReportProjectWizard.errorMessage"), //$NON-NLS-1$ Messages .getFormattedString( "NewReportProjectWizard.internalError", new Object[]{t.getMessage()})); //$NON-NLS-1$ } return null; } newProject = newProjectHandle; return newProject; }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/34292df0014fc7e617d36b1770cf4393079770bc/NewReportProjectWizard.java/buggy/UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/ui/ide/wizards/NewReportProjectWizard.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
467,
4109,
15291,
4109,
1435,
288,
1082,
202,
430,
261,
2704,
4109,
480,
446,
13,
9506,
202,
2463,
394,
4109,
31,
1082,
202,
759,
336,
279,
1984,
1640,
1082,
202,
6385,
467,
4109,
394,
4109,
3259,
273,
2774,
1964,
18,
588,
4109,
3259,
5621,
1082,
202,
759,
336,
279,
1984,
4950,
1082,
202,
45,
743,
14954,
273,
446,
31,
1082,
202,
430,
16051,
5254,
1964,
18,
1202,
7019,
10756,
9506,
202,
2704,
743,
273,
2774,
1964,
18,
588,
2735,
743,
5621,
1082,
202,
45,
8241,
6003,
273,
8128,
3773,
18,
588,
8241,
5621,
1082,
202,
6385,
467,
4109,
3291,
2477,
273,
6003,
6862,
202,
18,
2704,
4109,
3291,
12,
2704,
4109,
3259,
18,
17994,
10663,
1082,
202,
3384,
18,
542,
2735,
12,
2704,
743,
1769,
1082,
202,
3384,
18,
542,
50,
1231,
2673,
12,
2704,
514,
63,
7073,
6,
3341,
18,
20416,
18,
70,
2714,
18,
6006,
18,
16934,
264,
18,
4881,
18,
6006,
4406,
82,
1231,
6,
22938,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
202,
759,
752,
326,
394,
1984,
1674,
1082,
202,
8241,
11047,
2988,
1061,
273,
394,
14396,
11047,
2988,
1435,
288,
9506,
202,
1117,
918,
1836,
12,
45,
5491,
7187,
6438,
13,
25083,
202,
15069,
30015,
288,
6862,
202,
2640,
4109,
12,
3384,
16,
394,
4109,
3259,
16,
6438,
1769,
9506,
202,
97,
1082,
202,
20451,
1082,
202,
759,
1086,
326,
394,
1984,
6710,
1674,
1082,
202,
698,
288,
9506,
202,
588,
2170,
7675,
2681,
12,
3767,
16,
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,
1152,
467,
4109,
15291,
4109,
1435,
288,
1082,
202,
430,
261,
2704,
4109,
480,
446,
13,
9506,
202,
2463,
394,
4109,
31,
1082,
202,
759,
336,
279,
1984,
1640,
1082,
202,
6385,
467,
4109,
394,
4109,
3259,
273,
2774,
1964,
18,
588,
4109,
3259,
5621,
1082,
202,
759,
336,
279,
1984,
4950,
1082,
202,
45,
743,
14954,
273,
446,
31,
1082,
202,
430,
16051,
5254,
1964,
18,
1202,
7019,
10756,
9506,
202,
2704,
743,
273,
2774,
1964,
18,
588,
2735,
743,
5621,
1082,
202,
45,
8241,
6003,
273,
8128,
3773,
18,
588,
8241,
5621,
1082,
202,
6385,
467,
4109,
3291,
2477,
273,
6003,
6862,
202,
18,
2704,
4109,
3291,
12,
2704,
4109,
3259,
18,
17994,
10663,
1082,
2
] |
deactivateFrame(frame);
|
{ deactivateFrame(frame); glassPane.setVisible(true); }
|
public void propertyChange(PropertyChangeEvent evt) { String property = evt.getPropertyName(); if (property.equals(JInternalFrame.IS_MAXIMUM_PROPERTY)) { if (frame.isMaximum()) maximizeFrame(frame); else minimizeFrame(frame); } else if (property.equals(JInternalFrame.IS_ICON_PROPERTY)) { if (frame.isIcon()) iconifyFrame(frame); else deiconifyFrame(frame); } else if (property.equals(JInternalFrame.IS_SELECTED_PROPERTY)) { if (frame.isSelected()) activateFrame(frame); else deactivateFrame(frame); } else if (property.equals(JInternalFrame.ROOT_PANE_PROPERTY) || property.equals(JInternalFrame.GLASS_PANE_PROPERTY)) { Component old = (Component) evt.getOldValue(); if (old != null) { old.removeMouseListener(glassPaneDispatcher); old.removeMouseMotionListener(glassPaneDispatcher); } Component newPane = (Component) evt.getNewValue(); if (newPane != null) { newPane.addMouseListener(glassPaneDispatcher); newPane.addMouseMotionListener(glassPaneDispatcher); } frame.revalidate(); } else if (property.equals(JInternalFrame.IS_CLOSED_PROPERTY)) { if (evt.getNewValue() == Boolean.TRUE) { closeFrame(frame); } } /* * FIXME: need to add ancestor properties to JComponents. else if * (evt.getPropertyName().equals(JComponent.ANCESTOR_PROPERTY)) { if * (desktopPane != null) * desktopPane.removeComponentListener(componentListener); desktopPane = * frame.getDesktopPane(); if (desktopPane != null) * desktopPane.addComponentListener(componentListener); } */ }
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/04cbc6ee2f5ef981c0a6ca0e6a1d10842b56a3f9/BasicInternalFrameUI.java/buggy/javax/swing/plaf/basic/BasicInternalFrameUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1272,
3043,
12,
1396,
20930,
6324,
13,
565,
288,
1377,
514,
1272,
273,
6324,
18,
588,
13073,
5621,
1377,
309,
261,
4468,
18,
14963,
12,
46,
3061,
3219,
18,
5127,
67,
6694,
18605,
67,
9900,
3719,
3639,
288,
1850,
309,
261,
3789,
18,
291,
13528,
10756,
5411,
943,
10153,
3219,
12,
3789,
1769,
1850,
469,
5411,
18935,
3219,
12,
3789,
1769,
3639,
289,
1377,
469,
309,
261,
4468,
18,
14963,
12,
46,
3061,
3219,
18,
5127,
67,
21745,
67,
9900,
3719,
3639,
288,
1850,
309,
261,
3789,
18,
291,
5554,
10756,
5411,
4126,
1164,
3219,
12,
3789,
1769,
1850,
469,
5411,
443,
3950,
1164,
3219,
12,
3789,
1769,
3639,
289,
1377,
469,
309,
261,
4468,
18,
14963,
12,
46,
3061,
3219,
18,
5127,
67,
4803,
2056,
67,
9900,
3719,
3639,
288,
1850,
309,
261,
3789,
18,
291,
7416,
10756,
5411,
10235,
3219,
12,
3789,
1769,
1850,
469,
5411,
288,
18790,
3219,
12,
3789,
1769,
314,
459,
8485,
18,
542,
6207,
12,
3767,
1769,
289,
3639,
289,
1377,
469,
309,
261,
4468,
18,
14963,
12,
46,
3061,
3219,
18,
9185,
67,
30819,
41,
67,
9900,
13,
9079,
747,
1272,
18,
14963,
12,
46,
3061,
3219,
18,
43,
3979,
67,
30819,
41,
67,
9900,
3719,
3639,
288,
1850,
5435,
1592,
273,
261,
1841,
13,
6324,
18,
588,
7617,
620,
5621,
1850,
309,
261,
1673,
480,
446,
13,
5411,
288,
2868,
1592,
18,
4479,
9186,
2223,
12,
75,
459,
8485,
6681,
1769,
2868,
1592,
18,
4479,
9186,
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,
1272,
3043,
12,
1396,
20930,
6324,
13,
565,
288,
1377,
514,
1272,
273,
6324,
18,
588,
13073,
5621,
1377,
309,
261,
4468,
18,
14963,
12,
46,
3061,
3219,
18,
5127,
67,
6694,
18605,
67,
9900,
3719,
3639,
288,
1850,
309,
261,
3789,
18,
291,
13528,
10756,
5411,
943,
10153,
3219,
12,
3789,
1769,
1850,
469,
5411,
18935,
3219,
12,
3789,
1769,
3639,
289,
1377,
469,
309,
261,
4468,
18,
14963,
12,
46,
3061,
3219,
18,
5127,
67,
21745,
67,
9900,
3719,
3639,
288,
1850,
309,
261,
3789,
18,
291,
5554,
10756,
5411,
4126,
1164,
3219,
12,
3789,
1769,
1850,
469,
5411,
443,
3950,
1164,
3219,
12,
3789,
1769,
3639,
289,
1377,
469,
309,
261,
4468,
18,
2
] |
Delivery d = coreDestination.handle(null, r, tx);
|
MessageReference ref = this.serverPeer.getMessageStoreDelegate().reference(m); Delivery d; try { d = coreDestination.handle(null, ref, tx); } finally { ref.releaseMemoryReference(); }
|
protected void sendMessage(JBossMessage m, Transaction tx) throws JMSException { // The JMSDestination header must already have been set for each message JBossDestination jbDest = (JBossDestination)m.getJMSDestination(); if (jbDest == null) { throw new IllegalStateException("JMSDestination header not set!"); } CoreDestination coreDestination = channelMapper.getCoreDestination(jbDest); if (coreDestination == null) { throw new JMSException("Destination " + jbDest.getName() + " does not exist"); } // This allows the no-local consumers to filter out the messages that come from the same // connection // TODO Do we want to set this for ALL messages. Optimisation is possible here. m.setConnectionID(connectionID); Routable r = (Routable)m; if (trace) { log.trace("sending " + m + (tx == null ? " non-transactionally" : " transactionally on " + tx + " to the core destination " + jbDest.getName())); } //If we are sending to a topic, then we *always* do the send in the context of a transaction, //in order to ensure that the message is delivered to all durable subscriptions (if any) //attached to the topic. Otherwise if the server crashed in mid send, we may end up with the //message in some, but not all of the durable subscriptions, which would be in //contravention of the spec. //When there are many durable subs for the topic, this actually should give us a performance gain //since all the inserts can be done in the same JDBC tx too. boolean internalTx = false; if (r.isReliable() && tx == null && !coreDestination.isQueue()) { try { tx = tr.createTransaction(); } catch (Exception e) { throw new JBossJMSException("Failed to create internal transaction", e); } internalTx = true; } try { Delivery d = coreDestination.handle(null, r, tx); if (internalTx) { tx.commit(); } // The core destination is supposed to acknowledge immediately. If not, there's a problem. if (d == null || !d.isDone()) { String msg = "The message was not acknowledged by destination " + coreDestination; log.error(msg); throw new JBossJMSException(msg); } } catch (Throwable t) { if (internalTx) { try { tx.rollback(); } catch (Exception e) { log.error("Failed to rollback internal transaction", e); } } throw new JBossJMSException("Failed to send message", t); } }
|
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/c7133c9662c41fb385b863c92214187907f2d1b0/ServerConnectionEndpoint.java/buggy/src/main/org/jboss/jms/server/endpoint/ServerConnectionEndpoint.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
918,
15399,
12,
8877,
8464,
1079,
312,
16,
5947,
2229,
13,
1216,
20343,
282,
288,
1377,
368,
1021,
13270,
5683,
1446,
1297,
1818,
1240,
2118,
444,
364,
1517,
883,
1377,
804,
38,
8464,
5683,
20515,
9378,
273,
261,
8877,
8464,
5683,
13,
81,
18,
588,
46,
3537,
5683,
5621,
1377,
309,
261,
10649,
9378,
422,
446,
13,
1377,
288,
540,
604,
394,
5477,
2932,
46,
3537,
5683,
1446,
486,
444,
4442,
1769,
1377,
289,
1377,
4586,
5683,
2922,
5683,
273,
1904,
4597,
18,
588,
4670,
5683,
12,
10649,
9378,
1769,
5411,
309,
261,
3644,
5683,
422,
446,
13,
1377,
288,
540,
604,
394,
20343,
2932,
5683,
315,
397,
20515,
9378,
18,
17994,
1435,
397,
315,
1552,
486,
1005,
8863,
1377,
289,
5411,
368,
1220,
5360,
326,
1158,
17,
3729,
18350,
358,
1034,
596,
326,
2743,
716,
12404,
628,
326,
1967,
1377,
368,
225,
1459,
1377,
368,
2660,
2256,
732,
2545,
358,
444,
333,
364,
8061,
2743,
18,
19615,
10742,
353,
3323,
2674,
18,
1377,
312,
18,
542,
1952,
734,
12,
4071,
734,
1769,
5411,
7271,
429,
436,
273,
261,
4583,
429,
13,
81,
31,
1850,
309,
261,
5129,
13,
288,
613,
18,
5129,
2932,
87,
2846,
315,
397,
312,
397,
261,
978,
422,
446,
692,
315,
1661,
17,
7958,
1230,
6,
294,
315,
2492,
1230,
603,
315,
397,
2229,
397,
315,
358,
326,
2922,
2929,
315,
397,
20515,
9378,
18,
17994,
1435,
10019,
289,
5411,
368,
2047,
732,
854,
5431,
358,
279,
3958,
16,
1508,
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,
918,
15399,
12,
8877,
8464,
1079,
312,
16,
5947,
2229,
13,
1216,
20343,
282,
288,
1377,
368,
1021,
13270,
5683,
1446,
1297,
1818,
1240,
2118,
444,
364,
1517,
883,
1377,
804,
38,
8464,
5683,
20515,
9378,
273,
261,
8877,
8464,
5683,
13,
81,
18,
588,
46,
3537,
5683,
5621,
1377,
309,
261,
10649,
9378,
422,
446,
13,
1377,
288,
540,
604,
394,
5477,
2932,
46,
3537,
5683,
1446,
486,
444,
4442,
1769,
1377,
289,
1377,
4586,
5683,
2922,
5683,
273,
1904,
4597,
18,
588,
4670,
5683,
12,
10649,
9378,
1769,
5411,
309,
261,
3644,
5683,
422,
446,
13,
1377,
288,
540,
604,
394,
20343,
2932,
5683,
315,
397,
20515,
9378,
18,
17994,
1435,
397,
315,
1552,
486,
2
] |
Driver.debug("getUserName " + userName);
|
if (Driver.logDebug) Driver.debug("getUserName " + userName);
|
public String getUserName() throws SQLException { String userName = connection.getUserName(); Driver.debug("getUserName " + userName); return userName; }
|
45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/b465f5307f9f5506beb1edbcc0fb56eed7c29c12/DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
30456,
1435,
1216,
6483,
202,
95,
202,
202,
780,
12065,
273,
1459,
18,
588,
15296,
5621,
202,
202,
4668,
18,
4148,
2932,
588,
15296,
315,
397,
12065,
1769,
202,
202,
2463,
12065,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
30456,
1435,
1216,
6483,
202,
95,
202,
202,
780,
12065,
273,
1459,
18,
588,
15296,
5621,
202,
202,
4668,
18,
4148,
2932,
588,
15296,
315,
397,
12065,
1769,
202,
202,
2463,
12065,
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
] |
inserter = new FileInserter(ctx); ctx.maxInsertRetries = message.maxRetries; Thread t = new Thread(this, "FCP inserter for "+uri+" ("+identifier+") on "+handler); t.setDaemon(true); t.start();
|
inserter = new ClientPutter(this, message.bucket, uri, new ClientMetadata(mimeType), ctx, handler.node.putScheduler, priorityClass, getCHKOnly, false);
|
public ClientPut(FCPConnectionHandler handler, ClientPutMessage message) { this.handler = handler; this.identifier = message.identifier; this.getCHKOnly = message.getCHKOnly; ctx = new InserterContext(handler.defaultInsertContext); // Now go through the fields one at a time uri = message.uri; String mimeType = message.contentType; block = new InsertBlock(message.bucket, new ClientMetadata(mimeType), uri); inserter = new FileInserter(ctx); ctx.maxInsertRetries = message.maxRetries; Thread t = new Thread(this, "FCP inserter for "+uri+" ("+identifier+") on "+handler); t.setDaemon(true); t.start(); }
|
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/d32229c02576d531c915059f111c468591f30e84/ClientPut.java/buggy/src/freenet/node/fcp/ClientPut.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2445,
6426,
12,
42,
4258,
1952,
1503,
1838,
16,
2445,
6426,
1079,
883,
13,
288,
202,
202,
2211,
18,
4176,
273,
1838,
31,
202,
202,
2211,
18,
5644,
273,
883,
18,
5644,
31,
202,
202,
2211,
18,
588,
1792,
47,
3386,
273,
883,
18,
588,
1792,
47,
3386,
31,
202,
202,
5900,
273,
394,
657,
550,
387,
1042,
12,
4176,
18,
1886,
4600,
1042,
1769,
202,
202,
759,
4494,
1960,
3059,
326,
1466,
1245,
622,
279,
813,
202,
202,
1650,
273,
883,
18,
1650,
31,
202,
202,
780,
10707,
273,
883,
18,
22194,
31,
202,
202,
2629,
273,
394,
8040,
1768,
12,
2150,
18,
7242,
16,
394,
2445,
2277,
12,
19176,
3631,
2003,
1769,
202,
202,
267,
550,
387,
273,
394,
1387,
382,
550,
387,
12,
5900,
1769,
202,
202,
5900,
18,
1896,
4600,
13656,
273,
883,
18,
1896,
13656,
31,
202,
202,
3830,
268,
273,
394,
4884,
12,
2211,
16,
315,
42,
4258,
316,
550,
387,
364,
13773,
1650,
9078,
7566,
15,
5644,
15,
7923,
603,
13773,
4176,
1769,
202,
202,
88,
18,
542,
12858,
12,
3767,
1769,
202,
202,
88,
18,
1937,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2445,
6426,
12,
42,
4258,
1952,
1503,
1838,
16,
2445,
6426,
1079,
883,
13,
288,
202,
202,
2211,
18,
4176,
273,
1838,
31,
202,
202,
2211,
18,
5644,
273,
883,
18,
5644,
31,
202,
202,
2211,
18,
588,
1792,
47,
3386,
273,
883,
18,
588,
1792,
47,
3386,
31,
202,
202,
5900,
273,
394,
657,
550,
387,
1042,
12,
4176,
18,
1886,
4600,
1042,
1769,
202,
202,
759,
4494,
1960,
3059,
326,
1466,
1245,
622,
279,
813,
202,
202,
1650,
273,
883,
18,
1650,
31,
202,
202,
780,
10707,
273,
883,
18,
22194,
31,
202,
202,
2629,
273,
394,
8040,
1768,
12,
2150,
18,
7242,
16,
394,
2445,
2277,
12,
19176,
3631,
2003,
1769,
202,
202,
2
] |
return this._tmpDirectory;
|
return this.tmpDirectory;
|
public File getTmpDirectory() { return this._tmpDirectory; }
|
13242 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13242/af3c3bbacf7fe158cbf515599a6fafbe1de0c26d/AbstractJettyMojo.java/clean/trunk/modules/maven-plugin/src/main/java/org/mortbay/jetty/plugin/AbstractJettyMojo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1387,
3181,
1291,
2853,
1435,
565,
288,
3639,
327,
333,
18,
5645,
2853,
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,
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,
1387,
3181,
1291,
2853,
1435,
565,
288,
3639,
327,
333,
18,
5645,
2853,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
}
|
public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) { if (!f.hasTag(DATE_TAG)) { return super.execIdCall(f, cx, scope, thisObj, args); } int id = f.methodId(); switch (id) { case ConstructorId_now: return wrap_double(now()); case ConstructorId_parse: { String dataStr = ScriptRuntime.toString(args, 0); return wrap_double(date_parseString(dataStr)); } case ConstructorId_UTC: return wrap_double(jsStaticFunction_UTC(args)); case Id_constructor: { // if called as a function, just return a string // representing the current time. if (thisObj != null) return date_format(now(), Id_toString); return jsConstructor(args); } case Id_toString: case Id_toTimeString: case Id_toDateString: return date_format(realThis(thisObj, f).date, id); case Id_toLocaleString: case Id_toLocaleTimeString: case Id_toLocaleDateString: return toLocale_helper(realThis(thisObj, f).date, id); case Id_toUTCString: { double t = realThis(thisObj, f).date; if (t == t) { return js_toUTCString(t); } return js_NaN_date_str; } case Id_toSource: { double t = realThis(thisObj, f).date; return "(new Date("+ScriptRuntime.toString(t)+"))"; } case Id_valueOf: case Id_getTime: return wrap_double(realThis(thisObj, f).date); case Id_getYear: case Id_getFullYear: case Id_getUTCFullYear: { double t = realThis(thisObj, f).date; if (t == t) { if (id != Id_getUTCFullYear) t = LocalTime(t); t = YearFromTime(t); if (id == Id_getYear) { if (cx.hasFeature(Context.FEATURE_NON_ECMA_GET_YEAR)) { if (1900 <= t && t < 2000) { t -= 1900; } } else { t -= 1900; } } } return wrap_double(t); } case Id_getMonth: case Id_getUTCMonth: { double t = realThis(thisObj, f).date; if (t == t) { if (id == Id_getMonth) t = LocalTime(t); t = MonthFromTime(t); } return wrap_double(t); } case Id_getDate: case Id_getUTCDate: { double t = realThis(thisObj, f).date; if (t == t) { if (id == Id_getDate) t = LocalTime(t); t = DateFromTime(t); } return wrap_double(t); } case Id_getDay: case Id_getUTCDay: { double t = realThis(thisObj, f).date; if (t == t) { if (id == Id_getDay) t = LocalTime(t); t = WeekDay(t); } return wrap_double(t); } case Id_getHours: case Id_getUTCHours: { double t = realThis(thisObj, f).date; if (t == t) { if (id == Id_getHours) t = LocalTime(t); t = HourFromTime(t); } return wrap_double(t); } case Id_getMinutes: case Id_getUTCMinutes: { double t = realThis(thisObj, f).date; if (t == t) { if (id == Id_getMinutes) t = LocalTime(t); t = MinFromTime(t); } return wrap_double(t); } case Id_getSeconds: case Id_getUTCSeconds: { double t = realThis(thisObj, f).date; if (t == t) { if (id == Id_getSeconds) t = LocalTime(t); t = SecFromTime(t); } return wrap_double(t); } case Id_getMilliseconds: case Id_getUTCMilliseconds: { double t = realThis(thisObj, f).date; if (t == t) { if (id == Id_getMilliseconds) t = LocalTime(t); t = msFromTime(t); } return wrap_double(t); } case Id_getTimezoneOffset: { double t = realThis(thisObj, f).date; if (t == t) { t = (t - LocalTime(t)) / msPerMinute; } return wrap_double(t); } case Id_setTime: { NativeDate real = realThis(thisObj, f); double t = ScriptRuntime.toNumber(args, 0); real.date = TimeClip(t); return wrap_double(real.date); } case Id_setMilliseconds: case Id_setUTCMilliseconds: case Id_setSeconds: case Id_setUTCSeconds: case Id_setMinutes: case Id_setUTCMinutes: case Id_setHours: case Id_setUTCHours: return wrap_double(realThis(thisObj, f).makeTime(args, id)); case Id_setDate: case Id_setUTCDate: case Id_setMonth: case Id_setUTCMonth: case Id_setFullYear: case Id_setUTCFullYear: return wrap_double(realThis(thisObj, f).makeDate(args, id)); case Id_setYear: { double year = ScriptRuntime.toNumber(args, 0); return wrap_double(realThis(thisObj, f).js_setYear(year)); } default: throw new IllegalArgumentException(String.valueOf(id)); } }
|
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/ef2adbe0e46291a57bc6c6eda9ce45275f62985c/NativeDate.java/clean/js/rhino/src/org/mozilla/javascript/NativeDate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
548,
1477,
12,
548,
2083,
921,
284,
16,
1772,
9494,
16,
22780,
2146,
16,
11794,
22780,
15261,
16,
1033,
8526,
833,
13,
565,
288,
3639,
309,
16051,
74,
18,
5332,
1805,
12,
4594,
67,
7927,
3719,
288,
5411,
327,
2240,
18,
4177,
548,
1477,
12,
74,
16,
9494,
16,
2146,
16,
15261,
16,
833,
1769,
9079,
509,
612,
273,
284,
18,
2039,
548,
5621,
3639,
1620,
261,
350,
13,
288,
1850,
648,
11417,
548,
67,
3338,
30,
5411,
327,
2193,
67,
9056,
12,
3338,
10663,
1850,
648,
11417,
548,
67,
2670,
30,
288,
5411,
514,
501,
1585,
273,
7739,
5576,
18,
10492,
12,
1968,
16,
374,
1769,
5411,
327,
2193,
67,
9056,
12,
712,
67,
2670,
780,
12,
892,
1585,
10019,
10402,
648,
11417,
548,
67,
11471,
30,
5411,
327,
2193,
67,
9056,
12,
2924,
5788,
2083,
67,
11471,
12,
1968,
10019,
1850,
648,
3124,
67,
12316,
30,
288,
5411,
368,
309,
2566,
487,
279,
445,
16,
2537,
327,
279,
533,
5411,
368,
5123,
326,
783,
813,
18,
5411,
309,
261,
2211,
2675,
480,
446,
13,
7734,
327,
1509,
67,
2139,
12,
3338,
9334,
3124,
67,
10492,
1769,
5411,
327,
3828,
6293,
12,
1968,
1769,
10402,
648,
3124,
67,
10492,
30,
1850,
648,
3124,
67,
869,
950,
780,
30,
1850,
648,
3124,
67,
869,
1626,
780,
30,
5411,
327,
1509,
67,
2139,
12,
7688,
2503,
12,
2211,
2675,
16,
284,
2934,
712,
16,
612,
1769,
1850,
648,
3124,
67,
869,
3916,
780,
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,
377,
1071,
1033,
1196,
548,
1477,
12,
548,
2083,
921,
284,
16,
1772,
9494,
16,
22780,
2146,
16,
11794,
22780,
15261,
16,
1033,
8526,
833,
13,
565,
288,
3639,
309,
16051,
74,
18,
5332,
1805,
12,
4594,
67,
7927,
3719,
288,
5411,
327,
2240,
18,
4177,
548,
1477,
12,
74,
16,
9494,
16,
2146,
16,
15261,
16,
833,
1769,
9079,
509,
612,
273,
284,
18,
2039,
548,
5621,
3639,
1620,
261,
350,
13,
288,
1850,
648,
11417,
548,
67,
3338,
30,
5411,
327,
2193,
67,
9056,
12,
3338,
10663,
1850,
648,
11417,
548,
67,
2670,
30,
288,
5411,
514,
501,
1585,
273,
7739,
5576,
18,
10492,
12,
1968,
16,
374,
1769,
5411,
327,
2193,
67,
9056,
12,
712,
67,
2
] |
|
handleDispose();
|
handleMouseDown(event);
|
public void handleEvent(Event event) { handleDispose(); }
|
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/8862e9074b4e4a9560de676a5074c8c48df6bb4d/StyledText.java/clean/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1640,
1133,
12,
1133,
871,
13,
288,
1082,
202,
4110,
1669,
4150,
5621,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1640,
1133,
12,
1133,
871,
13,
288,
1082,
202,
4110,
1669,
4150,
5621,
202,
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,
-100,
-100
] |
manager.multicastSrvRegNotification(service, serviceAgent, true);
|
notifyServiceRegistration(service, serviceAgent); scheduleServiceRenewal(service);
|
private void registerService(SAServiceInfo service) throws IOException, ServiceLocationException { List das = findDirectoryAgents(service.getScopes()); if (!das.isEmpty()) { for (int i = 0; i < das.size(); ++i) { DirectoryAgentInfo directory = (DirectoryAgentInfo)das.get(i); registerServiceWithDirectoryAgent(service, directory); scheduleServiceRenewal(service, directory); } } else { // There are no DA deployed on the network: multicast a SrvReg as specified by RFC 3082. manager.multicastSrvRegNotification(service, serviceAgent, true); // TODO: periodic multicast of SrvReg for service renewal ? } }
|
6331 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6331/2a0a0b930f4e6f002be3c408a921ac0d8393f7f1/StandardServiceAgent.java/buggy/livetribe/trunk/livetribe-slp/src/main/java/org/livetribe/slp/api/sa/StandardServiceAgent.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1744,
1179,
12,
5233,
1179,
966,
1156,
13,
1216,
1860,
16,
1956,
2735,
503,
565,
288,
3639,
987,
30255,
273,
1104,
2853,
23400,
12,
3278,
18,
588,
12668,
10663,
3639,
309,
16051,
28831,
18,
291,
1921,
10756,
3639,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
30255,
18,
1467,
5621,
965,
77,
13,
5411,
288,
7734,
8930,
3630,
966,
1867,
273,
261,
2853,
3630,
966,
13,
28831,
18,
588,
12,
77,
1769,
7734,
1744,
1179,
1190,
2853,
3630,
12,
3278,
16,
1867,
1769,
7734,
4788,
1179,
24058,
287,
12,
3278,
16,
1867,
1769,
5411,
289,
3639,
289,
3639,
469,
3639,
288,
5411,
368,
6149,
854,
1158,
463,
37,
19357,
603,
326,
2483,
30,
24470,
279,
348,
4962,
1617,
487,
1269,
635,
8372,
5196,
11149,
18,
5411,
5066,
1179,
7843,
12,
3278,
16,
1156,
3630,
1769,
4788,
1179,
24058,
287,
12,
3278,
1769,
6647,
368,
2660,
30,
17478,
24470,
434,
348,
4962,
1617,
364,
1156,
15723,
287,
692,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1744,
1179,
12,
5233,
1179,
966,
1156,
13,
1216,
1860,
16,
1956,
2735,
503,
565,
288,
3639,
987,
30255,
273,
1104,
2853,
23400,
12,
3278,
18,
588,
12668,
10663,
3639,
309,
16051,
28831,
18,
291,
1921,
10756,
3639,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
30255,
18,
1467,
5621,
965,
77,
13,
5411,
288,
7734,
8930,
3630,
966,
1867,
273,
261,
2853,
3630,
966,
13,
28831,
18,
588,
12,
77,
1769,
7734,
1744,
1179,
1190,
2853,
3630,
12,
3278,
16,
1867,
1769,
7734,
4788,
1179,
24058,
287,
12,
3278,
16,
1867,
1769,
5411,
289,
3639,
289,
3639,
469,
3639,
288,
5411,
368,
6149,
854,
1158,
463,
37,
19357,
603,
326,
2483,
30,
2
] |
public void createTable(Database database, Table table) throws IOException
|
public void createTable(Database database, Table table, Map parameters) throws IOException
|
public void createTable(Database database, Table table) throws IOException { writeQuotationOnStatement(); super.createTable(database, table); }
|
3517 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3517/3d0dd232b6fb51510de1b20c38c5d114b9b17c24/SybaseBuilder.java/clean/src/java/org/apache/ddlutils/platform/SybaseBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
19565,
12,
4254,
2063,
16,
3555,
1014,
16,
1635,
1472,
13,
1216,
1860,
565,
288,
3639,
1045,
7678,
367,
1398,
3406,
5621,
3639,
2240,
18,
2640,
1388,
12,
6231,
16,
1014,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
918,
19565,
12,
4254,
2063,
16,
3555,
1014,
16,
1635,
1472,
13,
1216,
1860,
565,
288,
3639,
1045,
7678,
367,
1398,
3406,
5621,
3639,
2240,
18,
2640,
1388,
12,
6231,
16,
1014,
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
] |
jsc.add("throw new IndexOutOfBoundsException();");
|
jsc.add("throw new IndexOutOfBoundsException(\""); jsc.append(method.getName()); jsc.append(" has a maximum of "); jsc.append(Integer.toString(maxSize)); jsc.append("\");");
|
public void createAddInsertMethod(JMethod method) { JSourceCode jsc = method.getSourceCode(); int maxSize = getXSList().getMaximumSize(); if (maxSize > 0) { jsc.add("if (!("); jsc.append(getName()); jsc.append(".size() < "); jsc.append(Integer.toString(maxSize)); jsc.append(")) {"); jsc.indent(); jsc.add("throw new IndexOutOfBoundsException();"); jsc.unindent(); jsc.add("}"); } jsc.add(getName()); jsc.append(".insertElementAt("); jsc.append(getContentType().createToJavaObjectCode(getContentName())); jsc.append(", index);"); //-- bound properties if (isBound()) createBoundPropertyCode(jsc); } //-- createAddMethod
|
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/1ecd384122f7a387dddd6e6e84ea9501cd51e530/CollectionInfo.java/buggy/trunk/castor/src/main/org/exolab/castor/builder/CollectionInfo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
986,
4600,
1305,
12,
46,
1305,
707,
13,
288,
3639,
804,
1830,
1085,
525,
1017,
273,
707,
18,
588,
1830,
1085,
5621,
3639,
509,
14777,
273,
6538,
55,
682,
7675,
588,
13528,
1225,
5621,
3639,
309,
261,
1896,
1225,
405,
374,
13,
288,
5411,
525,
1017,
18,
1289,
2932,
430,
16051,
2932,
1769,
5411,
525,
1017,
18,
6923,
12,
17994,
10663,
5411,
525,
1017,
18,
6923,
2932,
18,
1467,
1435,
411,
315,
1769,
5411,
525,
1017,
18,
6923,
12,
4522,
18,
10492,
12,
1896,
1225,
10019,
5411,
525,
1017,
18,
6923,
2932,
3719,
288,
8863,
5411,
525,
1017,
18,
9355,
5621,
5411,
525,
1017,
18,
1289,
2932,
12849,
394,
17768,
12,
8530,
1769,
525,
1017,
18,
6923,
12,
2039,
18,
17994,
10663,
525,
1017,
18,
6923,
2932,
711,
279,
4207,
434,
315,
1769,
525,
1017,
18,
6923,
12,
4522,
18,
10492,
12,
1896,
1225,
10019,
525,
1017,
18,
6923,
2932,
2412,
1769,
8863,
5411,
525,
1017,
18,
318,
9355,
5621,
5411,
525,
1017,
18,
1289,
2932,
1532,
1769,
3639,
289,
3639,
525,
1017,
18,
1289,
12,
17994,
10663,
3639,
525,
1017,
18,
6923,
2932,
18,
6387,
1046,
861,
2932,
1769,
3639,
525,
1017,
18,
6923,
12,
588,
8046,
7675,
2640,
774,
5852,
921,
1085,
12,
588,
1350,
461,
1435,
10019,
202,
202,
78,
1017,
18,
6923,
2932,
16,
770,
1769,
8863,
3639,
368,
413,
2489,
1790,
3639,
309,
261,
291,
3499,
10756,
5411,
752,
3499,
1396,
1085,
12,
78,
1017,
1769,
565,
289,
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,
752,
986,
4600,
1305,
12,
46,
1305,
707,
13,
288,
3639,
804,
1830,
1085,
525,
1017,
273,
707,
18,
588,
1830,
1085,
5621,
3639,
509,
14777,
273,
6538,
55,
682,
7675,
588,
13528,
1225,
5621,
3639,
309,
261,
1896,
1225,
405,
374,
13,
288,
5411,
525,
1017,
18,
1289,
2932,
430,
16051,
2932,
1769,
5411,
525,
1017,
18,
6923,
12,
17994,
10663,
5411,
525,
1017,
18,
6923,
2932,
18,
1467,
1435,
411,
315,
1769,
5411,
525,
1017,
18,
6923,
12,
4522,
18,
10492,
12,
1896,
1225,
10019,
5411,
525,
1017,
18,
6923,
2932,
3719,
288,
8863,
5411,
525,
1017,
18,
9355,
5621,
5411,
525,
1017,
18,
1289,
2932,
12849,
394,
17768,
12,
8530,
1769,
525,
1017,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.