rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
super(ruby, "$" + bean.name, null);
super(ruby, GlobalVariable.variableName(bean.name), null);
public BeanGlobalVariable(Ruby ruby, BSFDeclaredBean bean) { super(ruby, "$" + bean.name, null); this.bean = bean; }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/fe90dd6c556fab30e7ced54beb6d47e382ea6ee0/JRubyEngine.java/buggy/src/org/jruby/javasupport/bsf/JRubyEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 7704, 5160, 3092, 12, 54, 10340, 22155, 16, 605, 22395, 18888, 3381, 3931, 13, 288, 5411, 2240, 12, 27768, 16, 8510, 3092, 18, 6105, 461, 12, 14496, 18, 529, 3631, 446, 1769, 5411, 333, 18, 14496, 273, 3931, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 540, 1071, 7704, 5160, 3092, 12, 54, 10340, 22155, 16, 605, 22395, 18888, 3381, 3931, 13, 288, 5411, 2240, 12, 27768, 16, 8510, 3092, 18, 6105, 461, 12, 14496, 18, 529, 3631, 446, 1769, 5411, 333, 18, 14496, 273, 3931, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
UserDomainObject user, IMCServiceInterface imcref ) throws IOException {
UserDomainObject user, ImcmsServices imcref ) throws IOException {
private boolean upload( MultipartFormdataParser mp, File destDir, File dir1, File dir2, HttpServletResponse res, UserDomainObject user, IMCServiceInterface imcref ) throws IOException { boolean handledOutput = false; String fileContents = mp.getParameter( "file" ); if ( fileContents == null || fileContents.length() < 1 ) { outputBlankFileError( dir1, dir2, res, user, imcref ); handledOutput = true; return handledOutput; } String filename = ( new File( mp.getFilename( "file" ) ) ).getName(); File file = new File( destDir, filename ); File uniqueFile = findUniqueFilename( file ); if ( file.equals( uniqueFile ) || file.renameTo( uniqueFile ) ) { FileOutputStream fout = new FileOutputStream( file ); byte[] bytes = fileContents.getBytes( "8859_1" ); fout.write( bytes ); fout.flush(); fout.close(); if ( !file.equals( uniqueFile ) ) { outputFileExistedAndTheOriginalWasRenamedNotice( dir1, dir2, uniqueFile.getName(), res, user, imcref ); handledOutput = true; } } else { // FIXME: Output failed-to-rename-original-file error dialog handledOutput = false; } return handledOutput; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/d060a6873350aa2972f54c354321cf3756f50e6f/FileAdmin.java/clean/server/src/com/imcode/imcms/servlet/superadmin/FileAdmin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 3617, 12, 19919, 1204, 892, 2678, 6749, 16, 1387, 26231, 16, 1387, 1577, 21, 16, 1387, 1577, 22, 16, 12446, 400, 16, 18701, 2177, 3748, 921, 729, 16, 2221, 6851, 5676, 709, 71, 1734, 262, 1216, 1860, 288, 3639, 1250, 7681, 1447, 273, 629, 31, 3639, 514, 22031, 273, 6749, 18, 588, 1662, 12, 315, 768, 6, 11272, 3639, 309, 261, 22031, 422, 446, 747, 22031, 18, 2469, 1435, 411, 404, 262, 288, 5411, 876, 7796, 812, 668, 12, 1577, 21, 16, 1577, 22, 16, 400, 16, 729, 16, 709, 71, 1734, 11272, 5411, 7681, 1447, 273, 638, 31, 5411, 327, 7681, 1447, 31, 3639, 289, 3639, 514, 1544, 273, 261, 394, 1387, 12, 6749, 18, 588, 5359, 12, 315, 768, 6, 262, 262, 262, 18, 17994, 5621, 3639, 1387, 585, 273, 394, 1387, 12, 26231, 16, 1544, 11272, 3639, 1387, 3089, 812, 273, 1104, 6303, 5359, 12, 585, 11272, 3639, 309, 261, 585, 18, 14963, 12, 3089, 812, 262, 747, 585, 18, 18539, 774, 12, 3089, 812, 262, 262, 288, 5411, 12942, 17382, 273, 394, 12942, 12, 585, 11272, 5411, 1160, 8526, 1731, 273, 22031, 18, 588, 2160, 12, 315, 17258, 67, 21, 6, 11272, 5411, 17382, 18, 2626, 12, 1731, 11272, 5411, 17382, 18, 11330, 5621, 5411, 17382, 18, 4412, 5621, 5411, 309, 261, 401, 768, 18, 14963, 12, 3089, 812, 262, 262, 288, 7734, 15047, 4786, 329, 1876, 1986, 8176, 14992, 16290, 2808, 20127, 12, 1577, 21, 16, 1577, 22, 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, 377, 3238, 1250, 3617, 12, 19919, 1204, 892, 2678, 6749, 16, 1387, 26231, 16, 1387, 1577, 21, 16, 1387, 1577, 22, 16, 12446, 400, 16, 18701, 2177, 3748, 921, 729, 16, 2221, 6851, 5676, 709, 71, 1734, 262, 1216, 1860, 288, 3639, 1250, 7681, 1447, 273, 629, 31, 3639, 514, 22031, 273, 6749, 18, 588, 1662, 12, 315, 768, 6, 11272, 3639, 309, 261, 22031, 422, 446, 747, 22031, 18, 2469, 1435, 411, 404, 262, 288, 5411, 876, 7796, 812, 668, 12, 1577, 21, 16, 1577, 22, 16, 400, 16, 729, 16, 709, 71, 1734, 11272, 5411, 7681, 1447, 273, 638, 31, 5411, 327, 7681, 1447, 31, 3639, 289, 3639, 514, 1544, 273, 261, 394, 1387, 12, 6749, 18, 2 ]
rowCount = 0;
protected void newContext( ) { createRoot( ); buildTableLayoutInfo( ); root.setWidth( layoutInfo.getTableWidth( ) ); setMaxAvaHeight( getAvaHeight( ) ); setMaxAvaWidth( layoutInfo.getTableWidth( ) ); setCurrentIP( 0 ); setCurrentBP( 0 ); repeatRowCount = 0; setCurrentIP( 0 ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/7ed22fff465f0a50978a06defbc3569031f205c8/PDFTableLM.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFTableLM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 492, 1380, 273, 374, 31, 918, 492, 1380, 273, 374, 31, 28210, 12, 492, 1380, 273, 374, 31, 262, 202, 95, 202, 202, 2640, 2375, 12, 492, 1380, 273, 374, 31, 11272, 202, 202, 3510, 1388, 3744, 966, 12, 492, 1380, 273, 374, 31, 11272, 202, 202, 3085, 18, 542, 2384, 12, 492, 1380, 273, 374, 31, 3511, 966, 18, 588, 1388, 2384, 12, 492, 1380, 273, 374, 31, 262, 492, 1380, 273, 374, 31, 11272, 202, 202, 542, 2747, 3769, 69, 2686, 12, 492, 1380, 273, 374, 31, 336, 3769, 69, 2686, 12, 492, 1380, 273, 374, 31, 262, 492, 1380, 273, 374, 31, 11272, 202, 202, 542, 2747, 3769, 69, 2384, 12, 492, 1380, 273, 374, 31, 3511, 966, 18, 588, 1388, 2384, 12, 492, 1380, 273, 374, 31, 262, 492, 1380, 273, 374, 31, 11272, 202, 202, 542, 3935, 2579, 12, 492, 1380, 273, 374, 31, 374, 492, 1380, 273, 374, 31, 11272, 202, 202, 542, 3935, 30573, 12, 492, 1380, 273, 374, 31, 374, 492, 1380, 273, 374, 31, 11272, 202, 202, 9374, 26359, 492, 1380, 273, 374, 31, 273, 492, 1380, 273, 374, 31, 374, 31, 202, 202, 542, 3935, 2579, 12, 492, 1380, 273, 374, 31, 374, 492, 1380, 273, 374, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 492, 1380, 273, 374, 31, 918, 492, 1380, 273, 374, 31, 28210, 12, 492, 1380, 273, 374, 31, 262, 202, 95, 202, 202, 2640, 2375, 12, 492, 1380, 273, 374, 31, 11272, 202, 202, 3510, 1388, 3744, 966, 12, 492, 1380, 273, 374, 31, 11272, 202, 202, 3085, 18, 542, 2384, 12, 492, 1380, 273, 374, 31, 3511, 966, 18, 588, 1388, 2384, 12, 492, 1380, 273, 374, 31, 262, 492, 1380, 273, 374, 31, 11272, 202, 202, 542, 2747, 3769, 69, 2686, 12, 492, 1380, 273, 374, 31, 336, 3769, 69, 2686, 12, 492, 1380, 273, 374, 31, 262, 492, 1380, 273, 374, 31, 11272, 202, 202, 542, 2747, 3769, 69, 2384, 12, 492, 1380, 2 ]
path.setText(query.getPath());
if(query.getPath() != null) path.setText(query.getPath()); else path.setText(I18n.getMessage("thaw.common.unspecified"));
public void refreshAll() { refresh(); if(query != null) { file.setText(query.getFilename()); path.setText(query.getPath()); if(query.isGlobal()) globalQueue.setText(I18n.getMessage("thaw.common.yes")); else globalQueue.setText(I18n.getMessage("thaw.common.no")); } else { file.setText(""); key.setText(""); path.setText(""); globalQueue.setText(""); } }
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/704820d7bded9d740ada32516d8a2acc436e214a/DetailPanel.java/buggy/src/thaw/plugins/queueWatcher/DetailPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4460, 1595, 1435, 288, 202, 202, 9144, 5621, 202, 202, 430, 12, 2271, 480, 446, 13, 288, 1082, 202, 768, 18, 542, 1528, 12, 2271, 18, 588, 5359, 10663, 1082, 202, 803, 18, 542, 1528, 12, 2271, 18, 588, 743, 10663, 25083, 202, 430, 12, 2271, 18, 291, 5160, 10756, 9506, 202, 6347, 3183, 18, 542, 1528, 12, 45, 2643, 82, 18, 24906, 2932, 451, 2219, 18, 6054, 18, 9707, 7923, 1769, 1082, 202, 12107, 9506, 202, 6347, 3183, 18, 542, 1528, 12, 45, 2643, 82, 18, 24906, 2932, 451, 2219, 18, 6054, 18, 2135, 7923, 1769, 202, 202, 97, 469, 288, 1082, 202, 768, 18, 542, 1528, 2932, 8863, 1082, 202, 856, 18, 542, 1528, 2932, 8863, 1082, 202, 803, 18, 542, 1528, 2932, 8863, 1082, 202, 6347, 3183, 18, 542, 1528, 2932, 8863, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4460, 1595, 1435, 288, 202, 202, 9144, 5621, 202, 202, 430, 12, 2271, 480, 446, 13, 288, 1082, 202, 768, 18, 542, 1528, 12, 2271, 18, 588, 5359, 10663, 1082, 202, 803, 18, 542, 1528, 12, 2271, 18, 588, 743, 10663, 25083, 202, 430, 12, 2271, 18, 291, 5160, 10756, 9506, 202, 6347, 3183, 18, 542, 1528, 12, 45, 2643, 82, 18, 24906, 2932, 451, 2219, 18, 6054, 18, 9707, 7923, 1769, 1082, 202, 12107, 9506, 202, 6347, 3183, 18, 542, 1528, 12, 45, 2643, 82, 18, 24906, 2932, 451, 2219, 18, 6054, 18, 2135, 7923, 1769, 202, 202, 97, 469, 288, 1082, 202, 768, 18, 542, 1528, 2932, 8863, 1082, 202, 856, 18, 542, 2 ]
if (Initializer.getDatabase() == Initializer.POSTGRES) {
if (DbHelper.getDatabase() == DbHelper.DB_POSTGRES) {
public void testGetConnection() throws SQLException { conn = ConnectionManager.getConnection(); try { assertNotNull(conn); String dateQuery = null; if (Initializer.getDatabase() == Initializer.POSTGRES) { dateQuery = POSTGRES_DATE_QUERY; } else { dateQuery = ORACLE_DATE_QUERY; } java.sql.PreparedStatement stmt = conn.prepareStatement(dateQuery); try { java.sql.ResultSet rs = stmt.executeQuery(); try { if (rs.next()) { String date = rs.getString(1); assertNotNull(date); } else { fail("Empty result set from sysdate query"); } } finally { rs.close(); } } finally { stmt.close(); } } finally { conn.close(); } }
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/a81e02757ceb6d6ac4c6234daea0574748217fd0/ConnectionManagerTest.java/clean/archive/core-platform/test/src/com/arsdigita/db/ConnectionManagerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 1952, 1435, 1216, 6483, 288, 3639, 1487, 273, 4050, 1318, 18, 588, 1952, 5621, 3639, 775, 288, 5411, 25395, 12, 4646, 1769, 5411, 514, 1509, 1138, 273, 446, 31, 5411, 309, 261, 4331, 2276, 18, 588, 4254, 1435, 422, 8408, 2276, 18, 2290, 67, 3798, 43, 7031, 13, 288, 7734, 1509, 1138, 273, 5485, 43, 7031, 67, 4594, 67, 10753, 31, 5411, 289, 469, 288, 7734, 1509, 1138, 273, 4869, 2226, 900, 67, 4594, 67, 10753, 31, 5411, 289, 5411, 2252, 18, 4669, 18, 29325, 3480, 273, 1171, 1487, 18, 9366, 3406, 12, 712, 1138, 1769, 5411, 775, 288, 7734, 2252, 18, 4669, 18, 13198, 3597, 273, 3480, 18, 8837, 1138, 5621, 7734, 775, 288, 10792, 309, 261, 5453, 18, 4285, 10756, 288, 13491, 514, 1509, 273, 3597, 18, 588, 780, 12, 21, 1769, 13491, 25395, 12, 712, 1769, 10792, 289, 469, 288, 13491, 2321, 2932, 1921, 563, 444, 628, 2589, 712, 843, 8863, 10792, 289, 7734, 289, 3095, 288, 10792, 3597, 18, 4412, 5621, 7734, 289, 5411, 289, 3095, 288, 7734, 3480, 18, 4412, 5621, 5411, 289, 3639, 289, 3095, 288, 5411, 1487, 18, 4412, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 1952, 1435, 1216, 6483, 288, 3639, 1487, 273, 4050, 1318, 18, 588, 1952, 5621, 3639, 775, 288, 5411, 25395, 12, 4646, 1769, 5411, 514, 1509, 1138, 273, 446, 31, 5411, 309, 261, 4331, 2276, 18, 588, 4254, 1435, 422, 8408, 2276, 18, 2290, 67, 3798, 43, 7031, 13, 288, 7734, 1509, 1138, 273, 5485, 43, 7031, 67, 4594, 67, 10753, 31, 5411, 289, 469, 288, 7734, 1509, 1138, 273, 4869, 2226, 900, 67, 4594, 67, 10753, 31, 5411, 289, 5411, 2252, 18, 4669, 18, 29325, 3480, 273, 1171, 1487, 18, 9366, 3406, 12, 712, 1138, 1769, 5411, 775, 288, 7734, 2252, 18, 4669, 18, 13198, 3597, 273, 3480, 18, 8837, 1138, 5621, 7734, 775, 2 ]
assertEquals(STRING_1_UTF8_RESULT + CR_LF, convertedHtml1); assertEquals(STRING_2_UTF8_RESULT + CR_LF, convertedHtml2);
assertEquals(STRING_1_UTF8_RESULT , convertedHtml1); assertEquals(STRING_2_UTF8_RESULT , convertedHtml2);
public void testUTF8() { System.out.println("Testing UTF-8 conversion"); CmsHtmlConverter converter = new CmsHtmlConverter("UTF-8", CmsHtmlConverter.PARAM_WORD); String convertedHtml1 = converter.convertToStringSilent(STRING_1); String convertedHtml2 = converter.convertToStringSilent(STRING_2); // the converted code will end with a cr ff (\r\n) assertEquals(STRING_1_UTF8_RESULT + CR_LF, convertedHtml1); assertEquals(STRING_2_UTF8_RESULT + CR_LF, convertedHtml2); }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/c2939090018d7c044ebe0e84bde2c0896c542338/TestCmsHtmlConverter.java/buggy/test/org/opencms/util/TestCmsHtmlConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5159, 28, 1435, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 22218, 6380, 17, 28, 4105, 8863, 3639, 2149, 4353, 5072, 6027, 273, 394, 2149, 4353, 5072, 2932, 5159, 17, 28, 3113, 2149, 4353, 5072, 18, 8388, 67, 7952, 1769, 7734, 514, 5970, 4353, 21, 273, 6027, 18, 6283, 5808, 55, 8125, 12, 5804, 67, 21, 1769, 3639, 514, 5970, 4353, 22, 273, 6027, 18, 6283, 5808, 55, 8125, 12, 5804, 67, 22, 1769, 7734, 368, 326, 5970, 981, 903, 679, 598, 279, 4422, 6875, 17938, 86, 64, 82, 13, 1171, 1815, 8867, 12, 5804, 67, 21, 67, 5159, 28, 67, 12289, 397, 6732, 67, 9105, 16, 5970, 4353, 21, 1769, 3639, 1815, 8867, 12, 5804, 67, 22, 67, 5159, 28, 67, 12289, 397, 6732, 67, 9105, 16, 5970, 4353, 22, 1769, 1377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5159, 28, 1435, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 22218, 6380, 17, 28, 4105, 8863, 3639, 2149, 4353, 5072, 6027, 273, 394, 2149, 4353, 5072, 2932, 5159, 17, 28, 3113, 2149, 4353, 5072, 18, 8388, 67, 7952, 1769, 7734, 514, 5970, 4353, 21, 273, 6027, 18, 6283, 5808, 55, 8125, 12, 5804, 67, 21, 1769, 3639, 514, 5970, 4353, 22, 273, 6027, 18, 6283, 5808, 55, 8125, 12, 5804, 67, 22, 1769, 7734, 368, 326, 5970, 981, 903, 679, 598, 279, 4422, 6875, 17938, 86, 64, 82, 13, 1171, 1815, 8867, 12, 5804, 67, 21, 67, 5159, 28, 67, 12289, 397, 6732, 67, 9105, 16, 5970, 4353, 21, 1769, 3639, 1815, 8867, 12, 2 ]
else if(buffer.getFoldLevel(i) >= collapseFolds)
else if(buffer.getFoldLevel(i) >= threshold)
public void _linesInserted(int startLine, int numLines) { //{{{ Find fold start of this line boolean visible = true; int foldLevel = buffer.getFoldLevel(startLine); for(int i = startLine - 1; i >= 0; i--) { if(buffer.isFoldStart(i) && buffer.getFoldLevel(i) < foldLevel) { visible = buffer._isLineVisible(i,index); break; } } //}}} int collapseFolds = buffer.getIntegerProperty("collapseFolds",0); if(collapseFolds != 0) collapseFolds = (collapseFolds - 1) * buffer.getIndentSize() + 1; int newVirtualLineCount = virtualLineCount; boolean seenVisibleLine = (startLine != 0); for(int i = startLine; i < startLine + numLines; i++) { boolean _visible; if(collapseFolds == 0) _visible = visible; else if(buffer.getFoldLevel(i) >= collapseFolds) _visible = false; else _visible = visible; if(!seenVisibleLine && !visible) _visible = true; if(_visible) { seenVisibleLine = true; newVirtualLineCount++; } buffer._setLineVisible(i,index,_visible); } virtualLineCount = newVirtualLineCount; if(lastPhysical >= startLine) lastPhysical = lastVirtual = 0; } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/bbc2f9d5ca37662f1fdd9549a2be6ddfd2a59ef8/FoldVisibilityManager.java/clean/org/gjt/sp/jedit/textarea/FoldVisibilityManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 389, 3548, 27329, 12, 474, 24636, 16, 509, 818, 5763, 13, 202, 95, 202, 202, 759, 12187, 95, 4163, 11590, 787, 434, 333, 980, 202, 202, 6494, 6021, 273, 638, 31, 202, 202, 474, 11590, 2355, 273, 1613, 18, 588, 15592, 2355, 12, 1937, 1670, 1769, 202, 202, 1884, 12, 474, 277, 273, 24636, 300, 404, 31, 277, 1545, 374, 31, 277, 413, 13, 202, 202, 95, 1082, 202, 430, 12, 4106, 18, 291, 15592, 1685, 12, 77, 13, 597, 1613, 18, 588, 15592, 2355, 12, 77, 13, 411, 11590, 2355, 13, 1082, 202, 95, 9506, 202, 8613, 273, 1613, 6315, 291, 1670, 6207, 12, 77, 16, 1615, 1769, 9506, 202, 8820, 31, 1082, 202, 97, 202, 202, 97, 368, 9090, 97, 202, 202, 474, 13627, 15592, 87, 273, 1613, 18, 588, 4522, 1396, 2932, 21405, 15592, 87, 3113, 20, 1769, 202, 202, 430, 12, 21405, 15592, 87, 480, 374, 13, 1082, 202, 21405, 15592, 87, 273, 261, 21405, 15592, 87, 300, 404, 13, 380, 1613, 18, 588, 7790, 1225, 1435, 397, 404, 31, 202, 202, 474, 394, 6466, 1670, 1380, 273, 5024, 1670, 1380, 31, 202, 202, 6494, 5881, 6207, 1670, 273, 261, 1937, 1670, 480, 374, 1769, 202, 202, 1884, 12, 474, 277, 273, 24636, 31, 277, 411, 24636, 397, 818, 5763, 31, 277, 27245, 202, 202, 95, 1082, 202, 6494, 389, 8613, 31, 1082, 202, 430, 12, 21405, 15592, 87, 422, 374, 13, 9506, 202, 67, 8613, 273, 6021, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 389, 3548, 27329, 12, 474, 24636, 16, 509, 818, 5763, 13, 202, 95, 202, 202, 759, 12187, 95, 4163, 11590, 787, 434, 333, 980, 202, 202, 6494, 6021, 273, 638, 31, 202, 202, 474, 11590, 2355, 273, 1613, 18, 588, 15592, 2355, 12, 1937, 1670, 1769, 202, 202, 1884, 12, 474, 277, 273, 24636, 300, 404, 31, 277, 1545, 374, 31, 277, 413, 13, 202, 202, 95, 1082, 202, 430, 12, 4106, 18, 291, 15592, 1685, 12, 77, 13, 597, 1613, 18, 588, 15592, 2355, 12, 77, 13, 411, 11590, 2355, 13, 1082, 202, 95, 9506, 202, 8613, 273, 1613, 6315, 291, 1670, 6207, 12, 77, 16, 1615, 1769, 9506, 202, 8820, 31, 1082, 202, 2 ]
super();
public EvalTextArea(SwingGui debugGui) { super(); this.debugGui = debugGui; history = new java.util.Vector(); Document doc = getDocument(); doc.addDocumentListener(this); addKeyListener(this); setLineWrap(true); setFont(new Font("Monospaced", 0, 12)); append("% "); outputMark = doc.getLength(); }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/2d4fc75b74d717c754829dde488ff0a7456682cc/SwingGui.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/SwingGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13163, 1528, 5484, 12, 6050, 310, 18070, 1198, 18070, 13, 288, 9079, 333, 18, 4148, 18070, 273, 1198, 18070, 31, 3639, 4927, 273, 394, 2252, 18, 1367, 18, 5018, 5621, 3639, 4319, 997, 273, 9956, 5621, 3639, 997, 18, 1289, 2519, 2223, 12, 2211, 1769, 3639, 24819, 2223, 12, 2211, 1769, 3639, 26482, 2964, 12, 3767, 1769, 3639, 20454, 12, 2704, 10063, 2932, 11415, 538, 909, 72, 3113, 374, 16, 2593, 10019, 3639, 714, 27188, 315, 1769, 3639, 876, 3882, 273, 997, 18, 588, 1782, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13163, 1528, 5484, 12, 6050, 310, 18070, 1198, 18070, 13, 288, 9079, 333, 18, 4148, 18070, 273, 1198, 18070, 31, 3639, 4927, 273, 394, 2252, 18, 1367, 18, 5018, 5621, 3639, 4319, 997, 273, 9956, 5621, 3639, 997, 18, 1289, 2519, 2223, 12, 2211, 1769, 3639, 24819, 2223, 12, 2211, 1769, 3639, 26482, 2964, 12, 3767, 1769, 3639, 20454, 12, 2704, 10063, 2932, 11415, 538, 909, 72, 3113, 374, 16, 2593, 10019, 3639, 714, 27188, 315, 1769, 3639, 876, 3882, 273, 997, 18, 588, 1782, 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 ]
new DepthFirstSearch<GraphType, EdgeType, VertexType>();
new DepthFirstSearch<GraphType, EdgeType, VertexType>();
public void findStronglyConnectedComponents(GraphType g, GraphToolkit<GraphType, EdgeType, VertexType> toolkit) { // Perform the initial depth first search DepthFirstSearch<GraphType, EdgeType, VertexType> initialDFS = new DepthFirstSearch<GraphType, EdgeType, VertexType>(); if (m_vertexChooser != null) initialDFS.setVertexChooser(m_vertexChooser); initialDFS.search(g); // Create a transposed graph Transpose<GraphType, EdgeType, VertexType> t = new Transpose<GraphType, EdgeType, VertexType>(); GraphType transpose = t.transpose(g, toolkit); // Create a set of vertices in the transposed graph, // in descending order of finish time in the initial // depth first search. VisitationTimeComparator<VertexType> comparator = new VisitationTimeComparator<VertexType>(initialDFS.getFinishTimeList(), VisitationTimeComparator.DESCENDING); Set<VertexType> descendingByFinishTimeSet = new TreeSet<VertexType>(comparator); Iterator<VertexType> i = transpose.vertexIterator(); while (i.hasNext()) { descendingByFinishTimeSet.add(i.next()); } // Now perform a DFS on the transpose, choosing the vertices // to visit in the main loop by descending finish time DepthFirstSearch<GraphType, EdgeType, VertexType> transposeDFS = new DepthFirstSearch<GraphType, EdgeType, VertexType>(); if (m_vertexChooser != null) transposeDFS.setVertexChooser(m_vertexChooser); transposeDFS.search(transpose, descendingByFinishTimeSet.iterator()); // The search tree roots of the second DFS represent the // strongly connected components. Note that we call copySearchTree() // to make the returned search trees relative to the original // graph, not the transposed graph (which would be very confusing). Iterator<SearchTree<VertexType>> j = transposeDFS.searchTreeIterator(); while (j.hasNext()) { m_stronglyConnectedSearchTreeList.add(copySearchTree(j.next(), t)); } }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/StronglyConnectedComponents.java/clean/findbugs/src/java/edu/umd/cs/findbugs/graph/StronglyConnectedComponents.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1104, 1585, 932, 715, 8932, 7171, 12, 4137, 559, 314, 16, 202, 202, 4137, 6364, 8691, 32, 4137, 559, 16, 11342, 559, 16, 12541, 559, 34, 5226, 8691, 13, 288, 202, 202, 759, 11217, 326, 2172, 3598, 1122, 1623, 202, 202, 6148, 3759, 2979, 32, 4137, 559, 16, 11342, 559, 16, 12541, 559, 34, 2172, 31999, 273, 1082, 202, 2704, 25210, 3759, 2979, 32, 4137, 559, 16, 11342, 559, 16, 12541, 559, 34, 5621, 202, 202, 430, 261, 81, 67, 15281, 17324, 480, 446, 13, 1082, 202, 6769, 31999, 18, 542, 6475, 17324, 12, 81, 67, 15281, 17324, 1769, 202, 202, 6769, 31999, 18, 3072, 12, 75, 1769, 202, 202, 759, 1788, 279, 906, 7423, 2667, 202, 202, 1429, 4150, 32, 4137, 559, 16, 11342, 559, 16, 12541, 559, 34, 268, 273, 1082, 202, 2704, 2604, 4150, 32, 4137, 559, 16, 11342, 559, 16, 12541, 559, 34, 5621, 202, 202, 4137, 559, 10411, 273, 268, 18, 2338, 4150, 12, 75, 16, 5226, 8691, 1769, 202, 202, 759, 1788, 279, 444, 434, 6928, 316, 326, 906, 7423, 2667, 16, 202, 202, 759, 316, 17044, 1353, 434, 4076, 813, 316, 326, 2172, 202, 202, 759, 3598, 1122, 1623, 18, 202, 202, 3282, 8773, 950, 5559, 32, 6475, 559, 34, 8862, 273, 1082, 202, 2704, 8077, 8773, 950, 5559, 32, 6475, 559, 34, 12, 6769, 31999, 18, 588, 11641, 950, 682, 9334, 6862, 6862, 1082, 225, 8077, 8773, 950, 5559, 18, 10964, 12280, 1769, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1104, 1585, 932, 715, 8932, 7171, 12, 4137, 559, 314, 16, 202, 202, 4137, 6364, 8691, 32, 4137, 559, 16, 11342, 559, 16, 12541, 559, 34, 5226, 8691, 13, 288, 202, 202, 759, 11217, 326, 2172, 3598, 1122, 1623, 202, 202, 6148, 3759, 2979, 32, 4137, 559, 16, 11342, 559, 16, 12541, 559, 34, 2172, 31999, 273, 1082, 202, 2704, 25210, 3759, 2979, 32, 4137, 559, 16, 11342, 559, 16, 12541, 559, 34, 5621, 202, 202, 430, 261, 81, 67, 15281, 17324, 480, 446, 13, 1082, 202, 6769, 31999, 18, 542, 6475, 17324, 12, 81, 67, 15281, 17324, 1769, 202, 202, 6769, 31999, 18, 3072, 12, 75, 1769, 202, 202, 759, 1788, 279, 906, 7423, 2 ]
private void setValues(Object obj, List values) throws GameParseException { for(int i = 0; i < values.size() ; i++) { Element current = (Element) values.get(i); //find the setter String name = null; Method setter = null; try { name = current.getAttribute("name"); if(name.length() == 0) throw new GameParseException("option name with 0 length"); name = "set" + capitalizeFirstLetter(name); setter = obj.getClass().getMethod(name, SETTER_ARGS); } catch(NoSuchMethodException nsme) { throw new GameParseException("No setter for attatchment option. Setter:" + name + " Class:" + obj.getClass().getName()); } //find the value String value = current.getAttribute("value"); //invoke try { Object[] args = {value}; setter.invoke(obj, args ); } catch(IllegalAccessException iae) { throw new GameParseException("Setter not public. Setter:" + name + " Class:" + obj.getClass().getName()); } catch(InvocationTargetException ite) { throw new GameParseException("Invocation Exception. Message:" + ite.getMessage()); } } }
8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/65dc97c8bd1d73da6a21d79d5ad468e6bb971a9b/GameParser.java/clean/src/games/strategy/engine/data/GameParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 27466, 12, 921, 1081, 16, 987, 924, 13, 1216, 14121, 13047, 202, 95, 202, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 924, 18, 1467, 1435, 274, 277, 27245, 202, 202, 95, 1082, 202, 1046, 783, 273, 261, 1046, 13, 924, 18, 588, 12, 77, 1769, 25083, 202, 759, 4720, 326, 7794, 1082, 202, 780, 508, 273, 446, 31, 1082, 202, 1305, 7794, 273, 446, 31, 1082, 202, 698, 1082, 202, 95, 9506, 202, 529, 273, 783, 18, 588, 1499, 2932, 529, 8863, 9506, 202, 430, 12, 529, 18, 2469, 1435, 422, 374, 13, 6862, 202, 12849, 394, 14121, 13047, 2932, 3482, 508, 598, 374, 769, 8863, 9506, 202, 529, 273, 315, 542, 6, 397, 17451, 3759, 13938, 12, 529, 1769, 9506, 202, 18062, 273, 1081, 18, 588, 797, 7675, 588, 1305, 12, 529, 16, 3174, 11976, 67, 22439, 1769, 1082, 202, 97, 1044, 12, 28341, 14513, 3153, 3501, 13, 1082, 202, 95, 9506, 202, 12849, 394, 14121, 13047, 2932, 2279, 7794, 364, 2403, 505, 475, 1456, 18, 1000, 387, 2773, 397, 508, 397, 315, 1659, 2773, 397, 1081, 18, 588, 797, 7675, 17994, 10663, 1082, 202, 97, 25083, 202, 759, 4720, 326, 460, 1082, 202, 780, 460, 273, 783, 18, 588, 1499, 2932, 1132, 8863, 25083, 202, 759, 14407, 1082, 202, 698, 1082, 202, 95, 9506, 202, 921, 8526, 833, 273, 288, 1132, 20451, 9506, 202, 18062, 18, 14407, 12, 2603, 16, 833, 11272, 25083, 202, 97, 1044, 12, 12195, 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, 27466, 12, 921, 1081, 16, 987, 924, 13, 1216, 14121, 13047, 202, 95, 202, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 924, 18, 1467, 1435, 274, 277, 27245, 202, 202, 95, 1082, 202, 1046, 783, 273, 261, 1046, 13, 924, 18, 588, 12, 77, 1769, 25083, 202, 759, 4720, 326, 7794, 1082, 202, 780, 508, 273, 446, 31, 1082, 202, 1305, 7794, 273, 446, 31, 1082, 202, 698, 1082, 202, 95, 9506, 202, 529, 273, 783, 18, 588, 1499, 2932, 529, 8863, 9506, 202, 430, 12, 529, 18, 2469, 1435, 422, 374, 13, 6862, 202, 12849, 394, 14121, 13047, 2932, 3482, 508, 598, 374, 769, 8863, 9506, 202, 529, 273, 315, 542, 2 ]
Task sub2 = new Task(MylarTasklistPlugin.getTaskListManager().genUniqueTaskId(), "sub 2");
Task sub2 = new Task(MylarTasklistPlugin.getTaskListManager().genUniqueTaskId(), "sub 2", true);
public void testCreationAndExternalization() { File file = new File("foo" + MylarTasklistPlugin.FILE_EXTENSION); file.deleteOnExit(); TaskListManager manager = new TaskListManager(file); // TaskList tlist = manager.getTaskList(); Task task1 = new Task(MylarTasklistPlugin.getTaskListManager().genUniqueTaskId(), "task 1"); manager.addRootTask(task1); Task sub1 = new Task(MylarTasklistPlugin.getTaskListManager().genUniqueTaskId(), "sub 1"); task1.addSubTask(sub1); sub1.setParent(task1); Task task2 = new Task(MylarTasklistPlugin.getTaskListManager().genUniqueTaskId(), "task 2"); manager.addRootTask(task2); TaskCategory cat1 = new TaskCategory("Category 1"); manager.addCategory(cat1); Task task3 = new Task(MylarTasklistPlugin.getTaskListManager().genUniqueTaskId(), "task 3"); cat1.addTask(task3); Task sub2 = new Task(MylarTasklistPlugin.getTaskListManager().genUniqueTaskId(), "sub 2"); task3.addSubTask(sub2); sub2.setParent(task3); Task task4 = new Task(MylarTasklistPlugin.getTaskListManager().genUniqueTaskId(), "task 4"); cat1.addTask(task4); TaskCategory cat2 = new TaskCategory("Category 2"); manager.addCategory(cat2); Task task5 = new Task(MylarTasklistPlugin.getTaskListManager().genUniqueTaskId(), "task 5"); cat2.addTask(task5); Task task6 = new Task(MylarTasklistPlugin.getTaskListManager().genUniqueTaskId(), "task 6"); cat2.addTask(task6); BugzillaTask report = new BugzillaTask("123", "label 123", true); cat2.addTask(report); BugzillaTask report2 = new BugzillaTask("124", "label 124", true); manager.addRootTask(report2); assertEquals(manager.getTaskList().getRoots().size(), 5); manager.saveTaskList(); assertNotNull(manager.getTaskList()); TaskList list = new TaskList(); manager.setTaskList(list); manager.readTaskList(); assertNotNull(manager.getTaskList()); assertEquals(3, manager.getTaskList().getRootTasks().size()); assertEquals(2, manager.getTaskList().getCategories().size()); List<ITask> readList = manager.getTaskList().getRootTasks(); assertTrue(readList.get(0).getLabel().equals("task 1")); assertTrue(readList.get(0).getChildren().get(0).getLabel().equals("sub 1")); assertTrue(readList.get(1).getLabel().equals("task 2")); assertTrue(readList.get(2) instanceof BugzillaTask); List<TaskCategory> readCats = manager.getTaskList().getTaskCategories(); readList = readCats.get(0).getChildren(); assertTrue(readList.get(0).getLabel().equals("task 3")); assertTrue(readList.get(0).getChildren().get(0).getLabel().equals("sub 2")); assertTrue(readList.get(1).getLabel().equals("task 4")); readList = readCats.get(1).getChildren(); assertTrue(readList.get(0).getLabel().equals("task 5")); assertTrue(readList.get(1).getLabel().equals("task 6")); assertTrue(readList.get(2) instanceof BugzillaTask); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/dd8061c5b5ac5d636d93251d6e8aea9e2918ddfe/TaskListManagerTest.java/clean/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskListManagerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 9906, 1876, 6841, 1588, 1435, 288, 3639, 1387, 585, 273, 394, 1387, 2932, 11351, 6, 397, 8005, 7901, 2174, 1098, 3773, 18, 3776, 67, 12796, 1769, 3639, 585, 18, 3733, 1398, 6767, 5621, 3639, 3837, 682, 1318, 3301, 273, 394, 3837, 682, 1318, 12, 768, 1769, 3639, 368, 3639, 3837, 682, 268, 1098, 273, 3301, 18, 588, 2174, 682, 5621, 3639, 3837, 1562, 21, 273, 394, 3837, 12, 12062, 7901, 2174, 1098, 3773, 18, 588, 2174, 682, 1318, 7675, 4507, 6303, 30182, 9334, 315, 4146, 404, 8863, 3639, 3301, 18, 1289, 2375, 2174, 12, 4146, 21, 1769, 3639, 3837, 720, 21, 273, 394, 3837, 12, 12062, 7901, 2174, 1098, 3773, 18, 588, 2174, 682, 1318, 7675, 4507, 6303, 30182, 9334, 315, 1717, 404, 8863, 3639, 1562, 21, 18, 1289, 1676, 2174, 12, 1717, 21, 1769, 5411, 720, 21, 18, 542, 3054, 12, 4146, 21, 1769, 3639, 3837, 1562, 22, 273, 394, 3837, 12, 12062, 7901, 2174, 1098, 3773, 18, 588, 2174, 682, 1318, 7675, 4507, 6303, 30182, 9334, 315, 4146, 576, 8863, 3639, 3301, 18, 1289, 2375, 2174, 12, 4146, 22, 1769, 3639, 3837, 4457, 6573, 21, 273, 394, 3837, 4457, 2932, 4457, 404, 8863, 3639, 3301, 18, 1289, 4457, 12, 2574, 21, 1769, 3639, 3837, 1562, 23, 273, 394, 3837, 12, 12062, 7901, 2174, 1098, 3773, 18, 588, 2174, 682, 1318, 7675, 4507, 6303, 30182, 9334, 315, 4146, 890, 8863, 3639, 6573, 21, 18, 1289, 2174, 12, 4146, 23, 1769, 3639, 3837, 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, 9906, 1876, 6841, 1588, 1435, 288, 3639, 1387, 585, 273, 394, 1387, 2932, 11351, 6, 397, 8005, 7901, 2174, 1098, 3773, 18, 3776, 67, 12796, 1769, 3639, 585, 18, 3733, 1398, 6767, 5621, 3639, 3837, 682, 1318, 3301, 273, 394, 3837, 682, 1318, 12, 768, 1769, 3639, 368, 3639, 3837, 682, 268, 1098, 273, 3301, 18, 588, 2174, 682, 5621, 3639, 3837, 1562, 21, 273, 394, 3837, 12, 12062, 7901, 2174, 1098, 3773, 18, 588, 2174, 682, 1318, 7675, 4507, 6303, 30182, 9334, 315, 4146, 404, 8863, 3639, 3301, 18, 1289, 2375, 2174, 12, 4146, 21, 1769, 3639, 3837, 720, 21, 273, 394, 3837, 12, 12062, 7901, 2174, 1098, 3773, 18, 588, 2174, 682, 1318, 2 ]
}
public String toString() { String s = super.toString(); if (errno_ == 0) return s; else return s + ": " + DbEnv.strerror(errno_); }
9203 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9203/1765c2598bb92e59ff55807fab4076d1b5d838f2/DbException.java/buggy/db/java/src/com/sleepycat/db/DbException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 289, 289, 289, 289, 1071, 97, 514, 97, 1762, 17767, 289, 289, 289, 2618, 289, 289, 289, 289, 289, 289, 289, 514, 97, 272, 97, 273, 97, 2240, 18, 10492, 5621, 97, 289, 289, 289, 289, 289, 289, 289, 309, 97, 261, 19088, 67, 97, 422, 97, 374, 16869, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 327, 97, 272, 31, 97, 289, 289, 289, 289, 289, 289, 289, 469, 97, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 327, 97, 272, 97, 397, 97, 6398, 97, 27342, 397, 97, 8408, 3491, 18, 701, 1636, 12, 19088, 67, 1769, 97, 289, 289, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 289, 289, 289, 289, 1071, 97, 514, 97, 1762, 17767, 289, 289, 289, 2618, 289, 289, 289, 289, 289, 289, 289, 514, 97, 272, 97, 273, 97, 2240, 18, 10492, 5621, 97, 289, 289, 289, 289, 289, 289, 289, 309, 97, 261, 19088, 67, 97, 422, 97, 374, 16869, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 327, 97, 272, 31, 97, 289, 289, 289, 289, 289, 289, 289, 469, 97, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 327, 97, 272, 97, 397, 97, 6398, 97, 27342, 397, 97, 8408, 3491, 18, 701, 1636, 12, 19088, 67, 1769, 97, 289, 289, 289, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public IStatus run(IProgressMonitor monitor) { if(shutdown)//Cancelled on shutdown return Status.CANCEL_STATUS; monitor.beginTask(WorkbenchMessages.DecorationScheduler_CalculatingTask, 100); //will block if there are no resources to be decorated DecorationReference reference; monitor.worked(5); int workCount = 5; while ((reference = nextElement()) != null) { //Count up to 90 to give the appearance of updating if (workCount < 90) { monitor.worked(1); workCount++; } DecorationBuilder cacheResult = new DecorationBuilder(); monitor.subTask(reference.getSubTask()); //$NON-NLS-1$ //Don't decorate if there is already a pending result Object element = reference.getElement(); Object adapted = reference.getAdaptedElement(); boolean elementIsCached = true; DecorationResult adaptedResult = null; //Synchronize on the result lock as we want to //be sure that we do not try and decorate during //label update servicing. elementIsCached = resultCache.containsKey(element); if (elementIsCached) { pendingUpdate.add(element); } if (adapted != null) { adaptedResult = (DecorationResult) resultCache .get(adapted); } if (!elementIsCached) { //Just build for the resource first if (adapted != null) { if (adaptedResult == null) { decoratorManager.getLightweightManager() .getDecorations(adapted, cacheResult, true); if (cacheResult.hasValue()) { adaptedResult = cacheResult.createResult(); } } else { // If we already calculated the decoration // for the adapted element, reuse the result. cacheResult.applyResult(adaptedResult); // Set adaptedResult to null to indicate that // we do not need to cache the result again. adaptedResult = null; } } //Now add in the results for the main object decoratorManager.getLightweightManager() .getDecorations(element, cacheResult, false); //If we should update regardless then put a result // anyways if (cacheResult.hasValue() || reference.shouldForceUpdate()) { //Synchronize on the result lock as we want to //be sure that we do not try and decorate during //label update servicing. //Note: resultCache and pendingUpdate modifications //must be done atomically. if (adaptedResult != null) resultCache.put(adapted, adaptedResult); // Add the decoration even if it's empty in // order to indicate that the decoration is // ready resultCache.put(element, cacheResult .createResult()); //Add an update for only the original element // to //prevent multiple updates and clear the cache. pendingUpdate.add(element); } } // Only notify listeners when we have exhausted the // queue of decoration requests. if (awaitingDecoration.isEmpty()) { decorated(); } } monitor.worked(100 - workCount); monitor.done(); return Status.OK_STATUS; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/23e6571ec09a520629294b858536f731d81d10c8/DecorationScheduler.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecorationScheduler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 6862, 9506, 202, 430, 12, 15132, 13, 759, 21890, 603, 5731, 6862, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 6862, 9506, 202, 10259, 18, 10086, 2174, 12, 2421, 22144, 5058, 18, 7859, 367, 11870, 67, 30238, 2174, 16, 2130, 1769, 9506, 202, 759, 20194, 1203, 309, 1915, 854, 1158, 2703, 358, 506, 13816, 9506, 202, 7859, 367, 2404, 2114, 31, 9506, 202, 10259, 18, 1252, 329, 12, 25, 1769, 9506, 202, 474, 1440, 1380, 273, 1381, 31, 9506, 202, 17523, 14015, 6180, 273, 14512, 10756, 480, 446, 13, 288, 6862, 202, 759, 1380, 731, 358, 8566, 358, 8492, 326, 9788, 1359, 434, 9702, 6862, 202, 430, 261, 1252, 1380, 411, 8566, 13, 288, 25083, 202, 10259, 18, 1252, 329, 12, 21, 1769, 25083, 202, 1252, 1380, 9904, 31, 6862, 202, 97, 6862, 202, 7859, 367, 1263, 1247, 1253, 273, 394, 3416, 22226, 1263, 5621, 6862, 202, 10259, 18, 1717, 2174, 12, 6180, 18, 588, 1676, 2174, 10663, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 759, 22293, 1404, 15752, 309, 1915, 353, 1818, 279, 4634, 563, 6862, 202, 921, 930, 273, 2114, 18, 21336, 5621, 6862, 202, 921, 28345, 273, 2114, 18, 588, 13716, 329, 1046, 5621, 6862, 202, 6494, 930, 2520, 9839, 273, 638, 31, 6862, 202, 7859, 367, 1253, 28345, 1253, 273, 446, 31, 6862, 202, 759, 19298, 554, 603, 326, 563, 2176, 487, 732, 2545, 358, 6862, 202, 759, 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, 1875, 202, 482, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 6862, 9506, 202, 430, 12, 15132, 13, 759, 21890, 603, 5731, 6862, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 6862, 9506, 202, 10259, 18, 10086, 2174, 12, 2421, 22144, 5058, 18, 7859, 367, 11870, 67, 30238, 2174, 16, 2130, 1769, 9506, 202, 759, 20194, 1203, 309, 1915, 854, 1158, 2703, 358, 506, 13816, 9506, 202, 7859, 367, 2404, 2114, 31, 9506, 202, 10259, 18, 1252, 329, 12, 25, 1769, 9506, 202, 474, 1440, 1380, 273, 1381, 31, 9506, 202, 17523, 14015, 6180, 273, 14512, 10756, 480, 446, 13, 288, 6862, 202, 759, 1380, 731, 358, 8566, 358, 8492, 326, 9788, 1359, 434, 9702, 6862, 202, 2 ]
filesets.addElement(set); }
filesets.addElement(set); }
public void addFileset(FileSet set) { filesets.addElement(set); }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/fe51ee9558d5e044a610f65a6bea1f3dfea18c5f/VAJImport.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJImport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 2697, 278, 12, 812, 694, 444, 13, 288, 3639, 1390, 2413, 18, 1289, 1046, 12, 542, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 2697, 278, 12, 812, 694, 444, 13, 288, 3639, 1390, 2413, 18, 1289, 1046, 12, 542, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return SvnInfoUtils.absolutePathToUrl(absolute); }
return SvnInfoUtils.absolutePathToUrl(absolute); }
public String absolutePathToUrl(String absolute) { return SvnInfoUtils.absolutePathToUrl(absolute); }
49097 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49097/ffa1c324801d98049a82ae956cc8c12bfc850739/RepositoryFileManager.java/buggy/src/net/sf/statcvs/input/RepositoryFileManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 22436, 774, 1489, 12, 780, 4967, 13, 288, 3639, 327, 348, 25031, 966, 1989, 18, 12547, 743, 774, 1489, 12, 12547, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 514, 22436, 774, 1489, 12, 780, 4967, 13, 288, 3639, 327, 348, 25031, 966, 1989, 18, 12547, 743, 774, 1489, 12, 12547, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
dialogJob.schedule(3000);
dialogJob.schedule(PlatformUI.getWorkbench().getProgressService().getLongOperationTime());
public void setBlocked(IStatus reason) { //The UI operation has been blocked. Open a progress dialog //to report the situation and give the user an opportunity to cancel. dialog = new BlockedJobsDialog(null, EventLoopProgressMonitor.this,reason); dialog.setBlockOnOpen(false); WorkbenchJob dialogJob = new WorkbenchJob(WorkbenchMessages.getString("EventLoopProgressMonitor.OpenDialogJobName")){ //$NON-NLS-1$ /* (non-Javadoc) * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ public IStatus runInUIThread(IProgressMonitor monitor) { if(dialog == null) return Status.CANCEL_STATUS; dialog.open(); return Status.OK_STATUS; } }; //Wait 3 second to prevent too many dialogs. dialogJob.setSystem(true); dialogJob.schedule(3000); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/d0485e82d5ab333aec3468c11cda5ec0f9b8db4c/EventLoopProgressMonitor.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/EventLoopProgressMonitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 23722, 12, 45, 1482, 3971, 13, 288, 9506, 202, 759, 1986, 6484, 1674, 711, 2118, 14547, 18, 225, 3502, 279, 4007, 6176, 202, 202, 759, 869, 2605, 326, 20886, 471, 8492, 326, 729, 392, 1061, 655, 13352, 358, 3755, 18, 9506, 202, 12730, 273, 394, 3914, 329, 7276, 6353, 12, 2011, 16, 2587, 6452, 5491, 7187, 18, 2211, 16, 10579, 1769, 202, 202, 12730, 18, 542, 1768, 1398, 3678, 12, 5743, 1769, 9506, 202, 2421, 22144, 2278, 6176, 2278, 273, 394, 4147, 22144, 2278, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 1133, 6452, 5491, 7187, 18, 3678, 6353, 29425, 6, 3719, 95, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 20308, 261, 5836, 17, 24060, 13, 9506, 380, 632, 5946, 2358, 18, 20416, 18, 4881, 18, 8298, 18, 5370, 2278, 7, 2681, 382, 57, 1285, 76, 896, 12, 3341, 18, 20416, 18, 3644, 18, 9448, 18, 45, 5491, 7187, 13, 9506, 1195, 1082, 202, 482, 467, 1482, 1086, 382, 57, 1285, 76, 896, 12, 45, 5491, 7187, 6438, 13, 288, 6862, 9506, 202, 430, 12, 12730, 422, 446, 13, 6862, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 9506, 202, 12730, 18, 3190, 5621, 9506, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 1082, 202, 97, 202, 202, 20451, 9506, 202, 759, 5480, 890, 2205, 358, 5309, 4885, 4906, 7609, 14072, 18, 202, 202, 12730, 2278, 18, 542, 3163, 12, 3767, 1769, 202, 202, 12730, 2278, 18, 10676, 12, 23, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 23722, 12, 45, 1482, 3971, 13, 288, 9506, 202, 759, 1986, 6484, 1674, 711, 2118, 14547, 18, 225, 3502, 279, 4007, 6176, 202, 202, 759, 869, 2605, 326, 20886, 471, 8492, 326, 729, 392, 1061, 655, 13352, 358, 3755, 18, 9506, 202, 12730, 273, 394, 3914, 329, 7276, 6353, 12, 2011, 16, 2587, 6452, 5491, 7187, 18, 2211, 16, 10579, 1769, 202, 202, 12730, 18, 542, 1768, 1398, 3678, 12, 5743, 1769, 9506, 202, 2421, 22144, 2278, 6176, 2278, 273, 394, 4147, 22144, 2278, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 1133, 6452, 5491, 7187, 18, 3678, 6353, 29425, 6, 3719, 95, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 20308, 261, 2 ]
Assert.notNull(key, "Key cannot be null");
Assert.notNull(key, "Key cannot be null");
public void setDefaultInt(String key, int value) { Assert.notNull(key, "Key cannot be null"); defaults.put(key, String.valueOf(value)); }
55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/4b6b4231f830cf3aa5046025ca47e7366f7ddeb1/AbstractSettings.java/buggy/sandbox/src/org/springframework/richclient/settings/AbstractSettings.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 9277, 1702, 12, 780, 498, 16, 509, 460, 13, 288, 202, 202, 8213, 18, 902, 2041, 12, 856, 16, 315, 653, 2780, 506, 446, 8863, 202, 202, 7606, 18, 458, 12, 856, 16, 514, 18, 1132, 951, 12, 1132, 10019, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 9277, 1702, 12, 780, 498, 16, 509, 460, 13, 288, 202, 202, 8213, 18, 902, 2041, 12, 856, 16, 315, 653, 2780, 506, 446, 8863, 202, 202, 7606, 18, 458, 12, 856, 16, 514, 18, 1132, 951, 12, 1132, 10019, 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 ]
ASTNode[] bodyDeclarations = this.codeSnippetParsingUtil.parseClassBodyDeclarations(source.toCharArray(), this.options, true);
ASTNode[] bodyDeclarations = this.codeSnippetParsingUtil.parseClassBodyDeclarations(source.toCharArray(), getDefaultCompilerOptions(), true);
private TextEdit probeFormatting(String source, int indentationLevel, String lineSeparator, int offset, int length) { Expression expression = this.codeSnippetParsingUtil.parseExpression(source.toCharArray(), this.options, true); if (expression != null) { return internalFormatExpression(source, indentationLevel, lineSeparator, expression, offset, length); } ASTNode[] bodyDeclarations = this.codeSnippetParsingUtil.parseClassBodyDeclarations(source.toCharArray(), this.options, true); if (bodyDeclarations != null) { return internalFormatClassBodyDeclarations(source, indentationLevel, lineSeparator, bodyDeclarations, offset, length); } ConstructorDeclaration constructorDeclaration = this.codeSnippetParsingUtil.parseStatements(source.toCharArray(), this.options, true); if (constructorDeclaration.statements != null) { return internalFormatStatements(source, indentationLevel, lineSeparator, constructorDeclaration, offset, length); } return formatCompilationUnit(source, indentationLevel, lineSeparator, offset, length); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/24cf10e27c63373d484417e95718811352f381da/DefaultCodeFormatter.java/clean/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3867, 4666, 10695, 23974, 12, 780, 1084, 16, 509, 12018, 2355, 16, 514, 31053, 16, 509, 1384, 16, 509, 769, 13, 288, 202, 202, 2300, 2652, 273, 333, 18, 710, 19614, 13963, 1304, 18, 2670, 2300, 12, 3168, 18, 869, 15936, 9334, 333, 18, 2116, 16, 638, 1769, 202, 202, 430, 261, 8692, 480, 446, 13, 288, 1082, 202, 2463, 2713, 1630, 2300, 12, 3168, 16, 12018, 2355, 16, 31053, 16, 2652, 16, 1384, 16, 769, 1769, 202, 202, 97, 202, 202, 9053, 907, 8526, 1417, 21408, 273, 333, 18, 710, 19614, 13963, 1304, 18, 2670, 797, 2250, 21408, 12, 3168, 18, 869, 15936, 9334, 333, 18, 2116, 16, 638, 1769, 202, 202, 430, 261, 3432, 21408, 480, 446, 13, 288, 1082, 202, 2463, 2713, 1630, 797, 2250, 21408, 12, 3168, 16, 12018, 2355, 16, 31053, 16, 1417, 21408, 16, 1384, 16, 769, 1769, 202, 202, 97, 202, 202, 6293, 6094, 3885, 6094, 273, 333, 18, 710, 19614, 13963, 1304, 18, 2670, 14663, 12, 3168, 18, 869, 15936, 9334, 333, 18, 2116, 16, 638, 1769, 202, 202, 430, 261, 12316, 6094, 18, 18393, 480, 446, 13, 288, 1082, 202, 2463, 2713, 1630, 14663, 12, 3168, 16, 12018, 2355, 16, 31053, 16, 3885, 6094, 16, 1384, 16, 769, 1769, 202, 202, 97, 202, 202, 2463, 740, 19184, 2802, 12, 3168, 16, 12018, 2355, 16, 31053, 16, 1384, 16, 769, 1769, 202, 97, 2, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3867, 4666, 10695, 23974, 12, 780, 1084, 16, 509, 12018, 2355, 16, 514, 31053, 16, 509, 1384, 16, 509, 769, 13, 288, 202, 202, 2300, 2652, 273, 333, 18, 710, 19614, 13963, 1304, 18, 2670, 2300, 12, 3168, 18, 869, 15936, 9334, 333, 18, 2116, 16, 638, 1769, 202, 202, 430, 261, 8692, 480, 446, 13, 288, 1082, 202, 2463, 2713, 1630, 2300, 12, 3168, 16, 12018, 2355, 16, 31053, 16, 2652, 16, 1384, 16, 769, 1769, 202, 202, 97, 202, 202, 9053, 907, 8526, 1417, 21408, 273, 333, 18, 710, 19614, 13963, 1304, 18, 2670, 797, 2250, 21408, 12, 3168, 18, 869, 15936, 9334, 333, 18, 2116, 16, 638, 1769, 202, 202, 430, 261, 3432, 2 ]
private void lineCallState(int dwDevice,int dwInstance, int dwParam1,int dwParam2,int dwParam3) { Integer lineKey = new Integer(dwInstance); switch (dwParam1) { case LINECALLSTATE_IDLE: try{ XtapiCallId callId = (XtapiCallId)this.lineToCalls.get(lineKey); if (callId != null) { AddressInfo ai = (AddressInfo)this.lineToAddr.get(lineKey); if (ai != null) { this.gjListener.connectionDisconnected(callId, ai.getName(), Event.CAUSE_NORMAL); } } }catch(Exception e){ System.out.println("LINECALLSTATE_IDLE exception: " + e.toString()); } //Connection.DISCONNECTED break; case LINECALLSTATE_OFFERING: try{ // create a call //AddressInfo ai = (AddressInfo)this.lineToAddr.get(lineKey); //sf AddressInfo ai = (AddressInfo)this.addInfoMap.get("addr_" + lineKey); //end sf if (ai != null) { XtapiCallId callId = new XtapiCallId(); //callId.setCallNumber(dwInstance); // dwInstance contains the line id (NOT the line handle!) //sf callId.setCallNumber(dwDevice); // dwDevice contains the call handle // register the call with the line this.lineToCalls.put(new Integer(ai.line), callId); //end sf // get the calling connection and notify of new connection this.gjListener.connectionAlerting(callId, ai.getName(), Event.CAUSE_NORMAL); this.gjListener.connectionAlerting(callId, "UNKNOWN", Event.CAUSE_NORMAL); this.gjListener.terminalConnectionRinging(callId, ai.getName(), ai.terminal, Event.CAUSE_NORMAL); } }catch(Exception e){ System.out.println("Exception in LINECALLSTATE_OFFERING: " + e.toString()); } break; case LINECALLSTATE_ACCEPTED: break; case LINECALLSTATE_DIALTONE: break; case LINECALLSTATE_DIALING: break; case LINECALLSTATE_RINGBACK: //event.add(new XEv(ConnAlertingEv.ID,Ev.CAUSE_NEW_CALL, 0,false)); break; case LINECALLSTATE_BUSY: break; case LINECALLSTATE_SPECIALINFO: break; case LINECALLSTATE_CONNECTED: try{ XtapiCallId callId = (XtapiCallId)this.lineToCalls.get(lineKey); if (callId != null) { //sf //AddressInfo ai = (AddressInfo)this.lineToAddr.get(lineKey); AddressInfo ai = (AddressInfo)this.addInfoMap.get("addr_" + dwInstance); //end sf if (ai != null) { this.gjListener.connectionConnected(callId, ai.getName(), Event.CAUSE_NORMAL); this.gjListener.connectionConnected(callId, "UNKNOWN", Event.CAUSE_NORMAL); //sf this.gjListener.terminalConnectionTalking(callId, ai.getName(), ai.terminal, Event.CAUSE_NORMAL); //end sf } } }catch(Exception e){ System.out.println("LINECALLSTATE_CONNECTED exception: " + e.toString()); } break; case LINECALLSTATE_PROCEEDING: // Outgoing call invokes two JTAPI Connection events. try{ XtapiCallId callId = (XtapiCallId)this.lineToCalls.get(lineKey); if (callId != null) { //sf //AddressInfo ai = (AddressInfo)this.lineToAddr.get(lineKey); AddressInfo ai = (AddressInfo)this.addInfoMap.get("addr_" + lineKey); //end sf if (ai != null) { this.gjListener.connectionInProgress(callId, ai.getName(), Event.CAUSE_NORMAL); //sf this.gjListener.connectionAlerting(callId, ai.getName(), Event.CAUSE_NORMAL); //end sf } } }catch(Exception e){ //sf //System.out.println("LINECALLSTATE_IDLE exception: " + e.toString()); System.out.println("LINECALLSTATE_PROCEEDING exception: " + e.toString()); //end sf } break; case LINECALLSTATE_ONHOLD: break; case LINECALLSTATE_CONFERENCED: break; case LINECALLSTATE_ONHOLDPENDCONF: break; case LINECALLSTATE_ONHOLDPENDTRANSFER: break; case LINECALLSTATE_DISCONNECTED: try{ XtapiCallId callId = (XtapiCallId)this.lineToCalls.get(lineKey); if (callId != null) { //sf //AddressInfo ai = (AddressInfo)this.lineToAddr.get(lineKey); AddressInfo ai = (AddressInfo)this.addInfoMap.get("addr_" + dwInstance); //end sf if (ai != null) { this.gjListener.connectionDisconnected(callId, ai.getName(), Event.CAUSE_NORMAL); //sf this.gjListener.terminalConnectionDropped(callId, ai.getName(), ai.terminal, Event.CAUSE_NORMAL); //end sf // we can get the terminal, and remove the call from the term -> call map this.termToCalls.remove(ai.terminal); } // now remove the entry from the line -> CallId map this.lineToCalls.remove(lineKey); } }catch(Exception e){ System.out.println("LINECALLSTATE_IDLE exception: " + e.toString()); } break; case LINECALLSTATE_UNKNOWN: break; default: break; } }
49033 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49033/5c6b7f27be99923f5bd0d0599738dcd5c9deb8f3/XtapiProvider.java/clean/src/xtapiSpSrc/net/sourceforge/gjtapi/raw/xtapi/XtapiProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 1369, 1477, 1119, 12, 474, 22512, 3654, 16, 474, 22512, 1442, 16, 474, 22512, 786, 21, 16, 474, 22512, 786, 22, 16, 474, 22512, 786, 23, 15329, 202, 4522, 1369, 653, 33, 2704, 4522, 12, 22512, 1442, 1769, 9610, 12, 22512, 786, 21, 15329, 3593, 5997, 13730, 7998, 67, 734, 900, 30, 698, 95, 202, 60, 88, 2425, 1477, 548, 1991, 548, 28657, 60, 88, 2425, 1477, 548, 13, 2211, 18, 1369, 774, 10125, 18, 588, 12, 1369, 653, 1769, 202, 430, 12, 1991, 548, 5, 33, 2011, 15329, 202, 202, 1887, 966, 10658, 28657, 1887, 966, 13, 2211, 18, 1369, 774, 3178, 18, 588, 12, 1369, 653, 1769, 202, 202, 430, 12, 10658, 5, 33, 2011, 15329, 1082, 202, 2211, 18, 75, 78, 2223, 18, 4071, 26303, 12, 1991, 548, 16, 10658, 18, 17994, 9334, 1133, 18, 3587, 8001, 67, 15480, 1769, 202, 202, 97, 202, 9090, 14683, 12, 503, 73, 15329, 3163, 18, 659, 18, 8222, 2932, 5997, 13730, 7998, 67, 734, 900, 4064, 2773, 15, 73, 18, 10492, 10663, 97, 759, 1952, 18, 13498, 29011, 8820, 31, 3593, 5997, 13730, 7998, 67, 8797, 654, 1360, 30, 9506, 202, 698, 95, 6862, 202, 759, 2640, 1077, 454, 202, 759, 1887, 966, 10658, 28657, 1887, 966, 13, 2211, 18, 1369, 774, 3178, 18, 588, 12, 1369, 653, 1769, 759, 21668, 6862, 202, 1887, 966, 10658, 28657, 1887, 966, 13, 2211, 18, 1289, 966, 863, 18, 588, 2932, 4793, 9548, 15, 1369, 653, 1769, 759, 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, 3238, 6459, 1369, 1477, 1119, 12, 474, 22512, 3654, 16, 474, 22512, 1442, 16, 474, 22512, 786, 21, 16, 474, 22512, 786, 22, 16, 474, 22512, 786, 23, 15329, 202, 4522, 1369, 653, 33, 2704, 4522, 12, 22512, 1442, 1769, 9610, 12, 22512, 786, 21, 15329, 3593, 5997, 13730, 7998, 67, 734, 900, 30, 698, 95, 202, 60, 88, 2425, 1477, 548, 1991, 548, 28657, 60, 88, 2425, 1477, 548, 13, 2211, 18, 1369, 774, 10125, 18, 588, 12, 1369, 653, 1769, 202, 430, 12, 1991, 548, 5, 33, 2011, 15329, 202, 202, 1887, 966, 10658, 28657, 1887, 966, 13, 2211, 18, 1369, 774, 3178, 18, 588, 12, 1369, 653, 1769, 202, 202, 430, 12, 10658, 5, 33, 2011, 2 ]
public void setAttributeValue( String name, String value ) {
public void setAttributeValue( String name, String value ) throws JellyException { if (outputAttributes) { throw new JellyException( "Cannot set the value of attribute: " + name + " as we have already output the startElement() SAX event" ); }
public void setAttributeValue( String name, String value ) { // ### we'll assume that all attributes are in no namespace! // ### this is severely limiting! // ### we should be namespace aware int index = attributes.getIndex("", name); if (index >= 0) { attributes.removeAttribute(index); } // treat null values as no attribute if (value != null) { attributes.addAttribute("", name, name, "CDATA", value); } }
51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/210bd87a574831d16174fbf271e92600c0ab5045/ElementTag.java/buggy/src/java/org/apache/commons/jelly/tags/xml/ElementTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4730, 620, 12, 514, 508, 16, 514, 460, 262, 1216, 804, 292, 715, 503, 288, 309, 261, 2844, 2498, 13, 288, 604, 394, 804, 292, 715, 503, 12, 315, 4515, 444, 326, 460, 434, 1566, 30, 315, 397, 508, 397, 315, 487, 732, 1240, 1818, 876, 326, 13591, 1435, 10168, 871, 6, 11272, 289, 540, 368, 11849, 732, 5614, 6750, 716, 777, 1677, 854, 316, 1158, 1981, 5, 3639, 368, 11849, 333, 353, 6963, 2357, 1800, 310, 5, 3639, 368, 11849, 732, 1410, 506, 1981, 18999, 3639, 509, 770, 273, 1677, 18, 588, 1016, 2932, 3113, 508, 1769, 3639, 309, 261, 1615, 1545, 374, 13, 288, 5411, 1677, 18, 4479, 1499, 12, 1615, 1769, 3639, 289, 3639, 368, 10116, 446, 924, 487, 1158, 1566, 540, 309, 261, 1132, 480, 446, 13, 288, 5411, 1677, 18, 1289, 1499, 2932, 3113, 508, 16, 508, 16, 315, 18375, 3113, 460, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4730, 620, 12, 514, 508, 16, 514, 460, 262, 1216, 804, 292, 715, 503, 288, 309, 261, 2844, 2498, 13, 288, 604, 394, 804, 292, 715, 503, 12, 315, 4515, 444, 326, 460, 434, 1566, 30, 315, 397, 508, 397, 315, 487, 732, 1240, 1818, 876, 326, 13591, 1435, 10168, 871, 6, 11272, 289, 540, 368, 11849, 732, 5614, 6750, 716, 777, 1677, 854, 316, 1158, 1981, 5, 3639, 368, 11849, 333, 353, 6963, 2357, 1800, 310, 5, 3639, 368, 11849, 732, 1410, 506, 1981, 18999, 3639, 509, 770, 273, 1677, 18, 588, 1016, 2932, 3113, 508, 1769, 3639, 309, 261, 1615, 1545, 374, 13, 288, 5411, 1677, 18, 4479, 1499, 12, 1615, 1769, 3639, 289, 2 ]
getActionToken(context.inRule.action));
context.inRule.token);
private void markTokensImpl(Segment line, LineInfo prevInfo, LineInfo info) { LineContext lastContext = (prevInfo == null ? null : prevInfo.context); if(lastContext == null) lastContext = new LineContext(null, getRuleSet(rulePfx.concat("MAIN"))); context = info.context; context.parent = (lastContext.parent == null ? null : (LineContext)lastContext.parent.clone()); context.inRule = lastContext.inRule; context.rules = lastContext.rules; lastOffset = lastKeyword = line.offset; lineLength = line.count + line.offset; int terminateChar = context.rules.getTerminateChar(); int searchLimit = (terminateChar >= 0 && terminateChar < line.count) ? line.offset + terminateChar : lineLength; escaped = false; boolean b; boolean tempEscaped; Segment tempPattern; ParserRule rule; LineContext tempContext; for(pos = line.offset; pos < searchLimit; pos++) { // if we are not in the top level context, we are delegated if (context.parent != null) { tempContext = context; context = context.parent; pattern.array = context.inRule.searchChars; pattern.count = context.inRule.sequenceLengths[1]; pattern.offset = context.inRule.sequenceLengths[0]; b = handleRule(info, line, context.inRule); context = tempContext; if (!b) { if (escaped) { escaped = false; } else { if (pos != lastOffset) { if (context.inRule == null) { markKeyword(info,line, lastKeyword, pos); addToken(info,pos - lastOffset, getActionToken(context.rules.getDefault())); } else if ((context.inRule.action & (NO_LINE_BREAK | NO_WORD_BREAK)) == 0) { addToken(info,pos - lastOffset, getActionToken(context.inRule.action)); } else { addToken(info,pos - lastOffset, Token.INVALID); } } context = (LineContext) context.parent; if ((context.inRule.action & EXCLUDE_MATCH) == EXCLUDE_MATCH) { addToken(info,pattern.count, getActionToken(context.rules.getDefault())); } else { addToken(info,pattern.count, getActionToken(context.inRule.action)); } context.inRule = null; lastKeyword = lastOffset = pos + pattern.count; } pos += (pattern.count - 1); // move pos to last character of match sequence continue; } } // check the escape rule for the current context, if there is one if ((rule = context.rules.getEscapeRule()) != null) { // assign tempPattern to mutable "buffer" pattern tempPattern = pattern; // swap in the escape pattern pattern = context.rules.getEscapePattern(); tempEscaped = escaped; b = handleRule(info, line, rule); // swap back the buffer pattern pattern = tempPattern; if (!b) { if (tempEscaped) escaped = false; continue; } } if (context.inRule != null && (context.inRule.action & SOFT_SPAN) == 0) { // we are in a hard span rule, so see if context.inRule matches pattern.array = context.inRule.searchChars; pattern.count = context.inRule.sequenceLengths[1]; pattern.offset = context.inRule.sequenceLengths[0]; handleRule(info, line, context.inRule); } else { // otherwise, if this isn't a hard span, check every rule rule = context.rules.getRules(line.array[pos]); while(rule != null) { pattern.array = rule.searchChars; if (context.inRule == rule && (rule.action & SPAN) == SPAN) { pattern.count = rule.sequenceLengths[1]; pattern.offset = rule.sequenceLengths[0]; } else { pattern.count = rule.sequenceLengths[0]; pattern.offset = 0; } // stop checking rules if there was a match and go to next pos if (!handleRule(info,line, rule)) break; rule = rule.next; } } escaped = false; } // check for keywords at the line's end if(context.inRule == null) markKeyword(info, line, lastKeyword, lineLength); // mark all remaining characters if(lastOffset != lineLength) { if (context.inRule == null) { addToken(info,lineLength - lastOffset, getActionToken(context.rules.getDefault())); } else if ( (context.inRule.action & SPAN) == SPAN && (context.inRule.action & (NO_LINE_BREAK | NO_WORD_BREAK)) != 0 ) { addToken(info,lineLength - lastOffset,Token.INVALID); context.inRule = null; } else { addToken(info,lineLength - lastOffset, getActionToken(context.inRule.action)); if((context.inRule.action & MARK_FOLLOWING) == MARK_FOLLOWING) { context.inRule = null; } } } info.context = context; }
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/126cf713ca2c18e179efa1e4f1f83b29be761128/TokenMarker.java/buggy/org/gjt/sp/jedit/syntax/TokenMarker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2267, 5157, 2828, 12, 4131, 980, 16, 5377, 966, 2807, 966, 16, 202, 202, 1670, 966, 1123, 13, 202, 95, 202, 202, 1670, 1042, 1142, 1042, 273, 261, 10001, 966, 422, 446, 692, 446, 1082, 202, 30, 2807, 966, 18, 2472, 1769, 202, 202, 430, 12, 2722, 1042, 422, 446, 13, 1142, 1042, 273, 394, 5377, 1042, 12, 2011, 16, 1082, 202, 588, 21474, 12, 5345, 52, 19595, 18, 16426, 2932, 19803, 6, 3719, 1769, 202, 202, 2472, 273, 1123, 18, 2472, 31, 202, 202, 2472, 18, 2938, 273, 261, 2722, 1042, 18, 2938, 422, 446, 692, 446, 1082, 202, 30, 261, 1670, 1042, 13, 2722, 1042, 18, 2938, 18, 14056, 10663, 202, 202, 2472, 18, 267, 2175, 273, 1142, 1042, 18, 267, 2175, 31, 202, 202, 2472, 18, 7482, 273, 1142, 1042, 18, 7482, 31, 202, 202, 2722, 2335, 273, 1142, 8736, 273, 980, 18, 3348, 31, 202, 202, 1369, 1782, 273, 980, 18, 1883, 397, 980, 18, 3348, 31, 202, 202, 474, 10850, 2156, 273, 819, 18, 7482, 18, 588, 26106, 2156, 5621, 202, 202, 474, 1623, 3039, 273, 261, 30017, 2156, 1545, 374, 597, 10850, 2156, 411, 980, 18, 1883, 13, 1082, 202, 35, 980, 18, 3348, 397, 10850, 2156, 294, 980, 1782, 31, 202, 202, 16502, 273, 629, 31, 202, 202, 6494, 324, 31, 202, 202, 6494, 1906, 17208, 31, 202, 202, 4131, 1906, 3234, 31, 202, 202, 2678, 2175, 1720, 31, 202, 202, 1670, 1042, 1906, 1042, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2267, 5157, 2828, 12, 4131, 980, 16, 5377, 966, 2807, 966, 16, 202, 202, 1670, 966, 1123, 13, 202, 95, 202, 202, 1670, 1042, 1142, 1042, 273, 261, 10001, 966, 422, 446, 692, 446, 1082, 202, 30, 2807, 966, 18, 2472, 1769, 202, 202, 430, 12, 2722, 1042, 422, 446, 13, 1142, 1042, 273, 394, 5377, 1042, 12, 2011, 16, 1082, 202, 588, 21474, 12, 5345, 52, 19595, 18, 16426, 2932, 19803, 6, 3719, 1769, 202, 202, 2472, 273, 1123, 18, 2472, 31, 202, 202, 2472, 18, 2938, 273, 261, 2722, 1042, 18, 2938, 422, 446, 692, 446, 1082, 202, 30, 261, 1670, 1042, 13, 2722, 1042, 18, 2938, 18, 14056, 10663, 202, 202, 2472, 2 ]
f[0] = new Field(connection, "PROCEDURE_CAT", iVarcharOid, 32); f[1] = new Field(connection, "PROCEDURE_SCHEM", iVarcharOid, 32); f[2] = new Field(connection, "PROCEDURE_NAME", iVarcharOid, 32); f[3] = f[4] = f[5] = new Field(connection, "reserved", iVarcharOid, 32);
f[0] = new Field(connection, "PROCEDURE_CAT", iVarcharOid, NAME_SIZE); f[1] = new Field(connection, "PROCEDURE_SCHEM", iVarcharOid, NAME_SIZE); f[2] = new Field(connection, "PROCEDURE_NAME", iVarcharOid, NAME_SIZE); f[3] = f[4] = f[5] = new Field(connection, "reserved", iVarcharOid, NAME_SIZE);
public java.sql.ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException { // the field descriptors for the new ResultSet Field f[] = new Field[8]; java.sql.ResultSet r; // ResultSet for the SQL query that we need to do Vector v = new Vector(); // The new ResultSet tuple stuff f[0] = new Field(connection, "PROCEDURE_CAT", iVarcharOid, 32); f[1] = new Field(connection, "PROCEDURE_SCHEM", iVarcharOid, 32); f[2] = new Field(connection, "PROCEDURE_NAME", iVarcharOid, 32); f[3] = f[4] = f[5] = new Field(connection, "reserved", iVarcharOid, 32); // null; // reserved, must be null for now f[6] = new Field(connection, "REMARKS", iVarcharOid, 8192); f[7] = new Field(connection, "PROCEDURE_TYPE", iInt2Oid, 2); // If the pattern is null, then set it to the default if (procedureNamePattern == null) procedureNamePattern = "%"; r = connection.ExecSQL("select proname, proretset from pg_proc where proname like '" + procedureNamePattern.toLowerCase() + "' order by proname"); while (r.next()) { byte[][] tuple = new byte[8][0]; tuple[0] = null; // Catalog name tuple[1] = null; // Schema name tuple[2] = r.getBytes(1); // Procedure name tuple[3] = tuple[4] = tuple[5] = null; // Reserved tuple[6] = null; // Remarks if (r.getBoolean(2)) tuple[7] = Integer.toString(java.sql.DatabaseMetaData.procedureReturnsResult).getBytes(); else tuple[7] = Integer.toString(java.sql.DatabaseMetaData.procedureNoResult).getBytes(); v.addElement(tuple); } return connection.getResultSet(null, f, v, "OK", 1); }
52628 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52628/62da2fa0e1cb3cf1df8d633f785e391c35477f7e/AbstractJdbc1DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 3570, 23382, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 12131, 461, 3234, 13, 1216, 6483, 202, 95, 202, 202, 759, 326, 652, 14215, 364, 326, 394, 10842, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 28, 15533, 202, 202, 6290, 18, 4669, 18, 13198, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 3373, 23552, 4830, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 3373, 23552, 4830, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 3373, 23552, 4830, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 23, 65, 273, 284, 63, 24, 65, 273, 284, 63, 25, 65, 273, 394, 2286, 12, 4071, 16, 315, 18898, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 759, 446, 31, 202, 759, 8735, 16, 1297, 506, 446, 364, 2037, 202, 202, 74, 63, 26, 65, 273, 394, 2286, 12, 4071, 16, 315, 862, 12693, 55, 3113, 277, 58, 22483, 19105, 16, 26730, 1769, 202, 202, 74, 63, 27, 65, 273, 394, 2286, 12, 4071, 16, 315, 3373, 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, 2252, 18, 4669, 18, 13198, 3570, 23382, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 12131, 461, 3234, 13, 1216, 6483, 202, 95, 202, 202, 759, 326, 652, 14215, 364, 326, 394, 10842, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 28, 15533, 202, 202, 6290, 18, 4669, 18, 13198, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 3373, 23552, 4830, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 21, 65, 273, 394, 2 ]
loading = false; imageIcon.setImage(image); lblImage.setText(""); lblImage.setCursor(openHandCursor); lblImage.setIcon(imageIcon); }
loading = false; imageIcon.setImage(image); lblImage.setText(""); lblImage.setCursor(openHandCursor); lblImage.setIcon(imageIcon); }
public void run() { loading = false; imageIcon.setImage(image); lblImage.setText(""); lblImage.setCursor(openHandCursor); lblImage.setIcon(imageIcon); }
57504 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57504/608a7845186eaee19d103ba95951ad8a3b5dbbe7/ZoomFrame.java/clean/javaimagealbum/src/com/javaimagealbum/ZoomFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4766, 1071, 918, 1086, 1435, 288, 4766, 565, 7153, 273, 629, 31, 4766, 565, 1316, 5554, 18, 542, 2040, 12, 2730, 1769, 4766, 565, 14284, 2040, 18, 542, 1528, 2932, 8863, 4766, 565, 14284, 2040, 18, 542, 6688, 12, 3190, 1144, 6688, 1769, 4766, 565, 14284, 2040, 18, 542, 5554, 12, 2730, 5554, 1769, 27573, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4766, 1071, 918, 1086, 1435, 288, 4766, 565, 7153, 273, 629, 31, 4766, 565, 1316, 5554, 18, 542, 2040, 12, 2730, 1769, 4766, 565, 14284, 2040, 18, 542, 1528, 2932, 8863, 4766, 565, 14284, 2040, 18, 542, 6688, 12, 3190, 1144, 6688, 1769, 4766, 565, 14284, 2040, 18, 542, 5554, 12, 2730, 5554, 1769, 27573, 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 ]
return this.searcherHistory.remove(element);
return this.history.remove(element);
protected Object removeHistoryElement(Object element) { return this.searcherHistory.remove(element); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e33c1f7b0c1f9dbe66a73370c1b98e653087c2df/FilteredItemsSelectionDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/FilteredItemsSelectionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1033, 1206, 5623, 1046, 12, 921, 930, 13, 288, 202, 202, 2463, 333, 18, 3072, 264, 5623, 18, 4479, 12, 2956, 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, 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, 225, 202, 1117, 1033, 1206, 5623, 1046, 12, 921, 930, 13, 288, 202, 202, 2463, 333, 18, 3072, 264, 5623, 18, 4479, 12, 2956, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ruleMemo = new HashMap[133+1];
ruleMemo = new HashMap[135+1];
public DRLParser(TokenStream input) { super(input); ruleMemo = new HashMap[133+1]; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/63bc7036e62ae854cec463d59712c173f74e984c/DRLParser.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 27094, 2678, 12, 1345, 1228, 810, 13, 288, 5411, 2240, 12, 2630, 1769, 5411, 1720, 21230, 273, 394, 4317, 63, 26612, 15, 21, 15533, 540, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 27094, 2678, 12, 1345, 1228, 810, 13, 288, 5411, 2240, 12, 2630, 1769, 5411, 1720, 21230, 273, 394, 4317, 63, 26612, 15, 21, 15533, 540, 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 ]
if (attribute.equals(ViewersProperties.CONTENT))
if (attribute.equals(ViewersProperties.CONTENT)) {
public ComboUpdatableCollection(Combo combo, String attribute) { this.combo = combo; if (attribute.equals(ViewersProperties.CONTENT)) this.attribute = SWTProperties.ITEMS; else this.attribute = attribute; if (this.attribute.equals(SWTProperties.ITEMS)) { combo.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { if (!updating) { fireChangeEvent(ChangeEvent.CHANGE, null, null); } } }); } else throw new IllegalArgumentException(); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/9d125503204eb791fd5d7ba10d10960ac0bbffba/ComboUpdatableCollection.java/clean/bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/swt/ComboUpdatableCollection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1286, 1075, 1211, 3404, 429, 2532, 12, 16156, 16778, 16, 514, 1566, 13, 288, 202, 202, 2211, 18, 25053, 273, 16778, 31, 25083, 202, 430, 261, 4589, 18, 14963, 12, 1767, 414, 2297, 18, 9689, 3719, 1082, 202, 2211, 18, 4589, 273, 348, 8588, 2297, 18, 29887, 31, 202, 202, 12107, 1082, 202, 2211, 18, 4589, 273, 1566, 31, 9506, 202, 430, 261, 2211, 18, 4589, 18, 14963, 12, 55, 8588, 2297, 18, 29887, 3719, 288, 1082, 202, 25053, 18, 1289, 11047, 2223, 12, 2704, 9518, 2223, 1435, 288, 9506, 202, 482, 918, 5612, 1528, 12, 11047, 1133, 425, 13, 288, 6862, 202, 430, 16051, 5533, 1776, 13, 288, 25083, 202, 12179, 20930, 12, 20930, 18, 14473, 16, 446, 16, 446, 1769, 6862, 202, 97, 9506, 202, 97, 1082, 202, 22938, 202, 202, 97, 202, 202, 12107, 1082, 202, 12849, 394, 2754, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1286, 1075, 1211, 3404, 429, 2532, 12, 16156, 16778, 16, 514, 1566, 13, 288, 202, 202, 2211, 18, 25053, 273, 16778, 31, 25083, 202, 430, 261, 4589, 18, 14963, 12, 1767, 414, 2297, 18, 9689, 3719, 1082, 202, 2211, 18, 4589, 273, 348, 8588, 2297, 18, 29887, 31, 202, 202, 12107, 1082, 202, 2211, 18, 4589, 273, 1566, 31, 9506, 202, 430, 261, 2211, 18, 4589, 18, 14963, 12, 55, 8588, 2297, 18, 29887, 3719, 288, 1082, 202, 25053, 18, 1289, 11047, 2223, 12, 2704, 9518, 2223, 1435, 288, 9506, 202, 482, 918, 5612, 1528, 12, 11047, 1133, 425, 13, 288, 6862, 202, 430, 16051, 5533, 1776, 13, 288, 25083, 202, 12179, 20930, 12, 20930, 18, 2 ]
public ListIterator iterator(int start) { return Collections.unmodifiableList(path).listIterator(start);
public ListIterator iterator() { return Collections.unmodifiableList(path).listIterator();
public ListIterator iterator(int start) { return Collections.unmodifiableList(path).listIterator(start); }
25414 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25414/ebefa80ebc57705657a2249820470c341a94948d/SceneGraphPath.java/buggy/src-core/de/jreality/scene/SceneGraphPath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 987, 3198, 2775, 12, 474, 787, 13, 288, 565, 327, 5737, 18, 318, 13388, 682, 12, 803, 2934, 1098, 3198, 12, 1937, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 987, 3198, 2775, 12, 474, 787, 13, 288, 565, 327, 5737, 18, 318, 13388, 682, 12, 803, 2934, 1098, 3198, 12, 1937, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (null == g) {
if (g == null) {
public void paintComponent(Graphics g) { // No Graphics, no painting. if (null == g) { return; } // create an off-screen image Image offScr = createImage(getSize().width, getSize().height); // Get a Graphics object to draw with. Graphics offG = offScr.getGraphics(); // set clipping to current size. offG.setClip(0, 0, getSize().width, getSize().height); // Clear the panel as needed clearGraphics(offG); //Draw background Enumeration iter = bgDrawers.elements(); while (iter.hasMoreElements()) { BackGroundDrawer bgd = (BackGroundDrawer) iter.nextElement(); bgd.drawInto(offG, getSize().width, getSize().height); } // Let the parent panel repaint the components inside. super.paintComponent(offG); // draw the off-screen image to the sreen. g.drawImage(offScr, 0, 0, null); //crean up the local graphics reference. offG.dispose(); }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/19df5d1a31a5f746c77c9db5e8ad96ed6d25cced/BufferedPanel.java/buggy/megamek/src/megamek/client/ui/swing/widget/BufferedPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 1841, 12, 17558, 314, 13, 288, 3639, 368, 2631, 16830, 16, 1158, 12574, 310, 18, 3639, 309, 261, 75, 422, 446, 13, 288, 5411, 327, 31, 3639, 289, 3639, 368, 752, 392, 3397, 17, 9252, 1316, 3639, 3421, 3397, 1541, 86, 273, 28301, 12, 588, 1225, 7675, 2819, 16, 9950, 7675, 4210, 1769, 3639, 368, 968, 279, 16830, 733, 358, 3724, 598, 18, 3639, 16830, 3397, 43, 273, 3397, 1541, 86, 18, 588, 17558, 5621, 3639, 368, 444, 31686, 358, 783, 963, 18, 3639, 3397, 43, 18, 542, 15339, 12, 20, 16, 374, 16, 9950, 7675, 2819, 16, 9950, 7675, 4210, 1769, 3639, 368, 10121, 326, 6594, 487, 3577, 540, 2424, 17558, 12, 3674, 43, 1769, 3639, 368, 6493, 5412, 3639, 13864, 1400, 273, 7611, 6493, 414, 18, 6274, 5621, 3639, 1323, 261, 2165, 18, 5332, 7417, 3471, 10756, 288, 5411, 4297, 43, 2260, 21631, 7611, 72, 273, 261, 2711, 43, 2260, 21631, 13, 1400, 18, 4285, 1046, 5621, 5411, 7611, 72, 18, 9446, 5952, 12, 3674, 43, 16, 9950, 7675, 2819, 16, 9950, 7675, 4210, 1769, 3639, 289, 3639, 368, 10559, 326, 982, 6594, 24962, 326, 4085, 4832, 18, 3639, 2240, 18, 84, 1598, 1841, 12, 3674, 43, 1769, 3639, 368, 3724, 326, 3397, 17, 9252, 1316, 358, 326, 272, 2842, 18, 3639, 314, 18, 9446, 2040, 12, 3674, 1541, 86, 16, 374, 16, 374, 16, 446, 1769, 3639, 368, 1793, 304, 731, 326, 1191, 17313, 2114, 18, 3639, 3397, 43, 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, 12574, 1841, 12, 17558, 314, 13, 288, 3639, 368, 2631, 16830, 16, 1158, 12574, 310, 18, 3639, 309, 261, 75, 422, 446, 13, 288, 5411, 327, 31, 3639, 289, 3639, 368, 752, 392, 3397, 17, 9252, 1316, 3639, 3421, 3397, 1541, 86, 273, 28301, 12, 588, 1225, 7675, 2819, 16, 9950, 7675, 4210, 1769, 3639, 368, 968, 279, 16830, 733, 358, 3724, 598, 18, 3639, 16830, 3397, 43, 273, 3397, 1541, 86, 18, 588, 17558, 5621, 3639, 368, 444, 31686, 358, 783, 963, 18, 3639, 3397, 43, 18, 542, 15339, 12, 20, 16, 374, 16, 9950, 7675, 2819, 16, 9950, 7675, 4210, 1769, 3639, 368, 10121, 326, 6594, 487, 3577, 540, 2424, 17558, 12, 3674, 43, 2 ]
rangeEndingMillis = Integer.parseInt(rangeEndingTime[3]);
rangeEndingMillis = Integer.parseInt(rangeEndingTime[3]);
private void setTimeRange(String rangeStartingTimeString, String rangeEndingTimeString) { String[] rangeStartingTime; int rangeStartingHourOfDay; int rangeStartingMinute; int rangeStartingSecond; int rangeStartingMillis; String[] rangeEndingTime; int rangeEndingHourOfDay; int rangeEndingMinute; int rangeEndingSecond; int rangeEndingMillis; rangeStartingTime = rangeStartingTimeString.split(colon); if ((rangeStartingTime.length < 2) || (rangeStartingTime.length > 4)) { throw new IllegalArgumentException("Invalid time string '" + rangeStartingTimeString + "'"); } rangeStartingHourOfDay = Integer.parseInt(rangeStartingTime[0]); rangeStartingMinute = Integer.parseInt(rangeStartingTime[1]); if (rangeStartingTime.length > 2) { rangeStartingSecond = Integer.parseInt(rangeStartingTime[2]); } else { rangeStartingSecond = 0; } if (rangeStartingTime.length == 4) { rangeStartingMillis = Integer.parseInt(rangeStartingTime[3]); } else { rangeStartingMillis = 0; } rangeEndingTime = rangeEndingTimeString.split(colon); if ((rangeEndingTime.length < 2) || (rangeEndingTime.length > 4)) { throw new IllegalArgumentException("Invalid time string '" + rangeEndingTimeString + "'"); } rangeEndingHourOfDay = Integer.parseInt(rangeEndingTime[0]); rangeEndingMinute = Integer.parseInt(rangeEndingTime[1]); if (rangeEndingTime.length > 2) { rangeEndingSecond = Integer.parseInt(rangeEndingTime[2]); } else { rangeEndingSecond = 0; } if (rangeEndingTime.length == 4) { rangeEndingMillis = Integer.parseInt(rangeEndingTime[3]); } else { rangeEndingMillis = 0; } setTimeRange(rangeStartingHourOfDay, rangeStartingMinute, rangeStartingSecond, rangeStartingMillis, rangeEndingHourOfDay, rangeEndingMinute, rangeEndingSecond, rangeEndingMillis); }
3431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3431/0ca5d7d851637eb8695746dba9608de14253a225/DailyCalendar.java/buggy/src/java/org/quartz/impl/calendar/DailyCalendar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 11195, 2655, 12, 780, 1048, 11715, 950, 780, 16, 17311, 514, 1048, 25674, 950, 780, 13, 288, 377, 202, 780, 8526, 1048, 11715, 950, 31, 377, 202, 474, 1048, 11715, 13433, 17263, 31, 377, 202, 474, 1048, 11715, 18329, 31, 377, 202, 474, 1048, 11715, 8211, 31, 377, 202, 474, 1048, 11715, 4814, 31, 377, 202, 377, 202, 780, 8526, 1048, 25674, 950, 31, 377, 202, 474, 1048, 25674, 13433, 17263, 31, 377, 202, 474, 1048, 25674, 18329, 31, 377, 202, 474, 1048, 25674, 8211, 31, 377, 202, 474, 1048, 25674, 4814, 31, 377, 202, 377, 202, 3676, 11715, 950, 273, 1048, 11715, 950, 780, 18, 4939, 12, 22667, 1769, 7734, 309, 14015, 3676, 11715, 950, 18, 2469, 411, 576, 13, 747, 261, 3676, 11715, 950, 18, 2469, 405, 1059, 3719, 288, 540, 202, 12849, 394, 2754, 2932, 1941, 813, 533, 2119, 397, 1850, 1082, 202, 3676, 11715, 950, 780, 397, 5862, 1769, 3639, 289, 7734, 1048, 11715, 13433, 17263, 273, 2144, 18, 2670, 1702, 12, 3676, 11715, 950, 63, 20, 19226, 3639, 1048, 11715, 18329, 273, 2144, 18, 2670, 1702, 12, 3676, 11715, 950, 63, 21, 19226, 3639, 309, 261, 3676, 11715, 950, 18, 2469, 405, 576, 13, 288, 540, 202, 3676, 11715, 8211, 273, 2144, 18, 2670, 1702, 12, 3676, 11715, 950, 63, 22, 19226, 3639, 289, 469, 288, 540, 202, 3676, 11715, 8211, 273, 374, 31, 3639, 289, 3639, 309, 261, 3676, 11715, 950, 18, 2469, 422, 1059, 13, 288, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 11195, 2655, 12, 780, 1048, 11715, 950, 780, 16, 17311, 514, 1048, 25674, 950, 780, 13, 288, 377, 202, 780, 8526, 1048, 11715, 950, 31, 377, 202, 474, 1048, 11715, 13433, 17263, 31, 377, 202, 474, 1048, 11715, 18329, 31, 377, 202, 474, 1048, 11715, 8211, 31, 377, 202, 474, 1048, 11715, 4814, 31, 377, 202, 377, 202, 780, 8526, 1048, 25674, 950, 31, 377, 202, 474, 1048, 25674, 13433, 17263, 31, 377, 202, 474, 1048, 25674, 18329, 31, 377, 202, 474, 1048, 25674, 8211, 31, 377, 202, 474, 1048, 25674, 4814, 31, 377, 202, 377, 202, 3676, 11715, 950, 273, 1048, 11715, 950, 780, 18, 4939, 12, 22667, 1769, 7734, 309, 14015, 3676, 11715, 950, 2 ]
int outIdx;
int outIdx;
public TA_RetCode LINEARREG_ANGLE(int startIdx, int endIdx, double inReal[], int optInTimePeriod, MInteger outBegIdx, MInteger outNbElement, double outReal[]) { int outIdx; int today, lookbackTotal; double SumX, SumXY, SumY, SumXSqr, Divisor; double m; int i; double tempValue1; if (startIdx < 0) return TA_RetCode.TA_OUT_OF_RANGE_START_INDEX; if ((endIdx < 0) || (endIdx < startIdx)) return TA_RetCode.TA_OUT_OF_RANGE_END_INDEX; if ((int) optInTimePeriod == (Integer.MIN_VALUE )) optInTimePeriod = 14; else if (((int) optInTimePeriod < 2) || ((int) optInTimePeriod > 100000)) return TA_RetCode.TA_BAD_PARAM; lookbackTotal = LINEARREG_ANGLE_Lookback(optInTimePeriod); if (startIdx < lookbackTotal) startIdx = lookbackTotal; if (startIdx > endIdx) { outBegIdx.value = 0; outNbElement.value = 0; return TA_RetCode.TA_SUCCESS; } outIdx = 0; today = startIdx; SumX = optInTimePeriod * (optInTimePeriod - 1) * 0.5; SumXSqr = optInTimePeriod * (optInTimePeriod - 1) * (2 * optInTimePeriod - 1) / 6; Divisor = SumX * SumX - optInTimePeriod * SumXSqr; while (today <= endIdx) { SumXY = 0; SumY = 0; for (i = optInTimePeriod; i-- != 0;) { SumY += tempValue1 = inReal[today - i]; SumXY += (double) i * tempValue1; } m = (optInTimePeriod * SumXY - SumX * SumY) / Divisor; outReal[outIdx++] = m * (180.0 / 3.14159265358979323846); today++; } outBegIdx.value = startIdx; outNbElement.value = outIdx; return TA_RetCode.TA_SUCCESS; }
51465 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51465/cf65b93eedaca922be2993fe424b023f73c7562d/Core.java/buggy/trunk/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 399, 37, 67, 7055, 1085, 14340, 985, 5937, 67, 30978, 12, 474, 27108, 16, 509, 679, 4223, 16, 1082, 202, 9056, 316, 6955, 63, 6487, 509, 2153, 382, 26540, 16, 490, 4522, 596, 24059, 4223, 16, 1082, 202, 49, 4522, 596, 22816, 1046, 16, 1645, 29205, 63, 5717, 288, 202, 202, 474, 596, 4223, 31, 202, 202, 474, 10074, 16, 2324, 823, 5269, 31, 202, 202, 9056, 9352, 60, 16, 9352, 8546, 16, 9352, 61, 16, 9352, 60, 19643, 86, 16, 21411, 12385, 31, 202, 202, 9056, 312, 31, 202, 202, 474, 277, 31, 202, 202, 9056, 1906, 620, 21, 31, 202, 202, 430, 261, 1937, 4223, 411, 374, 13, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 202, 202, 430, 14015, 409, 4223, 411, 374, 13, 747, 261, 409, 4223, 411, 27108, 3719, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 202, 202, 430, 14015, 474, 13, 2153, 382, 26540, 422, 261, 4522, 18, 6236, 67, 4051, 8623, 1082, 202, 3838, 382, 26540, 273, 5045, 31, 202, 202, 12107, 309, 261, 12443, 474, 13, 2153, 382, 26540, 411, 576, 13, 9506, 202, 20081, 14015, 474, 13, 2153, 382, 26540, 405, 25259, 3719, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 16234, 67, 8388, 31, 202, 202, 7330, 823, 5269, 273, 14340, 985, 5937, 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, 399, 37, 67, 7055, 1085, 14340, 985, 5937, 67, 30978, 12, 474, 27108, 16, 509, 679, 4223, 16, 1082, 202, 9056, 316, 6955, 63, 6487, 509, 2153, 382, 26540, 16, 490, 4522, 596, 24059, 4223, 16, 1082, 202, 49, 4522, 596, 22816, 1046, 16, 1645, 29205, 63, 5717, 288, 202, 202, 474, 596, 4223, 31, 202, 202, 474, 10074, 16, 2324, 823, 5269, 31, 202, 202, 9056, 9352, 60, 16, 9352, 8546, 16, 9352, 61, 16, 9352, 60, 19643, 86, 16, 21411, 12385, 31, 202, 202, 9056, 312, 31, 202, 202, 474, 277, 31, 202, 202, 9056, 1906, 620, 21, 31, 202, 202, 430, 261, 1937, 4223, 411, 374, 13, 1082, 202, 2463, 399, 37, 67, 2 ]
public void execute () throws BuildException { // Make sure the template path is set. if (templatePath == null && useClasspath == false) { throw new BuildException( "The template path needs to be defined if you are not using " + "the classpath for locating templates!"); } // Make sure the control template is set. if (controlTemplate == null) { throw new BuildException("The control template needs to be defined!"); } // Make sure the output directory is set. if (outputDirectory == null) { throw new BuildException("The output directory needs to be defined!"); } // Make sure there is an output file. if (outputFile == null) { throw new BuildException("The output file needs to be defined!"); } VelocityEngine ve = new VelocityEngine(); try { // Setup the Velocity Runtime. if (templatePath != null) { log("Using templatePath: " + templatePath, project.MSG_VERBOSE); ve.setProperty( ve.FILE_RESOURCE_LOADER_PATH, templatePath); } if (useClasspath) { log("Using classpath"); ve.addProperty( VelocityEngine.RESOURCE_LOADER, "classpath"); ve.setProperty( "classpath." + VelocityEngine.RESOURCE_LOADER + ".class", "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader"); ve.setProperty( "classpath." + VelocityEngine.RESOURCE_LOADER + ".cache", "false"); ve.setProperty( "classpath." + VelocityEngine.RESOURCE_LOADER + ".modificationCheckInterval", "2"); } ve.init(); // Create the text generator. Generator generator = Generator.getInstance(); generator.setVelocityEngine(ve); generator.setOutputPath(outputDirectory); generator.setInputEncoding(inputEncoding); generator.setOutputEncoding(outputEncoding); if (templatePath != null) { generator.setTemplatePath(templatePath); } // Make sure the output directory exists, if it doesn't // then create it. File file = new File(outputDirectory); if (! file.exists()) { file.mkdirs(); } String path = outputDirectory + File.separator + outputFile; log("Generating to file " + path, project.MSG_INFO); Writer writer = generator.getWriter(path, outputEncoding); // The generator and the output path should // be placed in the init context here and // not in the generator class itself. Context c = initControlContext(); // Everything in the generator class should be // pulled out and placed in here. What the generator // class does can probably be added to the Velocity // class and the generator class can probably // be removed all together. populateInitialContext(c); // Feed all the options into the initial // control context so they are available // in the control/worker templates. if (contextProperties != null) { Iterator i = contextProperties.getKeys(); while (i.hasNext()) { String property = (String) i.next(); String value = contextProperties.getString(property); // Now lets quickly check to see if what // we have is numeric and try to put it // into the context as an Integer. try { c.put(property, new Integer(value)); } catch (NumberFormatException nfe) { // Now we will try to place the value into // the context as a boolean value if it // maps to a valid boolean value. String booleanString = contextProperties.testBoolean(value); if (booleanString != null) { c.put(property, new Boolean(booleanString)); } else { // We are going to do something special // for properties that have a "file.contents" // suffix: for these properties will pull // in the contents of the file and make // them available in the context. So for // a line like the following in a properties file: // // license.file.contents = license.txt // // We will pull in the contents of license.txt // and make it available in the context as // $license. This should make texen a little // more flexible. if (property.endsWith("file.contents")) { // We need to turn the license file from relative to // absolute, and let Ant help :) value = StringUtils.fileContentsToString( project.resolveFile(value).getCanonicalPath()); property = property.substring( 0, property.indexOf("file.contents") - 1); } c.put(property, value); } } } } writer.write(generator.parse(controlTemplate, c)); writer.flush(); writer.close(); generator.shutdown(); cleanup(); } catch( BuildException e) { throw e; } catch( MethodInvocationException e ) { throw new BuildException( "Exception thrown by '" + e.getReferenceName() + "." + e.getMethodName() +"'" + ERR_MSG_FRAGMENT, e.getWrappedThrowable()); } catch( ParseErrorException e ) { throw new BuildException("Velocity syntax error" + ERR_MSG_FRAGMENT ,e); } catch( ResourceNotFoundException e ) { throw new BuildException("Resource not found" + ERR_MSG_FRAGMENT,e); } catch( Exception e ) { throw new BuildException("Generation failed" + ERR_MSG_FRAGMENT ,e); } }
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/e128e4125429834f73621c8aa67036ca877e731e/TexenTask.java/clean/src/java/org/apache/velocity/texen/ant/TexenTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1832, 540, 1216, 18463, 565, 288, 3639, 368, 4344, 3071, 326, 1542, 589, 353, 444, 18, 3639, 309, 261, 3202, 743, 422, 446, 597, 999, 17461, 422, 629, 13, 3639, 288, 5411, 604, 394, 18463, 12, 7734, 315, 1986, 1542, 589, 4260, 358, 506, 2553, 309, 1846, 854, 486, 1450, 315, 397, 7734, 315, 5787, 10006, 364, 1515, 1776, 5539, 4442, 1769, 3639, 289, 13491, 368, 4344, 3071, 326, 3325, 1542, 353, 444, 18, 3639, 309, 261, 7098, 2283, 422, 446, 13, 3639, 288, 5411, 604, 394, 18463, 2932, 1986, 3325, 1542, 4260, 358, 506, 2553, 4442, 1769, 3639, 289, 10792, 368, 4344, 3071, 326, 876, 1867, 353, 444, 18, 3639, 309, 261, 2844, 2853, 422, 446, 13, 3639, 288, 5411, 604, 394, 18463, 2932, 1986, 876, 1867, 4260, 358, 506, 2553, 4442, 1769, 3639, 289, 18701, 368, 4344, 3071, 1915, 353, 392, 876, 585, 18, 3639, 309, 261, 2844, 812, 422, 446, 13, 3639, 288, 5411, 604, 394, 18463, 2932, 1986, 876, 585, 4260, 358, 506, 2553, 4442, 1769, 3639, 289, 18701, 24561, 4410, 10489, 273, 394, 24561, 4410, 5621, 7734, 775, 3639, 288, 5411, 368, 10939, 326, 24561, 2509, 18, 5411, 309, 261, 3202, 743, 480, 446, 13, 5411, 288, 2398, 202, 1330, 2932, 7736, 20534, 30, 315, 397, 20534, 16, 1984, 18, 11210, 67, 21900, 1769, 7734, 10489, 18, 542, 1396, 12, 10792, 10489, 18, 3776, 67, 11395, 67, 1502, 5483, 67, 4211, 16, 20534, 1769, 5411, 289, 13491, 309, 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, 1836, 1832, 540, 1216, 18463, 565, 288, 3639, 368, 4344, 3071, 326, 1542, 589, 353, 444, 18, 3639, 309, 261, 3202, 743, 422, 446, 597, 999, 17461, 422, 629, 13, 3639, 288, 5411, 604, 394, 18463, 12, 7734, 315, 1986, 1542, 589, 4260, 358, 506, 2553, 309, 1846, 854, 486, 1450, 315, 397, 7734, 315, 5787, 10006, 364, 1515, 1776, 5539, 4442, 1769, 3639, 289, 13491, 368, 4344, 3071, 326, 3325, 1542, 353, 444, 18, 3639, 309, 261, 7098, 2283, 422, 446, 13, 3639, 288, 5411, 604, 394, 18463, 2932, 1986, 3325, 1542, 4260, 358, 506, 2553, 4442, 1769, 3639, 289, 10792, 368, 4344, 3071, 326, 876, 1867, 353, 444, 18, 3639, 309, 261, 2844, 2853, 2 ]
UnconditionalDerefParamProperty prop = new UnconditionalDerefParamProperty();
UnconditionalDerefProperty prop = new UnconditionalDerefProperty();
public UnconditionalDerefParamProperty combine(UnconditionalDerefParamProperty sourceProperty, UnconditionalDerefParamProperty targetProperty) { // Take the union of unconditional deref param sets. UnconditionalDerefParamProperty prop = new UnconditionalDerefParamProperty(); prop.setUnconditionalDerefParamSet(sourceProperty.getUnconditionalDerefParamSet() | targetProperty.getUnconditionalDerefParamSet()); return prop; }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/d6e40e83ca80a8fd14ca7a6ee250030829062382/UnconditionalDerefPropertyDatabase.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/npe/UnconditionalDerefPropertyDatabase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 1351, 22019, 40, 822, 74, 786, 1396, 8661, 12, 984, 22019, 40, 822, 74, 786, 1396, 1084, 1396, 16, 1351, 22019, 40, 822, 74, 786, 1396, 1018, 1396, 13, 288, 9506, 202, 759, 17129, 326, 7812, 434, 6301, 1434, 6457, 18207, 74, 579, 1678, 18, 9506, 202, 984, 22019, 40, 822, 74, 786, 1396, 2270, 273, 394, 1351, 22019, 40, 822, 74, 786, 1396, 5621, 9506, 202, 5986, 18, 542, 984, 22019, 40, 822, 74, 786, 694, 12, 3168, 1396, 18, 588, 984, 22019, 40, 822, 74, 786, 694, 1435, 571, 1018, 1396, 18, 588, 984, 22019, 40, 822, 74, 786, 694, 10663, 9506, 202, 2463, 2270, 31, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 1351, 22019, 40, 822, 74, 786, 1396, 8661, 12, 984, 22019, 40, 822, 74, 786, 1396, 1084, 1396, 16, 1351, 22019, 40, 822, 74, 786, 1396, 1018, 1396, 13, 288, 9506, 202, 759, 17129, 326, 7812, 434, 6301, 1434, 6457, 18207, 74, 579, 1678, 18, 9506, 202, 984, 22019, 40, 822, 74, 786, 1396, 2270, 273, 394, 1351, 22019, 40, 822, 74, 786, 1396, 5621, 9506, 202, 5986, 18, 542, 984, 22019, 40, 822, 74, 786, 694, 12, 3168, 1396, 18, 588, 984, 22019, 40, 822, 74, 786, 694, 1435, 571, 1018, 1396, 18, 588, 984, 22019, 40, 822, 74, 786, 694, 10663, 9506, 202, 2463, 2270, 31, 1082, 202, 97, 2, -100, -100, -100, -100, -100 ]
"conflicting inherited pointcuts in " + this.getName() + toAdd.getSignature(),
WeaverMessages.format(WeaverMessages.CONFLICTING_INHERITED_POINTCUTS,this.getName() + toAdd.getSignature()),
private void addPointcutsResolvingConflicts(List acc, List added, boolean isOverriding) { for (Iterator i = added.iterator(); i.hasNext();) { ResolvedPointcutDefinition toAdd = (ResolvedPointcutDefinition) i.next(); //System.err.println("adding: " + toAdd); for (Iterator j = acc.iterator(); j.hasNext();) { ResolvedPointcutDefinition existing = (ResolvedPointcutDefinition) j.next(); if (existing == toAdd) continue; if (!isVisible(existing.getModifiers(), existing.getDeclaringType().resolve(getWorld()), this)) { continue; } if (conflictingSignature(existing, toAdd)) { if (isOverriding) { checkLegalOverride(existing, toAdd); j.remove(); } else { getWorld().showMessage( IMessage.ERROR, "conflicting inherited pointcuts in " + this.getName() + toAdd.getSignature(), existing.getSourceLocation(), toAdd.getSourceLocation()); j.remove(); } } } acc.add(toAdd); } }
7955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7955/05d7bc1f696693d58899c74d2c93a3a091659da9/ResolvedTypeX.java/clean/org.aspectj/modules/weaver/src/org/aspectj/weaver/ResolvedTypeX.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 2148, 5150, 87, 2903, 6282, 30897, 12, 682, 4078, 16, 987, 3096, 16, 1250, 353, 22042, 10415, 13, 288, 202, 202, 1884, 261, 3198, 277, 273, 3096, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 12793, 2148, 5150, 1852, 25607, 273, 9506, 202, 12, 12793, 2148, 5150, 1852, 13, 277, 18, 4285, 5621, 9506, 202, 759, 3163, 18, 370, 18, 8222, 2932, 3439, 30, 315, 397, 25607, 1769, 1082, 202, 1884, 261, 3198, 525, 273, 4078, 18, 9838, 5621, 525, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 12793, 2148, 5150, 1852, 2062, 273, 6862, 202, 12, 12793, 2148, 5150, 1852, 13, 525, 18, 4285, 5621, 9506, 202, 430, 261, 11711, 422, 25607, 13, 1324, 31, 9506, 202, 430, 16051, 291, 6207, 12, 11711, 18, 588, 11948, 9334, 6862, 202, 11711, 18, 588, 3456, 5968, 559, 7675, 10828, 12, 588, 18071, 1435, 3631, 6862, 202, 2211, 3719, 288, 6862, 202, 17143, 31, 9506, 202, 97, 9506, 202, 430, 261, 20340, 310, 5374, 12, 11711, 16, 25607, 3719, 288, 6862, 202, 430, 261, 291, 22042, 10415, 13, 288, 25083, 202, 1893, 30697, 6618, 12, 11711, 16, 25607, 1769, 25083, 202, 78, 18, 4479, 5621, 6862, 202, 97, 469, 288, 25083, 202, 588, 18071, 7675, 4500, 1079, 12, 6862, 1082, 202, 45, 1079, 18, 3589, 16, 6862, 1082, 202, 6, 20340, 310, 12078, 29774, 87, 316, 315, 6862, 9506, 202, 15, 333, 18, 17994, 1435, 397, 25607, 18, 588, 5374, 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, 527, 2148, 5150, 87, 2903, 6282, 30897, 12, 682, 4078, 16, 987, 3096, 16, 1250, 353, 22042, 10415, 13, 288, 202, 202, 1884, 261, 3198, 277, 273, 3096, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 12793, 2148, 5150, 1852, 25607, 273, 9506, 202, 12, 12793, 2148, 5150, 1852, 13, 277, 18, 4285, 5621, 9506, 202, 759, 3163, 18, 370, 18, 8222, 2932, 3439, 30, 315, 397, 25607, 1769, 1082, 202, 1884, 261, 3198, 525, 273, 4078, 18, 9838, 5621, 525, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 12793, 2148, 5150, 1852, 2062, 273, 6862, 202, 12, 12793, 2148, 5150, 1852, 13, 525, 18, 4285, 5621, 9506, 202, 430, 261, 2 ]
public void start(String uri, String localname, String qName, Attributes attributes) throws SAXException { effectiveGroupId = handlerContext.getEffectiveId(attributes); // Find classes to add final StringBuffer classes = new StringBuffer("xforms-" + localname); if (!handlerContext.isGenerateTemplate()) { groupControlInfo = ((ControlInfo) containingDocument.getObjectById(handlerContext.getPipelineContext(), effectiveGroupId)); HandlerBase.handleMIPClasses(classes, groupControlInfo); } // Create xhtml:span final String xhtmlPrefix = handlerContext.findXHTMLPrefix(); final String spanQName = XMLUtils.buildQName(xhtmlPrefix, "span"); handlerContext.getController().getOutput().startElement(XMLConstants.XHTML_NAMESPACE_URI, "span", spanQName, getAttributes(attributes, classes.toString(), effectiveGroupId)); final String labelValue = handlerContext.isGenerateTemplate() ? null : groupControlInfo.getLabel(); if (labelValue != null) { final AttributesImpl labelAttributes = getAttributes(attributes, "xforms-label", null); XFormsValueControlHandler.outputLabelHintHelpAlert(handlerContext, labelAttributes, effectiveGroupId, labelValue); } }
57229 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57229/1ee54c1ea556870b800299a4a19e1f6feccfc285/XFormsGroupHandler.java/buggy/src/java/org/orbeon/oxf/xforms/processor/handlers/XFormsGroupHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 12, 780, 2003, 16, 514, 1191, 529, 16, 514, 22914, 16, 9055, 1677, 13, 1216, 14366, 288, 3639, 11448, 8722, 273, 1838, 1042, 18, 588, 28531, 548, 12, 4350, 1769, 3639, 368, 4163, 3318, 358, 527, 3639, 727, 6674, 3318, 273, 394, 6674, 2932, 92, 9741, 10951, 397, 1191, 529, 1769, 3639, 309, 16051, 4176, 1042, 18, 291, 4625, 2283, 10756, 288, 5411, 1041, 3367, 966, 273, 14015, 3367, 966, 13, 4191, 2519, 18, 588, 921, 5132, 12, 4176, 1042, 18, 588, 8798, 1042, 9334, 11448, 8722, 10019, 5411, 4663, 2171, 18, 4110, 49, 2579, 4818, 12, 4701, 16, 1041, 3367, 966, 1769, 3639, 289, 3639, 368, 1788, 619, 2620, 30, 3969, 3639, 727, 514, 619, 2620, 2244, 273, 1838, 1042, 18, 4720, 60, 4870, 2244, 5621, 3639, 727, 514, 4548, 13688, 273, 3167, 1989, 18, 3510, 13688, 12, 26341, 2244, 16, 315, 3969, 8863, 3639, 1838, 1042, 18, 588, 2933, 7675, 588, 1447, 7675, 1937, 1046, 12, 4201, 2918, 18, 60, 4870, 67, 11368, 67, 3098, 16, 315, 3969, 3113, 4548, 13688, 16, 10183, 12, 4350, 16, 3318, 18, 10492, 9334, 11448, 8722, 10019, 3639, 727, 514, 1433, 620, 273, 1838, 1042, 18, 291, 4625, 2283, 1435, 692, 446, 294, 1041, 3367, 966, 18, 588, 2224, 5621, 3639, 309, 261, 1925, 620, 480, 446, 13, 288, 5411, 727, 9055, 2828, 1433, 2498, 273, 10183, 12, 4350, 16, 315, 92, 9741, 17, 1925, 3113, 446, 1769, 5411, 1139, 18529, 620, 3367, 1503, 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, 787, 12, 780, 2003, 16, 514, 1191, 529, 16, 514, 22914, 16, 9055, 1677, 13, 1216, 14366, 288, 3639, 11448, 8722, 273, 1838, 1042, 18, 588, 28531, 548, 12, 4350, 1769, 3639, 368, 4163, 3318, 358, 527, 3639, 727, 6674, 3318, 273, 394, 6674, 2932, 92, 9741, 10951, 397, 1191, 529, 1769, 3639, 309, 16051, 4176, 1042, 18, 291, 4625, 2283, 10756, 288, 5411, 1041, 3367, 966, 273, 14015, 3367, 966, 13, 4191, 2519, 18, 588, 921, 5132, 12, 4176, 1042, 18, 588, 8798, 1042, 9334, 11448, 8722, 10019, 5411, 4663, 2171, 18, 4110, 49, 2579, 4818, 12, 4701, 16, 1041, 3367, 966, 1769, 3639, 289, 3639, 368, 1788, 619, 2620, 30, 3969, 3639, 727, 514, 2 ]
Type[] types = cm.getPropertyTypes(); classNameHolder.put(key, new Holder( cm, locksFields(types), lockedByFields(key,m) ));
locksHolder.put( key, new Locks(cm) );
public ExtendedMetadata( SessionFactory sessionFactory ) { if ( sessionFactory == null ) throw new ApiUsageException( "SessionFactory may not be null." ); Map<String,ClassMetadata> m = sessionFactory.getAllClassMetadata(); for (String key : m.keySet()) { ClassMetadata cm = m.get(key); Type[] types = cm.getPropertyTypes(); classNameHolder.put(key, new Holder( cm, locksFields(types), lockedByFields(key,m) )); } }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/e30f801c3b2923483e1f69853136328bb21a1d79/ExtendedMetadata.java/buggy/components/server/src/ome/tools/hibernate/ExtendedMetadata.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14094, 2277, 12, 3877, 1733, 1339, 1733, 262, 202, 95, 202, 202, 430, 261, 1339, 1733, 422, 446, 262, 1875, 202, 12849, 394, 4458, 5357, 503, 12, 315, 2157, 1733, 2026, 486, 506, 446, 1199, 11272, 9506, 202, 863, 32, 780, 16, 29543, 34, 312, 273, 1339, 1733, 18, 588, 1595, 29543, 5621, 9506, 202, 1884, 261, 780, 225, 498, 294, 312, 18, 856, 694, 10756, 3196, 202, 95, 1082, 202, 29543, 5003, 273, 312, 18, 588, 12, 856, 1769, 9506, 202, 559, 8526, 1953, 273, 5003, 18, 588, 1396, 2016, 5621, 1082, 202, 12434, 6064, 18, 458, 12, 856, 16, 6862, 202, 2704, 670, 1498, 12, 5003, 16, 13046, 2314, 12, 2352, 3631, 8586, 858, 2314, 12, 856, 16, 81, 13, 262, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14094, 2277, 12, 3877, 1733, 1339, 1733, 262, 202, 95, 202, 202, 430, 261, 1339, 1733, 422, 446, 262, 1875, 202, 12849, 394, 4458, 5357, 503, 12, 315, 2157, 1733, 2026, 486, 506, 446, 1199, 11272, 9506, 202, 863, 32, 780, 16, 29543, 34, 312, 273, 1339, 1733, 18, 588, 1595, 29543, 5621, 9506, 202, 1884, 261, 780, 225, 498, 294, 312, 18, 856, 694, 10756, 3196, 202, 95, 1082, 202, 29543, 5003, 273, 312, 18, 588, 12, 856, 1769, 9506, 202, 559, 8526, 1953, 273, 5003, 18, 588, 1396, 2016, 5621, 1082, 202, 12434, 6064, 18, 458, 12, 856, 16, 6862, 202, 2704, 670, 1498, 12, 5003, 16, 13046, 2314, 12, 2352, 3631, 8586, 858, 2 ]
IProgressMonitor monitor) throws InterruptedException {
IProgressMonitor monitor) {
public void match(XMLNode LeftTree, XMLNode RightTree, boolean rightTreeIsAncestor, IProgressMonitor monitor) throws InterruptedException { fNLeft = new Vector(); //numbering LeftTree: Mapping nodes in LeftTree to numbers to be used as array indexes fNRight = new Vector(); //numbering RightTree: Mapping nodes in RightTree to numbers to be used as array indexes numberNodes(LeftTree, fNLeft); numberNodes(RightTree, fNRight); fDT = new int[fNLeft.size()][fNRight.size()]; fDT_Matchings = new ArrayList[fNLeft.size()][fNRight.size()]; for (int i = 0; i < fDT.length; i++) { fDT[i] = new int[fNRight.size()]; for (int j = 0; j < fDT[0].length; j++) { fDT[i][j] = NO_ENTRY; } } dist(LeftTree, RightTree); // /* mark matchings on LeftTree and RightTree */ fMatches = new Vector(); if (!LeftTree.getSignature().equals(RightTree.getSignature())) { //matching is empty } else { fMatches.add(new Match(LeftTree, RightTree)); for (int i_M = 0; i_M < fMatches.size(); i_M++) { Match m = (Match) fMatches.elementAt(i_M); if (!isLeaf(m.fx) && !isLeaf(m.fy)) { if (fDT_Matchings[indexOfLN(m.fx)][indexOfRN(m.fy)] != null) fMatches.addAll(fDT_Matchings[indexOfLN(m.fx)][indexOfRN(m.fy)]); } } } //end of Step2 /* Renumber Id of Nodes to follow Matches. Or for ancestor, copy over Id to ancestor */ if (rightTreeIsAncestor) { for (ListIterator it_M = fMatches.listIterator(); it_M.hasNext();) { Match m = (Match) it_M.next(); if (m.fx != null && m.fy != null) m.fy.setId(m.fx.getId()); } } else { int newId = 0; for (ListIterator it_M = fMatches.listIterator(); it_M.hasNext(); newId++) { Match m = (Match) it_M.next(); if (m.fx != null) m.fx.setId(Integer.toString(newId)); if (m.fy != null) m.fy.setId(Integer.toString(newId)); } } }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/ad02f58739a63d63cd7a8d24b75f2f42f05b7d0e/OrderedMatching.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/compare/OrderedMatching.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 845, 12, 4201, 907, 13338, 2471, 16, 3167, 907, 13009, 2471, 16, 1250, 2145, 2471, 2520, 15637, 16, 1082, 202, 45, 5491, 7187, 6438, 13, 1216, 7558, 288, 202, 202, 74, 50, 3910, 273, 394, 5589, 5621, 202, 202, 759, 2696, 310, 13338, 2471, 30, 9408, 2199, 316, 13338, 2471, 358, 5600, 358, 506, 1399, 487, 526, 5596, 202, 202, 74, 50, 4726, 273, 394, 5589, 5621, 202, 202, 759, 2696, 310, 13009, 2471, 30, 9408, 2199, 316, 13009, 2471, 358, 5600, 358, 506, 1399, 487, 526, 5596, 202, 202, 2696, 3205, 12, 3910, 2471, 16, 284, 50, 3910, 1769, 202, 202, 2696, 3205, 12, 4726, 2471, 16, 284, 50, 4726, 1769, 202, 202, 74, 9081, 273, 394, 509, 63, 74, 50, 3910, 18, 1467, 1435, 6362, 74, 50, 4726, 18, 1467, 1435, 15533, 202, 202, 74, 9081, 67, 2060, 899, 273, 394, 2407, 63, 74, 50, 3910, 18, 1467, 1435, 6362, 74, 50, 4726, 18, 1467, 1435, 15533, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 284, 9081, 18, 2469, 31, 277, 27245, 288, 1082, 202, 74, 9081, 63, 77, 65, 273, 394, 509, 63, 74, 50, 4726, 18, 1467, 1435, 15533, 1082, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 284, 9081, 63, 20, 8009, 2469, 31, 525, 27245, 288, 9506, 202, 74, 9081, 63, 77, 6362, 78, 65, 273, 3741, 67, 19083, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 4413, 12, 3910, 2471, 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, 845, 12, 4201, 907, 13338, 2471, 16, 3167, 907, 13009, 2471, 16, 1250, 2145, 2471, 2520, 15637, 16, 1082, 202, 45, 5491, 7187, 6438, 13, 1216, 7558, 288, 202, 202, 74, 50, 3910, 273, 394, 5589, 5621, 202, 202, 759, 2696, 310, 13338, 2471, 30, 9408, 2199, 316, 13338, 2471, 358, 5600, 358, 506, 1399, 487, 526, 5596, 202, 202, 74, 50, 4726, 273, 394, 5589, 5621, 202, 202, 759, 2696, 310, 13009, 2471, 30, 9408, 2199, 316, 13009, 2471, 358, 5600, 358, 506, 1399, 487, 526, 5596, 202, 202, 2696, 3205, 12, 3910, 2471, 16, 284, 50, 3910, 1769, 202, 202, 2696, 3205, 12, 4726, 2471, 16, 284, 50, 4726, 1769, 202, 202, 74, 2 ]
NodeList menuNodes = new NodeList( menutemplate );
NodeList menuNodes = new NodeList( menutemplate, parserParameters.getDocumentRequest().getHttpServletRequest() );
private String parseMenuNode( int menuIndex, String menutemplate, Properties menuattributes, PatternMatcher patMat, TagParser tagParser ) { String modeAttribute = menuattributes.getProperty( "mode" ); boolean modeIsRead = "read".equalsIgnoreCase( modeAttribute ); boolean modeIsWrite = "write".equalsIgnoreCase( modeAttribute ); boolean menuMode = parserParameters.isMenuMode(); if ( menuMode && modeIsRead || !menuMode && modeIsWrite ) { return ""; } MenuDomainObject currentMenu = getMenuByIndex( menuIndex ); // Get the menu StringBuffer result = new StringBuffer(); // Allocate a buffer for building our return-value in. NodeList menuNodes = new NodeList( menutemplate ); // Build a tree-structure of nodes in memory, which "only" needs to be traversed. (Vood)oo-magic. nodeMenu( new SimpleElement( "menu", menuattributes, menuNodes ), result, currentMenu, patMat, menuIndex, tagParser ); // Create an artificial root-node of this tree. An "imcms:menu"-element. if ( menuMode ) { // If in menuMode, make sure to include all the stuff from the proper admintemplates. result.append( getMenuModeSuffix( menuIndex ) ); result.insert( 0, getMenuModePrefix( menuIndex, menuattributes ) ); } return result.toString(); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/8f44663784ddb8c675a3d2cae4c01025a57f657a/MenuParser.java/buggy/server/src/imcode/server/parser/MenuParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 1109, 4599, 907, 12, 509, 3824, 1016, 16, 514, 21247, 322, 29761, 16, 6183, 3824, 4350, 16, 21394, 6830, 6286, 9670, 15947, 16, 4034, 2678, 1047, 2678, 262, 288, 3639, 514, 1965, 1499, 273, 3824, 4350, 18, 588, 1396, 12, 315, 3188, 6, 11272, 3639, 1250, 1965, 2520, 1994, 273, 315, 896, 9654, 14963, 5556, 12, 1965, 1499, 11272, 3639, 1250, 1965, 2520, 3067, 273, 315, 2626, 9654, 14963, 5556, 12, 1965, 1499, 11272, 3639, 1250, 3824, 2309, 273, 2082, 2402, 18, 291, 4599, 2309, 5621, 3639, 309, 261, 3824, 2309, 597, 1965, 2520, 1994, 747, 401, 5414, 2309, 597, 1965, 2520, 3067, 262, 288, 5411, 327, 1408, 31, 3639, 289, 3639, 9809, 3748, 921, 783, 4599, 273, 25877, 21268, 12, 3824, 1016, 11272, 225, 202, 759, 968, 326, 3824, 3639, 6674, 563, 273, 394, 6674, 5621, 368, 22222, 279, 1613, 364, 10504, 3134, 327, 17, 1132, 316, 18, 3639, 16781, 3824, 3205, 273, 394, 16781, 12, 21247, 322, 29761, 16, 2082, 2402, 18, 588, 2519, 691, 7675, 588, 2940, 18572, 1435, 11272, 368, 3998, 279, 2151, 17, 7627, 434, 2199, 316, 3778, 16, 1492, 315, 3700, 6, 4260, 358, 506, 29062, 18, 261, 58, 4773, 13, 5161, 17, 11179, 18, 3639, 756, 4599, 12, 394, 4477, 1046, 12, 315, 5414, 3113, 3824, 4350, 16, 3824, 3205, 262, 16, 563, 16, 783, 4599, 16, 9670, 15947, 16, 3824, 1016, 16, 1047, 2678, 11272, 368, 1788, 392, 3688, 1507, 649, 1365, 17, 2159, 434, 333, 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, 514, 1109, 4599, 907, 12, 509, 3824, 1016, 16, 514, 21247, 322, 29761, 16, 6183, 3824, 4350, 16, 21394, 6830, 6286, 9670, 15947, 16, 4034, 2678, 1047, 2678, 262, 288, 3639, 514, 1965, 1499, 273, 3824, 4350, 18, 588, 1396, 12, 315, 3188, 6, 11272, 3639, 1250, 1965, 2520, 1994, 273, 315, 896, 9654, 14963, 5556, 12, 1965, 1499, 11272, 3639, 1250, 1965, 2520, 3067, 273, 315, 2626, 9654, 14963, 5556, 12, 1965, 1499, 11272, 3639, 1250, 3824, 2309, 273, 2082, 2402, 18, 291, 4599, 2309, 5621, 3639, 309, 261, 3824, 2309, 597, 1965, 2520, 1994, 747, 401, 5414, 2309, 597, 1965, 2520, 3067, 262, 288, 5411, 327, 1408, 31, 3639, 289, 3639, 9809, 3748, 921, 783, 2 ]
private FinishedJobs() { listener = new IJobProgressManagerListener() { public void addJob(JobInfo info) { } public void addGroup(GroupInfo info) { } public void refreshJobInfo(JobInfo info) { checkTasks(info); } public void refreshGroup(GroupInfo info) { } public void refreshAll() { } public void removeJob(JobInfo info) { if (keep(info)) add(info); } public void removeGroup(GroupInfo group) { } public boolean showsDebug() { return false; } }; ProgressManager.getInstance().addListener(listener); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/80ce01835aadbcfe3f6af16d36f3de62e702d25c/FinishedJobs.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/FinishedJobs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 10577, 7276, 1435, 95, 12757, 33, 2704, 45, 2278, 5491, 1318, 2223, 1435, 95, 482, 6459, 1289, 2278, 12, 2278, 966, 1376, 13, 2916, 482, 6459, 1289, 1114, 12, 1114, 966, 1376, 13, 2916, 482, 6459, 9144, 2278, 966, 12, 2278, 966, 1376, 15329, 1893, 6685, 12, 1376, 1769, 202, 97, 482, 6459, 9144, 1114, 12, 1114, 966, 1376, 13, 2916, 482, 6459, 9144, 1595, 1435, 2916, 482, 6459, 4479, 2278, 12, 2278, 966, 1376, 15329, 430, 12, 10102, 12, 1376, 3719, 1289, 12, 1376, 1769, 97, 482, 6459, 4479, 1114, 12, 1114, 966, 1655, 13, 2916, 482, 1075, 29510, 13606, 87, 2829, 1435, 95, 2463, 5743, 31, 9090, 31, 5491, 1318, 18, 588, 1442, 7675, 1289, 2223, 12, 12757, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 10577, 7276, 1435, 95, 12757, 33, 2704, 45, 2278, 5491, 1318, 2223, 1435, 95, 482, 6459, 1289, 2278, 12, 2278, 966, 1376, 13, 2916, 482, 6459, 1289, 1114, 12, 1114, 966, 1376, 13, 2916, 482, 6459, 9144, 2278, 966, 12, 2278, 966, 1376, 15329, 1893, 6685, 12, 1376, 1769, 202, 97, 482, 6459, 9144, 1114, 12, 1114, 966, 1376, 13, 2916, 482, 6459, 9144, 1595, 1435, 2916, 482, 6459, 4479, 2278, 12, 2278, 966, 1376, 15329, 430, 12, 10102, 12, 1376, 3719, 1289, 12, 1376, 1769, 97, 482, 6459, 4479, 1114, 12, 1114, 966, 1655, 13, 2916, 482, 1075, 29510, 13606, 87, 2829, 1435, 95, 2463, 5743, 31, 9090, 31, 5491, 1318, 18, 588, 1442, 7675, 1289, 2223, 2 ]
public boolean isOpaque() { return false; }
public boolean isOpaque() { return ! isLightweight(); }
public boolean isOpaque() { return false;}
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/754ecc58e509cfae99be4c5e2e21f126f287c3b4/Component.java/clean/libraries/javalib/awt-implementations/kaffe/java/awt/Component.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1250, 353, 3817, 14886, 1435, 288, 202, 2463, 629, 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 ]
[ 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, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1250, 353, 3817, 14886, 1435, 288, 202, 2463, 629, 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 ]
public void testOutagesForeignKeyIfServiceIdOnUpgrade() throws Exception { if (!isDBTestEnabled()) { return; } m_installer.createSequences(); for (int i = 0; i < 10; i++) { executeSQL("SELECT nextval('opennmsNxtId');"); } addTableFromSQL("distPoller"); addTableFromSQL("node"); addTableFromSQL("snmpinterface"); addTableFromSQL("ipinterface"); /* // No ID column addTableFromSQLWithReplacements("ipinterface", new String[][] { new String[] { "(?i)id\\s+integer default nextval\\('opennmsNxtId'\\) not null,", "" }, new String[] { "(?i)constraint ipinterface_pkey primary key \\(id\\),", "" } }); */ addTableFromSQL("events"); addTableFromSQL("service"); // No ID column addTableFromSQLWithReplacements("ifservices", new String[][] { new String[] { "(?i)id\\s+integer default nextval\\('opennmsNxtId'\\) not null,", "" }, new String[] { "(?i)constraint ifServices_pkey primary key \\(id\\),", "" } }); // No ifServiceId column addTableFromSQLWithReplacements("outages", new String[][] { new String[] { "(?i)ifServiceId\\s+INTEGER not null,", "" }, new String[] { "(?i),\\s+CONSTRAINT ifServices_fkey1 FOREIGN KEY \\(ifServiceId\\) REFERENCES ifServices \\(id\\) ON DELETE CASCADE", "" } }); executeSQL("INSERT INTO node (nodeId, nodeCreateTime) VALUES ( 1, now() )"); executeSQL("INSERT INTO snmpInterface (id, nodeId, ipAddr, snmpIfIndex) VALUES ( 1, 1, '1.2.3.4', 1 )"); executeSQL("INSERT INTO ipInterface (id, nodeId, ipAddr, ifIndex, snmpInterfaceId ) VALUES ( 1, 1, '1.2.3.4', 1, 1 )"); executeSQL("INSERT INTO service (serviceID, serviceName) VALUES ( 1, 'COFFEE-READY' )"); executeSQL("INSERT INTO ifServices (nodeID, ipAddr, ifIndex, serviceID, ipInterfaceId) VALUES ( 1, '1.2.3.4', 1, 1, 1)"); executeSQL("INSERT INTO outages (outageId, nodeId, ipAddr, ifLostService, serviceID ) " + "VALUES ( nextval('outageNxtId'), 1, '1.2.3.4', now(), 1 )"); m_installer.createTables(); Statement st = m_installer.m_dbconnection.createStatement(); ResultSet rs = st.executeQuery("SELECT id from ifServices"); int count = 0; for (int expected = 1; rs.next(); expected++) { assertEquals("ifServices id", expected, rs.getInt(1)); count++; } assertEquals("column count", 1, count); rs = st.executeQuery("SELECT ifServiceId from outages"); count = 0; for (int expected = 1; rs.next(); expected++) { assertEquals("outages ifServiceId", expected, rs.getInt(1)); count++; } assertEquals("expected column count", 1, count); }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/28ec8d0f53c305460681fe922d064c060141774d/InstallerDBTest.java/clean/opennms-install/src/test/java/org/opennms/install/InstallerDBTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1182, 1023, 15420, 2047, 29177, 1398, 10784, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 7734, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1728, 31, 277, 27245, 288, 5411, 1836, 3997, 2932, 4803, 1024, 1125, 2668, 3190, 82, 959, 50, 15239, 548, 8284, 8863, 3639, 289, 7734, 527, 1388, 1265, 3997, 2932, 4413, 5850, 749, 8863, 3639, 527, 1388, 1265, 3997, 2932, 2159, 8863, 3639, 527, 1388, 1265, 3997, 2932, 26527, 5831, 8863, 3639, 527, 1388, 1265, 3997, 2932, 625, 5831, 8863, 2868, 1748, 3639, 368, 2631, 1599, 1057, 3639, 527, 1388, 1265, 3997, 1190, 28440, 2932, 625, 5831, 3113, 394, 514, 63, 6362, 65, 288, 7734, 394, 514, 8526, 288, 315, 3680, 77, 13, 350, 1695, 87, 15, 7745, 805, 1024, 1125, 1695, 2668, 3190, 82, 959, 50, 15239, 548, 11, 1695, 13, 486, 446, 16, 3113, 1408, 19879, 7734, 394, 514, 8526, 288, 315, 3680, 77, 13, 13364, 2359, 5831, 67, 84, 856, 3354, 498, 1736, 12, 350, 1695, 3631, 3113, 1408, 289, 7734, 15549, 7734, 1195, 7734, 527, 1388, 1265, 3997, 2932, 5989, 8863, 7734, 527, 1388, 1265, 3997, 2932, 3278, 8863, 7734, 368, 2631, 1599, 1057, 3639, 527, 1388, 1265, 3997, 1190, 28440, 2932, 430, 8387, 3113, 394, 514, 63, 6362, 65, 288, 7734, 394, 514, 8526, 288, 315, 3680, 77, 13, 350, 1695, 87, 15, 7745, 805, 1024, 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, 1182, 1023, 15420, 2047, 29177, 1398, 10784, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 7734, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1728, 31, 277, 27245, 288, 5411, 1836, 3997, 2932, 4803, 1024, 1125, 2668, 3190, 82, 959, 50, 15239, 548, 8284, 8863, 3639, 289, 7734, 527, 1388, 1265, 3997, 2932, 4413, 5850, 749, 8863, 3639, 527, 1388, 1265, 3997, 2932, 2159, 8863, 3639, 527, 1388, 1265, 3997, 2932, 26527, 5831, 8863, 3639, 527, 1388, 1265, 3997, 2932, 625, 5831, 8863, 2868, 1748, 3639, 368, 2631, 1599, 1057, 3639, 527, 1388, 1265, 3997, 1190, 2 ]
if(lhs != null){ final String lhsText = lhs.getText(); if(iteratorName.equals(lhsText)){ iteratorAssigned = true; }
final String lhsText = lhs.getText(); if(iteratorName.equals(lhsText)){ iteratorAssigned = true;
public void visitAssignmentExpression(@NotNull PsiAssignmentExpression exp){ super.visitAssignmentExpression(exp); final PsiExpression lhs = exp.getLExpression(); if(lhs != null){ final String lhsText = lhs.getText(); if(iteratorName.equals(lhsText)){ iteratorAssigned = true; } } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/10dfc0821a579a6a0ff949a64d378572f57a4625/WhileCanBeForeachInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/jdk15/WhileCanBeForeachInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 7729, 2300, 26964, 5962, 453, 7722, 7729, 2300, 1329, 15329, 5411, 2240, 18, 11658, 7729, 2300, 12, 2749, 1769, 5411, 727, 453, 7722, 2300, 8499, 273, 1329, 18, 588, 48, 2300, 5621, 5411, 309, 12, 80, 4487, 480, 446, 15329, 7734, 727, 514, 8499, 1528, 273, 8499, 18, 588, 1528, 5621, 7734, 309, 12, 9838, 461, 18, 14963, 12, 80, 4487, 1528, 3719, 95, 10792, 2775, 20363, 273, 638, 31, 7734, 289, 5411, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 7729, 2300, 26964, 5962, 453, 7722, 7729, 2300, 1329, 15329, 5411, 2240, 18, 11658, 7729, 2300, 12, 2749, 1769, 5411, 727, 453, 7722, 2300, 8499, 273, 1329, 18, 588, 48, 2300, 5621, 5411, 309, 12, 80, 4487, 480, 446, 15329, 7734, 727, 514, 8499, 1528, 273, 8499, 18, 588, 1528, 5621, 7734, 309, 12, 9838, 461, 18, 14963, 12, 80, 4487, 1528, 3719, 95, 10792, 2775, 20363, 273, 638, 31, 7734, 289, 5411, 289, 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 ]
buffer.append((String) e.next());
buffer.append(e.next());
public String getPCCText() { final StringBuffer txt = new StringBuffer(200); txt.append(getDisplayName()); if (bonusInitialFeats != 0) { txt.append("\tBONUSFEATS:").append(bonusInitialFeats); } if (bonusSkillsPerLevel != 0) { txt.append("\tBONUSSKILLPOINTS:").append(bonusSkillsPerLevel); } if ((getChooseLanguageAutos() != null) && (getChooseLanguageAutos().length() > 0)) { txt.append("\tCHOOSE:LANGAUTO:").append(getChooseLanguageAutos()); } if (!CoreUtility.doublesEqual(getCost(), 1.0d)) { txt.append("\tCOST:").append(String.valueOf(getCost())); } if (ChallengeRating != 0) { txt.append("\tCR:").append(ChallengeRating); } if ((favoredClass != null) && (favoredClass.length() > 0)) { txt.append("\tFAVOREDCLASS:").append(favoredClass); } if (abilityCatStore != null && !abilityCatStore.isEmpty()) { txt.append("\tABILITY:"); txt.append(abilityCatStore.getParsableStringRepresentation()); } if (getListSize(featStrings) > 0) { final StringBuffer buffer = new StringBuffer(); for ( String feat : featStrings ) { if (buffer.length() != 0) { buffer.append('|'); } buffer.append(feat); } txt.append("\tFEAT:").append(buffer.toString()); } if (!Constants.s_NONE.equals(gender)) { txt.append("\tGENDERLOCK:").append(gender); } if (!Constants.s_NONE.equals(handed)) { txt.append("\tHANDEDLOCK:").append(handed); } if (getListSize(hitDiceStrings) > 0) { for (Iterator e = hitDiceStrings.iterator(); e.hasNext();) { txt.append("\tHD:").append((String) e.next()); } } if (!hitDieLock.equals("")) { txt.append("\tHITDIE:").append(hitDieLock); } if ((languageBonus != null) && !languageBonus.isEmpty()) { final StringBuffer buffer = new StringBuffer(); for (Iterator e = languageBonus.iterator(); e.hasNext();) { if (buffer.length() != 0) { buffer.append(','); } buffer.append((String) e.next()); } txt.append("\tLANGBONUS:").append(buffer.toString()); } if (getListSize(levelStrings) > 0) { for (Iterator e = levelStrings.iterator(); e.hasNext();) { txt.append("\tLEVEL:").append((String) e.next()); } } if (!"0".equals(levelAdjustment)) { txt.append("\tLEVELADJUSTMENT:").append(levelAdjustment); } if (levelsPerFeat != 3) { txt.append("\tLEVELSPERFEAT:").append(levelsPerFeat); } if (nonProficiencyPenalty <= 0) { txt.append("\tNONPP:").append(nonProficiencyPenalty); } if ((templateSize != null) && (templateSize.length() > 0)) { txt.append("\tSIZE:").append(templateSize); } if (!"alwaysValid".equals(getQualifyString())) { txt.append("\tQUALIFY:").append(getQualifyString()); } if (!Constants.s_NONE.equals(region)) { txt.append("\tREGION:"); if (region.equals(getDisplayName())) { txt.append("Yes"); } else { txt.append(region); } } if (!removable) { txt.append("\tREMOVABLE:No"); } if (!Constants.s_NONE.equals(subRace)) { txt.append("\tSUBRACE:"); if (subRace.equals(getDisplayName())) { txt.append("Yes"); } else { txt.append(subRace); } } if (!Constants.s_NONE.equals(subregion)) { txt.append("\tSUBREGION:"); if (subregion.equals(getDisplayName())) { txt.append("Yes"); } else { txt.append(subregion); } } if (getListSize(templates) > 0) { for (Iterator e = templates.iterator(); e.hasNext();) { txt.append("\tTEMPLATE:").append((String) e.next()); } } switch (templateVisible) { case PCTemplate.VISIBILITY_DISPLAY_ONLY: txt.append("\tVISIBLE:DISPLAY"); break; case PCTemplate.VISIBILITY_OUTPUT_ONLY: txt.append("\tVISIBLE:EXPORT"); break; case PCTemplate.VISIBILITY_HIDDEN: txt.append("\tVISIBLE:NO"); break; default: txt.append("\tVISIBLE:YES"); break; } if (getListSize(weaponProfBonus) > 0) { final StringBuffer buffer = new StringBuffer(); for (Iterator e = weaponProfBonus.iterator(); e.hasNext();) { if (buffer.length() != 0) { buffer.append('|'); } buffer.append((String) e.next()); } txt.append("\tWEAPONBONUS:").append(buffer.toString()); } txt.append(super.getPCCText(false)); return txt.toString(); }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/746f9fbe7d3bb98c609b2f38fbc5ffad4e685726/PCTemplate.java/buggy/code/src/java/pcgen/core/PCTemplate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1689, 39, 1268, 408, 1435, 202, 95, 202, 202, 6385, 6674, 6463, 273, 394, 6674, 12, 6976, 1769, 202, 202, 5830, 18, 6923, 12, 588, 20524, 10663, 202, 202, 430, 261, 18688, 407, 4435, 2954, 2323, 480, 374, 13, 202, 202, 95, 1082, 202, 5830, 18, 6923, 31458, 88, 38, 673, 3378, 8090, 17813, 2773, 2934, 6923, 12, 18688, 407, 4435, 2954, 2323, 1769, 202, 202, 97, 202, 202, 430, 261, 18688, 407, 20057, 2173, 2355, 480, 374, 13, 202, 202, 95, 1082, 202, 5830, 18, 6923, 31458, 88, 38, 673, 57, 1260, 47, 15125, 8941, 55, 2773, 2934, 6923, 12, 18688, 407, 20057, 2173, 2355, 1769, 202, 202, 97, 202, 202, 430, 14015, 588, 24529, 3779, 21023, 1435, 480, 446, 13, 597, 261, 588, 24529, 3779, 21023, 7675, 2469, 1435, 405, 374, 3719, 202, 202, 95, 1082, 202, 5830, 18, 6923, 31458, 88, 22213, 51, 1090, 30, 10571, 18909, 2773, 2934, 6923, 12, 588, 24529, 3779, 21023, 10663, 202, 202, 97, 202, 202, 430, 16051, 4670, 6497, 18, 2896, 19314, 5812, 12, 588, 8018, 9334, 404, 18, 20, 72, 3719, 202, 202, 95, 1082, 202, 5830, 18, 6923, 31458, 88, 28343, 2773, 2934, 6923, 12, 780, 18, 1132, 951, 12, 588, 8018, 1435, 10019, 202, 202, 97, 202, 202, 430, 261, 18359, 20388, 480, 374, 13, 202, 202, 95, 1082, 202, 5830, 18, 6923, 31458, 88, 5093, 2773, 2934, 6923, 12, 18359, 20388, 1769, 202, 202, 97, 202, 202, 430, 14015, 19731, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1689, 39, 1268, 408, 1435, 202, 95, 202, 202, 6385, 6674, 6463, 273, 394, 6674, 12, 6976, 1769, 202, 202, 5830, 18, 6923, 12, 588, 20524, 10663, 202, 202, 430, 261, 18688, 407, 4435, 2954, 2323, 480, 374, 13, 202, 202, 95, 1082, 202, 5830, 18, 6923, 31458, 88, 38, 673, 3378, 8090, 17813, 2773, 2934, 6923, 12, 18688, 407, 4435, 2954, 2323, 1769, 202, 202, 97, 202, 202, 430, 261, 18688, 407, 20057, 2173, 2355, 480, 374, 13, 202, 202, 95, 1082, 202, 5830, 18, 6923, 31458, 88, 38, 673, 57, 1260, 47, 15125, 8941, 55, 2773, 2934, 6923, 12, 18688, 407, 20057, 2173, 2355, 1769, 202, 202, 97, 202, 202, 430, 14015, 588, 2 ]
if (valtype == ValType.STRING) return strval; else if (valtype == ValType.CHUNK) return strval; else if (valtype == ValType.INT) return new Integer(intval); else if (valtype == ValType.FLOAT) return new Float(floatval); else if (valtype == ValType.BOOL) return new Boolean(boolval); else if (valtype == ValType.EMBEDDEDCHUNK) return embeddedchunkval; else throw (new VarValueException ("Error in get()")); }
if (valtype == ValType.STRING) return strval; else if (valtype == ValType.CHUNK) return strval; else if (valtype == ValType.INT) return new Integer(intval); else if (valtype == ValType.FLOAT) return new Float(floatval); else if (valtype == ValType.BOOL) return new Boolean(boolval); else if (valtype == ValType.EMBEDDEDCHUNK) return embeddedchunkval; else throw (new VarValueException ("Error in get()")); }
public Object get() { if (valtype == ValType.STRING) return strval; else if (valtype == ValType.CHUNK) return strval; else if (valtype == ValType.INT) return new Integer(intval); else if (valtype == ValType.FLOAT) return new Float(floatval); else if (valtype == ValType.BOOL) return new Boolean(boolval); else if (valtype == ValType.EMBEDDEDCHUNK) return embeddedchunkval; else throw (new VarValueException ("Error in get()")); }
49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/1bbd5261f9f2d5128949dae0228c35dd389f68eb/VarValue.java/buggy/modules/jackal/config/org/vrjuggler/jccl/config/VarValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 1435, 288, 202, 430, 261, 1125, 723, 422, 12747, 559, 18, 5804, 13, 202, 565, 327, 18143, 31, 202, 12107, 309, 261, 1125, 723, 422, 12747, 559, 18, 26464, 13, 202, 565, 327, 18143, 31, 202, 12107, 309, 261, 1125, 723, 422, 12747, 559, 18, 3217, 13, 202, 565, 327, 394, 2144, 12, 474, 1125, 1769, 202, 12107, 309, 261, 1125, 723, 422, 12747, 559, 18, 15640, 13, 202, 565, 327, 394, 5450, 12, 5659, 1125, 1769, 202, 12107, 309, 261, 1125, 723, 422, 12747, 559, 18, 19040, 13, 202, 565, 327, 394, 3411, 12, 6430, 1125, 1769, 202, 12107, 309, 261, 1125, 723, 422, 12747, 559, 18, 3375, 22235, 7660, 26464, 13, 202, 565, 327, 7488, 6551, 1125, 31, 202, 12107, 202, 565, 604, 261, 2704, 4562, 9738, 7566, 668, 316, 336, 1435, 7923, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 1033, 336, 1435, 288, 202, 430, 261, 1125, 723, 422, 12747, 559, 18, 5804, 13, 202, 565, 327, 18143, 31, 202, 12107, 309, 261, 1125, 723, 422, 12747, 559, 18, 26464, 13, 202, 565, 327, 18143, 31, 202, 12107, 309, 261, 1125, 723, 422, 12747, 559, 18, 3217, 13, 202, 565, 327, 394, 2144, 12, 474, 1125, 1769, 202, 12107, 309, 261, 1125, 723, 422, 12747, 559, 18, 15640, 13, 202, 565, 327, 394, 5450, 12, 5659, 1125, 1769, 202, 12107, 309, 261, 1125, 723, 422, 12747, 559, 18, 19040, 13, 202, 565, 327, 394, 3411, 12, 6430, 1125, 1769, 202, 12107, 309, 261, 1125, 723, 422, 12747, 559, 18, 3375, 22235, 7660, 26464, 13, 202, 565, 2 ]
org.apache.commons.logging.LogFactory.getLog(this.getClass()).info("Starting " + f.getName());
org.apache.commons.logging.LogFactory.getLog( this.getClass()).info("Starting " + f.getName());
private static void addTestCase(TestSuite suite, final LayoutEngineTester tester, final File f) { suite.addTest(new LayoutEngineTestCase(f.getName()) { public void runTest() throws Exception { org.apache.commons.logging.LogFactory.getLog(this.getClass()).info("Starting " + f.getName()); prepare(tester, f); testMain(); } }); }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/451c0eb73a2a0f5e4e3191ab4c46dcacb4ed8388/LayoutEngineTestSuite.java/clean/test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 527, 4709, 2449, 12, 4709, 13587, 11371, 16, 1171, 727, 9995, 4410, 56, 7654, 268, 7654, 16, 727, 1387, 284, 13, 288, 3639, 11371, 18, 1289, 4709, 12, 2704, 9995, 4410, 4709, 2449, 12, 74, 18, 17994, 10756, 288, 5411, 1071, 918, 1086, 4709, 1435, 1216, 1185, 288, 7734, 2358, 18, 19211, 18, 6054, 87, 18, 11167, 18, 1343, 1733, 18, 588, 1343, 12, 333, 18, 588, 797, 1435, 2934, 1376, 2932, 11715, 315, 397, 284, 18, 17994, 10663, 7734, 2911, 12, 1078, 387, 16, 284, 1769, 7734, 1842, 6376, 5621, 5411, 289, 3639, 15549, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 527, 4709, 2449, 12, 4709, 13587, 11371, 16, 1171, 727, 9995, 4410, 56, 7654, 268, 7654, 16, 727, 1387, 284, 13, 288, 3639, 11371, 18, 1289, 4709, 12, 2704, 9995, 4410, 4709, 2449, 12, 74, 18, 17994, 10756, 288, 5411, 1071, 918, 1086, 4709, 1435, 1216, 1185, 288, 7734, 2358, 18, 19211, 18, 6054, 87, 18, 11167, 18, 1343, 1733, 18, 588, 1343, 12, 333, 18, 588, 797, 1435, 2934, 1376, 2932, 11715, 315, 397, 284, 18, 17994, 10663, 7734, 2911, 12, 1078, 387, 16, 284, 1769, 7734, 1842, 6376, 5621, 5411, 289, 3639, 15549, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
channel.close();
if (channel != null) channel.close();
public void close() throws IOException { channel.close(); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/e90cfb321efdaad7f6cf723d38ed886d6dbaf609/PixelBuffer.java/clean/components/romio/src/ome/io/nio/PixelBuffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1746, 1435, 1216, 1860, 565, 288, 377, 202, 430, 261, 4327, 480, 446, 13, 1904, 18, 4412, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1746, 1435, 1216, 1860, 565, 288, 377, 202, 430, 261, 4327, 480, 446, 13, 1904, 18, 4412, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(hasAnyAssociatedSummaries()) {
if (hasAnyAssociatedSummaries()) {
public void delete() { if (getShift().hasAnyAssociatedStudentGroups()) { throw new DomainException("error.deleteLesson.with.Shift.with.studentGroups", prettyPrint()); } if (getShift().hasAnyStudents()) { throw new DomainException("error.deleteLesson.with.Shift.with.students", prettyPrint()); } if(hasAnyAssociatedSummaries()) { throw new DomainException("error.deleteLesson.with.summaries", prettyPrint()); } removeExecutionPeriod(); removeSala(); removeShift(); getRoomOccupation().delete(); removeRootDomainObject(); deleteDomainObject(); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/49f0332b7204a2c99d502df21ad1d0199743f3cd/Lesson.java/buggy/src/net/sourceforge/fenixedu/domain/Lesson.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1430, 1435, 288, 202, 430, 261, 588, 10544, 7675, 5332, 2961, 19233, 19943, 319, 3621, 10756, 288, 202, 565, 604, 394, 24569, 2932, 1636, 18, 3733, 15313, 265, 18, 1918, 18, 10544, 18, 1918, 18, 26240, 3621, 3113, 30410, 10663, 202, 97, 202, 430, 261, 588, 10544, 7675, 5332, 2961, 19943, 4877, 10756, 288, 202, 565, 604, 394, 24569, 2932, 1636, 18, 3733, 15313, 265, 18, 1918, 18, 10544, 18, 1918, 18, 16120, 4877, 3113, 30410, 10663, 202, 97, 202, 202, 430, 12, 5332, 2961, 19233, 15944, 10756, 288, 202, 565, 604, 394, 24569, 2932, 1636, 18, 3733, 15313, 265, 18, 1918, 18, 1364, 11645, 3113, 30410, 10663, 202, 97, 202, 4479, 3210, 5027, 5621, 202, 4479, 55, 287, 69, 5621, 202, 4479, 10544, 5621, 202, 588, 13646, 24269, 416, 367, 7675, 3733, 5621, 202, 4479, 2375, 3748, 921, 5621, 202, 3733, 3748, 921, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 1430, 1435, 288, 202, 430, 261, 588, 10544, 7675, 5332, 2961, 19233, 19943, 319, 3621, 10756, 288, 202, 565, 604, 394, 24569, 2932, 1636, 18, 3733, 15313, 265, 18, 1918, 18, 10544, 18, 1918, 18, 26240, 3621, 3113, 30410, 10663, 202, 97, 202, 430, 261, 588, 10544, 7675, 5332, 2961, 19943, 4877, 10756, 288, 202, 565, 604, 394, 24569, 2932, 1636, 18, 3733, 15313, 265, 18, 1918, 18, 10544, 18, 1918, 18, 16120, 4877, 3113, 30410, 10663, 202, 97, 202, 202, 430, 12, 5332, 2961, 19233, 15944, 10756, 288, 202, 565, 604, 394, 24569, 2932, 1636, 18, 3733, 15313, 265, 18, 1918, 18, 1364, 11645, 3113, 30410, 10663, 202, 97, 202, 4479, 3210, 5027, 5621, 202, 2 ]
Rectangle cbBounds = comboBox.getBounds();
Dimension size = comboBox.getSize(); size.height = getPopupHeightForRowCount(comboBox.getMaximumRowCount()); Insets i = getInsets(); size.width -= i.left + i.right; Rectangle bounds = computePopupBounds(0, comboBox.getBounds().height, size.width, size.height);
public void show() { Rectangle cbBounds = comboBox.getBounds(); // popup should have same width as the comboBox and should be hight anough // to display number of rows equal to 'maximumRowCount' property int popupHeight = getPopupHeightForRowCount(comboBox.getMaximumRowCount()); scroller.setPreferredSize(new Dimension(cbBounds.width, popupHeight)); pack(); // Highlight selected item in the combo box's drop down list if (comboBox.getSelectedIndex() != -1) list.setSelectedIndex(comboBox.getSelectedIndex()); //scroll scrollbar s.t. selected item is visible JScrollBar scrollbar = scroller.getVerticalScrollBar(); int selectedIndex = comboBox.getSelectedIndex(); if (selectedIndex > comboBox.getMaximumRowCount()) scrollbar.setValue(getPopupHeightForRowCount(selectedIndex)); // location specified is relative to comboBox super.show(comboBox, 0, cbBounds.height); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/7cc107e01ff95c250142dda3e246542e1b0c0794/BasicComboPopup.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboPopup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2405, 1435, 225, 288, 565, 13037, 963, 273, 16778, 3514, 18, 588, 1225, 5621, 963, 18, 4210, 273, 1689, 556, 416, 2686, 1290, 26359, 12, 25053, 3514, 18, 588, 13528, 26359, 10663, 22300, 277, 273, 7854, 4424, 5621, 963, 18, 2819, 3947, 277, 18, 4482, 397, 277, 18, 4083, 31, 13264, 4972, 273, 3671, 13770, 5694, 12, 20, 16, 16778, 3514, 18, 588, 5694, 7675, 4210, 16, 963, 18, 2819, 16, 963, 18, 4210, 1769, 565, 368, 10431, 1410, 1240, 1967, 1835, 487, 326, 16778, 3514, 471, 1410, 506, 366, 750, 392, 4966, 565, 368, 358, 2562, 1300, 434, 2595, 3959, 358, 296, 15724, 26359, 11, 1272, 565, 509, 10431, 2686, 273, 1689, 556, 416, 2686, 1290, 26359, 12, 25053, 3514, 18, 588, 13528, 26359, 10663, 565, 888, 1539, 18, 542, 16028, 1225, 12, 2704, 13037, 12, 7358, 5694, 18, 2819, 16, 10431, 2686, 10019, 565, 2298, 5621, 565, 368, 31386, 3170, 761, 316, 326, 16778, 3919, 1807, 3640, 2588, 666, 565, 309, 261, 25053, 3514, 18, 588, 7416, 1016, 1435, 480, 300, 21, 13, 1377, 666, 18, 542, 7416, 1016, 12, 25053, 3514, 18, 588, 7416, 1016, 10663, 565, 368, 12033, 27123, 272, 18, 88, 18, 3170, 761, 353, 6021, 565, 804, 6806, 5190, 27123, 273, 888, 1539, 18, 588, 15704, 6806, 5190, 5621, 565, 509, 29244, 273, 16778, 3514, 18, 588, 7416, 1016, 5621, 565, 309, 261, 8109, 1016, 405, 16778, 3514, 18, 588, 13528, 26359, 10756, 1377, 27123, 18, 542, 620, 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, 2405, 1435, 225, 288, 565, 13037, 963, 273, 16778, 3514, 18, 588, 1225, 5621, 963, 18, 4210, 273, 1689, 556, 416, 2686, 1290, 26359, 12, 25053, 3514, 18, 588, 13528, 26359, 10663, 22300, 277, 273, 7854, 4424, 5621, 963, 18, 2819, 3947, 277, 18, 4482, 397, 277, 18, 4083, 31, 13264, 4972, 273, 3671, 13770, 5694, 12, 20, 16, 16778, 3514, 18, 588, 5694, 7675, 4210, 16, 963, 18, 2819, 16, 963, 18, 4210, 1769, 565, 368, 10431, 1410, 1240, 1967, 1835, 487, 326, 16778, 3514, 471, 1410, 506, 366, 750, 392, 4966, 565, 368, 358, 2562, 1300, 434, 2595, 3959, 358, 296, 15724, 26359, 11, 1272, 565, 509, 10431, 2686, 273, 1689, 556, 416, 2686, 2 ]
parameterTypes = addType(world.makeBcelType(targetType), parameterTypes);
parameterTypes = addType(BcelWorld.makeBcelType(targetType), parameterTypes);
private LazyMethodGen createMethodGen(String newMethodName) { Type[] parameterTypes = world.makeBcelTypes(getArgTypes()); int modifiers = Modifier.FINAL; // XXX some bug// if (! isExpressionKind() && getSignature().isStrict(world)) {// modifiers |= Modifier.STRICT;// } modifiers |= Modifier.STATIC; if (targetVar != null && targetVar != thisVar) { TypeX targetType = getTargetType(); ResolvedMember resolvedMember = getSignature().resolve(world); if (resolvedMember != null && Modifier.isProtected(resolvedMember.getModifiers()) && !samePackage(targetType.getPackageName(), getEnclosingType().getPackageName())) { if (!targetType.isAssignableFrom(getThisType(), world)) { throw new BCException("bad bytecode"); } targetType = getThisType(); } parameterTypes = addType(world.makeBcelType(targetType), parameterTypes); } if (thisVar != null) { TypeX thisType = getThisType(); parameterTypes = addType(world.makeBcelType(thisType), parameterTypes); } // We always want to pass down thisJoinPoint in case we have already woven // some advice in here. If we only have a single piece of around advice on a // join point, it is unnecessary to accept (and pass) tjp. if (thisJoinPointVar != null) { parameterTypes = addTypeToEnd(LazyClassGen.tjpType, parameterTypes); } TypeX returnType; if (getKind() == PreInitialization) { returnType = TypeX.OBJECTARRAY; } else { returnType = getReturnType(); } return new LazyMethodGen( modifiers, world.makeBcelType(returnType), newMethodName, parameterTypes, new String[0], // XXX again, we need to look up methods!// TypeX.getNames(getSignature().getExceptions(world)), getEnclosingClass()); }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/fde423ac335eb547834bb6f1b0ec51ddfac51cd6/BcelShadow.java/clean/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 12805, 1305, 7642, 752, 1305, 7642, 12, 780, 394, 11666, 13, 288, 3639, 1412, 8526, 20173, 273, 9117, 18, 6540, 38, 2183, 2016, 12, 588, 4117, 2016, 10663, 540, 509, 10429, 273, 12832, 18, 7263, 1013, 31, 3639, 368, 11329, 2690, 7934, 759, 3639, 309, 16051, 353, 2300, 5677, 1435, 597, 20104, 7675, 291, 14809, 12, 18179, 3719, 288, 759, 5411, 10429, 5626, 12832, 18, 30776, 31, 759, 3639, 289, 3639, 10429, 5626, 12832, 18, 22741, 31, 3639, 309, 261, 3299, 1537, 480, 446, 597, 1018, 1537, 480, 333, 1537, 13, 288, 5411, 1412, 60, 16065, 273, 8571, 559, 5621, 5411, 22776, 4419, 4640, 4419, 273, 20104, 7675, 10828, 12, 18179, 1769, 5411, 309, 261, 11792, 4419, 480, 446, 597, 12832, 18, 291, 15933, 12, 11792, 4419, 18, 588, 11948, 10756, 597, 2868, 202, 5, 14307, 2261, 12, 3299, 559, 18, 588, 18308, 9334, 336, 21594, 559, 7675, 588, 18308, 1435, 3719, 5411, 288, 2398, 202, 430, 16051, 3299, 559, 18, 291, 7961, 1265, 12, 588, 2503, 559, 9334, 9117, 3719, 288, 2398, 202, 202, 12849, 394, 21225, 503, 2932, 8759, 22801, 8863, 2398, 202, 97, 2398, 202, 3299, 559, 273, 336, 2503, 559, 5621, 5411, 289, 5411, 20173, 273, 29337, 12, 38, 2183, 18071, 18, 6540, 38, 2183, 559, 12, 3299, 559, 3631, 20173, 1769, 3639, 289, 3639, 309, 261, 2211, 1537, 480, 446, 13, 288, 540, 202, 559, 60, 333, 559, 273, 336, 2503, 559, 5621, 540, 202, 6775, 2016, 273, 29337, 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, 3238, 12805, 1305, 7642, 752, 1305, 7642, 12, 780, 394, 11666, 13, 288, 3639, 1412, 8526, 20173, 273, 9117, 18, 6540, 38, 2183, 2016, 12, 588, 4117, 2016, 10663, 540, 509, 10429, 273, 12832, 18, 7263, 1013, 31, 3639, 368, 11329, 2690, 7934, 759, 3639, 309, 16051, 353, 2300, 5677, 1435, 597, 20104, 7675, 291, 14809, 12, 18179, 3719, 288, 759, 5411, 10429, 5626, 12832, 18, 30776, 31, 759, 3639, 289, 3639, 10429, 5626, 12832, 18, 22741, 31, 3639, 309, 261, 3299, 1537, 480, 446, 597, 1018, 1537, 480, 333, 1537, 13, 288, 5411, 1412, 60, 16065, 273, 8571, 559, 5621, 5411, 22776, 4419, 4640, 4419, 273, 20104, 7675, 10828, 12, 18179, 1769, 5411, 309, 261, 11792, 4419, 2 ]
public org.quickfix.field.SecurityID getSecurityID() throws FieldNotFound { org.quickfix.field.SecurityID value = new org.quickfix.field.SecurityID();
public quickfix.field.SecurityID getSecurityID() throws FieldNotFound { quickfix.field.SecurityID value = new quickfix.field.SecurityID();
public org.quickfix.field.SecurityID getSecurityID() throws FieldNotFound { org.quickfix.field.SecurityID value = new org.quickfix.field.SecurityID(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderMassCancelRequest.java/clean/src/java/src/quickfix/fix44/OrderMassCancelRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 19288, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 19288, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String[] elements = {"C","H","N","O","S","P","F","Cl","Br","I"}; String elementFormula = ElementFormula.getElementFormula(mol, elements); System.out.println(elementFormula); System.out.println(elementFormula.substring(elementFormula.indexOf("C") + 1, elementFormula.indexOf("H")));
public void writeMolecule(Molecule mol) throws UnsupportedChemObjectException { PreparedStatement ps; //The Molecule is turned into a CML string writer = new StringWriter(); cmlw = new CMLWriter(writer); cmlw.write(mol); String moleculeString = writer.toString(); try { con.setAutoCommit(false); ps = con.prepareStatement("INSERT INTO molecules VALUES(?,?,?,?)"); ps.setString(1, mol.getAutonomName()); ps.setString(2, mol.getCasRN()); ps.setString(3, mol.getBeilsteinRN()); ps.setBytes(4, moleculeString.getBytes()); ps.executeUpdate(); ps.close(); con.commit(); con.setAutoCommit(true); } catch(Exception exc) { System.out.println("Error while trying to add molecule to table"); exc.printStackTrace(); } // // for (int i = 0; i < mol.getChemNames().size(); i++)// {// try// {// ps = con.prepareStatement("INSERT INTO chemnames VALUES(?,?)");// ps.setBytes(1, moleculeString.getBytes());// ps.setString(2, mol.getChemName(i));// ps.execute();// ps.close();// }// catch(Exception exc)// {// System.out.println("Error while trying to add molecule to table");// System.out.println(exc); // }// } }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/abf88d6929f8c6e1c7b8230322beb4c11337997e/DBWriter.java/buggy/org/openscience/cdk/database/DBWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 514, 8526, 2186, 273, 12528, 39, 15937, 44, 15937, 50, 15937, 51, 15937, 55, 15937, 52, 15937, 42, 15937, 2009, 15937, 19114, 15937, 45, 6, 20451, 514, 930, 14972, 273, 3010, 14972, 18, 21336, 14972, 12, 21260, 16, 2186, 1769, 2332, 18, 659, 18, 8222, 12, 2956, 14972, 1769, 2332, 18, 659, 18, 8222, 12, 2956, 14972, 18, 28023, 12, 2956, 14972, 18, 31806, 2932, 39, 7923, 397, 404, 16, 930, 14972, 18, 31806, 2932, 44, 6, 3719, 1769, 225, 514, 8526, 2186, 273, 12528, 39, 15937, 44, 15937, 50, 15937, 51, 15937, 55, 15937, 52, 15937, 42, 15937, 2009, 15937, 19114, 15937, 45, 6, 20451, 514, 930, 14972, 273, 3010, 14972, 18, 21336, 14972, 12, 21260, 16, 2186, 1769, 2332, 18, 659, 18, 8222, 12, 2956, 14972, 1769, 2332, 18, 659, 18, 8222, 12, 2956, 14972, 18, 28023, 12, 2956, 14972, 18, 31806, 2932, 39, 7923, 397, 404, 16, 930, 14972, 18, 31806, 2932, 44, 6, 3719, 1769, 225, 514, 8526, 2186, 273, 12528, 39, 15937, 44, 15937, 50, 15937, 51, 15937, 55, 15937, 52, 15937, 42, 15937, 2009, 15937, 19114, 15937, 45, 6, 20451, 514, 930, 14972, 273, 3010, 14972, 18, 21336, 14972, 12, 21260, 16, 2186, 1769, 2332, 18, 659, 18, 8222, 12, 2956, 14972, 1769, 2332, 18, 659, 18, 8222, 12, 2956, 14972, 18, 28023, 12, 2956, 14972, 18, 31806, 2932, 39, 7923, 397, 404, 16, 930, 14972, 18, 31806, 2932, 44, 6, 3719, 1769, 225, 514, 8526, 2186, 273, 12528, 39, 15937, 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, 514, 8526, 2186, 273, 12528, 39, 15937, 44, 15937, 50, 15937, 51, 15937, 55, 15937, 52, 15937, 42, 15937, 2009, 15937, 19114, 15937, 45, 6, 20451, 514, 930, 14972, 273, 3010, 14972, 18, 21336, 14972, 12, 21260, 16, 2186, 1769, 2332, 18, 659, 18, 8222, 12, 2956, 14972, 1769, 2332, 18, 659, 18, 8222, 12, 2956, 14972, 18, 28023, 12, 2956, 14972, 18, 31806, 2932, 39, 7923, 397, 404, 16, 930, 14972, 18, 31806, 2932, 44, 6, 3719, 1769, 225, 514, 8526, 2186, 273, 12528, 39, 15937, 44, 15937, 50, 15937, 51, 15937, 55, 15937, 52, 15937, 42, 15937, 2009, 15937, 19114, 15937, 45, 6, 20451, 514, 930, 14972, 273, 3010, 14972, 18, 21336, 14972, 12, 21260, 16, 2186, 2 ]
ImageDescriptor imageDescriptor1 = getImageDescriptor(anythingImage); ImageDescriptor imageDescriptor2 = getImageDescriptor(anythingImage);
ImageDescriptor imageDescriptor1 = getImageDescriptor(anythingImage); ImageDescriptor imageDescriptor2 = getImageDescriptor(anythingImage);
public void testGetImageForEquivalentDescriptor() { ImageDescriptor imageDescriptor1 = getImageDescriptor(anythingImage); ImageDescriptor imageDescriptor2 = getImageDescriptor(anythingImage); Image image1 = imageCache.getImage(imageDescriptor1); Image image2 = imageCache.getImage(imageDescriptor2); assertSame(image1, image2); image1 = imageCache.getImage(imageDescriptor1, ImageCache.GRAY); image2 = imageCache.getImage(imageDescriptor1, ImageCache.GRAY); assertSame(image1, image2); image1 = imageCache.getImage(imageDescriptor1, ImageCache.DISABLE); image2 = imageCache.getImage(imageDescriptor1, ImageCache.DISABLE); assertSame(image1, image2); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/29b2d91fd71fd83825139b8ea8c3624baddb1605/ImageCacheTest.java/buggy/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/images/ImageCacheTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 2040, 1290, 22606, 3187, 1435, 288, 3639, 3421, 3187, 1316, 3187, 21, 273, 10567, 3187, 12, 2273, 4274, 2040, 1769, 3639, 3421, 3187, 1316, 3187, 22, 273, 10567, 3187, 12, 2273, 4274, 2040, 1769, 3639, 3421, 1316, 21, 273, 1316, 1649, 18, 588, 2040, 12, 2730, 3187, 21, 1769, 3639, 3421, 1316, 22, 273, 1316, 1649, 18, 588, 2040, 12, 2730, 3187, 22, 1769, 3639, 1815, 8650, 12, 2730, 21, 16, 1316, 22, 1769, 3639, 1316, 21, 273, 1316, 1649, 18, 588, 2040, 12, 2730, 3187, 21, 16, 3421, 1649, 18, 43, 6722, 1769, 3639, 1316, 22, 273, 1316, 1649, 18, 588, 2040, 12, 2730, 3187, 21, 16, 3421, 1649, 18, 43, 6722, 1769, 3639, 1815, 8650, 12, 2730, 21, 16, 1316, 22, 1769, 3639, 1316, 21, 273, 1316, 1649, 18, 588, 2040, 12, 2730, 3187, 21, 16, 3421, 1649, 18, 13498, 2782, 1769, 3639, 1316, 22, 273, 1316, 1649, 18, 588, 2040, 12, 2730, 3187, 21, 16, 3421, 1649, 18, 13498, 2782, 1769, 3639, 1815, 8650, 12, 2730, 21, 16, 1316, 22, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 2040, 1290, 22606, 3187, 1435, 288, 3639, 3421, 3187, 1316, 3187, 21, 273, 10567, 3187, 12, 2273, 4274, 2040, 1769, 3639, 3421, 3187, 1316, 3187, 22, 273, 10567, 3187, 12, 2273, 4274, 2040, 1769, 3639, 3421, 1316, 21, 273, 1316, 1649, 18, 588, 2040, 12, 2730, 3187, 21, 1769, 3639, 3421, 1316, 22, 273, 1316, 1649, 18, 588, 2040, 12, 2730, 3187, 22, 1769, 3639, 1815, 8650, 12, 2730, 21, 16, 1316, 22, 1769, 3639, 1316, 21, 273, 1316, 1649, 18, 588, 2040, 12, 2730, 3187, 21, 16, 3421, 1649, 18, 43, 6722, 1769, 3639, 1316, 22, 273, 1316, 1649, 18, 588, 2040, 12, 2730, 3187, 21, 16, 3421, 1649, 18, 43, 6722, 1769, 2 ]
super(adapterFactory); }
super(adapterFactory); }
public DescriptionStyleItemProvider(AdapterFactory adapterFactory) { super(adapterFactory); }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/1d1e28c0f7853dd16bd3fe819770773ed4e61d20/DescriptionStyleItemProvider.java/buggy/org.eclipse.gmf.notation/plugins/org.eclipse.gmf.runtime.notation.edit/src/org/eclipse/gmf/runtime/notation/provider/DescriptionStyleItemProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6507, 2885, 1180, 2249, 12, 4216, 1733, 4516, 1733, 13, 288, 202, 202, 9565, 12, 10204, 1733, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6507, 2885, 1180, 2249, 12, 4216, 1733, 4516, 1733, 13, 288, 202, 202, 9565, 12, 10204, 1733, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
source.append((char)ts.OR); pn = nf.createBinary(ts.OR, pn, orExpr(ts, source, inForInit));
sourceAdd((char)ts.OR); pn = nf.createBinary(ts.OR, pn, orExpr(ts, inForInit));
private Object orExpr(TokenStream ts, Source source, boolean inForInit) throws IOException, JavaScriptException { Object pn = andExpr(ts, source, inForInit); if (ts.matchToken(ts.OR)) { source.append((char)ts.OR); pn = nf.createBinary(ts.OR, pn, orExpr(ts, source, inForInit)); } return pn; }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/3d2e81a014b22cf4d1eb8921bd4229c2ca7ff017/Parser.java/clean/js/rhino/src/org/mozilla/javascript/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 578, 4742, 12, 1345, 1228, 3742, 16, 4998, 1084, 16, 1250, 316, 1290, 2570, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 471, 4742, 12, 3428, 16, 1084, 16, 316, 1290, 2570, 1769, 3639, 309, 261, 3428, 18, 1916, 1345, 12, 3428, 18, 916, 3719, 288, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 916, 1769, 5411, 11059, 273, 13958, 18, 2640, 5905, 12, 3428, 18, 916, 16, 11059, 16, 578, 4742, 12, 3428, 16, 1084, 16, 316, 1290, 2570, 10019, 3639, 289, 3639, 327, 11059, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 578, 4742, 12, 1345, 1228, 3742, 16, 4998, 1084, 16, 1250, 316, 1290, 2570, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 471, 4742, 12, 3428, 16, 1084, 16, 316, 1290, 2570, 1769, 3639, 309, 261, 3428, 18, 1916, 1345, 12, 3428, 18, 916, 3719, 288, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 916, 1769, 5411, 11059, 273, 13958, 18, 2640, 5905, 12, 3428, 18, 916, 16, 11059, 16, 578, 4742, 12, 3428, 16, 1084, 16, 316, 1290, 2570, 10019, 3639, 289, 3639, 327, 11059, 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 ]
matchCh = (char)program[pc++];
matchCh = (char)(program[pc++] & 0xFF);
executeREBytecode(REGlobalData gData, REMatchState x) { int pc = 0; byte program[] = gData.regexp.program; byte op = program[pc++]; REContinuationData currentContinuation = new REContinuationData(); REMatchState result = null; REBackTrackData backTrackData; int k, length, offset, parenIndex, parenCount, index; boolean anchor = false; char anchorCh = (char)0; char matchCh; int nextpc; char[] source; byte nextop; RECapture cap; REProgState curState; source = gData.regexp.source; currentContinuation.pc = 0; currentContinuation.op = REOP_END;if (debug) {System.out.println("Input = \"" + new String(gData.cpbegin) + "\", start at " + x.cp);} /* * If the first node is a literal match, step the index into * the string until that match is made, or fail if it can't be * found at all. */ switch (op) { case REOP_UCFLAT1: case REOP_UCFLAT1i: anchorCh = (char)GET_ARG(pc); anchor = true; break; case REOP_FLAT1: case REOP_FLAT1i: anchorCh = (char)program[pc]; anchor = true; break; case REOP_FLAT: case REOP_FLATi: k = GET_ARG(pc); anchorCh = source[k]; anchor = true; break; default: break; } if (anchor) {if (debug) {System.out.println("Anchor ch = '" + anchorCh + "'");} anchor = false; while (x.cp < gData.cpend) { matchCh = gData.cpbegin[x.cp]; if ((matchCh == anchorCh) || (((gData.regexp.flags & JSREG_FOLD) != 0) && (canonicalize(matchCh) == canonicalize(anchorCh)))) { anchor = true; break; } else { gData.skipped++; x.cp++; } } if (!anchor) return null; } while (true) {if (debug) {System.out.println("Testing at " + x.cp + ", op = " + op);} switch (op) { case REOP_EMPTY: result = x; break; case REOP_BOL: if (x.cp != 0) { RegExpImpl reImpl = getImpl(gData.cx); if (reImpl.multiline || ((gData.regexp.flags & JSREG_MULTILINE) != 0)) { if (!isLineTerm(gData.cpbegin[x.cp - 1])) { result = null; break; } } else { result = null; break; } } result = x; break; case REOP_EOL: if (x.cp != gData.cpend) { RegExpImpl reImpl = getImpl(gData.cx); if (reImpl.multiline || ((gData.regexp.flags & JSREG_MULTILINE) != 0)) { if (!isLineTerm(gData.cpbegin[x.cp])) { result = null; break; } } else { result = null; break; } } result = x; break; case REOP_WBDRY: if ((x.cp == 0 || !isWord(gData.cpbegin[x.cp - 1])) ^ !((x.cp < gData.cpend) && isWord(gData.cpbegin[x.cp]))) result = x; else result = null; break; case REOP_WNONBDRY: if ((x.cp == 0 || !isWord(gData.cpbegin[x.cp - 1])) ^ ((x.cp < gData.cpend) && isWord(gData.cpbegin[x.cp]))) result = x; else result = null; break; case REOP_DOT: if (x.cp != gData.cpend && !isLineTerm(gData.cpbegin[x.cp])) { result = x; result.cp++; } else result = null; break; case REOP_DIGIT: if (x.cp != gData.cpend && isDigit(gData.cpbegin[x.cp])) { result = x; result.cp++; } else result = null; break; case REOP_NONDIGIT: if (x.cp != gData.cpend && !isDigit(gData.cpbegin[x.cp])) { result = x; result.cp++; } else result = null; break; case REOP_SPACE: if (x.cp != gData.cpend && Character.isWhitespace(gData.cpbegin[x.cp])) { result = x; result.cp++; } else result = null; break; case REOP_NONSPACE: if (x.cp != gData.cpend && !Character.isWhitespace(gData.cpbegin[x.cp])) { result = x; result.cp++; } else result = null; break; case REOP_ALNUM: if (x.cp != gData.cpend && isWord(gData.cpbegin[x.cp])) { result = x; result.cp++; } else result = null; break; case REOP_NONALNUM: if (x.cp != gData.cpend && !isWord(gData.cpbegin[x.cp])) { result = x; result.cp++; } else result = null; break; case REOP_FLAT: offset = GET_ARG(pc); pc += ARG_LEN; length = GET_ARG(pc); pc += ARG_LEN; result = flatNMatcher(gData, x, offset, length); break; case REOP_FLATi: offset = GET_ARG(pc); pc += ARG_LEN; length = GET_ARG(pc); pc += ARG_LEN; result = flatNIMatcher(gData, x, offset, length); break; case REOP_FLAT1: matchCh = (char)program[pc++]; result = flatMatcher(gData, x, matchCh); break; case REOP_FLAT1i: matchCh = (char)program[pc++]; result = flatIMatcher(gData, x, matchCh); break; case REOP_UCFLAT1: matchCh = (char)GET_ARG(pc); pc += ARG_LEN; result = flatMatcher(gData, x, matchCh); break; case REOP_UCFLAT1i: matchCh = (char)GET_ARG(pc); pc += ARG_LEN; result = flatIMatcher(gData, x, matchCh); break; case REOP_ALT: nextpc = pc + GET_OFFSET(pc); nextop = program[nextpc++]; gData.stateStack[gData.stateStackTop].continuation.pc = currentContinuation.pc; gData.stateStack[gData.stateStackTop].continuation.op = currentContinuation.op; ++gData.stateStackTop; pushBackTrackState(gData, nextop, nextpc, x); pc += ARG_LEN; op = program[pc++]; continue; case REOP_JUMP: --gData.stateStackTop; currentContinuation.pc = gData.stateStack[gData.stateStackTop].continuation.pc; currentContinuation.op = gData.stateStack[gData.stateStackTop].continuation.op; offset = GET_OFFSET(pc); pc += offset; op = program[pc++]; continue; case REOP_LPAREN: parenIndex = GET_ARG(pc); pc += ARG_LEN; x.parens[parenIndex].index = x.cp; x.parens[parenIndex].length = 0; op = program[pc++]; continue; case REOP_RPAREN: parenIndex = GET_ARG(pc); pc += ARG_LEN; cap = x.parens[parenIndex]; cap.length = x.cp - cap.index; if (parenIndex > gData.lastParen) gData.lastParen = parenIndex; op = program[pc++]; continue; case REOP_BACKREF: parenIndex = GET_ARG(pc); pc += ARG_LEN; result = backrefMatcher(gData, x, parenIndex); break; case REOP_ASSERT: curState = gData.stateStack[gData.stateStackTop]; curState.continuation.pc = currentContinuation.pc; curState.continuation.op = currentContinuation.op; curState.max = gData.backTrackStackTop; curState.index = x.cp; ++gData.stateStackTop; pushBackTrackState(gData, REOP_ASSERTTEST, pc + GET_OFFSET(pc), x); pc += ARG_LEN; op = program[pc++]; continue; case REOP_ASSERT_NOT: curState = gData.stateStack[gData.stateStackTop]; curState.continuation.pc = currentContinuation.pc; curState.continuation.op = currentContinuation.op; curState.max = gData.backTrackStackTop; curState.index = x.cp; ++gData.stateStackTop; pushBackTrackState(gData, REOP_ASSERTNOTTEST, pc + GET_OFFSET(pc), x); pc += ARG_LEN; op = program[pc++]; continue; case REOP_ASSERTTEST: --gData.stateStackTop; curState = gData.stateStack[gData.stateStackTop]; x.cp = curState.index; gData.backTrackStackTop = curState.max; currentContinuation.pc = curState.continuation.pc; currentContinuation.op = curState.continuation.op; if (result != null) result = x; break; case REOP_ASSERTNOTTEST: --gData.stateStackTop; curState = gData.stateStack[gData.stateStackTop]; x.cp = curState.index; gData.backTrackStackTop = curState.max; currentContinuation.pc = curState.continuation.pc; currentContinuation.op = curState.continuation.op; if (result == null) result = x; else result = null; break; case REOP_CLASS: index = GET_ARG(pc); pc += ARG_LEN; result = classMatcher(gData, x, index); if (!gData.ok) return null; break; case REOP_END: if (x != null) return x; break; case REOP_STAR: curState = gData.stateStack[gData.stateStackTop]; curState.min = 0; curState.max = -1; curState.index = x.cp; curState.continuation.pc = currentContinuation.pc; curState.continuation.op = currentContinuation.op; ++gData.stateStackTop; currentContinuation.op = REOP_REPEAT; currentContinuation.pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc, x); /* Step over <parencount>, <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; continue; case REOP_PLUS: curState = gData.stateStack[gData.stateStackTop]; curState.min = 1; curState.max = -1; curState.index = x.cp; curState.continuation.pc = currentContinuation.pc; curState.continuation.op = currentContinuation.op; ++gData.stateStackTop; currentContinuation.op = REOP_REPEAT; currentContinuation.pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc, x); /* Step over <parencount>, <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; continue; case REOP_OPT: curState = gData.stateStack[gData.stateStackTop]; curState.min = 0; curState.max = 1; curState.index = x.cp; curState.continuation.pc = currentContinuation.pc; curState.continuation.op = currentContinuation.op; ++gData.stateStackTop; currentContinuation.op = REOP_REPEAT; currentContinuation.pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc, x); /* Step over <parencount>, <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; continue; case REOP_QUANT: curState = gData.stateStack[gData.stateStackTop]; curState.min = GET_ARG(pc); pc += ARG_LEN; curState.max = GET_ARG(pc); pc += ARG_LEN; curState.index = x.cp; curState.continuation.pc = currentContinuation.pc; curState.continuation.op = currentContinuation.op; ++gData.stateStackTop; currentContinuation.op = REOP_REPEAT; currentContinuation.pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc, x); /* Step over <parencount>, <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; continue; case REOP_ENDCHILD: pc = currentContinuation.pc; op = currentContinuation.op; continue; case REOP_REPEAT: --gData.stateStackTop; curState = gData.stateStack[gData.stateStackTop]; if (result == null) { /* * There's been a failure, see if we have enough children. */ currentContinuation.pc = curState.continuation.pc; currentContinuation.op = curState.continuation.op; if (curState.min == 0) result = x; pc += 2 * ARG_LEN; /* <parencount> & <parenindex> */ pc = pc + GET_OFFSET(pc); break; } else { if ((curState.min == 0) && (x.cp == curState.index)) { /* matched an empty string, that'll get us nowhere */ result = null; currentContinuation.pc = curState.continuation.pc; currentContinuation.op = curState.continuation.op; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(pc); break; } if (curState.min != 0) curState.min--; if (curState.max != -1) curState.max--; if (curState.max == 0) { result = x; currentContinuation.pc = curState.continuation.pc; currentContinuation.op = curState.continuation.op; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(pc); break; } curState.index = x.cp; ++gData.stateStackTop; currentContinuation.op = REOP_REPEAT; currentContinuation.pc = pc; pushBackTrackState(gData, REOP_REPEAT, pc, x); parenCount = GET_ARG(pc); pc += ARG_LEN; parenIndex = GET_ARG(pc); pc += 2 * ARG_LEN; op = program[pc++]; for (k = 0; k < parenCount; k++) x.parens[parenIndex + k].index = -1; } continue; case REOP_MINIMALSTAR: curState = gData.stateStack[gData.stateStackTop]; curState.min = 0; curState.max = -1; curState.index = x.cp; curState.continuation.pc = currentContinuation.pc; curState.continuation.op = currentContinuation.op; ++gData.stateStackTop; if (curState.min != 0) { currentContinuation.op = REOP_MINIMALREPEAT; currentContinuation.pc = pc; /* <parencount> <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; } else { pushBackTrackState(gData, REOP_MINIMALREPEAT, pc, x); --gData.stateStackTop; pc += 2 * ARG_LEN; /* <parencount> & <parenindex> */ pc = pc + GET_OFFSET(pc); op = program[pc++]; } continue; case REOP_MINIMALPLUS: curState = gData.stateStack[gData.stateStackTop]; curState.min = 1; curState.max = -1; curState.index = x.cp; curState.continuation.pc = currentContinuation.pc; curState.continuation.op = currentContinuation.op; ++gData.stateStackTop; if (curState.min != 0) { currentContinuation.op = REOP_MINIMALREPEAT; currentContinuation.pc = pc; /* <parencount> <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; } else { pushBackTrackState(gData, REOP_MINIMALREPEAT, pc, x); --gData.stateStackTop; pc += 2 * ARG_LEN; /* <parencount> & <parenindex> */ pc = pc + GET_OFFSET(pc); op = program[pc++]; } continue; case REOP_MINIMALOPT: curState = gData.stateStack[gData.stateStackTop]; curState.min = 0; curState.max = 1; curState.index = x.cp; curState.continuation.pc = currentContinuation.pc; curState.continuation.op = currentContinuation.op; ++gData.stateStackTop; if (curState.min != 0) { currentContinuation.op = REOP_MINIMALREPEAT; currentContinuation.pc = pc; /* <parencount> <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; } else { pushBackTrackState(gData, REOP_MINIMALREPEAT, pc, x); --gData.stateStackTop; pc += 2 * ARG_LEN; /* <parencount> & <parenindex> */ pc = pc + GET_OFFSET(pc); op = program[pc++]; } continue; case REOP_MINIMALQUANT: curState = gData.stateStack[gData.stateStackTop]; curState.min = GET_ARG(pc); pc += ARG_LEN; curState.max = GET_ARG(pc); pc += ARG_LEN; curState.index = x.cp; curState.continuation.pc = currentContinuation.pc; curState.continuation.op = currentContinuation.op; ++gData.stateStackTop; if (curState.min != 0) { currentContinuation.op = REOP_MINIMALREPEAT; currentContinuation.pc = pc; /* <parencount> <parenindex> & <next> */ pc += 3 * ARG_LEN; op = program[pc++]; } else { pushBackTrackState(gData, REOP_MINIMALREPEAT, pc, x); --gData.stateStackTop; pc += 2 * ARG_LEN; /* <parencount> & <parenindex> */ pc = pc + GET_OFFSET(pc); op = program[pc++]; } continue; case REOP_MINIMALREPEAT: --gData.stateStackTop; curState = gData.stateStack[gData.stateStackTop]; if (result == null) { /* * Non-greedy failure - try to consume another child. */ if ((curState.max == -1) || (curState.max > 0)) { curState.index = x.cp; currentContinuation.op = REOP_MINIMALREPEAT; currentContinuation.pc = pc; parenCount = GET_ARG(pc); pc += ARG_LEN; parenIndex = GET_ARG(pc); pc += 2 * ARG_LEN; for (k = 0; k < parenCount; k++) x.parens[parenIndex + k].index = -1; ++gData.stateStackTop; op = program[pc++]; continue; } else { /* Don't need to adjust pc since we're going to pop. */ currentContinuation.pc = curState.continuation.pc; currentContinuation.op = curState.continuation.op; break; } } else { if ((curState.min == 0) && (x.cp == curState.index)) { /* Matched an empty string, that'll get us nowhere. */ result = null; currentContinuation.pc = curState.continuation.pc; currentContinuation.op = curState.continuation.op; break; } if (curState.min != 0) curState.min--; if (curState.max != -1) curState.max--; if (curState.min != 0) { currentContinuation.op = REOP_MINIMALREPEAT; currentContinuation.pc = pc; parenCount = GET_ARG(pc); pc += ARG_LEN; parenIndex = GET_ARG(pc); pc += 2 * ARG_LEN; for (k = 0; k < parenCount; k++) x.parens[parenIndex + k].index = -1; curState.index = x.cp; ++gData.stateStackTop; op = program[pc++]; continue; } else { currentContinuation.pc = curState.continuation.pc; currentContinuation.op = curState.continuation.op; curState.index = x.cp; ++gData.stateStackTop; pushBackTrackState(gData, REOP_MINIMALREPEAT, pc, x); --gData.stateStackTop; pc += 2 * ARG_LEN; pc = pc + GET_OFFSET(pc); op = program[pc++]; continue; } } default: throw new RuntimeException(); } /* * If the match failed and there's a backtrack option, take it. * Otherwise this is a complete and utter failure. */ if (result == null) { if (gData.backTrackStackTop > 0) { gData.backTrackStackTop--; backTrackData = gData.backTrackStack[gData.backTrackStackTop]; gData.lastParen = backTrackData.lastParen; x = new REMatchState(backTrackData.state); for (k = 0; k < backTrackData.precedingStateTop; k++) gData.stateStack[k] = backTrackData.precedingState[k]; gData.stateStackTop = backTrackData.precedingStateTop + 1; gData.stateStack[gData.stateStackTop - 1] = backTrackData.currentState; if (gData.stateStackTop <= 0) throw new RuntimeException(); currentContinuation.op = gData.stateStack[gData.stateStackTop - 1].continuation.op; currentContinuation.pc = gData.stateStack[gData.stateStackTop - 1].continuation.pc; pc = backTrackData.continuation.pc; op = backTrackData.continuation.op; continue; } else return null; } else x = result; /* * Continue with the expression. If this the end of the child, use * the current continuation. */ op = program[pc++]; if (op == REOP_ENDCHILD) { pc = currentContinuation.pc; op = currentContinuation.op; } }// return null; }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/17b4a2e105868df40a834c33bbe2c0322f42502f/NativeRegExp.java/buggy/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1836, 862, 858, 16651, 12, 862, 5160, 751, 314, 751, 16, 2438, 2060, 1119, 619, 13, 565, 288, 3639, 509, 6125, 273, 374, 31, 3639, 1160, 5402, 8526, 273, 314, 751, 18, 17745, 18, 12890, 31, 3639, 1160, 1061, 273, 5402, 63, 2436, 9904, 15533, 3639, 2438, 660, 23946, 751, 783, 660, 23946, 273, 394, 2438, 660, 23946, 751, 5621, 3639, 2438, 2060, 1119, 563, 273, 446, 31, 3639, 2438, 2711, 4402, 751, 1473, 4402, 751, 31, 3639, 509, 417, 16, 769, 16, 1384, 16, 22146, 1016, 16, 22146, 1380, 16, 770, 31, 3639, 1250, 6984, 273, 629, 31, 3639, 1149, 6984, 782, 273, 261, 3001, 13, 20, 31, 3639, 1149, 845, 782, 31, 3639, 509, 1024, 2436, 31, 3639, 1149, 8526, 1084, 31, 3639, 1160, 1024, 556, 31, 3639, 2438, 12372, 3523, 31, 3639, 2438, 626, 75, 1119, 662, 1119, 31, 3639, 1084, 273, 314, 751, 18, 17745, 18, 3168, 31, 3639, 783, 660, 23946, 18, 2436, 273, 374, 31, 3639, 783, 660, 23946, 18, 556, 273, 2438, 3665, 67, 4415, 31, 430, 261, 4148, 13, 288, 3163, 18, 659, 18, 8222, 2932, 1210, 273, 11843, 397, 394, 514, 12, 75, 751, 18, 4057, 10086, 13, 397, 1548, 3113, 787, 622, 315, 397, 619, 18, 4057, 1769, 97, 3639, 1748, 540, 380, 282, 971, 326, 1122, 756, 353, 279, 7158, 845, 16, 2235, 326, 770, 1368, 540, 380, 282, 326, 533, 3180, 716, 845, 353, 7165, 16, 578, 2321, 309, 518, 848, 1404, 506, 540, 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, 1836, 862, 858, 16651, 12, 862, 5160, 751, 314, 751, 16, 2438, 2060, 1119, 619, 13, 565, 288, 3639, 509, 6125, 273, 374, 31, 3639, 1160, 5402, 8526, 273, 314, 751, 18, 17745, 18, 12890, 31, 3639, 1160, 1061, 273, 5402, 63, 2436, 9904, 15533, 3639, 2438, 660, 23946, 751, 783, 660, 23946, 273, 394, 2438, 660, 23946, 751, 5621, 3639, 2438, 2060, 1119, 563, 273, 446, 31, 3639, 2438, 2711, 4402, 751, 1473, 4402, 751, 31, 3639, 509, 417, 16, 769, 16, 1384, 16, 22146, 1016, 16, 22146, 1380, 16, 770, 31, 3639, 1250, 6984, 273, 629, 31, 3639, 1149, 6984, 782, 273, 261, 3001, 13, 20, 31, 3639, 1149, 845, 782, 31, 3639, 509, 1024, 2436, 2 ]
if (lineNumber > 0) { buf.append("line "); buf.append(lineNumber); } buf.append(')');
public String toString() { if (sourceName == null && lineNumber <= 0) return errorObject.toString(); StringBuffer buf = new StringBuffer(); buf.append(errorObject.toString()); buf.append(" ("); if (sourceName != null) { buf.append(sourceName); buf.append("; "); } if (lineNumber > 0) { buf.append("line "); buf.append(lineNumber); } buf.append(')'); return buf.toString(); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/8df24a01d813540ecdfcd8a3a380c84cc9993734/EcmaError.java/buggy/js/rhino/src/org/mozilla/javascript/EcmaError.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 3639, 309, 261, 3168, 461, 422, 446, 597, 13629, 1648, 374, 13, 5411, 327, 555, 921, 18, 10492, 5621, 3639, 6674, 1681, 273, 394, 6674, 5621, 3639, 1681, 18, 6923, 12, 1636, 921, 18, 10492, 10663, 3639, 1681, 18, 6923, 2932, 7566, 1769, 3639, 309, 261, 3168, 461, 480, 446, 13, 288, 5411, 1681, 18, 6923, 12, 3168, 461, 1769, 5411, 1681, 18, 6923, 2932, 31, 315, 1769, 3639, 289, 3639, 309, 261, 1369, 1854, 405, 374, 13, 288, 5411, 1681, 18, 6923, 2932, 1369, 315, 1769, 5411, 1681, 18, 6923, 12, 1369, 1854, 1769, 3639, 289, 3639, 1681, 18, 6923, 2668, 2506, 1769, 3639, 327, 1681, 18, 10492, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1071, 514, 1762, 1435, 288, 3639, 309, 261, 3168, 461, 422, 446, 597, 13629, 1648, 374, 13, 5411, 327, 555, 921, 18, 10492, 5621, 3639, 6674, 1681, 273, 394, 6674, 5621, 3639, 1681, 18, 6923, 12, 1636, 921, 18, 10492, 10663, 3639, 1681, 18, 6923, 2932, 7566, 1769, 3639, 309, 261, 3168, 461, 480, 446, 13, 288, 5411, 1681, 18, 6923, 12, 3168, 461, 1769, 5411, 1681, 18, 6923, 2932, 31, 315, 1769, 3639, 289, 3639, 309, 261, 1369, 1854, 405, 374, 13, 288, 5411, 1681, 18, 6923, 2932, 1369, 315, 1769, 5411, 1681, 18, 6923, 12, 1369, 1854, 1769, 3639, 289, 3639, 1681, 18, 6923, 2668, 2506, 1769, 3639, 327, 1681, 18, 10492, 5621, 565, 289, 2, -100 ]
protected MenuManager createMenuManager() { MenuManager result = new MenuManager("menu"); final MenuManager menuManagerFile = new MenuManager("File"); result.add(menuManagerFile); menuManagerFile.add(newFileAction); menuManagerFile.add(openFileAction); menuManagerFile.add(new Separator()); String[] mruFiles = UserPreferences.getInstance().getMRUFiles(); if (mruFiles != null & mruFiles.length > 0) { for (int i = 0; i < mruFiles.length; i++) { String fileName = mruFiles[i]; String menuItem = "&" + (i + 1) + " " + new File(fileName).getName(); IAction nextMRUAction = new MRUFileAction(fileName, menuItem); menuManagerFile.add(nextMRUAction); } menuManagerFile.add(new Separator()); } menuManagerFile.add(saveFileAction); menuManagerFile.add(saveFileAsAction); menuManagerFile.add(new Separator()); final MenuManager menuManagerExportTo = new MenuManager("Export To"); menuManagerFile.add(menuManagerExportTo); menuManagerExportTo.add(exportToTextAction); menuManagerExportTo.add(exportToXMLAction); final MenuManager menuManagerImportFrom = new MenuManager("Import From"); menuManagerFile.add(menuManagerImportFrom); menuManagerImportFrom.add(importFromTextAction); menuManagerImportFrom.add(importFromXMLAction); menuManagerFile.add(new Separator()); menuManagerFile.add(exitAppAction); final MenuManager menuManagerEdit = new MenuManager("Edit"); result.add(menuManagerEdit); menuManagerEdit.add(addRecordAction); menuManagerEdit.add(editRecordAction); menuManagerEdit.add(deleteRecordAction); menuManagerEdit.add(new Separator()); menuManagerEdit.add(copyPasswordAction); menuManagerEdit.add(copyUsernameAction); menuManagerEdit.add(clearClipboardAction); final MenuManager menuManagerView = new MenuManager("View"); result.add(menuManagerView); menuManagerView.add(viewAsListAction); menuManagerView.add(viewAsTreeAction); final MenuManager menuManagerManage = new MenuManager("Manage"); result.add(menuManagerManage); menuManagerManage.add(changeSafeCombinationAction); menuManagerManage.add(new Separator()); menuManagerManage.add(optionsAction); final MenuManager menuManagerHelp = new MenuManager("Help"); result.add(menuManagerHelp); menuManagerHelp.add(helpAction); menuManagerHelp.add(new Separator()); menuManagerHelp.add(visitPasswordSafeWebsiteAction); menuManagerHelp.add(new Separator()); menuManagerHelp.add(aboutAction); return result; }
10818 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10818/df96a7a5ef2718c3e0ac044b3c9f4cb70a932a20/PasswordSafeJFace.java/buggy/PasswordSafeSWT/src/org/pwsafe/passwordsafeswt/PasswordSafeJFace.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4599, 1318, 2640, 4599, 1318, 1435, 95, 202, 202, 4599, 1318, 2088, 33, 2704, 4599, 1318, 2932, 5414, 8863, 202, 202, 6385, 4599, 49, 940, 1035, 2104, 1318, 812, 33, 2704, 4599, 1318, 2932, 812, 8863, 202, 202, 2088, 18, 1289, 12, 5414, 1318, 812, 1769, 202, 202, 5414, 1318, 812, 18, 1289, 12, 2704, 812, 1803, 1769, 202, 202, 5414, 1318, 812, 18, 1289, 12, 3190, 812, 1803, 1769, 202, 202, 5414, 1318, 812, 18, 1289, 12, 2704, 6581, 10663, 202, 202, 780, 8526, 81, 8653, 2697, 33, 1299, 12377, 18, 588, 1442, 7675, 588, 49, 19866, 2697, 5621, 202, 202, 430, 12, 81, 8653, 2697, 5, 33, 2011, 10, 81, 8653, 2697, 18, 2469, 34, 20, 15329, 1082, 202, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 81, 8653, 2697, 18, 2469, 31, 77, 27245, 95, 9506, 202, 780, 17812, 33, 81, 8653, 2697, 63, 77, 15533, 9506, 202, 780, 5414, 1180, 1546, 10, 6, 15, 12, 77, 15, 21, 27921, 3660, 15, 2704, 812, 12, 17812, 2934, 17994, 5621, 9506, 202, 45, 1803, 4285, 49, 19866, 1803, 33, 2704, 49, 19866, 812, 1803, 12, 17812, 16, 5414, 1180, 1769, 9506, 202, 5414, 1318, 812, 18, 1289, 12, 4285, 49, 19866, 1803, 1769, 1082, 202, 97, 1082, 202, 5414, 1318, 812, 18, 1289, 12, 2704, 6581, 10663, 202, 202, 97, 202, 202, 5414, 1318, 812, 18, 1289, 12, 5688, 812, 1803, 1769, 202, 202, 5414, 1318, 812, 18, 1289, 12, 5688, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4599, 1318, 2640, 4599, 1318, 1435, 95, 202, 202, 4599, 1318, 2088, 33, 2704, 4599, 1318, 2932, 5414, 8863, 202, 202, 6385, 4599, 49, 940, 1035, 2104, 1318, 812, 33, 2704, 4599, 1318, 2932, 812, 8863, 202, 202, 2088, 18, 1289, 12, 5414, 1318, 812, 1769, 202, 202, 5414, 1318, 812, 18, 1289, 12, 2704, 812, 1803, 1769, 202, 202, 5414, 1318, 812, 18, 1289, 12, 3190, 812, 1803, 1769, 202, 202, 5414, 1318, 812, 18, 1289, 12, 2704, 6581, 10663, 202, 202, 780, 8526, 81, 8653, 2697, 33, 1299, 12377, 18, 588, 1442, 7675, 588, 49, 19866, 2697, 5621, 202, 202, 430, 12, 81, 8653, 2697, 5, 33, 2011, 10, 81, 8653, 2697, 18, 2469, 2 ]
getCurrentPanel().save();
getCurrentView().saveAs();
public void actionPerformed(ActionEvent e) { getCurrentPanel().save(); }});
10395 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10395/36eebaa06c07bccfc979b59ba8876d15f3c032f1/Main.java/clean/trunk/de/mutantenzoo/gcu/ui/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 288, 9506, 202, 588, 3935, 5537, 7675, 5688, 5621, 1082, 202, 9090, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 288, 9506, 202, 588, 3935, 5537, 7675, 5688, 5621, 1082, 202, 9090, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (reportSuccess.equalsIgnoreCase("fixes") && !logHelper.wasPreviousBuildSuccessful()) {
if (reportSuccess.equalsIgnoreCase("fixes") && !logHelper.wasPreviousBuildSuccessful()) {
protected String createSubject(XMLLogHelper logHelper) throws CruiseControlException { StringBuffer subjectLine = new StringBuffer(); if (subjectPrefix != null) { subjectLine.append(subjectPrefix); subjectLine.append(" "); } subjectLine.append(logHelper.getProjectName()); if (logHelper.isBuildSuccessful()) { String label = logHelper.getLabel(); if (label.length() > 0) { subjectLine.append(" "); subjectLine.append(logHelper.getLabel()); } if (reportSuccess.equalsIgnoreCase("fixes") && !logHelper.wasPreviousBuildSuccessful()) { subjectLine.append(" Build Fixed"); return subjectLine.toString(); } else { subjectLine.append(" Build Successful"); return subjectLine.toString(); } } else { subjectLine.append(" Build Failed"); return subjectLine.toString(); } }
52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/5c56bb4f2ea9fb200b3447918551685351c59c4e/EmailPublisher.java/clean/main/src/net/sourceforge/cruisecontrol/publishers/EmailPublisher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 752, 6638, 12, 4201, 1343, 2276, 613, 2276, 13, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 6674, 3221, 1670, 273, 394, 6674, 5621, 3639, 309, 261, 7857, 2244, 480, 446, 13, 288, 5411, 3221, 1670, 18, 6923, 12, 7857, 2244, 1769, 5411, 3221, 1670, 18, 6923, 2932, 315, 1769, 3639, 289, 3639, 3221, 1670, 18, 6923, 12, 1330, 2276, 18, 588, 4109, 461, 10663, 3639, 309, 261, 1330, 2276, 18, 291, 3116, 14277, 10756, 288, 5411, 514, 1433, 273, 613, 2276, 18, 588, 2224, 5621, 5411, 309, 261, 1925, 18, 2469, 1435, 405, 374, 13, 288, 7734, 3221, 1670, 18, 6923, 2932, 315, 1769, 7734, 3221, 1670, 18, 6923, 12, 1330, 2276, 18, 588, 2224, 10663, 5411, 289, 5411, 309, 261, 6006, 4510, 18, 14963, 5556, 2932, 904, 281, 7923, 597, 401, 1330, 2276, 18, 17416, 8351, 3116, 14277, 10756, 288, 7734, 3221, 1670, 18, 6923, 2932, 3998, 15038, 8863, 7734, 327, 3221, 1670, 18, 10492, 5621, 5411, 289, 469, 288, 7734, 3221, 1670, 18, 6923, 2932, 3998, 11958, 2706, 8863, 7734, 327, 3221, 1670, 18, 10492, 5621, 5411, 289, 3639, 289, 469, 288, 5411, 3221, 1670, 18, 6923, 2932, 3998, 11175, 8863, 5411, 327, 3221, 1670, 18, 10492, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 752, 6638, 12, 4201, 1343, 2276, 613, 2276, 13, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 6674, 3221, 1670, 273, 394, 6674, 5621, 3639, 309, 261, 7857, 2244, 480, 446, 13, 288, 5411, 3221, 1670, 18, 6923, 12, 7857, 2244, 1769, 5411, 3221, 1670, 18, 6923, 2932, 315, 1769, 3639, 289, 3639, 3221, 1670, 18, 6923, 12, 1330, 2276, 18, 588, 4109, 461, 10663, 3639, 309, 261, 1330, 2276, 18, 291, 3116, 14277, 10756, 288, 5411, 514, 1433, 273, 613, 2276, 18, 588, 2224, 5621, 5411, 309, 261, 1925, 18, 2469, 1435, 405, 374, 13, 288, 7734, 3221, 1670, 18, 6923, 2932, 315, 1769, 7734, 3221, 1670, 18, 6923, 12, 1330, 2276, 18, 588, 2224, 2 ]
return numberOfLines;
return getRawCoverageData().getNumberOfValidLines();
public int getNumberOfLines() { return numberOfLines; }
50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/100512ee483a0d8eebc3eb78a5d8913b7b64ddb6/Clazz.java/clean/cobertura/src/net/sourceforge/cobertura/reporting/Clazz.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 14981, 5763, 1435, 202, 95, 202, 202, 2463, 7922, 5763, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14981, 5763, 1435, 202, 95, 202, 202, 2463, 7922, 5763, 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, -100, -100, -100, -100, -100 ]
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 125, -1, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 125, -1, 281, 282, -1, -1, -1, 93, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 125, 281,
-1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 125, -1, 281, 282, -1, -1, -1, 93, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 125, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281,
private static final short[] yyCheck3() { return new short[] { -1, -1, 10, -1, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 37, 38, -1, -1, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, 124, 125, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, 333, 334, -1, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, 93, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, -1, 37, 38, -1, 343, 41, 42, 43, 44, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, 93, 94, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, 43, 44, 45, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, 326, 62, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 0, 343, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, 43, 44, 45, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 124, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, 38, -1, 338, 41, -1, -1, 44, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, 37, 38, -1, 93, 94, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, 60, 41, 62, 63, 44, -1, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 94, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 38, -1, -1, 41, -1, -1, 44, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 124, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, 94, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, -1, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, 60, -1, 62, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 318, 319, 320, 321, 322, 323, 324, 93, 94, 327, 328, -1, -1, -1, -1, 333, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, 124, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 125, -1, -1, -1, -1, -1, 281, 282, -1, 94, -1, 96, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, -1, 126, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 0, 293, 294, 295, 296, 297, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 41, -1, -1, 44, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, 58, 59, 60, -1, 62, 63, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 0, 293, 294, 295, 296, 297, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 41, -1, -1, 44, -1, 338, -1, 125, -1, -1, 343, 304, 305, -1, -1, 308, -1, 58, 59, 60, -1, 62, 63, 316, 317, 318, 319, 320, 321, -1, 323, 324, 0, -1, 327, -1, -1, -1, 331, 332, 333, 334, 10, -1, -1, -1, -1, -1, -1, -1, -1, 344, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 125, -1, -1, -1, -1, -1, 281, 282, -1, -1, 41, -1, -1, 44, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, -1, -1, 93, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, 125, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, 0, -1, -1, -1, -1, -1, -1, -1, 281, 282, 10, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 58, 59, -1, -1, -1, 63, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, 93, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, 125, -1, 41, -1, -1, 44, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 325, 326, -1, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 0, 343, 41, -1, -1, 44, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 125, -1, -1, 0, -1, -1, -1, -1, -1, -1, 58, 59, -1, 10, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, 41, 93, -1, 44, -1, -1, -1, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, 58, 59, -1, 10, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, 125, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 0, -1, -1, 41, 93, -1, 44, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 325, 326, -1, 63, 329, 330, -1, -1, -1, -1, -1, -1, -1, 338, 125, -1, -1, -1, 343, 41, -1, -1, 44, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 93, -1, -1, 58, 59, -1, -1, -1, 63, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 325, 326, -1, -1, 329, 330, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, 125, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 325, 326, -1, -1, 329, 330, -1, 281, 282, -1, -1, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 325, 326, -1, -1, 329, 330, -1, 281, 282, -1, -1, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 0, -1, 338, 41, -1, -1, 44, 343, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 338, 41, -1, -1, 44, 343, -1, -1, -1, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 41, -1, -1, 44, -1, -1, -1, 125, 10, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, 41, -1, -1, 44, -1, -1, 125, 10, -1, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 41, -1, -1, 44, -1, -1, -1, 125, 10, -1, -1, -1, -1, -1, 93, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 125, -1, -1, -1, -1, -1, 93, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 125, -1, 281, 282, -1, -1, -1, 93, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 125, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, 262, 263, 264, 343, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, 262, 263, 264, -1, 343, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 338, 262, 263, 264, 0, 343, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 338, -1, 0, -1, -1, 343, -1, 41, -1, -1, 44, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 41, 343, -1, 44, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 93, 58, 59, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 125, -1, -1, 41, 93, -1, 44, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 125, -1, -1, 41, -1, -1, 44, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, 41, -1, -1, 44, -1, 10, -1, -1, -1, -1, -1, 125, -1, -1, -1, 93, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, 93, 58, 59, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, -1, -1, 125, -1, -1, 10, 93, 290, 291, -1, 293, 294, 295, 296, 297, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, 125, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, 338, -1, -1, -1, -1, 343, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, 93, -1, -1, 338, -1, -1, 290, 291, 343, 293, 294, 295, 296, 297, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 125, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, -1, -1, -1, -1, -1, 10, -1, 290, 291, -1, 293, 294, 295, 296, 297, 262, 263, 264, 338, -1, 267, 268, 269, 343, 271, -1, -1, -1, -1, -1, -1, 0, -1, -1, 281, 282, 41, -1, -1, 44, -1, 10, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, 338, -1, -1, -1, -1, 343, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, 60, -1, 62, -1, 93, 58, 59, 338, -1, -1, -1, -1, 343, 262, 263, 264, 0, -1, 267, 268, 269, -1, 271, -1, -1, -1, 10, -1, -1, -1, -1, -1, 281, 282, 94, -1, 125, -1, -1, -1, 93, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 124, -1, -1, -1, -1, -1, -1, -1, 125, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 343, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 0, 91, -1, -1, 94, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 124, 125, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, 91, -1, -1, 94, 290, 291, -1, 293, 294, 295, 296, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 125, -1, -1, -1, -1, -1, -1, -1, 281, 282, 124, 125, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 338, -1, -1, -1, -1, 343, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, -1, -1, -1, -1, 333, 334, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, 343, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, -1, -1, 338, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 290, 291, 281, 293, 294, 295, 296, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 37, 38, 338, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, 0, 47, -1, -1, -1, -1, 91, -1, -1, 94, 10, -1, -1, -1, 60, -1, 62, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, 124, 125, 41, 42, 43, 44, 45, 46, 47, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 124, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, 91, -1, 0, 94, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 124, 125, -1, -1, -1, -1, -1, -1, -1, -1, 41, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 91, -1, -1, 94, 10, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, 124, 125, 41, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, 125, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 0, -1, 338, 93, -1, -1, -1, -1, -1, -1, 10, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 318, 319, 320, 321, 322, 323, 324, 325, -1, 327, 328, -1, -1, -1, 125, 333, 334, -1, 290, 291, 41, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, -1, 337, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 290, 291, -1, 293, 294, 295, 296, 297, 281, 0, 125, -1, -1, -1, -1, -1, -1, 290, 291, 10, 293, 294, 295, 296, 297, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 59, 60, 61, 62, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, 0, -1, 290, 291, -1, 293, 294, 295, 296, 297, 10, -1, -1, -1, -1, -1, -1, 91, -1, -1, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, 124, 125, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, -1, -1, 91, 290, 291, 94, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 124, 125, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, -1, -1, -1, -1, -1, -1, -1, -1, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 336, -1, -1, 339, 340, 341, 342, -1, 126, -1, 346, 347, 348, 349, 350, 351, 33, -1, 290, 291, 356, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 126, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 256, 257, 258, 259, 260, 261, 59, -1, -1, 265, 266, -1, -1, -1, 270, -1, 272, 273, 274, 275, 276, 277, 278, -1, }; }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 23, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 300, 21, 16, 282, 300, 21, 16, 282, 1728, 16, 282, 300, 21, 16, 225, 890, 8942, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 225, 2593, 24, 16, 225, 30616, 16, 282, 18091, 16, 5411, 18012, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 20170, 16, 282, 14856, 16, 282, 21193, 16, 282, 13291, 16, 282, 12292, 16, 282, 300, 21, 16, 282, 17495, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 17066, 16, 282, 14995, 16, 282, 4752, 16, 282, 300, 21, 16, 282, 22684, 16, 282, 13746, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 23, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 300, 21, 16, 282, 300, 21, 16, 282, 1728, 16, 282, 300, 21, 16, 225, 890, 8942, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 2 ]
if (certificate.equals("Durao do Degree")) {
if (certificate.equals(CertificateList.DURACAO_CURSO_STRING)) {
public ActionForward prepare(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { final HttpSession session = request.getSession(false); if (session != null) { IUserView userView = getUserView(request); session.removeAttribute(SessionConstants.MATRICULA); session.removeAttribute(SessionConstants.MATRICULA_ENROLMENT); session.removeAttribute(SessionConstants.DURATION_DEGREE); session.removeAttribute(SessionConstants.ENROLMENT); session.removeAttribute(SessionConstants.ENROLMENT_LIST); session.removeAttribute(SessionConstants.APROVMENT); session.removeAttribute(SessionConstants.EXTRA_CURRICULAR_APROVMENT); session.removeAttribute(SessionConstants.EXTRA_ENROLMENT_LIST); session.removeAttribute(SessionConstants.INFO_FINAL_RESULT); session.removeAttribute(SessionConstants.FINAL_RESULT); session.removeAttribute(SessionConstants.CONCLUSION_DATE); session.removeAttribute(SessionConstants.FINAL_RESULT_SIMPLE); session.removeAttribute(SessionConstants.FINAL_RESULT_DEGREE_SIMPLE); session.removeAttribute(SessionConstants.DISCRIMINATED_WITHOUT_AVERAGE); session.removeAttribute(SessionConstants.DISCRIMINATED_WITH_AVERAGE); session.removeAttribute(SessionConstants.FINAL_DEGREE_DISCRIMINATED_WITH_AVERAGE); session.removeAttribute(SessionConstants.DIPLOMA); session.removeAttribute(SessionConstants.DEGREE_LETTER); session.removeAttribute(SessionConstants.DATE); session.removeAttribute("notString"); InfoStudentCurricularPlan infoStudentCurricularPlan = (InfoStudentCurricularPlan) session .getAttribute(SessionConstants.INFO_STUDENT_CURRICULAR_PLAN); InfoMasterDegreeThesisDataVersion infoMasterDegreeThesisDataVersion = (InfoMasterDegreeThesisDataVersion) session .getAttribute(SessionConstants.MASTER_DEGREE_THESIS_DATA_VERSION); InfoMasterDegreeProofVersion infoMasterDegreeProofVersion = (InfoMasterDegreeProofVersion) session .getAttribute(SessionConstants.MASTER_DEGREE_PROOF_HISTORY); String certificate = (String) session.getAttribute(SessionConstants.CERTIFICATE_TYPE); String anoLectivo = new String(); InfoExecutionYear infoExecutionYear = null; try { infoExecutionYear = (InfoExecutionYear) ServiceManagerServiceFactory.executeService( userView, "ReadCurrentExecutionYear", null); } catch (RuntimeException e) { throw new RuntimeException("Error", e); } if ((certificate.equals("Matrcula")) || (certificate.equals("Matrcula e Inscrio")) || (certificate.equals("Durao do Degree"))) { List enrolmentList = null; Object args[] = { infoStudentCurricularPlan.getIdInternal() }; try { enrolmentList = (List) ServiceManagerServiceFactory.executeService(userView, "GetEnrolmentList", args); } catch (NonExistingServiceException e) { throw new NonExistingActionException("Inscrio", e); } if (enrolmentList.size() == 0) anoLectivo = infoExecutionYear.getYear(); else anoLectivo = ((InfoEnrolment) enrolmentList.get(0)).getInfoExecutionPeriod() .getInfoExecutionYear().getYear(); if (certificate.equals("Matrcula")) session.setAttribute(SessionConstants.MATRICULA, certificate.toUpperCase()); if (certificate.equals("Matrcula e Inscrio")) session .setAttribute(SessionConstants.MATRICULA_ENROLMENT, certificate .toUpperCase()); if (certificate.equals("Durao do Degree")) { if (infoStudentCurricularPlan.getSpecialization().equals( Specialization.STUDENT_CURRICULAR_PLAN_MASTER_DEGREE)) { certificate = new String("Matrcula"); session .setAttribute(SessionConstants.DURATION_DEGREE, certificate .toUpperCase()); } else { ActionErrors errors = new ActionErrors(); errors.add("AlunoNoExiste", new ActionError("error.invalidStudentType")); saveErrors(request, errors); return new ActionForward(mapping.getInput()); } } } else { // get informations List enrolmentList = null; if (certificate.equals("Inscrio")) { // , EnrolmentState.ENROLED Object args[] = { infoStudentCurricularPlan.getIdInternal() }; try { enrolmentList = (List) ServiceManagerServiceFactory.executeService(userView, "GetEnrolmentList", args); } catch (NonExistingServiceException e) { throw new NonExistingActionException("Inscrio", e); } if (enrolmentList.size() == 0) { ActionErrors errors = new ActionErrors(); errors.add("AlunoNoExiste", new ActionError("error.enrolment.notExist")); saveErrors(request, errors); return new ActionForward(mapping.getInput()); } List normalEnrolment = new ArrayList(); List extraEnrolment = new ArrayList(); // InfoEnrolment infoEnrolment = new InfoEnrolment(); Object result = null; Iterator iterator = enrolmentList.iterator(); while (iterator.hasNext()) { result = iterator.next(); InfoEnrolment infoEnrolment2 = (InfoEnrolment) result; if (result instanceof InfoEnrolmentInExtraCurricularCourse) { extraEnrolment.add(infoEnrolment2); anoLectivo = ((InfoEnrolment) extraEnrolment.get(0)) .getInfoExecutionPeriod().getInfoExecutionYear().getYear(); } else { normalEnrolment.add(infoEnrolment2); anoLectivo = ((InfoEnrolment) normalEnrolment.get(0)) .getInfoExecutionPeriod().getInfoExecutionYear().getYear(); } } if (normalEnrolment.size() != 0) session.setAttribute(SessionConstants.ENROLMENT_LIST, normalEnrolment); if (extraEnrolment.size() != 0) session.setAttribute(SessionConstants.EXTRA_ENROLMENT_LIST, extraEnrolment); session.setAttribute(SessionConstants.ENROLMENT, certificate.toUpperCase()); } else { if ((certificate.equals("Aproveitamento")) || (certificate.equals("Aproveitamento de Disciplinas Extra Curricular"))) { Object args[] = { infoStudentCurricularPlan.getIdInternal(), EnrollmentState.APROVED, new Boolean(true) }; try { enrolmentList = (List) ServiceManagerServiceFactory.executeService(userView, "GetEnrolmentList", args); } catch (NonExistingServiceException e) { throw new NonExistingActionException("Inscrio", e); } if (enrolmentList.size() == 0) { ActionErrors errors = new ActionErrors(); errors.add("AlunoNoExiste", new ActionError("error.enrolment.notExist")); saveErrors(request, errors); return new ActionForward(mapping.getInput()); } List normalEnrolment = new ArrayList(); List extraEnrolment = new ArrayList(); // InfoEnrolment infoEnrolment = new InfoEnrolment(); Object result = null; Iterator iterator = enrolmentList.iterator(); while (iterator.hasNext()) { result = iterator.next(); InfoEnrolment infoEnrolment2 = (InfoEnrolment) result; if (result instanceof InfoEnrolmentInExtraCurricularCourse) { extraEnrolment.add(infoEnrolment2); anoLectivo = ((InfoEnrolment) extraEnrolment.get(0)) .getInfoExecutionPeriod().getInfoExecutionYear().getYear(); } else { normalEnrolment.add(infoEnrolment2); anoLectivo = ((InfoEnrolment) normalEnrolment.get(0)) .getInfoExecutionPeriod().getInfoExecutionYear().getYear(); } } session.setAttribute(SessionConstants.ENROLMENT_LIST, normalEnrolment); session.setAttribute(SessionConstants.EXTRA_ENROLMENT_LIST, extraEnrolment); if (certificate.equals("Aproveitamento")) { if (normalEnrolment.size() == 0) { ActionErrors errors = new ActionErrors(); errors .add("AlunoNoExiste", new ActionError( "error.enrolment.notExist")); saveErrors(request, errors); return new ActionForward(mapping.getInput()); } session.setAttribute(SessionConstants.APROVMENT, certificate.toUpperCase()); } else if (certificate.equals("Aproveitamento de Disciplinas Extra Curricular")) { if (extraEnrolment.size() == 0) { ActionErrors errors = new ActionErrors(); errors .add("AlunoNoExiste", new ActionError( "error.enrolment.notExist")); saveErrors(request, errors); return new ActionForward(mapping.getInput()); } session.setAttribute(SessionConstants.EXTRA_CURRICULAR_APROVMENT, certificate.toUpperCase()); } } else { if (infoStudentCurricularPlan.getSpecialization().equals( Specialization.STUDENT_CURRICULAR_PLAN_MASTER_DEGREE)) { if ((certificate.equals("Fim parte escolar simples")) || (certificate.equals("Fim parte escolar discriminada sem mdia")) || (certificate.equals("Fim parte escolar discriminada com mdia")) || (certificate.equals("Diploma")) || (certificate .equals("Fim de curso de Mestrado discriminada com mdia")) || (certificate.equals("Carta de Curso"))) { InfoFinalResult infoFinalResult = null; try { Object args[] = { infoStudentCurricularPlan }; infoFinalResult = (InfoFinalResult) ServiceManagerServiceFactory .executeService(userView, "FinalResult", args); } catch (FenixServiceException e) { throw new FenixServiceException(""); } if (infoFinalResult == null) { ActionErrors actionErrors = new ActionErrors(); actionErrors.add("FinalResultError", new ActionError( "error.exception.unreached")); saveErrors(request, actionErrors); return mapping.findForward("insucesso"); // throw new // FinalResulUnreachedActionException("aqui"); } Object args[] = { infoStudentCurricularPlan.getIdInternal(), EnrollmentState.APROVED }; try { enrolmentList = (List) ServiceManagerServiceFactory.executeService( userView, "GetEnrolmentList", args); } catch (NonExistingServiceException e) { throw new NonExistingActionException("Inscrio", e); } if (enrolmentList.size() == 0) { ActionErrors errors = new ActionErrors(); errors.add("AlunoNoExiste", new ActionError( "error.enrolment.notExist")); saveErrors(request, errors); return new ActionForward(mapping.getInput()); } String conclusionDate = null; Date endOfScholarshipDate = null; try { Object argsTemp[] = { infoStudentCurricularPlan.getIdInternal() }; endOfScholarshipDate = (Date) ServiceManagerServiceFactory .executeService(userView, "GetEndOfScholarshipDate", argsTemp); } catch (FenixServiceException e) { throw new FenixActionException(e); } conclusionDate = Data.format2DayMonthYear(endOfScholarshipDate, "-"); List normalEnrolment = new ArrayList(); List extraEnrolment = new ArrayList(); Object result = null; Iterator iterator = enrolmentList.iterator(); while (iterator.hasNext()) { result = iterator.next(); InfoEnrolment infoEnrolment2 = (InfoEnrolment) result; if (result instanceof InfoEnrolmentInExtraCurricularCourse) { extraEnrolment.add(infoEnrolment2); anoLectivo = ((InfoEnrolment) extraEnrolment.get(0)) .getInfoExecutionPeriod().getInfoExecutionYear() .getYear(); } else { normalEnrolment.add(infoEnrolment2); anoLectivo = ((InfoEnrolment) normalEnrolment.get(0)) .getInfoExecutionPeriod().getInfoExecutionYear() .getYear(); } } Object argsAux[] = { infoStudentCurricularPlan.getIdInternal() }; Date date = null; try { date = (Date) ServiceManagerServiceFactory.executeService(userView, "GetEndOfScholarshipDate", argsAux); } catch (NonExistingServiceException e) { throw new NonExistingActionException("Inscrio", e); } conclusionDate = DateFormat.getDateInstance().format(date); session.setAttribute(SessionConstants.ENROLMENT_LIST, normalEnrolment); session.setAttribute(SessionConstants.EXTRA_ENROLMENT_LIST, extraEnrolment); session.setAttribute(SessionConstants.CONCLUSION_DATE, conclusionDate); session .setAttribute(SessionConstants.INFO_FINAL_RESULT, infoFinalResult); session.setAttribute(SessionConstants.MASTER_DEGREE_THESIS_DATA_VERSION, infoMasterDegreeThesisDataVersion); // if (certificate.equals("Fim parte escolar simples")) session.setAttribute(SessionConstants.FINAL_RESULT_SIMPLE, certificate.toUpperCase()); if (certificate.equals("Fim parte escolar discriminada sem mdia")) session.setAttribute(SessionConstants.DISCRIMINATED_WITHOUT_AVERAGE, certificate.toUpperCase()); if (certificate.equals("Fim parte escolar discriminada com mdia")) session.setAttribute(SessionConstants.DISCRIMINATED_WITH_AVERAGE, certificate.toUpperCase()); if (certificate.equals("Diploma")) session.setAttribute(SessionConstants.DIPLOMA, certificate .toUpperCase()); if (certificate .equals("Fim de curso de Mestrado discriminada com mdia") || certificate.equals("Carta de Curso")) { if (infoMasterDegreeProofVersion != null) { if (!infoMasterDegreeProofVersion.getFinalResult().equals( MasterDegreeClassification.UNDEFINED)) { String notString = " "; if (infoMasterDegreeProofVersion.getFinalResult().equals( MasterDegreeClassification.NOT_APPROVED)) { notString = " no "; } session.setAttribute("notString", notString); Locale locale = new Locale("pt", "PT"); String dataFinal = DateFormat.getDateInstance( DateFormat.LONG, locale).format( infoMasterDegreeProofVersion.getProofDate()); session.setAttribute(SessionConstants.CONCLUSION_DATE, dataFinal); session .setAttribute(SessionConstants.FINAL_RESULT, infoMasterDegreeProofVersion .getFinalResult().name()); } else { ActionErrors errors = new ActionErrors(); errors.add("AlunoNoExiste", new ActionError( "error.invalidStudentType")); saveErrors(request, errors); return new ActionForward(mapping.getInput()); } } } if (certificate .equals("Fim de curso de Mestrado discriminada com mdia")) { session.setAttribute( SessionConstants.FINAL_DEGREE_DISCRIMINATED_WITH_AVERAGE, certificate.toUpperCase()); } if (certificate.equals("Carta de Curso")) { session.setAttribute(SessionConstants.DEGREE_LETTER, certificate .toUpperCase()); return mapping.findForward("printDegreeLetter"); } } else { if ((certificate.equals("Fim de curso de Mestrado simples"))) { if (!infoMasterDegreeProofVersion.getFinalResult().equals( MasterDegreeClassification.UNDEFINED)) { session.setAttribute( SessionConstants.FINAL_RESULT_DEGREE_SIMPLE, certificate .toUpperCase()); session.setAttribute( SessionConstants.MASTER_DEGREE_THESIS_HISTORY, infoMasterDegreeProofVersion); String dataFinal = DateFormat.getDateInstance().format( infoMasterDegreeProofVersion.getProofDate()); session .setAttribute(SessionConstants.CONCLUSION_DATE, dataFinal); String notString = " "; if (infoMasterDegreeProofVersion.getFinalResult().equals( MasterDegreeClassification.NOT_APPROVED)) { notString = " no "; } session.setAttribute("notString", notString); session.setAttribute(SessionConstants.FINAL_RESULT, infoMasterDegreeProofVersion.getFinalResult().name()); session.setAttribute( SessionConstants.MASTER_DEGREE_THESIS_DATA_VERSION, infoMasterDegreeThesisDataVersion); } else { ActionErrors errors = new ActionErrors(); errors.add("AlunoNoExiste", new ActionError( "error.invalidStudentConclusion")); saveErrors(request, errors); return new ActionForward(mapping.getInput()); } } } } else { ActionErrors errors = new ActionErrors(); errors.add("AlunoNoExiste", new ActionError("error.invalidStudentType")); saveErrors(request, errors); return new ActionForward(mapping.getInput()); } } } } session.setAttribute(SessionConstants.INFO_STUDENT_CURRICULAR_PLAN, infoStudentCurricularPlan); Locale locale = new Locale("pt", "PT"); Date date = new Date(); String formatedDate = "Lisboa, " + DateFormat.getDateInstance(DateFormat.LONG, locale).format(date); request.setAttribute("anoLectivo", anoLectivo); session.setAttribute(SessionConstants.DATE, formatedDate); session.setAttribute(SessionConstants.CERTIFICATE_TYPE, certificate); return mapping.findForward("PrintReady"); } throw new Exception(); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/dd0bcf856e93dc0488c3888e677e9cffab4f236d/PrintCertificateDispatchAction.java/clean/src/net/sourceforge/fenixedu/presentationTier/Action/certificate/PrintCertificateDispatchAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 8514, 2911, 12, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 9984, 590, 16, 12446, 766, 13, 1216, 1185, 288, 202, 3639, 727, 26166, 1339, 273, 590, 18, 588, 2157, 12, 5743, 1769, 3639, 309, 261, 3184, 480, 446, 13, 288, 5411, 467, 1299, 1767, 729, 1767, 273, 4735, 1767, 12, 2293, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 24571, 30587, 1506, 37, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 24571, 30587, 1506, 37, 67, 1157, 13429, 3212, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 24951, 67, 1639, 43, 9719, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 1157, 13429, 3212, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 1157, 13429, 3212, 67, 7085, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 2203, 1457, 58, 3212, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 22639, 67, 7509, 30587, 19545, 67, 2203, 1457, 58, 3212, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 22639, 67, 1157, 13429, 3212, 67, 7085, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 5923, 67, 7263, 1013, 67, 12289, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 7263, 1013, 67, 12289, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 2248, 5017, 3378, 1146, 67, 4594, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 7263, 1013, 67, 12289, 67, 31669, 900, 1769, 5411, 1339, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 8514, 2911, 12, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 9984, 590, 16, 12446, 766, 13, 1216, 1185, 288, 202, 3639, 727, 26166, 1339, 273, 590, 18, 588, 2157, 12, 5743, 1769, 3639, 309, 261, 3184, 480, 446, 13, 288, 5411, 467, 1299, 1767, 729, 1767, 273, 4735, 1767, 12, 2293, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 24571, 30587, 1506, 37, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 24571, 30587, 1506, 37, 67, 1157, 13429, 3212, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 24951, 67, 1639, 43, 9719, 1769, 5411, 1339, 18, 4479, 1499, 12, 2157, 2918, 18, 1157, 13429, 3212, 1769, 5411, 1339, 18, 2 ]
public ModelBased map (Filterable source){
public ModelBased map (Filterable source){
public ModelBased map (Filterable source){ // TODO take any object. just like filter() Filterable o = this.filter("MAPPING...",source); return (ModelBased) model2target.get(o); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/0aa4af63b981e511b5fb82621bc6293945ca0d64/ModelMapper.java/clean/components/common/src/ome/util/ModelMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3164, 9802, 852, 261, 1586, 429, 1084, 15329, 368, 2660, 4862, 1281, 733, 18, 2537, 3007, 1034, 1435, 202, 202, 1586, 429, 320, 273, 333, 18, 2188, 2932, 20450, 7070, 16, 3168, 1769, 202, 202, 2463, 261, 1488, 9802, 13, 938, 22, 3299, 18, 588, 12, 83, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 3164, 9802, 852, 261, 1586, 429, 1084, 15329, 368, 2660, 4862, 1281, 733, 18, 2537, 3007, 1034, 1435, 202, 202, 1586, 429, 320, 273, 333, 18, 2188, 2932, 20450, 7070, 16, 3168, 1769, 202, 202, 2463, 261, 1488, 9802, 13, 938, 22, 3299, 18, 588, 12, 83, 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 ]
informationPanel.setLayout(null);
informationPanel.setLayout(new BorderLayout());
private void addInformationPanel() { // Create UI elements for connection information. JPanel informationPanel = new JPanel(); informationPanel.setLayout(null); // Add the Host information JPanel connPanel = new JPanel(); connPanel.setLayout(null); connPanel.setBorder(BorderFactory.createTitledBorder("Connection information")); connPanel.setBounds(0, 0, 320, 135); JLabel label = new JLabel("Host: "); label.setBounds(10, 20, 150, 14); label.setMinimumSize(new java.awt.Dimension(150, 14)); label.setMaximumSize(new java.awt.Dimension(150, 14)); connPanel.add(label); JFormattedTextField field = new JFormattedTextField(connection.getHost()); field.setBounds(160, 18, 150, 20); field.setMinimumSize(new java.awt.Dimension(150, 20)); field.setMaximumSize(new java.awt.Dimension(150, 20)); field.setEditable(false); field.setBorder(null); connPanel.add(field); // Add the Port information label = new JLabel("Port: "); label.setBounds(10, 42, 150, 14); label.setMinimumSize(new java.awt.Dimension(150, 14)); label.setMaximumSize(new java.awt.Dimension(150, 14)); connPanel.add(label); field = new JFormattedTextField(new Integer(connection.getPort())); field.setBounds(160, 40, 150, 20); field.setMinimumSize(new java.awt.Dimension(150, 20)); field.setMaximumSize(new java.awt.Dimension(150, 20)); field.setEditable(false); field.setBorder(null); connPanel.add(field); // Add the connection's User information label = new JLabel("User: "); label.setBounds(10, 64, 150, 14); label.setMinimumSize(new java.awt.Dimension(150, 14)); label.setMaximumSize(new java.awt.Dimension(150, 14)); connPanel.add(label); userField = new JFormattedTextField(); userField.setBounds(160, 62, 150, 20); userField.setMinimumSize(new java.awt.Dimension(150, 20)); userField.setMaximumSize(new java.awt.Dimension(150, 20)); userField.setEditable(false); userField.setBorder(null); connPanel.add(userField); // Add the connection's creationTime information label = new JLabel("Creation time: "); label.setBounds(10, 86, 150, 14); label.setMinimumSize(new java.awt.Dimension(150, 14)); label.setMaximumSize(new java.awt.Dimension(150, 14)); connPanel.add(label); field = new JFormattedTextField(new SimpleDateFormat("yyyy.MM.dd hh:mm:ss aaa")); field.setBounds(160, 84, 150, 20); field.setMinimumSize(new java.awt.Dimension(150, 20)); field.setMaximumSize(new java.awt.Dimension(150, 20)); field.setValue(creationTime); field.setEditable(false); field.setBorder(null); connPanel.add(field); // Add the connection's creationTime information label = new JLabel("Status: "); label.setBounds(10, 108, 150, 14); label.setMinimumSize(new java.awt.Dimension(150, 14)); label.setMaximumSize(new java.awt.Dimension(150, 14)); connPanel.add(label); statusField = new JFormattedTextField(); statusField.setBounds(160, 106, 150, 20); statusField.setMinimumSize(new java.awt.Dimension(150, 20)); statusField.setMaximumSize(new java.awt.Dimension(150, 20)); statusField.setValue("Active"); statusField.setEditable(false); statusField.setBorder(null); connPanel.add(statusField); // Add the connection panel to the information panel informationPanel.add(connPanel); // Add the Number of sent packets information JPanel packetsPanel = new JPanel(); packetsPanel.setLayout(new GridLayout(1, 1)); //packetsPanel.setLayout(null); packetsPanel.setBorder(BorderFactory.createTitledBorder("Transmitted Packets")); packetsPanel.setBounds(1, 135, 320, 174); statisticsTable = new DefaultTableModel(new Object[][] { { "IQ", new Integer(0), new Integer(0)}, { "Message", new Integer(0), new Integer(0) }, { "Presence", new Integer(0), new Integer(0) }, { "Other", new Integer(0), new Integer(0) }, { "Total", new Integer(0), new Integer(0) } }, new Object[] { "Type", "Received", "Sent" }) { public boolean isCellEditable(int rowIndex, int mColIndex) { return false; } }; JTable table = new JTable(statisticsTable); // Allow only single a selection table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); packetsPanel.add(new JScrollPane(table)); // Add the packets panel to the information panel informationPanel.add(packetsPanel); tabbedPane.add("Information", new JScrollPane(informationPanel)); tabbedPane.setToolTipTextAt(4, "Information and statistics about the debugged connection"); }
4336 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4336/878aee904393c62651527642b23dc553a8ce14d3/EnhancedDebugger.java/buggy/source/org/jivesoftware/smackx/debugger/EnhancedDebugger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 527, 5369, 5537, 1435, 288, 3639, 368, 1788, 6484, 2186, 364, 1459, 1779, 18, 3639, 24048, 1779, 5537, 273, 394, 24048, 5621, 3639, 1779, 5537, 18, 542, 3744, 12, 2704, 30814, 10663, 3639, 368, 1436, 326, 4893, 1779, 3639, 24048, 1487, 5537, 273, 394, 24048, 5621, 3639, 1487, 5537, 18, 542, 3744, 12, 2011, 1769, 3639, 1487, 5537, 18, 542, 8107, 12, 8107, 1733, 18, 2640, 56, 305, 1259, 8107, 2932, 1952, 1779, 7923, 1769, 3639, 1487, 5537, 18, 542, 5694, 12, 20, 16, 374, 16, 890, 3462, 16, 404, 4763, 1769, 3639, 21403, 1433, 273, 394, 21403, 2932, 2594, 30, 315, 1769, 3639, 1433, 18, 542, 5694, 12, 2163, 16, 4200, 16, 18478, 16, 5045, 1769, 3639, 1433, 18, 542, 13042, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 12, 23014, 16, 5045, 10019, 3639, 1433, 18, 542, 13528, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 12, 23014, 16, 5045, 10019, 3639, 1487, 5537, 18, 1289, 12, 1925, 1769, 3639, 804, 18298, 16157, 652, 273, 394, 804, 18298, 16157, 12, 4071, 18, 588, 2594, 10663, 3639, 652, 18, 542, 5694, 12, 16874, 16, 6549, 16, 18478, 16, 4200, 1769, 3639, 652, 18, 542, 13042, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 12, 23014, 16, 4200, 10019, 3639, 652, 18, 542, 13528, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 12, 23014, 16, 4200, 10019, 3639, 652, 18, 542, 15470, 12, 5743, 1769, 3639, 652, 18, 542, 8107, 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, 527, 5369, 5537, 1435, 288, 3639, 368, 1788, 6484, 2186, 364, 1459, 1779, 18, 3639, 24048, 1779, 5537, 273, 394, 24048, 5621, 3639, 1779, 5537, 18, 542, 3744, 12, 2704, 30814, 10663, 3639, 368, 1436, 326, 4893, 1779, 3639, 24048, 1487, 5537, 273, 394, 24048, 5621, 3639, 1487, 5537, 18, 542, 3744, 12, 2011, 1769, 3639, 1487, 5537, 18, 542, 8107, 12, 8107, 1733, 18, 2640, 56, 305, 1259, 8107, 2932, 1952, 1779, 7923, 1769, 3639, 1487, 5537, 18, 542, 5694, 12, 20, 16, 374, 16, 890, 3462, 16, 404, 4763, 1769, 3639, 21403, 1433, 273, 394, 21403, 2932, 2594, 30, 315, 1769, 3639, 1433, 18, 542, 5694, 12, 2163, 16, 4200, 16, 18478, 16, 5045, 2 ]
String value = null;
Object value = null;
private String interpolateInternal( String src, Model model ) { String result = src; Matcher matcher = EXPRESSION_PATTERN.matcher( result ); while ( matcher.find() ) { String wholeExpr = matcher.group( 0 ); String realExpr = matcher.group( 2 ); String value = null; try { value = String.valueOf( ReflectionValueExtractor.evaluate( realExpr, model ) ); } catch ( Exception e ) { Logger logger = getLogger(); if ( logger != null ) { logger.debug( "POM interpolation cannot proceed with expression: " + wholeExpr + ". Skipping...", e ); } } if ( value != null ) { result = StringUtils.replace( result, wholeExpr, value ); // could use: // result = matcher.replaceFirst( value ); // but this could result in multiple lookups of value, and replaceAll is not correct behaviour matcher.reset( result ); } } return result; }
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/16ea6ce332bf399267bfc2c449496e23736433b2/RegexBasedModelInterpolator.java/clean/maven-core/src/main/java/org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 13156, 3061, 12, 514, 1705, 16, 3164, 938, 262, 565, 288, 3639, 514, 563, 273, 1705, 31, 3639, 9757, 4546, 273, 5675, 14227, 67, 10831, 18, 22761, 12, 563, 11272, 3639, 1323, 261, 4546, 18, 4720, 1435, 262, 3639, 288, 5411, 514, 7339, 4742, 273, 4546, 18, 1655, 12, 374, 11272, 5411, 514, 2863, 4742, 273, 4546, 18, 1655, 12, 576, 11272, 5411, 1033, 460, 273, 446, 31, 2398, 775, 5411, 288, 7734, 460, 273, 514, 18, 1132, 951, 12, 5685, 620, 10958, 18, 21024, 12, 2863, 4742, 16, 938, 262, 11272, 5411, 289, 5411, 1044, 261, 1185, 425, 262, 5411, 288, 7734, 4242, 1194, 273, 7156, 5621, 7734, 309, 261, 1194, 480, 446, 262, 7734, 288, 10792, 1194, 18, 4148, 12, 315, 52, 1872, 12851, 2780, 11247, 598, 2652, 30, 315, 397, 7339, 4742, 397, 3552, 27455, 7070, 16, 425, 11272, 7734, 289, 5411, 289, 5411, 309, 261, 460, 480, 446, 262, 5411, 288, 7734, 563, 273, 5778, 18, 2079, 12, 563, 16, 7339, 4742, 16, 460, 11272, 7734, 368, 3377, 999, 30, 7734, 368, 563, 273, 4546, 18, 2079, 3759, 12, 460, 11272, 7734, 368, 1496, 333, 3377, 563, 316, 3229, 20286, 434, 460, 16, 471, 10344, 353, 486, 3434, 14273, 1171, 4546, 18, 6208, 12, 563, 11272, 5411, 289, 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, 514, 13156, 3061, 12, 514, 1705, 16, 3164, 938, 262, 565, 288, 3639, 514, 563, 273, 1705, 31, 3639, 9757, 4546, 273, 5675, 14227, 67, 10831, 18, 22761, 12, 563, 11272, 3639, 1323, 261, 4546, 18, 4720, 1435, 262, 3639, 288, 5411, 514, 7339, 4742, 273, 4546, 18, 1655, 12, 374, 11272, 5411, 514, 2863, 4742, 273, 4546, 18, 1655, 12, 576, 11272, 5411, 1033, 460, 273, 446, 31, 2398, 775, 5411, 288, 7734, 460, 273, 514, 18, 1132, 951, 12, 5685, 620, 10958, 18, 21024, 12, 2863, 4742, 16, 938, 262, 11272, 5411, 289, 5411, 1044, 261, 1185, 425, 262, 5411, 288, 7734, 4242, 1194, 273, 7156, 5621, 7734, 309, 261, 1194, 480, 446, 262, 7734, 2 ]
XSLTUtils.addAttribute(globalWrappedDocument,"package",packageName,rootElement);
String tempPackageName = null; if (packageName.endsWith(".")){ tempPackageName = this.packageName.substring(0, this.packageName.lastIndexOf(".")); } XSLTUtils.addAttribute(globalWrappedDocument,"package",tempPackageName,rootElement);
public void init(CompilerOptions options) throws SchemaCompilationException { try { initWithFile(options.getOutputLocation()); this.packageName = options.getPackageName(); this.wrapClasses = options.isWrapClasses(); //if the wrap mode is set then create a global document to keep the wrapped //element models if (options.isWrapClasses()){ globalWrappedDocument = XSLTUtils.getDocument(); Element rootElement = XSLTUtils.getElement(globalWrappedDocument,"beans"); globalWrappedDocument.appendChild(rootElement); XSLTUtils.addAttribute(globalWrappedDocument,"name",WRAPPED_DATABINDING_CLASS_NAME,rootElement); XSLTUtils.addAttribute(globalWrappedDocument,"package",packageName,rootElement); } } catch (IOException e) { throw new SchemaCompilationException(e); } catch (ParserConfigurationException e) { throw new SchemaCompilationException(e); //todo need to put correct error messages } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/7c5e79ced6e9cbd28efc5930f52920f0f9957c14/JavaBeanWriter.java/clean/modules/codegen/src/org/apache/axis2/schema/writer/JavaBeanWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 9213, 1320, 702, 13, 1216, 4611, 19184, 503, 288, 3639, 775, 288, 5411, 1208, 1190, 812, 12, 2116, 18, 588, 1447, 2735, 10663, 5411, 333, 18, 5610, 461, 273, 702, 18, 588, 18308, 5621, 5411, 333, 18, 4113, 4818, 273, 702, 18, 291, 2964, 4818, 5621, 5411, 368, 430, 326, 2193, 1965, 353, 444, 1508, 752, 279, 2552, 1668, 358, 3455, 326, 5805, 5411, 368, 2956, 3679, 5411, 309, 261, 2116, 18, 291, 2964, 4818, 10756, 95, 7734, 2552, 17665, 2519, 273, 20751, 1989, 18, 588, 2519, 5621, 7734, 3010, 27575, 273, 20751, 1989, 18, 21336, 12, 6347, 17665, 2519, 10837, 2196, 634, 8863, 7734, 2552, 17665, 2519, 18, 6923, 1763, 12, 3085, 1046, 1769, 7734, 20751, 1989, 18, 1289, 1499, 12, 6347, 17665, 2519, 10837, 529, 3113, 27664, 12120, 67, 11102, 2090, 2356, 1360, 67, 5237, 67, 1985, 16, 3085, 1046, 1769, 7734, 514, 1906, 18308, 273, 446, 31, 309, 261, 5610, 461, 18, 5839, 1190, 2932, 1199, 3719, 95, 1906, 18308, 273, 333, 18, 5610, 461, 18, 28023, 12, 20, 16, 333, 18, 5610, 461, 18, 2722, 31985, 2932, 1199, 10019, 289, 225, 20751, 1989, 18, 1289, 1499, 12, 6347, 17665, 2519, 10837, 5610, 3113, 5814, 18308, 16, 3085, 1046, 1769, 5411, 289, 3639, 289, 1044, 261, 14106, 425, 13, 288, 5411, 604, 394, 4611, 19184, 503, 12, 73, 1769, 3639, 289, 1044, 261, 2678, 10737, 425, 13, 288, 5411, 604, 394, 4611, 19184, 503, 12, 73, 1769, 368, 9012, 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, 9213, 1320, 702, 13, 1216, 4611, 19184, 503, 288, 3639, 775, 288, 5411, 1208, 1190, 812, 12, 2116, 18, 588, 1447, 2735, 10663, 5411, 333, 18, 5610, 461, 273, 702, 18, 588, 18308, 5621, 5411, 333, 18, 4113, 4818, 273, 702, 18, 291, 2964, 4818, 5621, 5411, 368, 430, 326, 2193, 1965, 353, 444, 1508, 752, 279, 2552, 1668, 358, 3455, 326, 5805, 5411, 368, 2956, 3679, 5411, 309, 261, 2116, 18, 291, 2964, 4818, 10756, 95, 7734, 2552, 17665, 2519, 273, 20751, 1989, 18, 588, 2519, 5621, 7734, 3010, 27575, 273, 20751, 1989, 18, 21336, 12, 6347, 17665, 2519, 10837, 2196, 634, 8863, 7734, 2552, 17665, 2519, 18, 6923, 1763, 12, 3085, 1046, 2 ]
return ele;
public Object constructorChainElementId(Object element) { ConstructorChainElement ele = (ConstructorChainElement)element; ele.setName(currName); return ele; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/1408e4cd833b907fe44a1e7f51c25316752fa21f/DOMBuilder.java/clean/core/org.eclipse.cdt.core/dom/org/eclipse/cdt/internal/core/dom/DOMBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3885, 3893, 1046, 548, 12, 921, 930, 13, 288, 202, 202, 6293, 3893, 1046, 5043, 273, 261, 6293, 3893, 1046, 13, 2956, 31, 202, 202, 6516, 18, 542, 461, 12, 17016, 461, 1769, 202, 202, 2463, 5043, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3885, 3893, 1046, 548, 12, 921, 930, 13, 288, 202, 202, 6293, 3893, 1046, 5043, 273, 261, 6293, 3893, 1046, 13, 2956, 31, 202, 202, 6516, 18, 542, 461, 12, 17016, 461, 1769, 202, 202, 2463, 5043, 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 ]
while (xmls.hasMoreElements()) { URL xml = (URL) xmls.nextElement(); MessageUtil.info(messageHandler, "using " + xml.getFile()); definitions.add(DocumentParser.parse(xml)); }
while(st.hasMoreTokens()){ Enumeration xmls = weavingContext.getResources(st.nextToken()); while (xmls.hasMoreElements()) { URL xml = (URL) xmls.nextElement(); MessageUtil.info(messageHandler, "using " + xml.getFile()); definitions.add(DocumentParser.parse(xml)); } }
private void registerDefinitions(final BcelWeaver weaver, final ClassLoader loader) { try { MessageUtil.info(messageHandler, "register classloader " + ((loader!=null)?loader.getClass().getName()+"@"+loader.hashCode():"null")); //TODO av underoptimized: we will parse each XML once per CL that see it Enumeration xmls = loader.getResources(AOP_XML); List definitions = new ArrayList(); //TODO av dev mode needed ? TBD -Daj5.def=... if (ClassLoader.getSystemClassLoader().equals(loader)) { String file = System.getProperty("aj5.def", null); if (file != null) { MessageUtil.info(messageHandler, "using (-Daj5.def) " + file); definitions.add(DocumentParser.parse((new File(file)).toURL())); } } while (xmls.hasMoreElements()) { URL xml = (URL) xmls.nextElement(); MessageUtil.info(messageHandler, "using " + xml.getFile()); definitions.add(DocumentParser.parse(xml)); } // still go thru if definitions is empty since we will configure // the default message handler in there registerOptions(weaver, loader, definitions); registerAspectExclude(weaver, loader, definitions); registerAspects(weaver, loader, definitions); registerIncludeExclude(weaver, loader, definitions); registerDump(weaver, loader, definitions); } catch (Exception e) { weaver.getWorld().getMessageHandler().handleMessage( new Message("Register definition failed", IMessage.WARNING, e, null) ); } }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/03b20bc1129e03d5e8594262b89021e54ab017f9/ClassLoaderWeavingAdaptor.java/buggy/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1744, 7130, 12, 6385, 605, 2183, 3218, 21851, 732, 21851, 16, 727, 9403, 4088, 13, 288, 3639, 775, 288, 5411, 2350, 1304, 18, 1376, 12, 2150, 1503, 16, 315, 4861, 20595, 315, 397, 14015, 6714, 5, 33, 2011, 9945, 6714, 18, 588, 797, 7675, 17994, 1435, 9078, 27614, 15, 6714, 18, 2816, 1085, 1435, 2773, 2011, 7923, 1769, 5411, 368, 6241, 1712, 3613, 16689, 1235, 30, 732, 903, 1109, 1517, 3167, 3647, 1534, 14934, 716, 2621, 518, 5411, 13864, 2025, 87, 273, 4088, 18, 588, 3805, 12, 37, 3665, 67, 4201, 1769, 5411, 987, 6377, 273, 394, 2407, 5621, 5411, 368, 6241, 1712, 4461, 1965, 3577, 692, 399, 18096, 300, 40, 4365, 25, 18, 536, 33, 2777, 5411, 309, 261, 7805, 18, 588, 3163, 7805, 7675, 14963, 12, 6714, 3719, 288, 7734, 514, 585, 273, 2332, 18, 588, 1396, 2932, 4365, 25, 18, 536, 3113, 446, 1769, 7734, 309, 261, 768, 480, 446, 13, 288, 10792, 2350, 1304, 18, 1376, 12, 2150, 1503, 16, 315, 9940, 24927, 40, 4365, 25, 18, 536, 13, 315, 397, 585, 1769, 10792, 6377, 18, 1289, 12, 2519, 2678, 18, 2670, 12443, 2704, 1387, 12, 768, 13, 2934, 869, 1785, 1435, 10019, 7734, 289, 5411, 289, 5411, 1323, 261, 2902, 87, 18, 5332, 7417, 3471, 10756, 288, 7734, 1976, 2025, 273, 261, 1785, 13, 2025, 87, 18, 4285, 1046, 5621, 7734, 2350, 1304, 18, 1376, 12, 2150, 1503, 16, 315, 9940, 315, 397, 2025, 18, 29925, 10663, 7734, 6377, 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, 1744, 7130, 12, 6385, 605, 2183, 3218, 21851, 732, 21851, 16, 727, 9403, 4088, 13, 288, 3639, 775, 288, 5411, 2350, 1304, 18, 1376, 12, 2150, 1503, 16, 315, 4861, 20595, 315, 397, 14015, 6714, 5, 33, 2011, 9945, 6714, 18, 588, 797, 7675, 17994, 1435, 9078, 27614, 15, 6714, 18, 2816, 1085, 1435, 2773, 2011, 7923, 1769, 5411, 368, 6241, 1712, 3613, 16689, 1235, 30, 732, 903, 1109, 1517, 3167, 3647, 1534, 14934, 716, 2621, 518, 5411, 13864, 2025, 87, 273, 4088, 18, 588, 3805, 12, 37, 3665, 67, 4201, 1769, 5411, 987, 6377, 273, 394, 2407, 5621, 5411, 368, 6241, 1712, 4461, 1965, 3577, 692, 399, 18096, 300, 40, 4365, 25, 18, 536, 33, 2 ]
if (_progState != IDLE) log.warn("Programming state "+_progState+", not IDLE, in write()");
if (_progState != IDLE) log.warn("CV "+getCvNum()+","+getSecondCvNum()+" Programming state "+_progState+", not IDLE, in write()");
public void writeAll() { if (log.isDebugEnabled()) log.debug("write() invoked"); if (getReadOnly()) log.error("unexpected write operation when readOnly is set"); setToWrite(false); setBusy(true); // will be reset when value changes if (_progState != IDLE) log.warn("Programming state "+_progState+", not IDLE, in write()"); _progState = WRITING_FIRST; if (log.isDebugEnabled()) log.debug("invoke CV write"); ((CvValue)_cvVector.elementAt(getCvNum())).write(_status); }
213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/4f6cc3462d641dd1c34a86e68c95eac1c3b6e35a/SplitVariableValue.java/clean/jmri/jmrit/symbolicprog/SplitVariableValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 1595, 1435, 288, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 2626, 1435, 8187, 8863, 3639, 309, 261, 588, 12066, 10756, 613, 18, 1636, 2932, 21248, 1045, 1674, 1347, 15075, 353, 444, 8863, 3639, 19892, 3067, 12, 5743, 1769, 3639, 444, 29289, 12, 3767, 1769, 225, 368, 903, 506, 2715, 1347, 460, 3478, 3639, 309, 261, 67, 14654, 1119, 480, 1599, 900, 13, 613, 18, 8935, 2932, 22007, 13773, 588, 39, 90, 2578, 1435, 15, 15937, 15, 588, 8211, 39, 90, 2578, 1435, 9078, 13586, 11987, 919, 13773, 67, 14654, 1119, 15, 3113, 486, 1599, 900, 16, 316, 1045, 1435, 8863, 3639, 389, 14654, 1119, 273, 12984, 1285, 1360, 67, 15354, 31, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 14407, 385, 58, 1045, 8863, 3639, 14015, 39, 90, 620, 13, 67, 19774, 5018, 18, 2956, 861, 12, 588, 39, 90, 2578, 10756, 2934, 2626, 24899, 2327, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 1595, 1435, 288, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 2626, 1435, 8187, 8863, 3639, 309, 261, 588, 12066, 10756, 613, 18, 1636, 2932, 21248, 1045, 1674, 1347, 15075, 353, 444, 8863, 3639, 19892, 3067, 12, 5743, 1769, 3639, 444, 29289, 12, 3767, 1769, 225, 368, 903, 506, 2715, 1347, 460, 3478, 3639, 309, 261, 67, 14654, 1119, 480, 1599, 900, 13, 613, 18, 8935, 2932, 22007, 13773, 588, 39, 90, 2578, 1435, 15, 15937, 15, 588, 8211, 39, 90, 2578, 1435, 9078, 13586, 11987, 919, 13773, 67, 14654, 1119, 15, 3113, 486, 1599, 900, 16, 316, 1045, 1435, 8863, 3639, 389, 14654, 1119, 273, 12984, 1285, 1360, 67, 2 ]
type = col_type.substring(0, start); size = col_type.substring(start + 1, end).replaceAll(",\\d+", "");
type = columnType.substring(0, start); size = columnType.substring(start + 1, end).replaceAll(",\\d+", "");
public void parseColumnType(String col_type) throws Exception { int start, end; String type, size = null; start = col_type.indexOf('('); end = col_type.indexOf(')'); if (start != -1 && end != -1) { type = col_type.substring(0, start); size = col_type.substring(start + 1, end).replaceAll(",\\d+", ""); } else { type = col_type; } this.setType(normalizeColumnType(type, size != null)); if (size != null) { this.setSize(Integer.parseInt(size)); } else { this.setSize(columnTypeSize(this.getType())); } }
11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/ef55c7ddb2f6b65a1f9f5a00e7fde7cd55916149/Column.java/clean/opennms-install/src/main/java/org/opennms/install/Column.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1109, 28149, 12, 780, 645, 67, 723, 13, 1216, 1185, 288, 3639, 509, 787, 16, 679, 31, 3639, 514, 618, 16, 963, 273, 446, 31, 3639, 787, 273, 645, 67, 723, 18, 31806, 2668, 2668, 1769, 3639, 679, 273, 645, 67, 723, 18, 31806, 2668, 2506, 1769, 3639, 309, 261, 1937, 480, 300, 21, 597, 679, 480, 300, 21, 13, 288, 5411, 618, 273, 645, 67, 723, 18, 28023, 12, 20, 16, 787, 1769, 5411, 963, 273, 645, 67, 723, 18, 28023, 12, 1937, 397, 404, 16, 679, 2934, 2079, 1595, 2932, 16, 1695, 72, 15, 3113, 1408, 1769, 3639, 289, 469, 288, 5411, 618, 273, 645, 67, 723, 31, 3639, 289, 3639, 333, 18, 542, 559, 12, 12237, 28149, 12, 723, 16, 963, 480, 446, 10019, 3639, 309, 261, 1467, 480, 446, 13, 288, 5411, 333, 18, 542, 1225, 12, 4522, 18, 2670, 1702, 12, 1467, 10019, 3639, 289, 469, 288, 5411, 333, 18, 542, 1225, 12, 2827, 559, 1225, 12, 2211, 18, 588, 559, 1435, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1109, 28149, 12, 780, 645, 67, 723, 13, 1216, 1185, 288, 3639, 509, 787, 16, 679, 31, 3639, 514, 618, 16, 963, 273, 446, 31, 3639, 787, 273, 645, 67, 723, 18, 31806, 2668, 2668, 1769, 3639, 679, 273, 645, 67, 723, 18, 31806, 2668, 2506, 1769, 3639, 309, 261, 1937, 480, 300, 21, 597, 679, 480, 300, 21, 13, 288, 5411, 618, 273, 645, 67, 723, 18, 28023, 12, 20, 16, 787, 1769, 5411, 963, 273, 645, 67, 723, 18, 28023, 12, 1937, 397, 404, 16, 679, 2934, 2079, 1595, 2932, 16, 1695, 72, 15, 3113, 1408, 1769, 3639, 289, 469, 288, 5411, 618, 273, 645, 67, 723, 31, 3639, 289, 3639, 333, 18, 542, 2 ]
g.setColor(MetalLookAndFeel.getControlHighlight()); g.drawLine(x + 1, y, x + 1, y + h - 7); g.drawLine(x + 1, y + h - 7, x + 7, y + h - 1); } g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(x, y, x, y + h - 7); g.drawLine(x, y + h - 7, x + 6, y + h - 1); g.drawLine(x + 6, y + h - 1, x + w, y + h - 1); g.drawLine(x + w, y + h - 1, x + w, y);
g.setColor(selectHighlight); } else { g.setColor(highlight); } g.drawLine(1, bottom - 4, 1, bottom); } g.translate(-x, -y);
protected void paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGap(currentRun, x, y)); g.fillRect(1, h - 5, 3, 5); g.fillRect(4, h - 2, 2, 2); g.translate(-x, -y); } if (isSelected) { g.setColor(MetalLookAndFeel.getControlHighlight()); g.drawLine(x + 1, y, x + 1, y + h - 7); g.drawLine(x + 1, y + h - 7, x + 7, y + h - 1); } g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(x, y, x, y + h - 7); g.drawLine(x, y + h - 7, x + 6, y + h - 1); g.drawLine(x + 6, y + h - 1, x + w, y + h - 1); g.drawLine(x + w, y + h - 1, x + w, y); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/MetalTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalTabbedPaneUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 12574, 10393, 5661, 8107, 12, 474, 3246, 1016, 16, 16830, 314, 16, 509, 619, 16, 509, 677, 16, 1377, 509, 341, 16, 509, 366, 16, 509, 10921, 81, 16, 509, 14524, 647, 16, 1250, 20956, 13, 225, 288, 565, 509, 783, 1997, 273, 336, 1997, 1290, 5661, 12, 7032, 8485, 18, 588, 5661, 1380, 9334, 3246, 1016, 1769, 565, 309, 261, 13139, 8026, 14001, 12, 2972, 1997, 16, 3246, 1016, 16, 619, 16, 677, 3719, 1377, 288, 3639, 314, 18, 13929, 12, 92, 16, 677, 1769, 3639, 314, 18, 542, 2957, 12, 588, 2957, 1290, 14001, 12, 2972, 1997, 16, 619, 16, 677, 10019, 3639, 314, 18, 5935, 6120, 12, 21, 16, 366, 300, 1381, 16, 890, 16, 1381, 1769, 3639, 314, 18, 5935, 6120, 12, 24, 16, 366, 300, 576, 16, 576, 16, 576, 1769, 3639, 314, 18, 13929, 19236, 92, 16, 300, 93, 1769, 1377, 289, 3639, 309, 261, 291, 7416, 13, 565, 288, 1377, 314, 18, 542, 2957, 12, 26365, 9794, 1876, 2954, 292, 18, 588, 3367, 16205, 10663, 1377, 314, 18, 9446, 1670, 12, 92, 397, 404, 16, 677, 16, 619, 397, 404, 16, 677, 397, 366, 300, 2371, 1769, 5411, 314, 18, 9446, 1670, 12, 92, 397, 404, 16, 677, 397, 366, 300, 2371, 16, 619, 397, 2371, 16, 677, 397, 366, 300, 404, 1769, 565, 289, 565, 314, 18, 542, 2957, 12, 26365, 9794, 1876, 2954, 292, 18, 588, 3367, 40, 1313, 12957, 10663, 565, 314, 18, 9446, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 12574, 10393, 5661, 8107, 12, 474, 3246, 1016, 16, 16830, 314, 16, 509, 619, 16, 509, 677, 16, 1377, 509, 341, 16, 509, 366, 16, 509, 10921, 81, 16, 509, 14524, 647, 16, 1250, 20956, 13, 225, 288, 565, 509, 783, 1997, 273, 336, 1997, 1290, 5661, 12, 7032, 8485, 18, 588, 5661, 1380, 9334, 3246, 1016, 1769, 565, 309, 261, 13139, 8026, 14001, 12, 2972, 1997, 16, 3246, 1016, 16, 619, 16, 677, 3719, 1377, 288, 3639, 314, 18, 13929, 12, 92, 16, 677, 1769, 3639, 314, 18, 542, 2957, 12, 588, 2957, 1290, 14001, 12, 2972, 1997, 16, 619, 16, 677, 10019, 3639, 314, 18, 5935, 6120, 12, 21, 16, 366, 300, 1381, 16, 2 ]
propertyChangeListener = new PropertyChangeHandler();
propertyChangeListener = createPropertyChangeListener();
protected void installListeners() { propertyChangeListener = new PropertyChangeHandler(); frame.addPropertyChangeListener(propertyChangeListener); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicInternalFrameTitlePane.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 3799, 5583, 1435, 225, 288, 565, 1272, 15744, 273, 31318, 15744, 5621, 565, 2623, 18, 1289, 1396, 15744, 12, 4468, 15744, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 4750, 918, 3799, 5583, 1435, 225, 288, 565, 1272, 15744, 273, 31318, 15744, 5621, 565, 2623, 18, 1289, 1396, 15744, 12, 4468, 15744, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
}
}
public Icon getDisabledIconAt(int index) { checkIndex(index, 0, tabs.size()); return ((Page) tabs.elementAt(index)).getDisabledIcon(); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTabbedPane.java/clean/core/src/classpath/javax/javax/swing/JTabbedPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 16011, 336, 8853, 5554, 861, 12, 474, 770, 13, 225, 288, 565, 866, 1016, 12, 1615, 16, 374, 16, 10920, 18, 1467, 10663, 565, 327, 14015, 1964, 13, 10920, 18, 2956, 861, 12, 1615, 13, 2934, 588, 8853, 5554, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 16011, 336, 8853, 5554, 861, 12, 474, 770, 13, 225, 288, 565, 866, 1016, 12, 1615, 16, 374, 16, 10920, 18, 1467, 10663, 565, 327, 14015, 1964, 13, 10920, 18, 2956, 861, 12, 1615, 13, 2934, 588, 8853, 5554, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String msg = OStrings.getString("CT_ERROR_CREATE") + " (.../target/)";
String msg = OStrings.getString("CT_ERROR_CREATE") + "\n(.../target/)";
public void createProject() { // create project directories // save project files (.proj .handlers .ignore) try { if (!m_config.createNew(m_transFrame)) return; // cancel pressed // create project root directory File proj = new File(m_config.getProjectRoot()); if (!proj.isDirectory()) { if (!proj.mkdirs()) { String msg = OStrings.getString("CT_ERROR_CREATE"); throw new IOException(msg); } } // create internal directory File internal = new File(m_config.getProjectInternal()); if (!internal.isDirectory()) { if (!internal.mkdirs()) { String msg = OStrings.getString("CT_ERROR_CREATE"); throw new IOException(msg); } } // populate internal directory with project files //buildDefaultHandlerFile(hand); //buildDefaultIgnoreFile(); // create src dir File src = new File(m_config.getSourceRoot()); if (!src.isDirectory()) { if (!src.mkdirs()) { String msg = OStrings.getString("CT_ERROR_CREATE") + " (.../src/)"; // NOI18N throw new IOException(msg); } } // create glos dir File glos = new File(m_config.getGlossaryRoot()); if (!glos.isDirectory()) { if (!glos.mkdirs()) { String msg = OStrings.getString("CT_ERROR_CREATE") + " (.../glos/)"; // NOI18N throw new IOException(msg); } } // create TM dir File tm = new File(m_config.getTMRoot()); if (!tm.isDirectory()) { if (!tm.mkdirs()) { String msg = OStrings.getString("CT_ERROR_CREATE") + " (.../tm/)"; // NOI18N throw new IOException(msg); } } // create loc dir File loc = new File(m_config.getTargetRoot()); if (!loc.isDirectory()) { if (!loc.mkdirs()) { String msg = OStrings.getString("CT_ERROR_CREATE") + " (.../target/)"; // NOI18N throw new IOException(msg); } } m_config.buildProjFile(); } catch(IOException e) { // trouble in tinsletown... String msg = OStrings.getString("CT_ERROR_CREATING_PROJECT"); displayError(msg, e); } }
8797 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8797/dde913a26fa248cdef8786bf71f106ce9ff26119/CommandThread.java/buggy/src/org/omegat/core/threads/CommandThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 4109, 1435, 565, 288, 3639, 368, 752, 1984, 6402, 3639, 368, 1923, 1984, 1390, 261, 18, 17995, 263, 11046, 263, 6185, 13, 3639, 775, 3639, 288, 5411, 309, 16051, 81, 67, 1425, 18, 2640, 1908, 12, 81, 67, 2338, 3219, 3719, 7734, 327, 31, 202, 759, 3755, 19504, 13491, 368, 752, 1984, 1365, 1867, 5411, 1387, 10296, 273, 394, 1387, 12, 81, 67, 1425, 18, 588, 4109, 2375, 10663, 5411, 309, 16051, 17995, 18, 291, 2853, 10756, 5411, 288, 7734, 309, 16051, 17995, 18, 24816, 8291, 10756, 7734, 288, 10792, 514, 1234, 273, 531, 7957, 18, 588, 780, 2932, 1268, 67, 3589, 67, 9344, 8863, 10792, 604, 394, 1860, 12, 3576, 1769, 7734, 289, 5411, 289, 13491, 368, 752, 2713, 1867, 5411, 1387, 2713, 273, 394, 1387, 12, 81, 67, 1425, 18, 588, 4109, 3061, 10663, 5411, 309, 16051, 7236, 18, 291, 2853, 10756, 5411, 288, 7734, 309, 16051, 7236, 18, 24816, 8291, 10756, 7734, 288, 10792, 514, 1234, 273, 531, 7957, 18, 588, 780, 2932, 1268, 67, 3589, 67, 9344, 8863, 10792, 604, 394, 1860, 12, 3576, 1769, 7734, 289, 5411, 289, 13491, 368, 6490, 2713, 1867, 598, 1984, 1390, 5411, 368, 3510, 1868, 1503, 812, 12, 2349, 1769, 5411, 368, 3510, 1868, 3777, 812, 5621, 13491, 368, 752, 1705, 1577, 5411, 1387, 1705, 273, 394, 1387, 12, 81, 67, 1425, 18, 588, 1830, 2375, 10663, 5411, 309, 16051, 4816, 18, 291, 2853, 10756, 5411, 288, 7734, 309, 16051, 4816, 18, 24816, 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, 4109, 1435, 565, 288, 3639, 368, 752, 1984, 6402, 3639, 368, 1923, 1984, 1390, 261, 18, 17995, 263, 11046, 263, 6185, 13, 3639, 775, 3639, 288, 5411, 309, 16051, 81, 67, 1425, 18, 2640, 1908, 12, 81, 67, 2338, 3219, 3719, 7734, 327, 31, 202, 759, 3755, 19504, 13491, 368, 752, 1984, 1365, 1867, 5411, 1387, 10296, 273, 394, 1387, 12, 81, 67, 1425, 18, 588, 4109, 2375, 10663, 5411, 309, 16051, 17995, 18, 291, 2853, 10756, 5411, 288, 7734, 309, 16051, 17995, 18, 24816, 8291, 10756, 7734, 288, 10792, 514, 1234, 273, 531, 7957, 18, 588, 780, 2932, 1268, 67, 3589, 67, 9344, 8863, 10792, 604, 394, 1860, 12, 3576, 1769, 7734, 289, 5411, 2 ]
if ((xaState == XA_OPEN_IDLE) || (xaState == XA_LOCAL) || (xaState == XA_LOCAL_START_SENT)) {
if (xaState == XA_LOCAL) {
public void readCommit() throws SqlException { if (isXAConnection_) { // XA Connection int xaState = getXAState(); NetXACallInfo callInfo = xares_.callInfoArray_[currXACallInfoOffset_]; callInfo.xaRetVal_ = NetXAResource.XARETVAL_XAOK; // initialize XARETVAL if ((xaState == XA_OPEN_IDLE) || (xaState == XA_LOCAL) || (xaState == XA_LOCAL_START_SENT)) { readLocalXACommit_(); setXAState(XA_OPEN_IDLE); } if (callInfo.xaRetVal_ != NetXAResource.XARETVAL_XAOK) { // xaRetVal has possible error, format it callInfo.xaFunction_ = NetXAResource.XAFUNC_COMMIT; xares_.xaRetValErrorAccumSQL(callInfo, 0); callInfo.xaRetVal_ = NetXAResource.XARETVAL_XAOK; // re-initialize XARETVAL throw xares_.exceptionsOnXA; } } else // non-XA connections { readLocalCommit_(); } }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/38083d6823d48f5b6cc5a8590edf922b06737042/NetXAConnection.java/buggy/java/client/org/apache/derby/client/net/NetXAConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 855, 5580, 1435, 1216, 8855, 503, 288, 3639, 309, 261, 291, 17269, 1952, 67, 13, 288, 368, 12410, 4050, 5411, 509, 14139, 1119, 273, 6538, 37, 1119, 5621, 5411, 8503, 17269, 1477, 966, 745, 966, 273, 619, 4807, 27799, 1991, 966, 1076, 67, 63, 17016, 17269, 1477, 966, 2335, 67, 15533, 5411, 745, 966, 18, 6995, 7055, 3053, 67, 273, 8503, 17269, 1420, 18, 60, 9332, 56, 2669, 67, 17269, 3141, 31, 368, 4046, 1139, 9332, 56, 2669, 5411, 309, 14015, 6995, 1119, 422, 12410, 67, 11437, 67, 734, 900, 13, 747, 10792, 261, 6995, 1119, 422, 12410, 67, 14922, 13, 747, 10792, 261, 6995, 1119, 422, 12410, 67, 14922, 67, 7570, 67, 17418, 3719, 288, 7734, 855, 2042, 17269, 5580, 67, 5621, 7734, 444, 17269, 1119, 12, 17269, 67, 11437, 67, 734, 900, 1769, 5411, 289, 5411, 309, 261, 1991, 966, 18, 6995, 7055, 3053, 67, 480, 8503, 17269, 1420, 18, 60, 9332, 56, 2669, 67, 17269, 3141, 13, 288, 368, 14139, 7055, 3053, 711, 3323, 555, 16, 740, 518, 7734, 745, 966, 18, 6995, 2083, 67, 273, 8503, 17269, 1420, 18, 60, 6799, 21163, 67, 18658, 31, 7734, 619, 4807, 27799, 6995, 7055, 3053, 668, 8973, 379, 3997, 12, 1991, 966, 16, 374, 1769, 7734, 745, 966, 18, 6995, 7055, 3053, 67, 273, 8503, 17269, 1420, 18, 60, 9332, 56, 2669, 67, 17269, 3141, 31, 368, 283, 17, 11160, 1139, 9332, 56, 2669, 7734, 604, 619, 4807, 27799, 11855, 1398, 17269, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 855, 5580, 1435, 1216, 8855, 503, 288, 3639, 309, 261, 291, 17269, 1952, 67, 13, 288, 368, 12410, 4050, 5411, 509, 14139, 1119, 273, 6538, 37, 1119, 5621, 5411, 8503, 17269, 1477, 966, 745, 966, 273, 619, 4807, 27799, 1991, 966, 1076, 67, 63, 17016, 17269, 1477, 966, 2335, 67, 15533, 5411, 745, 966, 18, 6995, 7055, 3053, 67, 273, 8503, 17269, 1420, 18, 60, 9332, 56, 2669, 67, 17269, 3141, 31, 368, 4046, 1139, 9332, 56, 2669, 5411, 309, 14015, 6995, 1119, 422, 12410, 67, 11437, 67, 734, 900, 13, 747, 10792, 261, 6995, 1119, 422, 12410, 67, 14922, 13, 747, 10792, 261, 6995, 1119, 422, 12410, 67, 14922, 67, 7570, 67, 17418, 3719, 288, 2 ]
return Pattern.compile( regex ).matcher( sqlCall.getString().toLowerCase() ).find();
Pattern pattern = Pattern.compile( regex, Pattern.CASE_INSENSITIVE ); Matcher matcher = pattern.matcher( sqlCall.getString() ); boolean result = matcher.find(); return result;
boolean evaluateSqlCall( MockDatabase.SqlCall sqlCall ) { return Pattern.compile( regex ).matcher( sqlCall.getString().toLowerCase() ).find(); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/bbc316023bd6c980ac775558d29abbd301e8283b/MockDatabase.java/buggy/server/src/imcode/server/db/MockDatabase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1250, 5956, 5101, 1477, 12, 7867, 4254, 18, 5101, 1477, 1847, 1477, 262, 288, 5411, 6830, 1936, 273, 6830, 18, 11100, 12, 3936, 16, 6830, 18, 13415, 67, 706, 26753, 16325, 11272, 9757, 4546, 273, 1936, 18, 22761, 12, 1847, 1477, 18, 588, 780, 1435, 11272, 1250, 563, 273, 4546, 18, 4720, 5621, 327, 563, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1250, 5956, 5101, 1477, 12, 7867, 4254, 18, 5101, 1477, 1847, 1477, 262, 288, 5411, 6830, 1936, 273, 6830, 18, 11100, 12, 3936, 16, 6830, 18, 13415, 67, 706, 26753, 16325, 11272, 9757, 4546, 273, 1936, 18, 22761, 12, 1847, 1477, 18, 588, 780, 1435, 11272, 1250, 563, 273, 4546, 18, 4720, 5621, 327, 563, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
cat.error("Unable to register descriptions for class: " + class1.getName());
EOEntity entity = (EOEntity)_entitiesForClass.objectForKey(class1.getName()); if (entity != null) { if (cat.isDebugEnabled()) cat.debug("Registering description for class: " + class1.getName() + " found entity: " + entity.name()); EOClassDescription.registerClassDescription(new ERXEntityClassDescription(entity), class1); } else { cat.error("Unable to register descriptions for class: " + class1.getName()); }
public static void registerDescriptionForClass(Class class1) { NSArray entities = (NSArray)_entitiesForClass.objectForKey(class1.getName()); if (entities != null) { if (cat.isDebugEnabled()) cat.debug("Registering descriptions for class: " + class1.getName() + " found entities: " + entities.valueForKey("name")); for (Enumeration e = entities.objectEnumerator(); e.hasMoreElements();) { EOClassDescription.registerClassDescription(new ERXEntityClassDescription((EOEntity)e.nextElement()), class1); } } else { cat.error("Unable to register descriptions for class: " + class1.getName()); } }
50512 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50512/a2a5d0a701eac8e3a4d0338a55adae2f50378898/ERXEntityClassDescription.java/buggy/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXEntityClassDescription.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1744, 3291, 22581, 12, 797, 667, 21, 13, 288, 3639, 11472, 1076, 5140, 273, 261, 3156, 1076, 13, 67, 9996, 22581, 18, 1612, 19759, 12, 1106, 21, 18, 17994, 10663, 3639, 309, 261, 9996, 480, 446, 13, 288, 5411, 309, 261, 2574, 18, 291, 2829, 1526, 10756, 7734, 6573, 18, 4148, 2932, 3996, 310, 15550, 364, 667, 30, 315, 397, 667, 21, 18, 17994, 1435, 397, 315, 1392, 5140, 30, 315, 397, 5140, 18, 1132, 19759, 2932, 529, 7923, 1769, 5411, 364, 261, 21847, 425, 273, 5140, 18, 1612, 3572, 7385, 5621, 425, 18, 5332, 7417, 3471, 5621, 13, 288, 7734, 512, 51, 797, 3291, 18, 4861, 797, 3291, 12, 2704, 4232, 60, 1943, 797, 3291, 12443, 41, 51, 1943, 13, 73, 18, 4285, 1046, 1435, 3631, 667, 21, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 512, 51, 1943, 1522, 273, 261, 41, 51, 1943, 13, 67, 9996, 22581, 18, 1612, 19759, 12, 1106, 21, 18, 17994, 10663, 309, 261, 1096, 480, 446, 13, 288, 309, 261, 2574, 18, 291, 2829, 1526, 10756, 6573, 18, 4148, 2932, 3996, 310, 2477, 364, 667, 30, 315, 397, 667, 21, 18, 17994, 1435, 397, 315, 1392, 1522, 30, 315, 397, 1522, 18, 529, 10663, 512, 51, 797, 3291, 18, 4861, 797, 3291, 12, 2704, 4232, 60, 1943, 797, 3291, 12, 1096, 3631, 667, 21, 1769, 289, 469, 288, 6573, 18, 1636, 2932, 3370, 358, 1744, 15550, 364, 667, 30, 315, 397, 667, 21, 18, 17994, 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, 1744, 3291, 22581, 12, 797, 667, 21, 13, 288, 3639, 11472, 1076, 5140, 273, 261, 3156, 1076, 13, 67, 9996, 22581, 18, 1612, 19759, 12, 1106, 21, 18, 17994, 10663, 3639, 309, 261, 9996, 480, 446, 13, 288, 5411, 309, 261, 2574, 18, 291, 2829, 1526, 10756, 7734, 6573, 18, 4148, 2932, 3996, 310, 15550, 364, 667, 30, 315, 397, 667, 21, 18, 17994, 1435, 397, 315, 1392, 5140, 30, 315, 397, 5140, 18, 1132, 19759, 2932, 529, 7923, 1769, 5411, 364, 261, 21847, 425, 273, 5140, 18, 1612, 3572, 7385, 5621, 425, 18, 5332, 7417, 3471, 5621, 13, 288, 7734, 512, 51, 797, 3291, 18, 4861, 797, 3291, 12, 2704, 4232, 60, 1943, 797, 2 ]
return BugzillaUiPlugin.getDefault().getBugzillaProvider().getBugzillaDescription(this);
return BugzillaTasksTools.getBugzillaDescription(this);
public String getLabel() { return BugzillaUiPlugin.getDefault().getBugzillaProvider().getBugzillaDescription(this); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/ce202c52beca6c77f2a9cb43afc78b43fd0b3042/BugzillaTask.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasks/BugzillaTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 11237, 1435, 288, 3639, 327, 16907, 15990, 6685, 10348, 18, 588, 19865, 15990, 3291, 12, 2211, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 11237, 1435, 288, 3639, 327, 16907, 15990, 6685, 10348, 18, 588, 19865, 15990, 3291, 12, 2211, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
addSectionToDocument(service, metaId, section.getId());
addSectionToDocument( service, metaId, section.getId() );
private void updateDocumentSections(int metaId, SectionDomainObject[] sections) { removeAllSectionsFromDocument(service, metaId); for (int i = 0; null != sections && i < sections.length; i++) { SectionDomainObject section = sections[i]; addSectionToDocument(service, metaId, section.getId()); } }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/f203f6fc91c9ae8d2fcd69e28ea9f0981a4ee690/DocumentMapper.java/buggy/server/src/imcode/server/document/DocumentMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 2519, 15965, 12, 474, 2191, 548, 16, 4766, 3639, 10092, 3748, 921, 8526, 7178, 13, 288, 3639, 12787, 15965, 1265, 2519, 12, 3278, 16, 2191, 548, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 446, 480, 7178, 597, 277, 411, 7178, 18, 2469, 31, 277, 27245, 288, 5411, 10092, 3748, 921, 2442, 273, 7178, 63, 77, 15533, 5411, 527, 5285, 774, 2519, 12, 1156, 16, 2191, 548, 16, 2442, 18, 26321, 1435, 11272, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 2519, 15965, 12, 474, 2191, 548, 16, 4766, 3639, 10092, 3748, 921, 8526, 7178, 13, 288, 3639, 12787, 15965, 1265, 2519, 12, 3278, 16, 2191, 548, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 446, 480, 7178, 597, 277, 411, 7178, 18, 2469, 31, 277, 27245, 288, 5411, 10092, 3748, 921, 2442, 273, 7178, 63, 77, 15533, 5411, 527, 5285, 774, 2519, 12, 1156, 16, 2191, 548, 16, 2442, 18, 26321, 1435, 11272, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
VM.sysWrite(iterations,false);
VM.sysWriteInt(iterations);
private static void accessGetCounter(int iterations, int cycle_counter, int counter, boolean jni) { //-#if RVM_WITH_HPM // time in seconds double startTime = VM_Time.now(); if (jni == JNI) { Java2HPM.resetCounters(); Java2HPM.startCounting(); } else { VM.sysCall0(VM_BootRecord.the_boot_record.sysHPMresetCountersIP); VM.sysCall0(VM_BootRecord.the_boot_record.sysHPMstartCountingIP); } long count; for (int i = 0; i < iterations; i++) { if (jni == JNI) { count = Java2HPM.getCounterValue(counter); } else { count = VM.sysCall_L_I(VM_BootRecord.the_boot_record.sysHPMgetCounterIP,counter); } } long cycles; if (jni == JNI) { cycles = Java2HPM.getCounterValue(cycle_counter); } else { cycles = VM.sysCall_L_I(VM_BootRecord.the_boot_record.sysHPMgetCounterIP,cycle_counter); } double endTime = VM_Time.now(); // time in milliseconds double time = (endTime - startTime)*1000; // time in nano seconds double averageTime = sixDigitDecimal((time / (double) iterations)*1000000); double averageCycles = ((cycles*100)/ iterations) / (double) 100; if (jni == JNI) { VM.sysWrite(" JNI AccessGetCounter("); } else { VM.sysWrite(" sysCall AccessGetCounter("); } VM.sysWrite(iterations,false); VM.sysWrite(", ",cycle_counter,", ",counter); VM.sysWrite(") time: total ",time);VM.sysWrite("ms (",averageTime); VM.sysWrite("ns); cycles: ");VM.sysWrite(cycles,false); VM.sysWrite("(",averageCycles);VM.sysWrite(")\n"); //-#endif }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/453ee06ad5828ed1a8bd3a525b1cd4099fa673bd/Java2HPM.java/buggy/rvm/src/vm/arch/powerPC/runtime/Java2HPM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 2006, 967, 4789, 12, 474, 11316, 16, 509, 8589, 67, 7476, 16, 509, 3895, 16, 4405, 4202, 1250, 525, 15834, 13, 282, 288, 565, 368, 17, 7, 430, 534, 7397, 67, 9147, 67, 2500, 49, 565, 368, 813, 316, 3974, 565, 1645, 8657, 273, 8251, 67, 950, 18, 3338, 5621, 565, 309, 261, 78, 15834, 422, 804, 50, 45, 13, 288, 1377, 5110, 22, 2500, 49, 18, 6208, 18037, 5621, 1377, 5110, 22, 2500, 49, 18, 1937, 1380, 310, 5621, 565, 289, 469, 288, 1377, 8251, 18, 9499, 1477, 20, 12, 7397, 67, 15817, 2115, 18, 5787, 67, 7137, 67, 3366, 18, 9499, 2500, 49, 6208, 18037, 2579, 1769, 1377, 8251, 18, 9499, 1477, 20, 12, 7397, 67, 15817, 2115, 18, 5787, 67, 7137, 67, 3366, 18, 9499, 2500, 49, 1937, 1380, 310, 2579, 1769, 565, 289, 565, 1525, 1056, 31, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 11316, 31, 277, 27245, 288, 202, 1377, 309, 261, 78, 15834, 422, 804, 50, 45, 13, 288, 202, 1883, 273, 5110, 22, 2500, 49, 18, 588, 4789, 620, 12, 7476, 1769, 1377, 289, 469, 288, 202, 1883, 273, 8251, 18, 9499, 1477, 67, 48, 67, 45, 12, 7397, 67, 15817, 2115, 18, 5787, 67, 7137, 67, 3366, 18, 9499, 2500, 49, 588, 4789, 2579, 16, 7476, 1769, 1377, 289, 565, 289, 565, 1525, 15139, 31, 565, 309, 261, 78, 15834, 422, 804, 50, 45, 13, 288, 1377, 15139, 273, 5110, 22, 2500, 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, 760, 918, 2006, 967, 4789, 12, 474, 11316, 16, 509, 8589, 67, 7476, 16, 509, 3895, 16, 4405, 4202, 1250, 525, 15834, 13, 282, 288, 565, 368, 17, 7, 430, 534, 7397, 67, 9147, 67, 2500, 49, 565, 368, 813, 316, 3974, 565, 1645, 8657, 273, 8251, 67, 950, 18, 3338, 5621, 565, 309, 261, 78, 15834, 422, 804, 50, 45, 13, 288, 1377, 5110, 22, 2500, 49, 18, 6208, 18037, 5621, 1377, 5110, 22, 2500, 49, 18, 1937, 1380, 310, 5621, 565, 289, 469, 288, 1377, 8251, 18, 9499, 1477, 20, 12, 7397, 67, 15817, 2115, 18, 5787, 67, 7137, 67, 3366, 18, 9499, 2500, 49, 6208, 18037, 2579, 1769, 1377, 8251, 18, 9499, 1477, 20, 2 ]
Category category = new Category(element); viewRegistry.add(category);
viewRegistry.add(new Category(element));
protected void readCategory(IConfigurationElement element) { try { Category category = new Category(element); viewRegistry.add(category); } catch (CoreException e) { // log an error since its not safe to show a dialog here WorkbenchPlugin.log( "Unable to create view category.", e.getStatus());//$NON-NLS-1$ } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/23cbb9b66f3df77f808e086e90482a516f0c469f/ViewRegistryReader.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/ViewRegistryReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 855, 4457, 12, 45, 1750, 1046, 930, 13, 288, 3639, 775, 288, 5411, 9856, 3150, 273, 394, 9856, 12, 2956, 1769, 5411, 1476, 4243, 18, 1289, 12, 4743, 1769, 3639, 289, 1044, 261, 25341, 425, 13, 288, 5411, 368, 613, 392, 555, 3241, 2097, 486, 4183, 358, 2405, 279, 6176, 2674, 5411, 4147, 22144, 3773, 18, 1330, 12, 10792, 315, 3370, 358, 752, 1476, 3150, 1199, 16, 425, 18, 588, 1482, 10663, 759, 8, 3993, 17, 5106, 17, 21, 8, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4750, 918, 855, 4457, 12, 45, 1750, 1046, 930, 13, 288, 3639, 775, 288, 5411, 9856, 3150, 273, 394, 9856, 12, 2956, 1769, 5411, 1476, 4243, 18, 1289, 12, 4743, 1769, 3639, 289, 1044, 261, 25341, 425, 13, 288, 5411, 368, 613, 392, 555, 3241, 2097, 486, 4183, 358, 2405, 279, 6176, 2674, 5411, 4147, 22144, 3773, 18, 1330, 12, 10792, 315, 3370, 358, 752, 1476, 3150, 1199, 16, 425, 18, 588, 1482, 10663, 759, 8, 3993, 17, 5106, 17, 21, 8, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throws NotImplementedException
public int getAccessibleSelectionCount() throws NotImplementedException { return 0; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JTabbedPane.java/buggy/core/src/classpath/javax/javax/swing/JTabbedPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 10451, 6233, 1380, 1435, 540, 288, 1377, 327, 374, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 10451, 6233, 1380, 1435, 540, 288, 1377, 327, 374, 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 ]
rootElement.appendChild(getUniqueListofFaults(doc));
rootElement.appendChild(getUniqueListofFaults(doc));
private Document createDOMDocumentForSkeletonInterface() { Document doc = getEmptyDocument(); Element rootElement = doc.createElement("interface"); String serviceName = makeJavaClassName(axisService.getName()); addAttribute(doc, "package", codeGenConfiguration.getPackageName(), rootElement); addAttribute(doc, "name", serviceName + SKELETON_INTERFACE_SUFFIX, rootElement); addAttribute(doc, "callbackname", serviceName + CALL_BACK_HANDLER_SUFFIX, rootElement); fillSyncAttributes(doc, rootElement); loadOperations(doc, rootElement, null); //attach a list of faults rootElement.appendChild(getUniqueListofFaults(doc)); doc.appendChild(rootElement); return doc; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/95b2a1b8970a4e5a4607b75b8bd0347d031c1111/AxisServiceBasedMultiLanguageEmitter.java/clean/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 4319, 752, 8168, 2519, 1290, 28070, 1358, 1435, 288, 5411, 4319, 997, 273, 30824, 2519, 5621, 5411, 3010, 27575, 273, 997, 18, 2640, 1046, 2932, 5831, 8863, 5411, 514, 6773, 273, 1221, 5852, 3834, 12, 4890, 1179, 18, 17994, 10663, 5411, 10759, 12, 2434, 16, 315, 5610, 3113, 981, 7642, 1750, 18, 588, 18308, 9334, 27575, 1769, 5411, 10759, 12, 2434, 16, 315, 529, 3113, 6773, 397, 348, 6859, 15146, 673, 67, 18865, 67, 14964, 16, 27575, 1769, 5411, 10759, 12, 2434, 16, 315, 3394, 529, 3113, 6773, 397, 22753, 67, 8720, 67, 19937, 67, 14964, 16, 10792, 27575, 1769, 5411, 3636, 4047, 2498, 12, 2434, 16, 27575, 1769, 5411, 1262, 9343, 12, 2434, 16, 27575, 16, 446, 1769, 5411, 368, 7331, 279, 666, 434, 12530, 87, 5411, 27575, 18, 6923, 1763, 12, 588, 6303, 682, 792, 7083, 87, 12, 2434, 10019, 5411, 997, 18, 6923, 1763, 12, 3085, 1046, 1769, 5411, 327, 997, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 4319, 752, 8168, 2519, 1290, 28070, 1358, 1435, 288, 5411, 4319, 997, 273, 30824, 2519, 5621, 5411, 3010, 27575, 273, 997, 18, 2640, 1046, 2932, 5831, 8863, 5411, 514, 6773, 273, 1221, 5852, 3834, 12, 4890, 1179, 18, 17994, 10663, 5411, 10759, 12, 2434, 16, 315, 5610, 3113, 981, 7642, 1750, 18, 588, 18308, 9334, 27575, 1769, 5411, 10759, 12, 2434, 16, 315, 529, 3113, 6773, 397, 348, 6859, 15146, 673, 67, 18865, 67, 14964, 16, 27575, 1769, 5411, 10759, 12, 2434, 16, 315, 3394, 529, 3113, 6773, 397, 22753, 67, 8720, 67, 19937, 67, 14964, 16, 10792, 27575, 1769, 5411, 3636, 4047, 2498, 12, 2434, 16, 27575, 1769, 5411, 1262, 9343, 12, 2434, 16, 27575, 16, 2 ]
public Details managedDetails( final IObject iobj, final Details previousDetails ) { checkReady("managedDetails"); if ( iobj.getId() == null) throw new ValidationException( "Id required on all detached instances.");
public Details managedDetails(final IObject iobj, final Details previousDetails) { checkReady("managedDetails");
public Details managedDetails( final IObject iobj, final Details previousDetails ) { checkReady("managedDetails"); if ( iobj.getId() == null) throw new ValidationException( "Id required on all detached instances."); // Note: privileged check moved into the if statement below. // check if the newDetails variable has been reset or if the instance // has been changed. boolean altered = false; final Details currentDetails = iobj.getDetails(); /* not final! */ Details newDetails = CurrentDetails.createDetails(); // This happens if all fields of details are null (which can't happen) // And is so uninteresting for all of our checks. The object can't be // locked and nothing can be edited. Just return null. if ( previousDetails == null ) { if ( currentDetails != null ) { newDetails = null; altered = true; if ( log.isDebugEnabled() ) { log.debug("Setting details on "+ iobj+" to null like original"); } } } // Also uninteresting. If the users say nothing, then the originals. // Probably common since users don't worry about this information. else if ( currentDetails == null ) { newDetails = new Details( previousDetails ); altered = true; if ( log.isDebugEnabled() ) { log.debug("Setting details on "+ iobj+" to copy of original details."); } // Now we have to make sure certain things do not happen. The following // take into account whether or not the entity is privileged (has a token), // is locked in the database, and who the current user and group are. } else { boolean locked = false; boolean privileged = false; if ( previousDetails.getPermissions().isSet( Flag.LOCKED )) locked = true; if ( hasPrivilegedToken( iobj )) privileged = true; // isGlobal implies nothing (currently) about permissions // see mapping.vm for more. altered |= managedPermissions( locked, privileged, iobj, previousDetails, currentDetails, newDetails); if ( ! isGlobal( iobj.getClass() )) // implies that owner doesn't matter { altered |= managedOwner( locked, privileged, iobj, previousDetails, currentDetails, newDetails); } if ( ! isGlobal( iobj.getClass() )) // implies that group doesn't matter { altered |= managedGroup( locked, privileged, iobj, previousDetails, currentDetails, newDetails); } if ( ! isGlobal( iobj.getClass() )) // implies that event doesn't matter { altered |= managedEvent( locked, privileged, iobj, previousDetails, currentDetails, newDetails); } } if ( iobj instanceof IMutable ) { Integer version = ((IMutable) iobj).getVersion(); if ( version == null || version.intValue() < 0 );// throw new ValidationException(// "Version must properly be set on managed objects :\n"+// obj.toString()// ); //TODO } return altered ? newDetails : previousDetails; }
55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/9c53370b3f7a88f29e38673527398c205d19f7d6/BasicSecuritySystem.java/buggy/components/server/src/ome/security/BasicSecuritySystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 21897, 7016, 3790, 12, 727, 467, 921, 2527, 441, 16, 727, 21897, 2416, 3790, 262, 565, 288, 377, 202, 1893, 8367, 2932, 19360, 3790, 8863, 377, 202, 3639, 309, 261, 2527, 441, 18, 26321, 1435, 422, 446, 13, 5411, 604, 394, 15614, 12, 10792, 315, 548, 1931, 603, 777, 22037, 3884, 1199, 1769, 377, 202, 759, 3609, 30, 11334, 2423, 866, 10456, 1368, 326, 309, 3021, 5712, 18, 377, 202, 377, 202, 759, 866, 309, 326, 394, 3790, 2190, 711, 2118, 2715, 578, 309, 326, 791, 377, 202, 759, 711, 2118, 3550, 18, 377, 202, 6494, 22349, 273, 629, 31, 377, 202, 377, 202, 6385, 5411, 21897, 783, 3790, 273, 2527, 441, 18, 588, 3790, 5621, 377, 202, 20308, 486, 727, 5, 1195, 21897, 394, 3790, 273, 6562, 3790, 18, 2640, 3790, 5621, 6647, 202, 3639, 368, 1220, 10555, 309, 777, 1466, 434, 3189, 854, 446, 261, 12784, 848, 1404, 5865, 13, 3639, 368, 7835, 353, 1427, 640, 2761, 10100, 364, 777, 434, 3134, 4271, 18, 1021, 733, 848, 1404, 506, 540, 368, 8586, 471, 5083, 848, 506, 18532, 18, 12526, 327, 446, 18, 3639, 309, 261, 2416, 3790, 422, 446, 262, 540, 288, 5411, 309, 261, 783, 3790, 480, 446, 262, 5411, 288, 7734, 394, 3790, 273, 446, 31, 7734, 22349, 273, 638, 31, 7734, 309, 261, 613, 18, 291, 2829, 1526, 1435, 262, 7734, 288, 10792, 613, 18, 4148, 2932, 5568, 3189, 603, 13773, 18701, 2527, 441, 9078, 358, 446, 3007, 2282, 8863, 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, 21897, 7016, 3790, 12, 727, 467, 921, 2527, 441, 16, 727, 21897, 2416, 3790, 262, 565, 288, 377, 202, 1893, 8367, 2932, 19360, 3790, 8863, 377, 202, 3639, 309, 261, 2527, 441, 18, 26321, 1435, 422, 446, 13, 5411, 604, 394, 15614, 12, 10792, 315, 548, 1931, 603, 777, 22037, 3884, 1199, 1769, 377, 202, 759, 3609, 30, 11334, 2423, 866, 10456, 1368, 326, 309, 3021, 5712, 18, 377, 202, 377, 202, 759, 866, 309, 326, 394, 3790, 2190, 711, 2118, 2715, 578, 309, 326, 791, 377, 202, 759, 711, 2118, 3550, 18, 377, 202, 6494, 22349, 273, 629, 31, 377, 202, 377, 202, 6385, 5411, 21897, 783, 3790, 273, 2527, 441, 18, 588, 3790, 5621, 377, 2 ]
IWorkbench bench = PerlDebugPlugin.getDefault().getWorkbench(); if ( bench == null ) return null; IWorkbenchWindow window = bench.getActiveWorkbenchWindow(); if ( window == null ) return null; IWorkbenchPage page = window.getActivePage(); if ( page == null ) return null; FileEditorInput input = new FileEditorInput((IFile)getMarker().getResource()); TextEditor editor = (TextEditor) page.findEditor(input); IDocument doc = editor.getDocumentProvider().getDocument(input);
private String getCurrentSourceLine() { StringBuffer sourceCode = new StringBuffer(); int BUF_SIZE = 1024; IWorkbench bench = PerlDebugPlugin.getDefault().getWorkbench(); if ( bench == null ) return null; IWorkbenchWindow window = bench.getActiveWorkbenchWindow(); if ( window == null ) return null; IWorkbenchPage page = window.getActivePage(); if ( page == null ) return null; FileEditorInput input = new FileEditorInput((IFile)getMarker().getResource()); TextEditor editor = (TextEditor) page.findEditor(input); IDocument doc = editor.getDocumentProvider().getDocument(input); String line = null; try { int length = doc.getLineLength(getLineNumber() - 1); int offset = doc.getLineOffset(getLineNumber() - 1); line = doc.get(offset, length); } catch (BadLocationException e1) { // TODO Auto-generated catch block e1.printStackTrace(); return null; } return line.trim(); }
48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/7342f11ee7e3001fa4870e5cd83b93dd21e4ee7a/PerlRegExpBreakpoint.java/clean/org.epic.debug/src/org/epic/debug/PerlRegExpBreakpoint.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 5175, 1830, 1670, 1435, 288, 202, 202, 780, 1892, 20260, 273, 394, 6674, 5621, 202, 202, 474, 10937, 42, 67, 4574, 273, 6250, 31, 202, 202, 45, 2421, 22144, 22499, 273, 5722, 80, 2829, 3773, 18, 588, 1868, 7675, 588, 2421, 22144, 5621, 202, 202, 430, 261, 22499, 422, 446, 262, 1082, 202, 2463, 446, 31, 202, 202, 45, 2421, 22144, 3829, 2742, 273, 22499, 18, 588, 3896, 2421, 22144, 3829, 5621, 202, 202, 430, 261, 2742, 422, 446, 262, 1082, 202, 2463, 225, 446, 31, 202, 202, 45, 2421, 22144, 1964, 1363, 273, 2742, 18, 588, 3896, 1964, 5621, 202, 202, 430, 261, 1363, 422, 446, 262, 1082, 202, 2463, 225, 446, 31, 202, 202, 812, 6946, 1210, 810, 273, 394, 1387, 6946, 1210, 12443, 45, 812, 13, 588, 7078, 7675, 588, 1420, 10663, 202, 202, 1528, 6946, 4858, 273, 261, 1528, 6946, 13, 1363, 18, 4720, 6946, 12, 2630, 1769, 9506, 202, 734, 504, 650, 997, 273, 4858, 18, 588, 2519, 2249, 7675, 588, 2519, 12, 2630, 1769, 1082, 202, 780, 980, 273, 446, 31, 9506, 202, 698, 288, 1082, 202, 474, 769, 273, 997, 18, 588, 1670, 1782, 12, 588, 31063, 1435, 300, 404, 1769, 1082, 202, 474, 1384, 273, 997, 18, 588, 1670, 2335, 12, 588, 31063, 1435, 300, 404, 1769, 1082, 202, 1369, 273, 997, 18, 588, 12, 3348, 16, 769, 1769, 202, 202, 97, 1044, 261, 6434, 2735, 503, 425, 21, 13, 288, 1082, 202, 759, 2660, 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, 514, 5175, 1830, 1670, 1435, 288, 202, 202, 780, 1892, 20260, 273, 394, 6674, 5621, 202, 202, 474, 10937, 42, 67, 4574, 273, 6250, 31, 202, 202, 45, 2421, 22144, 22499, 273, 5722, 80, 2829, 3773, 18, 588, 1868, 7675, 588, 2421, 22144, 5621, 202, 202, 430, 261, 22499, 422, 446, 262, 1082, 202, 2463, 446, 31, 202, 202, 45, 2421, 22144, 3829, 2742, 273, 22499, 18, 588, 3896, 2421, 22144, 3829, 5621, 202, 202, 430, 261, 2742, 422, 446, 262, 1082, 202, 2463, 225, 446, 31, 202, 202, 45, 2421, 22144, 1964, 1363, 273, 2742, 18, 588, 3896, 1964, 5621, 202, 202, 430, 261, 1363, 422, 446, 262, 1082, 202, 2463, 225, 446, 31, 202, 2 ]
if( !FileUtils.contentEquals( destFile, tmpFile ) )
if( !contentEquals( destFile, tmpFile ) )
private void processFile( String file ) throws TaskException { File srcFile = new File( srcDir, file ); File destD = destDir == null ? srcDir : destDir; File tmpFile = null; BufferedWriter outWriter; OneLiner.BufferLine line; // read the contents of the file OneLiner lines = new OneLiner( srcFile ); try { // Set up the output Writer try { tmpFile = File.createTempFile( "fixcrlf", "", destD ); Writer writer = ( encoding == null ) ? new FileWriter( tmpFile ) : new OutputStreamWriter( new FileOutputStream( tmpFile ), encoding ); outWriter = new BufferedWriter( writer ); } catch( IOException e ) { throw new TaskException( "Error", e ); } while( lines.hasNext() ) { // In-line states int endComment; try { line = (OneLiner.BufferLine)lines.next(); } catch( NoSuchElementException e ) { throw new TaskException( "Error", e ); } String lineString = line.getLineString(); int linelen = line.length(); // Note - all of the following processing NOT done for // tabs ASIS if( tabs == ASIS ) { // Just copy the body of the line across try { outWriter.write( lineString ); } catch( IOException e ) { throw new TaskException( "Error", e ); }// end of try-catch } else {// (tabs != ASIS) int ptr; while( ( ptr = line.getNext() ) < linelen ) { switch( lines.getState() ) { case NOTJAVA: notInConstant( line, line.length(), outWriter ); break; case IN_MULTI_COMMENT: if( ( endComment = lineString.indexOf( "*/", line.getNext() ) ) >= 0 ) { // End of multiLineComment on this line endComment += 2;// Include the end token lines.setState( LOOKING ); } else { endComment = linelen; } notInConstant( line, endComment, outWriter ); break; case IN_SINGLE_COMMENT: notInConstant( line, line.length(), outWriter ); lines.setState( LOOKING ); break; case IN_CHAR_CONST: case IN_STR_CONST: // Got here from LOOKING by finding an opening "\'" // next points to that quote character. // Find the end of the constant. Watch out for // backslashes. Literal tabs are left unchanged, and // the column is adjusted accordingly. int begin = line.getNext(); char terminator = ( lines.getState() == IN_STR_CONST ? '\"' : '\'' ); endOfCharConst( line, terminator ); while( line.getNext() < line.getLookahead() ) { if( line.getNextCharInc() == '\t' ) { line.setColumn( line.getColumn() + tablength - line.getColumn() % tablength ); } else { line.incColumn(); } } // Now output the substring try { outWriter.write( line.substring( begin, line.getNext() ) ); } catch( IOException e ) { throw new TaskException( "Error", e ); } lines.setState( LOOKING ); break; case LOOKING: nextStateChange( line ); notInConstant( line, line.getLookahead(), outWriter ); break; }// end of switch (state) }// end of while (line.getNext() < linelen) }// end of else (tabs != ASIS) try { outWriter.write( eolstr ); } catch( IOException e ) { throw new TaskException( "Error", e ); }// end of try-catch }// end of while (lines.hasNext()) try { // Handle CTRLZ if( ctrlz == ASIS ) { outWriter.write( lines.getEofStr() ); } else if( ctrlz == ADD ) { outWriter.write( CTRLZ ); } } catch( IOException e ) { throw new TaskException( "Error", e ); } finally { try { outWriter.close(); } catch( IOException e ) { throw new TaskException( "Error", e ); } } File destFile = new File( destD, file ); try { lines.close(); lines = null; } catch( IOException e ) { throw new TaskException( "Unable to close source file " + srcFile ); } if( destFile.exists() ) { // Compare the destination with the temp file getLogger().debug( "destFile exists" ); if( !FileUtils.contentEquals( destFile, tmpFile ) ) { getLogger().debug( destFile + " is being written" ); if( !destFile.delete() ) { throw new TaskException( "Unable to delete " + destFile ); } if( !tmpFile.renameTo( destFile ) ) { throw new TaskException( "Failed to transform " + srcFile + " to " + destFile + ". Couldn't rename temporary file: " + tmpFile ); } } else {// destination is equal to temp file getLogger().debug( destFile + " is not written, as the contents are identical" ); if( !tmpFile.delete() ) { throw new TaskException( "Unable to delete " + tmpFile ); } } } else {// destFile does not exist - write the temp file ///XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX getLogger().debug( "destFile does not exist" ); if( !tmpFile.renameTo( destFile ) ) { throw new TaskException( "Failed to transform " + srcFile + " to " + destFile + ". Couldn't rename temporary file: " + tmpFile ); } } tmpFile = null; } catch( IOException e ) { throw new TaskException( "Error", e ); } finally { try { if( lines != null ) { lines.close(); } } catch( IOException io ) { getLogger().error( "Error closing " + srcFile ); }// end of catch if( tmpFile != null ) { tmpFile.delete(); } }// end of finally }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/74b3200d9029a7478f6f3581f296e8ac8e1d2b6b/FixCRLF.java/clean/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/FixCRLF.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 812, 12, 514, 585, 262, 3639, 1216, 3837, 503, 565, 288, 3639, 1387, 24672, 273, 394, 1387, 12, 30585, 16, 585, 11272, 3639, 1387, 1570, 40, 273, 26231, 422, 446, 692, 30585, 294, 26231, 31, 3639, 1387, 18504, 273, 446, 31, 3639, 22490, 596, 2289, 31, 3639, 6942, 48, 14522, 18, 1892, 1670, 980, 31, 3639, 368, 855, 326, 2939, 434, 326, 585, 3639, 6942, 48, 14522, 2362, 273, 394, 6942, 48, 14522, 12, 24672, 11272, 3639, 775, 3639, 288, 5411, 368, 1000, 731, 326, 876, 5497, 5411, 775, 5411, 288, 7734, 18504, 273, 1387, 18, 2640, 20181, 12, 315, 904, 71, 1321, 74, 3113, 23453, 1570, 40, 11272, 7734, 5497, 2633, 273, 261, 2688, 422, 446, 262, 692, 394, 24639, 12, 18504, 262, 10792, 294, 394, 24248, 12, 394, 12942, 12, 18504, 262, 16, 2688, 11272, 7734, 596, 2289, 273, 394, 22490, 12, 2633, 11272, 5411, 289, 5411, 1044, 12, 1860, 425, 262, 5411, 288, 7734, 604, 394, 3837, 503, 12, 315, 668, 3113, 425, 11272, 5411, 289, 5411, 1323, 12, 2362, 18, 5332, 2134, 1435, 262, 5411, 288, 7734, 368, 657, 17, 1369, 5493, 7734, 509, 679, 4469, 31, 7734, 775, 7734, 288, 10792, 980, 273, 261, 3335, 48, 14522, 18, 1892, 1670, 13, 3548, 18, 4285, 5621, 7734, 289, 7734, 1044, 12, 23104, 425, 262, 7734, 288, 10792, 604, 394, 3837, 503, 12, 315, 668, 3113, 425, 11272, 7734, 289, 7734, 514, 980, 780, 273, 980, 18, 588, 19863, 5621, 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, 1207, 812, 12, 514, 585, 262, 3639, 1216, 3837, 503, 565, 288, 3639, 1387, 24672, 273, 394, 1387, 12, 30585, 16, 585, 11272, 3639, 1387, 1570, 40, 273, 26231, 422, 446, 692, 30585, 294, 26231, 31, 3639, 1387, 18504, 273, 446, 31, 3639, 22490, 596, 2289, 31, 3639, 6942, 48, 14522, 18, 1892, 1670, 980, 31, 3639, 368, 855, 326, 2939, 434, 326, 585, 3639, 6942, 48, 14522, 2362, 273, 394, 6942, 48, 14522, 12, 24672, 11272, 3639, 775, 3639, 288, 5411, 368, 1000, 731, 326, 876, 5497, 5411, 775, 5411, 288, 7734, 18504, 273, 1387, 18, 2640, 20181, 12, 315, 904, 71, 1321, 74, 3113, 23453, 1570, 40, 11272, 7734, 5497, 2633, 273, 261, 2688, 2 ]
_t = __t811;
_t = __t816;
public final void formatphrase(AST _t) throws RecognitionException { AST formatphrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t799 = _t; AST tmp818_AST_in = (AST)_t; match(_t,Format_phrase); _t = _t.getFirstChild(); { int _cnt813=0; _loop813: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AS: { AST __t801 = _t; AST tmp819_AST_in = (AST)_t; match(_t,AS); _t = _t.getFirstChild(); datatype_var(_t); _t = _retTree; _t = __t801; _t = _t.getNextSibling(); break; } case AT: { atphrase(_t); _t = _retTree; break; } case ATTRSPACE: { AST tmp820_AST_in = (AST)_t; match(_t,ATTRSPACE); _t = _t.getNextSibling(); break; } case NOATTRSPACE: { AST tmp821_AST_in = (AST)_t; match(_t,NOATTRSPACE); _t = _t.getNextSibling(); break; } case AUTORETURN: { AST tmp822_AST_in = (AST)_t; match(_t,AUTORETURN); _t = _t.getNextSibling(); break; } case BGCOLOR: case DCOLOR: case FGCOLOR: case PFCOLOR: { color_expr(_t); _t = _retTree; break; } case CONTEXTHELPID: { AST __t802 = _t; AST tmp823_AST_in = (AST)_t; match(_t,CONTEXTHELPID); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t802; _t = _t.getNextSibling(); break; } case BLANK: { AST tmp824_AST_in = (AST)_t; match(_t,BLANK); _t = _t.getNextSibling(); break; } case COLON: { AST __t803 = _t; AST tmp825_AST_in = (AST)_t; match(_t,COLON); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t803; _t = _t.getNextSibling(); break; } case TO: { AST __t804 = _t; AST tmp826_AST_in = (AST)_t; match(_t,TO); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t804; _t = _t.getNextSibling(); break; } case DEBLANK: { AST tmp827_AST_in = (AST)_t; match(_t,DEBLANK); _t = _t.getNextSibling(); break; } case DISABLEAUTOZAP: { AST tmp828_AST_in = (AST)_t; match(_t,DISABLEAUTOZAP); _t = _t.getNextSibling(); break; } case FONT: { AST __t805 = _t; AST tmp829_AST_in = (AST)_t; match(_t,FONT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t805; _t = _t.getNextSibling(); break; } case FORMAT: { AST __t806 = _t; AST tmp830_AST_in = (AST)_t; match(_t,FORMAT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t806; _t = _t.getNextSibling(); break; } case HELP: { AST __t807 = _t; AST tmp831_AST_in = (AST)_t; match(_t,HELP); _t = _t.getFirstChild(); constant(_t); _t = _retTree; _t = __t807; _t = _t.getNextSibling(); break; } case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case LEXAT: { AST __t808 = _t; AST tmp832_AST_in = (AST)_t; match(_t,LEXAT); _t = _t.getFirstChild(); fld(_t,CQ.SYMBOL); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Format_phrase: { formatphrase(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t808; _t = _t.getNextSibling(); break; } case LIKE: { AST __t810 = _t; AST tmp833_AST_in = (AST)_t; match(_t,LIKE); _t = _t.getFirstChild(); fld(_t,CQ.SYMBOL); _t = _retTree; _t = __t810; _t = _t.getNextSibling(); break; } case NOLABELS: { AST tmp834_AST_in = (AST)_t; match(_t,NOLABELS); _t = _t.getNextSibling(); break; } case NOTABSTOP: { AST tmp835_AST_in = (AST)_t; match(_t,NOTABSTOP); _t = _t.getNextSibling(); break; } case VALIDATE: { AST __t811 = _t; AST tmp836_AST_in = (AST)_t; match(_t,VALIDATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t811; _t = _t.getNextSibling(); break; } case WHEN: { AST __t812 = _t; AST tmp837_AST_in = (AST)_t; match(_t,WHEN); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t812; _t = _t.getNextSibling(); break; } case VIEWAS: { viewasphrase(_t); _t = _retTree; break; } default: { if ( _cnt813>=1 ) { break _loop813; } else {throw new NoViableAltException(_t);} } } _cnt813++; } while (true); } _t = __t799; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 740, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 740, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 27, 2733, 273, 389, 88, 31, 202, 202, 9053, 1853, 28, 2643, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 1630, 67, 9429, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 474, 389, 13085, 28, 3437, 33, 20, 31, 202, 202, 67, 6498, 28, 3437, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 1082, 202, 3593, 5355, 30, 1082, 202, 95, 9506, 202, 9053, 1001, 88, 28, 1611, 273, 389, 88, 31, 9506, 202, 9053, 1853, 28, 3657, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 3033, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 9506, 202, 21540, 67, 1401, 24899, 88, 1769, 9506, 202, 67, 88, 273, 389, 1349, 2471, 31, 9506, 202, 67, 88, 273, 1001, 88, 28, 1611, 31, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 14464, 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, 740, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 740, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 27, 2733, 273, 389, 88, 31, 202, 202, 9053, 1853, 28, 2643, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 1630, 67, 9429, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 474, 389, 13085, 28, 3437, 33, 20, 31, 202, 202, 67, 6498, 28, 3437, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 2 ]
tempMsgString = (String) tempMarker.getAttribute(IMarker.MESSAGE);
public void run() { if (location != null) { try { //we only ever add index markers on the file, so DEPTH_ZERO is far enough IMarker[] markers = resource.findMarkers(ICModelMarker.INDEXER_MARKER, true,IResource.DEPTH_ZERO); boolean newProblem = true; if (markers.length > 0) { IMarker tempMarker = null; int nameStart = -1; int nameLen = -1; String tempMsgString = null; for (int i=0; i<markers.length; i++) { tempMarker = markers[i]; nameStart = ((Integer) tempMarker.getAttribute(IMarker.CHAR_START)).intValue(); nameLen = ((Integer) tempMarker.getAttribute(IMarker.CHAR_END)).intValue() - nameStart; tempMsgString = (String) tempMarker.getAttribute(IMarker.MESSAGE); if (nameStart != -1 && nameStart == location.getNodeOffset() && nameLen == location.getNodeLength() && tempMsgString.equalsIgnoreCase(INDEXER_MARKER_PREFIX + message)) { newProblem = false; break; } } } if (newProblem) { IMarker marker = resource.createMarker(ICModelMarker.INDEXER_MARKER); int start = location.getNodeOffset(); int end = start + location.getNodeLength(); marker.setAttribute(IMarker.LOCATION, location.getStartingLineNumber()); marker.setAttribute(IMarker.MESSAGE, INDEXER_MARKER_PREFIX + message); marker.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_WARNING); marker.setAttribute(IMarker.LINE_NUMBER, location.getStartingLineNumber()); marker.setAttribute(IMarker.CHAR_START, start); marker.setAttribute(IMarker.CHAR_END, end); marker.setAttribute(INDEXER_MARKER_ORIGINATOR, originator.getFullPath().toString()); } } catch (CoreException e) { // You need to handle the cases where attribute value is rejected } } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/2290223ab34741b2e96b63191294d1aa19ce8147/DOMSourceIndexerRunner.java/buggy/core/org.eclipse.cdt.core/index/org/eclipse/cdt/internal/core/index/domsourceindexer/DOMSourceIndexerRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1086, 1435, 288, 202, 3639, 309, 261, 3562, 480, 446, 13, 288, 202, 5411, 775, 288, 202, 7734, 368, 1814, 1338, 14103, 527, 770, 11754, 603, 326, 585, 16, 1427, 2030, 22561, 67, 24968, 353, 10247, 7304, 202, 7734, 467, 7078, 8526, 11754, 273, 1058, 18, 4720, 21644, 12, 2871, 1488, 7078, 18, 9199, 654, 67, 25989, 16, 638, 16, 45, 1420, 18, 27479, 67, 24968, 1769, 202, 1171, 202, 7734, 1250, 394, 13719, 273, 638, 31, 202, 1171, 202, 7734, 309, 261, 22807, 18, 2469, 405, 374, 13, 288, 202, 10792, 467, 7078, 1906, 7078, 273, 446, 31, 202, 10792, 509, 508, 1685, 273, 300, 21, 31, 3196, 10792, 509, 508, 2891, 273, 300, 21, 31, 202, 10792, 514, 1906, 3332, 780, 273, 446, 31, 202, 5397, 202, 10792, 364, 261, 474, 277, 33, 20, 31, 277, 32, 22807, 18, 2469, 31, 277, 27245, 288, 202, 13491, 1906, 7078, 273, 11754, 63, 77, 15533, 202, 13491, 508, 1685, 273, 14015, 4522, 13, 1906, 7078, 18, 588, 1499, 12, 3445, 1313, 264, 18, 7305, 67, 7570, 13, 2934, 474, 620, 5621, 202, 13491, 508, 2891, 273, 14015, 4522, 13, 1906, 7078, 18, 588, 1499, 12, 3445, 1313, 264, 18, 7305, 67, 4415, 13, 2934, 474, 620, 1435, 300, 508, 1685, 31, 202, 13491, 1906, 3332, 780, 273, 261, 780, 13, 1906, 7078, 18, 588, 1499, 12, 3445, 1313, 264, 18, 8723, 1769, 202, 13491, 309, 261, 529, 1685, 480, 300, 21, 597, 3196, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1086, 1435, 288, 202, 3639, 309, 261, 3562, 480, 446, 13, 288, 202, 5411, 775, 288, 202, 7734, 368, 1814, 1338, 14103, 527, 770, 11754, 603, 326, 585, 16, 1427, 2030, 22561, 67, 24968, 353, 10247, 7304, 202, 7734, 467, 7078, 8526, 11754, 273, 1058, 18, 4720, 21644, 12, 2871, 1488, 7078, 18, 9199, 654, 67, 25989, 16, 638, 16, 45, 1420, 18, 27479, 67, 24968, 1769, 202, 1171, 202, 7734, 1250, 394, 13719, 273, 638, 31, 202, 1171, 202, 7734, 309, 261, 22807, 18, 2469, 405, 374, 13, 288, 202, 10792, 467, 7078, 1906, 7078, 273, 446, 31, 202, 10792, 509, 508, 1685, 273, 300, 21, 31, 3196, 10792, 509, 508, 2891, 273, 300, 2 ]
int result = CONVERSION_NONE;
public static int getConversionWeight(Object fromObj, Class to) { int fromCode = getJSTypeCode(fromObj); int result = CONVERSION_NONE; switch (fromCode) { case JSTYPE_UNDEFINED: if (to == ScriptRuntime.StringClass || to == ScriptRuntime.ObjectClass) { result = 1; } break; case JSTYPE_NULL: if (!to.isPrimitive()) { result = 1; } break; case JSTYPE_BOOLEAN: // "boolean" is #1 if (to == Boolean.TYPE) { result = 1; } else if (to == ScriptRuntime.BooleanClass) { result = 2; } else if (to == ScriptRuntime.ObjectClass) { result = 3; } else if (to == ScriptRuntime.StringClass) { result = 4; } break; case JSTYPE_NUMBER: if (to.isPrimitive()) { if (to == Double.TYPE) { result = 1; } else if (to != Boolean.TYPE) { result = 1 + getSizeRank(to); } } else { if (to == ScriptRuntime.StringClass) { // native numbers are #1-8 result = 9; } else if (to == ScriptRuntime.ObjectClass) { result = 10; } else if (ScriptRuntime.NumberClass.isAssignableFrom(to)) { // "double" is #1 result = 2; } } break; case JSTYPE_STRING: if (to == ScriptRuntime.StringClass) { result = 1; } else if (to.isInstance(fromObj)) { result = 2; } else if (to.isPrimitive()) { if (to == Character.TYPE) { result = 3; } else if (to != Boolean.TYPE) { result = 4; } } break; case JSTYPE_JAVA_CLASS: if (to == ScriptRuntime.ClassClass) { result = 1; } else if (to == ScriptRuntime.ObjectClass) { result = 3; } else if (to == ScriptRuntime.StringClass) { result = 4; } break; case JSTYPE_JAVA_OBJECT: case JSTYPE_JAVA_ARRAY: if (to == ScriptRuntime.StringClass) { result = 2; } else if (to.isPrimitive() && to != Boolean.TYPE) { result = (fromCode == JSTYPE_JAVA_ARRAY) ? CONVERSION_NONTRIVIAL : 2 + getSizeRank(to); } else { Object javaObj = fromObj; if (javaObj instanceof Wrapper) { javaObj = ((Wrapper)javaObj).unwrap(); } if (to.isInstance(javaObj)) { result = CONVERSION_NONTRIVIAL; } } break; case JSTYPE_OBJECT: // Other objects takes #1-#3 spots if (to.isArray()) { if (fromObj instanceof NativeArray) { // This is a native array conversion to a java array // Array conversions are all equal, and preferable to object // and string conversion, per LC3. result = 1; } } else if (to == ScriptRuntime.ObjectClass) { result = 2; } else if (to == ScriptRuntime.StringClass) { result = 3; } else if (to == ScriptRuntime.DateClass) { if (fromObj instanceof NativeDate) { // This is a native date to java date conversion result = 1; } } else if (to.isPrimitive() || to != Boolean.TYPE) { result = 3 + getSizeRank(to); } break; } return result; }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/22d09dcc1418990bbcdca43797688eb716ccb324/NativeJavaObject.java/buggy/js/rhino/src/org/mozilla/javascript/NativeJavaObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 336, 6814, 6544, 12, 921, 628, 2675, 16, 1659, 358, 13, 288, 3639, 509, 628, 1085, 273, 30257, 15460, 12, 2080, 2675, 1769, 2868, 1620, 261, 2080, 1085, 13, 288, 3639, 648, 804, 882, 1738, 67, 2124, 15544, 30, 5411, 309, 261, 869, 422, 7739, 5576, 18, 780, 797, 747, 7734, 358, 422, 7739, 5576, 18, 921, 797, 13, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 8560, 30, 5411, 309, 16051, 869, 18, 291, 9840, 10756, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 17900, 30, 5411, 368, 315, 6494, 6, 353, 468, 21, 5411, 309, 261, 869, 422, 3411, 18, 2399, 13, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 469, 309, 261, 869, 422, 7739, 5576, 18, 5507, 797, 13, 288, 7734, 563, 273, 576, 31, 5411, 289, 5411, 469, 309, 261, 869, 422, 7739, 5576, 18, 921, 797, 13, 288, 7734, 563, 273, 890, 31, 5411, 289, 5411, 469, 309, 261, 869, 422, 7739, 5576, 18, 780, 797, 13, 288, 7734, 563, 273, 1059, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 9931, 30, 5411, 309, 261, 869, 18, 291, 9840, 10756, 288, 7734, 309, 261, 869, 422, 3698, 18, 2399, 13, 288, 10792, 563, 273, 404, 31, 7734, 289, 7734, 469, 309, 261, 869, 480, 3411, 18, 2399, 13, 288, 10792, 563, 273, 404, 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, 509, 336, 6814, 6544, 12, 921, 628, 2675, 16, 1659, 358, 13, 288, 3639, 509, 628, 1085, 273, 30257, 15460, 12, 2080, 2675, 1769, 2868, 1620, 261, 2080, 1085, 13, 288, 3639, 648, 804, 882, 1738, 67, 2124, 15544, 30, 5411, 309, 261, 869, 422, 7739, 5576, 18, 780, 797, 747, 7734, 358, 422, 7739, 5576, 18, 921, 797, 13, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 8560, 30, 5411, 309, 16051, 869, 18, 291, 9840, 10756, 288, 7734, 563, 273, 404, 31, 5411, 289, 5411, 898, 31, 3639, 648, 804, 882, 1738, 67, 17900, 30, 5411, 368, 315, 6494, 6, 353, 468, 21, 5411, 309, 2 ]
"SELECT DISTINCT outages.iflostservice, outages.ifregainedservice, outages.nodeID, node.nodeLabel, outages.ipaddr, ipinterface.iphostname, service.servicename, outages.serviceId " +
"SELECT DISTINCT outages.outageid, outages.iflostservice, outages.ifregainedservice, outages.nodeID, node.nodeLabel, outages.ipaddr, ipinterface.iphostname, service.servicename, outages.serviceId " +
public Outage[] getOutagesForService( int nodeId, String ipInterface, int serviceId) throws SQLException { Outage[] outages = new Outage[0]; Connection conn = Vault.getDbConnection(); try { PreparedStatement stmt = conn.prepareStatement( "SELECT DISTINCT outages.iflostservice, outages.ifregainedservice, outages.nodeID, node.nodeLabel, outages.ipaddr, ipinterface.iphostname, service.servicename, outages.serviceId " + "from outages, node, ipinterface, service " + "where outages.nodeid=? and outages.ipaddr=? and outages.serviceid=? " + "and node.nodeid=outages.nodeid and outages.serviceid=service.serviceid and ipinterface.ipaddr=outages.ipaddr " + "order by iflostservice desc"); stmt.setInt(1, nodeId); stmt.setString(2, ipInterface); stmt.setInt(3, serviceId); ResultSet rs = stmt.executeQuery(); outages = rs2Outages(rs); rs.close(); stmt.close(); } finally { Vault.releaseDbConnection( conn ); } return outages; }
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/0b846b8856297fb973c71ad89c99ecf2b2a445d7/OutageModel.java/clean/src/web/src/org/opennms/web/outage/OutageModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2976, 410, 8526, 23141, 1023, 1290, 1179, 12, 509, 11507, 16, 514, 2359, 1358, 16, 509, 17130, 13, 1216, 6483, 288, 3639, 2976, 410, 8526, 596, 1023, 273, 394, 2976, 410, 63, 20, 15533, 3639, 4050, 1487, 273, 17329, 18, 588, 4331, 1952, 5621, 3639, 775, 288, 5411, 16913, 3480, 273, 1487, 18, 9366, 3406, 12, 10792, 315, 4803, 23286, 596, 1023, 18, 659, 410, 350, 16, 596, 1023, 18, 430, 383, 334, 3278, 16, 596, 1023, 18, 430, 1574, 8707, 3278, 16, 596, 1023, 18, 2159, 734, 16, 756, 18, 2159, 2224, 16, 596, 1023, 18, 625, 4793, 16, 2359, 5831, 18, 625, 10358, 16, 1156, 18, 23039, 335, 1069, 16, 596, 1023, 18, 3278, 548, 315, 397, 10792, 315, 2080, 596, 1023, 16, 756, 16, 2359, 5831, 16, 1156, 315, 397, 10792, 315, 6051, 596, 1023, 18, 2159, 350, 17282, 471, 596, 1023, 18, 625, 4793, 17282, 471, 596, 1023, 18, 3278, 350, 17282, 315, 397, 10792, 315, 464, 756, 18, 2159, 350, 33, 659, 1023, 18, 2159, 350, 471, 596, 1023, 18, 3278, 350, 33, 3278, 18, 3278, 350, 471, 2359, 5831, 18, 625, 4793, 33, 659, 1023, 18, 625, 4793, 315, 397, 10792, 315, 1019, 635, 309, 383, 334, 3278, 3044, 8863, 5411, 3480, 18, 542, 1702, 12, 21, 16, 11507, 1769, 5411, 3480, 18, 542, 780, 12, 22, 16, 2359, 1358, 1769, 5411, 3480, 18, 542, 1702, 12, 23, 16, 17130, 1769, 5411, 10842, 3597, 273, 3480, 18, 8837, 1138, 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, 2976, 410, 8526, 23141, 1023, 1290, 1179, 12, 509, 11507, 16, 514, 2359, 1358, 16, 509, 17130, 13, 1216, 6483, 288, 3639, 2976, 410, 8526, 596, 1023, 273, 394, 2976, 410, 63, 20, 15533, 3639, 4050, 1487, 273, 17329, 18, 588, 4331, 1952, 5621, 3639, 775, 288, 5411, 16913, 3480, 273, 1487, 18, 9366, 3406, 12, 10792, 315, 4803, 23286, 596, 1023, 18, 659, 410, 350, 16, 596, 1023, 18, 430, 383, 334, 3278, 16, 596, 1023, 18, 430, 1574, 8707, 3278, 16, 596, 1023, 18, 2159, 734, 16, 756, 18, 2159, 2224, 16, 596, 1023, 18, 625, 4793, 16, 2359, 5831, 18, 625, 10358, 16, 1156, 18, 23039, 335, 1069, 16, 596, 1023, 18, 3278, 548, 2 ]
return m_access;
return m_access;
public CmsExplorerTypeAccess getAccess() { if (m_access.isEmpty()) { CmsWorkplaceManager workplaceManager = OpenCms.getWorkplaceManager(); if (workplaceManager != null) { m_access = workplaceManager.getDefaultAccess(); } } return m_access; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/73d7768d5cfdff61d8895e38889eabd417b39d75/CmsExplorerTypeSettings.java/clean/src/org/opencms/workplace/explorer/CmsExplorerTypeSettings.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2149, 20938, 559, 1862, 21909, 1435, 288, 3639, 309, 261, 81, 67, 3860, 18, 291, 1921, 10756, 288, 5411, 27755, 1318, 28676, 1318, 273, 10319, 18, 588, 16514, 1318, 5621, 5411, 309, 261, 1252, 964, 1318, 480, 446, 13, 288, 7734, 312, 67, 3860, 273, 28676, 1318, 18, 588, 1868, 1862, 5621, 5411, 289, 3639, 289, 3639, 327, 312, 67, 3860, 31, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2149, 20938, 559, 1862, 21909, 1435, 288, 3639, 309, 261, 81, 67, 3860, 18, 291, 1921, 10756, 288, 5411, 27755, 1318, 28676, 1318, 273, 10319, 18, 588, 16514, 1318, 5621, 5411, 309, 261, 1252, 964, 1318, 480, 446, 13, 288, 7734, 312, 67, 3860, 273, 28676, 1318, 18, 588, 1868, 1862, 5621, 5411, 289, 3639, 289, 3639, 327, 312, 67, 3860, 31, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fireContentsChanged(this, index, index);
fireIntervalAdded(this, index, index);
public void add(int index, Object element) { elements.add(index, element); fireContentsChanged(this, index, index); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3fecc4797b433a10203c51309b9d8626f7783895/DefaultListModel.java/clean/core/src/classpath/javax/javax/swing/DefaultListModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 527, 12, 474, 770, 16, 1033, 930, 13, 225, 288, 565, 2186, 18, 1289, 12, 1615, 16, 930, 1769, 565, 4452, 4006, 8602, 12, 2211, 16, 770, 16, 770, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 527, 12, 474, 770, 16, 1033, 930, 13, 225, 288, 565, 2186, 18, 1289, 12, 1615, 16, 930, 1769, 565, 4452, 4006, 8602, 12, 2211, 16, 770, 16, 770, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
epeoplechanged = true;
epeopleChanged = true;
public void removeMember(EPerson e) { if (epeople.remove(e)) { epeoplechanged = true; } }
47292 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47292/edb9e4bb77e2c137353ec9cbd78be22ac41fdca8/Group.java/buggy/dspace/src/org/dspace/eperson/Group.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 4419, 12, 41, 8346, 425, 13, 565, 288, 3639, 309, 261, 73, 28035, 18, 4479, 12, 73, 3719, 3639, 288, 5411, 425, 28035, 5033, 273, 638, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1206, 4419, 12, 41, 8346, 425, 13, 565, 288, 3639, 309, 261, 73, 28035, 18, 4479, 12, 73, 3719, 3639, 288, 5411, 425, 28035, 5033, 273, 638, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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.lockedNonpublicMethodSet = new HashSet<Method>();
public FindInconsistentSync2(BugReporter bugReporter) { this.bugReporter = bugReporter; this.lockedNonpublicMethodSet = new HashSet<Method>(); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/2da93a21c69beec9b7eaea7dbe1b3b653bc41d9a/FindInconsistentSync2.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/FindInconsistentSync2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4163, 382, 16952, 4047, 22, 12, 19865, 13289, 7934, 13289, 13, 288, 202, 202, 2211, 18, 925, 13289, 273, 7934, 13289, 31, 202, 202, 2211, 18, 15091, 3989, 482, 1305, 694, 273, 394, 6847, 32, 1305, 34, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 4163, 382, 16952, 4047, 22, 12, 19865, 13289, 7934, 13289, 13, 288, 202, 202, 2211, 18, 925, 13289, 273, 7934, 13289, 31, 202, 202, 2211, 18, 15091, 3989, 482, 1305, 694, 273, 394, 6847, 32, 1305, 34, 5621, 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 ]
public boolean isExecutingRule() { try { String methodName = getMethodName(); String signature = getSignature(); if ("consequence".equals(methodName) && signature.startsWith(CONSEQUENCE_SIGNATURE)) { // TODO return name of drl return true; } } catch (DebugException exc) { DroolsIDEPlugin.log(exc); } return false; }
56149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56149/3b759d4bf1ed5cb93b1c783e8ce4f254ceb19d55/DroolsStackFrame.java/buggy/drools-ide/src/main/java/org/drools/ide/debug/core/DroolsStackFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6494, 291, 22134, 2175, 1435, 95, 202, 202, 698, 95, 1082, 202, 780, 2039, 461, 33, 588, 11666, 5621, 1082, 202, 780, 8195, 33, 588, 5374, 5621, 1082, 202, 430, 2932, 591, 6178, 9654, 14963, 12, 2039, 461, 13, 10, 10, 8195, 18, 17514, 1190, 12, 2248, 25330, 67, 26587, 3719, 95, 9506, 202, 759, 6241, 2463, 529, 792, 72, 1321, 9506, 202, 2463, 3767, 31, 1082, 202, 97, 202, 202, 97, 14683, 12, 2829, 503, 10075, 15329, 1082, 202, 40, 17473, 10385, 3773, 18, 1330, 12, 10075, 1769, 202, 202, 97, 202, 202, 2463, 5743, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6494, 291, 22134, 2175, 1435, 95, 202, 202, 698, 95, 1082, 202, 780, 2039, 461, 33, 588, 11666, 5621, 1082, 202, 780, 8195, 33, 588, 5374, 5621, 1082, 202, 430, 2932, 591, 6178, 9654, 14963, 12, 2039, 461, 13, 10, 10, 8195, 18, 17514, 1190, 12, 2248, 25330, 67, 26587, 3719, 95, 9506, 202, 759, 6241, 2463, 529, 792, 72, 1321, 9506, 202, 2463, 3767, 31, 1082, 202, 97, 202, 202, 97, 14683, 12, 2829, 503, 10075, 15329, 1082, 202, 40, 17473, 10385, 3773, 18, 1330, 12, 10075, 1769, 202, 202, 97, 202, 202, 2463, 5743, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void setUp() throws Exception { super.setUp(); try { // Connect to the server conn1 = new XMPPConnection("localhost"); // Use a second connection to create and delete the entry that will be added and // deleted from the roster conn2 = new XMPPConnection("localhost"); // Use a third connection to create and delete the entry that will be added and // deleted from the roster conn3 = new XMPPConnection("localhost"); // Create the test accounts if (!conn1.getAccountManager().supportsAccountCreation()) fail("Server does not support account creation"); conn1.getAccountManager().createAccount("gato10", "gato10"); conn2.getAccountManager().createAccount("gato11", "gato11"); conn3.getAccountManager().createAccount("gato12", "gato12"); // Login with the test accounts conn1.login("gato10", "gato10"); conn2.login("gato11", "gato11"); conn3.login("gato12", "gato12"); } catch (Exception e) { fail(e.getMessage()); } }
52005 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52005/33859481d2767f32107c31ce66e836e542ae32bc/RosterTest.java/clean/test/org/jivesoftware/smack/RosterTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 6459, 542, 1211, 1435, 15069, 503, 95, 9565, 18, 542, 1211, 5621, 698, 95, 759, 5215, 3307, 76, 281, 12330, 4646, 21, 33, 2704, 60, 19388, 1952, 2932, 13014, 8863, 759, 3727, 448, 10013, 4071, 1391, 602, 304, 449, 808, 546, 73, 4099, 19056, 20194, 70, 684, 785, 464, 759, 8600, 2080, 1136, 29811, 4646, 22, 33, 2704, 60, 19388, 1952, 2932, 13014, 8863, 759, 3727, 421, 6909, 4071, 1391, 602, 304, 449, 808, 546, 73, 4099, 19056, 20194, 70, 684, 785, 464, 759, 8600, 2080, 1136, 29811, 4646, 23, 33, 2704, 60, 19388, 1952, 2932, 13014, 8863, 759, 1996, 270, 546, 278, 395, 13739, 430, 12, 5, 4646, 21, 18, 588, 3032, 1318, 7675, 28064, 3032, 9906, 10756, 6870, 2932, 2081, 20657, 902, 13261, 4631, 17169, 8863, 4646, 21, 18, 588, 3032, 1318, 7675, 2640, 3032, 2932, 75, 31093, 2163, 15937, 75, 31093, 2163, 8863, 4646, 22, 18, 588, 3032, 1318, 7675, 2640, 3032, 2932, 75, 31093, 2499, 15937, 75, 31093, 2499, 8863, 4646, 23, 18, 588, 3032, 1318, 7675, 2640, 3032, 2932, 75, 31093, 2138, 15937, 75, 31093, 2138, 8863, 759, 5358, 1918, 451, 278, 395, 13739, 4646, 21, 18, 5819, 2932, 75, 31093, 2163, 15937, 75, 31093, 2163, 8863, 4646, 22, 18, 5819, 2932, 75, 31093, 2499, 15937, 75, 31093, 2499, 8863, 4646, 23, 18, 5819, 2932, 75, 31093, 2138, 15937, 75, 31093, 2138, 8863, 97, 14683, 12, 503, 73, 15329, 6870, 12, 73, 18, 24906, 10663, 9090, 2, 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, 1, 1, 1, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 6459, 542, 1211, 1435, 15069, 503, 95, 9565, 18, 542, 1211, 5621, 698, 95, 759, 5215, 3307, 76, 281, 12330, 4646, 21, 33, 2704, 60, 19388, 1952, 2932, 13014, 8863, 759, 3727, 448, 10013, 4071, 1391, 602, 304, 449, 808, 546, 73, 4099, 19056, 20194, 70, 684, 785, 464, 759, 8600, 2080, 1136, 29811, 4646, 22, 33, 2704, 60, 19388, 1952, 2932, 13014, 8863, 759, 3727, 421, 6909, 4071, 1391, 602, 304, 449, 808, 546, 73, 4099, 19056, 20194, 70, 684, 785, 464, 759, 8600, 2080, 1136, 29811, 4646, 23, 33, 2704, 60, 19388, 1952, 2932, 13014, 8863, 759, 1996, 270, 546, 278, 395, 13739, 430, 12, 5, 4646, 21, 18, 588, 3032, 1318, 7675, 28064, 3032, 9906, 2 ]
public org.quickfix.field.UnderlyingSecurityAltID getUnderlyingSecurityAltID() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityAltID value = new org.quickfix.field.UnderlyingSecurityAltID();
public quickfix.field.UnderlyingSecurityAltID getUnderlyingSecurityAltID() throws FieldNotFound { quickfix.field.UnderlyingSecurityAltID value = new quickfix.field.UnderlyingSecurityAltID();
public org.quickfix.field.UnderlyingSecurityAltID getUnderlyingSecurityAltID() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityAltID value = new org.quickfix.field.UnderlyingSecurityAltID(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderStatusRequest.java/buggy/src/java/src/quickfix/fix44/OrderStatusRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 10655, 734, 10833, 765, 6291, 4368, 10655, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 10655, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 10655, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 10655, 734, 10833, 765, 6291, 4368, 10655, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 10655, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 4368, 10655, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Atom a = new Atom("C");
Atom a = builder.newAtom("C");
public void testSetFractY3d_double() { Atom a = new Atom("C"); a.setFractY3d(0.5); Point3d point3d = a.getFractionalPoint3d(); assertEquals(0.5, point3d.y, 0.001); }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/2569471249d8066c9cb1c037569a570e039ed288/AtomTest.java/clean/src/org/openscience/cdk/test/AtomTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 694, 42, 14266, 61, 23, 72, 67, 9056, 1435, 288, 3639, 7149, 279, 273, 2089, 18, 2704, 3641, 2932, 39, 8863, 3639, 279, 18, 542, 42, 14266, 61, 23, 72, 12, 20, 18, 25, 1769, 3639, 4686, 23, 72, 1634, 23, 72, 273, 279, 18, 588, 13724, 287, 2148, 23, 72, 5621, 3639, 1815, 8867, 12, 20, 18, 25, 16, 1634, 23, 72, 18, 93, 16, 374, 18, 11664, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 694, 42, 14266, 61, 23, 72, 67, 9056, 1435, 288, 3639, 7149, 279, 273, 2089, 18, 2704, 3641, 2932, 39, 8863, 3639, 279, 18, 542, 42, 14266, 61, 23, 72, 12, 20, 18, 25, 1769, 3639, 4686, 23, 72, 1634, 23, 72, 273, 279, 18, 588, 13724, 287, 2148, 23, 72, 5621, 3639, 1815, 8867, 12, 20, 18, 25, 16, 1634, 23, 72, 18, 93, 16, 374, 18, 11664, 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 ]
case TokenStream.ELEMINC : rhs = stack[stackTop];
} case TokenStream.ELEMINC : { Object rhs = stack[stackTop];
public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, NativeFunction fnOrScript, InterpreterData theData) throws JavaScriptException { if (cx.interpreterSecurityDomain != theData.securityDomain) { // If securityDomain is different, update domain in Cotext // and call self under new domain Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = theData.securityDomain; try { return interpret(cx, scope, thisObj, args, fnOrScript, theData); } finally { cx.interpreterSecurityDomain = savedDomain; } } int i; Object lhs; final int maxStack = theData.itsMaxStack; final int maxVars = (fnOrScript.argNames == null) ? 0 : fnOrScript.argNames.length; final int maxLocals = theData.itsMaxLocals; final int maxTryDepth = theData.itsMaxTryDepth; final int VAR_SHFT = maxStack; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int TRY_SCOPE_SHFT = LOCAL_SHFT + maxLocals;// stack[0 <= i < VAR_SHFT]: stack data// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_SCOPE_SHFT]: used for newtemp/usetemp// stack[TRY_SCOPE_SHFT <= i]: try scopes// when 0 <= i < LOCAL_SHFT and stack[x] == DBL_MRK,// sDbl[i] gives the number value final Object DBL_MRK = Interpreter.DBL_MRK; Object[] stack = new Object[TRY_SCOPE_SHFT + maxTryDepth]; double[] sDbl = new double[TRY_SCOPE_SHFT]; int stackTop = -1; byte[] iCode = theData.itsICode; String[] strings = theData.itsStringTable; int pc = 0; int iCodeLength = theData.itsICodeTop; final Scriptable undefined = Undefined.instance; if (maxVars != 0) { int definedArgs = fnOrScript.argCount; if (definedArgs != 0) { if (definedArgs > args.length) { definedArgs = args.length; } for (i = 0; i != definedArgs; ++i) { stack[VAR_SHFT + i] = args[i]; } } for (i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } } if (theData.itsNestedFunctions != null) { for (i = 0; i < theData.itsNestedFunctions.length; i++) createFunctionObject(theData.itsNestedFunctions[i], scope); } Object id; Object rhs, val; double valDbl; boolean valBln; int count; int slot; String name = null; Object[] outArgs; int lIntValue; double lDbl; int rIntValue; double rDbl;// tryStack[2 * i]: starting pc of catch block// tryStack[2 * i + 1]: starting pc of finally block int[] tryStack = null; int tryStackTop = 0; InterpreterFrame frame = null; if (cx.debugger != null) { frame = new InterpreterFrame(scope, theData, fnOrScript); cx.pushFrame(frame); } Object result = undefined; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; while (pc < iCodeLength) { try { switch (iCode[pc] & 0xff) { case TokenStream.ENDTRY : tryStackTop--; break; case TokenStream.TRY : if (tryStackTop == 0) { tryStack = new int[maxTryDepth * 2]; } i = getTarget(iCode, pc + 1); if (i == pc) i = 0; tryStack[tryStackTop * 2] = i; i = getTarget(iCode, pc + 3); if (i == (pc + 2)) i = 0; tryStack[tryStackTop * 2 + 1] = i; stack[TRY_SCOPE_SHFT + tryStackTop] = scope; ++tryStackTop; pc += 4; break; case TokenStream.GE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl <= lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LE : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl <= rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LE(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.GT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && rDbl < lDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(rhs, lhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.LT : --stackTop; rhs = stack[stackTop + 1]; lhs = stack[stackTop]; if (rhs == DBL_MRK || lhs == DBL_MRK) { rDbl = stack_double(stack, sDbl, stackTop + 1); lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl == rDbl && lDbl == lDbl && lDbl < rDbl); } else { valBln = (1 == ScriptRuntime.cmp_LT(lhs, rhs)); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IN : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.INSTANCEOF : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); valBln = ScriptRuntime.instanceOf(scope, lhs, rhs); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.EQ : --stackTop; valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.NE : --stackTop; valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHEQ : --stackTop; valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.SHNE : --stackTop; valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; case TokenStream.IFNE : val = stack[stackTop]; if (val != DBL_MRK) { valBln = !ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = !(valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.IFEQ : val = stack[stackTop]; if (val != DBL_MRK) { valBln = ScriptRuntime.toBoolean(val); } else { valDbl = sDbl[stackTop]; valBln = (valDbl == valDbl && valDbl != 0.0); } --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount (instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.GOSUB : sDbl[++stackTop] = pc + 3; if (instructionThreshold != 0) { instructionCount += pc + 3 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc + 1); continue; case TokenStream.RETSUB : slot = (iCode[pc + 1] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = (int)sDbl[LOCAL_SHFT + slot]; continue; case TokenStream.POP : stackTop--; break; case TokenStream.DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case TokenStream.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break; case TokenStream.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; pc = getTarget(iCode, pc + 1); break; case TokenStream.BITNOT : rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; case TokenStream.BITAND : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; case TokenStream.BITOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; case TokenStream.BITXOR : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; case TokenStream.LSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; case TokenStream.RSH : rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; case TokenStream.URSH : rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; case TokenStream.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case TokenStream.SUB : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; case TokenStream.NEG : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; case TokenStream.POS : rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; case TokenStream.MUL : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; case TokenStream.DIV : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; case TokenStream.MOD : rDbl = stack_double(stack, sDbl, stackTop); --stackTop; lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; case TokenStream.BINDNAME : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; case TokenStream.GETBASE : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.getBase(scope, name); pc += 2; break; case TokenStream.SETNAME : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; // what about class cast exception here for lhs? stack[stackTop] = ScriptRuntime.setName ((Scriptable)lhs, rhs, scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.DELPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(lhs, rhs); break; case TokenStream.GETPROP : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; case TokenStream.SETPROP : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; case TokenStream.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case TokenStream.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case TokenStream.PROPINC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; case TokenStream.PROPDEC : name = (String)stack[stackTop]; --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; case TokenStream.ELEMINC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrementElem(lhs, rhs, scope); break; case TokenStream.ELEMDEC : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postDecrementElem(lhs, rhs, scope); break; case TokenStream.GETTHIS : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getThis((Scriptable)lhs); break; case TokenStream.NEWTEMP : slot = (iCode[++pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.USETEMP : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; break; case TokenStream.CALLSPECIAL : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int lineNum = getShort(iCode, pc + 1); name = strings[getShort(iCode, pc + 3)]; count = getShort(iCode, pc + 5); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, lhs, rhs, outArgs, thisObj, scope, name, lineNum); pc += 6; instructionCount = cx.instructionCount; break; case TokenStream.CALL : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } cx.instructionCount = instructionCount; count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined) { i = getShort(iCode, pc + 1); if (i != -1) lhs = strings[i]; } Scriptable calleeScope = scope; if (theData.itsNeedsActivation) { calleeScope = ScriptableObject. getTopLevelScope(scope); } stack[stackTop] = ScriptRuntime.call(cx, lhs, rhs, outArgs, calleeScope); pc += 4; instructionCount = cx.instructionCount; break; case TokenStream.NEW : if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count); stackTop -= count; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); if (lhs == undefined && getShort(iCode, pc + 1) != -1) { // special code for better error message for call // to undefined lhs = strings[getShort(iCode, pc + 1)]; } stack[stackTop] = ScriptRuntime.newObject(cx, lhs, outArgs, scope); pc += 4; instructionCount = cx.instructionCount; break; case TokenStream.TYPEOF : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; case TokenStream.TYPEOFNAME : name = strings[getShort(iCode, pc + 1)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; case TokenStream.STRING : stack[++stackTop] = strings[getShort(iCode, pc + 1)]; pc += 2; break; case SHORTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc + 1); pc += 2; break; case INTNUMBER_ICODE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc + 1); pc += 4; break; case TokenStream.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = theData. itsDoubleTable[getShort(iCode, pc + 1)]; pc += 2; break; case TokenStream.NAME : stack[++stackTop] = ScriptRuntime.name (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEINC : stack[++stackTop] = ScriptRuntime.postIncrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.NAMEDEC : stack[++stackTop] = ScriptRuntime.postDecrement (scope, strings[getShort(iCode, pc + 1)]); pc += 2; break; case TokenStream.SETVAR : slot = (iCode[++pc] & 0xFF); stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; break; case TokenStream.GETVAR : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; break; case TokenStream.VARINC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) + 1.0; break; case TokenStream.VARDEC : slot = (iCode[++pc] & 0xFF); ++stackTop; stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = stack_double(stack, sDbl, stackTop) - 1.0; break; case TokenStream.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case TokenStream.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case TokenStream.NULL : stack[++stackTop] = null; break; case TokenStream.THIS : stack[++stackTop] = thisObj; break; case TokenStream.THISFN : stack[++stackTop] = fnOrScript; break; case TokenStream.FALSE : stack[++stackTop] = Boolean.FALSE; break; case TokenStream.TRUE : stack[++stackTop] = Boolean.TRUE; break; case TokenStream.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case TokenStream.THROW : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; throw new JavaScriptException(result); case TokenStream.JTHROW : result = stack[stackTop]; // No need to check for DBL_MRK: result is Exception --stackTop; if (result instanceof JavaScriptException) throw (JavaScriptException)result; else throw (RuntimeException)result; case TokenStream.ENTERWITH : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); break; case TokenStream.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); break; case TokenStream.NEWSCOPE : stack[++stackTop] = ScriptRuntime.newScope(); break; case TokenStream.ENUMINIT : slot = (iCode[++pc] & 0xFF); lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.initEnum(lhs, scope); break; case TokenStream.ENUMNEXT : slot = (iCode[++pc] & 0xFF); val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = ScriptRuntime. nextEnum((Enumeration)val); break; case TokenStream.GETPROTO : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; case TokenStream.GETPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs); break; case TokenStream.GETSCOPEPARENT : lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; case TokenStream.SETPROTO : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProto(lhs, rhs, scope); break; case TokenStream.SETPARENT : rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; case TokenStream.SCOPE : stack[++stackTop] = scope; break; case TokenStream.CLOSURE : i = getShort(iCode, pc + 1); stack[++stackTop] = new InterpretedFunction( theData.itsNestedFunctions[i], scope, cx); createFunctionObject( (InterpretedFunction)stack[stackTop], scope); pc += 2; break; case TokenStream.OBJECT : i = getShort(iCode, pc + 1); stack[++stackTop] = theData.itsRegExpLiterals[i]; pc += 2; break; case SOURCEFILE_ICODE : cx.interpreterSourceFile = theData.itsSourceFile; break; case LINE_ICODE : case BREAKPOINT_ICODE : i = getShort(iCode, pc + 1); cx.interpreterLine = i; if (frame != null) frame.setLineNumber(i); if ((iCode[pc] & 0xff) == BREAKPOINT_ICODE || cx.inLineStepMode) { cx.getDebuggableEngine(). getDebugger().handleBreakpointHit(cx); } pc += 2; break; default : dumpICode(theData); throw new RuntimeException("Unknown icode : " + (iCode[pc] & 0xff) + " @ pc : " + pc); } pc++; } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } final int SCRIPT_THROW = 0, ECMA = 1, RUNTIME = 2, OTHER = 3; int exType; Object errObj; // Object seen by catch for (;;) { if (ex instanceof JavaScriptException) { errObj = ScriptRuntime. unwrapJavaScriptException((JavaScriptException)ex); exType = SCRIPT_THROW; } else if (ex instanceof EcmaError) { // an offical ECMA error object, errObj = ((EcmaError)ex).getErrorObject(); exType = ECMA; } else if (ex instanceof WrappedException) { Object w = ((WrappedException) ex).unwrap(); if (w instanceof Throwable) { ex = (Throwable) w; continue; } errObj = ex; exType = RUNTIME; } else if (ex instanceof RuntimeException) { errObj = ex; exType = RUNTIME; } else { errObj = ex; // Error instance exType = OTHER; } break; } if (exType != OTHER && cx.debugger != null) { cx.debugger.handleExceptionThrown(cx, errObj); } boolean rethrow = true; if (exType != OTHER && tryStackTop > 0) { --tryStackTop; if (exType == SCRIPT_THROW || exType == ECMA) { // Check for catch only for // JavaScriptException and EcmaError pc = tryStack[tryStackTop * 2]; if (pc != 0) { // Has catch block rethrow = false; } } if (rethrow) { pc = tryStack[tryStackTop * 2 + 1]; if (pc != 0) { // has finally block rethrow = false; errObj = ex; } } } if (rethrow) { if (frame != null) cx.popFrame(); if (exType == SCRIPT_THROW) throw (JavaScriptException)ex; if (exType == ECMA || exType == RUNTIME) throw (RuntimeException)ex; throw (Error)ex; } // We caught an exception, // Notify instruction observer if necessary // and point pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc; // prepare stack and restore this function's security domain. scope = (Scriptable)stack[TRY_SCOPE_SHFT + tryStackTop]; stackTop = 0; stack[0] = errObj; } } if (frame != null) cx.popFrame(); if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } return result; }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/7ab2eb958bc5d5b8575262b37554c7e600ccf6e9/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 282, 22780, 15261, 16, 1033, 8526, 833, 16, 4766, 282, 16717, 2083, 2295, 1162, 3651, 16, 4766, 282, 5294, 11599, 751, 326, 751, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 326, 751, 18, 7462, 3748, 13, 288, 6647, 368, 971, 4373, 3748, 353, 3775, 16, 1089, 2461, 316, 385, 352, 408, 6647, 368, 471, 745, 365, 3613, 394, 2461, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 326, 751, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 10634, 12, 71, 92, 16, 2146, 16, 15261, 16, 833, 16, 2295, 1162, 3651, 16, 326, 751, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 509, 277, 31, 3639, 1033, 8499, 31, 3639, 727, 509, 943, 2624, 273, 326, 751, 18, 1282, 2747, 2624, 31, 3639, 727, 509, 943, 5555, 273, 261, 4293, 1162, 3651, 18, 3175, 1557, 422, 446, 13, 18701, 692, 374, 294, 2295, 1162, 3651, 18, 3175, 1557, 18, 2469, 31, 3639, 727, 509, 943, 1333, 1031, 273, 326, 751, 18, 1282, 2747, 1333, 1031, 31, 3639, 727, 509, 943, 7833, 6148, 273, 326, 751, 18, 1282, 2747, 7833, 6148, 31, 3639, 727, 509, 8350, 67, 2664, 4464, 273, 943, 2624, 31, 3639, 727, 509, 15234, 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, 377, 1071, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 282, 22780, 15261, 16, 1033, 8526, 833, 16, 4766, 282, 16717, 2083, 2295, 1162, 3651, 16, 4766, 282, 5294, 11599, 751, 326, 751, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 326, 751, 18, 7462, 3748, 13, 288, 6647, 368, 971, 4373, 3748, 353, 3775, 16, 1089, 2461, 316, 385, 352, 408, 6647, 368, 471, 745, 365, 3613, 394, 2461, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 326, 751, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 10634, 12, 71, 92, 16, 2 ]
public static Error abort(String message, Object object) { return new ApplicationError(message, object);
public static Error abort() { return new ApplicationError();
public static Error abort(String message, Object object) { return new ApplicationError(message, object); }
9617 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9617/0b3a91891d6632538b72d89722778c52b01b6ff9/Debug.java/buggy/sources/scalac/util/Debug.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1068, 6263, 12, 780, 883, 16, 1033, 733, 13, 288, 3639, 327, 394, 4257, 668, 12, 2150, 16, 733, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 760, 1068, 6263, 12, 780, 883, 16, 1033, 733, 13, 288, 3639, 327, 394, 4257, 668, 12, 2150, 16, 733, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return BookmarkMessages.getString("LineIndicator.text") + ' ' + line;
return BookmarkMessages.format("LineIndicator.text", new String[] {String.valueOf(line)});
public String getColumnText(Object element, int columnIndex) { if (!(element instanceof IMarker)) return ""; //$NON-NLS-1$ IMarker marker = (IMarker) element; switch (columnIndex) { case BookmarkConstants.COLUMN_DESCRIPTION : return marker.getAttribute(IMarker.MESSAGE, ""); //$NON-NLS-1$ case BookmarkConstants.COLUMN_RESOURCE : return marker.getResource().getName(); case BookmarkConstants.COLUMN_FOLDER : return getContainerName(marker); case BookmarkConstants.COLUMN_LOCATION : { int line = marker.getAttribute(IMarker.LINE_NUMBER, -1); if (line == -1) return ""; //$NON-NLS-1$ return BookmarkMessages.getString("LineIndicator.text") + ' ' + line; //$NON-NLS-1$ } } return ""; //$NON-NLS-1$ }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/31274719a77e2aa84846fc0c9e3df52b44a2944d/BookmarkLabelProvider.java/clean/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/bookmarkexplorer/BookmarkLabelProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 6716, 1528, 12, 921, 930, 16, 509, 14882, 13, 288, 202, 202, 430, 16051, 12, 2956, 1276, 467, 7078, 3719, 1082, 202, 2463, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 3445, 1313, 264, 5373, 273, 261, 3445, 1313, 264, 13, 930, 31, 202, 202, 9610, 261, 2827, 1016, 13, 288, 1082, 202, 3593, 20258, 3355, 2918, 18, 11009, 67, 15911, 294, 9506, 202, 2463, 5373, 18, 588, 1499, 12, 3445, 1313, 264, 18, 8723, 16, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 3593, 20258, 3355, 2918, 18, 11009, 67, 11395, 294, 9506, 202, 2463, 5373, 18, 588, 1420, 7675, 17994, 5621, 1082, 202, 3593, 20258, 3355, 2918, 18, 11009, 67, 17357, 294, 9506, 202, 2463, 9272, 461, 12, 11145, 1769, 1082, 202, 3593, 20258, 3355, 2918, 18, 11009, 67, 15277, 294, 9506, 202, 95, 6862, 202, 474, 980, 273, 5373, 18, 588, 1499, 12, 3445, 1313, 264, 18, 5997, 67, 9931, 16, 300, 21, 1769, 6862, 202, 430, 261, 1369, 422, 300, 21, 13, 25083, 202, 2463, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 2463, 20258, 3355, 5058, 18, 2139, 2932, 1670, 13140, 18, 955, 3113, 394, 514, 8526, 288, 780, 18, 1132, 951, 12, 1369, 16869, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 97, 202, 202, 97, 202, 202, 2463, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 225, 202, 97, 2, 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, 1, 1, 1, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 6716, 1528, 12, 921, 930, 16, 509, 14882, 13, 288, 202, 202, 430, 16051, 12, 2956, 1276, 467, 7078, 3719, 1082, 202, 2463, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 3445, 1313, 264, 5373, 273, 261, 3445, 1313, 264, 13, 930, 31, 202, 202, 9610, 261, 2827, 1016, 13, 288, 1082, 202, 3593, 20258, 3355, 2918, 18, 11009, 67, 15911, 294, 9506, 202, 2463, 5373, 18, 588, 1499, 12, 3445, 1313, 264, 18, 8723, 16, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 3593, 20258, 3355, 2918, 18, 11009, 67, 11395, 294, 9506, 202, 2463, 5373, 18, 588, 1420, 7675, 17994, 5621, 1082, 202, 3593, 20258, 3355, 2918, 2 ]