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
try { getLogger().debug( "Creating label: " + tag ); Commandline newLabelCommandLine = createNewLabelCommandLine( fileSet, tag ); getLogger().debug( newLabelCommandLine.toString() ); exitCode = CommandLineUtils.executeCommandLine( newLabelCommandLine, new CommandLineUtils.StringStreamConsumer(), stderr );
try { getLogger().debug( "Creating label: " + tag ); Commandline newLabelCommandLine = createNewLabelCommandLine( fileSet, tag ); getLogger().debug( newLabelCommandLine.toString() ); exitCode = CommandLineUtils.executeCommandLine( newLabelCommandLine, new CommandLineUtils.StringStreamConsumer(), stderr );
protected ScmResult executeTagCommand( ScmProviderRepository scmProviderRepository, ScmFileSet fileSet, String tag ) throws ScmException { Commandline cl = createCommandLine( fileSet, tag ); ClearCaseCheckInConsumer consumer = new ClearCaseCheckInConsumer( getLogger() ); CommandLineUtils.StringStreamConsumer stderr = new CommandLineUtils.StringStreamConsumer(); int exitCode; try { getLogger().debug( "Creating label: " + tag ); Commandline newLabelCommandLine = createNewLabelCommandLine( fileSet, tag ); getLogger().debug( newLabelCommandLine.toString() ); exitCode = CommandLineUtils.executeCommandLine( newLabelCommandLine, new CommandLineUtils.StringStreamConsumer(), stderr ); if (exitCode == 0) { getLogger().debug( cl.toString() ); exitCode = CommandLineUtils.executeCommandLine( cl, consumer, stderr ); } } catch (CommandLineException ex) { throw new ScmException( "Error while executing clearcase command.", ex ); } if (exitCode != 0) { return new TagScmResult( cl.toString(), "The cleartool command failed.", stderr.getOutput(), false ); } return new TagScmResult( cl.toString(), consumer.getCheckedInFiles() ); }
48502 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48502/45d3dc744adc25176ac9602fc8c9b1c9186d3fa4/ClearCaseTagCommand.java/buggy/maven-scm-providers/maven-scm-provider-clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/command/tag/ClearCaseTagCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 2850, 81, 1253, 1836, 1805, 2189, 12, 2850, 81, 2249, 3305, 29207, 2249, 3305, 16, 6862, 6862, 1082, 282, 2850, 81, 812, 694, 585, 694, 16, 6862, 6862, 1082, 282, 514, 1047, 262, 1216, 2850, 81, 503, 202, 95, 202, 202, 2189, 1369, 927, 273, 752, 21391, 12, 585, 694, 16, 1047, 11272, 202, 202, 9094, 2449, 1564, 382, 5869, 4765, 273, 394, 10121, 2449, 1564, 382, 5869, 12, 7156, 1435, 11272, 202, 202, 21391, 1989, 18, 780, 1228, 5869, 4514, 273, 394, 15893, 1989, 18, 780, 1228, 5869, 5621, 202, 202, 474, 16067, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 588, 3328, 7675, 4148, 12, 315, 11092, 1433, 30, 315, 397, 1047, 11272, 1082, 202, 2189, 1369, 394, 2224, 21391, 273, 15291, 2224, 21391, 12, 585, 694, 16, 1047, 11272, 1082, 202, 588, 3328, 7675, 4148, 12, 394, 2224, 21391, 18, 10492, 1435, 11272, 1082, 202, 8593, 1085, 273, 15893, 1989, 18, 8837, 21391, 12, 394, 2224, 21391, 16, 394, 15893, 1989, 18, 780, 1228, 5869, 9334, 4514, 11272, 1082, 202, 430, 261, 8593, 1085, 422, 374, 13, 1082, 202, 95, 9506, 202, 588, 3328, 7675, 4148, 12, 927, 18, 10492, 1435, 11272, 9506, 202, 8593, 1085, 273, 15893, 1989, 18, 8837, 21391, 12, 927, 16, 4765, 16, 4514, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 14683, 261, 21391, 503, 431, 13, 202, 202, 95, 1082, 202, 12849, 394, 2850, 81, 503, 12, 315, 668, 1323, 11274, 2424, 3593, 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, 2850, 81, 1253, 1836, 1805, 2189, 12, 2850, 81, 2249, 3305, 29207, 2249, 3305, 16, 6862, 6862, 1082, 282, 2850, 81, 812, 694, 585, 694, 16, 6862, 6862, 1082, 282, 514, 1047, 262, 1216, 2850, 81, 503, 202, 95, 202, 202, 2189, 1369, 927, 273, 752, 21391, 12, 585, 694, 16, 1047, 11272, 202, 202, 9094, 2449, 1564, 382, 5869, 4765, 273, 394, 10121, 2449, 1564, 382, 5869, 12, 7156, 1435, 11272, 202, 202, 21391, 1989, 18, 780, 1228, 5869, 4514, 273, 394, 15893, 1989, 18, 780, 1228, 5869, 5621, 202, 202, 474, 16067, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 588, 3328, 7675, 4148, 12, 315, 11092, 1433, 30, 315, 397, 1047, 11272, 2 ]
odiResult.doSave( streamManager.getOutStream( DataEngineContext.EXPR_VALUE_STREAM ), streamManager.getOutStream( DataEngineContext.ROWLENGTH_INFO_STREAM ),
OutputStream streamForExprValue = null; OutputStream streamForRowLen = null; if ( context.getMode( ) == DataEngineContext.PRESENTATION_AND_GENERATION ) { streamForExprValue = streamManager.getOutStream( DataEngineContext.EXPR_VALUE_STREAM ); streamForRowLen = streamManager.getOutStream( DataEngineContext.ROWLENGTH_INFO_STREAM ); } odiResult.doSave( streamForExprValue, streamForRowLen,
private void saveResultIterator( IResultIterator odiResult, int groupLevel, int[] subQueryInfo ) throws DataException { try { // save the information of result class and group information boolean isSubQuery = streamManager.isSubquery( ); OutputStream streamForResultClass = null; if ( isSubQuery == false ) streamForResultClass = streamManager.getOutStream( DataEngineContext.RESULTCLASS_STREAM ); OutputStream streamForGroupInfo = streamManager.getOutStream( DataEngineContext.GROUP_INFO_STREAM ); odiResult.doSave( streamManager.getOutStream( DataEngineContext.EXPR_VALUE_STREAM ), streamManager.getOutStream( DataEngineContext.ROWLENGTH_INFO_STREAM ), streamForResultClass, null, streamForGroupInfo, isSubQuery, RDSave.this.exprNameSet ); streamForGroupInfo.close( ); if ( streamForResultClass != null ) streamForResultClass.close( ); // save the information of sub query information // notice, sub query name is used instead of sub query id if ( isSubQuery == true && streamManager.hasSubStream( DataEngineContext.SUBQUERY_INFO_STREAM ) == false ) { // save info related with sub query info OutputStream streamForSubQuery = streamManager.getSubOutStream( DataEngineContext.SUBQUERY_INFO_STREAM ); RDSubQueryUtil.doSave( streamForSubQuery, groupLevel, subQueryInfo ); streamForSubQuery.close( ); } } catch ( IOException e ) { throw new DataException( ResourceConstants.RD_SAVE_ERROR, e, "Result Set" ); } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/7f50e12b6336aaa1d5cb539eef819c63548feb2a/RDSave.java/clean/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RDSave.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 1923, 1253, 3198, 12, 467, 1253, 3198, 320, 3211, 1253, 16, 9506, 202, 474, 1041, 2355, 16, 509, 8526, 25182, 966, 262, 1216, 1910, 503, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 759, 1923, 326, 1779, 434, 563, 667, 471, 1041, 1779, 9506, 202, 6494, 16523, 1138, 273, 1407, 1318, 18, 291, 1676, 2271, 12, 11272, 9506, 202, 4632, 1407, 1290, 1253, 797, 273, 446, 31, 9506, 202, 430, 261, 16523, 1138, 422, 629, 262, 6862, 202, 3256, 1290, 1253, 797, 273, 1407, 1318, 18, 588, 1182, 1228, 12, 1910, 4410, 1042, 18, 12289, 5237, 67, 13693, 11272, 9506, 202, 4632, 1407, 1290, 1114, 966, 273, 1407, 1318, 18, 588, 1182, 1228, 12, 1910, 4410, 1042, 18, 8468, 67, 5923, 67, 13693, 11272, 9506, 202, 369, 77, 1253, 18, 2896, 4755, 12, 1407, 1318, 18, 588, 1182, 1228, 12, 1910, 4410, 1042, 18, 2294, 8025, 67, 4051, 67, 13693, 262, 16, 25083, 202, 3256, 1318, 18, 588, 1182, 1228, 12, 1910, 4410, 1042, 18, 11226, 7096, 67, 5923, 67, 13693, 262, 16, 25083, 202, 3256, 1290, 1253, 797, 16, 25083, 202, 2011, 16, 25083, 202, 3256, 1290, 1114, 966, 16, 25083, 202, 291, 1676, 1138, 16, 25083, 202, 54, 3948, 836, 18, 2211, 18, 8638, 461, 694, 11272, 9506, 202, 3256, 1290, 1114, 966, 18, 4412, 12, 11272, 9506, 202, 430, 261, 1407, 1290, 1253, 797, 480, 446, 262, 6862, 202, 3256, 1290, 1253, 797, 18, 4412, 12, 11272, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 1923, 1253, 3198, 12, 467, 1253, 3198, 320, 3211, 1253, 16, 9506, 202, 474, 1041, 2355, 16, 509, 8526, 25182, 966, 262, 1216, 1910, 503, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 759, 1923, 326, 1779, 434, 563, 667, 471, 1041, 1779, 9506, 202, 6494, 16523, 1138, 273, 1407, 1318, 18, 291, 1676, 2271, 12, 11272, 9506, 202, 4632, 1407, 1290, 1253, 797, 273, 446, 31, 9506, 202, 430, 261, 16523, 1138, 422, 629, 262, 6862, 202, 3256, 1290, 1253, 797, 273, 1407, 1318, 18, 588, 1182, 1228, 12, 1910, 4410, 1042, 18, 12289, 5237, 67, 13693, 11272, 9506, 202, 4632, 1407, 1290, 1114, 966, 273, 1407, 1318, 18, 588, 1182, 2 ]
public org.quickfix.field.NoPartyIDs getNoPartyIDs() throws FieldNotFound { org.quickfix.field.NoPartyIDs value = new org.quickfix.field.NoPartyIDs();
public quickfix.field.NoPartyIDs getNoPartyIDs() throws FieldNotFound { quickfix.field.NoPartyIDs value = new quickfix.field.NoPartyIDs();
public org.quickfix.field.NoPartyIDs getNoPartyIDs() throws FieldNotFound { org.quickfix.field.NoPartyIDs value = new org.quickfix.field.NoPartyIDs(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/MassQuote.java/clean/src/java/src/quickfix/fix44/MassQuote.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 17619, 5103, 336, 2279, 17619, 5103, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 17619, 5103, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 17619, 5103, 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, 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[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 17619, 5103, 336, 2279, 17619, 5103, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 17619, 5103, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 17619, 5103, 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 ]
/* compute title bar height; this should be done by computeTrim * to correctly handle seperate top center. */ int leftHeight = 0; if (control.getTopLeft() != null && !control.getTopLeft().isDisposed()) { leftHeight = control.getTopLeft().computeSize(SWT.DEFAULT, SWT.DEFAULT).y; } int centerHeight = 0; if (control.getTopCenter() != null && !control.getTopCenter().isDisposed()) { centerHeight = control.getTopCenter().computeSize(SWT.DEFAULT, SWT.DEFAULT).y; } int rightHeight = 0; if (control.getTopRight() != null && !control.getTopRight().isDisposed()) { rightHeight = control.getTopRight().computeSize(SWT.DEFAULT, SWT.DEFAULT).y; } int topHeight = Math.max(leftHeight, Math.max(centerHeight, rightHeight));
public int getMinimumHeight() { if (control == null || control.isDisposed()) return super.getMinimumHeight(); /* compute title bar height; this should be done by computeTrim * to correctly handle seperate top center. */ int leftHeight = 0; if (control.getTopLeft() != null && !control.getTopLeft().isDisposed()) { leftHeight = control.getTopLeft().computeSize(SWT.DEFAULT, SWT.DEFAULT).y; } int centerHeight = 0; if (control.getTopCenter() != null && !control.getTopCenter().isDisposed()) { centerHeight = control.getTopCenter().computeSize(SWT.DEFAULT, SWT.DEFAULT).y; } int rightHeight = 0; if (control.getTopRight() != null && !control.getTopRight().isDisposed()) { rightHeight = control.getTopRight().computeSize(SWT.DEFAULT, SWT.DEFAULT).y; } int topHeight = Math.max(leftHeight, Math.max(centerHeight, rightHeight)); // account for the borders topHeight = control.computeTrim(0, 0, 0, topHeight).height; return topHeight;}
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/8c9deca5b5a25a6df8cce332551b8d6ac59a6c51/PartPane.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 509, 30665, 2686, 1435, 288, 202, 430, 261, 7098, 422, 446, 747, 3325, 18, 291, 1669, 7423, 10756, 202, 202, 2463, 2240, 18, 588, 13042, 2686, 5621, 202, 202, 20308, 3671, 2077, 4653, 2072, 31, 333, 1410, 506, 2731, 635, 3671, 14795, 3196, 380, 358, 8783, 1640, 22282, 340, 1760, 4617, 18, 202, 1195, 202, 474, 2002, 2686, 273, 374, 31, 202, 430, 261, 7098, 18, 588, 3401, 3910, 1435, 480, 446, 597, 401, 7098, 18, 588, 3401, 3910, 7675, 291, 1669, 7423, 10756, 288, 202, 202, 4482, 2686, 273, 3325, 18, 588, 3401, 3910, 7675, 9200, 1225, 12, 55, 8588, 18, 5280, 16, 348, 8588, 18, 5280, 2934, 93, 31, 202, 97, 202, 474, 4617, 2686, 273, 374, 31, 202, 430, 261, 7098, 18, 588, 3401, 8449, 1435, 480, 446, 597, 401, 7098, 18, 588, 3401, 8449, 7675, 291, 1669, 7423, 10756, 288, 202, 202, 5693, 2686, 273, 3325, 18, 588, 3401, 8449, 7675, 9200, 1225, 12, 55, 8588, 18, 5280, 16, 348, 8588, 18, 5280, 2934, 93, 31, 202, 97, 202, 474, 2145, 2686, 273, 374, 31, 202, 430, 261, 7098, 18, 588, 3401, 4726, 1435, 480, 446, 597, 401, 7098, 18, 588, 3401, 4726, 7675, 291, 1669, 7423, 10756, 288, 202, 202, 4083, 2686, 273, 3325, 18, 588, 3401, 4726, 7675, 9200, 1225, 12, 55, 8588, 18, 5280, 16, 348, 8588, 18, 5280, 2934, 93, 31, 202, 97, 202, 202, 474, 1760, 2686, 273, 2361, 18, 1896, 12, 4482, 2686, 16, 2361, 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, 1071, 509, 30665, 2686, 1435, 288, 202, 430, 261, 7098, 422, 446, 747, 3325, 18, 291, 1669, 7423, 10756, 202, 202, 2463, 2240, 18, 588, 13042, 2686, 5621, 202, 202, 20308, 3671, 2077, 4653, 2072, 31, 333, 1410, 506, 2731, 635, 3671, 14795, 3196, 380, 358, 8783, 1640, 22282, 340, 1760, 4617, 18, 202, 1195, 202, 474, 2002, 2686, 273, 374, 31, 202, 430, 261, 7098, 18, 588, 3401, 3910, 1435, 480, 446, 597, 401, 7098, 18, 588, 3401, 3910, 7675, 291, 1669, 7423, 10756, 288, 202, 202, 4482, 2686, 273, 3325, 18, 588, 3401, 3910, 7675, 9200, 1225, 12, 55, 8588, 18, 5280, 16, 348, 8588, 18, 5280, 2934, 93, 31, 202, 97, 202, 474, 4617, 2686, 273, 2 ]
super(textEncoding, text);
public FrameBodyTCON(byte textEncoding, String text) { super(textEncoding, text); }
40452 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40452/8e6062659057068b4b85fb7b41c567e179db6f7c/FrameBodyTCON.java/buggy/src/org/jaudiotagger/tag/id3/framebody/FrameBodyTCON.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8058, 2250, 56, 2248, 12, 7229, 977, 4705, 16, 514, 977, 13, 565, 288, 6647, 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,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, 326, 22398, 316, 326, 981, 30, 377, 1071, 8058, 2250, 56, 2248, 12, 7229, 977, 4705, 16, 514, 977, 13, 565, 288, 6647, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.TrdRegTimestamp get(org.quickfix.field.TrdRegTimestamp value)
public quickfix.field.TrdRegTimestamp get(quickfix.field.TrdRegTimestamp value)
public org.quickfix.field.TrdRegTimestamp get(org.quickfix.field.TrdRegTimestamp value) throws FieldNotFound { getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralRequest.java/clean/src/java/src/quickfix/fix44/CollateralRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9549, 904, 18, 1518, 18, 1070, 72, 1617, 4921, 336, 12, 19525, 904, 18, 1518, 18, 1070, 72, 1617, 4921, 225, 460, 13, 565, 1216, 2286, 2768, 225, 288, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9549, 904, 18, 1518, 18, 1070, 72, 1617, 4921, 336, 12, 19525, 904, 18, 1518, 18, 1070, 72, 1617, 4921, 225, 460, 13, 565, 1216, 2286, 2768, 225, 288, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
SettingsManager.instance().getPort());
ConnectionSettings.PORT.getValue());
public static void globalSetUp() throws Exception { setSettings(); assertEquals("unexpected port", PORT, SettingsManager.instance().getPort()); ROUTER_SERVICE.start(); ROUTER_SERVICE.clearHostCatcher(); ROUTER_SERVICE.connect(); connect(); assertEquals("unexpected port", PORT, SettingsManager.instance().getPort()); }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/af6552190dbe08263169d8bbcf277965b115c243/ServerSideBrowseHostTest.java/clean/components/gnutella-core/src/test/java/com/limegroup/gnutella/ServerSideBrowseHostTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2552, 694, 1211, 1435, 1216, 1185, 288, 3639, 444, 2628, 5621, 3639, 1815, 8867, 2932, 21248, 1756, 3113, 20987, 16, 9944, 8709, 1318, 18, 1336, 7675, 588, 2617, 10663, 202, 202, 1457, 1693, 654, 67, 12426, 18, 1937, 5621, 202, 202, 1457, 1693, 654, 67, 12426, 18, 8507, 2594, 14842, 264, 5621, 202, 202, 1457, 1693, 654, 67, 12426, 18, 3612, 5621, 1082, 202, 3612, 5621, 3639, 1815, 8867, 2932, 21248, 1756, 3113, 20987, 16, 9944, 8709, 1318, 18, 1336, 7675, 588, 2617, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2552, 694, 1211, 1435, 1216, 1185, 288, 3639, 444, 2628, 5621, 3639, 1815, 8867, 2932, 21248, 1756, 3113, 20987, 16, 9944, 8709, 1318, 18, 1336, 7675, 588, 2617, 10663, 202, 202, 1457, 1693, 654, 67, 12426, 18, 1937, 5621, 202, 202, 1457, 1693, 654, 67, 12426, 18, 8507, 2594, 14842, 264, 5621, 202, 202, 1457, 1693, 654, 67, 12426, 18, 3612, 5621, 1082, 202, 3612, 5621, 3639, 1815, 8867, 2932, 21248, 1756, 3113, 20987, 16, 9944, 8709, 1318, 18, 1336, 7675, 588, 2617, 10663, 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 ]
assertTrue("Expected no result set", !rs.next());
assertTrue("Expected no result set", !rs.next());
public void testPreparedStatement0040() throws Exception { Connection cx = getConnection(); dropTable("#t0040"); Statement stmt = cx.createStatement(); stmt.executeUpdate("create table #t0040 (" + " c255 char(255) not null, " + " v255 varchar(255) not null) "); PreparedStatement pStmt1 = cx.prepareStatement("insert into #t0040 values (?, ?)"); PreparedStatement pStmt2 = cx.prepareStatement("select c255, v255 from #t0040 order by c255"); String along = getLongString('a'); String blong = getLongString('b'); pStmt1.setString(1, along); pStmt1.setString(2, along); int count = pStmt1.executeUpdate(); assertTrue(count == 1); count = stmt.executeUpdate("" + "insert into #t0040 values ( " + "'" + blong + "', " + "'" + blong + "')"); assertTrue(count == 1); ResultSet rs = pStmt2.executeQuery(); assertNotNull(rs); assertTrue("Expected a result set", rs.next()); assertEquals(rs.getString("c255"), along); assertEquals(rs.getString("v255"), along); assertTrue("Expected a result set", rs.next()); assertEquals(rs.getString("c255"), blong); assertEquals(rs.getString("v255"), blong); assertTrue("Expected no result set", !rs.next()); rs = stmt.executeQuery("select c255, v255 from #t0040 order by c255"); assertNotNull(rs); assertTrue("Expected a result set", rs.next()); assertEquals(rs.getString("c255"), along); assertEquals(rs.getString("v255"), along); assertTrue("Expected a result set", rs.next()); assertEquals(rs.getString("c255"), blong); assertEquals(rs.getString("v255"), blong); assertTrue("Expected no result set", !rs.next()); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/7df6dc0065b654cd4e2b156461e0394d01dd13aa/TimestampTest.java/buggy/src.old/test/freetds/TimestampTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 29325, 713, 7132, 1435, 1216, 1185, 202, 95, 202, 202, 1952, 9494, 273, 6742, 5621, 202, 202, 7285, 1388, 2932, 7, 88, 713, 7132, 8863, 202, 202, 3406, 3480, 273, 9494, 18, 2640, 3406, 5621, 202, 202, 10589, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 713, 7132, 7566, 1082, 202, 15, 315, 276, 10395, 1149, 12, 10395, 13, 377, 486, 446, 16, 315, 1082, 202, 15, 315, 331, 10395, 30871, 12, 10395, 13, 225, 486, 446, 13, 315, 1769, 202, 202, 29325, 293, 8952, 21, 273, 9494, 18, 9366, 3406, 2932, 6387, 1368, 468, 88, 713, 7132, 924, 13590, 16, 692, 2225, 1769, 202, 202, 29325, 293, 8952, 22, 273, 9494, 18, 9366, 3406, 2932, 4025, 276, 10395, 16, 331, 10395, 628, 468, 88, 713, 7132, 1353, 635, 276, 10395, 8863, 202, 202, 780, 7563, 273, 11105, 780, 2668, 69, 8284, 202, 202, 780, 2811, 932, 273, 11105, 780, 2668, 70, 8284, 202, 202, 84, 8952, 21, 18, 542, 780, 12, 21, 16, 7563, 1769, 202, 202, 84, 8952, 21, 18, 542, 780, 12, 22, 16, 7563, 1769, 202, 202, 474, 1056, 273, 293, 8952, 21, 18, 8837, 1891, 5621, 202, 202, 11231, 5510, 12, 1883, 422, 404, 1769, 202, 202, 1883, 273, 3480, 18, 8837, 1891, 2932, 6, 1082, 202, 15, 315, 6387, 1368, 468, 88, 713, 7132, 924, 261, 315, 1082, 202, 15, 5862, 397, 2811, 932, 397, 14912, 315, 1082, 202, 15, 5862, 397, 2811, 932, 397, 2491, 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, 1842, 29325, 713, 7132, 1435, 1216, 1185, 202, 95, 202, 202, 1952, 9494, 273, 6742, 5621, 202, 202, 7285, 1388, 2932, 7, 88, 713, 7132, 8863, 202, 202, 3406, 3480, 273, 9494, 18, 2640, 3406, 5621, 202, 202, 10589, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 713, 7132, 7566, 1082, 202, 15, 315, 276, 10395, 1149, 12, 10395, 13, 377, 486, 446, 16, 315, 1082, 202, 15, 315, 331, 10395, 30871, 12, 10395, 13, 225, 486, 446, 13, 315, 1769, 202, 202, 29325, 293, 8952, 21, 273, 9494, 18, 9366, 3406, 2932, 6387, 1368, 468, 88, 713, 7132, 924, 13590, 16, 692, 2225, 1769, 202, 202, 29325, 293, 8952, 22, 273, 9494, 18, 9366, 2 ]
vSubTypes.add(new DefaultChartSubTypeImpl("Standard Pie Chart", img2DWithDepth, sStandardDescription)); } return vSubTypes; }
vSubTypes.add( new DefaultChartSubTypeImpl( "Standard Pie Chart", img2DWithDepth, sStandardDescription ) ); } return vSubTypes; }
public Collection getChartSubtypes(String sDimension, Orientation orientation) { Vector vSubTypes = new Vector(); // Do not respond to requests for unknown orientations if (!orientation.equals(Orientation.VERTICAL_LITERAL)) { return vSubTypes; } if (sDimension.equals("2D") || sDimension.equals(ChartDimension.TWO_DIMENSIONAL_LITERAL.getName())) //$NON-NLS-1$ { img2D = UIHelper.getImage("icons/full/wizban/piechartimage.gif"); //$NON-NLS-1$ vSubTypes.add(new DefaultChartSubTypeImpl("Standard Pie Chart", img2D, sStandardDescription)); //$NON-NLS-1$ } else if (sDimension.equals("2D With Depth") //$NON-NLS-1$ || sDimension.equals(ChartDimension.TWO_DIMENSIONAL_WITH_DEPTH_LITERAL.getName())) { img2DWithDepth = UIHelper.getImage("icons/full/wizban/piechartwithdepthimage.gif"); //$NON-NLS-1$ vSubTypes.add(new DefaultChartSubTypeImpl("Standard Pie Chart", img2DWithDepth, sStandardDescription)); //$NON-NLS-1$ } return vSubTypes; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/baa5e816320b37d313f82b2e70ae4a71b1f4e89d/PieChart.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/PieChart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2200, 336, 7984, 1676, 2352, 12, 780, 272, 8611, 16, 531, 12556, 9820, 13, 565, 288, 3639, 5589, 331, 1676, 2016, 273, 394, 5589, 5621, 3639, 368, 2256, 486, 6846, 358, 3285, 364, 5917, 7891, 1012, 3639, 309, 16051, 19235, 18, 14963, 12, 14097, 18, 21654, 10109, 67, 23225, 3719, 3639, 288, 5411, 327, 331, 1676, 2016, 31, 3639, 289, 3639, 309, 261, 87, 8611, 18, 14963, 2932, 22, 40, 7923, 747, 272, 8611, 18, 14963, 12, 7984, 8611, 18, 18869, 51, 67, 2565, 958, 3156, 1146, 1013, 67, 23225, 18, 17994, 1435, 3719, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 288, 5411, 3774, 22, 40, 273, 6484, 2276, 18, 588, 2040, 2932, 14516, 19, 2854, 19, 91, 452, 21515, 19, 84, 1385, 11563, 2730, 18, 13905, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 331, 1676, 2016, 18, 1289, 12, 2704, 2989, 7984, 30511, 2828, 2932, 8336, 453, 1385, 14804, 3113, 3774, 22, 40, 16, 272, 8336, 3291, 10019, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 289, 3639, 469, 309, 261, 87, 8611, 18, 14963, 2932, 22, 40, 3423, 25210, 7923, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 747, 272, 8611, 18, 14963, 12, 7984, 8611, 18, 18869, 51, 67, 2565, 958, 3156, 1146, 1013, 67, 9147, 67, 27479, 67, 23225, 18, 17994, 1435, 3719, 3639, 288, 5411, 3774, 22, 40, 1190, 6148, 273, 6484, 2276, 18, 588, 2040, 2932, 14516, 19, 2854, 19, 91, 452, 21515, 19, 84, 1385, 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, 2200, 336, 7984, 1676, 2352, 12, 780, 272, 8611, 16, 531, 12556, 9820, 13, 565, 288, 3639, 5589, 331, 1676, 2016, 273, 394, 5589, 5621, 3639, 368, 2256, 486, 6846, 358, 3285, 364, 5917, 7891, 1012, 3639, 309, 16051, 19235, 18, 14963, 12, 14097, 18, 21654, 10109, 67, 23225, 3719, 3639, 288, 5411, 327, 331, 1676, 2016, 31, 3639, 289, 3639, 309, 261, 87, 8611, 18, 14963, 2932, 22, 40, 7923, 747, 272, 8611, 18, 14963, 12, 7984, 8611, 18, 18869, 51, 67, 2565, 958, 3156, 1146, 1013, 67, 23225, 18, 17994, 1435, 3719, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 288, 5411, 3774, 22, 40, 273, 6484, 2276, 18, 588, 2040, 2932, 14516, 19, 2854, 2 ]
else return;
public void onSuccess(ClientPutState state) { Logger.minor(this, "onSuccess("+state+")"); boolean lateStart = false; synchronized(this) { if(finished) return; if(state == sfi) { Logger.minor(this, "Splitfile insert succeeded"); splitInsertSuccess = true; if(!metaInsertSuccess && !metaInsertStarted) { Logger.error(this, "Splitfile insert succeeded but metadata not started, starting anyway..."); lateStart = true; } } else if(state == metadataPutter) { Logger.minor(this, "Metadata insert succeeded"); metaInsertSuccess = true; } else { Logger.error(this, "Unknown: "+state, new Exception("debug")); } if(splitInsertSuccess && metaInsertSuccess) { Logger.minor(this, "Both succeeded"); finished = true; } else return; } if(lateStart) startMetadata(); else if(finished) cb.onSuccess(this); }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/b7504d6d131b7fabd8aa256e5606d43719c63fd6/SingleFileInserter.java/buggy/src/freenet/client/async/SingleFileInserter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 20613, 12, 1227, 6426, 1119, 919, 13, 288, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 265, 4510, 2932, 15, 2019, 9078, 2225, 1769, 1082, 202, 6494, 26374, 1685, 273, 629, 31, 1082, 202, 22043, 12, 2211, 13, 288, 9506, 202, 430, 12, 13527, 13, 327, 31, 9506, 202, 430, 12, 2019, 422, 9033, 77, 13, 288, 6862, 202, 3328, 18, 17364, 12, 2211, 16, 315, 5521, 768, 2243, 15784, 8863, 6862, 202, 4939, 4600, 4510, 273, 638, 31, 6862, 202, 430, 12, 5, 3901, 4600, 4510, 597, 401, 3901, 4600, 9217, 13, 288, 25083, 202, 3328, 18, 1636, 12, 2211, 16, 315, 5521, 768, 2243, 15784, 1496, 1982, 486, 5746, 16, 5023, 13466, 7070, 1769, 25083, 202, 20293, 1685, 273, 638, 31, 6862, 202, 97, 9506, 202, 97, 469, 309, 12, 2019, 422, 1982, 6426, 387, 13, 288, 6862, 202, 3328, 18, 17364, 12, 2211, 16, 315, 2277, 2243, 15784, 8863, 6862, 202, 3901, 4600, 4510, 273, 638, 31, 9506, 202, 97, 469, 288, 6862, 202, 3328, 18, 1636, 12, 2211, 16, 315, 4874, 30, 13773, 2019, 16, 394, 1185, 2932, 4148, 7923, 1769, 9506, 202, 97, 9506, 202, 430, 12, 4939, 4600, 4510, 597, 2191, 4600, 4510, 13, 288, 6862, 202, 3328, 18, 17364, 12, 2211, 16, 315, 20240, 15784, 8863, 6862, 202, 13527, 273, 638, 31, 9506, 202, 97, 9506, 202, 12107, 327, 31, 1082, 202, 97, 1082, 202, 430, 12, 20293, 1685, 13, 9506, 202, 1937, 2277, 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, 3196, 202, 482, 918, 20613, 12, 1227, 6426, 1119, 919, 13, 288, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 265, 4510, 2932, 15, 2019, 9078, 2225, 1769, 1082, 202, 6494, 26374, 1685, 273, 629, 31, 1082, 202, 22043, 12, 2211, 13, 288, 9506, 202, 430, 12, 13527, 13, 327, 31, 9506, 202, 430, 12, 2019, 422, 9033, 77, 13, 288, 6862, 202, 3328, 18, 17364, 12, 2211, 16, 315, 5521, 768, 2243, 15784, 8863, 6862, 202, 4939, 4600, 4510, 273, 638, 31, 6862, 202, 430, 12, 5, 3901, 4600, 4510, 597, 401, 3901, 4600, 9217, 13, 288, 25083, 202, 3328, 18, 1636, 12, 2211, 16, 315, 5521, 768, 2243, 15784, 1496, 1982, 486, 5746, 16, 5023, 13466, 2 ]
uiBundle.start();
if (uiBundle.getState() != Bundle.STARTING) uiBundle.start();
public void start(BundleContext context) throws Exception { super.start(context); bundleContext = context; JFaceUtil.initializeJFace(); Window.setDefaultOrientation(getDefaultOrientation()); // Start the UI plugin so that it can install the callback in PrefUtil, // which needs to be done as early as possible, before the workbench // accesses any API preferences. Bundle uiBundle = Platform.getBundle(PlatformUI.PLUGIN_ID); uiBundle.start(); /* * DO NOT RUN ANY OTHER CODE AFTER THIS LINE. If you do, then you are * likely to cause a deadlock in class loader code. Please see Bug 86450 * for more information. */ }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/637437b1fcf5c9026d1abe8c67b2f9870d057fe3/WorkbenchPlugin.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 12, 3405, 1042, 819, 13, 1216, 1185, 288, 3639, 2240, 18, 1937, 12, 2472, 1769, 3639, 3440, 1042, 273, 819, 31, 7734, 804, 11824, 1304, 18, 11160, 46, 11824, 5621, 6862, 6076, 18, 542, 1868, 14097, 12, 588, 1868, 14097, 10663, 3639, 368, 3603, 326, 6484, 1909, 1427, 716, 518, 848, 3799, 326, 1348, 316, 28184, 1304, 16, 3639, 368, 1492, 4260, 358, 506, 2731, 487, 11646, 487, 3323, 16, 1865, 326, 1440, 22144, 3639, 368, 2006, 281, 1281, 1491, 12750, 18, 3639, 8539, 5915, 3405, 273, 11810, 18, 588, 3405, 12, 8201, 5370, 18, 19415, 67, 734, 1769, 540, 5915, 3405, 18, 1937, 5621, 202, 202, 20308, 1082, 380, 5467, 4269, 15484, 16743, 22478, 11128, 18651, 20676, 14340, 18, 225, 971, 1846, 741, 16, 1508, 1846, 854, 1082, 380, 10374, 358, 4620, 279, 8363, 739, 316, 667, 4088, 981, 18, 225, 7801, 2621, 16907, 19663, 3361, 1082, 380, 364, 1898, 1779, 18, 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0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 12, 3405, 1042, 819, 13, 1216, 1185, 288, 3639, 2240, 18, 1937, 12, 2472, 1769, 3639, 3440, 1042, 273, 819, 31, 7734, 804, 11824, 1304, 18, 11160, 46, 11824, 5621, 6862, 6076, 18, 542, 1868, 14097, 12, 588, 1868, 14097, 10663, 3639, 368, 3603, 326, 6484, 1909, 1427, 716, 518, 848, 3799, 326, 1348, 316, 28184, 1304, 16, 3639, 368, 1492, 4260, 358, 506, 2731, 487, 11646, 487, 3323, 16, 1865, 326, 1440, 22144, 3639, 368, 2006, 281, 1281, 1491, 12750, 18, 3639, 8539, 5915, 3405, 273, 11810, 18, 588, 3405, 12, 8201, 5370, 18, 19415, 67, 734, 1769, 540, 5915, 3405, 18, 1937, 5621, 202, 202, 20308, 1082, 380, 5467, 4269, 15484, 16743, 22478, 2 ]
MessageDialog .openError( new Shell(), CCMessages.getString("Generator.errortitle"), MessageFormat.format(CCMessages.getString("Generator.unknownaction"), new Object[]{id}));
MessageDialog.openError(new Shell(), CCMessages.getString("Generator.errortitle"), MessageFormat.format(CCMessages.getString("Generator.unknownaction"), new Object[]{id}));
protected void runAction(IAction action, IType type, Shell shell) { try { if (!type.isClass()) { MessageDialog .openError( new Shell(), CCMessages.getString("Generator.errortitle"), MessageFormat.format(CCMessages.getString("Generator.notaclass"), new Object[]{type.getElementName()})); //$NON-NLS-1$ //$NON-NLS-2$ return; } } catch (JavaModelException e) { MessageDialog.openError(new Shell(), CCMessages.getString("Generator.errortitle"), e.getMessage()); //$NON-NLS-1$ return; } String id = action.getId(); if (ACTION_TOSTRING.equals(id)) { ToStringGenerator.getInstance().generate(type, shell); } else if (ACTION_HASHCODE.equals(id)) { HashcodeGenerator.getInstance().generate(type, shell); } else if (ACTION_EQUALS.equals(id)) { EqualsGenerator.getInstance().generate(type, shell); } else if (ACTION_COMPARETO.equals(id)) { CompareToGenerator.getInstance().generate(type, shell); } else { MessageDialog .openError( new Shell(), CCMessages.getString("Generator.errortitle"), MessageFormat.format(CCMessages.getString("Generator.unknownaction"), new Object[]{id})); //$NON-NLS-1$ //$NON-NLS-2$ } }
15454 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15454/1fb77b6c21a4e52358096b3bfab08839a81da7e2/JavaTypeAction.java/buggy/commonclipse/src/main/net/sf/commonclipse/popup/actions/JavaTypeAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1086, 1803, 12, 45, 1803, 1301, 16, 467, 559, 618, 16, 19433, 5972, 13, 565, 288, 3639, 775, 3639, 288, 5411, 309, 16051, 723, 18, 291, 797, 10756, 5411, 288, 7734, 2350, 6353, 10792, 263, 3190, 668, 12, 13491, 394, 19433, 9334, 13491, 16525, 5058, 18, 588, 780, 2932, 3908, 18, 370, 499, 1280, 6, 3631, 17377, 18, 2139, 12, 6743, 5058, 18, 588, 780, 2932, 3908, 18, 902, 1077, 459, 6, 3631, 394, 1033, 63, 7073, 723, 18, 21336, 461, 1435, 6792, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 7734, 327, 31, 5411, 289, 3639, 289, 3639, 1044, 261, 5852, 1488, 503, 425, 13, 3639, 288, 5411, 2350, 6353, 18, 3190, 668, 12, 2704, 19433, 9334, 16525, 5058, 18, 588, 780, 2932, 3908, 18, 370, 499, 1280, 6, 3631, 425, 18, 24906, 10663, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 327, 31, 3639, 289, 3639, 514, 612, 273, 1301, 18, 26321, 5621, 3639, 309, 261, 12249, 67, 4296, 5804, 18, 14963, 12, 350, 3719, 3639, 288, 5411, 21901, 3908, 18, 588, 1442, 7675, 7163, 12, 723, 16, 5972, 1769, 3639, 289, 3639, 469, 309, 261, 12249, 67, 15920, 5572, 18, 14963, 12, 350, 3719, 3639, 288, 5411, 2474, 710, 3908, 18, 588, 1442, 7675, 7163, 12, 723, 16, 5972, 1769, 3639, 289, 3639, 469, 309, 261, 12249, 67, 12853, 55, 18, 14963, 12, 350, 3719, 3639, 288, 5411, 19344, 3908, 18, 588, 1442, 7675, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1086, 1803, 12, 45, 1803, 1301, 16, 467, 559, 618, 16, 19433, 5972, 13, 565, 288, 3639, 775, 3639, 288, 5411, 309, 16051, 723, 18, 291, 797, 10756, 5411, 288, 7734, 2350, 6353, 10792, 263, 3190, 668, 12, 13491, 394, 19433, 9334, 13491, 16525, 5058, 18, 588, 780, 2932, 3908, 18, 370, 499, 1280, 6, 3631, 17377, 18, 2139, 12, 6743, 5058, 18, 588, 780, 2932, 3908, 18, 902, 1077, 459, 6, 3631, 394, 1033, 63, 7073, 723, 18, 21336, 461, 1435, 6792, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 7734, 327, 31, 5411, 289, 3639, 289, 3639, 1044, 261, 5852, 1488, 503, 425, 13, 3639, 288, 5411, 2 ]
String value = ParameterValidationUtil.getDisplayValue( parameterHandle.getDataType( ), parameterHandle .getPattern( ), selectionItem.getValue( ), attrBean.getLocale( ) );
String value = ParameterValidationUtil.getDisplayValue( null, parameterHandle.getPattern( ), selectionItem.getValue( ), attrBean.getLocale( ) );
protected void prepareParameterBean( HttpServletRequest request, IViewerReportService service, ScalarParameterBean parameterBean, Locale locale ) throws ReportServiceException { ViewerAttributeBean attrBean = (ViewerAttributeBean) request .getAttribute( IBirtConstants.ATTRIBUTE_BEAN ); assert attrBean != null; InputOptions options = new InputOptions( ); options.setOption( InputOptions.OPT_REQUEST, request ); Collection selectionList = service.getParameterSelectionList( attrBean .getReportDesignHandle( request ), options, parameterBean .getName( ) ); if ( selectionList != null ) { // Get Scalar parameter handle ScalarParameterHandle parameterHandle = (ScalarParameterHandle) attrBean .findParameter( parameter.getName( ) ); for ( Iterator iter = selectionList.iterator( ); iter.hasNext( ); ) { ParameterSelectionChoice selectionItem = (ParameterSelectionChoice) iter .next( ); // Convert parameter value using locale format String value = ParameterValidationUtil.getDisplayValue( parameterHandle.getDataType( ), parameterHandle .getPattern( ), selectionItem.getValue( ), attrBean.getLocale( ) ); String label = selectionItem.getLabel( ); label = ( label == null || label.length( ) <= 0 ) ? value : label; label = ParameterAccessor.htmlEncode( label ); parameterBean.getSelectionList( ).add( label ); parameterBean.getSelectionTable( ).put( label, value ); } } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/23edb4c10a38a2f5bb7fb0a421e19ae58152c2a9/RadioButtonParameterFragment.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/parameter/RadioButtonParameterFragment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 2911, 1662, 3381, 12, 9984, 590, 16, 1082, 202, 45, 18415, 4820, 1179, 1156, 16, 15791, 1662, 3381, 1569, 3381, 16, 1082, 202, 3916, 2573, 262, 1216, 8706, 15133, 202, 95, 202, 202, 18415, 1499, 3381, 1604, 3381, 273, 261, 18415, 1499, 3381, 13, 590, 9506, 202, 18, 588, 1499, 12, 23450, 2714, 2918, 18, 11616, 67, 23703, 11272, 202, 202, 11231, 1604, 3381, 480, 446, 31, 202, 202, 1210, 1320, 702, 273, 394, 2741, 1320, 12, 11272, 202, 202, 2116, 18, 542, 1895, 12, 2741, 1320, 18, 15620, 67, 5519, 16, 590, 11272, 202, 202, 2532, 4421, 682, 273, 1156, 18, 588, 1662, 6233, 682, 12, 1604, 3381, 9506, 202, 18, 588, 4820, 15478, 3259, 12, 590, 262, 16, 702, 16, 1569, 3381, 9506, 202, 18, 17994, 12, 262, 11272, 202, 202, 430, 261, 4421, 682, 480, 446, 262, 202, 202, 95, 1082, 202, 759, 968, 15791, 1569, 1640, 1082, 202, 13639, 1662, 3259, 1569, 3259, 273, 261, 13639, 1662, 3259, 13, 1604, 3381, 6862, 202, 18, 4720, 1662, 12, 1569, 18, 17994, 12, 262, 11272, 1082, 202, 1884, 261, 4498, 1400, 273, 4421, 682, 18, 9838, 12, 11272, 1400, 18, 5332, 2134, 12, 11272, 262, 1082, 202, 95, 9506, 202, 1662, 6233, 10538, 4421, 1180, 273, 261, 1662, 6233, 10538, 13, 1400, 25083, 202, 18, 4285, 12, 11272, 9506, 202, 759, 4037, 1569, 460, 1450, 2573, 740, 9506, 202, 780, 460, 273, 5498, 4354, 1304, 18, 588, 4236, 620, 12, 25083, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 2911, 1662, 3381, 12, 9984, 590, 16, 1082, 202, 45, 18415, 4820, 1179, 1156, 16, 15791, 1662, 3381, 1569, 3381, 16, 1082, 202, 3916, 2573, 262, 1216, 8706, 15133, 202, 95, 202, 202, 18415, 1499, 3381, 1604, 3381, 273, 261, 18415, 1499, 3381, 13, 590, 9506, 202, 18, 588, 1499, 12, 23450, 2714, 2918, 18, 11616, 67, 23703, 11272, 202, 202, 11231, 1604, 3381, 480, 446, 31, 202, 202, 1210, 1320, 702, 273, 394, 2741, 1320, 12, 11272, 202, 202, 2116, 18, 542, 1895, 12, 2741, 1320, 18, 15620, 67, 5519, 16, 590, 11272, 202, 202, 2532, 4421, 682, 273, 1156, 18, 588, 1662, 6233, 682, 12, 1604, 3381, 9506, 202, 18, 588, 4820, 15478, 2 ]
if (monitor.isCanceled()) throw new OperationCanceledException(); } } catch (CoreException e) { recordError(e); return false; } finally { monitor.done();
return true;
boolean performCopyWithAutoRename( IResource[] resources, IPath destination, IProgressMonitor monitor) { monitor.subTask(WorkbenchMessages.getString("CopyResourceAction.copying")); //$NON-NLS-1$ IWorkspace workspace = resources[0].getWorkspace(); try { ContainerGenerator generator = new ContainerGenerator(destination); //We have 75 units to work with generator.generateContainer(new SubProgressMonitor(monitor, 10)); int copyUnits = 65 / resources.length; for (int i = 0; i < resources.length; i++) { IResource currentResource = resources[i]; IPath destinationPath = destination.append(currentResource.getName()); if (workspace.getRoot().exists(destinationPath)) destinationPath = getNewNameFor(destinationPath, workspace); if (destinationPath != null) { try { copyResource( currentResource, destinationPath, new SubProgressMonitor(monitor, copyUnits)); } catch (CoreException e) { recordError(e); // log error } } if (monitor.isCanceled()) throw new OperationCanceledException(); } } catch (CoreException e) { recordError(e); // log error return false; } finally { monitor.done(); } return true;}
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/bf752ac27dbe2a869d9900197181599a8561dc6a/CopyResourceAction.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/actions/CopyResourceAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1250, 3073, 2951, 1190, 4965, 16019, 12, 202, 45, 1420, 8526, 2703, 16, 202, 45, 743, 2929, 16, 202, 45, 5491, 7187, 6438, 13, 288, 202, 10259, 18, 1717, 2174, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 2951, 1420, 1803, 18, 3530, 310, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 45, 8241, 6003, 273, 2703, 63, 20, 8009, 588, 8241, 5621, 202, 698, 288, 202, 202, 2170, 3908, 4456, 273, 394, 4039, 3908, 12, 10590, 1769, 202, 202, 759, 3218, 1240, 18821, 4971, 358, 1440, 598, 202, 202, 8812, 18, 7163, 2170, 12, 2704, 2592, 5491, 7187, 12, 10259, 16, 1728, 10019, 202, 202, 474, 1610, 7537, 273, 15892, 342, 2703, 18, 2469, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2703, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 1420, 783, 1420, 273, 2703, 63, 77, 15533, 1082, 202, 45, 743, 30617, 273, 2929, 18, 6923, 12, 2972, 1420, 18, 17994, 10663, 1082, 202, 430, 261, 14915, 18, 588, 2375, 7675, 1808, 12, 10590, 743, 3719, 9506, 202, 10590, 743, 273, 12654, 461, 1290, 12, 10590, 743, 16, 6003, 1769, 1082, 202, 430, 261, 10590, 743, 480, 446, 13, 288, 9506, 202, 698, 288, 6862, 202, 3530, 1420, 12, 25083, 202, 2972, 1420, 16, 25083, 202, 10590, 743, 16, 25083, 202, 2704, 2592, 5491, 7187, 12, 10259, 16, 1610, 7537, 10019, 9506, 202, 97, 1044, 261, 25341, 425, 13, 288, 6862, 202, 3366, 668, 12, 73, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1250, 3073, 2951, 1190, 4965, 16019, 12, 202, 45, 1420, 8526, 2703, 16, 202, 45, 743, 2929, 16, 202, 45, 5491, 7187, 6438, 13, 288, 202, 10259, 18, 1717, 2174, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 2951, 1420, 1803, 18, 3530, 310, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 45, 8241, 6003, 273, 2703, 63, 20, 8009, 588, 8241, 5621, 202, 698, 288, 202, 202, 2170, 3908, 4456, 273, 394, 4039, 3908, 12, 10590, 1769, 202, 202, 759, 3218, 1240, 18821, 4971, 358, 1440, 598, 202, 202, 8812, 18, 7163, 2170, 12, 2704, 2592, 5491, 7187, 12, 10259, 16, 1728, 10019, 202, 202, 474, 1610, 7537, 273, 15892, 342, 2703, 18, 2469, 31, 202, 2 ]
ruby.setLastline(value.toRubyObject());
ruby.setLastline(value);
public IRubyObject set(IRubyObject value) { ruby.setLastline(value.toRubyObject()); return value; }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/f235ab756f32ea9496f8f880066b46ad95ebb692/RubyGlobal.java/buggy/org/jruby/RubyGlobal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 15908, 10340, 921, 444, 12, 7937, 10340, 921, 460, 13, 288, 5411, 22155, 18, 542, 3024, 1369, 12, 1132, 1769, 5411, 327, 460, 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, 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, 15908, 10340, 921, 444, 12, 7937, 10340, 921, 460, 13, 288, 5411, 22155, 18, 542, 3024, 1369, 12, 1132, 1769, 5411, 327, 460, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
newVals[index] = Instance.missingValue();
vals[index] = Instance.missingValue();
protected void convertInstance(Instance instance) throws Exception { int index = 0; double [] newVals = new double [outputFormatPeek().numAttributes()]; // Copy and convert the values for(int i = 0; i < getInputFormat().numAttributes(); i++) { if (m_DiscretizeCols.isInRange(i) && getInputFormat().attribute(i).isNumeric()) { int j; double currentVal = instance.value(i); if (m_CutPoints[i] == null) { if (instance.isMissing(i)) { newVals[index] = Instance.missingValue(); } else { newVals[index] = 0; } index++; } else { if (!m_MakeBinary) { if (instance.isMissing(i)) { newVals[index] = Instance.missingValue(); } else { for (j = 0; j < m_CutPoints[i].length; j++) { if (currentVal <= m_CutPoints[i][j]) { break; } } newVals[index] = j; } index++; } else { for (j = 0; j < m_CutPoints[i].length; j++) { if (instance.isMissing(i)) { newVals[index] = Instance.missingValue(); } else if (currentVal <= m_CutPoints[i][j]) { newVals[index] = 0; } else { newVals[index] = 1; } index++; } } } } else { newVals[index] = instance.value(i); index++; } } if (instance instanceof SparseInstance) { push(new SparseInstance(instance.weight(), newVals)); } else { push(new Instance(instance.weight(), newVals)); } }
48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/fb891c455db25aa9a4e68b3ef791f809326559d0/DiscretizeFilter.java/clean/weka/filters/DiscretizeFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1765, 1442, 12, 1442, 791, 13, 1216, 1185, 288, 565, 509, 770, 273, 374, 31, 565, 1645, 5378, 394, 13169, 273, 394, 1645, 306, 2844, 1630, 30950, 7675, 2107, 2498, 1435, 15533, 565, 368, 5631, 471, 1765, 326, 924, 565, 364, 12, 474, 277, 273, 374, 31, 277, 411, 12353, 1630, 7675, 2107, 2498, 5621, 277, 27245, 288, 1377, 309, 261, 81, 67, 28912, 1349, 554, 8011, 18, 291, 25277, 12, 77, 13, 597, 3196, 225, 12353, 1630, 7675, 4589, 12, 77, 2934, 291, 9902, 10756, 288, 202, 474, 525, 31, 202, 9056, 783, 3053, 273, 791, 18, 1132, 12, 77, 1769, 202, 430, 261, 81, 67, 15812, 5636, 63, 77, 65, 422, 446, 13, 288, 202, 225, 309, 261, 1336, 18, 291, 4841, 12, 77, 3719, 288, 202, 565, 394, 13169, 63, 1615, 65, 273, 5180, 18, 7337, 620, 5621, 202, 225, 289, 469, 288, 202, 565, 394, 13169, 63, 1615, 65, 273, 374, 31, 202, 225, 289, 202, 225, 770, 9904, 31, 202, 97, 469, 288, 202, 225, 309, 16051, 81, 67, 6464, 5905, 13, 288, 202, 565, 309, 261, 1336, 18, 291, 4841, 12, 77, 3719, 288, 202, 1377, 394, 13169, 63, 1615, 65, 273, 5180, 18, 7337, 620, 5621, 202, 565, 289, 469, 288, 202, 1377, 364, 261, 78, 273, 374, 31, 525, 411, 312, 67, 15812, 5636, 63, 77, 8009, 2469, 31, 525, 27245, 288, 202, 202, 430, 261, 2972, 3053, 1648, 312, 67, 15812, 5636, 63, 77, 6362, 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, 1765, 1442, 12, 1442, 791, 13, 1216, 1185, 288, 565, 509, 770, 273, 374, 31, 565, 1645, 5378, 394, 13169, 273, 394, 1645, 306, 2844, 1630, 30950, 7675, 2107, 2498, 1435, 15533, 565, 368, 5631, 471, 1765, 326, 924, 565, 364, 12, 474, 277, 273, 374, 31, 277, 411, 12353, 1630, 7675, 2107, 2498, 5621, 277, 27245, 288, 1377, 309, 261, 81, 67, 28912, 1349, 554, 8011, 18, 291, 25277, 12, 77, 13, 597, 3196, 225, 12353, 1630, 7675, 4589, 12, 77, 2934, 291, 9902, 10756, 288, 202, 474, 525, 31, 202, 9056, 783, 3053, 273, 791, 18, 1132, 12, 77, 1769, 202, 430, 261, 81, 67, 15812, 5636, 63, 77, 65, 422, 446, 13, 288, 2 ]
protected void restoreBounds() { Dimension screenSize = getToolkit().getScreenSize(); restoreBounds(screenSize.width * 2 / 3, screenSize.height * 2 / 3);
private void restoreBounds(String aName, int aWidth, int aHeight) { setBounds(InvisiblePrefs.GetMaster().getBounds(aName, aWidth, aHeight));
protected void restoreBounds() { Dimension screenSize = getToolkit().getScreenSize(); restoreBounds(screenSize.width * 2 / 3, screenSize.height * 2 / 3); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/0e1ed436393bc916e4e4cffed4938446b1aaa627/GeneralFrame.java/buggy/grendel/sources/grendel/ui/GeneralFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 5217, 5694, 1435, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5217, 5694, 1435, 288, 565, 13037, 5518, 1225, 273, 336, 6364, 8691, 7675, 588, 7956, 1225, 5621, 565, 5217, 5694, 12, 9252, 1225, 18, 2819, 380, 576, 342, 890, 16, 5375, 5518, 1225, 18, 4210, 380, 576, 342, 890, 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 ]
{ return createImageAdapter(); }
{ return createImageAdapter(); }
public Object caseImage(Image object) { return createImageAdapter(); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/AttributeAdapterFactory.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/util/AttributeAdapterFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 648, 2040, 12, 2040, 733, 13, 5411, 288, 7734, 327, 28301, 4216, 5621, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 648, 2040, 12, 2040, 733, 13, 5411, 288, 7734, 327, 28301, 4216, 5621, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
super(fieldName); this.calendarField = calendarField; if (calendarField != -1 && table.get(new Integer(calendarField)) == null) {
super(fieldName); this.calendarField = calendarField; if (calendarField != -1 && table.get(new Integer(calendarField)) == null) {
protected Field(String fieldName, int calendarField) { super(fieldName); this.calendarField = calendarField; if (calendarField != -1 && table.get(new Integer(calendarField)) == null) { table.put(new Integer(calendarField), this); } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/019def355790934e1681619028e65dda09efed65/DateFormat.java/buggy/modules/text/src/main/java/java/text/DateFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1117, 2286, 12, 780, 4289, 16, 509, 5686, 974, 13, 288, 1082, 202, 9565, 12, 16163, 1769, 1082, 202, 2211, 18, 11650, 974, 273, 5686, 974, 31, 1082, 202, 430, 261, 11650, 974, 480, 300, 21, 6862, 202, 10, 10, 1014, 18, 588, 12, 2704, 2144, 12, 11650, 974, 3719, 422, 446, 13, 288, 7734, 1014, 18, 458, 12, 2704, 2144, 12, 11650, 974, 3631, 333, 1769, 5411, 289, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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650, 974, 3719, 422, 446, 13, 288, 7734, 1014, 18, 458, 12, 2704, 2144, 12, 11650, 974, 3631, 333, 1769, 5411, 289, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
trans.addVertex(toolkit.duplicateVertexKey(v.getVertexKey()), toolkit);
VertexType dupVertex = trans.addVertex(); dupVertex.setLabel(v.getLabel()); m_origToTransposeMap.put(v, dupVertex); m_transposeToOrigMap.put(dupVertex, v);
public GraphType transpose(GraphType orig, GraphToolkit<GraphType, EdgeKey, VertexKey, EdgeType, VertexType> toolkit) { GraphType trans = toolkit.createGraph(); // For each vertex in original graph, create an equivalent // vertex in the transposed graph for (Iterator<VertexType> i = orig.getVertexIterator(); i.hasNext(); ) { VertexType v = (VertexType) i.next(); trans.addVertex(toolkit.duplicateVertexKey(v.getVertexKey()), toolkit); } // Ensure that vertex labels in the transposed graph // match vertex labels in the original graph LabelEquivalentVertices<GraphType, EdgeKey, VertexKey, EdgeType, VertexType> l = new LabelEquivalentVertices<GraphType, EdgeKey, VertexKey, EdgeType, VertexType>(); l.labelEquivalentVertices(trans, orig); // For each edge in the original graph, create a reversed edge // in the transposed graph for (Iterator<EdgeType> i = orig.getEdgeIterator(); i.hasNext(); ) { EdgeType e = i.next(); trans.addEdge(toolkit.duplicateVertexKey(e.getTarget().getVertexKey()), toolkit.duplicateVertexKey(e.getSource().getVertexKey()), toolkit.duplicateEdgeKey(e.getEdgeKey()), toolkit); } return trans; }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/c517215f381d07c66088fdd18fa22b417be94ba7/Transpose.java/clean/findbugs/src/java/edu/umd/cs/findbugs/graph/Transpose.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5601, 559, 10411, 12, 4137, 559, 1647, 16, 202, 202, 4137, 6364, 8691, 32, 4137, 559, 16, 11342, 653, 16, 12541, 653, 16, 11342, 559, 16, 12541, 559, 34, 5226, 8691, 13, 288, 202, 202, 4137, 559, 906, 273, 5226, 8691, 18, 2640, 4137, 5621, 202, 202, 759, 2457, 1517, 5253, 316, 2282, 2667, 16, 752, 392, 7680, 202, 202, 759, 5253, 316, 326, 906, 7423, 2667, 202, 202, 1884, 261, 3198, 32, 6475, 559, 34, 277, 273, 1647, 18, 588, 6475, 3198, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 1082, 202, 6475, 559, 331, 273, 261, 6475, 559, 13, 277, 18, 4285, 5621, 1082, 202, 2338, 18, 1289, 6475, 12, 6738, 8691, 18, 17342, 6475, 653, 12, 90, 18, 588, 6475, 653, 1435, 3631, 5226, 8691, 1769, 202, 202, 97, 202, 202, 759, 7693, 716, 5253, 3249, 316, 326, 906, 7423, 2667, 202, 202, 759, 845, 5253, 3249, 316, 326, 2282, 2667, 202, 202, 2224, 22606, 13371, 32, 4137, 559, 16, 11342, 653, 16, 12541, 653, 16, 11342, 559, 16, 12541, 559, 34, 328, 273, 1082, 202, 2704, 5287, 22606, 13371, 32, 4137, 559, 16, 11342, 653, 16, 12541, 653, 16, 11342, 559, 16, 12541, 559, 34, 5621, 202, 202, 80, 18, 1925, 22606, 13371, 12, 2338, 16, 1647, 1769, 202, 202, 759, 2457, 1517, 3591, 316, 326, 2282, 2667, 16, 752, 279, 9553, 3591, 202, 202, 759, 316, 326, 906, 7423, 2667, 202, 202, 1884, 261, 3198, 32, 6098, 559, 34, 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, 5601, 559, 10411, 12, 4137, 559, 1647, 16, 202, 202, 4137, 6364, 8691, 32, 4137, 559, 16, 11342, 653, 16, 12541, 653, 16, 11342, 559, 16, 12541, 559, 34, 5226, 8691, 13, 288, 202, 202, 4137, 559, 906, 273, 5226, 8691, 18, 2640, 4137, 5621, 202, 202, 759, 2457, 1517, 5253, 316, 2282, 2667, 16, 752, 392, 7680, 202, 202, 759, 5253, 316, 326, 906, 7423, 2667, 202, 202, 1884, 261, 3198, 32, 6475, 559, 34, 277, 273, 1647, 18, 588, 6475, 3198, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 1082, 202, 6475, 559, 331, 273, 261, 6475, 559, 13, 277, 18, 4285, 5621, 1082, 202, 2338, 18, 1289, 6475, 12, 6738, 8691, 18, 17342, 2 ]
public static final int getInitialHeaderValue(int size)
public static final VM_Word getInitialHeaderValue(int size)
public static final int getInitialHeaderValue(int size) throws VM_PragmaInline { if (size > LOS_SIZE_THRESHOLD) return losSpace.getInitialHeaderValue(size); else return msSpace.getInitialHeaderValue(); // NEW MS }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/e9199992b356786655ffe0ebed85eac89e929500/Plan.java/buggy/rvm/src/vm/memoryManagers/JMTk/plan/markSweep/Plan.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 727, 8251, 67, 3944, 24044, 31229, 12, 474, 963, 13, 377, 1216, 8251, 67, 2050, 9454, 10870, 288, 565, 309, 261, 1467, 405, 1806, 55, 67, 4574, 67, 23840, 13, 1377, 327, 22148, 3819, 18, 588, 4435, 31229, 12, 1467, 1769, 565, 469, 1377, 327, 4086, 3819, 18, 588, 4435, 31229, 5621, 225, 368, 12887, 9238, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 727, 8251, 67, 3944, 24044, 31229, 12, 474, 963, 13, 377, 1216, 8251, 67, 2050, 9454, 10870, 288, 565, 309, 261, 1467, 405, 1806, 55, 67, 4574, 67, 23840, 13, 1377, 327, 22148, 3819, 18, 588, 4435, 31229, 12, 1467, 1769, 565, 469, 1377, 327, 4086, 3819, 18, 588, 4435, 31229, 5621, 225, 368, 12887, 9238, 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 ]
private boolean canSupportAssertion(Assertion assertion, List moduleList) { Module module; for (Iterator iterator = moduleList.iterator(); iterator.hasNext();) { module = (Module) iterator.next(); /* * FIXME .. need to add this method to the Module Interface .. */// // if (! module.canSupportAssertion(assertion)) {// log.debug(((AxisModule) module).getName() + " says it can't support " + assertion.getName()); // return false;// } } return true; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/244aa4f43ff8119055aa57a36d41877e9626c506/AxisDescription.java/buggy/modules/kernel/src/org/apache/axis2/description/AxisDescription.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 848, 6289, 14979, 12, 14979, 11240, 16, 987, 1605, 682, 13, 288, 7734, 5924, 1605, 31, 7734, 364, 261, 3198, 2775, 273, 1605, 682, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 5411, 1605, 273, 261, 3120, 13, 2775, 18, 4285, 5621, 2398, 1748, 2868, 380, 9852, 6116, 1608, 358, 527, 333, 707, 358, 326, 5924, 6682, 6116, 2868, 380, 28111, 5411, 368, 5411, 309, 16051, 1605, 18, 4169, 6289, 14979, 12, 29104, 3719, 288, 759, 7734, 613, 18, 4148, 12443, 12, 6558, 3120, 13, 1605, 2934, 17994, 1435, 397, 315, 20185, 518, 848, 1404, 2865, 315, 397, 11240, 18, 17994, 10663, 2868, 368, 7734, 327, 629, 31, 759, 5411, 289, 3639, 289, 7734, 327, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 848, 6289, 14979, 12, 14979, 11240, 16, 987, 1605, 682, 13, 288, 7734, 5924, 1605, 31, 7734, 364, 261, 3198, 2775, 273, 1605, 682, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 5411, 1605, 273, 261, 3120, 13, 2775, 18, 4285, 5621, 2398, 1748, 2868, 380, 9852, 6116, 1608, 358, 527, 333, 707, 358, 326, 5924, 6682, 6116, 2868, 380, 28111, 5411, 368, 5411, 309, 16051, 1605, 18, 4169, 6289, 14979, 12, 29104, 3719, 288, 759, 7734, 613, 18, 4148, 12443, 12, 6558, 3120, 13, 1605, 2934, 17994, 1435, 397, 315, 20185, 518, 848, 1404, 2865, 315, 397, 11240, 18, 17994, 10663, 2868, 368, 7734, 327, 629, 31, 759, 5411, 289, 3639, 289, 7734, 2 ]
_context.messageHistory().droppedTunnelMessage(id, from);
getContext().messageHistory().droppedTunnelMessage(id, from);
public void runJob() { TunnelId id = _message.getTunnelId(); long excessLag = _context.clock().now() - _message.getMessageExpiration().getTime(); if (excessLag > Router.CLOCK_FUDGE_FACTOR) { // expired while on the queue if (_log.shouldLog(Log.WARN)) _log.warn("Accepted message (" + _message.getUniqueId() + ") expired on the queue for tunnel " + id.getTunnelId() + " expiring " + excessLag + "ms ago"); _context.statManager().addRateData("tunnel.expiredAfterAcceptTime", excessLag, excessLag); _context.messageHistory().messageProcessingError(_message.getUniqueId(), TunnelMessage.class.getName(), "tunnel message expired on the queue"); return; } else if (excessLag > 0) { // almost expired while on the queue if (_log.shouldLog(Log.WARN)) _log.warn("Accepted message (" + _message.getUniqueId() + ") *almost* expired on the queue for tunnel " + id.getTunnelId() + " expiring " + excessLag + "ms ago"); } TunnelInfo info = _context.tunnelManager().getTunnelInfo(id); if (info == null) { Hash from = _fromHash; if (_from != null) from = _from.getHash(); _context.messageHistory().droppedTunnelMessage(id, from); if (_log.shouldLog(Log.ERROR)) _log.error("Received a message for an unknown tunnel [" + id.getTunnelId() + "], dropping it: " + _message, getAddedBy()); long timeRemaining = _message.getMessageExpiration().getTime() - _context.clock().now(); _context.statManager().addRateData("tunnel.unknownTunnelTimeLeft", timeRemaining, 0); return; } info.messageProcessed(); info = getUs(info); if (info == null) { if (_log.shouldLog(Log.ERROR)) _log.error("We are not part of a known tunnel?? wtf! drop.", getAddedBy()); long timeRemaining = _message.getMessageExpiration().getTime() - _context.clock().now(); _context.statManager().addRateData("tunnel.unknownTunnelTimeLeft", timeRemaining, 0); return; } else { if (_log.shouldLog(Log.DEBUG)) _log.debug("Tunnel message received for tunnel: \n" + info); } //if ( (_message.getVerificationStructure() == null) && (info.getSigningKey() != null) ) { if (_message.getVerificationStructure() == null) { if (info.getSigningKey() != null) { if (info.getNextHop() != null) { if (_log.shouldLog(Log.DEBUG)) _log.debug("We are the gateway to tunnel " + id.getTunnelId()); byte data[] = _message.getData(); I2NPMessage msg = getBody(data); _context.jobQueue().addJob(new HandleGatewayMessageJob(msg, info, data.length)); return; } else { if (_log.shouldLog(Log.DEBUG)) _log.debug("We are the gateway and the endpoint for tunnel " + id.getTunnelId()); if (_log.shouldLog(Log.DEBUG)) _log.debug("Process locally"); if (info.getDestination() != null) { if (!_context.clientManager().isLocal(info.getDestination())) { if (_log.shouldLog(Log.WARN)) _log.warn("Received a message on a tunnel allocated to a client that has disconnected - dropping it!"); if (_log.shouldLog(Log.DEBUG)) _log.debug("Dropping message for disconnected client: " + _message); _context.messageHistory().droppedOtherMessage(_message); _context.messageHistory().messageProcessingError(_message.getUniqueId(), _message.getClass().getName(), "Disconnected client"); return; } } I2NPMessage body = getBody(_message.getData()); if (body != null) { _context.jobQueue().addJob(new HandleLocallyJob(body, info)); return; } else { if (_log.shouldLog(Log.ERROR)) _log.error("Body is null! content of message.getData() = [" + DataHelper.toString(_message.getData()) + "]", getAddedBy()); if (_log.shouldLog(Log.DEBUG)) _log.debug("Message that failed: " + _message, getAddedBy()); return; } } } else { if (_log.shouldLog(Log.ERROR)) _log.error("Received a message that we are not the gateway for on tunnel " + id.getTunnelId() + " without a verification structure: " + _message, getAddedBy()); return; } } else { // participant TunnelVerificationStructure struct = _message.getVerificationStructure(); boolean ok = struct.verifySignature(_context, info.getVerificationKey().getKey()); if (!ok) { if (_log.shouldLog(Log.WARN)) _log.warn("Failed tunnel verification! Spoofing / tagging attack? " + _message, getAddedBy()); return; } else { if (info.getNextHop() != null) { if (_log.shouldLog(Log.INFO)) _log.info("Message for tunnel " + id.getTunnelId() + " received where we're not the gateway and there are remaining hops, so forward it on to " + info.getNextHop().toBase64() + " via SendTunnelMessageJob"); _context.statManager().addRateData("tunnel.relayMessageSize", _message.getData().length, 0); _context.jobQueue().addJob(new SendMessageDirectJob(_context, _message, info.getNextHop(), _context.clock().now() + FORWARD_TIMEOUT, FORWARD_PRIORITY)); return; } else { if (_log.shouldLog(Log.DEBUG)) _log.debug("No more hops, unwrap and follow the instructions"); _context.jobQueue().addJob(new HandleEndpointJob(info)); return; } } } }
27437 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27437/e737e5c9507ed0d463dc9e45a8f63657f466b177/HandleTunnelMessageJob.java/clean/router/java/src/net/i2p/router/message/HandleTunnelMessageJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 2278, 1435, 288, 3639, 399, 8564, 548, 612, 273, 389, 2150, 18, 588, 20329, 548, 5621, 3639, 1525, 23183, 26093, 273, 389, 2472, 18, 18517, 7675, 3338, 1435, 300, 389, 2150, 18, 24906, 12028, 7675, 588, 950, 5621, 3639, 309, 261, 338, 614, 26093, 405, 9703, 18, 39, 6589, 67, 42, 12587, 7113, 67, 26835, 13, 288, 5411, 368, 7708, 1323, 603, 326, 2389, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 27999, 3719, 7734, 389, 1330, 18, 8935, 2932, 18047, 883, 7566, 397, 389, 2150, 18, 588, 24174, 1435, 397, 9369, 7708, 603, 326, 2389, 364, 14825, 315, 18701, 397, 612, 18, 588, 20329, 548, 1435, 397, 315, 1329, 11256, 315, 18701, 397, 23183, 26093, 21821, 397, 315, 959, 20325, 8863, 5411, 389, 2472, 18, 5642, 1318, 7675, 1289, 4727, 751, 2932, 19878, 18, 15820, 4436, 5933, 950, 3113, 23183, 26093, 16, 23183, 26093, 1769, 5411, 389, 2472, 18, 2150, 5623, 7675, 2150, 7798, 668, 24899, 2150, 18, 588, 24174, 9334, 4766, 17311, 399, 8564, 1079, 18, 1106, 18, 17994, 9334, 4766, 17311, 315, 19878, 883, 7708, 603, 326, 2389, 8863, 5411, 327, 31, 3639, 289, 469, 309, 261, 338, 614, 26093, 405, 374, 13, 288, 5411, 368, 23889, 7708, 1323, 603, 326, 2389, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 27999, 3719, 7734, 389, 1330, 18, 8935, 2932, 18047, 883, 7566, 397, 389, 2150, 18, 588, 24174, 1435, 397, 9369, 380, 287, 10329, 14, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 2278, 1435, 288, 3639, 399, 8564, 548, 612, 273, 389, 2150, 18, 588, 20329, 548, 5621, 3639, 1525, 23183, 26093, 273, 389, 2472, 18, 18517, 7675, 3338, 1435, 300, 389, 2150, 18, 24906, 12028, 7675, 588, 950, 5621, 3639, 309, 261, 338, 614, 26093, 405, 9703, 18, 39, 6589, 67, 42, 12587, 7113, 67, 26835, 13, 288, 5411, 368, 7708, 1323, 603, 326, 2389, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 27999, 3719, 7734, 389, 1330, 18, 8935, 2932, 18047, 883, 7566, 397, 389, 2150, 18, 588, 24174, 1435, 397, 9369, 7708, 603, 326, 2389, 364, 14825, 315, 18701, 397, 612, 18, 588, 20329, 548, 1435, 397, 315, 1329, 11256, 315, 2 ]
return RubyFixnum.newFixnum(ruby, cal.getTimeInMillis() / 1000);
return RubyFixnum.newFixnum(ruby, getTimeInMillis() / 1000);
public RubyInteger to_i() { return RubyFixnum.newFixnum(ruby, cal.getTimeInMillis() / 1000); }
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/1d7a03bf28c697f2c006eafab8faa91982894617/RubyTime.java/buggy/org/jruby/RubyTime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 4522, 358, 67, 77, 1435, 288, 3639, 327, 19817,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 19817, 4522, 358, 67, 77, 1435, 288, 3639, 327, 19817, 8585, 2107, 18, 2704, 8585, 2107, 12, 27768, 16, 6135, 16620, 1435, 342, 4336, 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 ]
public void dropActionChanged(DropTargetDragEvent dropTargetDragEvent) { }
public void dropActionChanged(DropTargetDragEvent dropTargetDragEvent) { }
public void dropActionChanged(DropTargetDragEvent dropTargetDragEvent) { }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/23464f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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3640, 1803, 5033, 12, 7544, 2326, 11728, 1133, 3640, 2326, 11728, 1133, 13, 288, 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 ]
+ ((primaryTable != null) ? "AND c2.relname='" + primaryTable + "' " : "") + ((foreignTable != null) ? "AND c.relname='" + foreignTable + "' " : "")
+ ((primaryTable != null) ? "AND c.relname='" + primaryTable + "' " : "") + ((foreignTable != null) ? "AND c2.relname='" + foreignTable + "' " : "")
private java.sql.ResultSet getImportedExportedKeys(String catalog, String schema, String primaryTable, String foreignTable) throws SQLException { Field f[] = new Field[14]; f[0] = new Field(connection, "PKTABLE_CAT", iVarcharOid, 32); f[1] = new Field(connection, "PKTABLE_SCHEM", iVarcharOid, 32); f[2] = new Field(connection, "PKTABLE_NAME", iVarcharOid, 32); f[3] = new Field(connection, "PKCOLUMN_NAME", iVarcharOid, 32); f[4] = new Field(connection, "FKTABLE_CAT", iVarcharOid, 32); f[5] = new Field(connection, "FKTABLE_SCHEM", iVarcharOid, 32); f[6] = new Field(connection, "FKTABLE_NAME", iVarcharOid, 32); f[7] = new Field(connection, "FKCOLUMN_NAME", iVarcharOid, 32); f[8] = new Field(connection, "KEY_SEQ", iInt2Oid, 2); f[9] = new Field(connection, "UPDATE_RULE", iInt2Oid, 2); f[10] = new Field(connection, "DELETE_RULE", iInt2Oid, 2); f[11] = new Field(connection, "FK_NAME", iVarcharOid, 32); f[12] = new Field(connection, "PK_NAME", iVarcharOid, 32); f[13] = new Field(connection, "DEFERRABILITY", iInt2Oid, 2); java.sql.ResultSet rs = connection.ExecSQL("SELECT c.relname,c2.relname," + "t.tgconstrname,ic.relname," + "t.tgdeferrable,t.tginitdeferred," + "t.tgnargs,t.tgargs,p.proname " + "FROM pg_trigger t,pg_class c,pg_class c2," + "pg_class ic,pg_proc p, pg_index i " + "WHERE t.tgrelid=c.oid AND t.tgconstrrelid=c2.oid " + "AND t.tgfoid=p.oid AND tgisconstraint " + ((primaryTable != null) ? "AND c2.relname='" + primaryTable + "' " : "") + ((foreignTable != null) ? "AND c.relname='" + foreignTable + "' " : "") + "AND i.indrelid=c.oid " + "AND i.indexrelid=ic.oid AND i.indisprimary " + "ORDER BY c.relname,c2.relname" ); Vector tuples = new Vector(); short seq = 0; if (rs.next()) { boolean hasMore; do { byte tuple[][] = new byte[14][0]; for (int k = 0;k < 14;k++) tuple[k] = null; String fKeyName = rs.getString(3); boolean foundRule = false; do { String proname = rs.getString(9); if (proname != null && proname.startsWith("RI_FKey_")) { int col = -1; if (proname.endsWith("_upd")) col = 9; // UPDATE_RULE else if (proname.endsWith("_del")) col = 10; // DELETE_RULE if (col > -1) { String rule = proname.substring(8, proname.length() - 4); int action = importedKeyNoAction; if ("cascade".equals(rule)) action = importedKeyCascade; else if ("setnull".equals(rule)) action = importedKeySetNull; else if ("setdefault".equals(rule)) action = importedKeySetDefault; tuple[col] = Integer.toString(action).getBytes(); foundRule = true; } } } while ((hasMore = rs.next()) && fKeyName.equals(rs.getString(3))); if (foundRule) { tuple[2] = rs.getBytes(2); //PKTABLE_NAME tuple[6] = rs.getBytes(1); //FKTABLE_NAME // Parse the tgargs data StringBuffer fkeyColumns = new StringBuffer(); StringBuffer pkeyColumns = new StringBuffer(); int numColumns = (rs.getInt(7) >> 1) - 2; String s = rs.getString(8); int pos = s.lastIndexOf("\\000"); for (int c = 0;c < numColumns;c++) { if (pos > -1) { int pos2 = s.lastIndexOf("\\000", pos - 1); if (pos2 > -1) { if (fkeyColumns.length() > 0) fkeyColumns.insert(0, ','); fkeyColumns.insert(0, s.substring(pos2 + 4, pos)); //FKCOLUMN_NAME pos = s.lastIndexOf("\\000", pos2 - 1); if (pos > -1) { if (pkeyColumns.length() > 0) pkeyColumns.insert(0, ','); pkeyColumns.insert(0, s.substring(pos + 4, pos2)); //PKCOLUMN_NAME } } } } tuple[7] = fkeyColumns.toString().getBytes(); //FKCOLUMN_NAME tuple[3] = pkeyColumns.toString().getBytes(); //PKCOLUMN_NAME tuple[8] = Integer.toString(seq++).getBytes(); //KEY_SEQ tuple[11] = fKeyName.getBytes(); //FK_NAME tuple[12] = rs.getBytes(4); //PK_NAME // DEFERRABILITY int deferrability = importedKeyNotDeferrable; boolean deferrable = rs.getBoolean(5); boolean initiallyDeferred = rs.getBoolean(6); if (deferrable) { if (initiallyDeferred) deferrability = importedKeyInitiallyDeferred; else deferrability = importedKeyInitiallyImmediate; } tuple[13] = Integer.toString(deferrability).getBytes(); tuples.addElement(tuple); } } while (hasMore); } return new ResultSet(connection, f, tuples, "OK", 1); }
52628 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52628/83b5ae65a0b5a2dc34acac84116a456777698bf0/DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 2252, 18, 4669, 18, 13198, 336, 24934, 31140, 2396, 12, 780, 6222, 16, 514, 1963, 16, 514, 3354, 1388, 16, 514, 5523, 1388, 13, 1216, 6483, 202, 95, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 3461, 15533, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 24, 65, 273, 394, 2286, 12, 4071, 16, 315, 13121, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 25, 65, 273, 394, 2286, 12, 4071, 16, 315, 13121, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 26, 65, 273, 394, 2286, 12, 4071, 16, 315, 13121, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 27, 65, 273, 394, 2286, 12, 4071, 16, 315, 13121, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 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, 2252, 18, 4669, 18, 13198, 336, 24934, 31140, 2396, 12, 780, 6222, 16, 514, 1963, 16, 514, 3354, 1388, 16, 514, 5523, 1388, 13, 1216, 6483, 202, 95, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 3461, 15533, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 202, 74, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 8784, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 202, 2 ]
"menu:
"menu:org.eclipse.ui.main.menu"));
public void fillActionBars(int flags) { Workbench workbench = getWorkbenchImpl(); workbench.largeUpdateStart(); try { getActionBarAdvisor().fillActionBars(flags); // // 3.3 start final IMenuService menuService = (IMenuService) serviceLocator .getService(IMenuService.class); menuService.populateMenu((ContributionManager) getActionBars() .getMenuManager(), new MenuLocationURI( "menu://org.eclipse.ui.main.menu")); //$NON-NLS-1$ // 3.3 end } finally { workbench.largeUpdateEnd(); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/cd2b9bb80133cf70e0db92df4b22a1fb9231aedf/WorkbenchWindow.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3636, 1803, 5190, 87, 12, 474, 2943, 13, 288, 202, 202, 2421, 22144, 1440, 22144, 273, 29026, 22144, 2828, 5621, 202, 202, 1252, 22144, 18, 14095, 1891, 1685, 5621, 202, 202, 698, 288, 1082, 202, 588, 1803, 5190, 28087, 7675, 5935, 1803, 5190, 87, 12, 7133, 1769, 1082, 202, 759, 1082, 202, 759, 890, 18, 23, 787, 1082, 202, 6385, 467, 4599, 1179, 3824, 1179, 273, 261, 3445, 2104, 1179, 13, 13580, 6862, 202, 18, 588, 1179, 12, 3445, 2104, 1179, 18, 1106, 1769, 1082, 202, 5414, 1179, 18, 19936, 4599, 12443, 442, 4027, 1318, 13, 12473, 5190, 87, 1435, 6862, 202, 18, 588, 4599, 1318, 9334, 394, 9809, 2735, 3098, 12, 6862, 202, 6, 5414, 2207, 3341, 18, 20416, 18, 4881, 18, 5254, 18, 5414, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 759, 890, 18, 23, 679, 202, 202, 97, 3095, 288, 1082, 202, 1252, 22144, 18, 14095, 1891, 1638, 5621, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3636, 1803, 5190, 87, 12, 474, 2943, 13, 288, 202, 202, 2421, 22144, 1440, 22144, 273, 29026, 22144, 2828, 5621, 202, 202, 1252, 22144, 18, 14095, 1891, 1685, 5621, 202, 202, 698, 288, 1082, 202, 588, 1803, 5190, 28087, 7675, 5935, 1803, 5190, 87, 12, 7133, 1769, 1082, 202, 759, 1082, 202, 759, 890, 18, 23, 787, 1082, 202, 6385, 467, 4599, 1179, 3824, 1179, 273, 261, 3445, 2104, 1179, 13, 13580, 6862, 202, 18, 588, 1179, 12, 3445, 2104, 1179, 18, 1106, 1769, 1082, 202, 5414, 1179, 18, 19936, 4599, 12443, 442, 4027, 1318, 13, 12473, 5190, 87, 1435, 6862, 202, 18, 588, 4599, 1318, 9334, 394, 9809, 2735, 3098, 12, 6862, 202, 6, 2 ]
setExpandedIcon(defaults.getIcon("Tree.expandedIcon")); setCollapsedIcon(defaults.getIcon("Tree.collapsedIcon"));
setExpandedIcon(defaults.getIcon("Tree.openIcon")); setCollapsedIcon(defaults.getIcon("Tree.closedIcon"));
public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background")); tree.setOpaque(true); tree.setScrollsOnExpand(defaults.getBoolean("Tree.scrollsOnExpand")); rightChildIndent = defaults.getInt("Tree.rightChildIndent"); leftChildIndent = defaults.getInt("Tree.leftChildIndent"); setRowHeight(defaults.getInt("Tree.rowHeight")); tree.requestFocusInWindow(false); setExpandedIcon(defaults.getIcon("Tree.expandedIcon")); setCollapsedIcon(defaults.getIcon("Tree.collapsedIcon")); currentCellRenderer = createDefaultCellRenderer(); rendererPane = createCellRendererPane(); createdRenderer = true; setCellEditor(createDefaultCellEditor()); createdCellEditor = true; TreeModel mod = tree.getModel(); setModel(mod); if (mod != null) tree.expandPath(new TreePath(mod.getRoot())); treeSelectionModel = tree.getSelectionModel(); drawingCache = new Hashtable(); nodeDimensions = createNodeDimensions(); propertyChangeListener = createPropertyChangeListener(); focusListener = createFocusListener(); treeSelectionListener = createTreeSelectionListener(); mouseInputListener = new MouseInputHandler(null, null, null); keyListener = createKeyListener(); selectionModelPropertyChangeListener = createSelectionModelPropertyChangeListener(); componentListener = createComponentListener(); cellEditorListener = createCellEditorListener(); treeExpansionListener = createTreeExpansionListener(); treeModelListener = createTreeModelListener(); editingRow = -1; lastSelectedRow = -1; installKeyboardActions(); tree.addPropertyChangeListener(propertyChangeListener); tree.addFocusListener(focusListener); tree.addTreeSelectionListener(treeSelectionListener); tree.addMouseListener(mouseInputListener); tree.addKeyListener(keyListener); tree.addPropertyChangeListener(selectionModelPropertyChangeListener); tree.addComponentListener(componentListener); tree.addTreeExpansionListener(treeExpansionListener); if (treeModel != null) treeModel.addTreeModelListener(treeModelListener); completeUIInstall(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/MetalTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3799, 5370, 12, 46, 1841, 276, 13, 225, 288, 565, 2151, 273, 261, 46, 2471, 13, 276, 31, 565, 5068, 3744, 1649, 5621, 3639, 10034, 73, 643, 87, 3467, 273, 6484, 1318, 18, 588, 9794, 1876, 2954, 292, 7019, 5621, 565, 2151, 18, 542, 5711, 12, 7606, 18, 588, 5711, 2932, 2471, 18, 5776, 7923, 1769, 565, 2151, 18, 542, 23206, 12, 7606, 18, 588, 2957, 2932, 2471, 18, 1405, 2915, 7923, 1769, 565, 2151, 18, 542, 8199, 12, 7606, 18, 588, 2957, 2932, 2471, 18, 9342, 7923, 1769, 565, 2151, 18, 542, 3817, 14886, 12, 3767, 1769, 565, 2151, 18, 542, 6806, 87, 1398, 12271, 12, 7606, 18, 588, 5507, 2932, 2471, 18, 12033, 87, 1398, 12271, 7923, 1769, 565, 2145, 1763, 7790, 273, 3467, 18, 588, 1702, 2932, 2471, 18, 4083, 1763, 7790, 8863, 565, 2002, 1763, 7790, 273, 3467, 18, 588, 1702, 2932, 2471, 18, 4482, 1763, 7790, 8863, 565, 444, 1999, 2686, 12, 7606, 18, 588, 1702, 2932, 2471, 18, 492, 2686, 7923, 1769, 565, 2151, 18, 2293, 9233, 382, 3829, 12, 5743, 1769, 3639, 444, 17957, 5554, 12, 7606, 18, 588, 5554, 2932, 2471, 18, 17336, 5554, 7923, 1769, 565, 444, 28084, 5554, 12, 7606, 18, 588, 5554, 2932, 2471, 18, 1293, 13886, 5554, 7923, 1769, 3639, 783, 4020, 6747, 273, 27346, 4020, 6747, 5621, 565, 5690, 8485, 273, 752, 4020, 6747, 8485, 5621, 565, 2522, 6747, 273, 638, 31, 565, 444, 4020, 6946, 12, 2640, 1868, 4020, 6946, 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, 3799, 5370, 12, 46, 1841, 276, 13, 225, 288, 565, 2151, 273, 261, 46, 2471, 13, 276, 31, 565, 5068, 3744, 1649, 5621, 3639, 10034, 73, 643, 87, 3467, 273, 6484, 1318, 18, 588, 9794, 1876, 2954, 292, 7019, 5621, 565, 2151, 18, 542, 5711, 12, 7606, 18, 588, 5711, 2932, 2471, 18, 5776, 7923, 1769, 565, 2151, 18, 542, 23206, 12, 7606, 18, 588, 2957, 2932, 2471, 18, 1405, 2915, 7923, 1769, 565, 2151, 18, 542, 8199, 12, 7606, 18, 588, 2957, 2932, 2471, 18, 9342, 7923, 1769, 565, 2151, 18, 542, 3817, 14886, 12, 3767, 1769, 565, 2151, 18, 542, 6806, 87, 1398, 12271, 12, 7606, 18, 588, 5507, 2932, 2471, 18, 12033, 87, 2 ]
} else if(kc.equals("ALL")) {
} else if (kc.equals("ALL")) {
int getKeyColsFromPipeCommand(String cmd) { String key = getKeyColPropName(); Pattern kcPat = Pattern.compile(".*" + key + "=([^\\s]*).*"); Matcher match = kcPat.matcher(cmd); String kc; if(!match.matches()) { kc = null; } else { kc = match.group(1); } int cols; if(kc== null) { // default value is 1 and the Stream applications could instead // add/remove the \t separator on lines to get the same effect as value 0, 1, ALL cols = 1; } else if(kc.equals("ALL")) { cols = ALL_COLS; } else { try { cols = Integer.parseInt(kc); } catch(NumberFormatException nf) { cols = Integer.MAX_VALUE; } } System.out.println("getKeyColsFromPipeCommand:" + key + " parse:" + cols + " from cmd=" + cmd); return cols; }
53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/e10b40e8014547113799b2653164e8c990d41209/PipeMapRed.java/clean/src/contrib/streaming/src/java/org/apache/hadoop/streaming/PipeMapRed.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 509, 3579, 8011, 1265, 11546, 2189, 12, 780, 1797, 13, 225, 288, 565, 514, 498, 273, 3579, 914, 28856, 5621, 565, 6830, 22154, 22834, 273, 6830, 18, 11100, 2932, 4509, 6, 397, 498, 397, 29199, 8178, 1695, 87, 5772, 2934, 7388, 1769, 565, 9757, 845, 273, 22154, 22834, 18, 22761, 12, 4172, 1769, 565, 514, 22154, 31, 565, 309, 12, 5, 1916, 18, 8436, 10756, 288, 1377, 22154, 273, 446, 31, 565, 289, 469, 288, 1377, 22154, 273, 845, 18, 1655, 12, 21, 1769, 565, 289, 565, 509, 5347, 31, 565, 309, 12, 79, 71, 631, 446, 13, 288, 1377, 368, 805, 460, 353, 404, 471, 326, 3961, 12165, 3377, 3560, 1377, 368, 527, 19, 4479, 326, 521, 88, 4182, 603, 2362, 358, 336, 326, 1967, 5426, 487, 460, 374, 16, 404, 16, 8061, 1377, 5347, 273, 404, 31, 565, 289, 469, 309, 261, 79, 71, 18, 14963, 2932, 4685, 6, 3719, 288, 1377, 5347, 273, 8061, 67, 4935, 55, 31, 565, 289, 469, 288, 1377, 775, 288, 3639, 5347, 273, 2144, 18, 2670, 1702, 12, 79, 71, 1769, 1377, 289, 1044, 12, 1854, 9291, 13958, 13, 288, 3639, 5347, 273, 2144, 18, 6694, 67, 4051, 31, 1377, 289, 565, 289, 565, 2332, 18, 659, 18, 8222, 2932, 588, 653, 8011, 1265, 11546, 2189, 2773, 397, 498, 397, 315, 1109, 2773, 397, 5347, 397, 315, 628, 1797, 1546, 397, 1797, 1769, 565, 327, 5347, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 509, 3579, 8011, 1265, 11546, 2189, 12, 780, 1797, 13, 225, 288, 565, 514, 498, 273, 3579, 914, 28856, 5621, 565, 6830, 22154, 22834, 273, 6830, 18, 11100, 2932, 4509, 6, 397, 498, 397, 29199, 8178, 1695, 87, 5772, 2934, 7388, 1769, 565, 9757, 845, 273, 22154, 22834, 18, 22761, 12, 4172, 1769, 565, 514, 22154, 31, 565, 309, 12, 5, 1916, 18, 8436, 10756, 288, 1377, 22154, 273, 446, 31, 565, 289, 469, 288, 1377, 22154, 273, 845, 18, 1655, 12, 21, 1769, 565, 289, 565, 509, 5347, 31, 565, 309, 12, 79, 71, 631, 446, 13, 288, 1377, 368, 805, 460, 353, 404, 471, 326, 3961, 12165, 3377, 3560, 1377, 368, 527, 19, 4479, 326, 521, 2 ]
public abstract Party getParty();
public Party getParty() { return party; }
public abstract Party getParty();
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/727f5f1ae65b07eeb30929b28a6199ee2d52ebe2/Order.java/clean/archive/eng/test/src/com/redhat/persistence/jdotest/Order.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8770, 6393, 93, 1689, 7325, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8770, 6393, 93, 1689, 7325, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.processId = processId;
this.processId = processId ;
public void setProcessId(String processId) { this.processId = processId; }
55530 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55530/3d91282339cca6bd778245b5ad864c1863bed5fd/TreeBean.java/clean/woops2/trunk/src/wilos/presentation/web/TreeBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 2227, 548, 12, 780, 1207, 548, 13, 288, 202, 202, 2211, 18, 2567, 548, 273, 1207, 548, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 444, 2227, 548, 12, 780, 1207, 548, 13, 288, 202, 202, 2211, 18, 2567, 548, 273, 1207, 548, 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 ]
addByteCode(ByteCode.IFNE, trueGOTO); addByteCode(ByteCode.GOTO, falseGOTO);
cfw.add(ByteCode.IFNE, trueGOTO); cfw.add(ByteCode.GOTO, falseGOTO);
private void visitIfJumpRelOp(Node node, Node child, int trueGOTO, int falseGOTO) { int type = node.getType(); if (type == Token.INSTANCEOF || type == Token.IN) { generateCodeFromNode(child, node); generateCodeFromNode(child.getNext(), node); aload(variableObjectLocal); addScriptRuntimeInvoke( (type == Token.INSTANCEOF) ? "instanceOf" : "in", "(Ljava/lang/Object;" +"Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +")Z"); addByteCode(ByteCode.IFNE, trueGOTO); addByteCode(ByteCode.GOTO, falseGOTO); return; } int childNumberFlag = node.getIntProp(Node.ISNUMBER_PROP, -1); if (childNumberFlag == Node.BOTH) { generateCodeFromNode(child, node); generateCodeFromNode(child.getNext(), node); genSimpleCompare(type, trueGOTO, falseGOTO); } else { Node rChild = child.getNext(); boolean leftIsDCP = nodeIsDirectCallParameter(child); boolean rightIsDCP = nodeIsDirectCallParameter(rChild); if (leftIsDCP || rightIsDCP) { if (leftIsDCP) { if (rightIsDCP) { OptLocalVariable lVar1, lVar2; lVar1 = (OptLocalVariable)child.getProp( Node.VARIABLE_PROP); aload(lVar1.getJRegister()); classFile.add(ByteCode.GETSTATIC, "java/lang/Void", "TYPE", "Ljava/lang/Class;"); int notNumbersLabel = acquireLabel(); addByteCode(ByteCode.IF_ACMPNE, notNumbersLabel); lVar2 = (OptLocalVariable)rChild.getProp( Node.VARIABLE_PROP); aload(lVar2.getJRegister()); classFile.add(ByteCode.GETSTATIC, "java/lang/Void", "TYPE", "Ljava/lang/Class;"); addByteCode(ByteCode.IF_ACMPNE, notNumbersLabel); dload((short)(lVar1.getJRegister() + 1)); dload((short)(lVar2.getJRegister() + 1)); genSimpleCompare(type, trueGOTO, falseGOTO); markLabel(notNumbersLabel); // fall thru to generic handling } else { // just the left child is a DCP, if the right child // is a number it's worth testing the left if (childNumberFlag == Node.RIGHT) { OptLocalVariable lVar1; lVar1 = (OptLocalVariable)child.getProp( Node.VARIABLE_PROP); aload(lVar1.getJRegister()); classFile.add(ByteCode.GETSTATIC, "java/lang/Void", "TYPE", "Ljava/lang/Class;"); int notNumbersLabel = acquireLabel(); addByteCode(ByteCode.IF_ACMPNE, notNumbersLabel); dload((short)(lVar1.getJRegister() + 1)); generateCodeFromNode(rChild, node); genSimpleCompare(type, trueGOTO, falseGOTO); markLabel(notNumbersLabel); // fall thru to generic handling } } } else { // just the right child is a DCP, if the left child // is a number it's worth testing the right if (childNumberFlag == Node.LEFT) { OptLocalVariable lVar2; lVar2 = (OptLocalVariable)rChild.getProp( Node.VARIABLE_PROP); aload(lVar2.getJRegister()); classFile.add(ByteCode.GETSTATIC, "java/lang/Void", "TYPE", "Ljava/lang/Class;"); int notNumbersLabel = acquireLabel(); addByteCode(ByteCode.IF_ACMPNE, notNumbersLabel); generateCodeFromNode(child, node); dload((short)(lVar2.getJRegister() + 1)); genSimpleCompare(type, trueGOTO, falseGOTO); markLabel(notNumbersLabel); // fall thru to generic handling } } } generateCodeFromNode(child, node); generateCodeFromNode(rChild, node); if (childNumberFlag == -1) { if (type == Token.GE || type == Token.GT) { addByteCode(ByteCode.SWAP); } String routine = ((type == Token.LT) || (type == Token.GT)) ? "cmp_LT" : "cmp_LE"; addScriptRuntimeInvoke(routine, "(Ljava/lang/Object;" +"Ljava/lang/Object;" +")I"); } else { boolean doubleThenObject = (childNumberFlag == Node.LEFT); if (type == Token.GE || type == Token.GT) { if (doubleThenObject) { addByteCode(ByteCode.DUP_X2); addByteCode(ByteCode.POP); doubleThenObject = false; } else { addByteCode(ByteCode.DUP2_X1); addByteCode(ByteCode.POP2); doubleThenObject = true; } } String routine = ((type == Token.LT) || (type == Token.GT)) ? "cmp_LT" : "cmp_LE"; if (doubleThenObject) addOptRuntimeInvoke(routine, "(DLjava/lang/Object;)I"); else addOptRuntimeInvoke(routine, "(Ljava/lang/Object;D)I"); } addByteCode(ByteCode.IFNE, trueGOTO); addByteCode(ByteCode.GOTO, falseGOTO); } }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/64dc04549cad044865eae2e65e775ddc0f292717/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3757, 2047, 26743, 1971, 3817, 12, 907, 756, 16, 2029, 1151, 16, 21394, 509, 638, 43, 27019, 16, 509, 629, 43, 27019, 13, 565, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 309, 261, 723, 422, 3155, 18, 13341, 3932, 747, 618, 422, 3155, 18, 706, 13, 288, 5411, 2103, 1085, 28570, 12, 3624, 16, 756, 1769, 5411, 2103, 1085, 28570, 12, 3624, 18, 588, 2134, 9334, 756, 1769, 5411, 279, 945, 12, 6105, 921, 2042, 1769, 5411, 527, 3651, 5576, 10969, 12, 7734, 261, 723, 422, 3155, 18, 13341, 3932, 13, 692, 315, 1336, 951, 6, 294, 315, 267, 3113, 7734, 7751, 21159, 19, 4936, 19, 921, 4868, 7734, 397, 6, 21159, 19, 4936, 19, 921, 4868, 7734, 397, 6, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 7734, 397, 7923, 62, 8863, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 5501, 5407, 16, 638, 43, 27019, 1769, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 43, 27019, 16, 629, 43, 27019, 1769, 5411, 327, 31, 3639, 289, 3639, 509, 1151, 1854, 4678, 273, 756, 18, 588, 1702, 4658, 12, 907, 18, 5127, 9931, 67, 15811, 16, 300, 21, 1769, 3639, 309, 261, 3624, 1854, 4678, 422, 2029, 18, 38, 18307, 13, 288, 5411, 2103, 1085, 28570, 12, 3624, 16, 756, 1769, 5411, 2103, 1085, 28570, 12, 3624, 18, 588, 2134, 9334, 756, 1769, 5411, 3157, 5784, 8583, 12, 723, 16, 638, 43, 27019, 16, 629, 43, 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, 3757, 2047, 26743, 1971, 3817, 12, 907, 756, 16, 2029, 1151, 16, 21394, 509, 638, 43, 27019, 16, 509, 629, 43, 27019, 13, 565, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 309, 261, 723, 422, 3155, 18, 13341, 3932, 747, 618, 422, 3155, 18, 706, 13, 288, 5411, 2103, 1085, 28570, 12, 3624, 16, 756, 1769, 5411, 2103, 1085, 28570, 12, 3624, 18, 588, 2134, 9334, 756, 1769, 5411, 279, 945, 12, 6105, 921, 2042, 1769, 5411, 527, 3651, 5576, 10969, 12, 7734, 261, 723, 422, 3155, 18, 13341, 3932, 13, 692, 315, 1336, 951, 6, 294, 315, 267, 3113, 7734, 7751, 21159, 19, 4936, 19, 921, 4868, 7734, 397, 6, 21159, 2 ]
PathExpr left= new PathExpr(); PathExpr right= new PathExpr();
PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context);
public final Expression numericExpr(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; AST numericExpr_AST_in = (AST)_t; step= null; PathExpr left= new PathExpr(); PathExpr right= new PathExpr(); if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PLUS: { AST __t178 = _t; AST tmp33_AST_in = (AST)_t; match(_t,PLUS); _t = _t.getFirstChild(); expr(_t,left); _t = _retTree; expr(_t,right); _t = _retTree; _t = __t178; _t = _t.getNextSibling(); OpNumeric op= new OpNumeric(left, right, Constants.PLUS); path.addPath(op); step= op; break; } case MINUS: { AST __t179 = _t; AST tmp34_AST_in = (AST)_t; match(_t,MINUS); _t = _t.getFirstChild(); expr(_t,left); _t = _retTree; expr(_t,right); _t = _retTree; _t = __t179; _t = _t.getNextSibling(); OpNumeric op= new OpNumeric(left, right, Constants.MINUS); path.addPath(op); step= op; break; } case UNARY_MINUS: { AST __t180 = _t; AST tmp35_AST_in = (AST)_t; match(_t,UNARY_MINUS); _t = _t.getFirstChild(); expr(_t,left); _t = _retTree; _t = __t180; _t = _t.getNextSibling(); UnaryExpr unary= new UnaryExpr(Constants.MINUS); unary.add(left); path.addPath(unary); step= unary; break; } case UNARY_PLUS: { AST __t181 = _t; AST tmp36_AST_in = (AST)_t; match(_t,UNARY_PLUS); _t = _t.getFirstChild(); expr(_t,left); _t = _retTree; _t = __t181; _t = _t.getNextSibling(); UnaryExpr unary= new UnaryExpr(Constants.PLUS); unary.add(left); path.addPath(unary); step= unary; break; } case LITERAL_div: { AST __t182 = _t; AST tmp37_AST_in = (AST)_t; match(_t,LITERAL_div); _t = _t.getFirstChild(); expr(_t,left); _t = _retTree; expr(_t,right); _t = _retTree; _t = __t182; _t = _t.getNextSibling(); OpNumeric op= new OpNumeric(left, right, Constants.DIV); path.addPath(op); step= op; break; } case LITERAL_mod: { AST __t183 = _t; AST tmp38_AST_in = (AST)_t; match(_t,LITERAL_mod); _t = _t.getFirstChild(); expr(_t,left); _t = _retTree; expr(_t,right); _t = _retTree; _t = __t183; _t = _t.getNextSibling(); OpNumeric op= new OpNumeric(left, right, Constants.MOD); path.addPath(op); step= op; break; } case STAR: { AST __t184 = _t; AST tmp39_AST_in = (AST)_t; match(_t,STAR); _t = _t.getFirstChild(); expr(_t,left); _t = _retTree; expr(_t,right); _t = _retTree; _t = __t184; _t = _t.getNextSibling(); OpNumeric op= new OpNumeric(left, right, Constants.MULT); path.addPath(op); step= op; break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/991914fac6d8ec32704e1e021ab6bf8707ee56ec/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 6389, 4742, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 9053, 6389, 4742, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 6862, 202, 4119, 33, 446, 31, 1082, 202, 743, 4742, 2002, 33, 394, 2666, 4742, 5621, 1082, 202, 743, 4742, 2145, 33, 394, 2666, 4742, 5621, 25083, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 22443, 3378, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 4033, 28, 273, 389, 88, 31, 1082, 202, 9053, 1853, 3707, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 6253, 3378, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 8638, 24899, 88, 16, 4482, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8638, 24899, 88, 16, 4083, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 67, 88, 273, 1001, 88, 4033, 28, 31, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 6862, 9506, 202, 3817, 9902, 1061, 33, 394, 6066, 9902, 12, 4482, 16, 2145, 16, 5245, 18, 6253, 3378, 1769, 6862, 202, 803, 18, 1289, 743, 12, 556, 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, 5371, 225, 6389, 4742, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 9053, 6389, 4742, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 6862, 202, 4119, 33, 446, 31, 1082, 202, 743, 4742, 2002, 33, 394, 2666, 4742, 5621, 1082, 202, 743, 4742, 2145, 33, 394, 2666, 4742, 5621, 25083, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 22443, 3378, 30, 202, 202, 95, 1082, 202, 9053, 1001, 2 ]
int xoffset = Utilities.getTabbedTextWidth(segment, metrics, rect.x,
int xoffset = Utilities.getTabbedTextWidth(segment, metrics, tabBase,
public Shape modelToView(int position, Shape a, Position.Bias b) throws BadLocationException { // Ensure metrics are up-to-date. updateMetrics(); Document document = getDocument(); // Get rectangle of the line containing position. int lineIndex = getElement().getElementIndex(position); Rectangle rect = lineToRect(a, lineIndex); // Get the rectangle for position. Element line = getElement().getElement(lineIndex); int lineStart = line.getStartOffset(); Segment segment = getLineBuffer(); document.getText(lineStart, position - lineStart, segment); int xoffset = Utilities.getTabbedTextWidth(segment, metrics, rect.x, this, lineStart); // Calc the real rectangle. rect.x += xoffset; rect.width = 1; rect.height = metrics.getHeight(); return rect; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/PlainView.java/clean/core/src/classpath/javax/javax/swing/text/PlainView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 12383, 938, 774, 1767, 12, 474, 1754, 16, 12383, 279, 16, 11010, 18, 31645, 324, 13, 565, 1216, 6107, 2735, 503, 225, 288, 565, 368, 7693, 4309, 854, 731, 17, 869, 17, 712, 18, 565, 1089, 5653, 5621, 3639, 4319, 1668, 273, 9956, 5621, 565, 368, 968, 11845, 434, 326, 980, 4191, 1754, 18, 565, 509, 980, 1016, 273, 7426, 7675, 21336, 1016, 12, 3276, 1769, 565, 13264, 4917, 273, 19785, 6120, 12, 69, 16, 980, 1016, 1769, 565, 368, 968, 326, 11845, 364, 1754, 18, 565, 3010, 980, 273, 7426, 7675, 21336, 12, 1369, 1016, 1769, 565, 509, 29208, 273, 980, 18, 588, 1685, 2335, 5621, 565, 10807, 3267, 273, 9851, 1892, 5621, 565, 1668, 18, 588, 1528, 12, 1369, 1685, 16, 1754, 300, 29208, 16, 3267, 1769, 565, 509, 619, 3348, 273, 26703, 18, 588, 5661, 2992, 1528, 2384, 12, 9273, 16, 4309, 16, 4917, 18, 92, 16, 25083, 4202, 333, 16, 29208, 1769, 565, 368, 29128, 326, 2863, 11845, 18, 565, 4917, 18, 92, 1011, 619, 3348, 31, 565, 4917, 18, 2819, 273, 404, 31, 565, 4917, 18, 4210, 273, 4309, 18, 588, 2686, 5621, 565, 327, 4917, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 12383, 938, 774, 1767, 12, 474, 1754, 16, 12383, 279, 16, 11010, 18, 31645, 324, 13, 565, 1216, 6107, 2735, 503, 225, 288, 565, 368, 7693, 4309, 854, 731, 17, 869, 17, 712, 18, 565, 1089, 5653, 5621, 3639, 4319, 1668, 273, 9956, 5621, 565, 368, 968, 11845, 434, 326, 980, 4191, 1754, 18, 565, 509, 980, 1016, 273, 7426, 7675, 21336, 1016, 12, 3276, 1769, 565, 13264, 4917, 273, 19785, 6120, 12, 69, 16, 980, 1016, 1769, 565, 368, 968, 326, 11845, 364, 1754, 18, 565, 3010, 980, 273, 7426, 7675, 21336, 12, 1369, 1016, 1769, 565, 509, 29208, 273, 980, 18, 588, 1685, 2335, 5621, 565, 10807, 3267, 273, 9851, 1892, 5621, 565, 1668, 18, 2 ]
public MemoryCacheImageInputStream(InputStream stream) throws IOException {
public MemoryCacheImageInputStream(InputStream stream) {
public MemoryCacheImageInputStream(InputStream stream) throws IOException { if (stream == null) { throw new IllegalArgumentException("stream == null!"); } is = stream; }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/e936bf483da53cdbaa9568d71102fa8c313c412e/MemoryCacheImageInputStream.java/buggy/modules/imageio/src/main/java/javax/imageio/stream/MemoryCacheImageInputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9251, 1649, 2040, 4348, 12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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9251, 1649, 2040, 4348, 12, 4348, 1407, 13, 288, 3639, 309, 261, 3256, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 3256, 422, 446, 4442, 1769, 3639, 289, 3639, 353, 273, 1407, 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 ]
WorkbenchPlugin.getDefault().removeBundleListener(bundleListener);
shell.dispose();
private void runStartupWithProgress(final int expectedProgressCount, final Runnable runnable) throws InvocationTargetException, InterruptedException { progressCount = 0; final double cutoff = 0.95; Shell shell = new Shell(Display.getCurrent(), SWT.NONE); try { final StartupProgressMonitorDialog progressMonitorDialog = new StartupProgressMonitorDialog(shell); SynchronousBundleListener bundleListener = new StartupProgressBundleListener(progressMonitorDialog.getProgressMonitor(), (int) (expectedProgressCount * cutoff)); WorkbenchPlugin.getDefault().addBundleListener(bundleListener); try { progressMonitorDialog.run(false, false, new IRunnableWithProgress() { public void run(IProgressMonitor monitor) { monitor.beginTask("", expectedProgressCount); //$NON-NLS-1$ runnable.run(); monitor.subTask(WorkbenchMessages.Startup_Done); int remainingWork = expectedProgressCount - Math.min(progressCount, (int)(expectedProgressCount * cutoff)); monitor.worked(remainingWork); Display.getCurrent().update(); monitor.done(); }}); } finally { WorkbenchPlugin.getDefault().removeBundleListener(bundleListener); } } finally { shell.dispose(); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/ceaf5a592c5c473fe2f2589a6776f6447f9b481f/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1086, 22178, 1190, 5491, 12, 6385, 509, 2665, 5491, 1380, 16, 727, 10254, 14685, 13, 1216, 15342, 16, 7558, 288, 202, 202, 8298, 1380, 273, 374, 31, 202, 202, 6385, 1645, 13383, 273, 374, 18, 8778, 31, 3639, 19433, 5972, 273, 394, 19433, 12, 4236, 18, 588, 3935, 9334, 348, 8588, 18, 9826, 1769, 3639, 775, 288, 1082, 202, 6385, 3603, 416, 5491, 7187, 6353, 4007, 7187, 6353, 273, 394, 3603, 416, 5491, 7187, 6353, 12, 10304, 1769, 25083, 202, 55, 7121, 3405, 2223, 3440, 2223, 273, 394, 3603, 416, 5491, 3405, 2223, 12, 8298, 7187, 6353, 18, 588, 5491, 7187, 9334, 261, 474, 13, 261, 3825, 5491, 1380, 380, 13383, 10019, 1082, 202, 2421, 22144, 3773, 18, 588, 1868, 7675, 1289, 3405, 2223, 12, 9991, 2223, 1769, 6862, 1082, 202, 698, 288, 9506, 202, 8298, 7187, 6353, 18, 2681, 12, 5743, 16, 629, 16, 394, 467, 20013, 1190, 5491, 1435, 288, 25083, 202, 482, 918, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 25083, 202, 10259, 18, 10086, 2174, 2932, 3113, 2665, 5491, 1380, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 6862, 202, 2681, 6914, 18, 2681, 5621, 6862, 6862, 9506, 202, 10259, 18, 1717, 2174, 12, 2421, 22144, 5058, 18, 22178, 67, 7387, 1769, 25083, 202, 474, 4463, 2421, 273, 2665, 5491, 1380, 300, 2361, 18, 1154, 12, 8298, 1380, 16, 261, 474, 21433, 3825, 5491, 1380, 380, 13383, 10019, 25083, 202, 10259, 18, 1252, 329, 12, 17956, 2421, 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, 1086, 22178, 1190, 5491, 12, 6385, 509, 2665, 5491, 1380, 16, 727, 10254, 14685, 13, 1216, 15342, 16, 7558, 288, 202, 202, 8298, 1380, 273, 374, 31, 202, 202, 6385, 1645, 13383, 273, 374, 18, 8778, 31, 3639, 19433, 5972, 273, 394, 19433, 12, 4236, 18, 588, 3935, 9334, 348, 8588, 18, 9826, 1769, 3639, 775, 288, 1082, 202, 6385, 3603, 416, 5491, 7187, 6353, 4007, 7187, 6353, 273, 394, 3603, 416, 5491, 7187, 6353, 12, 10304, 1769, 25083, 202, 55, 7121, 3405, 2223, 3440, 2223, 273, 394, 3603, 416, 5491, 3405, 2223, 12, 8298, 7187, 6353, 18, 588, 5491, 7187, 9334, 261, 474, 13, 261, 3825, 5491, 1380, 380, 13383, 10019, 1082, 202, 2421, 2 ]
ctrl.setRedraw(true);
return queues.nextUpdate();
private void updateViewer(List additions, List removals, List changes) { // The widget may have been destroyed by the time this is run. // Check for this and do nothing if so. Control ctrl = viewer.getControl(); if (ctrl == null || ctrl.isDisposed()) { return; } ctrl.setRedraw(false); //update the viewer based on the marker changes. //process removals before additions, to avoid multiple equal elements in //the viewer if (removals.size() > 0) { // Cancel any open cell editor. We assume that the one being edited // is the one being removed. viewer.cancelEditing(); viewer.remove(removals.toArray()); } if (additions.size() > 0) { viewer.add(additions.toArray()); } if (changes.size() > 0) { viewer.update(changes.toArray(), null); } ctrl.setRedraw(true); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/ea57ee1b804071939d5791d4c2986826074efe0c/TableContentProvider.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableContentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 18415, 12, 682, 26260, 16, 987, 2797, 1031, 16, 987, 3478, 13, 288, 6862, 202, 759, 1021, 3604, 2026, 1240, 2118, 17689, 635, 326, 813, 333, 353, 1086, 18, 21114, 202, 759, 2073, 364, 333, 471, 741, 5083, 309, 1427, 18, 202, 202, 3367, 6414, 273, 14157, 18, 588, 3367, 5621, 202, 202, 430, 261, 16277, 422, 446, 747, 6414, 18, 291, 1669, 7423, 10756, 288, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 16277, 18, 542, 3715, 1899, 12, 5743, 1769, 1082, 202, 759, 2725, 326, 14157, 2511, 603, 326, 5373, 3478, 18, 202, 202, 759, 2567, 2797, 1031, 1865, 26260, 16, 358, 4543, 3229, 3959, 2186, 316, 3196, 202, 759, 5787, 14157, 202, 202, 430, 261, 2764, 1527, 1031, 18, 1467, 1435, 405, 374, 13, 288, 1082, 202, 759, 10347, 1281, 1696, 2484, 4858, 18, 225, 1660, 6750, 716, 326, 1245, 3832, 18532, 1875, 202, 759, 353, 326, 1245, 3832, 3723, 18, 1082, 202, 25256, 18, 10996, 28029, 5621, 1082, 202, 25256, 18, 4479, 12, 2764, 1527, 1031, 18, 31447, 10663, 202, 202, 97, 202, 202, 430, 261, 1289, 5029, 18, 1467, 1435, 405, 374, 13, 288, 1082, 202, 25256, 18, 1289, 12, 1289, 5029, 18, 31447, 10663, 202, 202, 97, 202, 202, 430, 261, 6329, 18, 1467, 1435, 405, 374, 13, 288, 1082, 202, 25256, 18, 2725, 12, 6329, 18, 31447, 9334, 446, 1769, 202, 202, 97, 9506, 202, 16277, 18, 542, 3715, 1899, 12, 3767, 1769, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 18415, 12, 682, 26260, 16, 987, 2797, 1031, 16, 987, 3478, 13, 288, 6862, 202, 759, 1021, 3604, 2026, 1240, 2118, 17689, 635, 326, 813, 333, 353, 1086, 18, 21114, 202, 759, 2073, 364, 333, 471, 741, 5083, 309, 1427, 18, 202, 202, 3367, 6414, 273, 14157, 18, 588, 3367, 5621, 202, 202, 430, 261, 16277, 422, 446, 747, 6414, 18, 291, 1669, 7423, 10756, 288, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 16277, 18, 542, 3715, 1899, 12, 5743, 1769, 1082, 202, 759, 2725, 326, 14157, 2511, 603, 326, 5373, 3478, 18, 202, 202, 759, 2567, 2797, 1031, 1865, 26260, 16, 358, 4543, 3229, 3959, 2186, 316, 3196, 202, 759, 5787, 2 ]
for (int j = 0; j < bytes.length; j++) {
for (int j = 0; j < bytes.length; j++) {
public String getIORString() { if( ior_str == null ) { try { CDROutputStream out = new CDROutputStream( orb ); out.beginEncapsulatedArray(); IORHelper.write(out,ior); byte bytes[] = out.getBufferCopy(); StringBuffer sb = new StringBuffer("IOR:"); for (int j = 0; j < bytes.length; j++) { sb.append( lookup[ (bytes[j] >> 4) & 0xF ] ); sb.append( lookup[ (bytes[j] ) & 0xF ] ); } ior_str = sb.toString(); } catch (Exception e) { Debug.output(2,e); throw new org.omg.CORBA.UNKNOWN("Error in building IIOP-IOR"); } } return ior_str; }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/09063062726d1dad3a168e141ad7ee9a05fab5be/ParsedIOR.java/buggy/src/org/jacorb/orb/ParsedIOR.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8974, 916, 780, 1435, 565, 288, 202, 430, 12, 277, 280, 67, 701, 422, 446, 262, 202, 95, 202, 565, 775, 3196, 565, 288, 1082, 202, 39, 6331, 4632, 596, 273, 394, 385, 6331, 4632, 12, 16823, 11272, 202, 202, 659, 18, 10086, 4280, 6679, 11799, 1076, 5621, 202, 202, 45, 916, 2276, 18, 2626, 12, 659, 16, 9659, 1769, 202, 202, 7229, 1731, 8526, 273, 596, 18, 588, 1892, 2951, 5621, 202, 202, 780, 1892, 2393, 273, 394, 6674, 2932, 45, 916, 2773, 1769, 202, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 1731, 18, 2469, 31, 525, 27245, 202, 202, 95, 10792, 2393, 18, 6923, 12, 3689, 63, 261, 3890, 63, 78, 65, 1671, 1059, 13, 473, 374, 16275, 308, 11272, 10792, 2393, 18, 6923, 12, 3689, 63, 261, 3890, 63, 78, 65, 377, 262, 473, 374, 16275, 308, 11272, 202, 202, 97, 202, 202, 9659, 67, 701, 273, 2393, 18, 10492, 5621, 202, 565, 289, 3196, 565, 1044, 261, 503, 425, 13, 3196, 565, 288, 3196, 202, 2829, 18, 2844, 12, 22, 16, 73, 1769, 3196, 202, 12849, 394, 2358, 18, 362, 75, 18, 9428, 12536, 18, 14737, 2932, 668, 316, 10504, 23076, 3665, 17, 45, 916, 8863, 202, 565, 289, 202, 97, 202, 2463, 277, 280, 67, 701, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8974, 916, 780, 1435, 565, 288, 202, 430, 12, 277, 280, 67, 701, 422, 446, 262, 202, 95, 202, 565, 775, 3196, 565, 288, 1082, 202, 39, 6331, 4632, 596, 273, 394, 385, 6331, 4632, 12, 16823, 11272, 202, 202, 659, 18, 10086, 4280, 6679, 11799, 1076, 5621, 202, 202, 45, 916, 2276, 18, 2626, 12, 659, 16, 9659, 1769, 202, 202, 7229, 1731, 8526, 273, 596, 18, 588, 1892, 2951, 5621, 202, 202, 780, 1892, 2393, 273, 394, 6674, 2932, 45, 916, 2773, 1769, 202, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 1731, 18, 2469, 31, 525, 27245, 202, 202, 95, 10792, 2393, 18, 6923, 12, 3689, 63, 261, 3890, 63, 78, 2 ]
text.append("()");
text.append("()");
protected String constructHeaderFileContent(String lineDelimiter){ StringBuffer text = new StringBuffer(); boolean extendingBase = false; String baseClassName = getBaseClassName(); String baseClassFileName = ""; if((baseClassName != null) && (baseClassName.length() > 0)) { extendingBase = true; List classElements = findClassElementsInProject(); BasicSearchMatch baseClass = (BasicSearchMatch)findInList(baseClassName, null, classElements);// if(baseClass != null){// IPath baseClassFileLocation = baseClass.getLocation();// IPath newFilePath = getContainerFullPath(linkedResourceGroupForHeader);// baseClassFileName = baseClassName + HEADER_EXT;// } else { baseClassFileName = baseClassName + HEADER_EXT;// } } if(isIncludeGuard()){ text.append("#ifndef "); text.append(getNewClassName().toUpperCase()); text.append("_H"); text.append(lineDelimiter); text.append("#define "); text.append(getNewClassName().toUpperCase()); text.append("_H"); text.append(lineDelimiter); text.append(lineDelimiter); } if(extendingBase){ text.append("#include \""); text.append(baseClassFileName); text.append('\"'); text.append(lineDelimiter); text.append(lineDelimiter); } text.append("class "); text.append(getNewClassName()); if(extendingBase){ text.append(" : "); text.append(getAccess()); text.append(" "); text.append(baseClassName); } text.append("{"); text.append(lineDelimiter); text.append("public:"); text.append(lineDelimiter); text.append(lineDelimiter); // constructor text.append('\t'); text.append(getNewClassName()); text.append("()"); if(isInline()){ text.append(" {}"); text.append(lineDelimiter); }else { text.append(";"); text.append(lineDelimiter); } // destructor text.append('\t'); if(isVirtualDestructor()){ text.append("virtual "); } text.append("~"); text.append(getNewClassName()); text.append("()"); if(isInline()){ text.append(" {}"); text.append(lineDelimiter); }else { text.append(";"); text.append(lineDelimiter); } text.append("};"); text.append(lineDelimiter); if(isIncludeGuard()){ text.append(lineDelimiter); text.append("#endif // "); text.append(getNewClassName().toUpperCase()); text.append("_H"); text.append(lineDelimiter); } return text.toString(); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/1738ff26440cb838b4d42f49cb8d29c4cc9babdf/NewClassWizardPage.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/NewClassWizardPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 4872, 1864, 25391, 12, 780, 980, 12007, 15329, 202, 202, 780, 1892, 977, 273, 394, 6674, 5621, 202, 202, 6494, 27147, 2171, 273, 629, 31, 202, 202, 780, 1026, 3834, 273, 8297, 3834, 5621, 202, 202, 780, 23955, 4771, 273, 1408, 31, 202, 202, 430, 12443, 1969, 3834, 480, 446, 13, 597, 261, 1969, 3834, 18, 2469, 1435, 405, 374, 3719, 202, 202, 95, 1082, 202, 408, 2846, 2171, 273, 638, 31, 1082, 202, 682, 667, 3471, 273, 1104, 797, 3471, 382, 4109, 5621, 1082, 202, 8252, 2979, 2060, 23955, 273, 261, 8252, 2979, 2060, 13, 4720, 24218, 12, 1969, 3834, 16, 446, 16, 667, 3471, 1769, 759, 1082, 202, 430, 12, 1969, 797, 480, 446, 15329, 759, 9506, 202, 45, 743, 23955, 812, 2735, 273, 23955, 18, 588, 2735, 5621, 759, 9506, 202, 45, 743, 394, 5598, 273, 9272, 24173, 12, 17738, 18860, 1290, 1864, 1769, 759, 9506, 202, 1969, 797, 4771, 273, 1026, 3834, 397, 11659, 67, 4142, 31, 759, 1082, 202, 97, 469, 288, 9506, 202, 1969, 797, 4771, 273, 1026, 3834, 397, 11659, 67, 4142, 31, 759, 1082, 202, 97, 202, 202, 97, 9506, 202, 430, 12, 291, 8752, 16709, 10756, 95, 1082, 202, 955, 18, 6923, 2932, 7, 430, 82, 536, 315, 1769, 1082, 202, 955, 18, 6923, 12, 588, 1908, 3834, 7675, 869, 8915, 10663, 1082, 202, 955, 18, 6923, 2932, 67, 44, 8863, 1082, 202, 955, 18, 6923, 12, 1369, 12007, 1769, 1082, 202, 955, 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, 225, 202, 1117, 514, 4872, 1864, 25391, 12, 780, 980, 12007, 15329, 202, 202, 780, 1892, 977, 273, 394, 6674, 5621, 202, 202, 6494, 27147, 2171, 273, 629, 31, 202, 202, 780, 1026, 3834, 273, 8297, 3834, 5621, 202, 202, 780, 23955, 4771, 273, 1408, 31, 202, 202, 430, 12443, 1969, 3834, 480, 446, 13, 597, 261, 1969, 3834, 18, 2469, 1435, 405, 374, 3719, 202, 202, 95, 1082, 202, 408, 2846, 2171, 273, 638, 31, 1082, 202, 682, 667, 3471, 273, 1104, 797, 3471, 382, 4109, 5621, 1082, 202, 8252, 2979, 2060, 23955, 273, 261, 8252, 2979, 2060, 13, 4720, 24218, 12, 1969, 3834, 16, 446, 16, 667, 3471, 1769, 759, 1082, 202, 430, 12, 1969, 797, 480, 2 ]
groupPrimitive(tre);
groupPrimitive(tre, true);
public void drawText(TextRenderEvent tre) throws ChartException { groupPrimitive(tre); super.drawText(tre); ungroupPrimitive(tre); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/aeb2ff9aeebc28aaf0d2e96bfd88e2332f7a7e96/SVGRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3724, 1528, 12, 1528, 3420, 1133, 9787, 13, 1216, 14804, 503, 288, 202, 202, 1655, 9840, 12, 27427, 1769, 202, 202, 9565, 18, 9446, 1528, 12, 27427, 1769, 202, 202, 318, 1655, 9840, 12, 27427, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3724, 1528, 12, 1528, 3420, 1133, 9787, 13, 1216, 14804, 503, 288, 202, 202, 1655, 9840, 12, 27427, 1769, 202, 202, 9565, 18, 9446, 1528, 12, 27427, 1769, 202, 202, 318, 1655, 9840, 12, 27427, 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 ]
public Object validateValue( Module module, PropertyDefn defn, Object value ) throws PropertyValueException
public Object validateValue( Module module, PropertyDefn defn, Object value ) throws PropertyValueException
public Object validateValue( Module module, PropertyDefn defn, Object value ) throws PropertyValueException { assert defn != null; if ( value == null ) { if ( defn.isStructureMember( ) ) throw new PropertyValueException( value, PropertyValueException.DESIGN_EXCEPTION_VALUE_REQUIRED, NAME_TYPE ); return null; } if ( value instanceof String ) { if ( StringUtil.isBlank( (String) value ) && defn.isStructureMember( ) ) throw new PropertyValueException( value, PropertyValueException.DESIGN_EXCEPTION_INVALID_VALUE, NAME_TYPE ); return StringUtil.trimString( (String) value ); } throw new PropertyValueException( value, PropertyValueException.DESIGN_EXCEPTION_INVALID_VALUE, NAME_TYPE ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/9d419acd882ff99c489d3d2d83b6b6986c4290c5/NamePropertyType.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/NamePropertyType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 1954, 620, 12, 5924, 1605, 16, 4276, 3262, 82, 1652, 82, 16, 1082, 202, 921, 460, 262, 1216, 4276, 9738, 202, 95, 202, 202, 11231, 1652, 82, 480, 446, 31, 202, 202, 430, 261, 460, 422, 446, 262, 202, 202, 95, 1082, 202, 430, 261, 1652, 82, 18, 291, 6999, 4419, 12, 262, 262, 9506, 202, 12849, 394, 4276, 9738, 12, 460, 16, 25083, 202, 1396, 9738, 18, 1639, 11260, 67, 12658, 67, 4051, 67, 14977, 16, 25083, 202, 1985, 67, 2399, 11272, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 430, 261, 460, 1276, 514, 262, 202, 202, 95, 1082, 202, 430, 261, 14205, 18, 291, 7796, 12, 261, 780, 13, 460, 262, 6862, 202, 10, 10, 1652, 82, 18, 291, 6999, 4419, 12, 262, 262, 9506, 202, 12849, 394, 4276, 9738, 12, 460, 16, 25083, 202, 1396, 9738, 18, 1639, 11260, 67, 12658, 67, 9347, 67, 4051, 16, 25083, 202, 1985, 67, 2399, 11272, 1082, 202, 2463, 14205, 18, 5290, 780, 12, 261, 780, 13, 460, 11272, 202, 202, 97, 202, 202, 12849, 394, 4276, 9738, 12, 460, 16, 9506, 202, 1396, 9738, 18, 1639, 11260, 67, 12658, 67, 9347, 67, 4051, 16, 9506, 202, 1985, 67, 2399, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 430, 261, 1652, 82, 18, 291, 6999, 4419, 12, 262, 262, 9506, 202, 12849, 394, 4276, 9738, 12, 460, 16, 25083, 202, 1396, 9738, 18, 1639, 11260, 67, 12658, 67, 4051, 67, 14977, 16, 25083, 202, 1985, 67, 2399, 11272, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 430, 261, 460, 1276, 514, 262, 202, 202, 95, 1082, 202, 430, 261, 14205, 18, 291, 7796, 12, 261, 780, 13, 460, 2 ]
m_commands = new HashMap();
m_commands = new HashMap<String, Command>();
protected void parseXML(Reader reader) throws MarshalException, ValidationException { Collection commands = ((NotificationCommands) Unmarshaller.unmarshal(NotificationCommands.class, reader)).getCommandCollection(); m_commands = new HashMap(); Iterator i = commands.iterator(); while (i.hasNext()) { Command curCommand = (Command) i.next(); m_commands.put(curCommand.getName(), curCommand); } }
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/21e3489b5f21b968ddcb99f6bd398b3389b3953c/NotificationCommandManager.java/buggy/opennms-services/src/main/java/org/opennms/netmgt/config/NotificationCommandManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1109, 4201, 12, 2514, 2949, 13, 1216, 5884, 503, 16, 15614, 288, 3639, 2200, 4364, 273, 14015, 4386, 9127, 13, 1351, 27296, 18, 318, 3108, 12, 4386, 9127, 18, 1106, 16, 2949, 13, 2934, 588, 2189, 2532, 5621, 3639, 312, 67, 7847, 273, 394, 4317, 32, 780, 16, 3498, 34, 5621, 5411, 4498, 277, 273, 4364, 18, 9838, 5621, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 3498, 662, 2189, 273, 261, 2189, 13, 277, 18, 4285, 5621, 5411, 312, 67, 7847, 18, 458, 12, 1397, 2189, 18, 17994, 9334, 662, 2189, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1109, 4201, 12, 2514, 2949, 13, 1216, 5884, 503, 16, 15614, 288, 3639, 2200, 4364, 273, 14015, 4386, 9127, 13, 1351, 27296, 18, 318, 3108, 12, 4386, 9127, 18, 1106, 16, 2949, 13, 2934, 588, 2189, 2532, 5621, 3639, 312, 67, 7847, 273, 394, 4317, 32, 780, 16, 3498, 34, 5621, 5411, 4498, 277, 273, 4364, 18, 9838, 5621, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 3498, 662, 2189, 273, 261, 2189, 13, 277, 18, 4285, 5621, 5411, 312, 67, 7847, 18, 458, 12, 1397, 2189, 18, 17994, 9334, 662, 2189, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Log.info("SSL Connect " + sock.toString());
Log.debug("SSL Connect " + sock.toString());
public void run() { long lastExceptionTime = 0; int exceptionCounter = 0; while (notTerminated) { try { Socket sock = serverSocket.accept(); Log.info("SSL Connect " + sock.toString()); connManager.addSocket(sock, true); } catch (SSLException se) { long exceptionTime = System.currentTimeMillis(); if (exceptionTime - lastExceptionTime > 1000) { // if the time between SSL exceptions is too long // reset the counter exceptionCounter = 1; } else { // If this exception occured within a second of the last one // we need to count it exceptionCounter++; } lastExceptionTime = exceptionTime; Log.error(LocaleUtils.getLocalizedString("admin.error.ssl"), se); // and if the number of consecutive exceptions exceeds the limit // we should assume there's an SSL problem or DOS attack and shutdown if (exceptionCounter > MAX_SSL_EXCEPTIONS) { String msg = "Shutting down SSL port - " + "suspected configuration problem"; Log.error(msg); Log.info(msg); shutdown(); } } catch (Exception e) { if (notTerminated) { Log.error(LocaleUtils.getLocalizedString("admin.error.ssl"), e); } } } try { ServerSocket sSock = serverSocket; serverSocket = null; if (sSock != null) { sSock.close(); } } catch (IOException e) { // we don't care, no matter what, the socket should be dead } }
51636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51636/99d547c909e330a30c34bccdf6077e22e9fcb93d/SSLSocketAcceptThread.java/clean/src/java/org/jivesoftware/messenger/net/SSLSocketAcceptThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 1525, 1142, 503, 950, 273, 374, 31, 3639, 509, 1520, 4789, 273, 374, 31, 3639, 1323, 261, 902, 21888, 13, 288, 5411, 775, 288, 7734, 8758, 7313, 273, 1438, 4534, 18, 9436, 5621, 7734, 1827, 18, 4148, 2932, 6745, 8289, 315, 397, 7313, 18, 10492, 10663, 7734, 1487, 1318, 18, 1289, 4534, 12, 15031, 16, 638, 1769, 5411, 289, 5411, 1044, 261, 6745, 503, 695, 13, 288, 7734, 1525, 1520, 950, 273, 2332, 18, 2972, 28512, 5621, 7734, 309, 261, 4064, 950, 300, 1142, 503, 950, 405, 4336, 13, 288, 10792, 368, 309, 326, 813, 3086, 7419, 4798, 353, 4885, 1525, 10792, 368, 2715, 326, 3895, 10792, 1520, 4789, 273, 404, 31, 7734, 289, 7734, 469, 288, 10792, 368, 971, 333, 1520, 16206, 3470, 279, 2205, 434, 326, 1142, 1245, 10792, 368, 732, 1608, 358, 1056, 518, 10792, 1520, 4789, 9904, 31, 7734, 289, 7734, 1142, 503, 950, 273, 1520, 950, 31, 7734, 1827, 18, 1636, 12, 3916, 1989, 18, 588, 2042, 1235, 780, 2932, 3666, 18, 1636, 18, 8157, 6, 3631, 695, 1769, 7734, 368, 471, 309, 326, 1300, 434, 18221, 4798, 14399, 326, 1800, 7734, 368, 732, 1410, 6750, 1915, 1807, 392, 7419, 6199, 578, 463, 4618, 13843, 471, 5731, 7734, 309, 261, 4064, 4789, 405, 4552, 67, 6745, 67, 12658, 55, 13, 288, 10792, 514, 1234, 273, 315, 1555, 25387, 2588, 7419, 1756, 300, 315, 397, 18701, 315, 87, 407, 1789, 1664, 6199, 14432, 10792, 1827, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 1525, 1142, 503, 950, 273, 374, 31, 3639, 509, 1520, 4789, 273, 374, 31, 3639, 1323, 261, 902, 21888, 13, 288, 5411, 775, 288, 7734, 8758, 7313, 273, 1438, 4534, 18, 9436, 5621, 7734, 1827, 18, 4148, 2932, 6745, 8289, 315, 397, 7313, 18, 10492, 10663, 7734, 1487, 1318, 18, 1289, 4534, 12, 15031, 16, 638, 1769, 5411, 289, 5411, 1044, 261, 6745, 503, 695, 13, 288, 7734, 1525, 1520, 950, 273, 2332, 18, 2972, 28512, 5621, 7734, 309, 261, 4064, 950, 300, 1142, 503, 950, 405, 4336, 13, 288, 10792, 368, 309, 326, 813, 3086, 7419, 4798, 353, 4885, 1525, 10792, 368, 2715, 326, 3895, 10792, 1520, 4789, 273, 404, 31, 2 ]
sb.append((char[]) null); assertEquals("", sb.toString());
sb.setNullText("NULL").append((char[]) null); assertEquals("NULL", sb.toString());
public void testAppend_CharArray() { StrBuilder sb = new StrBuilder(); sb.append((char[]) null); assertEquals("", sb.toString()); sb.append(new char[0]); assertEquals("", sb.toString()); sb.append(new char[]{'f', 'o', 'o'}); assertEquals("foo", sb.toString()); }
7060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7060/554b667e9fb6a3f198cdbc9b497189c1570332c0/StrBuilderAppendInsertTest.java/clean/src/test/org/apache/commons/lang/text/StrBuilderAppendInsertTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5736, 67, 15936, 1435, 288, 3639, 3978, 1263, 2393, 273, 394, 3978, 1263, 5621, 7734, 2393, 18, 6923, 12443, 3001, 63, 5717, 446, 1769, 3639, 1815, 8867, 2932, 3113, 2393, 18, 10492, 10663, 3639, 2393, 18, 6923, 12, 2704, 1149, 63, 20, 19226, 3639, 1815, 8867, 2932, 3113, 2393, 18, 10492, 10663, 3639, 2393, 18, 6923, 12, 2704, 1149, 63, 7073, 11, 74, 2187, 296, 83, 2187, 296, 83, 11, 22938, 3639, 1815, 8867, 2932, 11351, 3113, 2393, 18, 10492, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5736, 67, 15936, 1435, 288, 3639, 3978, 1263, 2393, 273, 394, 3978, 1263, 5621, 7734, 2393, 18, 6923, 12443, 3001, 63, 5717, 446, 1769, 3639, 1815, 8867, 2932, 3113, 2393, 18, 10492, 10663, 3639, 2393, 18, 6923, 12, 2704, 1149, 63, 20, 19226, 3639, 1815, 8867, 2932, 3113, 2393, 18, 10492, 10663, 3639, 2393, 18, 6923, 12, 2704, 1149, 63, 7073, 11, 74, 2187, 296, 83, 2187, 296, 83, 11, 22938, 3639, 1815, 8867, 2932, 11351, 3113, 2393, 18, 10492, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Artifact parentArtifact = project.getParentArtifact(); if ( isSnapshot( parentArtifact.getBaseVersion() ) ) { String version = resolveVersion( parentArtifact, "parent", releaseProject ); releaseModel.getParent().setVersion( version ); }
releaseModel.setParent( null );
private void generateReleasePoms() throws MojoExecutionException { if ( !getReleaseProgress().verifyCheckpoint( ReleaseProgressTracker.CP_GENERATED_RELEASE_POM ) ) { String canonicalBasedir; try { canonicalBasedir = trimPathForScmCalculation( new File( basedir ) ); } catch ( IOException e ) { throw new MojoExecutionException( "Cannot canonicalize basedir: " + basedir, e ); } for ( Iterator it = reactorProjects.iterator(); it.hasNext(); ) { MavenProject project = (MavenProject) it.next(); MavenProject releaseProject = new MavenProject( project ); Model releaseModel = releaseProject.getModel(); //Rewrite parent version if ( project.hasParent() ) { Artifact parentArtifact = project.getParentArtifact(); if ( isSnapshot( parentArtifact.getBaseVersion() ) ) { String version = resolveVersion( parentArtifact, "parent", releaseProject ); releaseModel.getParent().setVersion( version ); } } Set artifacts = releaseProject.getArtifacts(); if ( artifacts != null ) { //Rewrite dependencies section List newdeps = new ArrayList(); for ( Iterator i = releaseProject.getArtifacts().iterator(); i.hasNext(); ) { Artifact artifact = (Artifact) i.next(); Dependency newdep = new Dependency(); newdep.setArtifactId( artifact.getArtifactId() ); newdep.setGroupId( artifact.getGroupId() ); newdep.setVersion( artifact.getVersion() ); newdep.setType( artifact.getType() ); newdep.setScope( artifact.getScope() ); newdep.setClassifier( artifact.getClassifier() ); newdeps.add( newdep ); } releaseModel.setDependencies( newdeps ); } // Use original - don't want the lifecycle introduced ones // TODO: but is it the right settings? Build originalModel = releaseProject.getOriginalModel().getBuild(); List plugins = originalModel != null ? originalModel.getPlugins() : null; if ( plugins != null ) { //Rewrite plugins version Map pluginArtifacts = releaseProject.getPluginArtifactMap(); for ( Iterator i = plugins.iterator(); i.hasNext(); ) { Plugin plugin = (Plugin) i.next(); Artifact artifact = (Artifact) pluginArtifacts.get( plugin.getKey() ); String version = resolveVersion( artifact, "plugin", releaseProject ); plugin.setVersion( version ); } } List reports = releaseProject.getReportPlugins(); if ( reports != null ) { //Rewrite report version Map reportArtifacts = releaseProject.getReportArtifactMap(); for ( Iterator i = reports.iterator(); i.hasNext(); ) { ReportPlugin plugin = (ReportPlugin) i.next(); Artifact artifact = (Artifact) reportArtifacts.get( plugin.getKey() ); String version = resolveVersion( artifact, "report", releaseProject ); plugin.setVersion( version ); } } List extensions = releaseProject.getBuildExtensions(); if ( extensions != null ) { //Rewrite extension version Map extensionArtifacts = releaseProject.getExtensionArtifactMap(); for ( Iterator i = extensions.iterator(); i.hasNext(); ) { Extension ext = (Extension) i.next(); String extensionId = ArtifactUtils.versionlessKey( ext.getGroupId(), ext.getArtifactId() ); Artifact artifact = (Artifact) extensionArtifacts.get( extensionId ); String version = resolveVersion( artifact, "extension", releaseProject ); ext.setVersion( version ); } } File releasePomFile = new File( basedir, RELEASE_POM ); Writer writer = null; try { writer = new FileWriter( releasePomFile ); releaseProject.writeModel( writer ); } catch ( IOException e ) { throw new MojoExecutionException( "Cannot write release-pom to: " + releasePomFile, e ); } finally { IOUtil.close( writer ); } try { String releasePomPath = trimPathForScmCalculation( releasePomFile ); releasePomPath = releasePomPath.substring( canonicalBasedir.length() + 1 ); ScmHelper scm = getScm(); scm.setWorkingDirectory( basedir ); scm.add( releasePomPath ); } catch ( ScmException e ) { throw new MojoExecutionException( "Error adding the release-pom.xml: " + releasePomFile, e ); } catch ( IOException e ) { throw new MojoExecutionException( "Error adding the release-pom.xml: " + releasePomFile, e ); } try { getReleaseProgress().checkpoint( basedir, ReleaseProgressTracker.CP_GENERATED_RELEASE_POM ); } catch ( IOException e ) { getLog().warn( "Error writing checkpoint.", e ); } } } }
1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/aa34ddef3739dd72ac285b172cfcbe0b5943271d/PrepareReleaseMojo.java/buggy/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 7391, 52, 25390, 1435, 3639, 1216, 18780, 565, 288, 3639, 309, 261, 401, 588, 7391, 5491, 7675, 8705, 14431, 12, 10819, 5491, 8135, 18, 4258, 67, 31915, 67, 30762, 67, 52, 1872, 262, 262, 3639, 288, 5411, 514, 7378, 2171, 1214, 31, 5411, 775, 5411, 288, 7734, 7378, 2171, 1214, 273, 2209, 743, 1290, 1541, 81, 13989, 12, 394, 1387, 12, 15573, 262, 11272, 5411, 289, 5411, 1044, 261, 1860, 425, 262, 5411, 288, 7734, 604, 394, 18780, 12, 315, 4515, 25839, 15573, 30, 315, 397, 15573, 16, 425, 11272, 5411, 289, 5411, 364, 261, 4498, 518, 273, 19178, 15298, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 17176, 4109, 1984, 273, 261, 49, 7638, 4109, 13, 518, 18, 4285, 5621, 7734, 17176, 4109, 3992, 4109, 273, 394, 17176, 4109, 12, 1984, 11272, 7734, 3164, 3992, 1488, 273, 3992, 4109, 18, 588, 1488, 5621, 7734, 368, 19618, 982, 1177, 7734, 309, 261, 1984, 18, 5332, 3054, 1435, 262, 7734, 288, 10792, 14022, 982, 7581, 273, 1984, 18, 588, 3054, 7581, 5621, 10792, 309, 261, 353, 4568, 12, 982, 7581, 18, 588, 2171, 1444, 1435, 262, 262, 10792, 288, 13491, 514, 1177, 273, 2245, 1444, 12, 982, 7581, 16, 315, 2938, 3113, 3992, 4109, 11272, 13491, 3992, 1488, 18, 588, 3054, 7675, 542, 1444, 12, 1177, 11272, 10792, 289, 7734, 289, 7734, 1000, 16259, 273, 3992, 4109, 18, 588, 16981, 5621, 7734, 309, 261, 16259, 480, 446, 262, 7734, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 7391, 52, 25390, 1435, 3639, 1216, 18780, 565, 288, 3639, 309, 261, 401, 588, 7391, 5491, 7675, 8705, 14431, 12, 10819, 5491, 8135, 18, 4258, 67, 31915, 67, 30762, 67, 52, 1872, 262, 262, 3639, 288, 5411, 514, 7378, 2171, 1214, 31, 5411, 775, 5411, 288, 7734, 7378, 2171, 1214, 273, 2209, 743, 1290, 1541, 81, 13989, 12, 394, 1387, 12, 15573, 262, 11272, 5411, 289, 5411, 1044, 261, 1860, 425, 262, 5411, 288, 7734, 604, 394, 18780, 12, 315, 4515, 25839, 15573, 30, 315, 397, 15573, 16, 425, 11272, 5411, 289, 5411, 364, 261, 4498, 518, 273, 19178, 15298, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 17176, 4109, 1984, 2 ]
if (path != null) { return path; }
if (path != null) { return path; }
public RubyString getClassPath() { RubyString path = getClassname(); if (path != null) { return path; } String s = "Module"; if (isClass()) { s = "Class"; } return RubyString.m_newString( getRuby(), "<" + s + " 01x" + Integer.toHexString(hashCode()) + ">"); // 0 = pointer }
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/buggy/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 780, 2900, 743, 1435, 288, 202, 202, 54, 10340, 780, 589, 273, 2900, 529, 5621, 202, 202, 430, 261, 803, 480, 446, 13, 288, 1082, 202, 2463, 589, 31, 202, 202, 97, 202, 202, 780, 272, 273, 315, 3120, 14432, 202, 202, 430, 261, 291, 797, 10756, 288, 1082, 202, 87, 273, 315, 797, 14432, 202, 202, 97, 202, 202, 2463, 19817, 780, 18, 81, 67, 2704, 780, 12, 1082, 202, 588, 54, 10340, 9334, 1082, 202, 6, 32, 6, 397, 272, 397, 315, 8743, 92, 6, 397, 2144, 18, 869, 14866, 12, 2816, 1085, 10756, 397, 14675, 1769, 202, 202, 759, 374, 273, 4407, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 780, 2900, 743, 1435, 288, 202, 202, 54, 10340, 780, 589, 273, 2900, 529, 5621, 202, 202, 430, 261, 803, 480, 446, 13, 288, 1082, 202, 2463, 589, 31, 202, 202, 97, 202, 202, 780, 272, 273, 315, 3120, 14432, 202, 202, 430, 261, 291, 797, 10756, 288, 1082, 202, 87, 273, 315, 797, 14432, 202, 202, 97, 202, 202, 2463, 19817, 780, 18, 81, 67, 2704, 780, 12, 1082, 202, 588, 54, 10340, 9334, 1082, 202, 6, 32, 6, 397, 272, 397, 315, 8743, 92, 6, 397, 2144, 18, 869, 14866, 12, 2816, 1085, 10756, 397, 14675, 1769, 202, 202, 759, 374, 273, 4407, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void defineSingletonMethod(String name, Arity arity, String java_name) { assert name != null; assert arity != null; assert java_name != null; getSingletonClass().defineMethod(name, new ReflectionCallback(getClass(), java_name, arity));
public void defineSingletonMethod(String name, Arity arity) { defineSingletonMethod(name, arity, name);
public void defineSingletonMethod(String name, Arity arity, String java_name) { assert name != null; assert arity != null; assert java_name != null; getSingletonClass().defineMethod(name, new ReflectionCallback(getClass(), java_name, arity)); }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/32d84ae899fd3c367ef3800d0984b69f53209031/BuiltinClass.java/buggy/src/org/jruby/BuiltinClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4426, 19571, 1305, 12, 780, 508, 16, 1201, 560, 19353, 16, 514, 2252, 67, 529, 13, 288, 3639, 1815, 508, 480, 446, 31, 3639, 1815, 19353, 480, 446, 31, 3639, 1815, 2252, 67, 529, 480, 446, 31, 3639, 31662, 797, 7675, 11255, 1305, 12, 529, 16, 394, 5685, 2428, 12, 588, 797, 9334, 2252, 67, 529, 16, 19353, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4426, 19571, 1305, 12, 780, 508, 16, 1201, 560, 19353, 16, 514, 2252, 67, 529, 13, 288, 3639, 1815, 508, 480, 446, 31, 3639, 1815, 19353, 480, 446, 31, 3639, 1815, 2252, 67, 529, 480, 446, 31, 3639, 31662, 797, 7675, 11255, 1305, 12, 529, 16, 394, 5685, 2428, 12, 588, 797, 9334, 2252, 67, 529, 16, 19353, 10019, 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 ]
desc = new ActionDescriptor(element, ActionDescriptor.T_VIEW, part); else desc = new ActionDescriptor(element, ActionDescriptor.T_EDITOR, part); if (provider != null) { PluginAction action = desc.getAction(); provider.addSelectionChangedListener(action); } return desc;
return new ActionDescriptor(element, ActionDescriptor.T_VIEW, part); return new ActionDescriptor(element, ActionDescriptor.T_EDITOR, part);
protected ActionDescriptor createActionDescriptor( IConfigurationElement element) { ActionDescriptor desc = null; if (part instanceof IViewPart) desc = new ActionDescriptor(element, ActionDescriptor.T_VIEW, part); else desc = new ActionDescriptor(element, ActionDescriptor.T_EDITOR, part); if (provider != null) { PluginAction action = desc.getAction(); provider.addSelectionChangedListener(action); } return desc; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/16f10c8694f7dbb509caa0b2199aced1aa2436bf/ViewerActionBuilder.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ViewerActionBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4382, 3187, 752, 1803, 3187, 12, 5411, 467, 1750, 1046, 930, 13, 288, 3639, 4382, 3187, 3044, 273, 446, 31, 3639, 309, 261, 2680, 1276, 467, 1767, 1988, 13, 5411, 3044, 273, 394, 4382, 3187, 12, 2956, 16, 4382, 3187, 18, 56, 67, 12145, 16, 1087, 1769, 3639, 469, 5411, 3044, 273, 394, 4382, 3187, 12, 2956, 16, 4382, 3187, 18, 56, 67, 13208, 16, 10792, 1087, 1769, 3639, 309, 261, 6778, 480, 446, 13, 288, 5411, 6258, 1803, 1301, 273, 3044, 18, 588, 1803, 5621, 5411, 2893, 18, 1289, 6233, 5033, 2223, 12, 1128, 1769, 3639, 289, 3639, 327, 3044, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4382, 3187, 752, 1803, 3187, 12, 5411, 467, 1750, 1046, 930, 13, 288, 3639, 4382, 3187, 3044, 273, 446, 31, 3639, 309, 261, 2680, 1276, 467, 1767, 1988, 13, 5411, 3044, 273, 394, 4382, 3187, 12, 2956, 16, 4382, 3187, 18, 56, 67, 12145, 16, 1087, 1769, 3639, 469, 5411, 3044, 273, 394, 4382, 3187, 12, 2956, 16, 4382, 3187, 18, 56, 67, 13208, 16, 10792, 1087, 1769, 3639, 309, 261, 6778, 480, 446, 13, 288, 5411, 6258, 1803, 1301, 273, 3044, 18, 588, 1803, 5621, 5411, 2893, 18, 1289, 6233, 5033, 2223, 12, 1128, 1769, 3639, 289, 3639, 327, 3044, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
office1.bindClusteredQueue("sub7", "topic1", queue7);
office1.bindClusteredQueue("sub7", "topic1", null, queue7);
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1", "testgroup"); //Add a couple of bindings ClusteredQueue queue1 = new ClusteredQueue(im.getId(), ms, pm, true, false, 2000, 100, 100, (QueuedExecutor)pool.get(), null); Binding binding1 = office1.bindClusteredQueue("sub1", "topic1", queue1); ClusteredQueue queue2 = new ClusteredQueue(im.getId(), ms, pm, true, false, 2000, 100, 100, (QueuedExecutor)pool.get(), null); Binding binding2 = office1.bindClusteredQueue("sub2", "topic1", queue2); //Start another office - make sure it picks up the bindings from the first node office2 = createClusteredPostOffice("node2", "testgroup"); List bindings = office2.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(2, bindings.size()); assertEquivalent(binding1, (Binding)bindings.get(0)); assertEquivalent(binding2, (Binding)bindings.get(1)); //Add another binding on node 2 ClusteredQueue queue3 = new ClusteredQueue(im.getId(), ms, pm, true, false, 2000, 100, 100, (QueuedExecutor)pool.get(), null); Binding binding3 = office2.bindClusteredQueue("sub3", "topic1", queue3); //Make sure both nodes pick it up bindings = office1.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(3, bindings.size()); assertEquivalent(binding1, (Binding)bindings.get(0)); assertEquivalent(binding2, (Binding)bindings.get(1)); assertEquivalent(binding3, (Binding)bindings.get(2)); bindings = office2.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(3, bindings.size()); assertEquivalent(binding1, (Binding)bindings.get(0)); assertEquivalent(binding2, (Binding)bindings.get(1)); assertEquivalent(binding3, (Binding)bindings.get(2)); //Add another binding on node 1 ClusteredQueue queue4 = new ClusteredQueue(im.getId(), ms, pm, true, false, 2000, 100, 100, (QueuedExecutor)pool.get(), null); Binding binding4 = office2.bindClusteredQueue("sub4", "topic1", queue4); // Make sure both nodes pick it up bindings = office1.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(4, bindings.size()); assertEquivalent(binding1, (Binding)bindings.get(0)); assertEquivalent(binding2, (Binding)bindings.get(1)); assertEquivalent(binding3, (Binding)bindings.get(2)); assertEquivalent(binding4, (Binding)bindings.get(3)); bindings = office2.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(4, bindings.size()); assertEquivalent(binding1, (Binding)bindings.get(0)); assertEquivalent(binding2, (Binding)bindings.get(1)); assertEquivalent(binding3, (Binding)bindings.get(2)); assertEquivalent(binding4, (Binding)bindings.get(3)); //Unbind binding 1 and binding 2 office1.unbindClusteredQueue("sub1"); office1.unbindClusteredQueue("sub2"); //Make sure bindings are not longer available on either node bindings = office1.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(2, bindings.size()); assertEquivalent(binding3, (Binding)bindings.get(0)); assertEquivalent(binding4, (Binding)bindings.get(1)); bindings = office2.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(2, bindings.size()); assertEquivalent(binding3, (Binding)bindings.get(0)); assertEquivalent(binding4, (Binding)bindings.get(1)); //Add a third office office3 = createClusteredPostOffice("node3", "testgroup"); //Maks sure it picks up the bindings bindings = office3.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(2, bindings.size()); assertEquivalent(binding3, (Binding)bindings.get(0)); assertEquivalent(binding4, (Binding)bindings.get(1)); //Add another binding on node 3 ClusteredQueue queue5 = new ClusteredQueue(im.getId(), ms, pm, true, false, 2000, 100, 100, (QueuedExecutor)pool.get(), null); Binding binding5 = office3.bindClusteredQueue("sub5", "topic1", queue5); // Make sure all nodes pick it up bindings = office1.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(3, bindings.size()); assertEquivalent(binding3, (Binding)bindings.get(0)); assertEquivalent(binding4, (Binding)bindings.get(1)); assertEquivalent(binding5, (Binding)bindings.get(2)); bindings = office2.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(3, bindings.size()); assertEquivalent(binding3, (Binding)bindings.get(0)); assertEquivalent(binding4, (Binding)bindings.get(1)); assertEquivalent(binding5, (Binding)bindings.get(2)); bindings = office3.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(3, bindings.size()); assertEquivalent(binding3, (Binding)bindings.get(0)); assertEquivalent(binding4, (Binding)bindings.get(1)); assertEquivalent(binding5, (Binding)bindings.get(2)); //Add a durable and a non durable binding on node 1 ClusteredQueue queue6 = new ClusteredQueue(im.getId(), ms, pm, true, true, 2000, 100, 100, (QueuedExecutor)pool.get(), null); Binding binding6 = office1.bindClusteredQueue("sub6", "topic1", queue6); ClusteredQueue queue7 = new ClusteredQueue(im.getId(), ms, pm, true, false, 2000, 100, 100, (QueuedExecutor)pool.get(), null); Binding binding7 = office1.bindClusteredQueue("sub7", "topic1", queue7); // Make sure all nodes pick them up bindings = office1.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(5, bindings.size()); assertEquivalent(binding3, (Binding)bindings.get(0)); assertEquivalent(binding4, (Binding)bindings.get(1)); assertEquivalent(binding5, (Binding)bindings.get(2)); assertEquivalent(binding6, (Binding)bindings.get(3)); assertEquivalent(binding7, (Binding)bindings.get(4)); bindings = office2.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(5, bindings.size()); assertEquivalent(binding3, (Binding)bindings.get(0)); assertEquivalent(binding4, (Binding)bindings.get(1)); assertEquivalent(binding5, (Binding)bindings.get(2)); assertEquivalent(binding6, (Binding)bindings.get(3)); assertEquivalent(binding7, (Binding)bindings.get(4)); bindings = office3.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(5, bindings.size()); assertEquivalent(binding3, (Binding)bindings.get(0)); assertEquivalent(binding4, (Binding)bindings.get(1)); assertEquivalent(binding5, (Binding)bindings.get(2)); assertEquivalent(binding6, (Binding)bindings.get(3)); assertEquivalent(binding7, (Binding)bindings.get(4)); //Stop office 1 office1.stop(); //Need to sleep since it may take some time for the view changed request to reach the //members which causes the bindings to be removed Thread.sleep(1000); //All it's non durable bindings should be removed from the other nodes //Durable bindings should remain bindings = office2.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(4, bindings.size()); assertEquivalent(binding3, (Binding)bindings.get(0)); assertEquivalent(binding4, (Binding)bindings.get(1)); assertEquivalent(binding5, (Binding)bindings.get(2)); assertEquivalent(binding6, (Binding)bindings.get(3)); bindings = office3.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(4, bindings.size()); assertEquivalent(binding3, (Binding)bindings.get(0)); assertEquivalent(binding4, (Binding)bindings.get(1)); assertEquivalent(binding5, (Binding)bindings.get(2)); assertEquivalent(binding6, (Binding)bindings.get(3)); //Stop office 2 office2.stop(); bindings = office3.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(2, bindings.size()); assertEquivalent(binding5, (Binding)bindings.get(0)); assertEquivalent(binding6, (Binding)bindings.get(1)); //Restart office 1 and office 2 office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "testgroup"); bindings = office1.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(2, bindings.size()); assertEquivalent(binding5, (Binding)bindings.get(0)); assertEquivalent(binding6, (Binding)bindings.get(1)); bindings = office2.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(2, bindings.size()); assertEquivalent(binding5, (Binding)bindings.get(0)); assertEquivalent(binding6, (Binding)bindings.get(1)); bindings = office3.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(2, bindings.size()); assertEquivalent(binding5, (Binding)bindings.get(0)); assertEquivalent(binding6, (Binding)bindings.get(1)); //Stop all offices office1.stop(); office2.stop(); office3.stop(); //Start them all office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "testgroup"); office3 = createClusteredPostOffice("node3", "testgroup"); //Only the durable queue should survive bindings = office1.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(1, bindings.size()); assertEquivalent(binding6, (Binding)bindings.get(0)); bindings = office2.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(1, bindings.size()); assertEquivalent(binding6, (Binding)bindings.get(0)); bindings = office3.listBindingsForCondition("topic1"); assertNotNull(bindings); assertEquals(1, bindings.size()); assertEquivalent(binding6, (Binding)bindings.get(0)); } finally { if (office1 != null) { office1.unbindClusteredQueue("sub6"); office1.stop(); } if (office2 != null) { office2.stop(); } if (office3 != null) { office2.stop(); } } }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/0a87b6fa611eb79aca9f82a8a7d739b9af40e965/ClusteredPostOfficeTest.java/buggy/tests/src/org/jboss/test/messaging/core/plugin/ClusteredPostOfficeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 727, 918, 1842, 3629, 329, 3357, 984, 4376, 1435, 1216, 4206, 282, 288, 1377, 5584, 329, 3349, 30126, 3397, 1812, 21, 273, 446, 31, 5411, 5584, 329, 3349, 30126, 3397, 1812, 22, 273, 446, 31, 5411, 5584, 329, 3349, 30126, 3397, 1812, 23, 273, 446, 31, 5411, 775, 1377, 288, 5375, 368, 1685, 1245, 3397, 1812, 5375, 3397, 1812, 21, 273, 752, 3629, 329, 3349, 30126, 2932, 2159, 21, 3113, 315, 3813, 1655, 8863, 5375, 368, 986, 279, 1825, 2268, 434, 7394, 5375, 5584, 329, 3183, 2389, 21, 273, 394, 5584, 329, 3183, 12, 381, 18, 26321, 9334, 4086, 16, 7430, 16, 638, 16, 629, 16, 16291, 16, 2130, 16, 2130, 16, 261, 21039, 6325, 13, 6011, 18, 588, 9334, 446, 1769, 5375, 15689, 5085, 21, 273, 5411, 3397, 1812, 21, 18, 4376, 3629, 329, 3183, 2932, 1717, 21, 3113, 315, 10476, 21, 3113, 2389, 21, 1769, 540, 5584, 329, 3183, 2389, 22, 273, 394, 5584, 329, 3183, 12, 381, 18, 26321, 9334, 4086, 16, 7430, 16, 638, 16, 629, 16, 16291, 16, 2130, 16, 2130, 16, 261, 21039, 6325, 13, 6011, 18, 588, 9334, 446, 1769, 5375, 15689, 5085, 22, 273, 5411, 3397, 1812, 21, 18, 4376, 3629, 329, 3183, 2932, 1717, 22, 3113, 315, 10476, 21, 3113, 2389, 22, 1769, 5375, 368, 1685, 4042, 3397, 1812, 300, 1221, 3071, 518, 6002, 87, 731, 326, 7394, 628, 326, 1122, 756, 5375, 3397, 1812, 22, 273, 752, 3629, 329, 3349, 30126, 2932, 2159, 22, 3113, 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, 1071, 727, 918, 1842, 3629, 329, 3357, 984, 4376, 1435, 1216, 4206, 282, 288, 1377, 5584, 329, 3349, 30126, 3397, 1812, 21, 273, 446, 31, 5411, 5584, 329, 3349, 30126, 3397, 1812, 22, 273, 446, 31, 5411, 5584, 329, 3349, 30126, 3397, 1812, 23, 273, 446, 31, 5411, 775, 1377, 288, 5375, 368, 1685, 1245, 3397, 1812, 5375, 3397, 1812, 21, 273, 752, 3629, 329, 3349, 30126, 2932, 2159, 21, 3113, 315, 3813, 1655, 8863, 5375, 368, 986, 279, 1825, 2268, 434, 7394, 5375, 5584, 329, 3183, 2389, 21, 273, 394, 5584, 329, 3183, 12, 381, 18, 26321, 9334, 4086, 16, 7430, 16, 638, 16, 629, 16, 16291, 16, 2130, 16, 2130, 16, 261, 21039, 6325, 13, 6011, 2 ]
public void enterTemplateSpecialization(IASTTemplateSpecialization specialization) { }
public void enterTemplateSpecialization(IASTTemplateSpecialization specialization) {}
public void enterTemplateSpecialization(IASTTemplateSpecialization specialization) { // TODO Auto-generated method stub //System.out.println("enterTemplateSpecialization"); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/2473fc9bad9772bea7e830611534fa1d7df713b5/SourceIndexerRequestor.java/buggy/core/org.eclipse.cdt.core/index/org/eclipse/cdt/internal/core/search/indexing/SourceIndexerRequestor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 6103, 2283, 12193, 1588, 12, 45, 9053, 2283, 12193, 1588, 4582, 1588, 13, 288, 202, 202, 759, 2660, 8064, 17, 11168, 707, 7168, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 2328, 2283, 12193, 1588, 8863, 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, 918, 6103, 2283, 12193, 1588, 12, 45, 9053, 2283, 12193, 1588, 4582, 1588, 13, 288, 202, 202, 759, 2660, 8064, 17, 11168, 707, 7168, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 2328, 2283, 12193, 1588, 8863, 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 ]
con = JDBC2Tests.openDB(); JDBC2Tests.dropTable(con, "poolingtest"); JDBC2Tests.closeDB(con);
con = TestUtil.openDB(); TestUtil.dropTable(con, "poolingtest"); TestUtil.closeDB(con);
protected void tearDown() throws Exception { con = JDBC2Tests.openDB(); JDBC2Tests.dropTable(con, "poolingtest"); JDBC2Tests.closeDB(con); }
46312 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46312/d634a5903f615a45cb463155c04d3df904e1b91a/BaseDataSourceTest.java/clean/src/interfaces/jdbc/org/postgresql/test/jdbc2/optional/BaseDataSourceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 268, 2091, 4164, 1435, 1216, 1185, 202, 95, 202, 202, 591, 273, 16364, 22, 14650, 18, 3190, 2290, 5621, 202, 202, 30499, 22, 14650, 18, 7285, 1388, 12, 591, 16, 315, 6011, 310, 3813, 8863, 202, 202, 30499, 22, 14650, 18, 4412, 2290, 12, 591, 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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0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 268, 2091, 4164, 1435, 1216, 1185, 202, 95, 202, 202, 591, 273, 16364, 22, 14650, 18, 3190, 2290, 5621, 202, 202, 30499, 22, 14650, 18, 7285, 1388, 12, 591, 16, 315, 6011, 310, 3813, 8863, 202, 202, 30499, 22, 14650, 18, 4412, 2290, 12, 591, 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 ]
protected void handleItemContent( ReportItemDesign item,
protected void handleItemContent( ExtendedItemDesign item,
protected void handleItemContent( ReportItemDesign item, IReportEmitter emitter, IExtendedItemContent content, int type, Object output ) { switch ( type ) { case IReportItemPresentation.OUTPUT_NONE : break; case IReportItemPresentation.OUTPUT_AS_IMAGE : // the output object is a image, so create a image content // object ImageItemContent image = (ImageItemContent) ContentFactory .createImageContent( item , context.getContentObject() ); if ( output instanceof InputStream ) { image.setData( readContent( (InputStream) output ) ); } else if ( output instanceof byte[] ) { image.setData( (byte[]) output ); } else { assert false; logger.log( Level.SEVERE, "unsupported image type:{0}", output ); //$NON-NLS-1$ } image.setImageSource( ImageItemDesign.IMAGE_EXPRESSION ); IReportItemEmitter imageEmitter = emitter.getEmitter( "image" ); //$NON-NLS-1$ if ( imageEmitter != null ) { imageEmitter.start( image ); imageEmitter.end( ); } break; case IReportItemPresentation.OUTPUT_AS_CUSTOM : ( (ExtendedItemContent) content ).setContent( output ); //get the emmiter type, and give it to others type IReportItemEmitter itemEmitter = emitter .getEmitter( "extendedItem" ); //$NON-NLS-1$ if ( itemEmitter != null ) { itemEmitter.start( content ); itemEmitter.end( ); } break; case IReportItemPresentation.OUTPUT_AS_DRAWING : case IReportItemPresentation.OUTPUT_AS_HTML_TEXT : case IReportItemPresentation.OUTPUT_AS_TEXT : assert false; break; } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/0ddb7ae2e0035c35da1c826419e2fa45dbb89e60/ExtendedItemExecutor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExtendedItemExecutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1640, 1180, 1350, 12, 8706, 1180, 15478, 761, 16, 1082, 202, 45, 4820, 13476, 11520, 16, 467, 11456, 1180, 1350, 913, 16, 509, 618, 16, 1082, 202, 921, 876, 262, 202, 95, 202, 202, 9610, 261, 618, 262, 202, 202, 95, 1082, 202, 3593, 467, 4820, 1180, 6351, 367, 18, 15527, 67, 9826, 294, 9506, 202, 8820, 31, 1082, 202, 3593, 467, 4820, 1180, 6351, 367, 18, 15527, 67, 3033, 67, 13603, 294, 9506, 202, 759, 326, 876, 733, 353, 279, 1316, 16, 1427, 752, 279, 1316, 913, 9506, 202, 759, 733, 9506, 202, 2040, 1180, 1350, 1316, 273, 261, 2040, 1180, 1350, 13, 3697, 1733, 25083, 202, 18, 2640, 2040, 1350, 12, 761, 269, 819, 18, 588, 1350, 921, 1435, 11272, 9506, 202, 430, 261, 876, 1276, 5037, 262, 9506, 202, 95, 6862, 202, 2730, 18, 542, 751, 12, 855, 1350, 12, 261, 4348, 13, 876, 262, 11272, 9506, 202, 97, 9506, 202, 12107, 309, 261, 876, 1276, 1160, 8526, 262, 9506, 202, 95, 6862, 202, 2730, 18, 542, 751, 12, 261, 7229, 63, 5717, 876, 11272, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 11231, 629, 31, 6862, 202, 4901, 18, 1330, 12, 4557, 18, 1090, 2204, 41, 16, 6862, 1082, 202, 6, 24666, 1316, 618, 18611, 20, 1532, 16, 876, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 97, 9506, 202, 2730, 18, 542, 2040, 1830, 12, 3421, 1180, 15478, 18, 13603, 67, 19111, 11272, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1640, 1180, 1350, 12, 8706, 1180, 15478, 761, 16, 1082, 202, 45, 4820, 13476, 11520, 16, 467, 11456, 1180, 1350, 913, 16, 509, 618, 16, 1082, 202, 921, 876, 262, 202, 95, 202, 202, 9610, 261, 618, 262, 202, 202, 95, 1082, 202, 3593, 467, 4820, 1180, 6351, 367, 18, 15527, 67, 9826, 294, 9506, 202, 8820, 31, 1082, 202, 3593, 467, 4820, 1180, 6351, 367, 18, 15527, 67, 3033, 67, 13603, 294, 9506, 202, 759, 326, 876, 733, 353, 279, 1316, 16, 1427, 752, 279, 1316, 913, 9506, 202, 759, 733, 9506, 202, 2040, 1180, 1350, 1316, 273, 261, 2040, 1180, 1350, 13, 3697, 1733, 25083, 202, 18, 2640, 2040, 1350, 12, 761, 269, 2 ]
if (m_Eaters == null) {
if (m_Eaters.length == 0) {
public void update() { // reset modified flags for (int y = 0; y < m_World.length; ++y) { for (int x = 0; x < m_World[y].length; ++x) { m_World[y][x].clearDraw(); if (m_World[y][x].checkCollision()) { m_World[y][x].setCollision(false); } } } if (m_Simulation.reachedMaxUpdates()) { if (!m_PrintedStats) { m_Simulation.stopSimulation(); m_PrintedStats = true; logger.info("Reached maximum updates, stopping."); for (int i = 0; i < m_Eaters.length; ++i) { logger.info(m_Eaters[i].getName() + ": " + m_Eaters[i].getPoints()); } } return; } if (EatersCell.getFoodCount() <= 0) { if (!m_PrintedStats) { m_Simulation.stopSimulation(); m_PrintedStats = true; logger.info("All of the food is gone."); for (int i = 0; i < m_Eaters.length; ++i) { logger.info(m_Eaters[i].getName() + ": " + m_Eaters[i].getPoints()); } } return; } if (m_Eaters == null) { logger.warning("Update called with no eaters."); return; } moveEaters(); updateMapAndEatFood(); handleCollisions(); updateEaterInput(); if (m_Decay) { Food.decay(); recalculateScoreCount(); } }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/7a49577a76cf622d214458c943942bf98c2acfba/EatersWorld.java/clean/SoarSuite/Environments/JavaEaters/source/eaters/EatersWorld.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 1435, 288, 202, 202, 759, 2715, 4358, 2943, 202, 202, 1884, 261, 474, 677, 273, 374, 31, 677, 411, 312, 67, 18071, 18, 2469, 31, 965, 93, 13, 288, 1082, 202, 1884, 261, 474, 619, 273, 374, 31, 619, 411, 312, 67, 18071, 63, 93, 8009, 2469, 31, 965, 92, 13, 288, 9506, 202, 81, 67, 18071, 63, 93, 6362, 92, 8009, 8507, 6493, 5621, 9506, 202, 430, 261, 81, 67, 18071, 63, 93, 6362, 92, 8009, 1893, 13535, 1951, 10756, 288, 6862, 202, 81, 67, 18071, 63, 93, 6362, 92, 8009, 542, 13535, 1951, 12, 5743, 1769, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 25083, 202, 430, 261, 81, 67, 18419, 18, 266, 2004, 2747, 5121, 10756, 288, 1082, 202, 430, 16051, 81, 67, 5108, 329, 4195, 13, 288, 9506, 202, 81, 67, 18419, 18, 5681, 18419, 5621, 9506, 202, 81, 67, 5108, 329, 4195, 273, 638, 31, 9506, 202, 4901, 18, 1376, 2932, 23646, 4207, 4533, 16, 17008, 1199, 1769, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 312, 67, 41, 31302, 18, 2469, 31, 965, 77, 13, 288, 6862, 202, 4901, 18, 1376, 12, 81, 67, 41, 31302, 63, 77, 8009, 17994, 1435, 397, 6398, 315, 397, 312, 67, 41, 31302, 63, 77, 8009, 588, 5636, 10663, 9506, 202, 97, 1082, 202, 97, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 430, 261, 41, 31302, 4020, 18, 588, 42, 4773, 1380, 1435, 1648, 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, 1089, 1435, 288, 202, 202, 759, 2715, 4358, 2943, 202, 202, 1884, 261, 474, 677, 273, 374, 31, 677, 411, 312, 67, 18071, 18, 2469, 31, 965, 93, 13, 288, 1082, 202, 1884, 261, 474, 619, 273, 374, 31, 619, 411, 312, 67, 18071, 63, 93, 8009, 2469, 31, 965, 92, 13, 288, 9506, 202, 81, 67, 18071, 63, 93, 6362, 92, 8009, 8507, 6493, 5621, 9506, 202, 430, 261, 81, 67, 18071, 63, 93, 6362, 92, 8009, 1893, 13535, 1951, 10756, 288, 6862, 202, 81, 67, 18071, 63, 93, 6362, 92, 8009, 542, 13535, 1951, 12, 5743, 1769, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 25083, 202, 430, 261, 81, 67, 18419, 2 ]
if (wrapJobInTx) jrsf = new JTAJobRunShellFactory(); else
if (wrapJobInTx) { jrsf = new JTAJobRunShellFactory(); } else {
private Scheduler instantiate() throws SchedulerException { if (cfg == null) initialize(); if (initException != null) throw initException; JobStore js = null; ThreadPool tp = null; QuartzScheduler qs = null; SchedulingContext schedCtxt = null; DBConnectionManager dbMgr = null; String instanceIdGeneratorClass = null; Properties tProps = null; String userTXLocation = null; boolean wrapJobInTx = false; boolean autoId = false; long idleWaitTime = -1; long dbFailureRetry = -1; String classLoadHelperClass; String jobFactoryClass; SchedulerRepository schedRep = SchedulerRepository.getInstance(); // Get Scheduler Properties // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String schedName = cfg.getStringProperty(PROP_SCHED_INSTANCE_NAME, "QuartzScheduler"); String threadName = cfg.getStringProperty(PROP_SCHED_THREAD_NAME, schedName + "_QuartzSchedulerThread"); String schedInstId = cfg.getStringProperty(PROP_SCHED_INSTANCE_ID, DEFAULT_INSTANCE_ID); if (schedInstId.equals(AUTO_GENERATE_INSTANCE_ID)) { autoId = true; instanceIdGeneratorClass = cfg.getStringProperty( PROP_SCHED_INSTANCE_ID_GENERATOR_CLASS, "org.quartz.simpl.SimpleInstanceIdGenerator"); } userTXLocation = cfg.getStringProperty(PROP_SCHED_USER_TX_URL, userTXLocation); if (userTXLocation != null && userTXLocation.trim().length() == 0) userTXLocation = null; classLoadHelperClass = cfg.getStringProperty( PROP_SCHED_CLASS_LOAD_HELPER_CLASS, "org.quartz.simpl.CascadingClassLoadHelper"); wrapJobInTx = cfg.getBooleanProperty(PROP_SCHED_WRAP_JOB_IN_USER_TX, wrapJobInTx); jobFactoryClass = cfg.getStringProperty( PROP_SCHED_JOB_FACTORY_CLASS, null); idleWaitTime = cfg.getLongProperty(PROP_SCHED_IDLE_WAIT_TIME, idleWaitTime); dbFailureRetry = cfg.getLongProperty( PROP_SCHED_DB_FAILURE_RETRY_INTERVAL, dbFailureRetry); boolean rmiExport = cfg .getBooleanProperty(PROP_SCHED_RMI_EXPORT, false); boolean rmiProxy = cfg.getBooleanProperty(PROP_SCHED_RMI_PROXY, false); String rmiHost = cfg .getStringProperty(PROP_SCHED_RMI_HOST, "localhost"); int rmiPort = cfg.getIntProperty(PROP_SCHED_RMI_PORT, 1099); int rmiServerPort = cfg.getIntProperty(PROP_SCHED_RMI_SERVER_PORT, -1); String rmiCreateRegistry = cfg.getStringProperty( PROP_SCHED_RMI_CREATE_REGISTRY, QuartzSchedulerResources.CREATE_REGISTRY_NEVER); Properties schedCtxtProps = cfg.getPropertyGroup(PROP_SCHED_CONTEXT_PREFIX, true); // If Proxying to remote scheduler, short-circuit here... // ~~~~~~~~~~~~~~~~~~ if (rmiProxy) { if (autoId) schedInstId = DEFAULT_INSTANCE_ID; schedCtxt = new SchedulingContext(); schedCtxt.setInstanceId(schedInstId); String uid = QuartzSchedulerResources.getUniqueIdentifier( schedName, schedInstId); RemoteScheduler remoteScheduler = new RemoteScheduler(schedCtxt, uid, rmiHost, rmiPort); schedRep.bind(remoteScheduler); return remoteScheduler; } // Create class load helper ClassLoadHelper loadHelper = null; try { loadHelper = (ClassLoadHelper) loadClass(classLoadHelperClass) .newInstance(); } catch (Exception e) { throw new SchedulerConfigException( "Unable to instantiate class load helper class: " + e.getMessage(), e); } loadHelper.initialize(); JobFactory jobFactory = null; if(jobFactoryClass != null) { try { jobFactory = (JobFactory) loadHelper.loadClass(jobFactoryClass) .newInstance(); } catch (Exception e) { throw new SchedulerConfigException( "Unable to instantiate JobFactory class: " + e.getMessage(), e); } tProps = cfg.getPropertyGroup(PROP_SCHED_JOB_FACTORY_PREFIX, true); try { setBeanProps(jobFactory, tProps); } catch (Exception e) { initException = new SchedulerException("JobFactory class '" + jobFactoryClass + "' props could not be configured.", e); initException .setErrorCode(SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } } InstanceIdGenerator instanceIdGenerator = null; if(instanceIdGeneratorClass != null) { try { instanceIdGenerator = (InstanceIdGenerator) loadHelper.loadClass(instanceIdGeneratorClass) .newInstance(); } catch (Exception e) { throw new SchedulerConfigException( "Unable to instantiate InstanceIdGenerator class: " + e.getMessage(), e); } } // Get ThreadPool Properties // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String tpClass = cfg.getStringProperty(PROP_THREAD_POOL_CLASS, null); if (tpClass == null) { initException = new SchedulerException( "ThreadPool class not specified. ", SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } try { tp = (ThreadPool) loadHelper.loadClass(tpClass).newInstance(); } catch (Exception e) { initException = new SchedulerException("ThreadPool class '" + tpClass + "' could not be instantiated.", e); initException .setErrorCode(SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } tProps = cfg.getPropertyGroup(PROP_THREAD_POOL_PREFIX, true); try { setBeanProps(tp, tProps); } catch (Exception e) { initException = new SchedulerException("ThreadPool class '" + tpClass + "' props could not be configured.", e); initException .setErrorCode(SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } // Get JobStore Properties // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String jsClass = cfg.getStringProperty(PROP_JOB_STORE_CLASS, RAMJobStore.class.getName()); if (jsClass == null) { initException = new SchedulerException( "JobStore class not specified. ", SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } try { js = (JobStore) loadHelper.loadClass(jsClass).newInstance(); } catch (Exception e) { initException = new SchedulerException("JobStore class '" + jsClass + "' could not be instantiated.", e); initException .setErrorCode(SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } tProps = cfg.getPropertyGroup(PROP_JOB_STORE_PREFIX, true); try { setBeanProps(js, tProps); } catch (Exception e) { initException = new SchedulerException("JobStore class '" + jsClass + "' props could not be configured.", e); initException .setErrorCode(SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } if (js instanceof org.quartz.impl.jdbcjobstore.JobStoreSupport) { ((org.quartz.impl.jdbcjobstore.JobStoreSupport) js) .setInstanceId(schedInstId); ((org.quartz.impl.jdbcjobstore.JobStoreSupport) js) .setInstanceName(schedName); } // Set up any DataSources // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String[] dsNames = cfg.getPropertyGroups(PROP_DATASOURCE_PREFIX); for (int i = 0; i < dsNames.length; i++) { PropertiesParser pp = new PropertiesParser(cfg.getPropertyGroup( PROP_DATASOURCE_PREFIX + "." + dsNames[i], true)); String cpClass = pp.getStringProperty(PROP_CONNECTION_PROVIDER_CLASS, null); // custom connectionProvider... if(cpClass != null) { ConnectionProvider cp = null; try { cp = (ConnectionProvider) loadHelper.loadClass(cpClass).newInstance(); } catch (Exception e) { initException = new SchedulerException("ConnectionProvider class '" + cpClass + "' could not be instantiated.", e); initException .setErrorCode(SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } try { // remove the class name, so it isn't attempted to be set pp.getUnderlyingProperties().remove( PROP_CONNECTION_PROVIDER_CLASS); setBeanProps(cp, pp.getUnderlyingProperties()); } catch (Exception e) { initException = new SchedulerException("ConnectionProvider class '" + cpClass + "' props could not be configured.", e); initException .setErrorCode(SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } dbMgr = DBConnectionManager.getInstance(); dbMgr.addConnectionProvider(dsNames[i], cp); } else { String dsDriver = pp .getStringProperty(PROP_DATASOURCE_DRIVER, null); String dsURL = pp.getStringProperty(PROP_DATASOURCE_URL, null); boolean dsAlwaysLookup = pp.getBooleanProperty( PROP_DATASOURCE_JNDI_ALWAYS_LOOKUP, false); String dsUser = pp.getStringProperty(PROP_DATASOURCE_USER, ""); String dsPass = pp.getStringProperty(PROP_DATASOURCE_PASSWORD, ""); int dsCnt = pp.getIntProperty(PROP_DATASOURCE_MAX_CONNECTIONS, 10); String dsJndi = pp .getStringProperty(PROP_DATASOURCE_JNDI_URL, null); String dsJndiInitial = pp.getStringProperty( PROP_DATASOURCE_JNDI_INITIAL, null); String dsJndiProvider = pp.getStringProperty( PROP_DATASOURCE_JNDI_PROVDER, null); String dsJndiPrincipal = pp.getStringProperty( PROP_DATASOURCE_JNDI_PRINCIPAL, null); String dsJndiCredentials = pp.getStringProperty( PROP_DATASOURCE_JNDI_CREDENTIALS, null); String dsValidation = pp.getStringProperty( PROP_DATASOURCE_VALIDATION_QUERY, null); if (dsJndi != null) { Properties props = null; if (null != dsJndiInitial || null != dsJndiProvider || null != dsJndiPrincipal || null != dsJndiCredentials) { props = new Properties(); if (dsJndiInitial != null) props.put(PROP_DATASOURCE_JNDI_INITIAL, dsJndiInitial); if (dsJndiProvider != null) props.put(PROP_DATASOURCE_JNDI_PROVDER, dsJndiProvider); if (dsJndiPrincipal != null) props.put(PROP_DATASOURCE_JNDI_PRINCIPAL, dsJndiPrincipal); if (dsJndiCredentials != null) props.put(PROP_DATASOURCE_JNDI_CREDENTIALS, dsJndiCredentials); } JNDIConnectionProvider cp = new JNDIConnectionProvider(dsJndi, props, dsAlwaysLookup); dbMgr = DBConnectionManager.getInstance(); dbMgr.addConnectionProvider(dsNames[i], cp); } else { if (dsDriver == null) { initException = new SchedulerException( "Driver not specified for DataSource: " + dsNames[i]); throw initException; } if (dsURL == null) { initException = new SchedulerException( "DB URL not specified for DataSource: " + dsNames[i]); throw initException; } try { PoolingConnectionProvider cp = new PoolingConnectionProvider( dsDriver, dsURL, dsUser, dsPass, dsCnt, dsValidation); dbMgr = DBConnectionManager.getInstance(); dbMgr.addConnectionProvider(dsNames[i], cp); } catch (SQLException sqle) { initException = new SchedulerException( "Could not initialize DataSource: " + dsNames[i], sqle); throw initException; } } } } // Set up any SchedulerPlugins // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String[] pluginNames = cfg.getPropertyGroups(PROP_PLUGIN_PREFIX); SchedulerPlugin[] plugins = new SchedulerPlugin[pluginNames.length]; for (int i = 0; i < pluginNames.length; i++) { Properties pp = cfg.getPropertyGroup(PROP_PLUGIN_PREFIX + "." + pluginNames[i], true); String plugInClass = pp.getProperty(PROP_PLUGIN_CLASS, null); if (plugInClass == null) { initException = new SchedulerException( "SchedulerPlugin class not specified for plugin '" + pluginNames[i] + "'", SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } SchedulerPlugin plugin = null; try { plugin = (SchedulerPlugin) loadHelper.loadClass(plugInClass).newInstance(); } catch (Exception e) { initException = new SchedulerException( "SchedulerPlugin class '" + plugInClass + "' could not be instantiated.", e); initException .setErrorCode(SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } try { setBeanProps(plugin, pp); } catch (Exception e) { initException = new SchedulerException( "JobStore SchedulerPlugin '" + plugInClass + "' props could not be configured.", e); initException .setErrorCode(SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } plugins[i] = plugin; } // Set up any JobListeners // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Class[] strArg = new Class[] { String.class }; String[] jobListenerNames = cfg.getPropertyGroups(PROP_JOB_LISTENER_PREFIX); JobListener[] jobListeners = new JobListener[jobListenerNames.length]; for (int i = 0; i < jobListenerNames.length; i++) { Properties lp = cfg.getPropertyGroup(PROP_JOB_LISTENER_PREFIX + "." + jobListenerNames[i], true); String listenerClass = lp.getProperty(PROP_LISTENER_CLASS, null); if (listenerClass == null) { initException = new SchedulerException( "JobListener class not specified for listener '" + jobListenerNames[i] + "'", SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } JobListener listener = null; try { listener = (JobListener) loadHelper.loadClass(listenerClass).newInstance(); } catch (Exception e) { initException = new SchedulerException( "JobListener class '" + listenerClass + "' could not be instantiated.", e); initException .setErrorCode(SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } try { Method nameSetter = listener.getClass().getMethod("setName", strArg); if(nameSetter != null) nameSetter.invoke(listener, new Object[] {jobListenerNames[i] } ); setBeanProps(listener, lp); } catch (Exception e) { initException = new SchedulerException( "JobListener '" + listenerClass + "' props could not be configured.", e); initException .setErrorCode(SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } jobListeners[i] = listener; } // Set up any TriggerListeners // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String[] triggerListenerNames = cfg.getPropertyGroups(PROP_TRIGGER_LISTENER_PREFIX); TriggerListener[] triggerListeners = new TriggerListener[triggerListenerNames.length]; for (int i = 0; i < triggerListenerNames.length; i++) { Properties lp = cfg.getPropertyGroup(PROP_TRIGGER_LISTENER_PREFIX + "." + triggerListenerNames[i], true); String listenerClass = lp.getProperty(PROP_LISTENER_CLASS, null); if (listenerClass == null) { initException = new SchedulerException( "TriggerListener class not specified for listener '" + triggerListenerNames[i] + "'", SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } TriggerListener listener = null; try { listener = (TriggerListener) loadHelper.loadClass(listenerClass).newInstance(); } catch (Exception e) { initException = new SchedulerException( "TriggerListener class '" + listenerClass + "' could not be instantiated.", e); initException .setErrorCode(SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } try { Method nameSetter = listener.getClass().getMethod("setName", strArg); if(nameSetter != null) nameSetter.invoke(listener, new Object[] {triggerListenerNames[i] } ); setBeanProps(listener, lp); } catch (Exception e) { initException = new SchedulerException( "TriggerListener '" + listenerClass + "' props could not be configured.", e); initException .setErrorCode(SchedulerException.ERR_BAD_CONFIGURATION); throw initException; } triggerListeners[i] = listener; } // Fire everything up // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JobRunShellFactory jrsf = null; // Create correct run-shell factory... UserTransactionHelper.setUserTxLocation(userTXLocation); if (wrapJobInTx) jrsf = new JTAJobRunShellFactory(); else jrsf = new StdJobRunShellFactory(); if (autoId) { try { schedInstId = DEFAULT_INSTANCE_ID; if (js instanceof org.quartz.impl.jdbcjobstore.JobStoreSupport) { if(((org.quartz.impl.jdbcjobstore.JobStoreSupport) js) .isClustered()) { schedInstId = instanceIdGenerator.generateInstanceId(); } } } catch (Exception e) { getLog().error("Couldn't generate instance Id!", e); throw new IllegalStateException( "Cannot run without an instance id."); } } if (js instanceof JobStoreSupport) { JobStoreSupport jjs = (JobStoreSupport) js; jjs.setInstanceId(schedInstId); jjs.setDbRetryInterval(dbFailureRetry); } QuartzSchedulerResources rsrcs = new QuartzSchedulerResources(); rsrcs.setName(schedName); rsrcs.setThreadName(threadName); rsrcs.setInstanceId(schedInstId); rsrcs.setJobRunShellFactory(jrsf); if (rmiExport) { rsrcs.setRMIRegistryHost(rmiHost); rsrcs.setRMIRegistryPort(rmiPort); rsrcs.setRMIServerPort(rmiServerPort); rsrcs.setRMICreateRegistryStrategy(rmiCreateRegistry); } rsrcs.setThreadPool(tp); if(tp instanceof SimpleThreadPool) ((SimpleThreadPool)tp).setThreadNamePrefix(schedName + "_Worker"); tp.initialize(); rsrcs.setJobStore(js); schedCtxt = new SchedulingContext(); schedCtxt.setInstanceId(rsrcs.getInstanceId()); qs = new QuartzScheduler(rsrcs, schedCtxt, idleWaitTime, dbFailureRetry); // if(usingJSCMT) // qs.setSignalOnSchedulingChange(false); // TODO: fixed? (don't need // this any more?) // Create Scheduler ref... Scheduler scheduler = instantiate(rsrcs, qs); // set job factory if specified if(jobFactory != null) qs.setJobFactory(jobFactory); // add plugins for (int i = 0; i < plugins.length; i++) { plugins[i].initialize(pluginNames[i], scheduler); qs.addSchedulerPlugin(plugins[i]); } // add listeners for (int i = 0; i < jobListeners.length; i++) { qs.addGlobalJobListener(jobListeners[i]); } for (int i = 0; i < triggerListeners.length; i++) { qs.addGlobalTriggerListener(triggerListeners[i]); } // set scheduler context data... Iterator itr = schedCtxtProps.keySet().iterator(); while(itr.hasNext()) { String key = (String) itr.next(); String val = schedCtxtProps.getProperty(key); scheduler.getContext().put(key, val); } // fire up job store, and runshell factory js.initialize(loadHelper, qs.getSchedulerSignaler()); jrsf.initialize(scheduler, schedCtxt); getLog().info( "Quartz scheduler '" + scheduler.getSchedulerName() + "' initialized from " + propSrc); getLog().info("Quartz scheduler version: " + qs.getVersion()); // prevents the repository from being garbage collected qs.addNoGCObject(schedRep); // prevents the db manager from being garbage collected if (dbMgr != null) qs.addNoGCObject(dbMgr); schedRep.bind(scheduler); return scheduler; }
55677 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55677/cf7f5f77ce5bb6364145230d302b86f1cdadea88/StdSchedulerFactory.java/buggy/src/java/org/quartz/impl/StdSchedulerFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 12620, 10275, 1435, 1216, 12620, 503, 288, 3639, 309, 261, 7066, 422, 446, 13, 4046, 5621, 3639, 309, 261, 2738, 503, 480, 446, 13, 604, 1208, 503, 31, 3639, 3956, 2257, 3828, 273, 446, 31, 3639, 27359, 8071, 273, 446, 31, 3639, 4783, 27202, 11870, 8719, 273, 446, 31, 3639, 348, 13252, 1042, 23964, 28866, 273, 446, 31, 3639, 2383, 1952, 1318, 1319, 9455, 273, 446, 31, 3639, 514, 17608, 3908, 797, 273, 446, 31, 3639, 6183, 268, 5047, 273, 446, 31, 3639, 514, 729, 16556, 2735, 273, 446, 31, 3639, 1250, 2193, 2278, 382, 4188, 273, 629, 31, 3639, 1250, 3656, 548, 273, 629, 31, 3639, 1525, 12088, 23637, 273, 300, 21, 31, 3639, 1525, 1319, 5247, 7539, 273, 300, 21, 31, 3639, 514, 667, 2563, 2276, 797, 31, 3639, 514, 1719, 1733, 797, 31, 3639, 12620, 3305, 23964, 18933, 273, 12620, 3305, 18, 588, 1442, 5621, 3639, 368, 968, 12620, 6183, 3639, 368, 4871, 19876, 19876, 19876, 19876, 19876, 12485, 7650, 98, 3639, 514, 23964, 461, 273, 2776, 18, 588, 780, 1396, 12, 15811, 67, 55, 15023, 67, 13341, 67, 1985, 16, 7734, 315, 12099, 94, 11870, 8863, 3639, 514, 2650, 461, 273, 2776, 18, 588, 780, 1396, 12, 15811, 67, 55, 15023, 67, 21730, 67, 1985, 16, 7734, 23964, 461, 397, 4192, 12099, 94, 11870, 3830, 8863, 7734, 514, 23964, 10773, 548, 273, 2776, 18, 588, 780, 1396, 12, 15811, 67, 55, 15023, 67, 13341, 67, 734, 16, 7734, 3331, 67, 13341, 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, 12620, 10275, 1435, 1216, 12620, 503, 288, 3639, 309, 261, 7066, 422, 446, 13, 4046, 5621, 3639, 309, 261, 2738, 503, 480, 446, 13, 604, 1208, 503, 31, 3639, 3956, 2257, 3828, 273, 446, 31, 3639, 27359, 8071, 273, 446, 31, 3639, 4783, 27202, 11870, 8719, 273, 446, 31, 3639, 348, 13252, 1042, 23964, 28866, 273, 446, 31, 3639, 2383, 1952, 1318, 1319, 9455, 273, 446, 31, 3639, 514, 17608, 3908, 797, 273, 446, 31, 3639, 6183, 268, 5047, 273, 446, 31, 3639, 514, 729, 16556, 2735, 273, 446, 31, 3639, 1250, 2193, 2278, 382, 4188, 273, 629, 31, 3639, 1250, 3656, 548, 273, 629, 31, 3639, 1525, 12088, 23637, 273, 300, 21, 31, 3639, 1525, 1319, 2 ]
return SearchMessages.getString("PostfixLabelProvider.potential_singluar");
return SearchMessages.getString("PostfixLabelProvider.potential_singular");
private String getSingularLabel(Object element) { if (hasPotentialMatches(element)) return SearchMessages.getString("PostfixLabelProvider.potential_singluar"); //$NON-NLS-1$ return SearchMessages.getString("PostfixLabelProvider.exact_singular"); //$NON-NLS-1$ }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/4a585d44da4ac97490d35b87f07cb80198cd7141/PostfixLabelProvider.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/PostfixLabelProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 1322, 17830, 2224, 12, 921, 930, 13, 288, 202, 202, 430, 261, 5332, 24947, 6869, 12, 2956, 3719, 1082, 202, 2463, 5167, 5058, 18, 588, 780, 2932, 24505, 2224, 2249, 18, 26451, 67, 17835, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 2463, 5167, 5058, 18, 588, 780, 2932, 24505, 2224, 2249, 18, 17165, 67, 17835, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 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, 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 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 1322, 17830, 2224, 12, 921, 930, 13, 288, 202, 202, 430, 261, 5332, 24947, 6869, 12, 2956, 3719, 1082, 202, 2463, 5167, 5058, 18, 588, 780, 2932, 24505, 2224, 2249, 18, 26451, 67, 17835, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 2463, 5167, 5058, 18, 588, 780, 2932, 24505, 2224, 2249, 18, 17165, 67, 17835, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 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 ]
m_drawnPoints = new int[getWidth()][getHeight()];
m_drawnPoints = new int[this.getWidth()][this.getHeight()];
public PlotPanel() { setBackground(Color.black); m_InstanceInfoText.setFont(new Font("Monospaced", Font.PLAIN,12)); m_InstanceInfoText.setEditable(false); m_createShape = false; m_shapes = null;//// m_shapePoints = null; m_newMousePos = new Dimension(); m_drawnPoints = new int[getWidth()][getHeight()]; addMouseListener(new MouseAdapter() { /////// public void mousePressed(MouseEvent e) { if ((e.getModifiers() & e.BUTTON1_MASK) == e.BUTTON1_MASK) { // if (m_sIndex == 0) { //do nothing it will get dealt to in the clicked method } else if (m_sIndex == 1) { m_createShape = true; m_shapePoints = new FastVector(5); m_shapePoints.addElement(new Double(m_sIndex)); m_shapePoints.addElement(new Double(e.getX())); m_shapePoints.addElement(new Double(e.getY())); m_shapePoints.addElement(new Double(e.getX())); m_shapePoints.addElement(new Double(e.getY())); Graphics g = getGraphics(); g.setColor(Color.black); g.setXORMode(Color.white); g.drawRect(((Double)m_shapePoints.elementAt(1)).intValue(), ((Double)m_shapePoints.elementAt(2)).intValue(), ((Double)m_shapePoints.elementAt(3)).intValue() - ((Double)m_shapePoints.elementAt(1)).intValue(), ((Double)m_shapePoints.elementAt(4)).intValue() - ((Double)m_shapePoints.elementAt(2)).intValue()); g.dispose(); } //System.out.println("clicked"); } //System.out.println("clicked"); } ////// public void mouseClicked(MouseEvent e) { if ((m_sIndex == 2 || m_sIndex == 3) && (m_createShape || (e.getModifiers() & e.BUTTON1_MASK) == e.BUTTON1_MASK)) { if (m_createShape) { //then it has been started already. Graphics g = getGraphics(); g.setColor(Color.black); g.setXORMode(Color.white); if ((e.getModifiers() & e.BUTTON1_MASK) == e.BUTTON1_MASK) { m_shapePoints.addElement(new Double(convertToAttribX(e.getX()))); m_shapePoints.addElement(new Double(convertToAttribY(e.getY()))); m_newMousePos.width = e.getX(); m_newMousePos.height = e.getY(); g.drawLine((int)Math.ceil (convertToPanelX (((Double)m_shapePoints. elementAt(m_shapePoints.size() - 2)). doubleValue())), (int)Math.ceil (convertToPanelY (((Double)m_shapePoints. elementAt(m_shapePoints.size() - 1)). doubleValue())), m_newMousePos.width, m_newMousePos.height); } else if (m_sIndex == 3) { //then extend the lines to infinity //(100000 or so should be enough). //the area is selected by where the user right clicks //the mouse button m_createShape = false; if (m_shapePoints.size() >= 5) { double cx = Math.ceil (convertToPanelX (((Double)m_shapePoints.elementAt (m_shapePoints.size() - 4)).doubleValue())); double cx2 = Math.ceil (convertToPanelX (((Double)m_shapePoints.elementAt (m_shapePoints.size() - 2)).doubleValue())) - cx; cx2 *= 50000; double cy = Math.ceil (convertToPanelY(((Double)m_shapePoints.elementAt (m_shapePoints.size() - 3)). doubleValue())); double cy2 = Math.ceil (convertToPanelY(((Double)m_shapePoints.elementAt (m_shapePoints.size() - 1)). doubleValue())) - cy; cy2 *= 50000; double cxa = Math.ceil(convertToPanelX (((Double)m_shapePoints. elementAt(3)). doubleValue())); double cxa2 = Math.ceil(convertToPanelX (((Double)m_shapePoints. elementAt(1)). doubleValue())) - cxa; cxa2 *= 50000; double cya = Math.ceil (convertToPanelY (((Double)m_shapePoints.elementAt(4)). doubleValue())); double cya2 = Math.ceil (convertToPanelY (((Double)m_shapePoints.elementAt(2)). doubleValue())) - cya; cya2 *= 50000; m_shapePoints.setElementAt (new Double(convertToAttribX(cxa2 + cxa)), 1); m_shapePoints.setElementAt (new Double(convertToAttribY(cy2 + cy)), m_shapePoints.size() - 1); m_shapePoints.setElementAt (new Double(convertToAttribX(cx2 + cx)), m_shapePoints.size() - 2); m_shapePoints.setElementAt (new Double(convertToAttribY(cya2 + cya)), 2); //determine how infinity line should be built cy = Double.POSITIVE_INFINITY; cy2 = Double.NEGATIVE_INFINITY; if (((Double)m_shapePoints.elementAt(1)). doubleValue() > ((Double)m_shapePoints.elementAt(3)). doubleValue()) { if (((Double)m_shapePoints.elementAt(2)). doubleValue() == ((Double)m_shapePoints.elementAt(4)). doubleValue()) { cy = ((Double)m_shapePoints.elementAt(2)). doubleValue(); } } if (((Double)m_shapePoints.elementAt (m_shapePoints.size() - 2)).doubleValue() > ((Double)m_shapePoints.elementAt (m_shapePoints.size() - 4)).doubleValue()) { if (((Double)m_shapePoints.elementAt (m_shapePoints.size() - 3)). doubleValue() == ((Double)m_shapePoints.elementAt (m_shapePoints.size() - 1)).doubleValue()) { cy2 = ((Double)m_shapePoints.lastElement()). doubleValue(); } } m_shapePoints.addElement(new Double(cy)); m_shapePoints.addElement(new Double(cy2)); if (!inPolyline(m_shapePoints, convertToAttribX (e.getX()), convertToAttribY(e.getY()))) { Double tmp = (Double)m_shapePoints. elementAt(m_shapePoints.size() - 2); m_shapePoints.setElementAt (m_shapePoints.lastElement(), m_shapePoints.size() - 2); m_shapePoints.setElementAt (tmp, m_shapePoints.size() - 1); } if (m_shapes == null) { m_shapes = new FastVector(4); } m_shapes.addElement(m_shapePoints); m_submit.setText("Submit"); m_submit.setActionCommand("Submit"); m_submit.setEnabled(true); } m_shapePoints = null; repaint(); } else { //then close the shape m_createShape = false; if (m_shapePoints.size() >= 7) { m_shapePoints.addElement(m_shapePoints.elementAt(1)); m_shapePoints.addElement(m_shapePoints.elementAt(2)); if (m_shapes == null) { m_shapes = new FastVector(4); } m_shapes.addElement(m_shapePoints); m_submit.setText("Submit"); m_submit.setActionCommand("Submit"); m_submit.setEnabled(true); } m_shapePoints = null; repaint(); } g.dispose(); //repaint(); } else if ((e.getModifiers() & e.BUTTON1_MASK) == e.BUTTON1_MASK) { //then this is the first point m_createShape = true; m_shapePoints = new FastVector(17); m_shapePoints.addElement(new Double(m_sIndex)); m_shapePoints.addElement(new Double(convertToAttribX(e.getX()))); //the new point m_shapePoints.addElement(new Double(convertToAttribY(e.getY()))); m_newMousePos.width = e.getX(); //the temp mouse point m_newMousePos.height = e.getY(); Graphics g = getGraphics(); g.setColor(Color.black); g.setXORMode(Color.white); g.drawLine((int)Math.ceil (convertToPanelX(((Double)m_shapePoints. elementAt(1)).doubleValue())), (int)Math.ceil (convertToPanelY(((Double)m_shapePoints. elementAt(2)).doubleValue())), m_newMousePos.width, m_newMousePos.height); g.dispose(); } } else { if ((e.getModifiers() & InputEvent.BUTTON1_MASK) == InputEvent.BUTTON1_MASK) { searchPoints(e.getX(),e.getY(), false); } else { searchPoints(e.getX(), e.getY(), true); } } } ///////// public void mouseReleased(MouseEvent e) { //System.out.println("rel"); if (m_createShape) { if (((Double)m_shapePoints.elementAt(0)).intValue() == 1) { m_createShape = false; Graphics g = getGraphics(); g.setColor(Color.black); g.setXORMode(Color.white); g.drawRect(((Double)m_shapePoints.elementAt(1)). intValue(), ((Double)m_shapePoints.elementAt(2)).intValue(), ((Double)m_shapePoints.elementAt(3)).intValue() - ((Double)m_shapePoints.elementAt(1)).intValue(), ((Double)m_shapePoints.elementAt(4)).intValue() - ((Double)m_shapePoints.elementAt(2)).intValue()); g.dispose(); if (checkPoints(((Double)m_shapePoints.elementAt(1)). doubleValue(), ((Double)m_shapePoints.elementAt(2)). doubleValue()) && checkPoints(((Double)m_shapePoints.elementAt(3)). doubleValue(), ((Double)m_shapePoints.elementAt(4)). doubleValue())) { //then the points all land on the screen //now do special check for the rectangle if (((Double)m_shapePoints.elementAt(1)).doubleValue() < ((Double)m_shapePoints.elementAt(3)).doubleValue() && ((Double)m_shapePoints.elementAt(2)).doubleValue() < ((Double)m_shapePoints.elementAt(4)).doubleValue()) { //then the rectangle is valid if (m_shapes == null) { m_shapes = new FastVector(2); } m_shapePoints.setElementAt(new Double(convertToAttribX(((Double)m_shapePoints. elementAt(1)). doubleValue())), 1); m_shapePoints.setElementAt(new Double(convertToAttribY(((Double)m_shapePoints. elementAt(2)). doubleValue())), 2); m_shapePoints.setElementAt(new Double(convertToAttribX(((Double)m_shapePoints. elementAt(3)). doubleValue())), 3); m_shapePoints.setElementAt(new Double(convertToAttribY(((Double)m_shapePoints. elementAt(4)). doubleValue())), 4); m_shapes.addElement(m_shapePoints); m_submit.setText("Submit"); m_submit.setActionCommand("Submit"); m_submit.setEnabled(true); repaint(); } } m_shapePoints = null; } } } }); addMouseMotionListener(new MouseMotionAdapter() { public void mouseDragged(MouseEvent e) { //check if the user is dragging a box if (m_createShape) { if (((Double)m_shapePoints.elementAt(0)).intValue() == 1) { Graphics g = getGraphics(); g.setColor(Color.black); g.setXORMode(Color.white); g.drawRect(((Double)m_shapePoints.elementAt(1)).intValue(), ((Double)m_shapePoints.elementAt(2)).intValue(), ((Double)m_shapePoints.elementAt(3)).intValue() - ((Double)m_shapePoints.elementAt(1)).intValue(), ((Double)m_shapePoints.elementAt(4)).intValue() - ((Double)m_shapePoints.elementAt(2)).intValue()); m_shapePoints.setElementAt(new Double(e.getX()), 3); m_shapePoints.setElementAt(new Double(e.getY()), 4); g.drawRect(((Double)m_shapePoints.elementAt(1)).intValue(), ((Double)m_shapePoints.elementAt(2)).intValue(), ((Double)m_shapePoints.elementAt(3)).intValue() - ((Double)m_shapePoints.elementAt(1)).intValue(), ((Double)m_shapePoints.elementAt(4)).intValue() - ((Double)m_shapePoints.elementAt(2)).intValue()); g.dispose(); } } } public void mouseMoved(MouseEvent e) { if (m_createShape) { if (((Double)m_shapePoints.elementAt(0)).intValue() == 2 || ((Double)m_shapePoints.elementAt(0)).intValue() == 3) { Graphics g = getGraphics(); g.setColor(Color.black); g.setXORMode(Color.white); g.drawLine((int)Math.ceil(convertToPanelX (((Double)m_shapePoints.elementAt (m_shapePoints.size() - 2)). doubleValue())), (int)Math.ceil(convertToPanelY (((Double)m_shapePoints.elementAt (m_shapePoints.size() - 1)). doubleValue())), m_newMousePos.width, m_newMousePos.height); m_newMousePos.width = e.getX(); m_newMousePos.height = e.getY(); g.drawLine((int)Math.ceil(convertToPanelX (((Double)m_shapePoints.elementAt (m_shapePoints.size() - 2)). doubleValue())), (int)Math.ceil(convertToPanelY (((Double)m_shapePoints.elementAt (m_shapePoints.size() - 1)). doubleValue())), m_newMousePos.width, m_newMousePos.height); g.dispose(); } } } }); m_submit.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { if (e.getActionCommand().equals("Submit")) { if (m_splitListener != null && m_shapes != null) { //then send the split to the listener Instances sub_set1 = new Instances(m_plotInstances, 500); Instances sub_set2 = new Instances(m_plotInstances, 500); if (m_plotInstances != null) { for (int noa = 0 ; noa < m_plotInstances.numInstances(); noa++) { if (!m_plotInstances.instance(noa).isMissing(m_xIndex) && !m_plotInstances.instance(noa).isMissing(m_yIndex)){ if (inSplit(m_plotInstances.instance(noa))) { sub_set1.add(m_plotInstances.instance(noa)); } else { sub_set2.add(m_plotInstances.instance(noa)); } } } FastVector tmp = m_shapes; cancelShapes(); m_splitListener.userDataEvent(new VisualizePanelEvent(tmp, sub_set1, sub_set2, m_xIndex, m_yIndex)); } } else if (m_shapes != null && m_plotInstances != null) { Instances sub_set1 = new Instances(m_plotInstances, 500); int count = 0; for (int noa = 0 ; noa < m_plotInstances.numInstances(); noa++) { if (inSplit(m_plotInstances.instance(noa))) { sub_set1.add(m_plotInstances.instance(noa)); count++; } } double [] nPreds = null; int x = m_xIndex; int y = m_yIndex; //boolean p = m_predsNumeric; if (m_origInstances == null) { //this sets these instances as the instances //to go back to. m_origInstances = m_plotInstances; } if (m_origPreds == null && m_preds != null) { m_origPreds = m_preds; } if (m_preds != null && count > 0) { nPreds = new double[m_origInstances.numInstances()]; count = 0; for (int noa = 0; noa < m_plotInstances.numInstances(); noa++) { if (inSplit(m_plotInstances.instance(noa))) { //System.out.println(m_preds[noa]); nPreds[count] = m_preds[noa]; count++; } } } cancelShapes(); VisualizePanel.this.setInstances(sub_set1); if (m_preds != null) { VisualizePanel.this.setPredictions(nPreds); //VisualizePanel.this.setPredictionsNumeric(p); } try { VisualizePanel.this.setXIndex(x); VisualizePanel.this.setYIndex(y); } catch(Exception er) { System.out.println("Error : " + er); // System.out.println("Part of user input so had to" + // " catch here"); } } } else if (e.getActionCommand().equals("Reset")) { int x = m_xIndex; int y = m_yIndex; //boolean p = m_predsNumeric; VisualizePanel.this.setInstances(m_origInstances); if (m_origPreds != null) { VisualizePanel.this.setPredictions(m_origPreds); //VisualizePanel.this.setPredictionsNumeric(p); } try { VisualizePanel.this.setXIndex(x); VisualizePanel.this.setYIndex(y); } catch(Exception er) { System.out.println("Error : " + er); } } } }); m_cancel.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { cancelShapes(); repaint(); } }); //////////// }
6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/dab572c119692e2deb0fa2d817b347c7cfe42ded/VisualizePanel.java/buggy/gui/explorer/VisualizePanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15211, 5537, 1435, 288, 1377, 31217, 12, 2957, 18, 11223, 1769, 1377, 312, 67, 1442, 966, 1528, 18, 542, 5711, 12, 2704, 10063, 2932, 11415, 538, 909, 72, 3113, 10063, 18, 26549, 16, 2138, 10019, 1377, 312, 67, 1442, 966, 1528, 18, 542, 15470, 12, 5743, 1769, 1377, 312, 67, 2640, 8500, 273, 629, 31, 2868, 312, 67, 17648, 273, 446, 31, 1307, 1377, 312, 67, 4867, 5636, 273, 446, 31, 1377, 312, 67, 2704, 9186, 1616, 273, 394, 13037, 5621, 1377, 312, 67, 9446, 82, 5636, 273, 394, 509, 63, 2211, 18, 588, 2384, 1435, 6362, 2211, 18, 588, 2686, 1435, 15533, 1377, 527, 9186, 2223, 12, 2704, 17013, 4216, 1435, 288, 202, 225, 368, 1307, 19, 4202, 202, 225, 1071, 918, 7644, 24624, 12, 9186, 1133, 425, 13, 288, 202, 565, 309, 14015, 73, 18, 588, 11948, 1435, 473, 425, 18, 20068, 21, 67, 11704, 13, 422, 425, 18, 20068, 21, 67, 11704, 13, 288, 202, 1377, 368, 202, 1377, 309, 261, 81, 67, 87, 1016, 422, 374, 13, 288, 202, 202, 759, 2896, 5083, 518, 903, 336, 443, 2390, 358, 316, 326, 17688, 707, 202, 1377, 289, 202, 1377, 469, 309, 261, 81, 67, 87, 1016, 422, 404, 13, 288, 202, 202, 81, 67, 2640, 8500, 273, 638, 31, 202, 202, 81, 67, 4867, 5636, 273, 394, 9545, 5018, 12, 25, 1769, 202, 202, 81, 67, 4867, 5636, 18, 1289, 1046, 12, 2704, 3698, 12, 81, 67, 87, 1016, 10019, 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, 377, 1071, 15211, 5537, 1435, 288, 1377, 31217, 12, 2957, 18, 11223, 1769, 1377, 312, 67, 1442, 966, 1528, 18, 542, 5711, 12, 2704, 10063, 2932, 11415, 538, 909, 72, 3113, 10063, 18, 26549, 16, 2138, 10019, 1377, 312, 67, 1442, 966, 1528, 18, 542, 15470, 12, 5743, 1769, 1377, 312, 67, 2640, 8500, 273, 629, 31, 2868, 312, 67, 17648, 273, 446, 31, 1307, 1377, 312, 67, 4867, 5636, 273, 446, 31, 1377, 312, 67, 2704, 9186, 1616, 273, 394, 13037, 5621, 1377, 312, 67, 9446, 82, 5636, 273, 394, 509, 63, 2211, 18, 588, 2384, 1435, 6362, 2211, 18, 588, 2686, 1435, 15533, 1377, 527, 9186, 2223, 12, 2704, 17013, 4216, 1435, 288, 202, 225, 368, 1307, 2 ]
if(checkHasIncoming(offlineTaskHandler, repositoryTask, downloadedTaskData)) {
if (checkHasIncoming(repositoryTask, newTaskData)) {
void updateOfflineState(final AbstractRepositoryTask repositoryTask, boolean forceSync) { IOfflineTaskHandler offlineTaskHandler = getOfflineTaskHandler(); if (offlineTaskHandler == null) { return; } RepositoryTaskSyncState status = repositoryTask.getSyncState(); RepositoryTaskData downloadedTaskData = null; try { downloadedTaskData = offlineTaskHandler.downloadTaskData(repositoryTask); if (downloadedTaskData == null) { MylarStatusHandler.log("Download of " + repositoryTask.getDescription() + " from " + repositoryTask.getRepositoryUrl() + " failed.", this); return; } RepositoryTaskData offlineTaskData = OfflineTaskManager.findBug(downloadedTaskData.getRepositoryUrl(), downloadedTaskData.getId()); switch (status) { case OUTGOING: // Should not occur if forceSync = false case CONFLICT: if (offlineTaskData != null) { PlatformUI.getWorkbench().getDisplay().syncExec(new Runnable() { public void run() { updateLocalCopy = MessageDialog .openQuestion( null, "Update Local Copy", "Local copy of Report " + repositoryTask.getDescription() + " on " + repositoryTask.getRepositoryUrl() + " has changes.\nWould you like to override local changes? \n\nNote: if you select No, only the new comment will be saved with the updated bug, all other changes will be lost."); } }); if (!updateLocalCopy) { downloadedTaskData.setNewComment(offlineTaskData.getNewComment()); downloadedTaskData.setHasChanged(true); status = RepositoryTaskSyncState.CONFLICT; } else { downloadedTaskData.setHasChanged(false); status = RepositoryTaskSyncState.SYNCHRONIZED; } } else { downloadedTaskData.setHasChanged(false); status = RepositoryTaskSyncState.SYNCHRONIZED; } break; case INCOMING: status = RepositoryTaskSyncState.SYNCHRONIZED; break; case SYNCHRONIZED: if(checkHasIncoming(offlineTaskHandler, repositoryTask, downloadedTaskData)) { status = RepositoryTaskSyncState.INCOMING; } break; } if (offlineTaskData != null) { removeOfflineTaskData(offlineTaskData); } repositoryTask.setModifiedDateStamp(downloadedTaskData.getLastModified()); repositoryTask.setTaskData(downloadedTaskData); repositoryTask.setSyncState(status); saveOffline(downloadedTaskData); } catch (final CoreException e) { if (forceSync) { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { ErrorDialog.openError(PlatformUI.getWorkbench().getDisplay().getActiveShell(), "Error Downloading Report", "Unable to synchronize " + repositoryTask.getDescription(), e.getStatus()); } }); } // else { // MylarStatusHandler.fail(e, "Unable to synchronize " + // repositoryTask.getDescription() // + " on " + repository.getUrl(), false); // } return; } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/9c70046356bb18799feefa0f6c258022375e3f10/AbstractRepositoryConnector.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/AbstractRepositoryConnector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1089, 23106, 1119, 12, 6385, 4115, 3305, 2174, 3352, 2174, 16, 1250, 2944, 4047, 13, 288, 202, 202, 45, 23106, 2174, 1503, 13493, 2174, 1503, 273, 336, 23106, 2174, 1503, 5621, 202, 202, 430, 261, 23787, 2174, 1503, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 3305, 2174, 4047, 1119, 1267, 273, 3352, 2174, 18, 588, 4047, 1119, 5621, 202, 202, 3305, 2174, 751, 13549, 2174, 751, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 2378, 4230, 2174, 751, 273, 13493, 2174, 1503, 18, 7813, 2174, 751, 12, 9071, 2174, 1769, 1082, 202, 430, 261, 2378, 4230, 2174, 751, 422, 446, 13, 288, 9506, 202, 12062, 7901, 1482, 1503, 18, 1330, 2932, 7109, 434, 315, 397, 3352, 2174, 18, 588, 3291, 1435, 397, 315, 628, 315, 25083, 202, 15, 3352, 2174, 18, 588, 3305, 1489, 1435, 397, 315, 2535, 1199, 16, 333, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 3305, 2174, 751, 13493, 2174, 751, 273, 29708, 2174, 1318, 18, 4720, 19865, 12, 2378, 4230, 2174, 751, 18, 588, 3305, 1489, 9334, 6862, 202, 2378, 4230, 2174, 751, 18, 26321, 10663, 1082, 202, 9610, 261, 2327, 13, 288, 1082, 202, 3593, 8210, 16387, 1360, 30, 9506, 202, 759, 9363, 486, 3334, 309, 2944, 4047, 273, 629, 1082, 202, 3593, 18733, 29280, 30, 9506, 202, 430, 261, 23787, 2174, 751, 480, 446, 13, 288, 6862, 202, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 4236, 7675, 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, 6459, 1089, 23106, 1119, 12, 6385, 4115, 3305, 2174, 3352, 2174, 16, 1250, 2944, 4047, 13, 288, 202, 202, 45, 23106, 2174, 1503, 13493, 2174, 1503, 273, 336, 23106, 2174, 1503, 5621, 202, 202, 430, 261, 23787, 2174, 1503, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 3305, 2174, 4047, 1119, 1267, 273, 3352, 2174, 18, 588, 4047, 1119, 5621, 202, 202, 3305, 2174, 751, 13549, 2174, 751, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 2378, 4230, 2174, 751, 273, 13493, 2174, 1503, 18, 7813, 2174, 751, 12, 9071, 2174, 1769, 1082, 202, 430, 261, 2378, 4230, 2174, 751, 422, 446, 13, 288, 9506, 202, 12062, 7901, 1482, 1503, 18, 2 ]
new ActionError("error.password.match"));
new ActionMessage("error.password.match"));
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { // Perform validator framework validations ActionErrors errors = super.validate(mapping, request); // Only need crossfield validations here if (((password == null) && (password2 != null)) || ((password != null) && (password2 == null)) || ((password != null) && (password2 != null) && !password.equals(password2))) { errors.add("password2", new ActionError("error.password.match")); } return errors; }
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/72d33bf309e4ac9f04db4f8adca1e3f3436fff00/RegistrationForm.java/clean/apps/faces-example2/src/main/java/org/apache/struts/webapp/example2/RegistrationForm.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 4229, 1954, 12, 1803, 3233, 2874, 16, 4766, 9984, 590, 13, 288, 3639, 368, 11217, 4213, 8257, 20808, 3639, 4382, 4229, 1334, 273, 2240, 18, 5662, 12, 6770, 16, 590, 1769, 3639, 368, 5098, 1608, 6828, 1518, 20808, 2674, 3639, 309, 261, 12443, 3664, 422, 446, 13, 597, 261, 3664, 22, 480, 446, 3719, 747, 5411, 14015, 3664, 480, 446, 13, 597, 261, 3664, 22, 422, 446, 3719, 747, 5411, 14015, 3664, 480, 446, 13, 597, 261, 3664, 22, 480, 446, 13, 597, 2398, 401, 3664, 18, 14963, 12, 3664, 22, 20349, 288, 5411, 1334, 18, 1289, 2932, 3664, 22, 3113, 15604, 394, 4382, 1079, 2932, 1636, 18, 3664, 18, 1916, 7923, 1769, 3639, 289, 3639, 327, 1334, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 4229, 1954, 12, 1803, 3233, 2874, 16, 4766, 9984, 590, 13, 288, 3639, 368, 11217, 4213, 8257, 20808, 3639, 4382, 4229, 1334, 273, 2240, 18, 5662, 12, 6770, 16, 590, 1769, 3639, 368, 5098, 1608, 6828, 1518, 20808, 2674, 3639, 309, 261, 12443, 3664, 422, 446, 13, 597, 261, 3664, 22, 480, 446, 3719, 747, 5411, 14015, 3664, 480, 446, 13, 597, 261, 3664, 22, 422, 446, 3719, 747, 5411, 14015, 3664, 480, 446, 13, 597, 261, 3664, 22, 480, 446, 13, 597, 2398, 401, 3664, 18, 14963, 12, 3664, 22, 20349, 288, 5411, 1334, 18, 1289, 2932, 3664, 22, 3113, 15604, 394, 4382, 1079, 2932, 1636, 18, 3664, 18, 1916, 7923, 1769, 3639, 289, 3639, 2 ]
_t = __t1582;
_t = __t1583;
public final void messagestate(AST _t) throws RecognitionException { AST messagestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1562 = _t; AST tmp955_AST_in = (AST)_t; match(_t,MESSAGE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLOR: { AST __t1564 = _t; AST tmp956_AST_in = (AST)_t; match(_t,COLOR); _t = _t.getFirstChild(); anyorvalue(_t); _t = _retTree; _t = __t1564; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case IN_KW: case SET: case UPDATE: case VIEWAS: case Form_item: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1568: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Form_item)) { AST __t1566 = _t; AST tmp957_AST_in = (AST)_t; match(_t,Form_item); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; if ((_t.getType()==SKIP)) { skipphrase(_t); _t = _retTree; } else if ((_tokenSet_4.member(_t.getType()))) { expression(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } } _t = __t1566; _t = _t.getNextSibling(); } else { break _loop1568; } } while (true); } { _loop1580: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VIEWAS: { AST __t1570 = _t; AST tmp958_AST_in = (AST)_t; match(_t,VIEWAS); _t = _t.getFirstChild(); AST tmp959_AST_in = (AST)_t; match(_t,ALERTBOX); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case MESSAGE: { AST tmp960_AST_in = (AST)_t; match(_t,MESSAGE); _t = _t.getNextSibling(); break; } case QUESTION: { AST tmp961_AST_in = (AST)_t; match(_t,QUESTION); _t = _t.getNextSibling(); break; } case INFORMATION: { AST tmp962_AST_in = (AST)_t; match(_t,INFORMATION); _t = _t.getNextSibling(); break; } case ERROR: { AST tmp963_AST_in = (AST)_t; match(_t,ERROR); _t = _t.getNextSibling(); break; } case WARNING: { AST tmp964_AST_in = (AST)_t; match(_t,WARNING); _t = _t.getNextSibling(); break; } case 3: case BUTTONS: case TITLE: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BUTTONS: { AST tmp965_AST_in = (AST)_t; match(_t,BUTTONS); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case YESNO: { AST tmp966_AST_in = (AST)_t; match(_t,YESNO); _t = _t.getNextSibling(); break; } case YESNOCANCEL: { AST tmp967_AST_in = (AST)_t; match(_t,YESNOCANCEL); _t = _t.getNextSibling(); break; } case OK: { AST tmp968_AST_in = (AST)_t; match(_t,OK); _t = _t.getNextSibling(); break; } case OKCANCEL: { AST tmp969_AST_in = (AST)_t; match(_t,OKCANCEL); _t = _t.getNextSibling(); break; } case RETRYCANCEL: { AST tmp970_AST_in = (AST)_t; match(_t,RETRYCANCEL); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } break; } case 3: case TITLE: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TITLE: { AST __t1575 = _t; AST tmp971_AST_in = (AST)_t; match(_t,TITLE); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1575; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1570; _t = _t.getNextSibling(); break; } case SET: { AST __t1576 = _t; AST tmp972_AST_in = (AST)_t; match(_t,SET); _t = _t.getFirstChild(); field(_t); _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 = __t1576; _t = _t.getNextSibling(); break; } case UPDATE: { AST __t1578 = _t; AST tmp973_AST_in = (AST)_t; match(_t,UPDATE); _t = _t.getFirstChild(); field(_t); _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 = __t1578; _t = _t.getNextSibling(); break; } default: { break _loop1580; } } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case IN_KW: { AST __t1582 = _t; AST tmp974_AST_in = (AST)_t; match(_t,IN_KW); _t = _t.getFirstChild(); AST tmp975_AST_in = (AST)_t; match(_t,WINDOW); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t1582; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t1562; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 12755, 346, 395, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 12755, 346, 395, 340, 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, 3600, 8898, 273, 389, 88, 31, 202, 202, 9053, 1853, 29, 2539, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 8723, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 15590, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3600, 1105, 273, 389, 88, 31, 1082, 202, 9053, 1853, 29, 4313, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 10989, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 2273, 280, 1132, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 67, 88, 273, 1001, 88, 3600, 1105, 31, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 6431, 30, 202, 202, 3593, 10950, 21054, 30, 202, 202, 3593, 2120, 67, 30134, 30, 202, 202, 3593, 7855, 30, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 12755, 346, 395, 340, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 12755, 346, 395, 340, 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, 3600, 8898, 273, 389, 88, 31, 202, 202, 9053, 1853, 29, 2539, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 8723, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 2 ]
public DescriptorValue calculate(AtomContainer ac) throws CDKException { RingSet rs = (new AllRingsFinder()).findAllRings(ac); HueckelAromaticityDetector.detectAromaticity(ac, rs, true); double xlogP = 0; org.openscience.cdk.interfaces.Atom[] atoms = ac.getAtoms(); String symbol = ""; int bondCount = 0; int hsCount = 0; double maxBondOrder = 0; for (int i = 0; i < atoms.length; i++) { symbol = atoms[i].getSymbol(); bondCount = ac.getBondCount(atoms[i]); hsCount = getHydrogenCount(ac, atoms[i]); maxBondOrder = ac.getMaximumBondOrder(atoms[i]); if (symbol.equals("C")) { if (bondCount == 2) { // C sp if (hsCount >= 1) { xlogP += 0.209; // // System.out...println("XLOGP: 1"); } else { if (maxBondOrder == 2.0) { xlogP += 2.073; // // System.out...println("XLOGP: 2"); } else if (maxBondOrder == 3.0) { xlogP += 0.33; // // System.out...println("XLOGP: 3"); } } } if (bondCount == 3) { // C sp2 if (atoms[i].getFlag(CDKConstants.ISAROMATIC)) { if (getAromaticCarbonsCount(ac, atoms[i]) == 2) { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.296; // // System.out...println("XLOGP: 4"); } else { xlogP -= 0.151; // // System.out...println("XLOGP: 5"); } } else { xlogP += 0.337; // // System.out...println("XLOGP: 6"); } } else if (getAromaticCarbonsCount(ac, atoms[i]) < 2 && getAromaticNitrogensCount(ac, atoms[i]) > 1) { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.174; // // System.out...println("XLOGP: 7"); } else { xlogP += 0.366; // // System.out...println("XLOGP: 8"); } } else if (getHydrogenCount(ac, atoms[i]) == 1) { xlogP += 0.126; // // System.out...println("XLOGP: 9"); } } } else { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.05; // // System.out...println("XLOGP: 10"); } else { xlogP += 0.013; // // System.out...println("XLOGP: 11"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.03; // // System.out...println("XLOGP: 12"); } else { xlogP -= 0.027; // // System.out...println("XLOGP: 13"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 2) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.005; // // System.out...println("XLOGP: 14"); } else { xlogP -= 0.315; // // System.out...println("XLOGP: 15"); } } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.466; // // System.out...println("XLOGP: 16"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.136; // // System.out...println("XLOGP: 17"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.001; // // System.out...println("XLOGP: 18"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.31; // // System.out...println("XLOGP: 19"); } } } if (hsCount == 2) { xlogP += 0.42; // // System.out...println("XLOGP: 20"); } } if (getIfCarbonIsHydrophobic(ac, atoms[i]) >= 0) { xlogP += 0.211; // // System.out...println("XLOGP: 21"); } } if (bondCount == 4) { // C sp3 if (getIfCarbonIsHydrophobic(ac, atoms[i]) >= 0) { xlogP += 0.211; // // System.out...println("XLOGP: 22"); } if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.006; // // System.out...println("XLOGP: 23"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.57; // // System.out...println("XLOGP: 24"); } if (getPiSystemsCount(ac, atoms[i]) >= 2) { xlogP -= 0.317; // // System.out...println("XLOGP: 25"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.316; // // System.out...println("XLOGP: 26"); } else { xlogP -= 0.723; // // System.out...println("XLOGP: 27"); } } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.127; // // System.out...println("XLOGP: 28"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.243; // // System.out...println("XLOGP: 29"); } if (getPiSystemsCount(ac, atoms[i]) >= 2) { xlogP -= 0.499; // // System.out...println("XLOGP: 30"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.205; // // System.out...println("XLOGP: 31"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.305; // // System.out...println("XLOGP: 32"); } if (getPiSystemsCount(ac, atoms[i]) >= 2) { xlogP -= 0.709; // // System.out...println("XLOGP: 33"); } } } if (hsCount == 2) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.358; // // System.out...println("XLOGP: 34"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.008; // // System.out...println("XLOGP: 35"); } if (getPiSystemsCount(ac, atoms[i]) == 2) { xlogP -= 0.185; // // System.out...println("XLOGP: 36"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.137; // // System.out...println("XLOGP: 37"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.303; // // System.out...println("XLOGP: 38"); } if (getPiSystemsCount(ac, atoms[i]) == 2) { xlogP -= 0.815; // // System.out...println("XLOGP: 39"); } } } if (hsCount > 2) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.528; // // System.out...println("XLOGP: 40"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.267; // // System.out...println("XLOGP: 41"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.032; // // System.out...println("XLOGP: 42"); } } } } if (symbol.equals("N")) { if (ac.getBondOrderSum(atoms[i]) == 5.0) { xlogP += 1.178; // // System.out...println("XLOGP: 43"); } // NO2 else { if (getPresenceOfCarbonil(ac, atoms[i]) == 1) { // amidic nitrogen if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.078; // // System.out...println("XLOGP: 44"); } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.118; // // System.out...println("XLOGP: 45"); } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP -= 0.096; // // System.out...println("XLOGP: 46"); } else { xlogP -= 0.044; // // System.out...println("XLOGP: 47"); } } if (hsCount == 2) { xlogP -= 0.646; // // System.out...println("XLOGP: 48"); } } else { if (bondCount == 1) { // -C#N if (getCarbonsCount(ac, atoms[i]) == 1) { xlogP -= 0.566; // // System.out...println("XLOGP: 49"); } } if (bondCount == 2) { // N sp2 if (atoms[i].getFlag(CDKConstants.ISAROMATIC)) { xlogP -= 0.493; // // System.out...println("XLOGP: 50"); } else { if (getDoubleBondedCarbonsCount(ac, atoms[i]) == 0) { if (getDoubleBondedNitrogenCount(ac, atoms[i]) == 0) { if (getDoubleBondedOxygenCount(ac, atoms[i]) == 1) { xlogP += 0.427; // // System.out...println("XLOGP: 51"); } } if (getDoubleBondedNitrogenCount(ac, atoms[i]) == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.536; // // System.out...println("XLOGP: 52"); } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.597; // // System.out...println("XLOGP: 53"); } } } if (getDoubleBondedCarbonsCount(ac, atoms[i]) == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.007; // // System.out...println("XLOGP: 54"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.275; // // System.out...println("XLOGP: 55"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.366; // // System.out...println("XLOGP: 56"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.251; // // System.out...println("XLOGP: 57"); } } } } } if (bondCount == 3) { // N sp3 if (hsCount == 0) { if (rs.contains(atoms[i])) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.881; // // System.out...println("XLOGP: 58"); } else { xlogP -= 0.01; // // System.out...println("XLOGP: 59"); } } else { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.159; // // System.out...println("XLOGP: 60"); } if (getPiSystemsCount(ac, atoms[i]) > 0) { xlogP += 0.761; // // System.out...println("XLOGP: 61"); } } else { xlogP -= 0.239; } } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (atoms[i].getFlag(CDKConstants.ISAROMATIC)) { xlogP += 0.545; // // System.out...println("XLOGP: 62"); } // like pyrrole else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.112; // // System.out...println("XLOGP: 63"); } if (getPiSystemsCount(ac, atoms[i]) > 0) { xlogP += 0.166; // // System.out...println("XLOGP: 64"); } } } else { if (rs.contains(atoms[i])) { xlogP += 0.153; // // System.out...println("XLOGP: 65"); } else { xlogP += 0.324; // // System.out...println("XLOGP: 66"); } } } if (hsCount == 2) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.534; // // System.out...println("XLOGP: 66"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.329; // // System.out...println("XLOGP: 67"); } } else { xlogP -= 1.082; // // System.out...println("XLOGP: 68"); } } } } } } if (symbol.equals("O")) { if (bondCount == 1) { xlogP -= 0.399; // // System.out...println("XLOGP: 69"); } if (bondCount == 2) { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.084; // // System.out...println("XLOGP: 70"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.435; // // System.out...println("XLOGP: 71"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP += 0.105; // // System.out...println("XLOGP: 72"); } } else { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.467; // // System.out...println("XLOGP: 73"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.082; // // System.out...println("XLOGP: 74"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.522; // // System.out...println("XLOGP: 75"); } } } } if (symbol.equals("S")) { if (bondCount == 1) { xlogP -= 0.148; // // System.out...println("XLOGP: 76"); } if (bondCount == 2) { if (hsCount == 0) { xlogP += 0.255; // // System.out...println("XLOGP: 77"); } else { xlogP += 0.419; // // System.out...println("XLOGP: 78"); } } if (bondCount == 3) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 1.375; // // System.out...println("XLOGP: 79"); } } if (bondCount == 4) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 2) { xlogP -= 0.168; // // System.out...println("XLOGP: 80"); } } } if (symbol.equals("P")) { if (getDoubleBondedSulfurCount(ac, atoms[i]) == 1) { xlogP += 1.253; // // System.out...println("XLOGP: 81"); } if (getDoubleBondedOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.477; // // System.out...println("XLOGP: 82"); } } if (symbol.equals("F")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.375; // // System.out...println("XLOGP: 84"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.202; // // System.out...println("XLOGP: 85"); } } if (symbol.equals("Cl")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.512; // // System.out...println("XLOGP: 86"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.663; // // System.out...println("XLOGP: 87"); } } if (symbol.equals("Br")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.85; // // System.out...println("XLOGP: 88"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.839; // // System.out...println("XLOGP: 89"); } } if (symbol.equals("I")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 1.05; // // System.out...println("XLOGP: 90"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 1.109; // // System.out...println("XLOGP: 91"); } } if (getAlogenCount(ac, atoms[i]) >= 2) { xlogP += 0.137; // // System.out...println("XLOGP: 92"); } // more than 2 alogens on the same atom if (getPresenceOfCarbonil(ac, atoms[i]) == 2) {// sp2 oxygen 1-5 pair if(!rs.contains(atoms[i])) { xlogP += 0.580; } } } Descriptor acc = new HBondAcceptorCountDescriptor(); Object[] paramsAcc = {new Boolean(false)}; acc.setParameters(paramsAcc); Descriptor don = new HBondDonorCountDescriptor(); Object[] paramsDon = {new Boolean(false)}; don.setParameters(paramsDon); int acceptors = ((IntegerResult) acc.calculate(ac).getValue()).intValue(); int donors = ((IntegerResult) don.calculate(ac).getValue()).intValue(); if (donors > 0 && acceptors > 0) { xlogP += 0.429; // internal H-bonds } SmilesParser sp = new SmilesParser(); AtomContainer paba = sp.parseSmiles("CS(=O)(=O)c1ccc(N)cc1"); // p-amino sulphonic acid if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, paba)) { xlogP -= 0.501; } AtomContainer aminoacid = sp.parseSmiles("NC=O"); // alpha amino acid if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, aminoacid)) { xlogP -= 2.166; } AtomContainer salicilic = sp.parseSmiles("O=C(O)c1ccccc1O"); // salicylic acid if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, salicilic)) { xlogP += 0.554; } AtomContainer orthopair = sp.parseSmiles("OCCO"); // ortho oxygen pair if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, orthopair)) { xlogP -= 0.268; } return new DescriptorValue(getSpecification(), getParameterNames(), getParameters(), new DoubleResult(xlogP)); }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/11cd872c3dbcc51a117ad375706e7a5334b88daa/XLogPDescriptor.java/clean/src/org/openscience/cdk/qsar/XLogPDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12823, 620, 4604, 12, 3641, 2170, 1721, 13, 1216, 24570, 288, 202, 202, 10369, 694, 3597, 273, 261, 2704, 4826, 54, 899, 8441, 1435, 2934, 4720, 1595, 54, 899, 12, 1077, 1769, 202, 202, 44, 344, 363, 292, 37, 27468, 560, 12594, 18, 16518, 37, 27468, 560, 12, 1077, 16, 3597, 16, 638, 1769, 202, 202, 9056, 619, 1330, 52, 273, 374, 31, 202, 202, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 3641, 8526, 9006, 273, 1721, 18, 588, 14280, 5621, 202, 202, 780, 3273, 273, 1408, 31, 202, 202, 474, 8427, 1380, 273, 374, 31, 202, 202, 474, 12670, 1380, 273, 374, 31, 202, 202, 9056, 943, 9807, 2448, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 9006, 18, 2469, 31, 277, 27245, 288, 1082, 202, 7175, 273, 9006, 63, 77, 8009, 588, 5335, 5621, 1082, 202, 26425, 1380, 273, 1721, 18, 588, 9807, 1380, 12, 14937, 63, 77, 19226, 1082, 202, 4487, 1380, 273, 7628, 93, 24096, 1380, 12, 1077, 16, 9006, 63, 77, 19226, 1082, 202, 1896, 9807, 2448, 273, 1721, 18, 588, 13528, 9807, 2448, 12, 14937, 63, 77, 19226, 1082, 202, 430, 261, 7175, 18, 14963, 2932, 39, 6, 3719, 288, 9506, 202, 430, 261, 26425, 1380, 422, 576, 13, 288, 6862, 202, 759, 385, 1694, 6862, 202, 430, 261, 4487, 1380, 1545, 404, 13, 288, 25083, 202, 92, 1330, 52, 1011, 374, 18, 3462, 29, 31, 25083, 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, 12823, 620, 4604, 12, 3641, 2170, 1721, 13, 1216, 24570, 288, 202, 202, 10369, 694, 3597, 273, 261, 2704, 4826, 54, 899, 8441, 1435, 2934, 4720, 1595, 54, 899, 12, 1077, 1769, 202, 202, 44, 344, 363, 292, 37, 27468, 560, 12594, 18, 16518, 37, 27468, 560, 12, 1077, 16, 3597, 16, 638, 1769, 202, 202, 9056, 619, 1330, 52, 273, 374, 31, 202, 202, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 3641, 8526, 9006, 273, 1721, 18, 588, 14280, 5621, 202, 202, 780, 3273, 273, 1408, 31, 202, 202, 474, 8427, 1380, 273, 374, 31, 202, 202, 474, 12670, 1380, 273, 374, 31, 202, 202, 9056, 943, 9807, 2448, 273, 374, 2 ]
sorter.sort(mapFiles, sortedFile, true);
sorter.sort(mapFiles, sortedFile, !conf.getKeepFailedTaskFiles());
public void run(JobConf job, final TaskUmbilicalProtocol umbilical) throws IOException { Class valueClass = job.getMapOutputValueClass(); Reducer reducer = (Reducer)job.newInstance(job.getReducerClass()); reducer.configure(job); FileSystem lfs = FileSystem.getNamed("local", job); copyPhase.complete(); // copy is already complete // open a file to collect map output Path[] mapFiles = new Path[numMaps]; for(int i=0; i < numMaps; i++) { mapFiles[i] = mapOutputFile.getInputFile(i, getTaskId()); } // spawn a thread to give sort progress heartbeats Thread sortProgress = new Thread() { public void run() { while (!sortComplete) { try { reportProgress(umbilical); Thread.sleep(PROGRESS_INTERVAL); } catch (InterruptedException e) { return; } catch (Throwable e) { System.out.println("Thread Exception in " + "reporting sort progress\n" + StringUtils.stringifyException(e)); continue; } } } }; sortProgress.setName("Sort progress reporter for task "+getTaskId()); Path sortedFile = job.getLocalPath(getTaskId()+Path.SEPARATOR+"all.2"); WritableComparator comparator = job.getOutputKeyComparator(); try { sortProgress.start(); // sort the input file SequenceFile.Sorter sorter = new SequenceFile.Sorter(lfs, comparator, valueClass, job); sorter.sort(mapFiles, sortedFile, true); // sort } finally { sortComplete = true; } sortPhase.complete(); // sort is complete Reporter reporter = getReporter(umbilical, getProgress()); // make output collector String name = getOutputName(getPartition()); final RecordWriter out = job.getOutputFormat().getRecordWriter(FileSystem.get(job), job, name, reporter); OutputCollector collector = new OutputCollector() { public void collect(WritableComparable key, Writable value) throws IOException { out.write(key, value); reportProgress(umbilical); } }; // apply reduce function SequenceFile.Reader in = new SequenceFile.Reader(lfs, sortedFile, job); long length = lfs.getLength(sortedFile); try { ValuesIterator values = new ValuesIterator(in, length, comparator, umbilical); while (values.more()) { reducer.reduce(values.getKey(), values, collector, reporter); values.nextKey(); } } finally { reducer.close(); in.close(); lfs.delete(sortedFile); // remove sorted out.close(reporter); } done(umbilical); }
50331 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50331/dd12a4a249a7c446be8f98ca117eae616f798abd/ReduceTask.java/buggy/src/java/org/apache/hadoop/mapred/ReduceTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1086, 12, 2278, 3976, 1719, 16, 727, 3837, 57, 1627, 330, 1706, 5752, 225, 3592, 330, 1706, 13, 565, 1216, 1860, 288, 565, 1659, 460, 797, 273, 1719, 18, 588, 863, 1447, 620, 797, 5621, 565, 4621, 89, 2750, 20636, 273, 261, 26369, 13, 4688, 18, 2704, 1442, 12, 4688, 18, 588, 26369, 797, 10663, 565, 20636, 18, 14895, 12, 4688, 1769, 565, 10931, 328, 2556, 273, 10931, 18, 588, 7604, 2932, 3729, 3113, 1719, 1769, 565, 1610, 11406, 18, 6226, 5621, 7682, 368, 1610, 353, 1818, 3912, 565, 368, 1696, 279, 585, 358, 3274, 852, 876, 565, 2666, 8526, 852, 2697, 273, 394, 2666, 63, 2107, 8903, 15533, 565, 364, 12, 474, 277, 33, 20, 31, 277, 411, 818, 8903, 31, 277, 27245, 288, 1377, 852, 2697, 63, 77, 65, 273, 852, 1447, 812, 18, 588, 1210, 812, 12, 77, 16, 11478, 548, 10663, 565, 289, 565, 368, 12560, 279, 2650, 358, 8492, 1524, 4007, 3904, 7646, 2323, 565, 4884, 1524, 5491, 273, 394, 4884, 1435, 288, 3639, 1071, 918, 1086, 1435, 288, 1850, 1323, 16051, 3804, 6322, 13, 288, 5411, 775, 288, 2868, 2605, 5491, 12, 3592, 330, 1706, 1769, 2868, 4884, 18, 19607, 12, 24022, 67, 16435, 1769, 5411, 289, 1044, 261, 24485, 503, 425, 13, 288, 7734, 327, 31, 5411, 289, 1044, 261, 15155, 425, 13, 288, 7734, 2332, 18, 659, 18, 8222, 2932, 3830, 1185, 316, 315, 397, 4766, 282, 315, 20904, 1524, 4007, 64, 82, 6, 397, 4766, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1086, 12, 2278, 3976, 1719, 16, 727, 3837, 57, 1627, 330, 1706, 5752, 225, 3592, 330, 1706, 13, 565, 1216, 1860, 288, 565, 1659, 460, 797, 273, 1719, 18, 588, 863, 1447, 620, 797, 5621, 565, 4621, 89, 2750, 20636, 273, 261, 26369, 13, 4688, 18, 2704, 1442, 12, 4688, 18, 588, 26369, 797, 10663, 565, 20636, 18, 14895, 12, 4688, 1769, 565, 10931, 328, 2556, 273, 10931, 18, 588, 7604, 2932, 3729, 3113, 1719, 1769, 565, 1610, 11406, 18, 6226, 5621, 7682, 368, 1610, 353, 1818, 3912, 565, 368, 1696, 279, 585, 358, 3274, 852, 876, 565, 2666, 8526, 852, 2697, 273, 394, 2666, 63, 2107, 8903, 15533, 565, 364, 12, 474, 277, 33, 20, 2 ]
public void testOneJUnitError() throws Exception { if (printMessages) System.out.println("----testOneJUnitError-----"); OpenDefinitionsDocument doc = setupDocument(MONKEYTEST_FAIL_TEXT); final File file = new File(_tempDir, "MonkeyTestFail.java"); doc.saveFile(new FileSelector(file)); JUnitTestListener listener = new JUnitTestListener(); _model.addListener(listener); if (printMessages) System.out.println("before compile"); // Doesn't reset interactions because interpreter is not used doc.startCompile(); if (printMessages) System.out.println("after compile"); synchronized(listener) { doc.startJUnit(); if (printMessages) System.out.println("waiting for test"); listener.wait(); } if (printMessages) System.out.println("after test"); assertEquals("test case has one error reported", 1, _model.getJUnitModel().getJUnitErrorModel().getNumErrors()); _model.removeListener(listener); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/070ce5905e33fc289f79bfc0035862d6493d03f5/GlobalModelJUnitTest.java/clean/drjava/src/edu/rice/cs/drjava/model/GlobalModelJUnitTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3813, 3335, 46, 2802, 668, 1435, 15069, 503, 95, 430, 12, 1188, 5058, 13, 3163, 18, 659, 18, 8222, 2932, 553, 3813, 3335, 46, 2802, 668, 13465, 8863, 3678, 7130, 2519, 2434, 33, 8401, 2519, 12, 17667, 3297, 16961, 67, 12319, 67, 5151, 1769, 6385, 812, 768, 33, 2704, 812, 24899, 5814, 1621, 10837, 11415, 856, 4709, 3754, 18, 6290, 8863, 2434, 18, 5688, 812, 12, 2704, 812, 4320, 12, 768, 10019, 46, 2802, 4709, 2223, 12757, 33, 2704, 46, 2802, 4709, 2223, 5621, 67, 2284, 18, 1289, 2223, 12, 12757, 1769, 430, 12, 1188, 5058, 13, 3163, 18, 659, 18, 8222, 2932, 5771, 11100, 8863, 759, 10154, 82, 1404, 6208, 2761, 4905, 26274, 2761, 11599, 291, 902, 1202, 449, 504, 18, 1937, 9937, 5621, 430, 12, 1188, 5058, 13, 3163, 18, 659, 18, 8222, 2932, 5205, 11100, 8863, 22043, 12, 12757, 15329, 2434, 18, 1937, 46, 2802, 5621, 430, 12, 1188, 5058, 13, 3163, 18, 659, 18, 8222, 2932, 20241, 18850, 395, 8863, 12757, 18, 7048, 5621, 97, 430, 12, 1188, 5058, 13, 3163, 18, 659, 18, 8222, 2932, 5205, 3813, 8863, 11231, 8867, 2932, 3813, 3593, 5332, 476, 1636, 266, 1798, 3113, 21, 16, 67, 2284, 18, 588, 46, 2802, 1488, 7675, 588, 46, 2802, 668, 1488, 7675, 588, 2578, 4229, 10663, 67, 2284, 18, 4479, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3813, 3335, 46, 2802, 668, 1435, 15069, 503, 95, 430, 12, 1188, 5058, 13, 3163, 18, 659, 18, 8222, 2932, 553, 3813, 3335, 46, 2802, 668, 13465, 8863, 3678, 7130, 2519, 2434, 33, 8401, 2519, 12, 17667, 3297, 16961, 67, 12319, 67, 5151, 1769, 6385, 812, 768, 33, 2704, 812, 24899, 5814, 1621, 10837, 11415, 856, 4709, 3754, 18, 6290, 8863, 2434, 18, 5688, 812, 12, 2704, 812, 4320, 12, 768, 10019, 46, 2802, 4709, 2223, 12757, 33, 2704, 46, 2802, 4709, 2223, 5621, 67, 2284, 18, 1289, 2223, 12, 12757, 1769, 430, 12, 1188, 5058, 13, 3163, 18, 659, 18, 8222, 2932, 5771, 11100, 8863, 759, 10154, 82, 1404, 6208, 2761, 4905, 26274, 2761, 11599, 291, 2 ]
writer.write(" virtual ~ZooAnimal() { delete name; }\n" );
public void testFieldDefinition() throws Exception { Writer writer = new StringWriter(); writer.write(" #include <string.h> \n" ); //$NON-NLS-1$ writer.write(" enum ZooLocs {ZOOANIMAL, BEAR, PANDA};\n" ); //$NON-NLS-1$ writer.write(" namespace zoo { \n" ); //$NON-NLS-1$ writer.write(" int foo;//vardefn, vardecl \n" ); //$NON-NLS-1$ writer.write(" class ZooAnimal{ \n" ); //$NON-NLS-1$ writer.write(" public: \n" ); //$NON-NLS-1$ writer.write(" ZooAnimal(char *s = \"ZooAnimal\"); \n" ); //$NON-NLS-1$ writer.write(" virtual ~ZooAnimal() { delete name; }\n" ); //$NON-NLS-1$ writer.write(" protected: \n" ); //$NON-NLS-1$ writer.write(" char *name;//fielddefn,decl \n" ); //$NON-NLS-1$ writer.write(" ZooAnimal *next;//fielddefn,decl \n" ); //$NON-NLS-1$ writer.write(" }; \n" ); //$NON-NLS-1$ writer.write(" class Mammal{ \n" ); //$NON-NLS-1$ writer.write(" public: \n" ); //$NON-NLS-1$ writer.write(" Mammal(bool b); \n" ); //$NON-NLS-1$ writer.write(" ~Mammal(){} \n" ); //$NON-NLS-1$ writer.write(" protected: \n" ); //$NON-NLS-1$ writer.write(" bool isCarnivore;//fielddefn,decl \n" ); //$NON-NLS-1$ writer.write(" }; \n" ); //$NON-NLS-1$ writer.write(" class Bear : public ZooAnimal, Mammal{\n" ); //$NON-NLS-1$ writer.write(" public: \n" ); //$NON-NLS-1$ writer.write(" Bear( char *s = \"Bear\", ZooLocs loc = BEAR, char *sci = \"Ursidae\" );\n" ); //$NON-NLS-1$ writer.write(" ~Bear(); \n" ); //$NON-NLS-1$ writer.write(" protected: \n" ); //$NON-NLS-1$ writer.write(" char *sciName;//fielddefn,decl \n" ); //$NON-NLS-1$ writer.write(" ZooLocs zooArea;//fielddefn,decl \n" ); //$NON-NLS-1$ writer.write(" }; \n" ); //$NON-NLS-1$ writer.write(" } \n" ); //$NON-NLS-1$ writer.write(" using namespace zoo; \n" ); //$NON-NLS-1$ writer.write(" ZooAnimal::ZooAnimal(char *s) : next (0){\n" ); //$NON-NLS-1$ writer.write(" name=new char[ strlen(s) +1]; \n" ); //$NON-NLS-1$ writer.write(" strcpy(name,s); \n" ); //$NON-NLS-1$ writer.write(" } \n" ); //$NON-NLS-1$ writer.write(" Mammal::Mammal(bool b) : isCarnivore (b) {}\n" ); //$NON-NLS-1$ writer.write(" Bear::Bear(char *s, ZooLocs loc, char *sci)\n" ); //$NON-NLS-1$ writer.write(" : ZooAnimal(s), zooArea (loc), Mammal(true) {\n" ); //$NON-NLS-1$ writer.write(" sciName = new char[ strlen(sci)+1]; \n" ); //$NON-NLS-1$ writer.write(" strcpy (sciName, sci); \n" ); //$NON-NLS-1$ writer.write(" } \n" ); //$NON-NLS-1$ String code = writer.toString(); IFile z = importFile( "FieldDefinition.cpp", code ); //$NON-NLS-1$ ICSearchPattern pattern = SearchEngine.createSearchPattern("*", FIELD, DEFINITIONS, true); //$NON-NLS-1$ Set matches = search( pattern); assertEquals( 5, matches.size()); assertMatch( matches, z, code.indexOf( "name;//field" ) ); //$NON-NLS-1$ //$NON-NLS-2$ assertMatch( matches, z, code.indexOf( "next;//fielddefn" ) ); //$NON-NLS-1$ //$NON-NLS-2$ assertMatch( matches, z, code.indexOf( "isCarnivore;//fielddefn" ) ); //$NON-NLS-1$ //$NON-NLS-2$ assertMatch( matches, z, code.indexOf( "sciName;//fielddefn" ) ); //$NON-NLS-1$ //$NON-NLS-2$ assertMatch( matches, z, code.indexOf( "zooArea;//fielddefn" ) ); //$NON-NLS-1$ //$NON-NLS-2$ }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/5e4ae6414951faec65940fa131233ce545dc38f4/SearchRegressionTests.java/buggy/core/org.eclipse.cdt.core.tests/regression/org/eclipse/cdt/core/tests/SearchRegressionTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 26380, 1435, 1216, 1185, 288, 377, 202, 2289, 2633, 273, 394, 17436, 5621, 377, 202, 6299, 18, 2626, 2932, 565, 468, 6702, 411, 1080, 18, 76, 34, 6862, 202, 64, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 377, 202, 6299, 18, 2626, 2932, 565, 2792, 2285, 5161, 1333, 87, 288, 62, 25148, 1258, 14762, 16, 605, 9250, 16, 453, 4307, 37, 97, 9747, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 377, 202, 6299, 18, 2626, 2932, 565, 1981, 998, 5161, 288, 25083, 202, 64, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 377, 202, 6299, 18, 2626, 2932, 565, 509, 8431, 31, 759, 1401, 536, 82, 16, 569, 8840, 1082, 202, 64, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 377, 202, 6299, 18, 2626, 2932, 565, 667, 2285, 5161, 979, 2840, 95, 25083, 202, 64, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 377, 202, 6299, 18, 2626, 2932, 565, 1071, 30, 6862, 9506, 202, 64, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 377, 202, 6299, 18, 2626, 2932, 377, 202, 62, 5161, 979, 2840, 12, 3001, 380, 87, 273, 1239, 62, 5161, 979, 2840, 2412, 1769, 202, 64, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 377, 202, 759, 8, 3993, 17, 5106, 17, 21, 8, 377, 202, 6299, 18, 2626, 2932, 565, 4750, 30, 6862, 1082, 202, 64, 82, 6, 11272, 4329, 3993, 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, 26380, 1435, 1216, 1185, 288, 377, 202, 2289, 2633, 273, 394, 17436, 5621, 377, 202, 6299, 18, 2626, 2932, 565, 468, 6702, 411, 1080, 18, 76, 34, 6862, 202, 64, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 377, 202, 6299, 18, 2626, 2932, 565, 2792, 2285, 5161, 1333, 87, 288, 62, 25148, 1258, 14762, 16, 605, 9250, 16, 453, 4307, 37, 97, 9747, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 377, 202, 6299, 18, 2626, 2932, 565, 1981, 998, 5161, 288, 25083, 202, 64, 82, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 377, 202, 6299, 18, 2626, 2932, 565, 509, 8431, 31, 759, 1401, 536, 82, 16, 2 ]
public static String jsFunction_toLowerCase(Context cx, Scriptable thisObj, Object[] args, Function funObj) { String target = ScriptRuntime.toString(thisObj);
private static String jsFunction_toLowerCase(String target) {
public static String jsFunction_toLowerCase(Context cx, Scriptable thisObj, Object[] args, Function funObj) { String target = ScriptRuntime.toString(thisObj); return target.toLowerCase(); }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeString.java/buggy/js/rhino/src/org/mozilla/javascript/NativeString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 3828, 2083, 67, 869, 5630, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 7734, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 565, 288, 3639, 514, 1018, 273, 7739, 5576, 18, 10492, 12, 2211, 2675, 1769, 3639, 327, 1018, 18, 869, 5630, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 3828, 2083, 67, 869, 5630, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 7734, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 565, 288, 3639, 514, 1018, 273, 7739, 5576, 18, 10492, 12, 2211, 2675, 1769, 3639, 327, 1018, 18, 869, 5630, 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 ]
} catch (ServiceException e) { throw new DavException("cannot get item", HttpServletResponse.SC_NOT_FOUND, e);
} catch (ServiceException se) { throw new DavException("cannot delete item", HttpServletResponse.SC_FORBIDDEN, se);
public void delete(DavContext ctxt) throws DavException { if (mId == 0) throw new DavException("cannot delete resource", HttpServletResponse.SC_FORBIDDEN, null); String user = ctxt.getUser(); String path = ctxt.getPath(); if (user == null || path == null) throw new DavException("invalid uri", HttpServletResponse.SC_NOT_FOUND, null); try { Provisioning prov = Provisioning.getInstance(); Account account = prov.get(AccountBy.name, user); if (account == null) throw new DavException("no such account "+user, HttpServletResponse.SC_NOT_FOUND, null); Mailbox mbox = MailboxManager.getInstance().getMailboxByAccount(account); mbox.delete(ctxt.getOperationContext(), mId, mType); } catch (ServiceException e) { throw new DavException("cannot get item", HttpServletResponse.SC_NOT_FOUND, e); } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/959dd41dabacd54c65b32b54bcad2b637df421c8/MailItemResource.java/clean/ZimbraServer/src/java/com/zimbra/cs/dav/resource/MailItemResource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1430, 12, 40, 842, 1042, 14286, 13, 1216, 463, 842, 503, 288, 202, 202, 430, 261, 81, 548, 422, 374, 13, 1875, 202, 12849, 394, 463, 842, 503, 2932, 12892, 1430, 1058, 3113, 12446, 18, 2312, 67, 7473, 30198, 16, 446, 1769, 202, 202, 780, 729, 273, 14286, 18, 588, 1299, 5621, 202, 202, 780, 589, 273, 14286, 18, 588, 743, 5621, 202, 202, 430, 261, 1355, 422, 446, 747, 589, 422, 446, 13, 1082, 202, 12849, 394, 463, 842, 503, 2932, 5387, 2003, 3113, 12446, 18, 2312, 67, 4400, 67, 9294, 16, 446, 1769, 202, 202, 698, 288, 1082, 202, 17485, 17197, 273, 26423, 18, 588, 1442, 5621, 1082, 202, 3032, 2236, 273, 17197, 18, 588, 12, 3032, 858, 18, 529, 16, 729, 1769, 1082, 202, 430, 261, 4631, 422, 446, 13, 9506, 202, 12849, 394, 463, 842, 503, 2932, 2135, 4123, 2236, 13773, 1355, 16, 12446, 18, 2312, 67, 4400, 67, 9294, 16, 446, 1769, 1082, 202, 30239, 312, 2147, 273, 11542, 2147, 1318, 18, 588, 1442, 7675, 588, 30239, 858, 3032, 12, 4631, 1769, 1082, 202, 81, 2147, 18, 3733, 12, 20364, 18, 588, 2988, 1042, 9334, 312, 548, 16, 312, 559, 1769, 202, 202, 97, 1044, 261, 15133, 425, 13, 288, 1082, 202, 12849, 394, 463, 842, 503, 2932, 12892, 336, 761, 3113, 12446, 18, 2312, 67, 4400, 67, 9294, 16, 425, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1430, 12, 40, 842, 1042, 14286, 13, 1216, 463, 842, 503, 288, 202, 202, 430, 261, 81, 548, 422, 374, 13, 1875, 202, 12849, 394, 463, 842, 503, 2932, 12892, 1430, 1058, 3113, 12446, 18, 2312, 67, 7473, 30198, 16, 446, 1769, 202, 202, 780, 729, 273, 14286, 18, 588, 1299, 5621, 202, 202, 780, 589, 273, 14286, 18, 588, 743, 5621, 202, 202, 430, 261, 1355, 422, 446, 747, 589, 422, 446, 13, 1082, 202, 12849, 394, 463, 842, 503, 2932, 5387, 2003, 3113, 12446, 18, 2312, 67, 4400, 67, 9294, 16, 446, 1769, 202, 202, 698, 288, 1082, 202, 17485, 17197, 273, 26423, 18, 588, 1442, 5621, 1082, 202, 3032, 2236, 273, 17197, 2 ]
for (int i = 0; i < bundles.length; i++) { Bitstream[] bitstreams = bundles[i].getBitstreams(); if (!found) { for (int k = 0; k < bitstreams.length; k++) { if (filename.equals(bitstreams[k].getName())) { bitstream = bitstreams[k]; found = true; } } } }
protected void doDSGet(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { Bitstream bitstream = null; // Get the ID from the URL String idString = request.getPathInfo(); String filename = ""; String handle = ""; if (idString != null) { // Remove leading slash if (idString.startsWith("/")) { idString = idString.substring(1); } // Get filename int slashIndex = idString.lastIndexOf('/'); if (slashIndex != -1) { filename = idString.substring(slashIndex + 1); filename = URLDecoder.decode(filename, Constants.DEFAULT_ENCODING); handle = idString.substring(0, slashIndex); } // If there's still a second slash, remove it and anything after it, // it might be a relative directory name slashIndex = handle.indexOf('/'); slashIndex = handle.indexOf('/', slashIndex + 1); if (slashIndex != -1) { handle = handle.substring(0, slashIndex); } // Find the corresponding bitstream try { boolean found = false; Item item = null; /* * If the original item doesn't have a Handle yet (because it's * in the workflow) what we actually have is a fake Handle in * the form: db-id/1234 where 1234 is the database ID of the * item. */ if (handle.startsWith("db-id")) { String dbIDString = handle .substring(handle.indexOf('/') + 1); int dbID = Integer.parseInt(dbIDString); item = Item.find(context, dbID); } else { item = (Item) HandleManager .resolveToObject(context, handle); } if (item == null) { log.info(LogManager.getHeader(context, "invalid_id", "path=" + handle)); JSPManager .showInvalidIDError(request, response, handle, -1); return; } Bundle[] bundles = item.getBundles(); for (int i = 0; i < bundles.length; i++) { Bitstream[] bitstreams = bundles[i].getBitstreams(); if (!found) { for (int k = 0; k < bitstreams.length; k++) { if (filename.equals(bitstreams[k].getName())) { bitstream = bitstreams[k]; found = true; } } } } } catch (NumberFormatException nfe) { // Invalid ID - this will be dealt with below } } // Did we get a bitstream? if (bitstream != null) { log.info(LogManager.getHeader(context, "view_bitstream", "bitstream_id=" + bitstream.getID())); // Set the response MIME type response.setContentType(bitstream.getFormat().getMIMEType()); // Response length response.setHeader("Content-Length", String.valueOf(bitstream .getSize())); // Pipe the bits InputStream is = bitstream.retrieve(); Utils.bufferedCopy(is, response.getOutputStream()); is.close(); response.getOutputStream().flush(); } else { // No bitstream - we got an invalid ID log.info(LogManager.getHeader(context, "view_bitstream", "invalid_bitstream_id=" + idString)); JSPManager.showInvalidIDError(request, response, idString, Constants.BITSTREAM); } }
49711 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49711/257dfe454961dd081224cf1e4f1878b5d2cb8cf3/HTMLServlet.java/clean/dspace/src/org/dspace/app/webui/servlet/HTMLServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 3948, 967, 12, 1042, 819, 16, 9984, 590, 16, 5411, 12446, 766, 13, 1216, 16517, 16, 1860, 16, 5411, 6483, 16, 23859, 503, 565, 288, 3639, 6539, 3256, 28640, 273, 446, 31, 3639, 368, 968, 326, 1599, 628, 326, 1976, 3639, 514, 612, 780, 273, 590, 18, 588, 743, 966, 5621, 3639, 514, 1544, 273, 1408, 31, 3639, 514, 1640, 273, 1408, 31, 3639, 309, 261, 350, 780, 480, 446, 13, 3639, 288, 5411, 368, 3581, 7676, 9026, 5411, 309, 261, 350, 780, 18, 17514, 1190, 2932, 4898, 3719, 5411, 288, 7734, 612, 780, 273, 612, 780, 18, 28023, 12, 21, 1769, 5411, 289, 5411, 368, 968, 1544, 5411, 509, 9026, 1016, 273, 612, 780, 18, 2722, 31985, 2668, 2473, 1769, 5411, 309, 261, 12877, 1016, 480, 300, 21, 13, 5411, 288, 7734, 1544, 273, 612, 780, 18, 28023, 12, 12877, 1016, 397, 404, 1769, 7734, 1544, 273, 1976, 7975, 18, 3922, 12, 3459, 16, 13491, 5245, 18, 5280, 67, 14672, 1769, 7734, 1640, 273, 612, 780, 18, 28023, 12, 20, 16, 9026, 1016, 1769, 5411, 289, 5411, 368, 971, 1915, 1807, 4859, 279, 2205, 9026, 16, 1206, 518, 471, 6967, 1839, 518, 16, 5411, 368, 518, 4825, 506, 279, 3632, 1867, 508, 5411, 9026, 1016, 273, 1640, 18, 31806, 2668, 2473, 1769, 5411, 9026, 1016, 273, 1640, 18, 31806, 2668, 19, 2187, 9026, 1016, 397, 404, 1769, 5411, 309, 261, 12877, 1016, 480, 300, 21, 13, 5411, 288, 7734, 1640, 273, 1640, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 3948, 967, 12, 1042, 819, 16, 9984, 590, 16, 5411, 12446, 766, 13, 1216, 16517, 16, 1860, 16, 5411, 6483, 16, 23859, 503, 565, 288, 3639, 6539, 3256, 28640, 273, 446, 31, 3639, 368, 968, 326, 1599, 628, 326, 1976, 3639, 514, 612, 780, 273, 590, 18, 588, 743, 966, 5621, 3639, 514, 1544, 273, 1408, 31, 3639, 514, 1640, 273, 1408, 31, 3639, 309, 261, 350, 780, 480, 446, 13, 3639, 288, 5411, 368, 3581, 7676, 9026, 5411, 309, 261, 350, 780, 18, 17514, 1190, 2932, 4898, 3719, 5411, 288, 7734, 612, 780, 273, 612, 780, 18, 28023, 12, 21, 1769, 5411, 289, 5411, 368, 968, 1544, 5411, 509, 9026, 1016, 273, 612, 780, 2 ]
private static byte longAnd(OPT_Instruction s) {
private static DefUseEffect longAnd(OPT_Instruction s) {
private static byte longAnd(OPT_Instruction s) { if (CF_LONG) { canonicalizeCommutativeOperator(s); OPT_Operand op1 = Binary.getVal1(s); OPT_Operand op2 = Binary.getVal2(s); if (op1.similar(op2)) { // THE SAME OPERAND: x & x == x Move.mutate(s, LONG_MOVE, Binary.getClearResult(s), Binary.getClearVal1(s)); return op1.isConstant() ? MOVE_FOLDED : MOVE_REDUCED; } if (op2.isLongConstant()) { long val2 = op2.asLongConstant().value; if (op1.isLongConstant()) { // BOTH CONSTANTS: FOLD long val1 = op1.asLongConstant().value; Move.mutate(s, LONG_MOVE, Binary.getClearResult(s), LC(val1 & val2)); return MOVE_FOLDED; } else { // ONLY OP2 IS CONSTANT: ATTEMPT TO APPLY AXIOMS if (val2 == 0L) { // x & 0L == 0L Move.mutate(s, LONG_MOVE, Binary.getClearResult(s), LC(0L)); return MOVE_FOLDED; } if (val2 == -1) { // x & -1L == x & 0xff...ff == x Move.mutate(s, LONG_MOVE, Binary.getClearResult(s), Binary.getClearVal1(s)); return MOVE_REDUCED; } } } } return UNCHANGED; }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/4f52a59569c48e68010a63e605ee6691083a9e97/OPT_Simplifier.java/buggy/rvm/src/com/ibm/jikesrvm/opt/OPT_Simplifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 10922, 3727, 12477, 1525, 1876, 12, 15620, 67, 11983, 272, 13, 288, 282, 309, 261, 8955, 67, 14639, 13, 288, 1377, 25839, 799, 10735, 1535, 5592, 12, 87, 1769, 1377, 16456, 67, 10265, 1061, 21, 273, 7896, 18, 588, 3053, 21, 12, 87, 1769, 1377, 16456, 67, 10265, 1061, 22, 273, 7896, 18, 588, 3053, 22, 12, 87, 1769, 1377, 309, 261, 556, 21, 18, 22985, 12, 556, 22, 3719, 288, 3639, 368, 12786, 348, 1642, 17205, 4307, 30, 619, 473, 619, 422, 619, 3639, 9933, 18, 10735, 340, 12, 87, 16, 14011, 67, 16537, 16, 7896, 18, 588, 9094, 1253, 12, 87, 3631, 5397, 7896, 18, 588, 9094, 3053, 21, 12, 87, 10019, 3639, 327, 1061, 21, 18, 291, 6902, 1435, 692, 16070, 3412, 67, 42, 1741, 7660, 294, 16070, 3412, 67, 5879, 57, 23552, 31, 1377, 289, 1377, 309, 261, 556, 22, 18, 291, 3708, 6902, 10756, 288, 3639, 1525, 1244, 22, 273, 1061, 22, 18, 345, 3708, 6902, 7675, 1132, 31, 3639, 309, 261, 556, 21, 18, 291, 3708, 6902, 10756, 288, 1850, 368, 29370, 24023, 55, 30, 478, 11846, 1850, 1525, 1244, 21, 273, 1061, 21, 18, 345, 3708, 6902, 7675, 1132, 31, 1850, 9933, 18, 10735, 340, 12, 87, 16, 14011, 67, 16537, 16, 7896, 18, 588, 9094, 1253, 12, 87, 3631, 15604, 27727, 12, 1125, 21, 473, 1244, 22, 10019, 1850, 327, 16070, 3412, 67, 42, 1741, 7660, 31, 3639, 289, 469, 288, 1850, 368, 20747, 7247, 22, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 10922, 3727, 12477, 1525, 1876, 12, 15620, 67, 11983, 272, 13, 288, 282, 309, 261, 8955, 67, 14639, 13, 288, 1377, 25839, 799, 10735, 1535, 5592, 12, 87, 1769, 1377, 16456, 67, 10265, 1061, 21, 273, 7896, 18, 588, 3053, 21, 12, 87, 1769, 1377, 16456, 67, 10265, 1061, 22, 273, 7896, 18, 588, 3053, 22, 12, 87, 1769, 1377, 309, 261, 556, 21, 18, 22985, 12, 556, 22, 3719, 288, 3639, 368, 12786, 348, 1642, 17205, 4307, 30, 619, 473, 619, 422, 619, 3639, 9933, 18, 10735, 340, 12, 87, 16, 14011, 67, 16537, 16, 7896, 18, 588, 9094, 1253, 12, 87, 3631, 5397, 7896, 18, 588, 9094, 3053, 21, 12, 87, 10019, 3639, 327, 2 ]
return (allUsersLinkPath);
String result = null; try { result = new String(allUsersLinkPath, "UTF-16"); } catch (UnsupportedEncodingException e) { e.printStackTrace(); } return result;
public String getallUsersLinkPath() { return (allUsersLinkPath); }
28044 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28044/7fd6ecbf32a2883982eeb962733f98fd00021076/ShellLink.java/clean/src/lib/com/izforge/izpack/util/os/ShellLink.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 336, 454, 6588, 2098, 743, 1435, 565, 288, 3639, 514, 563, 273, 446, 31, 775, 288, 563, 273, 394, 514, 12, 454, 6588,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 336, 454, 6588, 2098, 743, 1435, 565, 288, 3639, 514, 563, 273, 446, 31, 775, 288, 563, 273, 394, 514, 12, 454, 6588, 2098, 743, 16, 315, 5159, 17, 2313, 8863, 289, 1044, 261, 8544, 13836, 425, 13, 288, 225, 425, 18, 1188, 6332, 5621, 289, 327, 563, 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 ]
if (ZimbraLog.rmgmt.isDebugEnabled()) { ZimbraLog.rmgmt.debug("adding: " + doc); }
if (ZimbraLog.rmgmt.isDebugEnabled()) { ZimbraLog.rmgmt.debug("[scan id=" + mId + "] " + doc); }
public void handle(int lineNo, Map<String, String> map) throws IOException { if (map == null) { return; } if ((mNumMessages % MAIL_QUEUE_INDEX_FLUSH_THRESHOLD) == 0) { openIndexWriter(); } mNumMessages++; Document doc = new Document(); // public Field(String name, String string, boolean store, boolean index, boolean token, boolean storeTermVector) { String id = map.get(QueueAttr.id.toString()); if (id == null) { throw new IOException("no ID defined near line=" + lineNo); } doc.add(new Field(QueueAttr.id.toString(), id.toLowerCase(), true, true, false, false)); String time = map.get(QueueAttr.time.toString()); if (time != null && time.length() > 0) { long timeMillis = Long.parseLong(time) * 1000; doc.add(new Field(QueueAttr.time.toString(), Long.toString(timeMillis), true, true, false, false)); } addSimpleField(doc, map, QueueAttr.size); addSimpleField(doc, map, QueueAttr.addr); addSimpleField(doc, map, QueueAttr.host); addSimpleField(doc, map, QueueAttr.filter); String reason = map.get(QueueAttr.reason.toString()); if (reason != null && reason.length() > 0) { doc.add(new Field(QueueAttr.reason.toString(), reason.toLowerCase(), true, true, false, true)); } String from = map.get(QueueAttr.from.toString()); if (from != null && from.length() > 0) { addEmailAddress(doc, id, from, QueueAttr.from, QueueAttr.fromdomain); } String toWithCommas = map.get(QueueAttr.to.toString()); if (toWithCommas != null && toWithCommas.length() > 0) { String[] toArray = toWithCommas.split(","); for (String to : toArray) { addEmailAddress(doc, id, to, QueueAttr.to, QueueAttr.todomain); } } if (ZimbraLog.rmgmt.isDebugEnabled()) { ZimbraLog.rmgmt.debug("adding: " + doc); } mIndexWriter.addDocument(doc); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/87c1a93617bb60fd52c379bda7a6edb497d694fb/RemoteMailQueue.java/clean/ZimbraServer/src/java/com/zimbra/cs/rmgmt/RemoteMailQueue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1640, 12, 474, 980, 2279, 16, 1635, 32, 780, 16, 514, 34, 852, 13, 1216, 1860, 288, 5411, 309, 261, 1458, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 4766, 565, 309, 14015, 81, 2578, 5058, 738, 490, 6575, 67, 19533, 67, 9199, 67, 42, 31959, 67, 23840, 13, 422, 374, 13, 288, 7734, 1696, 1016, 2289, 5621, 5411, 289, 9079, 312, 2578, 5058, 9904, 31, 13491, 4319, 997, 273, 394, 4319, 5621, 5411, 368, 1071, 2286, 12, 780, 508, 16, 514, 533, 16, 1250, 1707, 16, 1250, 770, 16, 1250, 1147, 16, 1250, 1707, 4065, 5018, 13, 288, 5411, 514, 612, 273, 852, 18, 588, 12, 3183, 3843, 18, 350, 18, 10492, 10663, 5411, 309, 261, 350, 422, 446, 13, 288, 7734, 604, 394, 1860, 2932, 2135, 1599, 2553, 13378, 980, 1546, 397, 980, 2279, 1769, 5411, 289, 5411, 997, 18, 1289, 12, 2704, 2286, 12, 3183, 3843, 18, 350, 18, 10492, 9334, 612, 18, 869, 5630, 9334, 638, 16, 638, 16, 629, 16, 629, 10019, 5411, 514, 813, 273, 852, 18, 588, 12, 3183, 3843, 18, 957, 18, 10492, 10663, 5411, 309, 261, 957, 480, 446, 597, 813, 18, 2469, 1435, 405, 374, 13, 288, 7734, 1525, 813, 4814, 273, 3407, 18, 2670, 3708, 12, 957, 13, 380, 4336, 31, 7734, 997, 18, 1289, 12, 2704, 2286, 12, 3183, 3843, 18, 957, 18, 10492, 9334, 3407, 18, 10492, 12, 957, 4814, 3631, 638, 16, 638, 16, 629, 16, 629, 10019, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1640, 12, 474, 980, 2279, 16, 1635, 32, 780, 16, 514, 34, 852, 13, 1216, 1860, 288, 5411, 309, 261, 1458, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 4766, 565, 309, 14015, 81, 2578, 5058, 738, 490, 6575, 67, 19533, 67, 9199, 67, 42, 31959, 67, 23840, 13, 422, 374, 13, 288, 7734, 1696, 1016, 2289, 5621, 5411, 289, 9079, 312, 2578, 5058, 9904, 31, 13491, 4319, 997, 273, 394, 4319, 5621, 5411, 368, 1071, 2286, 12, 780, 508, 16, 514, 533, 16, 1250, 1707, 16, 1250, 770, 16, 1250, 1147, 16, 1250, 1707, 4065, 5018, 13, 288, 5411, 514, 612, 273, 852, 18, 588, 12, 3183, 3843, 18, 350, 18, 10492, 10663, 5411, 2 ]
MSLEditingDomain.INSTANCE.removeOperationListener(operationListener);
IGraphicalEditPart gep = (IGraphicalEditPart)getDecoratorTarget().getAdapter(IGraphicalEditPart.class); assert gep != null; DiagramEventBroker.getInstance(gep.getEditingDomain()).removeNotificationListener(gep.getNotationView(), notificationListener);
public void deactivate() { removeDecoration(); MSLEditingDomain.INSTANCE.removeOperationListener(operationListener); }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/61351852a4ea1de2b9a8bbbf9cd3b8f1169ef646/ReviewDecorator.java/buggy/org.eclipse.gmf.runtime/examples/org.eclipse.gmf.examples.runtime.diagram.decorator/src/org/eclipse/gmf/examples/runtime/diagram/decorator/provider/ReviewDecorator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 18790, 1435, 288, 202, 202, 4479, 7859, 367, 5621, 202, 202, 3537, 900, 72, 305, 310, 3748, 18, 13341, 18, 4479, 2988, 2223, 12, 7624, 2223, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 18790, 1435, 288, 202, 202, 4479, 7859, 367, 5621, 202, 202, 3537, 900, 72, 305, 310, 3748, 18, 13341, 18, 4479, 2988, 2223, 12, 7624, 2223, 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 ]
return new NativeRegExp(scope, source, global);
return new NativeRegExp(cx, scope, source, global);
public Object newRegExp(Scriptable scope, String source, String global) { return new NativeRegExp(scope, source, global); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/86ebd6188686efee74353b64c7fb3a9a3b999f11/RegExpImpl.java/buggy/js/rhino/org/mozilla/javascript/regexp/RegExpImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 394, 13673, 12, 3651, 429, 2146, 16, 514, 1084, 16, 514, 2552, 13, 565, 288, 3639, 327, 394, 16717, 13673, 12, 71, 92, 16, 2146, 16, 1084, 16, 2552, 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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100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 acceptClass(char[] packageName, char[] className, boolean needQualification) {
public void acceptClass(char[] packageName, char[] className, boolean needQualification, boolean isDeclaration, int start, int end) {
public void acceptClass(char[] packageName, char[] className, boolean needQualification) { acceptType(new String[] { new String(packageName), new String(className) }); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/3bf5bab95449ec256a601c2551910573083178b4/SourceType.java/clean/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 2791, 797, 12, 3001, 8526, 9929, 16, 1149, 8526, 2658, 16, 1250, 1608, 21740, 13, 288, 1082, 202, 9436, 559, 12, 2704, 514, 8526, 225, 288, 394, 514, 12, 5610, 461, 3631, 394, 514, 12, 12434, 13, 15549, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 2791, 797, 12, 3001, 8526, 9929, 16, 1149, 8526, 2658, 16, 1250, 1608, 21740, 13, 288, 1082, 202, 9436, 559, 12, 2704, 514, 8526, 225, 288, 394, 514, 12, 5610, 461, 3631, 394, 514, 12, 12434, 13, 15549, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Integer addTen(Integer number){ int num = number.intValue(); return new Integer(num + 10);
public Integer addTen(Integer number) { return new Integer(number.intValue() + 10);
public Integer addTen(Integer number){ int num = number.intValue(); return new Integer(num + 10); }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/f22bcd2035487efd91d326568c482912217bbe55/SimpleMathsComponent.java/buggy/tests/core/src/main/java/org/mule/tck/services/SimpleMathsComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2144, 527, 25601, 12, 4522, 1300, 15329, 3639, 509, 818, 273, 1300, 18, 474, 620, 5621, 3639, 327, 394, 2144, 12, 2107, 397, 1728, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2144, 527, 25601, 12, 4522, 1300, 15329, 3639, 509, 818, 273, 1300, 18, 474, 620, 5621, 3639, 327, 394, 2144, 12, 2107, 397, 1728, 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 ]
private UserAndRoleMapper initExternalUserAndRoleMapper( String externalUserAndRoleMapperName,
private UserAndRoleRegistry initExternalUserAndRoleMapper( String externalUserAndRoleMapperName,
private UserAndRoleMapper initExternalUserAndRoleMapper( String externalUserAndRoleMapperName, Properties userAndRoleMapperPropertiesSubset ) { UserAndRoleMapper externalUserAndRoleMapper = null; if ( null == externalUserAndRoleMapperName ) { externalUserAndRoleMapper = null; } else if ( EXTERNAL_USER_AND_ROLE_MAPPER_LDAP.equalsIgnoreCase( externalUserAndRoleMapperName ) ) { try { externalUserAndRoleMapper = new LdapUserAndRoleMapper( userAndRoleMapperPropertiesSubset ); } catch ( LdapUserAndRoleMapper.LdapInitException e ) { log.error( "LdapUserAndRoleMapper could not be created, using default user and role documentMapper.", e ); } } else { externalUserAndRoleMapper = (UserAndRoleMapper)createInstanceOfClass( externalUserAndRoleMapperName ); } return externalUserAndRoleMapper; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/03350cab2b72a60bc8043161826acd27335c8a7f/DefaultImcmsServices.java/clean/server/src/imcode/server/DefaultImcmsServices.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2177, 1876, 2996, 4243, 1208, 6841, 1299, 1876, 2996, 4597, 12, 514, 3903, 1299, 1876, 2996, 4597, 461, 16, 4766, 11794, 6183, 729, 1876, 2996, 4597, 2297, 20315, 262, 288, 3639, 2177, 1876, 2996, 4597, 3903, 1299, 1876, 2996, 4597, 273, 446, 31, 3639, 309, 261, 446, 422, 3903, 1299, 1876, 2996, 4597, 461, 262, 288, 5411, 3903, 1299, 1876, 2996, 4597, 273, 446, 31, 3639, 289, 469, 309, 261, 5675, 11702, 67, 4714, 67, 4307, 67, 16256, 67, 8352, 3194, 67, 15496, 18, 14963, 5556, 12, 3903, 1299, 1876, 2996, 4597, 461, 262, 262, 288, 5411, 775, 288, 7734, 3903, 1299, 1876, 2996, 4597, 273, 394, 18053, 1299, 1876, 2996, 4597, 12, 729, 1876, 2996, 4597, 2297, 20315, 11272, 5411, 289, 1044, 261, 18053, 1299, 1876, 2996, 4597, 18, 18437, 2570, 503, 425, 262, 288, 7734, 613, 18, 1636, 12, 315, 18437, 1299, 1876, 2996, 4597, 3377, 486, 506, 2522, 16, 1450, 805, 729, 471, 2478, 1668, 4597, 1199, 16, 21821, 425, 11272, 5411, 289, 3639, 289, 469, 288, 5411, 3903, 1299, 1876, 2996, 4597, 273, 261, 1299, 1876, 2996, 4597, 13, 2640, 1442, 951, 797, 12, 3903, 1299, 1876, 2996, 4597, 461, 11272, 3639, 289, 3639, 327, 3903, 1299, 1876, 2996, 4597, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2177, 1876, 2996, 4243, 1208, 6841, 1299, 1876, 2996, 4597, 12, 514, 3903, 1299, 1876, 2996, 4597, 461, 16, 4766, 11794, 6183, 729, 1876, 2996, 4597, 2297, 20315, 262, 288, 3639, 2177, 1876, 2996, 4597, 3903, 1299, 1876, 2996, 4597, 273, 446, 31, 3639, 309, 261, 446, 422, 3903, 1299, 1876, 2996, 4597, 461, 262, 288, 5411, 3903, 1299, 1876, 2996, 4597, 273, 446, 31, 3639, 289, 469, 309, 261, 5675, 11702, 67, 4714, 67, 4307, 67, 16256, 67, 8352, 3194, 67, 15496, 18, 14963, 5556, 12, 3903, 1299, 1876, 2996, 4597, 461, 262, 262, 288, 5411, 775, 288, 7734, 3903, 1299, 1876, 2996, 4597, 273, 394, 18053, 1299, 1876, 2996, 4597, 12, 729, 1876, 2996, 4597, 2 ]
int attrs = getAttrCount(); return (getChildCount() == 0) ? null : getChild(attrs);
return hasChildNodes() ? getChild(attrsEnd) : null;
public Node getFirstChild() { // The call to getAttrCount gets the number of attributes in the list. // The attributes are put in the list before the actual children. // Force attributes to be added first! int attrs = getAttrCount(); return (getChildCount() == 0) ? null : getChild(attrs); }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/bf0309d2817201f10000e606c37e6240f2c89361/ElementImpl.java/buggy/src/org/apache/xalan/stree/ElementImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2029, 540, 17315, 1435, 225, 288, 565, 368, 1021, 745, 358, 30392, 1380, 5571, 326, 1300, 434, 1677, 316, 326, 666, 18, 565, 368, 1021, 1677, 854, 1378, 316, 326, 666, 1865, 326, 3214, 2325, 18, 565, 368, 11889, 1677, 358, 506, 3096, 1122, 5, 565, 509, 3422, 273, 30392, 1380, 5621, 565, 327, 261, 588, 1763, 1380, 1435, 422, 374, 13, 692, 446, 294, 8154, 12, 7039, 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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 30, 282, 1071, 2029, 540, 17315, 1435, 225, 288, 565, 368, 1021, 745, 358, 30392, 1380, 5571, 326, 1300, 434, 1677, 316, 326, 666, 18, 565, 368, 1021, 1677, 854, 1378, 316, 326, 666, 1865, 326, 3214, 2325, 18, 565, 368, 11889, 1677, 358, 506, 3096, 1122, 5, 565, 509, 3422, 273, 30392, 1380, 5621, 565, 327, 261, 588, 1763, 1380, 1435, 422, 374, 13, 692, 446, 294, 8154, 12, 7039, 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 ]
private static boolean tryStatementMayReturnBeforeRecursing(PsiTryStatement tryStatement, PsiMethod method) {
private static boolean tryStatementMayReturnBeforeRecursing( PsiTryStatement tryStatement, PsiMethod method){
private static boolean tryStatementMayReturnBeforeRecursing(PsiTryStatement tryStatement, PsiMethod method) { final PsiCodeBlock finallyBlock = tryStatement.getFinallyBlock(); if (finallyBlock != null) { if (!codeBlockMayReturnBeforeRecursing(finallyBlock, method, false)) { return false; } } final PsiCodeBlock tryBlock = tryStatement.getTryBlock(); if (codeBlockMayReturnBeforeRecursing(tryBlock, method, false)) { return true; } final PsiCodeBlock[] catchBlocks = tryStatement.getCatchBlocks(); for(final PsiCodeBlock catchBlock : catchBlocks){ if(codeBlockMayReturnBeforeRecursing(catchBlock, method, false)){ return true; } } return false; }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/5d60670c94763ec336e534e66ee87700ab0d35be/RecursionUtils.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/RecursionUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 775, 3406, 49, 528, 990, 4649, 426, 1397, 2470, 12, 453, 7722, 7833, 3406, 775, 3406, 16, 453, 7722, 1305, 707, 15329, 3639, 727, 453, 7722, 1085, 1768, 3095, 1768, 273, 775, 3406, 18, 588, 29987, 1768, 5621, 3639, 309, 261, 23417, 1768, 480, 446, 13, 288, 5411, 309, 16051, 710, 1768, 49, 528, 990, 4649, 426, 1397, 2470, 12, 23417, 1768, 16, 707, 16, 629, 3719, 288, 7734, 327, 629, 31, 5411, 289, 3639, 289, 3639, 727, 453, 7722, 1085, 1768, 775, 1768, 273, 775, 3406, 18, 588, 7833, 1768, 5621, 3639, 309, 261, 710, 1768, 49, 528, 990, 4649, 426, 1397, 2470, 12, 698, 1768, 16, 707, 16, 629, 3719, 288, 5411, 327, 638, 31, 3639, 289, 3639, 727, 453, 7722, 1085, 1768, 8526, 1044, 6450, 273, 775, 3406, 18, 588, 14842, 6450, 5621, 3639, 364, 12, 6385, 453, 7722, 1085, 1768, 1044, 1768, 294, 1044, 6450, 15329, 5411, 309, 12, 710, 1768, 49, 528, 990, 4649, 426, 1397, 2470, 12, 14683, 1768, 16, 707, 16, 629, 3719, 95, 7734, 327, 638, 31, 5411, 289, 3639, 289, 3639, 327, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 775, 3406, 49, 528, 990, 4649, 426, 1397, 2470, 12, 453, 7722, 7833, 3406, 775, 3406, 16, 453, 7722, 1305, 707, 15329, 3639, 727, 453, 7722, 1085, 1768, 3095, 1768, 273, 775, 3406, 18, 588, 29987, 1768, 5621, 3639, 309, 261, 23417, 1768, 480, 446, 13, 288, 5411, 309, 16051, 710, 1768, 49, 528, 990, 4649, 426, 1397, 2470, 12, 23417, 1768, 16, 707, 16, 629, 3719, 288, 7734, 327, 629, 31, 5411, 289, 3639, 289, 3639, 727, 453, 7722, 1085, 1768, 775, 1768, 273, 775, 3406, 18, 588, 7833, 1768, 5621, 3639, 309, 261, 710, 1768, 49, 528, 990, 4649, 426, 1397, 2470, 12, 698, 1768, 16, 707, 16, 629, 3719, 288, 5411, 327, 2 ]
if(log.isErrorEnabled()) log.error("min_threshold (" + min_threshold + ") has to be less than window_size (" + window_size + ")");
log.error("min_threshold (" + min_threshold + ") has to be less than window_size (" + window_size + ")");
public boolean setProperties(Properties props) { String str; long[] tmp; str=props.getProperty("timeout"); if(str != null) { tmp=Util.parseCommaDelimitedLongs(str); if(tmp != null && tmp.length > 0) timeout=tmp; props.remove("timeout"); } str=props.getProperty("window_size"); if(str != null) { window_size=Integer.parseInt(str); props.remove("window_size"); } str=props.getProperty("min_threshold"); if(str != null) { min_threshold=Integer.parseInt(str); props.remove("min_threshold"); } str=props.getProperty("use_gms"); if(str != null) { use_gms=new Boolean(str).booleanValue(); props.remove("use_gms"); } if(props.size() > 0) { System.err.println("UNICAST.setProperties(): these properties are not recognized:"); props.list(System.out); return false; } // Some sanity checks if((window_size > 0 && min_threshold <= 0) || (window_size <= 0 && min_threshold > 0)) { if(log.isErrorEnabled()) log.error("window_size and min_threshold have to be both set if one of them is set"); return false; } if(window_size > 0 && min_threshold > 0 && window_size < min_threshold) { if(log.isErrorEnabled()) log.error("min_threshold (" + min_threshold + ") has to be less than window_size (" + window_size + ")"); return false; } return true; }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/85b7a7c351493f88f1d6a3045b9cbd0b817f95cd/UNICAST.java/buggy/src/org/jgroups/protocols/UNICAST.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 23126, 12, 2297, 3458, 13, 288, 3639, 514, 377, 609, 31, 202, 5748, 8526, 377, 1853, 31, 3639, 609, 33, 9693, 18, 588, 1396, 2932, 4538, 8863, 3639, 309, 12, 701, 480, 446, 13, 288, 202, 565, 1853, 33, 1304, 18, 2670, 15594, 23531, 329, 21762, 12, 701, 1769, 202, 565, 309, 12, 5645, 480, 446, 597, 1853, 18, 2469, 405, 374, 13, 202, 202, 4538, 33, 5645, 31, 5411, 3458, 18, 4479, 2932, 4538, 8863, 3639, 289, 3639, 609, 33, 9693, 18, 588, 1396, 2932, 5668, 67, 1467, 8863, 3639, 309, 12, 701, 480, 446, 13, 288, 5411, 2742, 67, 1467, 33, 4522, 18, 2670, 1702, 12, 701, 1769, 5411, 3458, 18, 4479, 2932, 5668, 67, 1467, 8863, 3639, 289, 3639, 609, 33, 9693, 18, 588, 1396, 2932, 1154, 67, 8699, 8863, 3639, 309, 12, 701, 480, 446, 13, 288, 5411, 1131, 67, 8699, 33, 4522, 18, 2670, 1702, 12, 701, 1769, 5411, 3458, 18, 4479, 2932, 1154, 67, 8699, 8863, 3639, 289, 202, 701, 33, 9693, 18, 588, 1396, 2932, 1202, 67, 75, 959, 8863, 3639, 309, 12, 701, 480, 446, 13, 288, 202, 565, 999, 67, 75, 959, 33, 2704, 3411, 12, 701, 2934, 6494, 620, 5621, 5411, 3458, 18, 4479, 2932, 1202, 67, 75, 959, 8863, 3639, 289, 3639, 309, 12, 9693, 18, 1467, 1435, 405, 374, 13, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 2124, 2871, 9053, 18, 542, 2297, 13332, 4259, 1790, 854, 486, 16332, 2773, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 23126, 12, 2297, 3458, 13, 288, 3639, 514, 377, 609, 31, 202, 5748, 8526, 377, 1853, 31, 3639, 609, 33, 9693, 18, 588, 1396, 2932, 4538, 8863, 3639, 309, 12, 701, 480, 446, 13, 288, 202, 565, 1853, 33, 1304, 18, 2670, 15594, 23531, 329, 21762, 12, 701, 1769, 202, 565, 309, 12, 5645, 480, 446, 597, 1853, 18, 2469, 405, 374, 13, 202, 202, 4538, 33, 5645, 31, 5411, 3458, 18, 4479, 2932, 4538, 8863, 3639, 289, 3639, 609, 33, 9693, 18, 588, 1396, 2932, 5668, 67, 1467, 8863, 3639, 309, 12, 701, 480, 446, 13, 288, 5411, 2742, 67, 1467, 33, 4522, 18, 2670, 1702, 12, 701, 1769, 5411, 3458, 18, 4479, 2932, 5668, 2 ]
public static String newSaveDialog(String message) { return doSaveDialog(new JFileChooser());
public static String newSaveDialog(String message, String [] extension) { JFileChooser chooser = new JFileChooser(lastSave); ExampleFileFilter filter = new ExampleFileFilter(); for (int i=0; i<extension.length; i++) filter.addExtension(extension[i]); filter.setDescription(message); chooser.setFileFilter(filter); return doSaveDialog(chooser);
public static String newSaveDialog(String message) { return doSaveDialog(new JFileChooser()); }
1286 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1286/8e991457001690f1ec2f70e230ea47fcccb84860/FileChooser.java/clean/distrib/java_GUI/uk/org/jape/FileChooser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 394, 4755, 6353, 12, 780, 883, 13, 288, 3639, 327, 741, 4755, 6353, 12, 2704, 804, 812, 17324, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 ServletInputStream getInputStream() throws IOException {
public ServletInputStream getInputStream() {
public static Map getParameterMapMultipart(PipelineContext pipelineContext, final ExternalContext.Request request, final ServletInputStreamRepeater repeater) { final Map uploadParameterMap = new HashMap(); try { // Setup commons upload DiskFileUpload upload = new DiskFileUpload(); // Read properties // NOTE: We use properties scoped in the Request generator for historical reasons. Not too good. OXFProperties.PropertySet propertySet = OXFProperties.instance().getPropertySet(XMLConstants.REQUEST_PROCESSOR_QNAME); Integer maxSizeProperty = propertySet.getInteger(RequestGenerator.MAX_UPLOAD_SIZE_PROPERTY); int maxSize = (maxSizeProperty != null) ? maxSizeProperty.intValue() : RequestGenerator.DEFAULT_MAX_UPLOAD_SIZE; Integer maxMemorySizeProperty = propertySet.getInteger(RequestGenerator.MAX_UPLOAD_MEMORY_SIZE_PROPERTY); int maxMemorySize = (maxMemorySizeProperty != null) ? maxMemorySizeProperty.intValue() : RequestGenerator.DEFAULT_MAX_UPLOAD_MEMORY_SIZE; if (repeater != null) repeater.setMaxMemorySize(maxMemorySize); // Add a listener to destroy file items when the pipeline context is destroyed pipelineContext.addContextListener(new PipelineContext.ContextListenerAdapter() { public void contextDestroyed(boolean success) { if (uploadParameterMap != null) { for (Iterator i = uploadParameterMap.keySet().iterator(); i.hasNext();) { String name = (String) i.next(); Object value = uploadParameterMap.get(name); if (value instanceof FileItem) { FileItem fileItem = (FileItem) value; fileItem.delete(); } } } // Also cleanup repeater if (repeater != null) repeater.delete(); } }); // Wrap and implement just the required methods for the upload code HttpServletRequest wrapper = new HttpServletRequestStub() { public String getHeader(String s) { if ("content-type".equalsIgnoreCase(s)) { if (repeater != null) return repeater.getContentType(); else return request.getContentType(); } return null; } public int getContentLength() { if (repeater != null) return repeater.getContentLength(); else return request.getContentLength(); } public ServletInputStream getInputStream() throws IOException { // NOTE: The upload code does not actually check that it // doesn't read more than the content-length sent by the client! // Maybe here would be a good place to put an interceptor and // make sure we don't read too much. final InputStream is = (repeater != null) ? repeater.getInputStream() : request.getInputStream(); return new ServletInputStream() { public int read() throws IOException { return is.read(); } }; } }; // Parse the request and add file information try { for (Iterator i = upload.parseRequest(wrapper, maxMemorySize, maxSize, SystemUtils.getTemporaryDirectory().getPath()).iterator(); i.hasNext();) { FileItem fileItem = (FileItem) i.next(); if (fileItem.isFormField()) { // Simple form filled: add value to existing values, if any NetUtils.addValueToStringArrayMap(uploadParameterMap, fileItem.getFieldName(), fileItem.getString());// FIXME: FORM_ENCODING getString() should use an encoding } else { // It is a file, store the FileItem object uploadParameterMap.put(fileItem.getFieldName(), fileItem); } } } catch (FileUploadBase.SizeLimitExceededException e) { // Should we do something smart so we can use the Presentation // Server error page anyway? Right now, this is going to fail // miserably with an error. throw e; } // Make sure repeater finishes its job if (repeater != null) { repeater.finishReading(); logger.debug("Finished reading InputStream repeater (announced content length " + repeater.getContentLength() + " bytes, actual read " + repeater.getActualByteCount() + " bytes)"); } return uploadParameterMap; } catch (FileUploadException e) { throw new OXFException(e); } }
54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/89f1908598aa82f136be0d353a50c2be96fc0bc9/ServletExternalContext.java/clean/src/java/org/orbeon/oxf/servlet/ServletExternalContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1635, 5575, 863, 12024, 12, 8798, 1042, 5873, 1042, 16, 727, 11352, 1042, 18, 691, 590, 16, 727, 7971, 4348, 426, 347, 2045, 16304, 2045, 13, 288, 3639, 727, 1635, 3617, 1662, 863, 273, 394, 4317, 5621, 3639, 775, 288, 5411, 368, 10939, 24021, 3617, 5411, 12951, 812, 4777, 3617, 273, 394, 12951, 812, 4777, 5621, 5411, 368, 2720, 1790, 5411, 368, 5219, 30, 1660, 999, 1790, 12523, 316, 326, 1567, 4456, 364, 23922, 14000, 18, 2288, 4885, 7494, 18, 5411, 531, 60, 42, 2297, 18, 1396, 694, 1272, 694, 273, 531, 60, 42, 2297, 18, 1336, 7675, 588, 1396, 694, 12, 4201, 2918, 18, 5519, 67, 16560, 916, 67, 16032, 1769, 5411, 2144, 14777, 1396, 273, 1272, 694, 18, 588, 4522, 12, 691, 3908, 18, 6694, 67, 23347, 67, 4574, 67, 9900, 1769, 5411, 509, 14777, 273, 261, 1896, 1225, 1396, 480, 446, 13, 692, 14777, 1396, 18, 474, 620, 1435, 294, 1567, 3908, 18, 5280, 67, 6694, 67, 23347, 67, 4574, 31, 5411, 2144, 943, 6031, 1225, 1396, 273, 1272, 694, 18, 588, 4522, 12, 691, 3908, 18, 6694, 67, 23347, 67, 24329, 67, 4574, 67, 9900, 1769, 5411, 509, 943, 6031, 1225, 273, 261, 1896, 6031, 1225, 1396, 480, 446, 13, 692, 943, 6031, 1225, 1396, 18, 474, 620, 1435, 294, 1567, 3908, 18, 5280, 67, 6694, 67, 23347, 67, 24329, 67, 4574, 31, 5411, 309, 261, 28956, 2045, 480, 446, 13, 7734, 16304, 2045, 18, 542, 2747, 6031, 1225, 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, 1071, 760, 1635, 5575, 863, 12024, 12, 8798, 1042, 5873, 1042, 16, 727, 11352, 1042, 18, 691, 590, 16, 727, 7971, 4348, 426, 347, 2045, 16304, 2045, 13, 288, 3639, 727, 1635, 3617, 1662, 863, 273, 394, 4317, 5621, 3639, 775, 288, 5411, 368, 10939, 24021, 3617, 5411, 12951, 812, 4777, 3617, 273, 394, 12951, 812, 4777, 5621, 5411, 368, 2720, 1790, 5411, 368, 5219, 30, 1660, 999, 1790, 12523, 316, 326, 1567, 4456, 364, 23922, 14000, 18, 2288, 4885, 7494, 18, 5411, 531, 60, 42, 2297, 18, 1396, 694, 1272, 694, 273, 531, 60, 42, 2297, 18, 1336, 7675, 588, 1396, 694, 12, 4201, 2918, 18, 5519, 67, 16560, 916, 67, 16032, 1769, 5411, 2144, 14777, 1396, 2 ]
"
"
public void test047() { String source = "public class A {\n" + " public static void main(String[] args) {\n" + " boolean b = false;\n" + " if (false\n" + " ^ !b) { \n" + " System.out.println();\n" + " }\n" + " }\n" + "}"; String expectedOutput = " // Method descriptor #15 ([Ljava/lang/String;)V\n" + " // Stack: 1, Locals: 2\n" + " public static void main(String[] args);\n" + " 0 iconst_0\n" + " 1 istore_1 [b]\n" + " 2 iload_1 [b]\n" + " 3 ifne 12\n" + " 6 getstatic java/lang/System.out Ljava/io/PrintStream; [21]\n" + " 9 invokevirtual java/io/PrintStream.println()V [26]\n" + " 12 return\n" + " Line numbers:\n" + " [pc: 0, line: 3]\n" + " [pc: 2, line: 5]\n" + " [pc: 6, line: 6]\n" + " [pc: 12, line: 8]\n" + " Local variable table:\n" + " [pc: 0, pc: 13] local: args index: 0 type: [Ljava/lang/String;\n" + " [pc: 2, pc: 13] local: b index: 1 type: Z\n"; checkClassFile("A", source, expectedOutput); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/4a26249aa893b7bf1faa1e1388aeb96ba4c3a814/ClassFileReaderTest.java/clean/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/ClassFileReaderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3028, 27, 1435, 288, 202, 202, 780, 1084, 273, 1082, 202, 6, 482, 667, 432, 18890, 82, 6, 397, 1082, 202, 6, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 18890, 82, 6, 397, 1082, 202, 6, 202, 202, 6494, 324, 273, 629, 9747, 82, 6, 397, 1082, 202, 6, 202, 202, 430, 261, 5743, 64, 82, 6, 397, 1082, 202, 6, 1082, 282, 3602, 401, 70, 13, 288, 565, 202, 64, 82, 6, 397, 1082, 202, 6, 1082, 565, 202, 3163, 18, 659, 18, 8222, 5621, 64, 82, 6, 397, 1082, 202, 6, 1082, 282, 289, 64, 82, 6, 397, 1082, 202, 6, 202, 6280, 82, 6, 397, 1082, 202, 6, 1532, 31, 202, 202, 780, 2665, 1447, 273, 1082, 202, 6, 225, 368, 2985, 4950, 225, 468, 3600, 23265, 21159, 19, 4936, 19, 780, 30943, 58, 64, 82, 6, 397, 1875, 202, 6, 225, 368, 7283, 30, 404, 16, 2851, 1031, 30, 576, 64, 82, 6, 397, 1875, 202, 6, 225, 1071, 760, 918, 2774, 12, 780, 8526, 833, 20472, 82, 6, 397, 1875, 202, 6, 377, 374, 225, 4126, 334, 67, 20, 64, 82, 6, 397, 1875, 202, 6, 377, 404, 225, 277, 2233, 67, 21, 306, 70, 13944, 82, 6, 397, 1875, 202, 6, 377, 576, 225, 277, 945, 67, 21, 306, 70, 13944, 82, 6, 397, 1875, 202, 6, 377, 890, 225, 309, 4644, 2593, 64, 82, 6, 397, 1875, 202, 6, 377, 1666, 225, 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, 1842, 3028, 27, 1435, 288, 202, 202, 780, 1084, 273, 1082, 202, 6, 482, 667, 432, 18890, 82, 6, 397, 1082, 202, 6, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 18890, 82, 6, 397, 1082, 202, 6, 202, 202, 6494, 324, 273, 629, 9747, 82, 6, 397, 1082, 202, 6, 202, 202, 430, 261, 5743, 64, 82, 6, 397, 1082, 202, 6, 1082, 282, 3602, 401, 70, 13, 288, 565, 202, 64, 82, 6, 397, 1082, 202, 6, 1082, 565, 202, 3163, 18, 659, 18, 8222, 5621, 64, 82, 6, 397, 1082, 202, 6, 1082, 282, 289, 64, 82, 6, 397, 1082, 202, 6, 202, 6280, 82, 6, 397, 1082, 202, 6, 2 ]
if (compilerExcludes != null) { javac.add(compilerExcludes); }
javac.add(compilerExcludes);
public CompileModuleChunkTarget(final Project project, ModuleChunk moduleChunk, VirtualFile[] sourceRoots, VirtualFile[] testSourceRoots, File baseDir, GenerationOptions genOptions) { final String moduleChunkName = moduleChunk.getName(); //noinspection HardCodedStringLiteral final Tag compilerArgs = new Tag("compilerarg", new Pair[]{new Pair<String, String>("line", BuildProperties.propertyRef(BuildProperties.getModuleChunkCompilerArgsProperty(moduleChunkName)))}); //noinspection HardCodedStringLiteral final Tag classpathTag = new Tag("classpath", new Pair[]{new Pair<String, String>("refid", BuildProperties.getClasspathProperty(moduleChunkName))}); //noinspection HardCodedStringLiteral final Tag bootclasspathTag = new Tag("bootclasspath", new Pair[]{new Pair<String, String>("refid", BuildProperties.getBootClasspathProperty(moduleChunkName))}); final PatternSetRef compilerExcludes = CompilerExcludes.isAvailable(project)? new PatternSetRef(BuildProperties.getExcludedFromCompilationProperty(moduleChunkName)) : null; final String mainTargetName = BuildProperties.getCompileTargetName(moduleChunkName); final @NonNls String productionTargetName = mainTargetName + ".production"; final @NonNls String testsTargetName = mainTargetName + ".tests"; final int modulesCount = moduleChunk.getModules().length; myMainTarget = new Target(mainTargetName, productionTargetName + "," + testsTargetName, CompilerBundle.message("generated.ant.build.compile.modules.main.target.comment", modulesCount, moduleChunkName), null); myProductionTarget = new Target(productionTargetName, getChunkDependenciesString(moduleChunk), CompilerBundle.message( "generated.ant.build.compile.modules.production.classes.target.comment", modulesCount, moduleChunkName), null); myTestsTarget = new Target(testsTargetName, productionTargetName, CompilerBundle.message("generated.ant.build.compile.modules.tests.target.comment", modulesCount, moduleChunkName), BuildProperties.PROPERTY_SKIP_TESTS); if (sourceRoots.length > 0) { final String outputPathRef = BuildProperties.propertyRef(BuildProperties.getOutputPathProperty(moduleChunkName)); myProductionTarget.add(new Mkdir(outputPathRef)); final Javac javac = new Javac(genOptions, moduleChunkName, outputPathRef); javac.add(compilerArgs); javac.add(bootclasspathTag); javac.add(classpathTag); //noinspection HardCodedStringLiteral javac.add(new Tag("src", new Pair[]{new Pair<String, String>("refid", BuildProperties.getSourcepathProperty(moduleChunkName))})); if (compilerExcludes != null) { javac.add(compilerExcludes); } myProductionTarget.add(javac); myProductionTarget.add(createCopyTask(project, moduleChunk, sourceRoots, outputPathRef, baseDir, genOptions)); } if (testSourceRoots.length > 0) { final String testOutputPathRef = BuildProperties.propertyRef(BuildProperties.getOutputPathForTestsProperty(moduleChunkName)); myTestsTarget.add(new Mkdir(testOutputPathRef)); final Javac javac = new Javac(genOptions, moduleChunkName, testOutputPathRef); javac.add(compilerArgs); javac.add(classpathTag); //noinspection HardCodedStringLiteral javac.add(new Tag("classpath", new Pair[]{new Pair<String, String>("location", BuildProperties.propertyRef(BuildProperties.getOutputPathProperty(moduleChunkName)))})); //noinspection HardCodedStringLiteral javac.add(new Tag("src", new Pair[]{new Pair<String, String>("refid", BuildProperties.getTestSourcepathProperty(moduleChunkName))})); if (compilerExcludes != null) { javac.add(compilerExcludes); } myTestsTarget.add(javac); myTestsTarget.add(createCopyTask(project, moduleChunk, testSourceRoots, testOutputPathRef, baseDir, genOptions)); } add(myMainTarget); add(myProductionTarget, 1); add(myTestsTarget, 1); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/f8f6ef93c36d3136225130d14c9b74c1106a7545/CompileModuleChunkTarget.java/clean/compiler/impl/com/intellij/compiler/ant/CompileModuleChunkTarget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 16143, 3120, 5579, 2326, 12, 6385, 5420, 1984, 16, 5924, 5579, 1605, 5579, 16, 7269, 812, 8526, 1084, 17540, 16, 7269, 812, 8526, 1842, 1830, 17540, 16, 1387, 14078, 16, 23234, 1320, 3157, 1320, 13, 288, 565, 727, 514, 1605, 5579, 461, 273, 1605, 5579, 18, 17994, 5621, 565, 368, 13242, 670, 1060, 1085, 72, 28565, 565, 727, 4034, 5274, 2615, 273, 394, 4034, 2932, 9576, 3175, 3113, 394, 8599, 63, 7073, 2704, 8599, 32, 780, 16, 514, 34, 2932, 1369, 3113, 3998, 2297, 18, 4468, 1957, 12, 3116, 2297, 18, 588, 3120, 5579, 9213, 2615, 1396, 12, 2978, 5579, 461, 3719, 16869, 1769, 565, 368, 13242, 670, 1060, 1085, 72, 28565, 565, 727, 4034, 10006, 1805, 273, 394, 4034, 2932, 26302, 3113, 394, 8599, 63, 7073, 2704, 8599, 32, 780, 16, 514, 34, 2932, 1734, 350, 3113, 3998, 2297, 18, 588, 17461, 1396, 12, 2978, 5579, 461, 3719, 22938, 565, 368, 13242, 670, 1060, 1085, 72, 28565, 565, 727, 4034, 4835, 26302, 1805, 273, 394, 4034, 2932, 7137, 26302, 3113, 394, 8599, 63, 7073, 2704, 8599, 32, 780, 16, 514, 34, 2932, 1734, 350, 3113, 3998, 2297, 18, 588, 15817, 17461, 1396, 12, 2978, 5579, 461, 3719, 22938, 565, 727, 6830, 694, 1957, 5274, 30866, 273, 12972, 30866, 18, 291, 5268, 12, 4406, 9945, 394, 6830, 694, 1957, 12, 3116, 2297, 18, 588, 16461, 1265, 19184, 1396, 12, 2978, 5579, 461, 3719, 294, 446, 31, 565, 727, 514, 2774, 2326, 461, 273, 3998, 2297, 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, 16143, 3120, 5579, 2326, 12, 6385, 5420, 1984, 16, 5924, 5579, 1605, 5579, 16, 7269, 812, 8526, 1084, 17540, 16, 7269, 812, 8526, 1842, 1830, 17540, 16, 1387, 14078, 16, 23234, 1320, 3157, 1320, 13, 288, 565, 727, 514, 1605, 5579, 461, 273, 1605, 5579, 18, 17994, 5621, 565, 368, 13242, 670, 1060, 1085, 72, 28565, 565, 727, 4034, 5274, 2615, 273, 394, 4034, 2932, 9576, 3175, 3113, 394, 8599, 63, 7073, 2704, 8599, 32, 780, 16, 514, 34, 2932, 1369, 3113, 3998, 2297, 18, 4468, 1957, 12, 3116, 2297, 18, 588, 3120, 5579, 9213, 2615, 1396, 12, 2978, 5579, 461, 3719, 16869, 1769, 565, 368, 13242, 670, 1060, 1085, 72, 28565, 565, 727, 4034, 10006, 1805, 2 ]
protected void okPressed( ) { try { inputGroup.setName( nameEditor.getText( ) ); String newToc = UIUtil.convertToModelString( tocEditor.getText( ), true ); if ( newToc != inputGroup.getTocExpression( ) ) { if ( newToc == null || !newToc.equals( inputGroup.getTocExpression( ) ) ) { inputGroup.setTocExpression( newToc ); } } int index = keyChooser.getSelectionIndex( ); String oldKeyExpr = inputGroup.getKeyExpr( ); String newKeyExpr = getKeyExpression( ); inputGroup.setKeyExpr( newKeyExpr ); if ( newKeyExpr != null && !newKeyExpr.equals( oldKeyExpr ) ) { SlotHandle slotHandle = null; if ( inputGroup instanceof ListGroupHandle ) { slotHandle = inputGroup.getHeader( ); } else if ( inputGroup instanceof TableGroupHandle ) { if ( inputGroup.getHeader( ).getCount( ) != 0 ) { RowHandle rowHandle = ( (RowHandle) inputGroup.getHeader( ) .get( 0 ) ); CellHandle cellHandle = (CellHandle) rowHandle.getCells( ) .get( 0 ); slotHandle = cellHandle.getContent( ); } } if ( slotHandle != null ) { Object insertObject; if ( index == -1 ) { insertObject = newKeyExpr.trim( ); } else { insertObject = columnList.get( index ); } DesignElementHandle dataItemHandle = InsertInLayoutUtil.performInsert( insertObject, slotHandle, inputGroup.getContainer( ) ); slotHandle.add( dataItemHandle ); } } index = intervalType.getSelectionIndex( ); inputGroup.setInterval( intervalChoices[index].getName( ) ); if ( index != 0 ) { inputGroup.setIntervalRange( intervalRange.getSelection( ) ); } else { inputGroup.setProperty( GroupHandle.INTERVAL_RANGE_PROP, null ); } if ( intervalBaseText.getEnabled( ) ) { inputGroup.setIntervalBase( UIUtil.convertToModelString( intervalBaseText.getText( ), false ) ); } else { inputGroup.setIntervalBase( null ); } if ( inputGroup instanceof TableGroupHandle ) { if ( includeHeader.getSelection( ) != inputGroup.hasHeader( ) ) {// the include header status changed if ( includeHeader.getSelection( ) ) {// from unchecked to checked inputGroup.getHeader( ).add( createRow( ) ); } else {// from checked to unchecked,clear the slot inputGroup.clearContents( GroupHandle.HEADER_SLOT ); } } if ( includeFooter.getSelection( ) != inputGroup.hasFooter( ) ) {// the include footer status changed if ( includeFooter.getSelection( ) ) {// from unchecked to checked inputGroup.getFooter( ).add( createRow( ) ); } else {// from checked to unchecked,clear the slot inputGroup.clearContents( GroupHandle.FOOTER_SLOT ); } } } if ( ascending.getSelection( ) ) { inputGroup.setSortDirection( DesignChoiceConstants.SORT_DIRECTION_ASC ); } else { inputGroup.setSortDirection( DesignChoiceConstants.SORT_DIRECTION_DESC ); } inputGroup.setPageBreakBefore( pagebreakBeforeChoicesAll[pagebreakBeforeCombo.getSelectionIndex( )].getName( ) ); inputGroup.setPageBreakAfter( pagebreakAfterChoicesAll[pagebreakAfterCombo.getSelectionIndex( )].getName( ) ); inputGroup.setRepeatHeader( repeatHeaderButton.getSelection( ) ); } catch ( SemanticException e ) { ExceptionHandler.handle( e ); return; } setResult( inputGroup ); super.okPressed( ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/40b29749f3b04834ff98ad55b31b8a8b4b2859c5/GroupDialog.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/GroupDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1529, 24624, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 2630, 1114, 18, 542, 461, 12, 508, 6946, 18, 588, 1528, 12, 262, 11272, 1082, 202, 780, 394, 56, 504, 273, 6484, 1304, 18, 6283, 774, 1488, 780, 12, 17919, 6946, 18, 588, 1528, 12, 262, 16, 6862, 202, 3767, 11272, 1082, 202, 430, 261, 394, 56, 504, 480, 810, 1114, 18, 588, 56, 504, 2300, 12, 262, 262, 1082, 202, 95, 9506, 202, 430, 261, 394, 56, 504, 422, 446, 25083, 202, 20081, 401, 2704, 56, 504, 18, 14963, 12, 810, 1114, 18, 588, 56, 504, 2300, 12, 262, 262, 262, 9506, 202, 95, 6862, 202, 2630, 1114, 18, 542, 56, 504, 2300, 12, 394, 56, 504, 11272, 9506, 202, 97, 1082, 202, 97, 1082, 202, 474, 770, 273, 498, 17324, 18, 588, 6233, 1016, 12, 11272, 1082, 202, 780, 1592, 653, 4742, 273, 810, 1114, 18, 588, 653, 4742, 12, 11272, 1082, 202, 780, 16670, 4742, 273, 3579, 2300, 12, 11272, 1082, 202, 2630, 1114, 18, 542, 653, 4742, 12, 16670, 4742, 11272, 1082, 202, 430, 261, 16670, 4742, 480, 446, 597, 401, 2704, 653, 4742, 18, 14963, 12, 1592, 653, 4742, 262, 262, 1082, 202, 95, 9506, 202, 8764, 3259, 4694, 3259, 273, 446, 31, 9506, 202, 430, 261, 810, 1114, 1276, 987, 1114, 3259, 262, 9506, 202, 95, 6862, 202, 14194, 3259, 273, 810, 1114, 18, 588, 1864, 12, 11272, 9506, 202, 97, 9506, 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, 1117, 918, 1529, 24624, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 2630, 1114, 18, 542, 461, 12, 508, 6946, 18, 588, 1528, 12, 262, 11272, 1082, 202, 780, 394, 56, 504, 273, 6484, 1304, 18, 6283, 774, 1488, 780, 12, 17919, 6946, 18, 588, 1528, 12, 262, 16, 6862, 202, 3767, 11272, 1082, 202, 430, 261, 394, 56, 504, 480, 810, 1114, 18, 588, 56, 504, 2300, 12, 262, 262, 1082, 202, 95, 9506, 202, 430, 261, 394, 56, 504, 422, 446, 25083, 202, 20081, 401, 2704, 56, 504, 18, 14963, 12, 810, 1114, 18, 588, 56, 504, 2300, 12, 262, 262, 262, 9506, 202, 95, 6862, 202, 2630, 1114, 18, 542, 2 ]
public Object put (Symbol name, Object value)
public Object put (/* interned */ String name, Object value)
public Object put (Symbol name, Object value) { Binding binding = lookup (name); if (binding == null) { define (name, value); return null; } else { Object old_value = binding.get (); binding.set (value); return old_value; } }
40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/9933571afc04a317d6c4f5d01a969d3b5695a14e/Environment.java/buggy/kawa/lang/Environment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1033, 1378, 261, 20308, 8216, 329, 1195, 514, 508, 16, 1033, 460, 13, 225, 288, 565, 15689, 5085, 273, 3689, 261, 529, 1769, 565, 309, 261, 7374, 422, 446, 13, 1377, 288, 202, 11255, 261, 529, 16, 460, 1769, 202, 2463, 446, 31, 1377, 289, 565, 469, 1377, 288, 202, 921, 1592, 67, 1132, 273, 5085, 18, 588, 261, 1769, 202, 7374, 18, 542, 261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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1033, 1378, 261, 20308, 8216, 329, 1195, 514, 508, 16, 1033, 460, 13, 225, 288, 565, 15689, 5085, 273, 3689, 261, 529, 1769, 565, 309, 261, 7374, 422, 446, 13, 1377, 288, 202, 11255, 261, 529, 16, 460, 1769, 202, 2463, 446, 31, 1377, 289, 565, 469, 1377, 288, 202, 921, 1592, 67, 1132, 273, 5085, 18, 588, 261, 1769, 202, 7374, 18, 542, 261, 1132, 1769, 202, 2463, 1592, 67, 1132, 31, 1377, 289, 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 ]
if (validateDelete(resources)) { if (containsOnlyProjects(resources)) { return confirmDeleteProjects(resources); } return confirmDeleteNonProjects(resources);
if (containsOnlyProjects(resources)) { return confirmDeleteProjects(resources);
private boolean confirmDelete(IResource[] resources) { if (validateDelete(resources)) { if (containsOnlyProjects(resources)) { return confirmDeleteProjects(resources); } return confirmDeleteNonProjects(resources); } return false; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/53cada7d6d0463cdcb3aed320ea380f4aae64087/DeleteResourceAction.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/DeleteResourceAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 6932, 2613, 12, 45, 1420, 8526, 2703, 13, 288, 202, 202, 430, 261, 5662, 2613, 12, 4683, 3719, 288, 1082, 202, 430, 261, 12298, 3386, 15298, 12, 4683, 3719, 288, 9506, 202, 2463, 6932, 2613, 15298, 12, 4683, 1769, 1082, 202, 97, 1082, 202, 2463, 6932, 2613, 3989, 15298, 12, 4683, 1769, 202, 202, 97, 202, 202, 2463, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 1152, 1250, 6932, 2613, 12, 45, 1420, 8526, 2703, 13, 288, 202, 202, 430, 261, 5662, 2613, 12, 4683, 3719, 288, 1082, 202, 430, 261, 12298, 3386, 15298, 12, 4683, 3719, 288, 9506, 202, 2463, 6932, 2613, 15298, 12, 4683, 1769, 1082, 202, 97, 1082, 202, 2463, 6932, 2613, 3989, 15298, 12, 4683, 1769, 202, 202, 97, 202, 202, 2463, 629, 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 ]
* This block of code is necessary to avoid a chicken and egg problem. * The DeploymentInfo objects must have a reference to their container * during this assembly process, but the container is created after the * DeploymentInfo necessitating this loop to assign all deployment info
* This block of code is necessary to avoid a chicken and egg problem. * The DeploymentInfo objects must have a reference to their container * during this assembly process, but the container is created after the * DeploymentInfo necessitating this loop to assign all deployment info
public void init(Object id, HashMap registry, Properties properties) throws org.openejb.OpenEJBException { containerID = id; deploymentRegistry = registry; if ( properties == null ) properties = new Properties(); SafeToolkit toolkit = SafeToolkit.getToolkit("CastorCMP11_EntityContainer"); SafeProperties safeProps = toolkit.getSafeProperties(properties); poolsize = safeProps.getPropertyAsInt("PoolSize", 100); Global_TX_Database = safeProps.getProperty("Global_TX_Database"); Local_TX_Database = safeProps.getProperty("Local_TX_Database"); File gTxDb = null; File lTxDb = null; try{ gTxDb = org.openejb.util.FileUtils.getFile( Global_TX_Database ); } catch (Exception e){ throw new OpenEJBException("Cannot locate the Global_TX_Database file. "+e.getMessage()); } try{ lTxDb = org.openejb.util.FileUtils.getFile( Local_TX_Database ); } catch (Exception e){ throw new OpenEJBException("Cannot locate the Local_TX_Database file. "+e.getMessage()); } /* * Castor JDO obtains a reference to the TransactionManager throught the InitialContext. * The new InitialContext will use the deployment's JNDI Context, which is normal inside * the container system, so we need to bind the TransactionManager to the deployment's name space * The biggest problem with this is that the bean itself may access the TransactionManager if it * knows the JNDI name, so we bind the TransactionManager into dynamically created transient name * space based every time the container starts. It nearly impossible for the bean to anticipate * and use the binding directly. It may be possible, however, to locate it using a Context listing method. */ String transactionManagerJndiName = "java:openejb/"+(new java.rmi.dgc.VMID()).toString().replace(':', '_'); /* * Because the Tyrex root (used by Castor) is different from the IntraVM root, * we have to bind the TxMgr under env in the IntraVM/comp * IntraVM/comp is bound under TyrexRoot/comp so beans can use java:comp indifferently. */ String transactionManagerJndiNameTyrex = "env/"+(new java.rmi.dgc.VMID()).toString().replace(':', '_'); /* * This container uses two different JDO objects. One whose transactions are managed by a tx manager * and which is not. The following code configures both. */ jdo_ForGlobalTransaction = new JDO(); // Assign the TransactionManager JNDI name to the dynamically generated JNDI name jdo_ForGlobalTransaction.setTransactionManager("java:comp/"+transactionManagerJndiNameTyrex); jdo_ForGlobalTransaction.setDatabasePooling( true ); jdo_ForGlobalTransaction.setConfiguration(gTxDb.getAbsolutePath()); jdo_ForGlobalTransaction.setDatabaseName("Global_TX_Database"); jdo_ForGlobalTransaction.setCallbackInterceptor(this); jdo_ForGlobalTransaction.setInstanceFactory(this); jdo_ForGlobalTransaction.setLogInterceptor(new CMPLogger("Global_TX_Database")); // Make sure the DB is registered as a as synchronization object before the transaction begins. jdo_ForLocalTransaction = new JDO(); jdo_ForLocalTransaction.setConfiguration(lTxDb.getAbsolutePath()); jdo_ForLocalTransaction.setDatabaseName("Local_TX_Database"); jdo_ForLocalTransaction.setCallbackInterceptor(this); jdo_ForLocalTransaction.setInstanceFactory(this); jdo_ForLocalTransaction.setLogInterceptor(new CMPLogger("Local_TX_Database")); /* * This block of code is necessary to avoid a chicken and egg problem. * The DeploymentInfo objects must have a reference to their container * during this assembly process, but the container is created after the * DeploymentInfo necessitating this loop to assign all deployment info * object's their containers. * * In addition the loop is leveraged for other oprations like creating * the method ready pool and the keyGenerator pool. */ org.openejb.DeploymentInfo [] deploys = this.deployments(); /* * the JndiTxReference will dynamically obtian a reference to the TransactionManger the first * time it used. The same Reference is shared by all deployments, which is not a problem. */ JndiTxReference txReference = new JndiTxReference(); for ( int x = 0; x < deploys.length; x++ ) { org.openejb.core.DeploymentInfo di = (org.openejb.core.DeploymentInfo)deploys[x]; di.setContainer(this); // also added this line to create the Method Ready Pool for each deployment methodReadyPoolMap.put(di.getDeploymentID(),new LinkedListStack(poolsize/2)); KeyGenerator kg = null; try { kg = KeyGeneratorFactory.createKeyGenerator(di); di.setKeyGenerator( kg ); } catch ( Exception e ) { logger.error("Unable to create KeyGenerator for deployment id = "+di.getDeploymentID(), e); throw new org.openejb.SystemException("Unable to create KeyGenerator for deployment id = "+di.getDeploymentID(), e); } // bind the TransactionManager to the dynamically generated JNDI name try { if ( di instanceof org.openejb.tyrex.TyrexDeploymentInfo ) { ((javax.naming.Context)di.getJndiEnc().lookup("java:comp")).bind("comp/"+transactionManagerJndiNameTyrex,txReference); } else { di.getJndiEnc().bind(transactionManagerJndiName,txReference); jdo_ForGlobalTransaction.setTransactionManager(transactionManagerJndiName); } } catch ( Exception e ) { logger.error("Unable to bind TransactionManager to deployment id = "+di.getDeploymentID()+" using JNDI name = \""+transactionManagerJndiName+"\"", e); throw new org.openejb.SystemException("Unable to bind TransactionManager to deployment id = "+di.getDeploymentID()+" using JNDI name = \""+transactionManagerJndiName+"\"", e); } try { /** * The following code adds a findByPrimaryKey query-statement to the list of queries * held by the deployment descriptor. The container is required to generate this query * automatically, which is what this code does. */ String findByPrimarKeyQuery = "SELECT e FROM "+di.getBeanClass().getName()+" e WHERE "; if ( kg.isKeyComplex() ) { Field [] pkFields = di.getPrimaryKeyClass().getFields(); for ( int i = 1; i <= pkFields.length; i++ ) { findByPrimarKeyQuery += "e."+pkFields[i-1].getName()+" = $"+i; if ( (i+1)<=pkFields.length ) findByPrimarKeyQuery += " AND "; } } else { findByPrimarKeyQuery += "e."+di.getPrimaryKeyField().getName()+" = $1"; } Method findByPrimaryKeyMethod = di.getHomeInterface().getMethod("findByPrimaryKey", new Class []{di.getPrimaryKeyClass()}); di.addQuery(findByPrimaryKeyMethod, findByPrimarKeyQuery); } catch ( Exception e ) { throw new org.openejb.SystemException("Could not generate a query statement for the findByPrimaryKey method of the deployment = "+di.getDeploymentID(),e); } } resetMap = new HashMap(); resetMap.put(byte.class, new Byte((byte)0)); resetMap.put(boolean.class, new Boolean(false)); resetMap.put(char.class, new Character((char)0)); resetMap.put(short.class, new Short((short)0)); resetMap.put(int.class, new Integer(0)); resetMap.put(long.class, new Long(0)); resetMap.put(float.class, new Float(0)); resetMap.put(double.class, new Double(0.0)); }
47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/573534e5a220c625cf2ee9c177d1c12d1949a023/CastorCMP11_EntityContainer.java/clean/openejb0/src/facilities/org/openejb/alt/containers/castor_cmp11/CastorCMP11_EntityContainer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 921, 612, 16, 4317, 4023, 16, 6183, 1790, 13, 565, 1216, 2358, 18, 3190, 73, 10649, 18, 3678, 22719, 503, 565, 288, 3639, 24257, 273, 612, 31, 3639, 6314, 4243, 273, 4023, 31, 3639, 309, 261, 1790, 422, 446, 262, 1790, 273, 394, 6183, 5621, 3639, 14060, 6364, 8691, 5226, 8691, 273, 14060, 6364, 8691, 18, 588, 6364, 8691, 2932, 9735, 280, 39, 4566, 2499, 67, 1943, 2170, 8863, 3639, 14060, 2297, 4183, 5047, 273, 5226, 8691, 18, 588, 9890, 2297, 12, 4738, 1769, 7734, 2845, 1467, 6647, 273, 4183, 5047, 18, 588, 1396, 31720, 2932, 18834, 3113, 2130, 1769, 3639, 8510, 67, 16556, 67, 4254, 273, 4183, 5047, 18, 588, 1396, 2932, 5160, 67, 16556, 67, 4254, 8863, 3639, 3566, 67, 16556, 67, 4254, 225, 273, 4183, 5047, 18, 588, 1396, 2932, 2042, 67, 16556, 67, 4254, 8863, 7734, 1387, 314, 4188, 4331, 273, 446, 31, 3639, 1387, 328, 4188, 4331, 273, 446, 31, 3639, 775, 95, 5411, 314, 4188, 4331, 273, 2358, 18, 3190, 73, 10649, 18, 1367, 18, 812, 1989, 18, 29925, 12, 8510, 67, 16556, 67, 4254, 11272, 3639, 289, 1044, 261, 503, 425, 15329, 5411, 604, 394, 3502, 22719, 503, 2932, 4515, 10627, 326, 8510, 67, 16556, 67, 4254, 585, 18, 13773, 73, 18, 24906, 10663, 540, 289, 3639, 775, 95, 5411, 328, 4188, 4331, 273, 2358, 18, 3190, 73, 10649, 18, 1367, 18, 812, 1989, 18, 29925, 12, 3566, 67, 16556, 67, 4254, 11272, 3639, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 921, 612, 16, 4317, 4023, 16, 6183, 1790, 13, 565, 1216, 2358, 18, 3190, 73, 10649, 18, 3678, 22719, 503, 565, 288, 3639, 24257, 273, 612, 31, 3639, 6314, 4243, 273, 4023, 31, 3639, 309, 261, 1790, 422, 446, 262, 1790, 273, 394, 6183, 5621, 3639, 14060, 6364, 8691, 5226, 8691, 273, 14060, 6364, 8691, 18, 588, 6364, 8691, 2932, 9735, 280, 39, 4566, 2499, 67, 1943, 2170, 8863, 3639, 14060, 2297, 4183, 5047, 273, 5226, 8691, 18, 588, 9890, 2297, 12, 4738, 1769, 7734, 2845, 1467, 6647, 273, 4183, 5047, 18, 588, 1396, 31720, 2932, 18834, 3113, 2130, 1769, 3639, 8510, 67, 16556, 67, 4254, 273, 4183, 5047, 18, 588, 1396, 2932, 5160, 2 ]
count = getShort(iCode, pc + 3); outArgs = getArgsArray(stack, sDbl, stackTop, count);
int count = getShort(iCode, pc + 3); Object[] outArgs = getArgsArray(stack, sDbl, stackTop, count);
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; }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/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 ]
if (!_isLive) return null; synchronized (_freeInboundTunnels) { return new HashSet(_freeInboundTunnels.keySet()); }
if (!_isLive) return null; synchronized (_freeInboundTunnels) { return new HashSet(_freeInboundTunnels.keySet()); }
public Set getFreeTunnels() { if (!_isLive) return null; synchronized (_freeInboundTunnels) { return new HashSet(_freeInboundTunnels.keySet()); } }
27433 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27433/86759d2f9c63d203488c7e8b34e64be162a16ce9/TunnelPool.java/clean/router/java/src/net/i2p/router/tunnelmanager/TunnelPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1000, 2812, 992, 20329, 87, 1435, 288, 225, 202, 430, 16051, 67, 291, 12328, 13, 327, 446, 31, 202, 22043, 261, 67, 9156, 20571, 20329, 87, 13, 288, 202, 565, 327, 394, 6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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1000, 2812, 992, 20329, 87, 1435, 288, 225, 202, 430, 16051, 67, 291, 12328, 13, 327, 446, 31, 202, 22043, 261, 67, 9156, 20571, 20329, 87, 13, 288, 202, 565, 327, 394, 6847, 24899, 9156, 20571, 20329, 87, 18, 856, 694, 10663, 202, 97, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
writer.println(getDestFile().getName());
writer.println( getDestFile().getName() );
private void createIndexList(ZipOutputStream zOut) throws IOException, ArchiverException { ByteArrayOutputStream baos = new ByteArrayOutputStream(); // encoding must be UTF8 as specified in the specs. PrintWriter writer = new PrintWriter(new OutputStreamWriter(baos, "UTF8")); // version-info blankline writer.println("JarIndex-Version: 1.0"); writer.println(); // header newline writer.println(getDestFile().getName()); writeIndexLikeList(new ArrayList(addedDirs.keySet()), rootEntries, writer); writer.println(); if (indexJars != null) { Manifest mf = createManifest(); Manifest.Attribute classpath = mf.getMainSection().getAttribute(Manifest.ATTRIBUTE_CLASSPATH); String[] cpEntries = null; if (classpath != null) { StringTokenizer tok = new StringTokenizer(classpath.getValue(), " "); cpEntries = new String[tok.countTokens()]; int c = 0; while (tok.hasMoreTokens()) { cpEntries[c++] = tok.nextToken(); } } String[] indexJarEntries = (String[])indexJars.toArray(); for (int i = 0; i < indexJarEntries.length; i++) { String name = findJarName(indexJarEntries[i], cpEntries); if (name != null) { ArrayList dirs = new ArrayList(); ArrayList files = new ArrayList(); grabFilesAndDirs(indexJarEntries[i], dirs, files); if (dirs.size() + files.size() > 0) { writer.println(name); writeIndexLikeList(dirs, files, writer); writer.println(); } } } } writer.flush(); ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); super.zipFile(bais, zOut, INDEX_NAME, System.currentTimeMillis(), null, DEFAULT_FILE_MODE); }
10884 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10884/8348e0b29d34f62b8f140a99598373fb0cbf7fcb/JarArchiver.java/buggy/src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 25207, 682, 12, 9141, 4632, 998, 1182, 13, 3639, 1216, 1860, 16, 16959, 1667, 503, 565, 288, 3639, 11559, 17548, 273, 394, 11559, 5621, 3639, 368, 2688, 1297, 506, 6380, 28, 487, 1269, 316, 326, 10607, 18, 3639, 14071, 2633, 273, 394, 14071, 12, 2704, 24248, 12, 12124, 538, 16, 28524, 565, 315, 5159, 28, 7923, 1769, 3639, 368, 1177, 17, 1376, 7052, 1369, 3639, 2633, 18, 8222, 2932, 10813, 1016, 17, 1444, 30, 404, 18, 20, 8863, 3639, 2633, 18, 8222, 5621, 3639, 368, 1446, 9472, 3639, 2633, 18, 8222, 12, 2343, 395, 812, 7675, 17994, 1435, 11272, 3639, 1045, 1016, 8804, 682, 12, 2704, 2407, 12, 9665, 9872, 18, 856, 694, 1435, 3631, 18701, 1365, 5400, 16, 2633, 1769, 3639, 2633, 18, 8222, 5621, 3639, 309, 261, 1615, 46, 5913, 480, 446, 13, 288, 5411, 15443, 14749, 273, 752, 9121, 5621, 5411, 15443, 18, 1499, 10006, 273, 7734, 14749, 18, 588, 6376, 5285, 7675, 588, 1499, 12, 9121, 18, 11616, 67, 5237, 4211, 1769, 5411, 514, 8526, 3283, 5400, 273, 446, 31, 5411, 309, 261, 26302, 480, 446, 13, 288, 7734, 16370, 946, 273, 394, 16370, 12, 26302, 18, 24805, 9334, 4766, 12900, 315, 315, 1769, 7734, 3283, 5400, 273, 394, 514, 63, 17692, 18, 1883, 5157, 1435, 15533, 7734, 509, 276, 273, 374, 31, 7734, 1323, 261, 17692, 18, 5332, 7417, 5157, 10756, 288, 10792, 3283, 5400, 63, 71, 9904, 65, 273, 946, 18, 4285, 1345, 5621, 7734, 289, 5411, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 25207, 682, 12, 9141, 4632, 998, 1182, 13, 3639, 1216, 1860, 16, 16959, 1667, 503, 565, 288, 3639, 11559, 17548, 273, 394, 11559, 5621, 3639, 368, 2688, 1297, 506, 6380, 28, 487, 1269, 316, 326, 10607, 18, 3639, 14071, 2633, 273, 394, 14071, 12, 2704, 24248, 12, 12124, 538, 16, 28524, 565, 315, 5159, 28, 7923, 1769, 3639, 368, 1177, 17, 1376, 7052, 1369, 3639, 2633, 18, 8222, 2932, 10813, 1016, 17, 1444, 30, 404, 18, 20, 8863, 3639, 2633, 18, 8222, 5621, 3639, 368, 1446, 9472, 3639, 2633, 18, 8222, 12, 2343, 395, 812, 7675, 17994, 1435, 11272, 3639, 1045, 1016, 8804, 682, 12, 2704, 2407, 12, 9665, 9872, 18, 856, 694, 1435, 3631, 18701, 2 ]
public org.quickfix.field.SecurityIDSource getSecurityIDSource() throws FieldNotFound { org.quickfix.field.SecurityIDSource value = new org.quickfix.field.SecurityIDSource();
public quickfix.field.SecurityIDSource getSecurityIDSource() throws FieldNotFound { quickfix.field.SecurityIDSource value = new quickfix.field.SecurityIDSource();
public org.quickfix.field.SecurityIDSource getSecurityIDSource() throws FieldNotFound { org.quickfix.field.SecurityIDSource value = new org.quickfix.field.SecurityIDSource(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/ExecutionReport.java/buggy/src/java/src/quickfix/fix44/ExecutionReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 1830, 19288, 734, 1830, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 1830, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 1830, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 1830, 19288, 734, 1830, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 1830, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 1830, 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 ]
cmof.reflection.Object object = new cmof.PropertyImpl(_279, extent, null, "cmof.PropertyImpl", new String[]{"cmof.RedefinableElementCustom", "core.abstractions.multiplicities.MultiplicityElementCustom", "core.abstractions.redefinitions.RedefinableElementCustom", "cmof.NamedElementCustom", "core.abstractions.namespaces.NamedElementCustom", "core.abstractions.ownerships.ElementCustom"});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("visibility", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isDerived", new Boolean(false));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("subsettedProperty", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("redefinitionContext", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("redefinedProperty", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("datatype", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("redefinedElement", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("association", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isComposite", new Boolean(false));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("ownedElement", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("upper", new Long(-1));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("lower", new Integer(1));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("__container", _85);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isReadOnly", new Boolean(false));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isOrdered", new Boolean(true));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isUnique", new Boolean(true));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("featuringClassifier", new java.lang.Object[] {_85});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("name", "qualifiedTypeName");((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("__metaClass", _725);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("__components", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("namespace", _85);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("owningAssociation", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("type", _35);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("owner", _85);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("class", _85);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("details", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("default", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("qualifiedName", "as.TypeString.qualifiedTypeName");((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isDerivedUnion", new Boolean(false));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("opposite", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isID", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("uri", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("tag", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("ownedComment", new java.lang.Object[] {});
cmof.reflection.Object object = new cmof.PropertyImpl(_263, extent, null, "cmof.PropertyImpl", new String[]{"cmof.RedefinableElementCustom", "core.abstractions.multiplicities.MultiplicityElementCustom", "core.abstractions.redefinitions.RedefinableElementCustom", "cmof.NamedElementCustom", "core.abstractions.namespaces.NamedElementCustom", "core.abstractions.ownerships.ElementCustom"});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("visibility", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isDerived", new Boolean(true));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("subsettedProperty", new java.lang.Object[] {_273});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("redefinitionContext", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("redefinedProperty", new java.lang.Object[] {_140});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("datatype", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("redefinedElement", new java.lang.Object[] {_140});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("association", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isComposite", new Boolean(false));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("ownedElement", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("upper", new Long(-1));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("lower", new Integer(1));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("__container", _497);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isReadOnly", new Boolean(false));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isUnique", new Boolean(true));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isOrdered", new Boolean(false));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("featuringClassifier", new java.lang.Object[] {_497});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("name", "target");((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("__metaClass", _595);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("__components", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("namespace", _497);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("owningAssociation", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("type", _745);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("owner", _497);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("class", _497);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("details", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("default", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("qualifiedName", "cmof.DirectedRelationship.target");((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isDerivedUnion", new Boolean(true));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("opposite", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("ownedBehavior", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isID", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("uri", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("tag", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("ownedComment", new java.lang.Object[] {});
private static cmof.reflection.Object getObject594(hub.sam.mof.reflection.ExtentImpl extent) { cmof.reflection.Object object = new cmof.PropertyImpl(_279, extent, null, "cmof.PropertyImpl", new String[]{"cmof.RedefinableElementCustom", "core.abstractions.multiplicities.MultiplicityElementCustom", "core.abstractions.redefinitions.RedefinableElementCustom", "cmof.NamedElementCustom", "core.abstractions.namespaces.NamedElementCustom", "core.abstractions.ownerships.ElementCustom"});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("visibility", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isDerived", new Boolean(false));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("subsettedProperty", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("redefinitionContext", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("redefinedProperty", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("datatype", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("redefinedElement", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("association", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isComposite", new Boolean(false));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("ownedElement", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("upper", new Long(-1));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("lower", new Integer(1));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("__container", _85);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isReadOnly", new Boolean(false));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isOrdered", new Boolean(true));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isUnique", new Boolean(true));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("featuringClassifier", new java.lang.Object[] {_85});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("name", "qualifiedTypeName");((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("__metaClass", _725);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("__components", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("namespace", _85);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("owningAssociation", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("type", _35);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("owner", _85);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("class", _85);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("details", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("default", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("qualifiedName", "as.TypeString.qualifiedTypeName");((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isDerivedUnion", new Boolean(false));((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("opposite", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("isID", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("uri", null);((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("tag", new java.lang.Object[] {});((hub.sam.mof.reflection.ObjectImpl)object).putAttribute("ownedComment", new java.lang.Object[] {}); return object; }
11562 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11562/de04478dee56227ec288b43e5ca731f9bbd84f7c/CMOF.java/buggy/SimpleMOF2/resources/repository/initial-src/cmof/CMOF.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 5003, 792, 18, 26606, 18, 921, 6455, 6162, 24, 12, 14986, 18, 20353, 18, 81, 792, 18, 26606, 18, 17639, 2828, 11933, 13, 288, 3639, 5003, 792, 18, 26606, 18, 921, 733, 273, 394, 5003, 792, 18, 1396, 2828, 24899, 22, 4449, 16, 11933, 16, 446, 16, 315, 7670, 792, 18, 1396, 2828, 3113, 394, 514, 63, 7073, 6, 7670, 792, 18, 426, 5649, 429, 1046, 3802, 3113, 315, 3644, 18, 378, 701, 4905, 18, 7027, 1780, 1961, 18, 5002, 20458, 1046, 3802, 3113, 315, 3644, 18, 378, 701, 4905, 18, 266, 13314, 18, 426, 5649, 429, 1046, 3802, 3113, 315, 7670, 792, 18, 7604, 1046, 3802, 3113, 315, 3644, 18, 378, 701, 4905, 18, 16078, 18, 7604, 1046, 3802, 3113, 315, 3644, 18, 378, 701, 4905, 18, 995, 12565, 87, 18, 1046, 3802, 6, 22938, 12443, 14986, 18, 20353, 18, 81, 792, 18, 26606, 18, 921, 2828, 13, 1612, 2934, 458, 1499, 2932, 14422, 3113, 446, 1769, 12443, 14986, 18, 20353, 18, 81, 792, 18, 26606, 18, 921, 2828, 13, 1612, 2934, 458, 1499, 2932, 291, 21007, 3113, 394, 3411, 12, 3767, 10019, 12443, 14986, 18, 20353, 18, 81, 792, 18, 26606, 18, 921, 2828, 13, 1612, 2934, 458, 1499, 2932, 15657, 2344, 1396, 3113, 394, 2252, 18, 4936, 18, 921, 8526, 288, 67, 5324, 23, 22938, 12443, 14986, 18, 20353, 18, 81, 792, 18, 26606, 18, 921, 2828, 13, 1612, 2934, 458, 1499, 2932, 266, 6907, 1042, 3113, 394, 2252, 18, 4936, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 5003, 792, 18, 26606, 18, 921, 6455, 6162, 24, 12, 14986, 18, 20353, 18, 81, 792, 18, 26606, 18, 17639, 2828, 11933, 13, 288, 3639, 5003, 792, 18, 26606, 18, 921, 733, 273, 394, 5003, 792, 18, 1396, 2828, 24899, 22, 4449, 16, 11933, 16, 446, 16, 315, 7670, 792, 18, 1396, 2828, 3113, 394, 514, 63, 7073, 6, 7670, 792, 18, 426, 5649, 429, 1046, 3802, 3113, 315, 3644, 18, 378, 701, 4905, 18, 7027, 1780, 1961, 18, 5002, 20458, 1046, 3802, 3113, 315, 3644, 18, 378, 701, 4905, 18, 266, 13314, 18, 426, 5649, 429, 1046, 3802, 3113, 315, 7670, 792, 18, 7604, 1046, 3802, 3113, 315, 3644, 18, 378, 701, 4905, 18, 16078, 2 ]
return son(indeX).getProbs(classIndex,instance,weights[indeX]*weight);
return son(indeX).getProbs(classIndex, instance, weights[indeX] * weight);
private double getProbs(int classIndex,Instance instance, double weight) throws Exception { double [] weights; int treeIndex; if (m_isLeaf){ return weight*localModel().classProb(classIndex,instance); }else{ treeIndex = localModel().whichSubset(instance); if (treeIndex == -1){ weights = localModel().weights(instance); return son(indeX).getProbs(classIndex,instance,weights[indeX]*weight); }else{ if (treeIndex == indeX) return son(indeX).getProbs(classIndex,instance,weight); return 0; } } }
4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/d7580c34a8aa6e5e81e2045e66c2aa35debdbaaf/ClassifierDecList.java/buggy/trunk/weka/classifiers/rules/part/ClassifierDecList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1645, 3570, 2038, 12, 474, 667, 1016, 16, 1442, 791, 16, 9506, 225, 1645, 3119, 13, 1216, 1185, 288, 3639, 1645, 5378, 5376, 31, 565, 509, 2151, 1016, 31, 565, 309, 261, 81, 67, 291, 9858, 15329, 1377, 327, 3119, 14, 3729, 1488, 7675, 1106, 9152, 12, 1106, 1016, 16, 1336, 1769, 565, 289, 12107, 95, 1377, 2151, 1016, 273, 1191, 1488, 7675, 12784, 20315, 12, 1336, 1769, 1377, 309, 261, 3413, 1016, 422, 300, 21, 15329, 202, 9727, 273, 1191, 1488, 7675, 9727, 12, 1336, 1769, 202, 2463, 18882, 12, 267, 323, 60, 2934, 588, 626, 2038, 12, 1106, 1016, 16, 791, 16, 5376, 63, 267, 323, 60, 65, 380, 3119, 1769, 1377, 289, 12107, 95, 202, 430, 261, 3413, 1016, 422, 316, 323, 60, 13, 202, 225, 327, 18882, 12, 267, 323, 60, 2934, 588, 626, 2038, 12, 1106, 1016, 16, 1336, 16, 4865, 1769, 202, 2463, 374, 31, 1377, 289, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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81, 67, 291, 9858, 15329, 1377, 327, 3119, 14, 3729, 1488, 7675, 1106, 9152, 12, 1106, 1016, 16, 1336, 1769, 565, 289, 12107, 95, 1377, 2151, 1016, 273, 1191, 1488, 7675, 12784, 20315, 12, 1336, 1769, 1377, 309, 261, 3413, 1016, 422, 300, 21, 15329, 202, 9727, 273, 1191, 1488, 7675, 9727, 12, 1336, 1769, 202, 2463, 18882, 12, 267, 323, 60, 2934, 588, 626, 2038, 12, 1106, 1016, 16, 791, 16, 5376, 63, 267, 323, 60, 65, 380, 3119, 1769, 1377, 289, 12107, 95, 2 ]
stations.clear();
public void initFrame(){ // setSize(new java.awt.Dimension (mywidth, myheight)); //setPreferredSize(new java.awt.Dimension (mywidth, myheight)); setLayout(new GridBagLayout()); gbc = new GridBagConstraints(); gbc.fill = gbc.BOTH; gbc.weightx = 1.0; gbc.weighty = 0.0; gbc.gridx = 0; gbc.gridy = 0; JLabel netLabel = new JLabel(bundle.getString("LABEL_NETWORKS")); JLabel staLabel = new JLabel(bundle.getString("LABEL_STATIONS")); JLabel siLabel = new JLabel(bundle.getString("LABEL_SITES")); JLabel orientationLabel = new JLabel(bundle.getString("LABEL_ORIENTATIONS")); JLabel chLabel = new JLabel(bundle.getString("LABEL_CHANNELS")); netLabel.setToolTipText(lnettip); staLabel.setToolTipText(lstatip); siLabel.setToolTipText(lsittip); chLabel.setToolTipText(lchatip); add(netLabel, gbc); gbc.gridx++; add(staLabel, gbc); gbc.gridx++; if (showSites) { add(siLabel, gbc); gbc.gridx++; } // end of if (showSites) add(orientationLabel, gbc); gbc.gridx++; add(chLabel, gbc); gbc.gridx++; gbc.gridy++; gbc.gridx = 0; gbc.weighty = 1.0; final ListCellRenderer renderer = new NameListCellRenderer(true); networkList = new JList(networks); networkList.setCellRenderer(renderer); networkList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); networkList.addListSelectionListener(new ListSelectionListener() { public void valueChanged(ListSelectionEvent e) { if(e.getValueIsAdjusting()){ return; } final NetworkAccess[] nets = getSelectedNetworks(); stations.clear(); Thread stationLoader = new Thread() { public void run() { try { for (int i=0; i<nets.length; i++) { Station[] newStations = nets[i].retrieve_stations(); logger.debug("got "+newStations.length+" stations"); for (int j=0; j<newStations.length; j++) { stations.addElement(newStations[j]); } logger.debug("finished adding stations"); } // end of for ((int i=0; i<nets.length; i++) } catch (Exception e) { edu.sc.seis.fissuresUtil.exceptionHandlerGUI.ExceptionHandlerGUI.handleException(e); } // end of try-catch } }; stationLoader.start(); } } ); JScrollPane scroller = new JScrollPane(networkList); add(scroller, gbc); gbc.gridx++; stationList = new JList(stations); stationList.setCellRenderer(renderer); stationList.setSelectionMode(javax.swing.ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); stationList.addListSelectionListener(new ListSelectionListener() { public void valueChanged(ListSelectionEvent e) { if(e.getValueIsAdjusting()){ return; } ListSelectionModel selModel = stationList.getSelectionModel(); // assume only one selected network at at time... NetworkAccess[] nets = getSelectedNetworks(); NetworkAccess net = nets[0]; for (int i=e.getFirstIndex(); i<=e.getLastIndex(); i++) { if (stationList.isSelectedIndex(i)) { Station selectedStation = (Station)stations.getElementAt(i); Channel[] chans = net.retrieve_for_station(selectedStation.get_id()); for (int j=0; j<chans.length; j++) { String chanKey = ChannelIdUtil.toString(chans[j].get_id()); if ( ! channelMap.containsKey(chanKey)) { channelMap.put(chanKey, chans[j]); if ( ! sites.contains(chans[j].my_site.get_code())) { sites.addElement(chans[j].my_site.get_code()); } if ( ! channels.contains(chans[j].get_code())) { channels.addElement(chans[j].get_code()); } } } // end of for (int j=0; j<chans.length; j++) } else { Station selectedStation = (Station)stations.getElementAt(i); Channel[] chans = net.retrieve_for_station(selectedStation.get_id()); for (int j=0; j<chans.length; j++) { String chanKey = ChannelIdUtil.toString(chans[j].get_id()); if ( channelMap.containsKey(chanKey)) { channelMap.remove(chanKey); } } } } // end of for (int i=e.getFirstIndex(); i<e.getLastIndex(); i++) } } ); scroller = new JScrollPane(stationList); add(scroller, gbc); gbc.gridx++; siteList = new JList(sites); siteList.setCellRenderer(renderer); siteList.setSelectionMode(javax.swing.ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); scroller = new JScrollPane(siteList); if (showSites) { add(scroller, gbc); gbc.gridx++; } final ListCellRenderer bundleRenderer = new BundleListCellRenderer(); String[] orientationTypes = new String[4]; orientationTypes[THREE_COMPONENT] = "THREE_COMPONENT"; orientationTypes[VERTICAL_ONLY] = "VERTICAL_ONLY"; orientationTypes[HORIZONTAL_ONLY] = "HORIZONTAL_ONLY"; orientationTypes[INDIVIDUAL_CHANNELS] = "INDIVIDUAL_CHANNELS"; orientationList = new JList(orientationTypes); orientationList.setCellRenderer(bundleRenderer); orientationList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); orientationList.getSelectionModel().setSelectionInterval(autoSelectedOrientation, autoSelectedOrientation); orientationList.addListSelectionListener(new ListSelectionListener() { public void valueChanged(ListSelectionEvent e) { if(e.getValueIsAdjusting()){ return; } String selected = (String)orientationList.getSelectedValue(); if ((selected.equals("THREE_COMPONENT") || selected.equals("VERTICAL_ONLY") || selected.equals("HORIZONTAL_ONLY")) && channelList.getModel() != bandListModel) { channelList.setModel(bandListModel); channelList.setCellRenderer(bundleRenderer); } else if (selected.equals("INDIVIDUAL_CHANNELS") && channelList.getModel() != channels) { channelList.setModel(channels); channelList.setCellRenderer(renderer); } } }); scroller = new JScrollPane(orientationList); add(scroller, gbc); gbc.gridx++; bandListModel.addElement("LONG_PERIOD"); bandListModel.addElement("BROAD_BAND"); bandListModel.addElement("SHORT_PERIOD"); bandListModel.addElement("VERY_LONG_PERIOD"); bandListModel.addElement("ULTRA_LONG_PERIOD"); bandListModel.addElement("EXTREMELY_LONG_PERIOD"); bandListModel.addElement("MID_PERIOD"); bandListModel.addElement("EXTREMELY_SHORT_PERIOD"); bandListModel.addElement("HIGH_BROAD_BAND"); bandListModel.addElement("ADMINISTRATIVE"); bandListModel.addElement("WEATHER_ENVIRONMENTAL"); bandListModel.addElement("EXPERIMENTAL"); if (autoSelectedOrientation == INDIVIDUAL_CHANNELS) { channelList = new JList(channels); channelList.setCellRenderer(renderer); } else { channelList = new JList(bandListModel); channelList.setCellRenderer(bundleRenderer); } // end of else channelList.setSelectionMode(javax.swing.ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); ListModel chanListModel = channelList.getModel(); ListSelectionModel channelSelctionModel = channelList.getSelectionModel(); for (int j=0; j<autoSelectBandGain.length; j++) { for (int i=0; i<chanListModel.getSize(); i++) { String listElement = (String)chanListModel.getElementAt(i); System.out.println(bundle.getString("CODE_"+listElement)+" = "+autoSelectBandGain[j]); if (bundle.getString("CODE_"+listElement).equals(autoSelectBandGain[j])) { channelSelctionModel.addSelectionInterval(i,i); break; } } // end of for (int i=0; i<chanListModel; i++) } // end of for (int j=0; j<autoSelectBandGain.length; j++) scroller = new JScrollPane(channelList); add(scroller, gbc); gbc.gridx++; }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/316fd6f986d58da27037ea4baa39a8e237e1d237/ChannelChooser.java/clean/src/edu/sc/seis/fissuresUtil/chooser/ChannelChooser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 3219, 1435, 95, 202, 759, 202, 542, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 261, 4811, 2819, 16, 3399, 4210, 10019, 202, 759, 542, 16028, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 261, 4811, 2819, 16, 3399, 4210, 10019, 565, 202, 542, 3744, 12, 2704, 7145, 5013, 3744, 10663, 202, 4490, 71, 273, 394, 13075, 5621, 202, 4490, 71, 18, 5935, 273, 26432, 18, 38, 18307, 31, 202, 4490, 71, 18, 4865, 92, 273, 404, 18, 20, 31, 202, 4490, 71, 18, 4865, 93, 273, 374, 18, 20, 31, 202, 4490, 71, 18, 5222, 92, 273, 374, 31, 202, 4490, 71, 18, 5222, 93, 273, 374, 31, 202, 46, 2224, 2901, 2224, 273, 394, 21403, 12, 9991, 18, 588, 780, 2932, 13545, 67, 28047, 55, 7923, 1769, 202, 46, 2224, 384, 69, 2224, 273, 394, 21403, 12, 9991, 18, 588, 780, 2932, 13545, 67, 882, 15297, 7923, 1769, 202, 46, 2224, 7533, 2224, 273, 394, 21403, 12, 9991, 18, 588, 780, 2932, 13545, 67, 55, 1285, 3991, 7923, 1769, 202, 46, 2224, 9820, 2224, 273, 394, 21403, 12, 9991, 18, 588, 780, 2932, 13545, 67, 916, 45, 2222, 15297, 7923, 1769, 202, 46, 2224, 462, 2224, 273, 394, 21403, 12, 9991, 18, 588, 780, 2932, 13545, 67, 15814, 55, 7923, 1769, 202, 2758, 2224, 18, 542, 29250, 1528, 12, 2370, 278, 14587, 1769, 202, 334, 69, 2224, 18, 542, 29250, 1528, 12, 80, 5642, 625, 1769, 202, 7722, 2224, 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, 3219, 1435, 95, 202, 759, 202, 542, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 261, 4811, 2819, 16, 3399, 4210, 10019, 202, 759, 542, 16028, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 261, 4811, 2819, 16, 3399, 4210, 10019, 565, 202, 542, 3744, 12, 2704, 7145, 5013, 3744, 10663, 202, 4490, 71, 273, 394, 13075, 5621, 202, 4490, 71, 18, 5935, 273, 26432, 18, 38, 18307, 31, 202, 4490, 71, 18, 4865, 92, 273, 404, 18, 20, 31, 202, 4490, 71, 18, 4865, 93, 273, 374, 18, 20, 31, 202, 4490, 71, 18, 5222, 92, 273, 374, 31, 202, 4490, 71, 18, 5222, 93, 273, 374, 31, 202, 46, 2224, 2901, 2 ]
return getDouble(properties, name); }
return getDouble(properties, name); }
public double getDouble(String name) { return getDouble(properties, name);}
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/be95edd129a1deef61176d5d63fd605f9dfe18a5/PreferenceStore.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1645, 16097, 12, 780, 508, 13, 288, 202, 2463, 16097, 12, 4738, 16, 508, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1645, 16097, 12, 780, 508, 13, 288, 202, 2463, 16097, 12, 4738, 16, 508, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 static String[] list(String name) throws RemoteException, MalformedURLException { return (getRegistry(parseURL(name)).list());}
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/392a873c7dc1067cc2cc414042ead4e3b43e4483/Naming.java/clean/core/src/classpath/java/java/rmi/Naming.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 760, 514, 8526, 666, 12, 780, 508, 13, 1216, 18361, 16, 20710, 288, 202, 2463, 261, 588, 4243, 12, 2670, 1785, 12, 529, 13, 2934, 1098, 10663, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 760, 514, 8526, 666, 12, 780, 508, 13, 1216, 18361, 16, 20710, 288, 202, 2463, 261, 588, 4243, 12, 2670, 1785, 12, 529, 13, 2934, 1098, 10663, 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 ]
_loop1833:
_loop1836:
public final void putstate(AST _t) throws RecognitionException { AST putstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1818 = _t; AST tmp1333_AST_in = (AST)_t; match(_t,PUT); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; if ((_t.getType()==STREAM)) { stream_name(_t); _t = _retTree; } else if ((_tokenSet_23.member(_t.getType()))) { } else { throw new NoViableAltException(_t); } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CONTROL: { AST tmp1334_AST_in = (AST)_t; match(_t,CONTROL); _t = _t.getNextSibling(); break; } case UNFORMATTED: { AST tmp1335_AST_in = (AST)_t; match(_t,UNFORMATTED); _t = _t.getNextSibling(); break; } default: if (_t==null) _t=ASTNULL; if ((_tokenSet_24.member(_t.getType()))) { } else { throw new NoViableAltException(_t); } } } { _loop1833: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SKIP: { skipphrase(_t); _t = _retTree; break; } case SPACE: { spacephrase(_t); _t = _retTree; break; } default: boolean synPredMatched1825 = false; if (_t==null) _t=ASTNULL; if (((_t.getType()==NULL_KW))) { AST __t1825 = _t; synPredMatched1825 = true; inputState.guessing++; try { { AST __t1823 = _t; AST tmp1336_AST_in = (AST)_t; match(_t,NULL_KW); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LEFTPAREN: { AST tmp1337_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1823; _t = _t.getNextSibling(); } } catch (RecognitionException pe) { synPredMatched1825 = false; } _t = __t1825;inputState.guessing--; } if ( synPredMatched1825 ) { AST __t1826 = _t; AST tmp1338_AST_in = (AST)_t; match(_t,NULL_KW); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LEFTPAREN: { funargs(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1826; _t = _t.getNextSibling(); } else if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; { _loop1832: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case FORMAT: { AST __t1829 = _t; AST tmp1339_AST_in = (AST)_t; match(_t,FORMAT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1829; _t = _t.getNextSibling(); break; } case AT: { AST __t1830 = _t; AST tmp1340_AST_in = (AST)_t; match(_t,AT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1830; _t = _t.getNextSibling(); break; } case TO: { AST __t1831 = _t; AST tmp1341_AST_in = (AST)_t; match(_t,TO); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1831; _t = _t.getNextSibling(); break; } default: { break _loop1832; } } } while (true); } } else { break _loop1833; } } } while (true); } state_end(_t); _t = _retTree; _t = __t1818; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1378, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1378, 2019, 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, 2643, 2643, 273, 389, 88, 31, 202, 202, 9053, 1853, 3437, 3707, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 4762, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 430, 14015, 67, 88, 18, 588, 559, 1435, 631, 13693, 3719, 288, 1082, 202, 3256, 67, 529, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 202, 202, 97, 202, 202, 12107, 309, 14015, 67, 2316, 694, 67, 4366, 18, 5990, 24899, 88, 18, 588, 559, 1435, 20349, 288, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 12849, 394, 17114, 24899, 88, 1769, 202, 202, 97, 9506, 202, 97, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 8020, 13429, 30, 202, 202, 95, 1082, 202, 9053, 1853, 3437, 5026, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 18248, 1769, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1378, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1378, 2019, 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, 2643, 2643, 273, 389, 88, 31, 202, 202, 9053, 1853, 3437, 3707, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 4762, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 430, 14015, 67, 88, 18, 588, 559, 1435, 631, 13693, 2 ]
ch.CacheSize = "0";
ch.CacheSize = "None";
public void newWaypoint(CacheHolder ch, Vector DB, MainTab mt, Preferences p){ ch.wayPoint = getNewWayPointName(DB); ch.type = "0"; ch.CacheSize = "0"; setDetails(ch, DB, mt,p); this.newWp = true; mt.select(this); }
51026 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51026/615ff12862415e6d1dc0e259d9d2a0d749443409/DetailsPanel.java/clean/src/CacheWolf/DetailsPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 394, 21831, 1153, 12, 1649, 6064, 462, 16, 5589, 2383, 16, 12740, 5661, 5874, 16, 28310, 293, 15329, 202, 202, 343, 18, 1888, 2148, 273, 12654, 21831, 2148, 461, 12, 2290, 1769, 202, 202, 343, 18, 723, 273, 315, 20, 14432, 202, 202, 343, 18, 24019, 273, 315, 20, 14432, 202, 202, 542, 3790, 12, 343, 16, 2383, 16, 5874, 16, 84, 1769, 202, 202, 2211, 18, 2704, 59, 84, 273, 638, 31, 202, 202, 1010, 18, 4025, 12, 2211, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 394, 21831, 1153, 12, 1649, 6064, 462, 16, 5589, 2383, 16, 12740, 5661, 5874, 16, 28310, 293, 15329, 202, 202, 343, 18, 1888, 2148, 273, 12654, 21831, 2148, 461, 12, 2290, 1769, 202, 202, 343, 18, 723, 273, 315, 20, 14432, 202, 202, 343, 18, 24019, 273, 315, 20, 14432, 202, 202, 542, 3790, 12, 343, 16, 2383, 16, 5874, 16, 84, 1769, 202, 202, 2211, 18, 2704, 59, 84, 273, 638, 31, 202, 202, 1010, 18, 4025, 12, 2211, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public FormEventImpl(ActionEvent evt) { event = evt; request = evt.getPortletRequest();
public FormEventImpl(PortletRequest request) { this.request = request;
public FormEventImpl(ActionEvent evt) { event = evt; request = evt.getPortletRequest(); }
49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/26165609a62e657f2a4149fdce72d08e1163b058/FormEventImpl.java/buggy/src/org/gridlab/gridsphere/provider/event/impl/FormEventImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2748, 1133, 2828, 12, 1803, 1133, 6324, 13, 288, 3639, 871, 273, 6324, 31, 3639, 590, 273, 6324, 18, 588, 18566, 691, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2748, 1133, 2828, 12, 1803, 1133, 6324, 13, 288, 3639, 871, 273, 6324, 31, 3639, 590, 273, 6324, 18, 588, 18566, 691, 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 ]
private void adjustWidth( ) { float amt = 0; if ( minWidthAmt > tableWidth ) { for ( int i = 0; i < tableWidthValues.length; i++ ) { tableWidthValues[i] = colMinSize; } return; } for ( int i = 0; i < tableWidthValues.length; i++ ) { amt = amt + tableWidthValues[i]; } float adjustValue = 0; if ( tableWidth - amt > 0 ) { adjustValue = ( tableWidth - amt ) / minAmt; if ( ( adjustValue - colMinSize ) < 0 ) { adjustValue = colMinSize; } for ( int i = 0; i < tableWidthValues.length; i++ ) { if ( tableWidthValues[i] == 0 ) { tableWidthValues[i] = adjustValue; } } } amt = 0; for ( int i = 0; i < tableWidthValues.length; i++ ) { amt = amt + tableWidthValues[i]; } //amt < table mini with //make every column be minisize if(tableWidth <= colNum * colMinSize) { for ( int i = 0; i < tableWidthValues.length; i++ ) { tableWidthValues[i] = colMinSize; } } else { while ( Math.abs( amt - tableWidth ) > 0.5 ) { adjustValue = tableWidth / amt; for ( int i = 0; i < tableWidthValues.length; i++ ) { tableWidthValues[i] = tableWidthValues[i] * adjustValue; if ( tableWidthValues[i] < colMinSize ) { tableWidthValues[i] = colMinSize; } } amt = 0; for ( int i = 0; i < tableWidthValues.length; i++ ) { amt = amt + tableWidthValues[i]; } } } return; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/c300dfa2ab22b4ef551bb0c1bf2205fbe818d4fd/FixTableLayoutCalculator.java/buggy/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/FixTableLayoutCalculator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 5765, 2384, 12, 262, 202, 95, 202, 202, 5659, 25123, 273, 374, 31, 202, 202, 430, 261, 1131, 2384, 31787, 405, 1014, 2384, 262, 202, 202, 95, 1082, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 1014, 2384, 1972, 18, 2469, 31, 277, 9904, 262, 1082, 202, 95, 9506, 202, 2121, 2384, 1972, 63, 77, 65, 273, 645, 2930, 1225, 31, 1082, 202, 97, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 1014, 2384, 1972, 18, 2469, 31, 277, 9904, 262, 202, 202, 95, 1082, 202, 301, 88, 273, 25123, 397, 1014, 2384, 1972, 63, 77, 15533, 202, 202, 97, 202, 202, 5659, 5765, 620, 273, 374, 31, 202, 202, 430, 261, 1014, 2384, 300, 25123, 405, 374, 262, 202, 202, 95, 1082, 202, 13362, 620, 273, 261, 1014, 2384, 300, 25123, 262, 342, 1131, 31787, 31, 1082, 202, 430, 261, 261, 5765, 620, 300, 645, 2930, 1225, 262, 411, 374, 262, 1082, 202, 95, 9506, 202, 13362, 620, 273, 645, 2930, 1225, 31, 1082, 202, 97, 1082, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 1014, 2384, 1972, 18, 2469, 31, 277, 9904, 262, 1082, 202, 95, 9506, 202, 430, 261, 1014, 2384, 1972, 63, 77, 65, 422, 374, 262, 9506, 202, 95, 6862, 202, 2121, 2384, 1972, 63, 77, 65, 273, 5765, 620, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 301, 88, 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, 5765, 2384, 12, 262, 202, 95, 202, 202, 5659, 25123, 273, 374, 31, 202, 202, 430, 261, 1131, 2384, 31787, 405, 1014, 2384, 262, 202, 202, 95, 1082, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 1014, 2384, 1972, 18, 2469, 31, 277, 9904, 262, 1082, 202, 95, 9506, 202, 2121, 2384, 1972, 63, 77, 65, 273, 645, 2930, 1225, 31, 1082, 202, 97, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 1014, 2384, 1972, 18, 2469, 31, 277, 9904, 262, 202, 202, 95, 1082, 202, 301, 88, 273, 25123, 397, 1014, 2384, 1972, 63, 77, 15533, 202, 202, 97, 202, 202, 5659, 2 ]
private byte[] readPacket(byte buffer[], VirtualSocket vsock, int timeOut) throws IOException { boolean queryTimedOut = false; do { // read the header with timeout specified if (timeOut > 0) { setTimeout(timeOut); } int len = 0; while (len == 0) { try { len = getIn().read(hdrBuf, 0, 1); } catch (InterruptedIOException e) { queryTimedOut = true; sendCancel(vsock.owner); } finally { if (timeOut > 0) { setTimeout(0); } timeOut = 0; } } if (len == -1) { // this appears to happen when the remote host closes the connection... throw new IOException("DB server closed connection."); } // // Read rest of header try { getIn().readFully(hdrBuf, 1, 7); } catch (EOFException e) { throw new IOException("DB server closed connection."); } byte packetType = hdrBuf[0]; if (packetType != TdsCore.LOGIN_PKT && packetType != TdsCore.QUERY_PKT && packetType != TdsCore.REPLY_PKT) { throw new IOException("Unknown packet type 0x" + Integer.toHexString(packetType)); } // figure out how many bytes are remaining in this packet. len = getPktLen(hdrBuf, 2); if (len < 8 || len > 65536) { throw new IOException("Invalid network packet length " + len); } if (buffer == null || len > buffer.length) { // Create or expand the buffer as required buffer = new byte[len]; if (len > maxBufSize) { maxBufSize = len; } } // Preserve the packet header in the buffer System.arraycopy(hdrBuf, 0, buffer, 0, 8); try { getIn().readFully(buffer, 8, len - 8); } catch (EOFException e) { throw new IOException("DB server closed connection."); } } while ((queryTimedOut && buffer[1] == 0) || (!queryTimedOut && isUnwantedCancelAck(buffer))); // // Track TDS packet complete // if (buffer[1] != 0) { responseOwner = -1; if (queryTimedOut) { // We had timed out so return an exception to notify the caller // All input will have been read throw new InterruptedIOException("Query timed out"); } } return buffer; }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/2c6b79107e175244186289d6b526b670a6bcb122/SharedSocket.java/clean/src/main/net/sourceforge/jtds/jdbc/SharedSocket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1160, 8526, 855, 6667, 12, 7229, 1613, 63, 6487, 7269, 4534, 6195, 975, 16, 509, 813, 1182, 13, 5411, 1216, 1860, 288, 3639, 1250, 843, 30416, 273, 629, 31, 7734, 741, 288, 5411, 368, 855, 326, 1446, 598, 2021, 1269, 5411, 309, 261, 957, 1182, 405, 374, 13, 288, 7734, 9643, 12, 957, 1182, 1769, 5411, 289, 13491, 509, 562, 273, 374, 31, 13491, 1323, 261, 1897, 422, 374, 13, 288, 7734, 775, 288, 10792, 562, 273, 7854, 7675, 896, 12, 16587, 5503, 16, 374, 16, 404, 1769, 7734, 289, 1044, 261, 24485, 14106, 425, 13, 288, 10792, 843, 30416, 273, 638, 31, 10792, 1366, 6691, 12, 6904, 975, 18, 8443, 1769, 7734, 289, 3095, 288, 10792, 309, 261, 957, 1182, 405, 374, 13, 288, 13491, 9643, 12, 20, 1769, 10792, 289, 4766, 3639, 813, 1182, 273, 374, 31, 7734, 289, 5411, 289, 13491, 309, 261, 1897, 422, 300, 21, 13, 288, 2398, 202, 759, 333, 14606, 358, 5865, 1347, 326, 2632, 1479, 13445, 326, 1459, 2777, 7734, 604, 394, 1860, 2932, 2290, 1438, 4375, 1459, 1199, 1769, 5411, 289, 13491, 368, 5411, 368, 2720, 3127, 434, 1446, 5411, 775, 288, 7734, 7854, 7675, 896, 16999, 12, 16587, 5503, 16, 404, 16, 2371, 1769, 5411, 289, 1044, 261, 12706, 503, 425, 13, 288, 7734, 604, 394, 1860, 2932, 2290, 1438, 4375, 1459, 1199, 1769, 5411, 289, 13491, 1160, 4414, 559, 273, 7723, 5503, 63, 20, 15533, 13491, 309, 261, 11482, 559, 480, 399, 2377, 4670, 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, 1160, 8526, 855, 6667, 12, 7229, 1613, 63, 6487, 7269, 4534, 6195, 975, 16, 509, 813, 1182, 13, 5411, 1216, 1860, 288, 3639, 1250, 843, 30416, 273, 629, 31, 7734, 741, 288, 5411, 368, 855, 326, 1446, 598, 2021, 1269, 5411, 309, 261, 957, 1182, 405, 374, 13, 288, 7734, 9643, 12, 957, 1182, 1769, 5411, 289, 13491, 509, 562, 273, 374, 31, 13491, 1323, 261, 1897, 422, 374, 13, 288, 7734, 775, 288, 10792, 562, 273, 7854, 7675, 896, 12, 16587, 5503, 16, 374, 16, 404, 1769, 7734, 289, 1044, 261, 24485, 14106, 425, 13, 288, 10792, 843, 30416, 273, 638, 31, 10792, 1366, 6691, 12, 6904, 975, 18, 8443, 1769, 7734, 289, 3095, 288, 10792, 2 ]
synPredMatched415 = false;
synPredMatched418 = false;
protected final void mXML_PI(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = XML_PI; int _saveIndex; _saveIndex=text.length(); mXML_PI_START(false); text.setLength(_saveIndex); mNCNAME(false); match(' '); { int _cnt416=0; _loop416: do { if ((_tokenSet_15.member(LA(1)))) { { match(_tokenSet_15); } } else { boolean synPredMatched415 = false; if (((LA(1)=='?'))) { int _m415 = mark(); synPredMatched415 = true; inputState.guessing++; try { { match('?'); { match(_tokenSet_16); } } } catch (RecognitionException pe) { synPredMatched415 = false; } rewind(_m415); inputState.guessing--; } if ( synPredMatched415 ) { match('?'); } else { if ( _cnt416>=1 ) { break _loop416; } else {throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn());} } } _cnt416++; } while (true); } if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/969210006e6cb9fde8b28d06ed5a9eca60042541/XQueryLexer.java/buggy/src/org/exist/xquery/parser/XQueryLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 918, 312, 4201, 67, 1102, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 3167, 67, 1102, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 67, 5688, 1016, 33, 955, 18, 2469, 5621, 202, 202, 81, 4201, 67, 1102, 67, 7570, 12, 5743, 1769, 202, 202, 955, 18, 542, 1782, 24899, 5688, 1016, 1769, 202, 202, 81, 10346, 1985, 12, 5743, 1769, 202, 202, 1916, 2668, 28005, 202, 202, 95, 202, 202, 474, 389, 13085, 24, 2313, 33, 20, 31, 202, 202, 67, 6498, 24, 2313, 30, 202, 202, 2896, 288, 1082, 202, 430, 14015, 67, 2316, 694, 67, 3600, 18, 5990, 12, 2534, 12, 21, 3719, 3719, 288, 9506, 202, 95, 9506, 202, 1916, 24899, 2316, 694, 67, 3600, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 6494, 6194, 10391, 15400, 24, 3600, 273, 629, 31, 9506, 202, 430, 261, 12443, 2534, 12, 21, 13, 18920, 4899, 20349, 288, 6862, 202, 474, 389, 81, 24, 3600, 273, 2267, 5621, 6862, 202, 11982, 10391, 15400, 24, 3600, 273, 638, 31, 6862, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 6862, 202, 698, 288, 25083, 202, 95, 25083, 202, 1916, 2668, 4899, 1769, 25083, 202, 95, 25083, 202, 1916, 24899, 2316, 694, 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, 727, 918, 312, 4201, 67, 1102, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 3167, 67, 1102, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 67, 5688, 1016, 33, 955, 18, 2469, 5621, 202, 202, 81, 4201, 67, 1102, 67, 7570, 12, 5743, 1769, 202, 202, 955, 18, 542, 1782, 24899, 5688, 1016, 1769, 202, 202, 81, 10346, 1985, 12, 5743, 1769, 202, 202, 1916, 2668, 28005, 202, 202, 95, 202, 202, 474, 389, 13085, 24, 2313, 33, 2 ]