rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
if (facetEditorsStep != null) { facetEditorsStep.disposeUIResources(); }
|
Pair<ModuleBuilder, ConfigureFacetsStep> runModuleWizard(Component dialogParent) { AddModuleWizard wizard = new AddModuleWizard(dialogParent, myProject, this); wizard.show(); final ConfigureFacetsStep facetEditorsStep = wizard.getFacetEditorsStep(); if (wizard.isOK()) { return Pair.create(wizard.getModuleBuilder(), facetEditorsStep); } if (facetEditorsStep != null) { facetEditorsStep.disposeUIResources(); } return Pair.create(null, null); }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/75e5d49f0c03eb864f65fbe58fbf883473367b0f/ModulesConfigurator.java/buggy/source/com/intellij/openapi/roots/ui/configuration/ModulesConfigurator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
8599,
32,
3120,
1263,
16,
11758,
6645,
2413,
4160,
34,
1086,
3120,
27130,
12,
1841,
6176,
3054,
13,
288,
565,
1436,
3120,
27130,
24204,
273,
394,
1436,
3120,
27130,
12,
12730,
3054,
16,
3399,
4109,
16,
333,
1769,
565,
24204,
18,
4500,
5621,
565,
727,
11758,
6645,
2413,
4160,
11082,
4666,
1383,
4160,
273,
24204,
18,
588,
11137,
4666,
1383,
4160,
5621,
565,
309,
261,
31837,
18,
291,
3141,
10756,
288,
1377,
327,
8599,
18,
2640,
12,
31837,
18,
588,
3120,
1263,
9334,
11082,
4666,
1383,
4160,
1769,
565,
289,
565,
309,
261,
21568,
4666,
1383,
4160,
480,
446,
13,
288,
1377,
11082,
4666,
1383,
4160,
18,
2251,
4150,
5370,
3805,
5621,
565,
289,
565,
327,
8599,
18,
2640,
12,
2011,
16,
446,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
8599,
32,
3120,
1263,
16,
11758,
6645,
2413,
4160,
34,
1086,
3120,
27130,
12,
1841,
6176,
3054,
13,
288,
565,
1436,
3120,
27130,
24204,
273,
394,
1436,
3120,
27130,
12,
12730,
3054,
16,
3399,
4109,
16,
333,
1769,
565,
24204,
18,
4500,
5621,
565,
727,
11758,
6645,
2413,
4160,
11082,
4666,
1383,
4160,
273,
24204,
18,
588,
11137,
4666,
1383,
4160,
5621,
565,
309,
261,
31837,
18,
291,
3141,
10756,
288,
1377,
327,
8599,
18,
2640,
12,
31837,
18,
588,
3120,
1263,
9334,
11082,
4666,
1383,
4160,
1769,
565,
289,
565,
309,
261,
21568,
4666,
1383,
4160,
480,
446,
13,
288,
1377,
11082,
4666,
1383,
4160,
18,
2251,
4150,
5370,
3805,
5621,
565,
289,
565,
327,
8599,
18,
2
] |
|
rule.setTestExpression( DEUtil.resolveNull( expression.getText( ) ) );
|
rule.setTestExpression( DEUtil.resolveNull( expression .getText( ) ) );
|
protected void okPressed( ) { try { String familyValue = getRawFontFamily( ); String sizeValue = getRawFontSize( ); int colorValue = DEUtil.getRGBInt( color.getRGB( ) ); int backColorValue = DEUtil.getRGBInt( backColor.getRGB( ) ); String italicValue = italic.getSelection( ) ? DesignChoiceConstants.FONT_STYLE_ITALIC : DesignChoiceConstants.FONT_STYLE_NORMAL; String weightValue = bold.getSelection( ) ? DesignChoiceConstants.FONT_WEIGHT_BOLD : DesignChoiceConstants.FONT_WEIGHT_NORMAL; String underlineValue = underline.getSelection( ) ? DesignChoiceConstants.TEXT_UNDERLINE_UNDERLINE : DesignChoiceConstants.TEXT_UNDERLINE_NONE; String lingthroughValue = linethrough.getSelection( ) ? DesignChoiceConstants.TEXT_LINE_THROUGH_LINE_THROUGH : DesignChoiceConstants.TEXT_LINE_THROUGH_NONE; // provider.setTestExpression( DEUtil.resolveNull( // expression.getText( ) ) ); if ( handle == null ) { HighlightRule rule = StructureFactory.createHighlightRule( ); rule.setProperty( HighlightRule.OPERATOR_MEMBER, DEUtil.resolveNull( getValueForOperator( operator.getText( ) ) ) ); rule.setProperty( HighlightRule.VALUE1_MEMBER, DEUtil.resolveNull( value1.getText( ) ) ); rule.setProperty( HighlightRule.VALUE2_MEMBER, DEUtil.resolveNull( value2.getText( ) ) ); /** * Sets our necessary style properties. */ if ( color.getRGB( ) != null ) { rule.setProperty( HighlightRule.COLOR_MEMBER, new Integer( colorValue ) ); } if ( backColor.getRGB( ) != null ) { rule.setProperty( HighlightRule.BACKGROUND_COLOR_MEMBER, new Integer( backColorValue ) ); } if ( familyValue != null ) { rule.setProperty( HighlightRule.FONT_FAMILY_MEMBER, familyValue ); } if ( sizeValue != null ) { rule.setProperty( HighlightRule.FONT_SIZE_MEMBER, sizeValue ); } if ( isItalicChanged ) { rule.setProperty( HighlightRule.FONT_STYLE_MEMBER, italicValue ); } if ( isBoldChanged ) { rule.setProperty( HighlightRule.FONT_WEIGHT_MEMBER, weightValue ); } if ( isLinethroughChanged ) { rule.setProperty( HighlightRule.TEXT_LINE_THROUGH_MEMBER, lingthroughValue ); } if ( isUnderlineChanged ) { rule.setProperty( HighlightRule.TEXT_UNDERLINE_MEMBER, underlineValue ); } // set test expression into highlight rule. rule.setTestExpression( DEUtil.resolveNull( expression.getText( ) ) ); handle = provider.doAddItem( rule, handleCount ); } else { handle.setOperator( DEUtil.resolveNull( getValueForOperator( operator.getText( ) ) ) ); handle.setValue1( DEUtil.resolveNull( value1.getText( ) ) ); if ( handle.getOperator( ) .equals( DesignChoiceConstants.MAP_OPERATOR_BETWEEN ) || handle.getOperator( ) .equals( DesignChoiceConstants.MAP_OPERATOR_NOT_BETWEEN ) ) { handle.setValue2( DEUtil.resolveNull( value2.getText( ) ) ); } handle.getFontFamilyHandle( ) .setStringValue( DEUtil.resolveNull( familyValue ) ); handle.getFontSize( ) .setStringValue( DEUtil.resolveNull( sizeValue ) ); if ( color.getRGB( ) != null ) { handle.getColor( ).setRGB( colorValue ); } else { handle.getColor( ).setValue( null ); } if ( backColor.getRGB( ) != null ) { handle.getBackgroundColor( ).setRGB( backColorValue ); } else { handle.getBackgroundColor( ).setValue( null ); } if ( isItalicChanged ) { handle.setFontStyle( italicValue ); } if ( isBoldChanged ) { handle.setFontWeight( weightValue ); } if ( isUnderlineChanged ) { handle.setTextUnderline( underlineValue ); } if ( isLinethroughChanged ) { handle.setTextLineThrough( lingthroughValue ); } // set test expression into highlight rule. handle.setTestExpression( DEUtil.resolveNull( expression.getText( ) ) ); } } catch ( Exception e ) { WidgetUtil.processError( getShell( ), e ); } super.okPressed( ); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e2b6eafcb11806e8cec2333182f81de479004998/HighlightRuleBuilder.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.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,
780,
6755,
620,
273,
10547,
5711,
9203,
12,
11272,
1082,
202,
780,
963,
620,
273,
10547,
22688,
12,
11272,
1082,
202,
474,
2036,
620,
273,
2030,
1304,
18,
588,
11343,
1702,
12,
2036,
18,
588,
11343,
12,
262,
11272,
1082,
202,
474,
1473,
2957,
620,
273,
2030,
1304,
18,
588,
11343,
1702,
12,
1473,
2957,
18,
588,
11343,
12,
262,
11272,
1082,
202,
780,
31709,
620,
273,
31709,
18,
588,
6233,
12,
262,
692,
29703,
10538,
2918,
18,
25221,
67,
15066,
67,
1285,
1013,
2871,
6862,
202,
30,
29703,
10538,
2918,
18,
25221,
67,
15066,
67,
15480,
31,
1082,
202,
780,
3119,
620,
273,
13068,
18,
588,
6233,
12,
262,
692,
29703,
10538,
2918,
18,
25221,
67,
29988,
67,
38,
11846,
6862,
202,
30,
29703,
10538,
2918,
18,
25221,
67,
29988,
67,
15480,
31,
1082,
202,
780,
25985,
620,
273,
25985,
18,
588,
6233,
12,
262,
692,
29703,
10538,
2918,
18,
5151,
67,
31625,
5997,
67,
31625,
5997,
6862,
202,
30,
29703,
10538,
2918,
18,
5151,
67,
31625,
5997,
67,
9826,
31,
1082,
202,
780,
328,
310,
10064,
620,
273,
4739,
546,
2642,
18,
588,
6233,
12,
262,
692,
29703,
10538,
2918,
18,
5151,
67,
5997,
67,
2455,
1457,
57,
16715,
67,
5997,
67,
2455,
1457,
57,
16715,
6862,
202,
30,
29703,
10538,
2918,
18,
5151,
67,
5997,
67,
2455,
1457,
57,
16715,
67,
9826,
31,
1082,
202,
759,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1529,
24624,
12,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
780,
6755,
620,
273,
10547,
5711,
9203,
12,
11272,
1082,
202,
780,
963,
620,
273,
10547,
22688,
12,
11272,
1082,
202,
474,
2036,
620,
273,
2030,
1304,
18,
588,
11343,
1702,
12,
2036,
18,
588,
11343,
12,
262,
11272,
1082,
202,
474,
1473,
2957,
620,
273,
2030,
1304,
18,
588,
11343,
1702,
12,
1473,
2957,
18,
588,
11343,
12,
262,
11272,
1082,
202,
780,
31709,
620,
273,
31709,
18,
588,
6233,
12,
262,
692,
29703,
10538,
2918,
18,
25221,
67,
15066,
67,
1285,
1013,
2871,
6862,
202,
30,
29703,
10538,
2918,
18,
25221,
67,
15066,
67,
15480,
31,
1082,
202,
780,
2
] |
return defaultFont(); Font font = createFont(symbolicName, (FontData[]) result); if (font == null) return defaultFont();
|
font = defaultFont(); else font = createFont(symbolicName, (FontData[]) result);
|
public Font get(String symbolicName) { Assert.isNotNull(symbolicName); Object result = stringToFont.get(symbolicName); if (result != null) return (Font) result; result = stringToFontData.get(symbolicName); if (result == null) return defaultFont(); // Create the font and update the mapping so it can // be shared. Font font = createFont(symbolicName, (FontData[]) result); // Note, the font may be null if the create() failed. Put a mapping // in for this font to prevent repeated attempts to allocate the // same font. if (font == null) return defaultFont(); stringToFont.put(symbolicName, font); return font; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/61d04ddf7869e5d67f5ccb51548904024a173ce0/FontRegistry.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/resource/FontRegistry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
10063,
336,
12,
780,
16754,
461,
13,
288,
202,
202,
8213,
18,
291,
5962,
12,
9009,
12164,
461,
1769,
202,
202,
921,
563,
273,
14134,
5711,
18,
588,
12,
9009,
12164,
461,
1769,
202,
202,
430,
261,
2088,
480,
446,
13,
1082,
202,
2463,
261,
5711,
13,
563,
31,
202,
202,
2088,
273,
14134,
5711,
751,
18,
588,
12,
9009,
12164,
461,
1769,
202,
202,
430,
261,
2088,
422,
446,
13,
1082,
202,
2463,
805,
5711,
5621,
202,
202,
759,
1788,
326,
3512,
471,
1089,
326,
2874,
1427,
518,
848,
3196,
202,
759,
506,
5116,
18,
202,
202,
5711,
3512,
273,
752,
5711,
12,
9009,
12164,
461,
16,
261,
5711,
751,
63,
5717,
563,
1769,
202,
202,
759,
3609,
16,
326,
3512,
2026,
506,
446,
309,
326,
752,
1435,
2535,
18,
4399,
279,
2874,
202,
202,
759,
316,
364,
333,
3512,
358,
5309,
12533,
7531,
358,
10101,
326,
202,
202,
759,
1967,
3512,
18,
3196,
202,
430,
261,
5776,
422,
446,
13,
1082,
202,
2463,
805,
5711,
5621,
6862,
202,
1080,
774,
5711,
18,
458,
12,
9009,
12164,
461,
16,
3512,
1769,
202,
202,
2463,
3512,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
10063,
336,
12,
780,
16754,
461,
13,
288,
202,
202,
8213,
18,
291,
5962,
12,
9009,
12164,
461,
1769,
202,
202,
921,
563,
273,
14134,
5711,
18,
588,
12,
9009,
12164,
461,
1769,
202,
202,
430,
261,
2088,
480,
446,
13,
1082,
202,
2463,
261,
5711,
13,
563,
31,
202,
202,
2088,
273,
14134,
5711,
751,
18,
588,
12,
9009,
12164,
461,
1769,
202,
202,
430,
261,
2088,
422,
446,
13,
1082,
202,
2463,
805,
5711,
5621,
202,
202,
759,
1788,
326,
3512,
471,
1089,
326,
2874,
1427,
518,
848,
3196,
202,
759,
506,
5116,
18,
202,
202,
5711,
3512,
273,
752,
5711,
12,
9009,
12164,
461,
16,
261,
5711,
751,
63,
5717,
563,
1769,
202,
2
] |
objectAndLabelsList.add(new ObjectAndLabels<ExternalObject>( new ExternalObject(id), new ArrayList<String>()));
|
objectAndLabelsList.add(new ObjectAndLabels<ExternalObject>(new ExternalObject(id), new ArrayList<String>()));
|
public ParsingResult<ExternalObject> parse(InputStream in) { BufferedReader reader = new BufferedReader(new InputStreamReader(in)); int lineNumber = 0; List<ObjectAndLabels<ExternalObject>> objectAndLabelsList = new ArrayList<ObjectAndLabels<ExternalObject>>(); Set<Integer> ids = new HashSet<Integer>(); Map<Integer, Map<Integer, NumberDistance>> distanceCache = new HashMap<Integer, Map<Integer, NumberDistance>>(); try { for (String line; (line = reader.readLine()) != null; lineNumber++) { if (!line.startsWith(COMMENT) && line.length() > 0) { String[] entries = WHITESPACE_PATTERN.split(line); if (entries.length != 3) throw new IllegalArgumentException( "Line " + lineNumber + " does not have the " + "required input format: id1 id2 distanceValue! " + line); Integer id1, id2; try { id1 = Integer.parseInt(entries[0]); } catch (NumberFormatException e) { throw new IllegalArgumentException("Error in line " + lineNumber + ": id1 is no integer!"); } try { id2 = Integer.parseInt(entries[1]); } catch (NumberFormatException e) { throw new IllegalArgumentException("Error in line " + lineNumber + ": id2 is no integer!"); } try { NumberDistance distance = distanceFunction.valueOf(entries[2]); put(id1, id2, distance, distanceCache); ids.add(id1); ids.add(id2); } catch (IllegalArgumentException e) { throw new IllegalArgumentException("Error in line " + lineNumber + ":" + e.getMessage()); } } } } catch (IOException e) { throw new IllegalArgumentException("Error while parsing line " + lineNumber + "."); } // check if all distance values are specified for (Integer id1 : ids) { for (Integer id2 : ids) { if (id2 < id1) continue; if (! containsKey(id1, id2, distanceCache)) throw new IllegalArgumentException("Distance value for " + id1 + " - " + id2 + " is missing!"); } } for (Integer id : ids) { objectAndLabelsList.add(new ObjectAndLabels<ExternalObject>( new ExternalObject(id), new ArrayList<String>())); } return new DistanceParsingResult<ExternalObject, NumberDistance>(objectAndLabelsList, distanceCache); }
|
5508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5508/40f82b734c27b1c194c3c2946d7552749dff262e/NumberDistanceParser.java/buggy/src/de/lmu/ifi/dbs/parser/NumberDistanceParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
19761,
1253,
32,
6841,
921,
34,
1109,
12,
4348,
316,
13,
288,
565,
10633,
2949,
273,
394,
10633,
12,
2704,
15322,
12,
267,
10019,
565,
509,
13629,
273,
374,
31,
565,
987,
32,
921,
1876,
5888,
32,
6841,
921,
9778,
733,
1876,
5888,
682,
273,
394,
2407,
32,
921,
1876,
5888,
32,
6841,
921,
9778,
5621,
565,
1000,
32,
4522,
34,
3258,
273,
394,
6847,
32,
4522,
34,
5621,
565,
1635,
32,
4522,
16,
1635,
32,
4522,
16,
3588,
7200,
9778,
3888,
1649,
273,
394,
4317,
32,
4522,
16,
1635,
32,
4522,
16,
3588,
7200,
9778,
5621,
565,
775,
288,
1377,
364,
261,
780,
980,
31,
261,
1369,
273,
2949,
18,
896,
1670,
10756,
480,
446,
31,
13629,
27245,
288,
3639,
309,
16051,
1369,
18,
17514,
1190,
12,
12200,
13,
597,
980,
18,
2469,
1435,
405,
374,
13,
288,
1850,
514,
8526,
3222,
273,
24353,
6616,
67,
10831,
18,
4939,
12,
1369,
1769,
1850,
309,
261,
8219,
18,
2469,
480,
890,
13,
5411,
604,
394,
2754,
12,
5411,
315,
1670,
315,
5411,
397,
13629,
5411,
397,
315,
1552,
486,
1240,
326,
315,
5411,
397,
315,
4718,
810,
740,
30,
612,
21,
612,
22,
3888,
620,
5,
315,
5411,
397,
980,
1769,
1850,
2144,
612,
21,
16,
612,
22,
31,
1850,
775,
288,
5411,
612,
21,
273,
2144,
18,
2670,
1702,
12,
8219,
63,
20,
19226,
1850,
289,
1850,
1044,
261,
1854,
9291,
425,
13,
288,
5411,
604,
394,
2754,
2932,
668,
316,
980,
315,
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,
19761,
1253,
32,
6841,
921,
34,
1109,
12,
4348,
316,
13,
288,
565,
10633,
2949,
273,
394,
10633,
12,
2704,
15322,
12,
267,
10019,
565,
509,
13629,
273,
374,
31,
565,
987,
32,
921,
1876,
5888,
32,
6841,
921,
9778,
733,
1876,
5888,
682,
273,
394,
2407,
32,
921,
1876,
5888,
32,
6841,
921,
9778,
5621,
565,
1000,
32,
4522,
34,
3258,
273,
394,
6847,
32,
4522,
34,
5621,
565,
1635,
32,
4522,
16,
1635,
32,
4522,
16,
3588,
7200,
9778,
3888,
1649,
273,
394,
4317,
32,
4522,
16,
1635,
32,
4522,
16,
3588,
7200,
9778,
5621,
565,
775,
288,
1377,
364,
261,
780,
980,
31,
261,
1369,
273,
2949,
18,
896,
1670,
10756,
480,
446,
31,
2
] |
public ObjectId writeTree(final Tree t) throws IOException {
|
public ObjectId writeTree(final Tree t) throws IOException {
|
public ObjectId writeTree(final Tree t) throws IOException { final ByteArrayOutputStream o = new ByteArrayOutputStream(); final ArrayList r = new ArrayList(); Iterator i; i = t.entryIterator(); while (i.hasNext()) { r.add(i.next()); } Collections.sort(r, TNC); i = r.iterator(); while (i.hasNext()) { final TreeEntry e = (TreeEntry) i.next(); final byte[] mode; if (e instanceof Tree) { mode = TREE_MODE; } else if (e instanceof SymlinkTreeEntry) { mode = SYMLINK_MODE; } else if (e instanceof FileTreeEntry) { mode = ((FileTreeEntry) e).isExecutable() ? EXECUTABLE_FILE_MODE : PLAIN_FILE_MODE; } else { throw new WritingNotSupportedException("Object type not" + " supported as member of Tree:" + e); } o.write(mode); o.write(' '); o.write(e.getNameUTF8()); o.write(0); o.write(e.getId().getBytes()); } return writeTree(o.toByteArray()); }
|
45532 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45532/95e2adba28c9a11f01009dd846fb7366bec613c5/ObjectWriter.java/clean/org.spearce.jgit/src/org/spearce/jgit/lib/ObjectWriter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
21192,
1045,
2471,
12,
6385,
4902,
268,
13,
1216,
1860,
288,
3639,
727,
11559,
320,
273,
394,
11559,
5621,
3639,
727,
2407,
436,
273,
394,
2407,
5621,
3639,
4498,
277,
31,
3639,
277,
273,
268,
18,
4099,
3198,
5621,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
5411,
436,
18,
1289,
12,
77,
18,
4285,
10663,
3639,
289,
3639,
5737,
18,
3804,
12,
86,
16,
399,
10346,
1769,
3639,
277,
273,
436,
18,
9838,
5621,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
5411,
727,
4902,
1622,
425,
273,
261,
2471,
1622,
13,
277,
18,
4285,
5621,
5411,
727,
1160,
8526,
1965,
31,
5411,
309,
261,
73,
1276,
4902,
13,
288,
7734,
1965,
273,
399,
9719,
67,
7038,
31,
5411,
289,
469,
309,
261,
73,
1276,
16455,
7405,
2471,
1622,
13,
288,
7734,
1965,
273,
7068,
1495,
8476,
67,
7038,
31,
5411,
289,
469,
309,
261,
73,
1276,
1387,
2471,
1622,
13,
288,
7734,
1965,
273,
14015,
812,
2471,
1622,
13,
425,
2934,
291,
17709,
1435,
692,
24508,
1693,
2782,
67,
3776,
67,
7038,
13491,
294,
25564,
706,
67,
3776,
67,
7038,
31,
5411,
289,
469,
288,
7734,
604,
394,
10423,
310,
25482,
2932,
921,
618,
486,
6,
13491,
397,
315,
3260,
487,
3140,
434,
4902,
2773,
397,
425,
1769,
5411,
289,
5411,
320,
18,
2626,
12,
3188,
1769,
5411,
320,
18,
2626,
2668,
28005,
5411,
320,
18,
2626,
12,
73,
18,
17994,
5159,
28,
10663,
5411,
320,
18,
2626,
12,
20,
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,
21192,
1045,
2471,
12,
6385,
4902,
268,
13,
1216,
1860,
288,
3639,
727,
11559,
320,
273,
394,
11559,
5621,
3639,
727,
2407,
436,
273,
394,
2407,
5621,
3639,
4498,
277,
31,
3639,
277,
273,
268,
18,
4099,
3198,
5621,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
5411,
436,
18,
1289,
12,
77,
18,
4285,
10663,
3639,
289,
3639,
5737,
18,
3804,
12,
86,
16,
399,
10346,
1769,
3639,
277,
273,
436,
18,
9838,
5621,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
5411,
727,
4902,
1622,
425,
273,
261,
2471,
1622,
13,
277,
18,
4285,
5621,
5411,
727,
1160,
8526,
1965,
31,
5411,
309,
261,
73,
1276,
4902,
13,
288,
7734,
1965,
273,
399,
2
] |
public static FileLoggerHook setupStdoutLogging(int level, String detail) {
|
public static FileLoggerHook setupStdoutLogging(int level, String detail) throws InvalidThresholdException {
|
public static FileLoggerHook setupStdoutLogging(int level, String detail) { setupChain(); logger.setThreshold(level); logger.setDetailedThresholds(detail); FileLoggerHook fh; fh = new FileLoggerHook(System.out, "d (c, t, p): m", "MMM dd, yyyy HH:mm:ss:SSS", level); if(detail != null) fh.setDetailedThresholds(detail); ((LoggerHookChain) logger).addHook(fh); fh.start(); return fh; }
|
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/01c14cd48d872bfb5d34b94395d44bb4bf44316e/Logger.java/buggy/src/freenet/support/Logger.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1387,
3328,
5394,
3875,
27334,
7735,
12,
474,
1801,
16,
514,
7664,
13,
288,
202,
565,
3875,
3893,
5621,
202,
565,
1194,
18,
542,
7614,
12,
2815,
1769,
202,
565,
1194,
18,
542,
40,
6372,
7614,
87,
12,
8992,
1769,
202,
565,
1387,
3328,
5394,
7625,
31,
202,
565,
7625,
273,
394,
1387,
3328,
5394,
12,
3163,
18,
659,
16,
315,
72,
261,
71,
16,
268,
16,
293,
4672,
312,
3113,
315,
8206,
49,
6957,
16,
24025,
20842,
30,
7020,
30,
1049,
30,
1260,
55,
3113,
1801,
1769,
202,
565,
309,
12,
8992,
480,
446,
13,
202,
3639,
7625,
18,
542,
40,
6372,
7614,
87,
12,
8992,
1769,
202,
565,
14015,
3328,
5394,
3893,
13,
1194,
2934,
1289,
5394,
12,
19260,
1769,
202,
565,
7625,
18,
1937,
5621,
202,
565,
327,
7625,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1387,
3328,
5394,
3875,
27334,
7735,
12,
474,
1801,
16,
514,
7664,
13,
288,
202,
565,
3875,
3893,
5621,
202,
565,
1194,
18,
542,
7614,
12,
2815,
1769,
202,
565,
1194,
18,
542,
40,
6372,
7614,
87,
12,
8992,
1769,
202,
565,
1387,
3328,
5394,
7625,
31,
202,
565,
7625,
273,
394,
1387,
3328,
5394,
12,
3163,
18,
659,
16,
315,
72,
261,
71,
16,
268,
16,
293,
4672,
312,
3113,
315,
8206,
49,
6957,
16,
24025,
20842,
30,
7020,
30,
1049,
30,
1260,
55,
3113,
1801,
1769,
202,
565,
309,
12,
8992,
480,
446,
13,
202,
3639,
7625,
18,
542,
40,
6372,
7614,
87,
12,
8992,
1769,
202,
565,
14015,
3328,
5394,
3893,
13,
2
] |
assertAxisReturns("Sales", expression, expected);
|
getTestContext().assertAxisReturns(expression, expected);
|
public void assertAxisReturns(String expression, String expected) { assertAxisReturns("Sales", expression, expected); }
|
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/bb703add381acf854e2d5aed1045911b7ab143b4/FoodMartTestCase.java/buggy/testsrc/main/mondrian/test/FoodMartTestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1815,
6558,
1356,
12,
780,
2652,
16,
514,
2665,
13,
288,
3639,
29384,
1042,
7675,
11231,
6558,
1356,
12,
8692,
16,
2665,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
1071,
918,
1815,
6558,
1356,
12,
780,
2652,
16,
514,
2665,
13,
288,
3639,
29384,
1042,
7675,
11231,
6558,
1356,
12,
8692,
16,
2665,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
else extendButton.setEnabled(true);
|
private void updateExtendButtonState() { PathVariablesGroup.PathVariableElement[] selection = pathVariablesGroup .getSelection(); Button extendButton = getButton(EXTEND_ID); if (extendButton == null) return; if (selection.length == 1) { File file = selection[0].path.toFile(); if (file.exists() == false || file.isFile()) extendButton.setEnabled(false); else extendButton.setEnabled(true); } else extendButton.setEnabled(false); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/ddaa16951af570eca6dc9c7a29ba50d1a573800c/PathVariableSelectionDialog.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/dialogs/PathVariableSelectionDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
16675,
3616,
1119,
1435,
288,
3639,
2666,
6158,
1114,
18,
743,
3092,
1046,
8526,
4421,
273,
589,
6158,
1114,
7734,
263,
588,
6233,
5621,
3639,
12569,
2133,
3616,
273,
2882,
2644,
12,
4142,
4415,
67,
734,
1769,
3639,
309,
261,
14313,
3616,
422,
446,
13,
5411,
327,
31,
3639,
309,
261,
10705,
18,
2469,
422,
404,
13,
288,
5411,
1387,
585,
273,
4421,
63,
20,
8009,
803,
18,
869,
812,
5621,
5411,
309,
261,
768,
18,
1808,
1435,
422,
629,
747,
585,
18,
291,
812,
10756,
7734,
2133,
3616,
18,
542,
1526,
12,
5743,
1769,
5411,
469,
7734,
2133,
3616,
18,
542,
1526,
12,
3767,
1769,
3639,
289,
469,
5411,
2133,
3616,
18,
542,
1526,
12,
5743,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
16675,
3616,
1119,
1435,
288,
3639,
2666,
6158,
1114,
18,
743,
3092,
1046,
8526,
4421,
273,
589,
6158,
1114,
7734,
263,
588,
6233,
5621,
3639,
12569,
2133,
3616,
273,
2882,
2644,
12,
4142,
4415,
67,
734,
1769,
3639,
309,
261,
14313,
3616,
422,
446,
13,
5411,
327,
31,
3639,
309,
261,
10705,
18,
2469,
422,
404,
13,
288,
5411,
1387,
585,
273,
4421,
63,
20,
8009,
803,
18,
869,
812,
5621,
5411,
309,
261,
768,
18,
1808,
1435,
422,
629,
747,
585,
18,
291,
812,
10756,
7734,
2133,
3616,
18,
542,
1526,
12,
5743,
1769,
5411,
469,
7734,
2133,
3616,
18,
542,
1526,
12,
3767,
1769,
3639,
289,
469,
5411,
2133,
3616,
18,
542,
1526,
2
] |
|
(!isRootVisible && !curr.equals(root)))
|
(!isRootVisible && !curr.equals(root)) && childVis)
|
int paintRecursive(Graphics g, int indentation, int descent, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = tree.getVisibleRect(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; TreePath path = new TreePath(getPathToRoot(curr, 0)); int halfHeight = getRowHeight() / 2; int halfWidth = rightChildIndent / 2; int y0 = descent + halfHeight; int heightOfLine = descent + halfHeight; int row = getRowForPath(tree, path); boolean isRootVisible = tree.isRootVisible(); boolean isExpanded = tree.isExpanded(path); boolean isLeaf = mod.isLeaf(curr); Rectangle bounds = getPathBounds(tree, path); Object root = mod.getRoot(); if (isLeaf) { paintRow(g, clip, null, bounds, path, row, true, false, true); descent += getRowHeight(); } else { if (depth > 0 || isRootVisible) { paintRow(g, clip, null, bounds, path, row, isExpanded, false, false); descent += getRowHeight(); y0 += halfHeight; } if (isExpanded) { int max = mod.getChildCount(curr); for (int i = 0; i < max; i++) { int indent = indentation + rightChildIndent; if (!isRootVisible && depth == 0) indent = 0; else if (isRootVisible || (!isRootVisible && !curr.equals(root))) { g.setColor(getHashColor()); heightOfLine = descent + halfHeight; paintHorizontalLine(g, (JComponent) tree, heightOfLine, indentation + halfWidth, indentation + rightChildIndent); } descent = paintRecursive(g, indent, descent, depth + 1, tree, mod, mod.getChild(curr, i)); } } } if (isExpanded) if (y0 != heightOfLine && !isLeaf && mod.getChildCount(curr) > 0) { g.setColor(getHashColor()); paintVerticalLine(g, (JComponent) tree, indentation + halfWidth, y0, heightOfLine); } return descent; }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
509,
12574,
10483,
12,
17558,
314,
16,
509,
12018,
16,
509,
3044,
319,
16,
5397,
509,
3598,
16,
804,
2471,
2151,
16,
4902,
1488,
681,
16,
1033,
4306,
13,
225,
288,
565,
13264,
6807,
273,
2151,
18,
588,
6207,
6120,
5621,
565,
309,
261,
9355,
367,
405,
6807,
18,
92,
397,
6807,
18,
2819,
397,
2145,
1763,
7790,
3639,
747,
3044,
319,
405,
6807,
18,
93,
397,
6807,
18,
4210,
397,
11835,
2686,
10756,
1377,
327,
3044,
319,
31,
565,
4902,
743,
589,
273,
394,
4902,
743,
12,
588,
743,
774,
2375,
12,
17016,
16,
374,
10019,
565,
509,
8816,
2686,
273,
11835,
2686,
1435,
342,
576,
31,
565,
509,
8816,
2384,
273,
2145,
1763,
7790,
342,
576,
31,
565,
509,
677,
20,
273,
3044,
319,
397,
8816,
2686,
31,
565,
509,
2072,
951,
1670,
273,
3044,
319,
397,
8816,
2686,
31,
565,
509,
1027,
273,
11835,
25589,
12,
3413,
16,
589,
1769,
565,
1250,
19371,
6207,
273,
2151,
18,
291,
2375,
6207,
5621,
565,
1250,
353,
17957,
273,
2151,
18,
291,
17957,
12,
803,
1769,
565,
1250,
31356,
273,
681,
18,
291,
9858,
12,
17016,
1769,
565,
13264,
4972,
273,
4339,
5694,
12,
3413,
16,
589,
1769,
565,
1033,
1365,
273,
681,
18,
588,
2375,
5621,
565,
309,
261,
291,
9858,
13,
1377,
288,
3639,
12574,
1999,
12,
75,
16,
6807,
16,
446,
16,
4972,
16,
589,
16,
1027,
16,
638,
16,
629,
16,
638,
1769,
3639,
3044,
319,
1011,
11835,
2686,
5621,
1377,
289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
509,
12574,
10483,
12,
17558,
314,
16,
509,
12018,
16,
509,
3044,
319,
16,
5397,
509,
3598,
16,
804,
2471,
2151,
16,
4902,
1488,
681,
16,
1033,
4306,
13,
225,
288,
565,
13264,
6807,
273,
2151,
18,
588,
6207,
6120,
5621,
565,
309,
261,
9355,
367,
405,
6807,
18,
92,
397,
6807,
18,
2819,
397,
2145,
1763,
7790,
3639,
747,
3044,
319,
405,
6807,
18,
93,
397,
6807,
18,
4210,
397,
11835,
2686,
10756,
1377,
327,
3044,
319,
31,
565,
4902,
743,
589,
273,
394,
4902,
743,
12,
588,
743,
774,
2375,
12,
17016,
16,
374,
10019,
565,
509,
8816,
2686,
273,
11835,
2686,
1435,
342,
576,
31,
565,
509,
8816,
2384,
273,
2145,
1763,
7790,
342,
576,
2
] |
AccessibilityProps mAccProps = propMgr.getAccessibilityProps();
|
CommonAccessibility mAccProps = propMgr.getAccessibilityProps();
|
public void setup() { // Common Accessibility Properties AccessibilityProps mAccProps = propMgr.getAccessibilityProps(); // Common Aural Properties AuralProps mAurProps = propMgr.getAuralProps(); // Common Border, Padding, and Background Properties BorderAndPadding bap = propMgr.getBorderAndPadding(); BackgroundProps bProps = propMgr.getBackgroundProps(); // Common Relative Position Properties RelativePositionProps mRelProps = propMgr.getRelativePositionProps(); // this.properties.get("block-progression-dimension"); // this.properties.get("height"); setupID(); // this.properties.get("inline-progression-dimension"); // this.properties.get("keep-togethe"); // this.properties.get("width"); }
|
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/f9bee020b38c9c2a4f4b989ee875b677c56780ac/TableCaption.java/clean/src/java/org/apache/fop/fo/flow/TableCaption.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3875,
1435,
288,
3639,
368,
5658,
5016,
3628,
6183,
3639,
5658,
1862,
3628,
312,
8973,
5047,
273,
2270,
9455,
18,
588,
1862,
3628,
5047,
5621,
3639,
368,
5658,
432,
3766,
6183,
3639,
432,
3766,
5047,
312,
37,
295,
5047,
273,
2270,
9455,
18,
588,
37,
3766,
5047,
5621,
3639,
368,
5658,
13525,
16,
453,
3439,
16,
471,
8977,
6183,
3639,
13525,
1876,
9485,
324,
438,
273,
2270,
9455,
18,
588,
8107,
1876,
9485,
5621,
3639,
8977,
5047,
324,
5047,
273,
2270,
9455,
18,
588,
8199,
5047,
5621,
3639,
368,
5658,
19873,
11010,
6183,
3639,
19873,
2555,
5047,
312,
1971,
5047,
273,
2270,
9455,
18,
588,
8574,
2555,
5047,
5621,
3639,
368,
333,
18,
4738,
18,
588,
2932,
2629,
17,
8298,
285,
17,
11808,
8863,
3639,
368,
333,
18,
4738,
18,
588,
2932,
4210,
8863,
3639,
3875,
734,
5621,
3639,
368,
333,
18,
4738,
18,
588,
2932,
10047,
17,
8298,
285,
17,
11808,
8863,
3639,
368,
333,
18,
4738,
18,
588,
2932,
10102,
17,
88,
717,
546,
73,
8863,
3639,
368,
333,
18,
4738,
18,
588,
2932,
2819,
8863,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3875,
1435,
288,
3639,
368,
5658,
5016,
3628,
6183,
3639,
5658,
1862,
3628,
312,
8973,
5047,
273,
2270,
9455,
18,
588,
1862,
3628,
5047,
5621,
3639,
368,
5658,
432,
3766,
6183,
3639,
432,
3766,
5047,
312,
37,
295,
5047,
273,
2270,
9455,
18,
588,
37,
3766,
5047,
5621,
3639,
368,
5658,
13525,
16,
453,
3439,
16,
471,
8977,
6183,
3639,
13525,
1876,
9485,
324,
438,
273,
2270,
9455,
18,
588,
8107,
1876,
9485,
5621,
3639,
8977,
5047,
324,
5047,
273,
2270,
9455,
18,
588,
8199,
5047,
5621,
3639,
368,
5658,
19873,
11010,
6183,
3639,
19873,
2555,
5047,
312,
1971,
5047,
273,
2270,
9455,
18,
588,
8574,
2555,
5047,
5621,
3639,
368,
333,
18,
4738,
18,
588,
2
] |
pgStream.SendInteger(0,4);
|
pgStream.SendInteger(4,4);
|
public void closeV3() throws SQLException { if (pgStream != null) { try { pgStream.SendChar('X'); pgStream.SendInteger(0,4); pgStream.flush(); pgStream.close(); } catch (IOException e) {} finally { pgStream = null; } } }
|
47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/5cad6813fb46ea33c60a845b9abdfe0be80fd3da/AbstractJdbc1Connection.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1746,
58,
23,
1435,
1216,
6483,
202,
95,
202,
202,
430,
261,
8365,
1228,
480,
446,
13,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
8365,
1228,
18,
3826,
2156,
2668,
60,
8284,
9506,
202,
8365,
1228,
18,
3826,
4522,
12,
20,
16,
24,
1769,
9506,
202,
8365,
1228,
18,
11330,
5621,
9506,
202,
8365,
1228,
18,
4412,
5621,
1082,
202,
97,
1082,
202,
14683,
261,
14106,
425,
13,
1082,
202,
2916,
1082,
202,
23417,
1082,
202,
95,
9506,
202,
8365,
1228,
273,
446,
31,
1082,
202,
97,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1746,
58,
23,
1435,
1216,
6483,
202,
95,
202,
202,
430,
261,
8365,
1228,
480,
446,
13,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
8365,
1228,
18,
3826,
2156,
2668,
60,
8284,
9506,
202,
8365,
1228,
18,
3826,
4522,
12,
20,
16,
24,
1769,
9506,
202,
8365,
1228,
18,
11330,
5621,
9506,
202,
8365,
1228,
18,
4412,
5621,
1082,
202,
97,
1082,
202,
14683,
261,
14106,
425,
13,
1082,
202,
2916,
1082,
202,
23417,
1082,
202,
95,
9506,
202,
8365,
1228,
273,
446,
31,
1082,
202,
97,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
LOG.info("[SpringConfig] Configuring for environment: " + ds.getName());
|
LOG.info("[RuntimeConfiguration] Configuring for environment: " + ds.getName());
|
private void populateDataSourceReferences(RuntimeSpringConfiguration springConfig) { BeanConfiguration localSessionFactoryBean = springConfig .addSingletonBean(SESSION_FACTORY_BEAN,ConfigurableLocalSessionFactoryBean.class); GrailsDataSource ds = application.getGrailsDataSource(); if(ds != null && !parent.containsBean(DATA_SOURCE_BEAN)) { LOG.info("[SpringConfig] Configuring for environment: " + ds.getName()); BeanConfiguration dataSource; if(ds.isPooled()) { dataSource = springConfig .addSingletonBean(DATA_SOURCE_BEAN, BasicDataSource.class) .setDestroyMethod("close"); } else { dataSource = springConfig .addSingletonBean(DATA_SOURCE_BEAN, DriverManagerDataSource.class); } dataSource .addProperty("driverClassName", ds.getDriverClassName()) .addProperty("url", ds.getUrl()) .addProperty("username", ds.getUsername()) .addProperty("password",ds.getPassword()); if(ds.getConfigurationClass() != null) { LOG.info("[SpringConfig] Using custom Hibernate configuration class ["+ds.getConfigurationClass()+"]"); localSessionFactoryBean .addProperty("configClass", ds.getConfigurationClass()); } } else if(!parent.containsBean(DATA_SOURCE_BEAN)){ LOG.info("[SpringConfig] No data source found, using in-memory HSQLDB"); // if no data source exists create in-memory HSQLDB instance springConfig .addSingletonBean(DATA_SOURCE_BEAN, BasicDataSource.class) .setDestroyMethod("close") .addProperty("driverClassName", "org.hsqldb.jdbcDriver") .addProperty("url", "jdbc:hsqldb:mem:grailsDB") .addProperty("username", "sa") .addProperty("password",""); } // set-up auto detection of Hibernate dialect // first attempt to load any extra dialects defined in hibernate-dialects.properties Properties vendorNameDialectMappings = new Properties(); URL hibernateDialects = this.application.getClassLoader().getResource("hibernate-dialects.properties"); if(hibernateDialects != null) { Properties p = new Properties(); try { p.load(hibernateDialects.openStream()); Iterator iter = p.entrySet().iterator(); while(iter.hasNext()) { Map.Entry e = (Map.Entry)iter.next(); // Note: the entry is reversed in the properties file since the database product // name can contain spaces. vendorNameDialectMappings.put(e.getValue(), "org.hibernate.dialect." + e.getKey()); } } catch (IOException e) { LOG.info("[SpringConfig] Error loading hibernate-dialects.properties file: " + e.getMessage()); } } ManagedMap hibernatePropertiesMap = new ManagedMap(); // enable sql logging yes/no if(ds != null && ds.isLoggingSql()) { hibernatePropertiesMap.put("hibernate.show_sql","true"); hibernatePropertiesMap.put("hibernate.format_sql","true"); } // configure dialect if(ds != null && ds.getDialect()!= null) { hibernatePropertiesMap.put("hibernate.dialect", ds.getDialect().getName()); } else { // setup dialect detector bean springConfig .addSingletonBean(DIALECT_DETECTOR_BEAN, HibernateDialectDetectorFactoryBean.class) .addProperty(DATA_SOURCE_BEAN, new RuntimeBeanReference(DATA_SOURCE_BEAN,parentDataSource )) .addProperty("vendorNameDialectMappings",vendorNameDialectMappings); hibernatePropertiesMap.put("hibernate.dialect", new RuntimeBeanReference(DIALECT_DETECTOR_BEAN)); } if(ds == null ) { hibernatePropertiesMap.put("hibernate.hbm2ddl.auto", "create-drop"); } else { if(ds.getDbCreate() != null) { hibernatePropertiesMap.put("hibernate.hbm2ddl.auto", ds.getDbCreate()); } } localSessionFactoryBean .addProperty(DATA_SOURCE_BEAN,new RuntimeBeanReference(DATA_SOURCE_BEAN,parentDataSource)); if(loadExternalPersistenceConfig) { URL hibernateConfig = application.getClassLoader().getResource("hibernate.cfg.xml"); if(hibernateConfig != null) { localSessionFactoryBean .addProperty("configLocation", "classpath:hibernate.cfg.xml"); } } springConfig .addSingletonBean(HIBERNATE_PROPERTIES_BEAN,MapToPropertiesFactoryBean.class) .addProperty("map", hibernatePropertiesMap); localSessionFactoryBean .addProperty(HIBERNATE_PROPERTIES_BEAN, new RuntimeBeanReference(HIBERNATE_PROPERTIES_BEAN)) .addProperty(GrailsApplication.APPLICATION_ID, new RuntimeBeanReference(GrailsApplication.APPLICATION_ID,true)) .addProperty("classLoader", new RuntimeBeanReference(CLASS_LOADER_BEAN)); springConfig .addSingletonBean(TRANSACTION_MANAGER_BEAN,HibernateTransactionManager.class) .addProperty(SESSION_FACTORY_BEAN, new RuntimeBeanReference(SESSION_FACTORY_BEAN)); }
|
46315 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46315/3f9a8546811eca0a327bf272808f9dd3b2e5691b/GrailsRuntimeConfigurator.java/buggy/grails/src/commons/org/codehaus/groovy/grails/commons/spring/GrailsRuntimeConfigurator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
6490,
8597,
8221,
12,
5576,
55,
11638,
1750,
25974,
809,
13,
288,
3639,
7704,
1750,
1191,
2157,
1733,
3381,
273,
25974,
809,
4766,
13491,
263,
1289,
19571,
3381,
12,
7042,
67,
16193,
67,
23703,
16,
31660,
2042,
2157,
1733,
3381,
18,
1106,
1769,
3639,
10812,
14573,
8597,
3780,
273,
2521,
18,
588,
14571,
14573,
8597,
5621,
202,
202,
430,
12,
2377,
480,
446,
597,
401,
2938,
18,
12298,
3381,
12,
4883,
67,
6537,
67,
23703,
3719,
288,
5411,
2018,
18,
1376,
2932,
63,
5576,
1750,
65,
1903,
4017,
364,
3330,
30,
315,
397,
3780,
18,
17994,
10663,
5411,
7704,
1750,
10233,
31,
1082,
202,
430,
12,
2377,
18,
291,
52,
22167,
10756,
288,
9506,
202,
892,
1830,
273,
25974,
809,
6862,
9506,
202,
18,
1289,
19571,
3381,
12,
4883,
67,
6537,
67,
23703,
16,
7651,
8597,
18,
1106,
13,
6862,
9506,
202,
18,
542,
10740,
1305,
2932,
4412,
8863,
1082,
202,
97,
1082,
202,
12107,
288,
9506,
202,
892,
1830,
273,
25974,
809,
6862,
6862,
202,
18,
1289,
19571,
3381,
12,
4883,
67,
6537,
67,
23703,
16,
9396,
1318,
8597,
18,
1106,
1769,
1082,
202,
97,
1082,
202,
892,
1830,
9506,
202,
18,
1289,
1396,
2932,
7407,
3834,
3113,
3780,
18,
588,
4668,
3834,
10756,
9506,
202,
18,
1289,
1396,
2932,
718,
3113,
3780,
18,
588,
1489,
10756,
9506,
202,
18,
1289,
1396,
2932,
5053,
3113,
3780,
18,
588,
8575,
10756,
9506,
202,
18,
1289,
1396,
2932,
3664,
3113,
2377,
18,
588,
3913,
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,
6490,
8597,
8221,
12,
5576,
55,
11638,
1750,
25974,
809,
13,
288,
3639,
7704,
1750,
1191,
2157,
1733,
3381,
273,
25974,
809,
4766,
13491,
263,
1289,
19571,
3381,
12,
7042,
67,
16193,
67,
23703,
16,
31660,
2042,
2157,
1733,
3381,
18,
1106,
1769,
3639,
10812,
14573,
8597,
3780,
273,
2521,
18,
588,
14571,
14573,
8597,
5621,
202,
202,
430,
12,
2377,
480,
446,
597,
401,
2938,
18,
12298,
3381,
12,
4883,
67,
6537,
67,
23703,
3719,
288,
5411,
2018,
18,
1376,
2932,
63,
5576,
1750,
65,
1903,
4017,
364,
3330,
30,
315,
397,
3780,
18,
17994,
10663,
5411,
7704,
1750,
10233,
31,
1082,
202,
430,
12,
2377,
18,
291,
52,
22167,
10756,
288,
9506,
202,
2
] |
RubyClass exceptionClass = runtime.getClasses().getExceptionClass();
|
RubyClass exceptionClass = runtime.getClass("Exception");
|
public void initDefaultExceptionClasses() { RubyClass exceptionClass = runtime.getClasses().getExceptionClass(); systemExit = runtime.defineClass("SystemExit", exceptionClass); fatal = runtime.defineClass("Fatal", exceptionClass); interrupt = runtime.defineClass("Interrupt", exceptionClass); signalException = runtime.defineClass("SignalException", exceptionClass); standardError = runtime.defineClass("StandardError", exceptionClass); typeError = runtime.defineClass("TypeError", standardError); argumentError = runtime.defineClass("ArgumentError", standardError); indexError = runtime.defineClass("IndexError", standardError); rangeError = runtime.defineClass("RangeError", standardError); scriptError = runtime.defineClass("ScriptError", exceptionClass); syntaxError = runtime.defineClass("SyntaxError", scriptError); nameError = runtime.defineClass("NameError", scriptError); loadError = runtime.defineClass("LoadError", scriptError); notImplementedError = runtime.defineClass("NotImplementedError", scriptError); noMethodError = runtime.defineClass("NoMethodError", nameError); runtimeError = runtime.defineClass("RuntimeError", standardError); securityError = runtime.defineClass("SecurityError", standardError); noMemError = runtime.defineClass("NoMemError", exceptionClass); regexpError = runtime.defineClass("RegexpError", standardError); ioError = runtime.defineClass("IOError", standardError); eofError = runtime.defineClass("EOFError", ioError); systemCallError = runtime.defineClass("SystemCallError", standardError); localJumpError = runtime.defineClass("LocalJumpError", standardError); threadError = runtime.defineClass("ThreadError", standardError); systemStackError = runtime.defineClass("SystemStackError", exceptionClass); nativeException = NativeException.createClass(runtime, runtimeError); errnoModule = runtime.defineModule("Errno"); setSysErr(ENOTEMPTY, "ENOTEMPTY"); setSysErr(ERANGE, "ERANGE"); setSysErr(ESPIPE, "ESPIPE"); setSysErr(ENFILE, "ENFILE"); setSysErr(EXDEV, "EXDEV"); setSysErr(ENOMEM, "ENOMEM"); setSysErr(E2BIG, "E2BIG"); setSysErr(ENOENT, "ENOENT"); setSysErr(ENOSYS, "ENOSYS"); setSysErr(EDOM, "EDOM"); setSysErr(ENOSPC, "ENOSPC"); setSysErr(EINVAL, "EINVAL"); setSysErr(EEXIST, "EEXIST"); setSysErr(EAGAIN, "EAGAIN"); setSysErr(ENXIO, "ENXIO"); setSysErr(EILSEQ, "EILSEQ"); setSysErr(ENOLCK, "ENOLCK"); setSysErr(EPIPE, "EPIPE"); setSysErr(EFBIG, "EFBIG"); setSysErr(EISDIR, "EISDIR"); setSysErr(EBUSY, "EBUSY"); setSysErr(ECHILD, "ECHILD"); setSysErr(EIO, "EIO"); setSysErr(EPERM, "EPERM"); setSysErr(EDEADLOCK, "EDEADLOCK"); setSysErr(ENAMETOOLONG, "ENAMETOOLONG"); setSysErr(EMLINK, "EMLINK"); setSysErr(ENOTTY, "ENOTTY"); setSysErr(ENOTDIR, "ENOTDIR"); setSysErr(EFAULT, "EFAULT"); setSysErr(EBADF, "EBADF"); setSysErr(EINTR, "EINTR"); setSysErr(EWOULDBLOCK, "EWOULDBLOCK"); setSysErr(EDEADLK, "EDEADLK"); setSysErr(EROFS, "EROFS"); setSysErr(EMFILE, "EMFILE"); setSysErr(ENODEV, "ENODEV"); setSysErr(EACCES, "EACCES"); setSysErr(ENOEXEC, "ENOEXEC"); setSysErr(ESRCH, "ESRCH"); setSysErr(ECONNREFUSED, "ECONNREFUSED"); }
|
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/ca6b16e996ea9af83ce593594b9c69b9364a9924/RubyExceptions.java/buggy/src/org/jruby/runtime/RubyExceptions.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
1868,
503,
4818,
1435,
288,
3639,
19817,
797,
1520,
797,
273,
3099,
18,
588,
797,
2932,
503,
8863,
7734,
2619,
6767,
273,
3099,
18,
11255,
797,
2932,
22729,
3113,
1520,
797,
1769,
3639,
10081,
273,
3099,
18,
11255,
797,
2932,
19593,
3113,
1520,
797,
1769,
3639,
13123,
273,
3099,
18,
11255,
797,
2932,
14126,
3113,
1520,
797,
1769,
3639,
4277,
503,
273,
3099,
18,
11255,
797,
2932,
11208,
503,
3113,
1520,
797,
1769,
7734,
4529,
668,
273,
3099,
18,
11255,
797,
2932,
8336,
668,
3113,
1520,
797,
1769,
3639,
618,
668,
273,
3099,
18,
11255,
797,
2932,
19030,
3113,
4529,
668,
1769,
3639,
1237,
668,
273,
3099,
18,
11255,
797,
2932,
1379,
668,
3113,
4529,
668,
1769,
3639,
770,
668,
273,
3099,
18,
11255,
797,
2932,
1016,
668,
3113,
4529,
668,
1769,
3639,
1048,
668,
273,
3099,
18,
11255,
797,
2932,
2655,
668,
3113,
4529,
668,
1769,
7734,
2728,
668,
273,
3099,
18,
11255,
797,
2932,
3651,
668,
3113,
1520,
797,
1769,
3639,
6279,
668,
273,
3099,
18,
11255,
797,
2932,
22510,
3113,
2728,
668,
1769,
3639,
508,
668,
273,
3099,
18,
11255,
797,
2932,
461,
668,
3113,
2728,
668,
1769,
3639,
1262,
668,
273,
3099,
18,
11255,
797,
2932,
2563,
668,
3113,
2728,
668,
1769,
3639,
486,
8644,
668,
273,
3099,
18,
11255,
797,
2932,
1248,
8644,
668,
3113,
2728,
668,
1769,
3639,
1158,
1305,
668,
273,
3099,
18,
11255,
797,
2932,
2279,
1305,
668,
3113,
508,
668,
1769,
7734,
3099,
668,
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,
1868,
503,
4818,
1435,
288,
3639,
19817,
797,
1520,
797,
273,
3099,
18,
588,
797,
2932,
503,
8863,
7734,
2619,
6767,
273,
3099,
18,
11255,
797,
2932,
22729,
3113,
1520,
797,
1769,
3639,
10081,
273,
3099,
18,
11255,
797,
2932,
19593,
3113,
1520,
797,
1769,
3639,
13123,
273,
3099,
18,
11255,
797,
2932,
14126,
3113,
1520,
797,
1769,
3639,
4277,
503,
273,
3099,
18,
11255,
797,
2932,
11208,
503,
3113,
1520,
797,
1769,
7734,
4529,
668,
273,
3099,
18,
11255,
797,
2932,
8336,
668,
3113,
1520,
797,
1769,
3639,
618,
668,
273,
3099,
18,
11255,
797,
2932,
19030,
3113,
4529,
668,
1769,
3639,
1237,
668,
273,
3099,
18,
11255,
797,
2932,
1379,
668,
3113,
4529,
2
] |
{ return new CellRendererPane(); }
|
{ return new CellRendererPane(); }
|
protected CellRendererPane createCellRendererPane() { return new CellRendererPane(); }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8614,
6747,
8485,
752,
4020,
6747,
8485,
1435,
202,
95,
202,
202,
2463,
394,
8614,
6747,
8485,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8614,
6747,
8485,
752,
4020,
6747,
8485,
1435,
202,
95,
202,
202,
2463,
394,
8614,
6747,
8485,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
setModified(true);
|
public void setTimeZoneSensitive(boolean timeZoneSensitive) { if (timeZoneSensitive != _timeZoneSensitive) { _timeZoneSensitive = timeZoneSensitive; setModified(true); } }
|
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/CalEventModel.java/clean/portal-ejb/src/com/liferay/portlet/calendar/model/CalEventModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
11195,
4226,
14220,
12,
6494,
17512,
14220,
13,
288,
202,
202,
430,
261,
957,
4226,
14220,
480,
389,
957,
4226,
14220,
13,
288,
1082,
202,
67,
957,
4226,
14220,
273,
17512,
14220,
31,
1082,
202,
542,
4575,
12,
3767,
1769,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
225,
202,
482,
918,
11195,
4226,
14220,
12,
6494,
17512,
14220,
13,
288,
202,
202,
430,
261,
957,
4226,
14220,
480,
389,
957,
4226,
14220,
13,
288,
1082,
202,
67,
957,
4226,
14220,
273,
17512,
14220,
31,
1082,
202,
542,
4575,
12,
3767,
1769,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 ClientPut(SimpleFieldSet fs, FCPClient client2) throws PersistenceParseException, IOException { super(fs, client2); String mimeType = fs.get("Metadata.ContentType"); String from = fs.get("UploadFrom"); if(from.equals("direct")) { uploadFrom = ClientPutMessage.UPLOAD_FROM_DIRECT; } else if(from.equals("disk")) { uploadFrom = ClientPutMessage.UPLOAD_FROM_DISK; } else if(from.equals("redirect")) { uploadFrom = ClientPutMessage.UPLOAD_FROM_REDIRECT; } else { String s = fs.get("FromDisk"); if(s.equalsIgnoreCase("true")) uploadFrom = ClientPutMessage.UPLOAD_FROM_DISK; else if(s.equalsIgnoreCase("false")) uploadFrom = ClientPutMessage.UPLOAD_FROM_DIRECT; else throw new PersistenceParseException("Unknown UploadFrom: "+from); }
|
public ClientPut(FCPConnectionHandler handler, ClientPutMessage message) throws IdentifierCollisionException { super(message.uri, message.identifier, message.verbosity, handler, message.priorityClass, message.persistenceType, message.clientToken, message.global, message.getCHKOnly, message.dontCompress, message.maxRetries); this.uploadFrom = message.uploadFromType; this.origFilename = message.origFilename; String mimeType = message.contentType; clientToken = message.clientToken; if(persistenceType != PERSIST_CONNECTION) client.register(this, false); Bucket tempData = message.bucket;
|
public ClientPut(SimpleFieldSet fs, FCPClient client2) throws PersistenceParseException, IOException { super(fs, client2); String mimeType = fs.get("Metadata.ContentType"); String from = fs.get("UploadFrom"); if(from.equals("direct")) { uploadFrom = ClientPutMessage.UPLOAD_FROM_DIRECT; } else if(from.equals("disk")) { uploadFrom = ClientPutMessage.UPLOAD_FROM_DISK; } else if(from.equals("redirect")) { uploadFrom = ClientPutMessage.UPLOAD_FROM_REDIRECT; } else { // FIXME remove this back compatibility hack in a few builds' time String s = fs.get("FromDisk"); if(s.equalsIgnoreCase("true")) uploadFrom = ClientPutMessage.UPLOAD_FROM_DISK; else if(s.equalsIgnoreCase("false")) uploadFrom = ClientPutMessage.UPLOAD_FROM_DIRECT; else throw new PersistenceParseException("Unknown UploadFrom: "+from); } ClientMetadata cm = new ClientMetadata(mimeType); boolean isMetadata = false; if(uploadFrom == ClientPutMessage.UPLOAD_FROM_DISK) { origFilename = new File(fs.get("Filename")); data = new FileBucket(origFilename, true, false, false, false); targetURI = null; } else if(uploadFrom == ClientPutMessage.UPLOAD_FROM_DIRECT) { origFilename = null; if(!succeeded) { byte[] key = HexUtil.hexToBytes(fs.get("TempBucket.DecryptKey")); String fnam = fs.get("TempBucket.Filename"); long sz = Long.parseLong(fs.get("TempBucket.Size")); try { data = client.server.node.persistentTempBucketFactory.registerEncryptedBucket(fnam, key, sz); if(data.size() != sz) throw new PersistenceParseException("Size of bucket is wrong: "+data.size()+" should be "+sz); } catch (IOException e) { throw new PersistenceParseException("Could not read old bucket (should be "+sz+" bytes) for "+identifier); } } else data = null; targetURI = null; } else if(uploadFrom == ClientPutMessage.UPLOAD_FROM_REDIRECT) { String target = fs.get("TargetURI"); targetURI = new FreenetURI(target); Metadata m = new Metadata(Metadata.SIMPLE_REDIRECT, targetURI, cm); cm = null; byte[] d; try { d = m.writeToByteArray(); } catch (MetadataUnresolvedException e) { // Impossible Logger.error(this, "Impossible: "+e, e); onFailure(new InserterException(InserterException.INTERNAL_ERROR, "Impossible: "+e+" in ClientPut", null), null); this.data = null; clientMetadata = null; origFilename = null; inserter = null; return; } data = new SimpleReadOnlyArrayBucket(d); origFilename = null; isMetadata = true; } else { throw new PersistenceParseException("shouldn't happen"); } this.clientMetadata = cm; inserter = new ClientPutter(this, data, uri, cm, ctx, client.node.chkPutScheduler, client.node.sskPutScheduler, priorityClass, getCHKOnly, isMetadata, client, fs.subset("progress")); }
|
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/022b3b641f81edc10e6026a8efd1ca7217d42d0c/ClientPut.java/buggy/src/freenet/node/fcp/ClientPut.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2445,
6426,
12,
5784,
974,
694,
2662,
16,
478,
4258,
1227,
1004,
22,
13,
1216,
13381,
13047,
16,
1860,
288,
202,
202,
9565,
12,
2556,
16,
1004,
22,
1769,
202,
202,
780,
10707,
273,
2662,
18,
588,
2932,
2277,
18,
8046,
8863,
202,
202,
780,
628,
273,
2662,
18,
588,
2932,
4777,
1265,
8863,
9506,
202,
430,
12,
2080,
18,
14963,
2932,
7205,
6,
3719,
288,
1082,
202,
6327,
1265,
273,
2445,
6426,
1079,
18,
23347,
67,
11249,
67,
17541,
31,
202,
202,
97,
469,
309,
12,
2080,
18,
14963,
2932,
10863,
6,
3719,
288,
1082,
202,
6327,
1265,
273,
2445,
6426,
1079,
18,
23347,
67,
11249,
67,
2565,
11129,
31,
202,
202,
97,
469,
309,
12,
2080,
18,
14963,
2932,
7590,
6,
3719,
288,
1082,
202,
6327,
1265,
273,
2445,
6426,
1079,
18,
23347,
67,
11249,
67,
25103,
31,
202,
202,
97,
469,
288,
1082,
202,
759,
9852,
1206,
333,
1473,
8926,
11769,
316,
279,
11315,
10736,
11,
813,
1082,
202,
780,
272,
273,
2662,
18,
588,
2932,
1265,
6247,
8863,
1082,
202,
430,
12,
87,
18,
14963,
5556,
2932,
3767,
6,
3719,
9506,
202,
6327,
1265,
273,
2445,
6426,
1079,
18,
23347,
67,
11249,
67,
2565,
11129,
31,
1082,
202,
12107,
309,
12,
87,
18,
14963,
5556,
2932,
5743,
6,
3719,
9506,
202,
6327,
1265,
273,
2445,
6426,
1079,
18,
23347,
67,
11249,
67,
17541,
31,
1082,
202,
12107,
9506,
202,
12849,
394,
13381,
13047,
2932,
4874,
9414,
1265,
30,
13773,
2080,
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,
2445,
6426,
12,
5784,
974,
694,
2662,
16,
478,
4258,
1227,
1004,
22,
13,
1216,
13381,
13047,
16,
1860,
288,
202,
202,
9565,
12,
2556,
16,
1004,
22,
1769,
202,
202,
780,
10707,
273,
2662,
18,
588,
2932,
2277,
18,
8046,
8863,
202,
202,
780,
628,
273,
2662,
18,
588,
2932,
4777,
1265,
8863,
9506,
202,
430,
12,
2080,
18,
14963,
2932,
7205,
6,
3719,
288,
1082,
202,
6327,
1265,
273,
2445,
6426,
1079,
18,
23347,
67,
11249,
67,
17541,
31,
202,
202,
97,
469,
309,
12,
2080,
18,
14963,
2932,
10863,
6,
3719,
288,
1082,
202,
6327,
1265,
273,
2445,
6426,
1079,
18,
23347,
67,
11249,
67,
2565,
11129,
31,
202,
202,
97,
469,
309,
2
] |
Log.debug("handleVoluntaryMoves()");
|
private boolean handleVoluntaryMoves(PlayerInfo player, Map moveMap, Map[] enemyAttackMap, boolean retry) { boolean moved = false; List markerIds = player.getLegionIds(); Log.debug("handleVoluntaryMoves()"); List all_legionMoves = new ArrayList(); Iterator it = markerIds.iterator(); // N.B.!! We must use a multi-set type container here // since a from hex may show up twice in the case of a split // legion and we must not show this hex as available unless // both of the legions move off of the hex. TreeSet fromHexes = new TreeSet(); while (it.hasNext()) { String markerId = (String)it.next(); LegionInfo legion = client.getLegionInfo(markerId); Log.debug("consider marker " + markerId); if (legion.hasMoved()) { if (!retry) { Log.debug("Oops. handleVoluntaryMoves has already been called."); continue; // try moves again in case server failed to register one. // return false; } else { // XXX client does not correctly update hasMoved() for // previously teleported legion. This will cause the // AI to try to move the teleport legion twice. // This is OK for now since the game will not allow // the teleported legion to be moved again. Log.debug("Legion " + markerId + " has already moved."); continue; } } if (legion.getCurrentHex() == null) { continue; } // compute the value of sitting still List legionMoves = new ArrayList(); MasterHex hex = MasterBoard.getHexByLabel(legion.getCurrentHex().getLabel()); double value = evaluateMove(legion, hex, RECRUIT_FALSE, enemyAttackMap, 2, true); LegionBoardMove lmove = new LegionBoardMove(markerId, legion.getCurrentHex().getLabel(), legion.getCurrentHex().getLabel(), value, true); legionMoves.add(lmove); fromHexes.add(legion.getCurrentHex().getLabel()); Log.debug("value of sitting still at hex " + hex.getLabel() + " : " + value); // find the expected value of all moves for this legion Set set; if (!retry) { set = client.getMovement().listAllMoves(legion, legion.getCurrentHex(), client.getMovementRoll()); } else { // exclude teleport moves Log.debug("retry: get normal moves only."); set = client.getMovement().listNormalMoves(legion, legion.getCurrentHex(), client.getMovementRoll()); } Iterator moveIterator = set.iterator(); while (moveIterator.hasNext()) { final String hexLabel = (String)moveIterator.next(); hex = MasterBoard.getHexByLabel(hexLabel); value = evaluateMove(legion, hex, RECRUIT_TRUE, enemyAttackMap, 2, true); Log.debug("value hex " + hexLabel + " value: " + value); lmove = new LegionBoardMove(markerId, legion.getCurrentHex().getLabel(), hexLabel, value, false); legionMoves.add(lmove); } // Sort moves in the order of descending value. Collections.sort(legionMoves, new Comparator() { public int compare(Object o1, Object o2) { LegionBoardMove L1 = (LegionBoardMove)o1; LegionBoardMove L2 = (LegionBoardMove)o2; return (int)L2.val - (int)L1.val; // want descending order } } ); all_legionMoves.add(legionMoves); } Log.debug("done computing move values for legions"); // handle teleports // XXX // just take the best teleport. this is not quite right // since it may stick the legion that does not get to // teleport with a really bad move. it is not really possible // to figure this out though, without splitting off teleport // moves seperately if (client.getMovementRoll() == 6 && !retry) { ListIterator legit = all_legionMoves.listIterator(); LegionBoardMove best_move = new LegionBoardMove("", "", "", 0, true); double best_value = 0; while (legit.hasNext()) { List legionMoves = (List)legit.next(); if (legionMoves.size() < 6) { continue; // not a teleporting legion } LegionBoardMove lm = (LegionBoardMove)legionMoves.get(0); if (lm.val > best_value) { Log.debug("found new teleport best move " + lm.markerId + " to " + lm.toHex + " value " + lm.val); best_value = lm.val; best_move = lm; } } if (best_value > 0) { if (!best_move.noMove) { Log.debug("found teleport: " + best_move.markerId + " to " + best_move.toHex + " value " + best_move.val); doMove(best_move.markerId, best_move.toHex); } } return true; // call again } // make a copy of the full list of moves in // case we are forced to move a legion List all_legionMovesCopy = new ArrayList(all_legionMoves); // Find any legions that have a best move which // is not also a best move for another legion. // In that case, just move the legion ListIterator legit = all_legionMoves.listIterator(); while (legit.hasNext()) { List legionMoves = (List)legit.next(); if (legionMoves.isEmpty()) { continue; } LegionBoardMove lm = (LegionBoardMove)legionMoves.get(0); String best_hex = lm.toHex; if (fromHexes.contains(best_hex)) { // If we are moving into an occupied hex, assume it may // cause a conflict. This is to handle moving into hexes // where legions have split. continue; } Iterator legit2 = all_legionMoves.iterator(); boolean duplicate = false; // Does another legion have this as a best move? while (legit2.hasNext()) { List legionMoves2 = (List)legit2.next(); if (legionMoves2.isEmpty()) { continue; } LegionBoardMove lm2 = (LegionBoardMove)legionMoves2.get(0); // is lm2 == lm1 ? if (lm2.markerId.equals(lm.markerId)) { continue; } String best_hex2 = lm2.toHex; if (best_hex2.equals(best_hex)) { duplicate = true; // found a duplicate Log.debug("Found duplicate for " + lm.markerId + " at " + lm.toHex + " duplicate is " + lm2.markerId + " at " + lm2.toHex); break; } } if (!duplicate) { Log.debug("No conflict. Optimum move for " + lm.markerId + " is " + lm.toHex); if (!lm.noMove) { boolean moved_legion = doMove(lm.markerId, lm.toHex); if (moved_legion) { // remove list of moves - we are done with this legion legit.remove(); fromHexes.remove(lm.fromHex); // hex is now free moved = true; } } } } Log.debug("done moving legions with no conflicts"); // find initial optimum, assuming optimum will move a legion boolean conflicted = handleConflictedMoves(all_legionMoves, false, fromHexes); moved = moved || conflicted; // if optimum is for everyone to stay at the hex they are // in (no move), have to move at least one legion if (!moved) { Log.debug("Ack! Optimum is to not move any legions!" + " Try again, with constraint that we must move."); // handle forced move. // pass in the original set of moves for ALL legions. // find optimal move with the constraint that one legion // must move. This could be slow (3^12 = 531k possibilities for // a bad case), but if we are in a position // where the optimum is not to move ANY legions then most // likely we have only a small set of legions. handleConflictedMoves(all_legionMovesCopy, true, fromHexes); } return false; }
|
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/fa0bdefcc743b1198248602182b28c3e10301115/RationalAI.java/buggy/Colossus/net/sf/colossus/client/RationalAI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1640,
17431,
10032,
814,
19297,
12,
12148,
966,
7291,
16,
1635,
3635,
863,
16,
5411,
1635,
8526,
570,
351,
93,
3075,
484,
863,
16,
1250,
3300,
13,
565,
288,
3639,
1250,
10456,
273,
629,
31,
3639,
987,
5373,
2673,
273,
7291,
18,
588,
8329,
285,
2673,
5621,
2398,
987,
777,
67,
1935,
285,
19297,
273,
394,
2407,
5621,
3639,
4498,
518,
273,
5373,
2673,
18,
9838,
5621,
3639,
368,
423,
18,
38,
18,
8548,
1660,
1297,
999,
279,
3309,
17,
542,
618,
1478,
2674,
3639,
368,
3241,
279,
628,
3827,
2026,
2405,
731,
13605,
316,
326,
648,
434,
279,
1416,
3639,
368,
4553,
285,
471,
732,
1297,
486,
2405,
333,
3827,
487,
2319,
3308,
3639,
368,
3937,
434,
326,
4553,
1115,
3635,
3397,
434,
326,
3827,
18,
3639,
19461,
628,
7037,
281,
273,
394,
19461,
5621,
3639,
1323,
261,
305,
18,
5332,
2134,
10756,
3639,
288,
5411,
514,
5373,
548,
273,
261,
780,
13,
305,
18,
4285,
5621,
5411,
17167,
285,
966,
4553,
285,
273,
1004,
18,
588,
8329,
285,
966,
12,
11145,
548,
1769,
5411,
1827,
18,
4148,
2932,
8559,
3585,
5373,
315,
397,
5373,
548,
1769,
5411,
309,
261,
1935,
285,
18,
5332,
25317,
10756,
5411,
288,
7734,
309,
16051,
9620,
13,
7734,
288,
10792,
1827,
18,
4148,
2932,
51,
4473,
18,
225,
1640,
17431,
10032,
814,
19297,
711,
1818,
2118,
2566,
1199,
1769,
10792,
1324,
31,
368,
775,
13934,
3382,
316,
648,
1438,
2535,
358,
1744,
1245,
18,
10792,
368,
327,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1640,
17431,
10032,
814,
19297,
12,
12148,
966,
7291,
16,
1635,
3635,
863,
16,
5411,
1635,
8526,
570,
351,
93,
3075,
484,
863,
16,
1250,
3300,
13,
565,
288,
3639,
1250,
10456,
273,
629,
31,
3639,
987,
5373,
2673,
273,
7291,
18,
588,
8329,
285,
2673,
5621,
2398,
987,
777,
67,
1935,
285,
19297,
273,
394,
2407,
5621,
3639,
4498,
518,
273,
5373,
2673,
18,
9838,
5621,
3639,
368,
423,
18,
38,
18,
8548,
1660,
1297,
999,
279,
3309,
17,
542,
618,
1478,
2674,
3639,
368,
3241,
279,
628,
3827,
2026,
2405,
731,
13605,
316,
326,
648,
434,
279,
1416,
3639,
368,
4553,
285,
471,
732,
1297,
486,
2405,
333,
3827,
487,
2319,
3308,
3639,
368,
2
] |
|
int thirdWordID = getWordID(wordSequence.getWord(2)); trigram = trigramBuffer.findProbabilityID(thirdWordID);
|
private int findTrigram(WordSequence wordSequence) { int trigram = -1; WordSequence oldest = wordSequence.getOldest(); TrigramBuffer trigramBuffer = (TrigramBuffer)loadedTrigramBuffer.get(oldest); if (trigramBuffer == null) { int firstWordID = getWordID(wordSequence.getWord(0)); int secondWordID = getWordID(wordSequence.getWord(1)); trigramBuffer = loadTrigramBuffer(firstWordID, secondWordID); if (trigramBuffer != null) { loadedTrigramBuffer.put(oldest, trigramBuffer); int thirdWordID = getWordID(wordSequence.getWord(2)); trigram = trigramBuffer.findProbabilityID(thirdWordID); } } return trigram; }
|
48839 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48839/6853032c1afc74f6bc7d6f1652c7d77da034e398/LargeTrigramModel.java/clean/sphinx4/edu/cmu/sphinx/knowledge/language/large/LargeTrigramModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1104,
1070,
360,
1940,
12,
3944,
4021,
2076,
4021,
13,
288,
3639,
509,
23142,
1940,
273,
300,
21,
31,
540,
9926,
4021,
17067,
273,
2076,
4021,
18,
588,
7617,
395,
5621,
3639,
840,
360,
1940,
1892,
23142,
1940,
1892,
273,
2398,
261,
1070,
360,
1940,
1892,
13,
4230,
1070,
360,
1940,
1892,
18,
588,
12,
1673,
395,
1769,
7734,
309,
261,
313,
360,
1940,
1892,
422,
446,
13,
288,
5411,
509,
1122,
3944,
734,
273,
336,
3944,
734,
12,
1095,
4021,
18,
588,
3944,
12,
20,
10019,
5411,
509,
2205,
3944,
734,
273,
336,
3944,
734,
12,
1095,
4021,
18,
588,
3944,
12,
21,
10019,
13491,
23142,
1940,
1892,
273,
1262,
1070,
360,
1940,
1892,
12,
3645,
3944,
734,
16,
2205,
3944,
734,
1769,
13491,
309,
261,
313,
360,
1940,
1892,
480,
446,
13,
288,
7734,
4203,
1070,
360,
1940,
1892,
18,
458,
12,
1673,
395,
16,
23142,
1940,
1892,
1769,
7734,
509,
12126,
3944,
734,
273,
336,
3944,
734,
12,
1095,
4021,
18,
588,
3944,
12,
22,
10019,
7734,
23142,
1940,
273,
23142,
1940,
1892,
18,
4720,
25598,
734,
12,
451,
6909,
3944,
734,
1769,
5411,
289,
3639,
289,
202,
2463,
23142,
1940,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1104,
1070,
360,
1940,
12,
3944,
4021,
2076,
4021,
13,
288,
3639,
509,
23142,
1940,
273,
300,
21,
31,
540,
9926,
4021,
17067,
273,
2076,
4021,
18,
588,
7617,
395,
5621,
3639,
840,
360,
1940,
1892,
23142,
1940,
1892,
273,
2398,
261,
1070,
360,
1940,
1892,
13,
4230,
1070,
360,
1940,
1892,
18,
588,
12,
1673,
395,
1769,
7734,
309,
261,
313,
360,
1940,
1892,
422,
446,
13,
288,
5411,
509,
1122,
3944,
734,
273,
336,
3944,
734,
12,
1095,
4021,
18,
588,
3944,
12,
20,
10019,
5411,
509,
2205,
3944,
734,
273,
336,
3944,
734,
12,
1095,
4021,
18,
588,
3944,
12,
21,
10019,
13491,
23142,
1940,
1892,
273,
1262,
1070,
360,
1940,
1892,
12,
2
] |
|
public void testSetIndent() { Serializer serializer = new Serializer(System.out); serializer.setIndent(72); assertEquals(72, serializer.getIndent()); serializer.setIndent(720); assertEquals(720, serializer.getIndent()); serializer.setIndent(1); assertEquals(1, serializer.getIndent()); serializer.setIndent(0); assertEquals(0, serializer.getIndent()); try { serializer.setIndent(-1); fail("Allowed negative indent"); } catch (IllegalArgumentException ex) { // success assertNotNull(ex.getMessage()); } }
|
8327 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8327/573d2cdb5b9d69f1410e8d36db876ccdbb022c99/SerializerTest.java/clean/src/nu/xom/tests/SerializerTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
3813,
694,
7790,
1435,
95,
6342,
8426,
31838,
33,
2704,
6306,
12,
3163,
18,
659,
1769,
15663,
18,
542,
7790,
12,
9060,
1769,
11231,
8867,
12,
9060,
16,
15663,
18,
588,
7790,
10663,
15663,
18,
542,
7790,
12,
27,
3462,
1769,
11231,
8867,
12,
27,
3462,
16,
15663,
18,
588,
7790,
10663,
15663,
18,
542,
7790,
12,
21,
1769,
11231,
8867,
12,
21,
16,
15663,
18,
588,
7790,
10663,
15663,
18,
542,
7790,
12,
20,
1769,
11231,
8867,
12,
20,
16,
15663,
18,
588,
7790,
10663,
698,
95,
15663,
18,
542,
7790,
19236,
21,
1769,
6870,
2932,
5042,
13258,
9355,
8863,
97,
14683,
12,
31237,
338,
15329,
759,
4768,
11231,
5962,
12,
338,
18,
24906,
10663,
9090,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
3813,
694,
7790,
1435,
95,
6342,
8426,
31838,
33,
2704,
6306,
12,
3163,
18,
659,
1769,
15663,
18,
542,
7790,
12,
9060,
1769,
11231,
8867,
12,
9060,
16,
15663,
18,
588,
7790,
10663,
15663,
18,
542,
7790,
12,
27,
3462,
1769,
11231,
8867,
12,
27,
3462,
16,
15663,
18,
588,
7790,
10663,
15663,
18,
542,
7790,
12,
21,
1769,
11231,
8867,
12,
21,
16,
15663,
18,
588,
7790,
10663,
15663,
18,
542,
7790,
12,
20,
1769,
11231,
8867,
12,
20,
16,
15663,
18,
588,
7790,
10663,
698,
95,
15663,
18,
542,
7790,
19236,
21,
1769,
6870,
2932,
5042,
13258,
9355,
8863,
97,
14683,
12,
31237,
338,
15329,
759,
4768,
11231,
5962,
12,
338,
18,
24906,
10663,
9090,
2
] |
||
ti = processInstance.findTask(pd.tdParallel_2,MockTaskInstance.STATE_READY); assertNotNull("Failed to find the task to run",ti); ti.setConditionAction(ComplexProcessDef.GOTO + pd.tdJoin.getName()); engine.transitionTask(ti);
|
tiParallel_2b.setConditionAction(ComplexProcessDef.GOTO + pd.tdJoin.getName()); engine.transitionTask(tiParallel_2b); engine.transitionTask(tiJoin);
|
public void testLoopingJoin() throws Exception { ComplexProcessDef pd = new ComplexProcessDef("complexTest1"); MockStateFactory msf = new MockStateFactory(); IEngine engine = new Engine(msf); MockProcessInstance processInstance = (MockProcessInstance) engine.createProcess(pd); // first transition test - runs the workflow up to the point where it hits the JOIN doPart1(pd, engine, processInstance); MockTaskInstance ti = processInstance.findTask(pd.tdParallel_2,MockTaskInstance.STATE_READY); assertNotNull("Failed to find the task to run",ti); ti.setConditionAction(ComplexProcessDef.GOTO + pd.tdSplit.getName()); engine.transitionTask(ti); /* * check to see if we have the expected number of object in the audit trail * 1 x process * 1 x tdStart (complete) * 2 x tdSplit (complete) * 1 x tdJoin (awaiting sync) * 2 x tdParallel-1 (complete) * 2 x tdParallel-2 (1 x complete, 1 x ready) */ assertEquals(9,msf.getAuditTrail().size()); assertEquals(1,msf.countInstances(pd)); assertEquals(1,msf.countInstances(pd.tdStart, MockTaskInstance.STATE_DELETED)); assertEquals(2,msf.countInstances(pd.tdSplit, MockTaskInstance.STATE_DELETED)); assertEquals(1,msf.countInstances(pd.tdJoin, MockTaskInstance.STATE_AWAITINGSYNC)); assertEquals(2,msf.countInstances(pd.tdParallel_1, MockTaskInstance.STATE_DELETED)); assertEquals(1,msf.countInstances(pd.tdParallel_2, MockTaskInstance.STATE_DELETED)); assertEquals(1,msf.countInstances(pd.tdParallel_2, MockTaskInstance.STATE_READY)); /* * check that we've got what we expect in the process instance * 1 x tdJoin * 1 x tdParallel2 */ assertEquals(2,processInstance.getTaskInstances().size()); assertEquals(1,processInstance.countInstances(pd.tdParallel_2,MockTaskInstance.STATE_READY)); assertEquals(1,processInstance.countInstances(pd.tdJoin,MockTaskInstance.STATE_AWAITINGSYNC)); /* * now transition again, but go to the JOIN */ ti = processInstance.findTask(pd.tdParallel_2,MockTaskInstance.STATE_READY); assertNotNull("Failed to find the task to run",ti); ti.setConditionAction(ComplexProcessDef.GOTO + pd.tdJoin.getName()); engine.transitionTask(ti); /* * check that we've got what we expect in the processinstance * 1 x tdEnd */ assertEquals(1,processInstance.getTaskInstances().size()); assertEquals(1,processInstance.countInstances(pd.tdEnd,MockTaskInstance.STATE_READY)); /* * check that we've still only got one Join task in the audit trail */ assertEquals(1,msf.countInstances(pd.tdJoin)); /* * now transition again to complete */ ti = processInstance.findTask(pd.tdEnd,MockTaskInstance.STATE_READY); assertNotNull("Failed to find the task to run",ti); engine.transitionTask(ti); /* * check there are no outstanding tasks & the process is complete */ assertEquals(0,processInstance.getTaskInstances().size()); assertTrue(processInstance.getState()==IProcessInstance.STATE_COMPLETE); /* * check to see if we have the expected number of object in the audit trail * 1 x process * 1 x tdStart (complete) * 2 x tdSplit (complete) * 1 x tdJoin (complete) * 2 x tdParallel-1 (complete) * 2 x tdParallel-2 (complete) * 1 x tdEnd (complete) * 0 x tdAlternateEnding */ assertEquals(10,msf.getAuditTrail().size()); assertEquals(1,msf.countInstances(pd)); assertEquals(1,msf.countInstances(pd.tdStart, MockTaskInstance.STATE_DELETED)); assertEquals(2,msf.countInstances(pd.tdSplit, MockTaskInstance.STATE_DELETED)); assertEquals(1,msf.countInstances(pd.tdJoin, MockTaskInstance.STATE_DELETED)); assertEquals(2,msf.countInstances(pd.tdParallel_1, MockTaskInstance.STATE_DELETED)); assertEquals(2,msf.countInstances(pd.tdParallel_2, MockTaskInstance.STATE_DELETED)); assertEquals(1,msf.countInstances(pd.tdEnd, MockTaskInstance.STATE_DELETED)); assertEquals(0,msf.countInstances(pd.tdAlternateEnding)); }
|
9195 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9195/7cfa00c74cd00c5fed0da98234e9ffd48a1618e2/ComplexSplitJoinTest.java/buggy/zebra/src/java/zebra-core/src/test/com/anite/zebra/core/test/ComplexSplitJoinTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
6452,
310,
4572,
1435,
1216,
1185,
288,
25083,
202,
12795,
2227,
3262,
4863,
273,
394,
16060,
2227,
3262,
2932,
14259,
4709,
21,
8863,
25083,
202,
9865,
1119,
1733,
4086,
74,
273,
394,
7867,
1119,
1733,
5621,
202,
202,
45,
4410,
4073,
273,
394,
10507,
12,
959,
74,
1769,
202,
202,
9865,
2227,
1442,
1207,
1442,
273,
261,
9865,
2227,
1442,
13,
4073,
18,
2640,
2227,
12,
22353,
1769,
202,
202,
759,
1122,
6007,
1842,
300,
7597,
326,
6095,
731,
358,
326,
1634,
1625,
518,
11076,
326,
7645,
202,
202,
2896,
1988,
21,
12,
22353,
16,
4073,
16,
1207,
1442,
1769,
25083,
202,
9865,
2174,
1442,
11374,
273,
1207,
1442,
18,
4720,
2174,
12,
22353,
18,
4465,
13056,
67,
22,
16,
9865,
2174,
1442,
18,
7998,
67,
20305,
1769,
202,
202,
11231,
5962,
2932,
2925,
358,
1104,
326,
1562,
358,
1086,
3113,
9096,
1769,
9506,
202,
9096,
18,
542,
3418,
1803,
12,
12795,
2227,
3262,
18,
43,
27019,
397,
4863,
18,
4465,
5521,
18,
17994,
10663,
202,
202,
8944,
18,
14936,
2174,
12,
9096,
1769,
9506,
202,
20308,
1082,
380,
866,
358,
2621,
309,
732,
1240,
326,
2665,
1300,
434,
733,
316,
326,
8215,
15569,
1082,
380,
404,
619,
1207,
1082,
380,
404,
619,
6655,
1685,
261,
6226,
13,
1082,
380,
576,
619,
6655,
5521,
261,
6226,
13,
1082,
380,
404,
619,
6655,
4572,
261,
30515,
310,
3792,
13,
1082,
380,
576,
619,
6655,
13056,
17,
21,
261,
6226,
13,
1082,
380,
576,
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,
6452,
310,
4572,
1435,
1216,
1185,
288,
25083,
202,
12795,
2227,
3262,
4863,
273,
394,
16060,
2227,
3262,
2932,
14259,
4709,
21,
8863,
25083,
202,
9865,
1119,
1733,
4086,
74,
273,
394,
7867,
1119,
1733,
5621,
202,
202,
45,
4410,
4073,
273,
394,
10507,
12,
959,
74,
1769,
202,
202,
9865,
2227,
1442,
1207,
1442,
273,
261,
9865,
2227,
1442,
13,
4073,
18,
2640,
2227,
12,
22353,
1769,
202,
202,
759,
1122,
6007,
1842,
300,
7597,
326,
6095,
731,
358,
326,
1634,
1625,
518,
11076,
326,
7645,
202,
202,
2896,
1988,
21,
12,
22353,
16,
4073,
16,
1207,
1442,
1769,
25083,
202,
9865,
2174,
1442,
11374,
273,
1207,
1442,
18,
4720,
2174,
12,
22353,
2
] |
Operation op = ( Operation ) i.next();
|
Operation op = i.next();
|
protected void execute0( PartitionNexus nexus, ReplicationStore store ) throws NamingException { Iterator i = children.iterator(); while( i.hasNext() ) { Operation op = ( Operation ) i.next(); op.execute( nexus, DUMMY_STORE ); } }
|
17035 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17035/cfc1e0db255153cb8ed18cd1e735fa4815ad666b/CompositeOperation.java/buggy/mitosis/src/main/java/org/apache/directory/mitosis/operation/CompositeOperation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1836,
20,
12,
12598,
50,
21029,
290,
21029,
16,
13414,
2257,
1707,
262,
1216,
26890,
565,
288,
3639,
4498,
277,
273,
2325,
18,
9838,
5621,
3639,
1323,
12,
277,
18,
5332,
2134,
1435,
262,
3639,
288,
5411,
4189,
1061,
273,
277,
18,
4285,
5621,
5411,
1061,
18,
8837,
12,
290,
21029,
16,
463,
2799,
22114,
67,
13651,
11272,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1836,
20,
12,
12598,
50,
21029,
290,
21029,
16,
13414,
2257,
1707,
262,
1216,
26890,
565,
288,
3639,
4498,
277,
273,
2325,
18,
9838,
5621,
3639,
1323,
12,
277,
18,
5332,
2134,
1435,
262,
3639,
288,
5411,
4189,
1061,
273,
277,
18,
4285,
5621,
5411,
1061,
18,
8837,
12,
290,
21029,
16,
463,
2799,
22114,
67,
13651,
11272,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
out.print("<table align=center class=\"miscTable\"><tr>"); out.println("<td class=evenRowEvenCol><P><strong>Files in This Item:</strong></P>");
|
String bsLink = "<A TARGET=_blank HREF=\"" + request.getContextPath(); if (bitstreams[k].getSequenceID() > 0) { bsLink = bsLink + "/bitstream/" + item.getHandle() + "/" + bitstreams[k].getSequenceID() + "/"; } else { bsLink = bsLink + "/retrieve/" + bitstreams[k].getID() + "/"; }
|
private void listBitstreams() throws IOException { JspWriter out = pageContext.getOut(); HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); out.print("<table align=center class=\"miscTable\"><tr>"); out.println("<td class=evenRowEvenCol><P><strong>Files in This Item:</strong></P>"); Bundle[] bundles = item.getBundles("ORIGINAL"); if (bundles.length == 0) { out.println("<P>There are no files associated with this item.</P>"); } else { // if item contains multiple non-license bundles, display bitstream description boolean multiFile = (bundles.length > 2); boolean html = false; Bitstream primaryBitstream = null; Bundle[] bunds = item.getBundles("ORIGINAL"); Bundle[] thumbs= item.getBundles("THUMBNAIL"); // check if primary bitstream is html if (bunds[0] != null) { Bitstream[] bits = bunds[0].getBitstreams(); for (int i = 0; i < bits.length && !html; i++) { if (bits[i].getID() == bunds[0].getPrimaryBitstreamID()) { html = bits[i].getFormat().getMIMEType().equals("text/html"); primaryBitstream = bits[i]; } } } out.println("<table cellpadding=6><tr><th class=\"standard\">File</th>"); if (multiFile) { out.println("<th class=\"standard\">Description</th>"); } out.println("<th class=\"standard\">Size</th class=\"standard\"><th class=\"standard\">Format</th></tr>"); // if primary bitstream is html, display a link for only that one to HTMLServlet if (html) { out.print("<tr><td class=\"standard\">"); out.print(primaryBitstream.getName()); if (multiFile) { out.print("</td><td class=\"standard\">"); String desc = primaryBitstream.getDescription(); out.print(desc != null ? desc : ""); } out.print("</td><td class=\"standard\">"); out.print(primaryBitstream.getSize() / 1024); out.print("Kb</td><td class=\"standard\">"); out.print(primaryBitstream.getFormatDescription()); out.print("</td><td class=\"standard\"><A TARGET=_blank HREF=\""); out.print(request.getContextPath()); out.print("/html/"); out.print(item.getHandle() + "/"); out.print(URLEncoder.encode(primaryBitstream.getName())); out.print("\">View/Open</A></td></tr>"); } else { for (int i = 0; i < bundles.length; i++) { Bitstream[] bitstreams = bundles[i].getBitstreams(); for (int k = 0; k < bitstreams.length ; k++) { // Skip internal types if (!bitstreams[k].getFormat().isInternal()) { out.print("<tr><td class=\"standard\">"); out.print(bitstreams[k].getName()); if (multiFile) { out.print("</td><td class=\"standard\">"); String desc = bitstreams[k].getDescription(); out.print(desc != null ? desc : ""); } out.print("</td><td class=\"standard\">"); out.print(bitstreams[k].getSize() / 1024); out.print("Kb</td><td class=\"standard\">"); out.print(bitstreams[k].getFormatDescription()); out.print("</td><td class=\"standard\"><A TARGET=_blank HREF=\""); out.print(request.getContextPath()); if (bitstreams[k].getSequenceID() > 0) { out.print("/bitstream/"); out.print(item.getHandle() + "/"); out.print(bitstreams[k].getSequenceID() + "/"); } else { out.print("/retrieve/"); out.print(bitstreams[k].getID() + "/"); } out.print(URLEncoder.encode(bitstreams[k].getName())); out.print("\">"); // is there a thumbnail bundle? if(thumbs.length > 0) { String tName = bitstreams[k].getName()+".jpg"; Bitstream tb = thumbs[0].getBitstreamByName(tName); if( tb != null ) { String myPath = request.getContextPath() + "/retrieve/" + tb.getID() + "/" + URLEncoder.encode(tb.getName()); //out.print(myPath); out.print("<img src=\""+ myPath + "\" "); out.print("alt=\"" + tName + "\">"); } } out.print("View/Open</A></td></tr>"); } } } } out.println("</table>"); } out.println("</td></tr></table>"); }
|
1868 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1868/d6a4245fc7794957c945bba7f1baa61ba2afa2b5/ItemTag.java/clean/dspace/src/org/dspace/app/webui/jsptag/ItemTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
666,
5775,
16320,
1435,
3639,
1216,
1860,
565,
288,
3639,
19300,
2289,
596,
273,
21442,
18,
588,
1182,
5621,
3639,
9984,
590,
273,
5411,
261,
2940,
18572,
13,
21442,
18,
588,
691,
5621,
3639,
596,
18,
1188,
2932,
32,
2121,
5689,
33,
5693,
667,
5189,
23667,
1388,
2412,
4438,
313,
2984,
1769,
3639,
596,
18,
8222,
2932,
32,
4465,
667,
33,
16728,
1999,
8321,
914,
4438,
52,
4438,
9110,
34,
2697,
316,
1220,
4342,
19814,
9110,
4695,
52,
2984,
1769,
3639,
8539,
8526,
11408,
273,
761,
18,
588,
16151,
2932,
24685,
1013,
8863,
5411,
309,
261,
22773,
18,
2469,
422,
374,
13,
3639,
288,
5411,
596,
18,
8222,
2932,
32,
52,
34,
9828,
854,
1158,
1390,
3627,
598,
333,
761,
17347,
52,
2984,
1769,
3639,
289,
3639,
469,
3639,
288,
565,
202,
565,
368,
309,
761,
1914,
3229,
1661,
17,
12687,
11408,
16,
2562,
28640,
2477,
202,
565,
1250,
3309,
812,
273,
261,
22773,
18,
2469,
405,
576,
1769,
5411,
1250,
1729,
273,
629,
31,
202,
565,
6539,
3256,
3354,
5775,
3256,
273,
446,
31,
202,
565,
8539,
8526,
324,
19156,
273,
761,
18,
588,
16151,
2932,
24685,
1013,
8863,
5411,
8539,
8526,
286,
10099,
33,
761,
18,
588,
16151,
2932,
2455,
2799,
15388,
6575,
8863,
202,
565,
368,
866,
309,
3354,
28640,
353,
1729,
202,
565,
309,
261,
70,
19156,
63,
20,
65,
480,
446,
13,
202,
565,
288,
202,
202,
5775,
3256,
8526,
4125,
273,
324,
19156,
63,
20,
8009,
588,
5775,
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,
666,
5775,
16320,
1435,
3639,
1216,
1860,
565,
288,
3639,
19300,
2289,
596,
273,
21442,
18,
588,
1182,
5621,
3639,
9984,
590,
273,
5411,
261,
2940,
18572,
13,
21442,
18,
588,
691,
5621,
3639,
596,
18,
1188,
2932,
32,
2121,
5689,
33,
5693,
667,
5189,
23667,
1388,
2412,
4438,
313,
2984,
1769,
3639,
596,
18,
8222,
2932,
32,
4465,
667,
33,
16728,
1999,
8321,
914,
4438,
52,
4438,
9110,
34,
2697,
316,
1220,
4342,
19814,
9110,
4695,
52,
2984,
1769,
3639,
8539,
8526,
11408,
273,
761,
18,
588,
16151,
2932,
24685,
1013,
8863,
5411,
309,
261,
22773,
18,
2469,
422,
374,
13,
3639,
288,
5411,
596,
18,
8222,
2932,
32,
52,
34,
9828,
854,
1158,
1390,
2
] |
public byte[] getContent(CmsObject cms, String templateFile, String elementName, Hashtable parameters, String templateSelector) throws CmsException { // the template to be displayed String template = null; I_CmsSession session = cms.getRequestContext().getSession(true); // clear session values on first load String initial = (String)parameters.get(C_PARA_INITIAL); if(initial != null) { // remove all session values session.removeValue(C_PARA_FILE); session.removeValue(C_PARA_FILECONTENT); session.removeValue(C_PARA_NEWTYPE); session.removeValue("lasturl"); } String lastUrl = getLastUrl(cms, parameters); // get the parameters from the request and session String step = (String)parameters.get("STEP"); String currentFolder = (String)parameters.get(C_PARA_FILELIST); if(currentFolder != null) { session.putValue(C_PARA_FILELIST, currentFolder); } currentFolder = (String)session.getValue(C_PARA_FILELIST); if(currentFolder == null) { currentFolder = cms.rootFolder().getAbsolutePath(); } String title = (String)parameters.get(C_PARA_TITLE); String newname = (String)parameters.get(C_PARA_NAME); // get filename and file content if available String filename = null; byte[] filecontent = new byte[0]; // get the filename Enumeration files = cms.getRequestContext().getRequest().getFileNames(); while(files.hasMoreElements()) { filename = (String)files.nextElement(); } if(filename != null) { session.putValue(C_PARA_FILE, filename); } filename = (String)session.getValue(C_PARA_FILE); // get the filecontent if(filename != null) { filecontent = cms.getRequestContext().getRequest().getFile(filename); } if(filecontent != null) { session.putValue(C_PARA_FILECONTENT, filecontent); } filecontent = (byte[])session.getValue(C_PARA_FILECONTENT); //get the filetype String newtype = (String)parameters.get(C_PARA_NEWTYPE); if(newtype != null) { session.putValue(C_PARA_NEWTYPE, newtype); } newtype = (String)session.getValue(C_PARA_NEWTYPE); // get the document to display CmsXmlWpTemplateFile xmlTemplateDocument = new CmsXmlWpTemplateFile(cms, templateFile); xmlTemplateDocument.setData("lasturl", lastUrl); // there was a file uploaded, so select its type if(step != null) { if(step.equals("1")) { // display the select filetype screen if(filename != null) { // check if the file size is 0 if(filecontent.length == 0) { template = "error"; xmlTemplateDocument.setData("details", filename); } else { template = "step1"; } } } else { if(step.equals("2")) { // get the selected resource and check if it is an image CmsResourceType type = cms.getResourceType(newtype); if(newtype.equals(C_TYPE_IMAGE_NAME)) { // the file type is an image template = "image"; xmlTemplateDocument.setData("MIME", filename); xmlTemplateDocument.setData("SIZE", "Not yet available"); xmlTemplateDocument.setData("FILESIZE", new Integer(filecontent.length).toString() + " Bytes"); } else { // create the new file. // todo: error handling if file already exits cms.createFile(currentFolder, filename, filecontent, type.getResourceName()); cms.lockResource(currentFolder+filename); // remove the values form the session session.removeValue(C_PARA_FILE); session.removeValue(C_PARA_FILECONTENT); session.removeValue(C_PARA_NEWTYPE); // return to the filelist try { //cms.getRequestContext().getResponse().sendCmsRedirect( getConfigFile(cms).getWorkplaceActionPath()+C_WP_EXPLORER_FILELIST); if((lastUrl != null) && (lastUrl != "")) { cms.getRequestContext().getResponse().sendRedirect(lastUrl); } else { cms.getRequestContext().getResponse().sendCmsRedirect(getConfigFile(cms).getWorkplaceActionPath() + C_WP_EXPLORER_FILELIST); } } catch(Exception ex) { throw new CmsException("Redirect fails :" + getConfigFile(cms).getWorkplaceActionPath() + C_WP_EXPLORER_FILELIST, CmsException.C_UNKNOWN_EXCEPTION, ex); } return null; } } else { if(step.equals("3")) { // get the data from the special image upload dialog // check if a new filename is given if(newname != null) { filename = newname; } // create the new file. // todo: error handling if file already exits CmsResourceType type = cms.getResourceType(newtype); CmsFile file = cms.createFile(currentFolder, filename, filecontent, type.getResourceName()); // check if a file title was given if(title != null) { cms.lockResource(file.getAbsolutePath()); cms.writeProperty(file.getAbsolutePath(), C_PROPERTY_TITLE, title); } // remove the values form the session session.removeValue(C_PARA_FILE); session.removeValue(C_PARA_FILECONTENT); session.removeValue(C_PARA_NEWTYPE); session.removeValue("lasturl"); // return to the filelist try { if((lastUrl != null) && (lastUrl != "")) { cms.getRequestContext().getResponse().sendRedirect(lastUrl); } else { cms.getRequestContext().getResponse().sendCmsRedirect(getConfigFile(cms).getWorkplaceActionPath() + C_WP_EXPLORER_FILELIST); } } catch(Exception ex) { throw new CmsException("Redirect fails :" + getConfigFile(cms).getWorkplaceActionPath() + C_WP_EXPLORER_FILELIST, CmsException.C_UNKNOWN_EXCEPTION, ex); } return null; } } } } if(filename != null) { xmlTemplateDocument.setData("FILENAME", filename); } // process the selected template return startProcessing(cms, xmlTemplateDocument, "", parameters, template); }
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/8b4c8dd4b8ccc306e0420accb36368a20ae3df3d/CmsNewResourceUpload.java/buggy/src/com/opencms/workplace/CmsNewResourceUpload.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
5154,
12,
4747,
921,
6166,
16,
514,
28215,
16,
514,
14453,
16,
18559,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
7734,
368,
326,
1542,
358,
506,
10453,
3639,
514,
1542,
273,
446,
31,
3639,
467,
67,
4747,
2157,
1339,
273,
6166,
18,
588,
21426,
7675,
588,
2157,
12,
3767,
1769,
7734,
368,
2424,
1339,
924,
603,
1122,
1262,
3639,
514,
2172,
273,
261,
780,
13,
3977,
18,
588,
12,
39,
67,
2778,
37,
67,
28497,
1769,
3639,
309,
12,
6769,
480,
446,
13,
288,
13491,
368,
1206,
777,
1339,
924,
5411,
1339,
18,
4479,
620,
12,
39,
67,
2778,
37,
67,
3776,
1769,
5411,
1339,
18,
4479,
620,
12,
39,
67,
2778,
37,
67,
3776,
9689,
1769,
5411,
1339,
18,
4479,
620,
12,
39,
67,
2778,
37,
67,
12917,
2399,
1769,
5411,
1339,
18,
4479,
620,
2932,
2722,
718,
8863,
3639,
289,
3639,
514,
1142,
1489,
273,
7595,
1489,
12,
6851,
16,
1472,
1769,
7734,
368,
336,
326,
1472,
628,
326,
590,
471,
1339,
3639,
514,
2235,
273,
261,
780,
13,
3977,
18,
588,
2932,
26951,
8863,
3639,
514,
783,
3899,
273,
261,
780,
13,
3977,
18,
588,
12,
39,
67,
2778,
37,
67,
3776,
7085,
1769,
3639,
309,
12,
2972,
3899,
480,
446,
13,
288,
5411,
1339,
18,
458,
620,
12,
39,
67,
2778,
37,
67,
3776,
7085,
16,
783,
3899,
1769,
3639,
289,
3639,
783,
3899,
273,
261,
780,
13,
3184,
18,
24805,
12,
39,
67,
2778,
37,
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,
1160,
8526,
5154,
12,
4747,
921,
6166,
16,
514,
28215,
16,
514,
14453,
16,
18559,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
7734,
368,
326,
1542,
358,
506,
10453,
3639,
514,
1542,
273,
446,
31,
3639,
467,
67,
4747,
2157,
1339,
273,
6166,
18,
588,
21426,
7675,
588,
2157,
12,
3767,
1769,
7734,
368,
2424,
1339,
924,
603,
1122,
1262,
3639,
514,
2172,
273,
261,
780,
13,
3977,
18,
588,
12,
39,
67,
2778,
37,
67,
28497,
1769,
3639,
309,
12,
6769,
480,
446,
13,
288,
13491,
368,
1206,
777,
1339,
924,
5411,
1339,
18,
4479,
620,
12,
39,
67,
2778,
37,
67,
3776,
1769,
5411,
1339,
18,
4479,
620,
12,
39,
67,
2778,
37,
2
] |
||
smallBlockArray = new byte[0];
|
ByteVector sba = new ByteVector(3*bigBlock);
|
private void buildSmallBlockArray(int fileSize, int firstBlock) throws IOException { int numBigBlocks = ((fileSize / 64) / bigBlock) + 1; smallBlockArray = new byte[0]; int blocksRead = 0; while ((numBigBlocks > 0) && (firstBlock > 0)) { in.seek(firstBlock * bigBlock); read.add(new Integer(firstBlock)); byte[] block = new byte[bigBlock]; in.read(block); for (int i=0; i<block.length; i+=4) { if ((blocksRead*bigBlock + (i / 4)) < (fileSize / 64)) { int blockNumber = DataTools.bytesToInt(block, i, 4, true); if ((blockNumber*bigBlock) > 0) { byte[] tmp = smallBlockArray; smallBlockArray = new byte[tmp.length + bigBlock]; System.arraycopy(tmp, 0, smallBlockArray, 0, tmp.length); in.seek(blockNumber * bigBlock); read.add(new Integer(blockNumber)); in.read(smallBlockArray, tmp.length, bigBlock); } } } firstBlock = sbat[firstBlock]; blocksRead++; numBigBlocks--; } }
|
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/e1c1aa6cc0c7d00068e668cc26f365c20679cd01/OLEParser.java/buggy/loci/formats/OLEParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1361,
19187,
1768,
1076,
12,
474,
18984,
16,
509,
1122,
1768,
13,
565,
1216,
1860,
225,
288,
565,
509,
818,
9901,
6450,
273,
14015,
768,
1225,
342,
5178,
13,
342,
5446,
1768,
13,
397,
404,
31,
565,
3506,
5018,
2393,
69,
273,
394,
3506,
5018,
12,
23,
14,
14002,
1768,
1769,
565,
509,
4398,
1994,
273,
374,
31,
565,
1323,
14015,
2107,
9901,
6450,
405,
374,
13,
597,
261,
3645,
1768,
405,
374,
3719,
288,
1377,
316,
18,
16508,
12,
3645,
1768,
380,
5446,
1768,
1769,
1377,
855,
18,
1289,
12,
2704,
2144,
12,
3645,
1768,
10019,
1377,
1160,
8526,
1203,
273,
394,
1160,
63,
14002,
1768,
15533,
1377,
316,
18,
896,
12,
2629,
1769,
1377,
364,
261,
474,
277,
33,
20,
31,
277,
32,
2629,
18,
2469,
31,
277,
15,
33,
24,
13,
288,
3639,
309,
14015,
7996,
1994,
14,
14002,
1768,
397,
261,
77,
342,
1059,
3719,
411,
261,
768,
1225,
342,
5178,
3719,
288,
1850,
509,
1203,
1854,
273,
1910,
10348,
18,
3890,
17864,
12,
2629,
16,
277,
16,
1059,
16,
638,
1769,
1850,
309,
14015,
2629,
1854,
14,
14002,
1768,
13,
405,
374,
13,
288,
5411,
1160,
8526,
1853,
273,
5264,
1768,
1076,
31,
5411,
5264,
1768,
1076,
273,
394,
1160,
63,
5645,
18,
2469,
397,
5446,
1768,
15533,
5411,
2332,
18,
1126,
3530,
12,
5645,
16,
374,
16,
5264,
1768,
1076,
16,
374,
16,
1853,
18,
2469,
1769,
5411,
316,
18,
16508,
12,
2629,
1854,
380,
5446,
1768,
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,
282,
3238,
918,
1361,
19187,
1768,
1076,
12,
474,
18984,
16,
509,
1122,
1768,
13,
565,
1216,
1860,
225,
288,
565,
509,
818,
9901,
6450,
273,
14015,
768,
1225,
342,
5178,
13,
342,
5446,
1768,
13,
397,
404,
31,
565,
3506,
5018,
2393,
69,
273,
394,
3506,
5018,
12,
23,
14,
14002,
1768,
1769,
565,
509,
4398,
1994,
273,
374,
31,
565,
1323,
14015,
2107,
9901,
6450,
405,
374,
13,
597,
261,
3645,
1768,
405,
374,
3719,
288,
1377,
316,
18,
16508,
12,
3645,
1768,
380,
5446,
1768,
1769,
1377,
855,
18,
1289,
12,
2704,
2144,
12,
3645,
1768,
10019,
1377,
1160,
8526,
1203,
273,
394,
1160,
63,
14002,
1768,
15533,
1377,
316,
18,
896,
12,
2629,
1769,
1377,
2
] |
if (parentModel.getState() == HiViewer.LOADING_THUMBNAILS) {
|
if (parentModel.getState() == HiViewer.READY) {
|
public void stateChanged(ChangeEvent ce) { Object source = ce.getSource(); if (source instanceof HiViewer) { HiViewer parentModel = model.getParentModel(); if (parentModel.getState() == HiViewer.LOADING_THUMBNAILS) { parentModel.getBrowser().addPropertyChangeListener( Browser.SELECTED_DISPLAY_PROPERTY, this); } } }
|
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/0c7517f5d0ece413452f58f3f0a071be2ccbee2e/ClipBoardControl.java/buggy/SRC/org/openmicroscopy/shoola/agents/hiviewer/clipboard/ClipBoardControl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
919,
5033,
12,
20930,
5898,
13,
565,
288,
3639,
1033,
1084,
273,
5898,
18,
588,
1830,
5621,
3639,
309,
261,
3168,
1276,
670,
77,
18415,
13,
288,
5411,
670,
77,
18415,
982,
1488,
273,
938,
18,
588,
3054,
1488,
5621,
5411,
309,
261,
2938,
1488,
18,
588,
1119,
1435,
422,
670,
77,
18415,
18,
20305,
13,
288,
7734,
982,
1488,
18,
588,
9132,
7675,
1289,
1396,
15744,
12,
13491,
15408,
18,
4803,
2056,
67,
17463,
67,
9900,
16,
333,
1769,
5411,
289,
1850,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
919,
5033,
12,
20930,
5898,
13,
565,
288,
3639,
1033,
1084,
273,
5898,
18,
588,
1830,
5621,
3639,
309,
261,
3168,
1276,
670,
77,
18415,
13,
288,
5411,
670,
77,
18415,
982,
1488,
273,
938,
18,
588,
3054,
1488,
5621,
5411,
309,
261,
2938,
1488,
18,
588,
1119,
1435,
422,
670,
77,
18415,
18,
20305,
13,
288,
7734,
982,
1488,
18,
588,
9132,
7675,
1289,
1396,
15744,
12,
13491,
15408,
18,
4803,
2056,
67,
17463,
67,
9900,
16,
333,
1769,
5411,
289,
1850,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static void paint(Context c, Box block) { Rectangle box = new Rectangle( block.x + block.margin.left + block.border.left, block.y + block.margin.top + block.border.top, block.width - block.margin.left - block.margin.right - block.border.left - block.border.right, block.height - block.margin.top - block.border.top - block.border.bottom - block.margin.bottom ); /* u.off(); if(block.node.getNodeName().equals("img")) { u.on(); } u.p("-------------"); u.p("BackgroundPainter.paint(" + block + " bounds = " + box); u.p("bg color = " + block.background_color); u.p("canvas = " + c.canvas); */ // paint the background if(block.background_color != null) { u.p("filling background: " + block.background_color + " " + block); c.getGraphics().setColor(block.background_color); c.getGraphics().fillRect(box.x,box.y,box.width,box.height); } int xoff = 0; int yoff = 0; if(block.attachment != null && block.attachment.equals("fixed")) { //u.p("fixed: offset = " + c.canvas.getLocation()); yoff = c.canvas.getLocation().y; //c.graphics.setColor(Color.GREEN); //u.p("drawing line at " + (50 - yoff)); //c.graphics.setClip(c.canvas.getX(),c.canvas.getY(),c.canvas.getWidth(),c.canvas.getHeight()); c.graphics.setClip(c.canvas.getVisibleRect()); //c.graphics.drawLine(0,0-yoff,50,50-yoff); /* u.p("clip bounds = " + c.graphics.getClipBounds()); u.p("bounds = " + c.canvas.getBounds()); u.p("vis rec t= " + c.canvas.getVisibleRect()); if(c.graphics.getClipBounds() != null) { if(c.graphics.getClipBounds().equals(c.canvas.getVisibleRect())) { u.p("equal"); } else { u.p("not equal"); //c.canvas.repaint(c.canvas.getVisibleRect()); //RepaintManager.currentManager(c.canvas).markCompletelyDirty(c.canvas); } } else { u.p("null"); } */ } if(block.background_image != null) { //u.p("back image"); int left_insets = box.x; int top_insets = box.y; int back_width = box.width; int back_height = box.height; Shape oldclip = c.getGraphics().getClip(); c.getGraphics().setClip(left_insets, top_insets, back_width, back_height); // calculate repeat indecies int repeatx = 1; int repeaty = 1; if(block.repeat == null) { repeatx = 1; repeaty = 1; } else if (block.repeat.equals("repeat-x")) { repeatx = back_width; } else if (block.repeat.equals("repeat-y")) { repeaty = back_height; } else if (block.repeat.equals("repeat")) { repeatx = back_width; repeaty = back_height; } double iwd = block.background_image.getWidth(null); double ihd = block.background_image.getHeight(null); int iw = block.background_image.getWidth(null); int ih = block.background_image.getHeight(null); // handle image position offsets //u.p("doing vertical bottom align"); //u.p("yoff = " + yoff); //u.p("vert = " + block.background_position_vertical); yoff -= (int)((double)(back_height - ih)*(double)((double)block.background_position_vertical/(double)100)); xoff -= (int)((double)(back_width - iw)*(double)((double)block.background_position_horizontal/(double)100)); //u.p("yoff = " + yoff); // calculations for fixed tile images int starty = (int) Math.ceil((double)(top_insets+yoff)/ih); int endy = (int) Math.ceil((double)(back_height+top_insets+yoff)/ih); int startx = (int) Math.ceil((double)(left_insets)/iw); int endx = (int) Math.ceil((double)(back_width+left_insets)/iw); //u.p("startx = " + startx + " endx = " + endx); //u.p("back height = " + back_height + " img height = " + img.getHeight(null)); //u.p("div = " + ((double)back_height+c.getExtents().y/(double)img.getHeight(null))); //u.p("start y = " + starty + " end y = " + endy); //u.p("clip = " + c.getGraphics().getClip()); // tile the image as appropriate //u.p("got here 3"); // do fixed tile image boolean horiz = false; boolean vert = false; if(block.repeat.equals("repeat-x")) { horiz = true; vert = false; } if(block.repeat.equals("repeat-y")) { horiz = false; vert = true; } if(block.repeat.equals("repeat")) { horiz = true; vert = true; } if(block.attachment != null && block.attachment.equals("fixed")) { tileFill(c.getGraphics(), block.background_image, new Rectangle( left_insets, top_insets, back_width, back_height ), 0, -yoff, horiz, vert); /* for(int i=startx; i<=endx; i++) { for(int j=starty; j<=endy; j++) { int fx = iw * i; //u.p("yoff = " + yoff); int fy = block.background_image.getHeight(null) * j - yoff; //u.p("drawing at: " + fx + " " + fy + " " + // img.getWidth(null) + " " + img.getHeight(null)); c.graphics.drawImage( block.background_image, fx-block.background_image.getWidth(null), fy-block.background_image.getHeight(null),null); //c.graphics.fillRect(fx-img.getWidth(null),fy-img.getHeight(null), // img.getWidth(null),img.getHeight(null)); } } */ } else { // do normal tile image //u.p("normal looping"); tileFill(c.getGraphics(), block.background_image, new Rectangle( left_insets, top_insets, back_width, back_height ), 0, -yoff, horiz, vert); /* for(int i=0; i<repeatx; i+=block.background_image.getWidth(null)) { for(int j=0; j<repeaty; j+=block.background_image.getHeight(null)) { //u.p("width = " + block.background_image.getWidth(null)); int fx = left_insets+i; int fy = top_insets+j-yoff; //u.p("fx = " + fx + " fy = " + fy); c.graphics.drawImage(block.background_image,fx,fy,null); //c.getGraphics().drawImage(img,fx,fy,null); } } */ //u.p("finished loop"); } c.getGraphics().setClip(oldclip); } u.off(); }
|
8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/e4fb6b9e64481ed2edf063b60bd4c4c13b12dc7a/BackgroundPainter.java/clean/src/java/org/joshy/html/painter/BackgroundPainter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
12574,
12,
1042,
276,
16,
8549,
1203,
13,
288,
1171,
13264,
3919,
273,
394,
13264,
12,
7734,
1203,
18,
92,
397,
1203,
18,
10107,
18,
4482,
397,
1203,
18,
8815,
18,
4482,
16,
7734,
1203,
18,
93,
397,
1203,
18,
10107,
18,
3669,
397,
1203,
18,
8815,
18,
3669,
16,
7734,
1203,
18,
2819,
300,
1203,
18,
10107,
18,
4482,
300,
1203,
18,
10107,
18,
4083,
300,
1203,
18,
8815,
18,
4482,
300,
1203,
18,
8815,
18,
4083,
16,
7734,
1203,
18,
4210,
300,
1203,
18,
10107,
18,
3669,
300,
1203,
18,
8815,
18,
3669,
300,
1203,
18,
8815,
18,
9176,
300,
1203,
18,
10107,
18,
9176,
7734,
11272,
3639,
1748,
3639,
582,
18,
3674,
5621,
3639,
309,
12,
2629,
18,
2159,
18,
588,
18948,
7675,
14963,
2932,
6081,
6,
3719,
288,
5411,
582,
18,
265,
5621,
3639,
289,
3639,
582,
18,
84,
2932,
16982,
8863,
3639,
582,
18,
84,
2932,
8199,
15775,
18,
84,
1598,
2932,
397,
1203,
397,
315,
4972,
273,
315,
397,
3919,
1769,
3639,
582,
18,
84,
2932,
12370,
2036,
273,
315,
397,
1203,
18,
9342,
67,
3266,
1769,
3639,
582,
18,
84,
2932,
15424,
273,
315,
397,
276,
18,
15424,
1769,
3639,
1195,
3639,
368,
12574,
326,
5412,
3639,
309,
12,
2629,
18,
9342,
67,
3266,
480,
446,
13,
288,
5411,
582,
18,
84,
2932,
74,
5789,
5412,
30,
315,
397,
1203,
18,
9342,
67,
3266,
397,
315,
315,
397,
1203,
1769,
5411,
276,
18,
588,
17558,
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,
1071,
760,
918,
12574,
12,
1042,
276,
16,
8549,
1203,
13,
288,
1171,
13264,
3919,
273,
394,
13264,
12,
7734,
1203,
18,
92,
397,
1203,
18,
10107,
18,
4482,
397,
1203,
18,
8815,
18,
4482,
16,
7734,
1203,
18,
93,
397,
1203,
18,
10107,
18,
3669,
397,
1203,
18,
8815,
18,
3669,
16,
7734,
1203,
18,
2819,
300,
1203,
18,
10107,
18,
4482,
300,
1203,
18,
10107,
18,
4083,
300,
1203,
18,
8815,
18,
4482,
300,
1203,
18,
8815,
18,
4083,
16,
7734,
1203,
18,
4210,
300,
1203,
18,
10107,
18,
3669,
300,
1203,
18,
8815,
18,
3669,
300,
1203,
18,
8815,
18,
9176,
300,
1203,
18,
10107,
18,
9176,
7734,
11272,
3639,
1748,
3639,
582,
18,
3674,
2
] |
||
int errPos = positions[idx].getOffset();
|
Position pos = positions[idx];
|
private void _gotoErrorSourceLocation(OpenDefinitionsDocument doc, final int idx) { JUnitErrorModel errorModel = doc.getJUnitErrorModel(); Position[] positions = errorModel.getPositions(); //System.out.println("index clicked: " + idx); if ((idx < 0) || (idx >= positions.length)) return; //System.out.println("index clicked: " + idx); //System.out.println("position: " + errors[idx].lineNumber()); int errPos = positions[idx].getOffset(); //set the active document (implicit call to updateHighlight() ) _model.setActiveDocument(doc); //set caret then grab focus // switch to correct def pane, and inform it that it should highlight DefinitionsPane defPane = _frame.getCurrentDefPane(); defPane.getJUnitErrorCaretListener().shouldHighlight(true); defPane.setCaretPosition(errPos); defPane.grabFocus(); defPane.getCaret().setVisible(true); defPane.getJUnitErrorCaretListener().updateHighlight(errPos); }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/1acb7e79f21833d9f8611e81be6afdbc403d9516/JUnitPanel.java/buggy/drjava/src/edu/rice/cs/drjava/ui/JUnitPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
389,
75,
6302,
668,
1830,
2735,
12,
3678,
7130,
2519,
997,
16,
4766,
1850,
727,
509,
2067,
13,
288,
1377,
804,
2802,
668,
1488,
555,
1488,
273,
997,
18,
588,
46,
2802,
668,
1488,
5621,
1377,
11010,
8526,
6865,
273,
555,
1488,
18,
588,
11024,
5621,
9079,
368,
3163,
18,
659,
18,
8222,
2932,
1615,
17688,
30,
315,
397,
2067,
1769,
5411,
309,
14015,
3465,
411,
374,
13,
747,
261,
3465,
1545,
6865,
18,
2469,
3719,
327,
31,
1377,
368,
3163,
18,
659,
18,
8222,
2932,
1615,
17688,
30,
315,
397,
2067,
1769,
1377,
368,
3163,
18,
659,
18,
8222,
2932,
3276,
30,
315,
397,
1334,
63,
3465,
8009,
1369,
1854,
10663,
5411,
11010,
949,
273,
6865,
63,
3465,
15533,
4202,
368,
542,
326,
2695,
1668,
261,
24357,
745,
358,
1089,
16205,
1435,
262,
1377,
389,
2284,
18,
542,
3896,
2519,
12,
2434,
1769,
6647,
368,
542,
21683,
1508,
11086,
7155,
4202,
368,
1620,
358,
3434,
1652,
13618,
16,
471,
13235,
518,
716,
518,
1410,
8839,
1377,
10849,
87,
8485,
1652,
8485,
273,
389,
3789,
18,
588,
3935,
3262,
8485,
5621,
1377,
1652,
8485,
18,
588,
46,
2802,
668,
39,
20731,
2223,
7675,
13139,
16205,
12,
3767,
1769,
1377,
1652,
8485,
18,
542,
39,
20731,
2555,
12,
370,
1616,
1769,
1377,
1652,
8485,
18,
2752,
70,
9233,
5621,
1377,
1652,
8485,
18,
588,
39,
20731,
7675,
542,
6207,
12,
3767,
1769,
1377,
1652,
8485,
18,
588,
46,
2802,
668,
39,
20731,
2223,
7675,
2725,
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,
389,
75,
6302,
668,
1830,
2735,
12,
3678,
7130,
2519,
997,
16,
4766,
1850,
727,
509,
2067,
13,
288,
1377,
804,
2802,
668,
1488,
555,
1488,
273,
997,
18,
588,
46,
2802,
668,
1488,
5621,
1377,
11010,
8526,
6865,
273,
555,
1488,
18,
588,
11024,
5621,
9079,
368,
3163,
18,
659,
18,
8222,
2932,
1615,
17688,
30,
315,
397,
2067,
1769,
5411,
309,
14015,
3465,
411,
374,
13,
747,
261,
3465,
1545,
6865,
18,
2469,
3719,
327,
31,
1377,
368,
3163,
18,
659,
18,
8222,
2932,
1615,
17688,
30,
315,
397,
2067,
1769,
1377,
368,
3163,
18,
659,
18,
8222,
2932,
3276,
30,
315,
397,
1334,
63,
3465,
8009,
1369,
1854,
10663,
5411,
11010,
949,
273,
2
] |
return bug.getBugPattern().getAbbrev();
|
return bug.getBugPattern().getCategory();
|
public String getFrom(BugInstance bug) { return bug.getBugPattern().getAbbrev(); }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/a3242968fb8d471045c17c5df21cf40cb9268d2e/Sortables.java/clean/findbugs/src/java5/edu/umd/cs/findbugs/gui2/Sortables.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
514,
11859,
12,
19865,
1442,
7934,
13,
202,
202,
95,
1082,
202,
2463,
7934,
18,
588,
19865,
3234,
7675,
588,
5895,
27216,
5621,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
514,
11859,
12,
19865,
1442,
7934,
13,
202,
202,
95,
1082,
202,
2463,
7934,
18,
588,
19865,
3234,
7675,
588,
5895,
27216,
5621,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return probability.logProbability;
|
return probability.getLogProbability();
|
private float getUnigramProbability(WordSequence wordSequence) { String unigram = wordSequence.getWord(0); UnigramProbability probability = (UnigramProbability) unigramIDMap.get(unigram); if (probability == null) { throw new Error("Unigram not in LM: " + unigram); } else { return probability.logProbability; } }
|
47105 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47105/1d8a3641591b5e0e332a423566c6272cfad4fc1c/LargeTrigramModel.java/buggy/sphinx4/edu/cmu/sphinx/knowledge/language/large/LargeTrigramModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1431,
10833,
360,
1940,
25598,
12,
3944,
4021,
2076,
4021,
13,
288,
3639,
514,
640,
360,
1940,
273,
2076,
4021,
18,
588,
3944,
12,
20,
1769,
3639,
1351,
360,
1940,
25598,
11331,
273,
2398,
261,
984,
360,
1940,
25598,
13,
640,
360,
1940,
734,
863,
18,
588,
12,
318,
360,
1940,
1769,
3639,
309,
261,
22390,
422,
446,
13,
288,
5411,
604,
394,
1068,
2932,
984,
360,
1940,
486,
316,
511,
49,
30,
315,
397,
640,
360,
1940,
1769,
3639,
289,
469,
288,
5411,
327,
11331,
18,
588,
1343,
25598,
5621,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1431,
10833,
360,
1940,
25598,
12,
3944,
4021,
2076,
4021,
13,
288,
3639,
514,
640,
360,
1940,
273,
2076,
4021,
18,
588,
3944,
12,
20,
1769,
3639,
1351,
360,
1940,
25598,
11331,
273,
2398,
261,
984,
360,
1940,
25598,
13,
640,
360,
1940,
734,
863,
18,
588,
12,
318,
360,
1940,
1769,
3639,
309,
261,
22390,
422,
446,
13,
288,
5411,
604,
394,
1068,
2932,
984,
360,
1940,
486,
316,
511,
49,
30,
315,
397,
640,
360,
1940,
1769,
3639,
289,
469,
288,
5411,
327,
11331,
18,
588,
1343,
25598,
5621,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
&& !isConstructor(method.getName())) {
|
&& !isConstructor(method.getName())) {
|
private Set<Method> findPublicReachableMethods(ClassContext classContext, SelfCalls selfCalls) throws CFGBuilderException, DataflowAnalysisException { JavaClass javaClass = classContext.getJavaClass(); Method[] methodList = javaClass.getMethods(); CallGraph callGraph = selfCalls.getCallGraph(); // Initially, assume all methods are locked Set<Method> publicReachableMethodSet = new HashSet<Method>(); // Assume all public methods are unlocked for (int i = 0; i < methodList.length; ++i) { Method method = methodList[i]; if (method.isPublic() && !isConstructor(method.getName())) { publicReachableMethodSet.add(method); } } // Explore the self-call graph to find nonpublic methods // that can be called from an unlocked context. boolean change; do { change = false; for (Iterator<CallGraphEdge> i = callGraph.edgeIterator(); i.hasNext();) { CallGraphEdge edge = i.next(); CallSite callSite = edge.getCallSite(); // Ignore obviously locked edges // If the calling method is locked, ignore the edge if (publicReachableMethodSet.contains(callSite.getMethod())) { // Calling method is reachable, so the called method // is also reachable. CallGraphNode target = edge.getTarget(); if (publicReachableMethodSet.add(target.getMethod())) change = true; } } } while (change); if (DEBUG) { System.out.println("Methods apparently reachable from public non-constructor methods:"); for (Iterator<Method> i = publicReachableMethodSet.iterator(); i.hasNext();) { Method method = i.next(); System.out.println("\t" + method.getName()); } } return publicReachableMethodSet; }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/6283ec82a0713e109b5a169c0a420974b6bad830/FindInconsistentSync2.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/FindInconsistentSync2.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1000,
32,
1305,
34,
1104,
4782,
26136,
429,
4712,
12,
797,
1042,
667,
1042,
16,
18954,
10125,
365,
10125,
13,
202,
3639,
1216,
7577,
1263,
503,
16,
1910,
2426,
9418,
503,
288,
202,
202,
5852,
797,
2252,
797,
273,
667,
1042,
18,
588,
5852,
797,
5621,
202,
202,
1305,
8526,
707,
682,
273,
2252,
797,
18,
588,
4712,
5621,
202,
202,
1477,
4137,
745,
4137,
273,
365,
10125,
18,
588,
1477,
4137,
5621,
202,
202,
759,
4378,
6261,
16,
6750,
777,
2590,
854,
8586,
202,
202,
694,
32,
1305,
34,
1071,
26136,
429,
1305,
694,
273,
394,
6847,
32,
1305,
34,
5621,
202,
202,
759,
15983,
777,
1071,
2590,
854,
25966,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
707,
682,
18,
2469,
31,
965,
77,
13,
288,
1082,
202,
1305,
707,
273,
707,
682,
63,
77,
15533,
1082,
202,
430,
261,
2039,
18,
291,
4782,
1435,
9506,
3639,
597,
401,
291,
6293,
12,
2039,
18,
17994,
1435,
3719,
288,
9506,
202,
482,
26136,
429,
1305,
694,
18,
1289,
12,
2039,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
759,
7784,
383,
266,
326,
365,
17,
1991,
2667,
358,
1104,
1661,
482,
2590,
202,
202,
759,
716,
848,
506,
2566,
628,
392,
25966,
819,
18,
202,
202,
6494,
2549,
31,
202,
202,
2896,
288,
1082,
202,
3427,
273,
629,
31,
1082,
202,
1884,
261,
3198,
32,
1477,
4137,
6098,
34,
277,
273,
745,
4137,
18,
7126,
3198,
5621,
277,
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,
1152,
1000,
32,
1305,
34,
1104,
4782,
26136,
429,
4712,
12,
797,
1042,
667,
1042,
16,
18954,
10125,
365,
10125,
13,
202,
3639,
1216,
7577,
1263,
503,
16,
1910,
2426,
9418,
503,
288,
202,
202,
5852,
797,
2252,
797,
273,
667,
1042,
18,
588,
5852,
797,
5621,
202,
202,
1305,
8526,
707,
682,
273,
2252,
797,
18,
588,
4712,
5621,
202,
202,
1477,
4137,
745,
4137,
273,
365,
10125,
18,
588,
1477,
4137,
5621,
202,
202,
759,
4378,
6261,
16,
6750,
777,
2590,
854,
8586,
202,
202,
694,
32,
1305,
34,
1071,
26136,
429,
1305,
694,
273,
394,
6847,
32,
1305,
34,
5621,
202,
202,
759,
15983,
777,
1071,
2590,
854,
25966,
202,
202,
1884,
261,
474,
2
] |
return new WCVersionSummary(rootStatus, statuses, wcPathFile);
|
return new WCVersionSummary(rootStatus, statuses, wcPathFile, processUnversioned);
|
private WCVersionSummary getWorkingCopySumary(File wcPathFile) throws SVNClientException { ISVNStatus rootStatus = svnClient.getSingleStatus(wcPathFile); String[] pathSegs = rootStatus.getUrl().getPathSegments(); StringBuffer pathBuffer = new StringBuffer(); for (int i = 0; i < pathSegs.length; i++) { pathBuffer.append('/').append(pathSegs[i]); } ISVNStatus[] statuses = svnClient.getStatus(wcPathFile, true, true); return new WCVersionSummary(rootStatus, statuses, wcPathFile); }
|
5056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5056/a5df53d9ea65d731169dc8dfc076d5a4c8de71c3/WcVersion.java/buggy/src/main/org/tigris/subversion/svnant/commands/WcVersion.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
678,
39,
1444,
4733,
336,
14836,
2951,
3495,
814,
12,
812,
14310,
743,
812,
13,
1216,
29537,
50,
3781,
288,
3639,
4437,
58,
50,
1482,
1365,
1482,
273,
5893,
82,
1227,
18,
588,
5281,
1482,
12,
27594,
743,
812,
1769,
3639,
514,
8526,
589,
1761,
564,
273,
1365,
1482,
18,
588,
1489,
7675,
588,
743,
7946,
5621,
3639,
6674,
589,
1892,
273,
394,
6674,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
589,
1761,
564,
18,
2469,
31,
277,
27245,
288,
5411,
589,
1892,
18,
6923,
2668,
2473,
2934,
6923,
12,
803,
1761,
564,
63,
77,
19226,
3639,
289,
3639,
4437,
58,
50,
1482,
8526,
13516,
273,
5893,
82,
1227,
18,
588,
1482,
12,
27594,
743,
812,
16,
638,
16,
638,
1769,
3639,
327,
394,
678,
39,
1444,
4733,
12,
3085,
1482,
16,
13516,
16,
14310,
743,
812,
16,
1207,
984,
21415,
1769,
565,
289,
377,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
678,
39,
1444,
4733,
336,
14836,
2951,
3495,
814,
12,
812,
14310,
743,
812,
13,
1216,
29537,
50,
3781,
288,
3639,
4437,
58,
50,
1482,
1365,
1482,
273,
5893,
82,
1227,
18,
588,
5281,
1482,
12,
27594,
743,
812,
1769,
3639,
514,
8526,
589,
1761,
564,
273,
1365,
1482,
18,
588,
1489,
7675,
588,
743,
7946,
5621,
3639,
6674,
589,
1892,
273,
394,
6674,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
589,
1761,
564,
18,
2469,
31,
277,
27245,
288,
5411,
589,
1892,
18,
6923,
2668,
2473,
2934,
6923,
12,
803,
1761,
564,
63,
77,
19226,
3639,
289,
3639,
4437,
58,
50,
1482,
8526,
13516,
273,
5893,
82,
1227,
18,
588,
1482,
12,
2
] |
clientgui.showHelp("ai-readme.txt");
|
megamek.showHelp("ai-readme.txt");
|
public void notifyOfBot() { if (Settings.nagForBotReadme && !WarningShown) { WarningShown = true; String title = "Please read the ai-readme.txt"; String body = "The bot does not work with all units or game options.\n" + "Please read the ai-readme.txt file before using the bot.\n" + " \nWould you like to read the AI documentation now?\n"; ConfirmDialog confirm = new ConfirmDialog(clientgui.frame, title, body, true); confirm.show(); if (!confirm.getShowAgain()) { Settings.nagForBotReadme = false; Settings.save(); } if (confirm.getAnswer()) { clientgui.showHelp("ai-readme.txt"); } } }
|
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/cf9f68c5bf92fe3ef980c7139d077dbc5360c6c9/BotGUI.java/clean/megamek/src/megamek/client/bot/ui/AWT/BotGUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5066,
951,
6522,
1435,
288,
202,
202,
430,
261,
2628,
18,
27132,
1290,
6522,
1994,
3501,
597,
401,
6210,
27042,
13,
288,
1082,
565,
9728,
27042,
273,
638,
31,
1082,
202,
780,
2077,
273,
315,
8496,
855,
326,
14679,
17,
896,
3501,
18,
5830,
14432,
1082,
202,
780,
1417,
273,
9506,
202,
6,
1986,
2512,
1552,
486,
1440,
598,
777,
4971,
578,
7920,
702,
8403,
82,
6,
6862,
202,
15,
315,
8496,
855,
326,
14679,
17,
896,
3501,
18,
5830,
585,
1865,
1450,
326,
2512,
8403,
82,
6,
6862,
202,
15,
315,
521,
82,
59,
1006,
1846,
3007,
358,
855,
326,
432,
45,
7323,
2037,
10936,
82,
14432,
1082,
202,
11269,
6353,
6932,
273,
394,
17580,
6353,
12,
2625,
20292,
18,
3789,
16,
2077,
16,
1417,
16,
638,
1769,
1082,
202,
10927,
18,
4500,
5621,
1082,
202,
430,
16051,
10927,
18,
588,
5706,
23530,
10756,
288,
9506,
202,
2628,
18,
27132,
1290,
6522,
1994,
3501,
273,
629,
31,
9506,
202,
2628,
18,
5688,
5621,
1082,
202,
97,
1082,
202,
430,
261,
10927,
18,
588,
13203,
10756,
288,
9506,
202,
2625,
20292,
18,
4500,
6696,
2932,
10658,
17,
896,
3501,
18,
5830,
8863,
1082,
202,
97,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5066,
951,
6522,
1435,
288,
202,
202,
430,
261,
2628,
18,
27132,
1290,
6522,
1994,
3501,
597,
401,
6210,
27042,
13,
288,
1082,
565,
9728,
27042,
273,
638,
31,
1082,
202,
780,
2077,
273,
315,
8496,
855,
326,
14679,
17,
896,
3501,
18,
5830,
14432,
1082,
202,
780,
1417,
273,
9506,
202,
6,
1986,
2512,
1552,
486,
1440,
598,
777,
4971,
578,
7920,
702,
8403,
82,
6,
6862,
202,
15,
315,
8496,
855,
326,
14679,
17,
896,
3501,
18,
5830,
585,
1865,
1450,
326,
2512,
8403,
82,
6,
6862,
202,
15,
315,
521,
82,
59,
1006,
1846,
3007,
358,
855,
326,
432,
45,
7323,
2037,
10936,
82,
14432,
1082,
202,
11269,
6353,
6932,
273,
394,
2
] |
throw new UnsupportedOperationException("Cannot load EvaluationGroup object");
|
throw new UnsupportedOperationException("Cannot load EvaluationGroup object");
|
public Object restore(File file) throws IOException { throw new UnsupportedOperationException("Cannot load EvaluationGroup object"); }
|
51753 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51753/27774d44079f494d9a905bf174d9cd6cc469533c/EvaluationGroup.java/clean/src/edu/cmu/minorthird/classify/experiments/EvaluationGroup.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
5217,
12,
812,
585,
13,
1216,
1860,
288,
202,
12849,
394,
13172,
2932,
4515,
1262,
17340,
1114,
733,
8863,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
5217,
12,
812,
585,
13,
1216,
1860,
288,
202,
12849,
394,
13172,
2932,
4515,
1262,
17340,
1114,
733,
8863,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void createControl(Composite parent) { final AnimationManager manager = AnimationManager.getInstance(); // Canvas to show the image. imageCanvas = new Canvas(parent, SWT.NONE); imageCanvas.setBackground(AnimationManager .getItemBackgroundColor(getControl())); imageCanvas.addPaintListener(new PaintListener() { public void paintControl(PaintEvent event) { paintImage(event, manager.getImage(), manager.getImageData()[0]); } }); imageCanvasGC = new GC(imageCanvas); imageCanvas.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent e) { imageCanvasGC.dispose(); } }); imageCanvas.addMouseListener(new MouseListener() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.MouseListener#mouseDoubleClick(org.eclipse.swt.events.MouseEvent) */ public void mouseDoubleClick(MouseEvent arg0) { ProgressManagerUtil.openProgressView(AnimationItem.this.window); } /* * (non-Javadoc) * * @see org.eclipse.swt.events.MouseListener#mouseDown(org.eclipse.swt.events.MouseEvent) */ public void mouseDown(MouseEvent arg0) { //Do nothing } /* * (non-Javadoc) * * @see org.eclipse.swt.events.MouseListener#mouseUp(org.eclipse.swt.events.MouseEvent) */ public void mouseUp(MouseEvent arg0) { //Do nothing } }); imageCanvas.addMouseTrackListener(new MouseTrackListener() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.MouseTrackListener#mouseEnter(org.eclipse.swt.events.MouseEvent) */ public void mouseEnter(MouseEvent e) { //Nothing here } /* * (non-Javadoc) * * @see org.eclipse.swt.events.MouseTrackListener#mouseExit(org.eclipse.swt.events.MouseEvent) */ public void mouseExit(MouseEvent e) { //Nothing here } /* * (non-Javadoc) * * @see org.eclipse.swt.events.MouseTrackListener#mouseHover(org.eclipse.swt.events.MouseEvent) */ public void mouseHover(MouseEvent e) { //Abort if we are already showing the window if (AnimationManager.getInstance().showingDetails()) return; openFloatingWindow(); } }); imageCanvas.getAccessible().addAccessibleControlListener( new AccessibleControlAdapter() { /* * (non-Javadoc) * * @see org.eclipse.swt.accessibility.AccessibleControlAdapter#getValue(org.eclipse.swt.accessibility.AccessibleControlEvent) */ public void getValue(AccessibleControlEvent arg0) { if (manager.isAnimated()) arg0.result = ProgressMessages .getString("AnimationItem.InProgressStatus"); //$NON-NLS-1$ else arg0.result = ProgressMessages .getString("AnimationItem.NotRunningStatus"); //$NON-NLS-1$ } }); imageCanvas.addHelpListener(new HelpListener() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.HelpListener#helpRequested(org.eclipse.swt.events.HelpEvent) */ public void helpRequested(HelpEvent e) { // XXX Auto-generated method stub } }); manager.addItem(this); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/baa6c87756d35130a637c24b38f965e7a5a7f249/AnimationItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/AnimationItem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
2640,
3367,
12,
799,
1724,
881,
817,
15329,
202,
202,
6385,
10816,
49,
940,
1035,
1063,
33,
10816,
1318,
18,
588,
1442,
5621,
202,
202,
759,
2568,
90,
689,
538,
13606,
5787,
2730,
18,
202,
202,
2730,
12971,
33,
2704,
12971,
12,
2938,
16,
55,
8588,
18,
9826,
1769,
202,
202,
2730,
12971,
18,
542,
8199,
12,
10816,
1318,
9506,
202,
18,
588,
1180,
21699,
12,
588,
3367,
1435,
10019,
202,
202,
2730,
12971,
18,
1289,
12699,
2223,
12,
2704,
12699,
2223,
1435,
95,
1082,
202,
482,
6459,
84,
1598,
3367,
12,
12699,
1133,
2575,
15329,
9506,
202,
84,
1598,
2040,
12,
2575,
16,
4181,
18,
588,
2040,
9334,
4181,
18,
588,
2040,
751,
1435,
63,
20,
19226,
1082,
202,
97,
202,
202,
22938,
202,
202,
2730,
12971,
15396,
33,
2704,
15396,
12,
2730,
12971,
1769,
202,
202,
2730,
12971,
18,
1289,
1669,
4150,
2223,
12,
2704,
1669,
4150,
2223,
1435,
95,
1082,
202,
482,
6459,
6587,
1669,
7423,
12,
1669,
4150,
1133,
73,
15329,
9506,
202,
2730,
12971,
15396,
18,
2251,
4150,
5621,
1082,
202,
97,
202,
202,
22938,
202,
202,
2730,
12971,
18,
1289,
9186,
2223,
12,
2704,
9186,
2223,
1435,
95,
1082,
202,
20308,
1082,
202,
21556,
5836,
17,
24060,
13,
1082,
202,
14,
1082,
202,
14,
36,
5946,
3341,
18,
20416,
18,
5328,
88,
18,
5989,
18,
9186,
2223,
7,
11697,
5265,
6563,
12,
3341,
18,
20416,
18,
5328,
88,
18,
5989,
18,
9186,
1133,
13,
1082,
202,
5549,
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,
6459,
2640,
3367,
12,
799,
1724,
881,
817,
15329,
202,
202,
6385,
10816,
49,
940,
1035,
1063,
33,
10816,
1318,
18,
588,
1442,
5621,
202,
202,
759,
2568,
90,
689,
538,
13606,
5787,
2730,
18,
202,
202,
2730,
12971,
33,
2704,
12971,
12,
2938,
16,
55,
8588,
18,
9826,
1769,
202,
202,
2730,
12971,
18,
542,
8199,
12,
10816,
1318,
9506,
202,
18,
588,
1180,
21699,
12,
588,
3367,
1435,
10019,
202,
202,
2730,
12971,
18,
1289,
12699,
2223,
12,
2704,
12699,
2223,
1435,
95,
1082,
202,
482,
6459,
84,
1598,
3367,
12,
12699,
1133,
2575,
15329,
9506,
202,
84,
1598,
2040,
12,
2575,
16,
4181,
18,
588,
2040,
9334,
4181,
18,
588,
2040,
751,
1435,
2
] |
||
}; try {
|
}; long latestRev = -1; if (isInvalidRevision(startRevision)) { startRevision = latestRev = getLatestRevision(); } if (isInvalidRevision(endRevision)) { endRevision = latestRev != -1 ? latestRev : getLatestRevision(); } try {
|
public long log(String[] targetPaths, long startRevision, long endRevision, boolean changedPath, boolean strictNode, long limit, final ISVNLogEntryHandler handler) throws SVNException { if (targetPaths == null || targetPaths.length == 0) { targetPaths = new String[]{""}; } DAVLogHandler davHandler = null; ISVNLogEntryHandler cachingHandler = new ISVNLogEntryHandler() { public void handleLogEntry(SVNLogEntry logEntry) throws SVNException { if (logEntry.getDate() != null) { getOptions().saveCommitMessage(DAVRepository.this, logEntry.getRevision(), logEntry.getMessage()); } handler.handleLogEntry(logEntry); } }; try { openConnection(); String[] fullPaths = new String[targetPaths.length]; for (int i = 0; i < targetPaths.length; i++) { fullPaths[i] = getFullPath(targetPaths[i]); } Collection relativePaths = new HashSet(); String path = SVNPathUtil.condencePaths(fullPaths, relativePaths, false); if (relativePaths.isEmpty()) { relativePaths.add(""); } fullPaths = (String[]) relativePaths.toArray(new String[relativePaths.size()]); StringBuffer request = DAVLogHandler.generateLogRequest(null, startRevision, endRevision, changedPath, strictNode, limit, fullPaths); davHandler = new DAVLogHandler(cachingHandler, limit); long revision = Math.max(startRevision, endRevision); path = SVNEncodingUtil.uriEncode(path); DAVBaselineInfo info = DAVUtil.getBaselineInfo(myConnection, this, path, revision, false, false, null); path = SVNPathUtil.append(info.baselineBase, info.baselinePath); HTTPStatus status = myConnection.doReport(path, request, davHandler); if (status.getError() != null && !davHandler.isCompatibleMode()) { SVNErrorManager.error(status.getError()); } } finally { closeConnection(); } return davHandler.getEntriesCount(); }
|
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/271fe1be1a997e26542db92946d7fd4da5cf2f1d/DAVRepository.java/clean/javasvn/src/org/tmatesoft/svn/core/internal/io/dav/DAVRepository.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1525,
613,
12,
780,
8526,
1018,
4466,
16,
1525,
787,
7939,
16,
1525,
679,
7939,
16,
5411,
1250,
3550,
743,
16,
1250,
5490,
907,
16,
1525,
1800,
16,
727,
4437,
58,
50,
25548,
1503,
1838,
13,
1216,
29537,
50,
503,
288,
3639,
309,
261,
3299,
4466,
422,
446,
747,
1018,
4466,
18,
2469,
422,
374,
13,
288,
5411,
1018,
4466,
273,
394,
514,
63,
7073,
3660,
20451,
3639,
289,
3639,
463,
5856,
1343,
1503,
302,
842,
1503,
273,
446,
31,
3639,
4437,
58,
50,
25548,
1503,
11393,
1503,
273,
394,
4437,
58,
50,
25548,
1503,
1435,
288,
7734,
1071,
918,
1640,
25548,
12,
23927,
50,
25548,
613,
1622,
13,
1216,
29537,
50,
503,
288,
10792,
309,
261,
1330,
1622,
18,
588,
1626,
1435,
480,
446,
13,
288,
13491,
9849,
7675,
5688,
5580,
1079,
12,
17735,
3305,
18,
2211,
16,
613,
1622,
18,
588,
7939,
9334,
613,
1622,
18,
24906,
10663,
10792,
289,
10792,
1838,
18,
4110,
25548,
12,
1330,
1622,
1769,
7734,
289,
5411,
289,
31,
202,
202,
698,
288,
1082,
202,
3190,
1952,
5621,
1082,
202,
780,
8526,
1983,
4466,
273,
394,
514,
63,
3299,
4466,
18,
2469,
15533,
25083,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1018,
4466,
18,
2469,
31,
277,
27245,
288,
9506,
202,
2854,
4466,
63,
77,
65,
273,
10208,
743,
12,
3299,
4466,
63,
77,
19226,
5411,
289,
5411,
2200,
3632,
4466,
273,
394,
6847,
5621,
5411,
514,
589,
273,
29537,
50,
743,
1304,
18,
10013,
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,
1525,
613,
12,
780,
8526,
1018,
4466,
16,
1525,
787,
7939,
16,
1525,
679,
7939,
16,
5411,
1250,
3550,
743,
16,
1250,
5490,
907,
16,
1525,
1800,
16,
727,
4437,
58,
50,
25548,
1503,
1838,
13,
1216,
29537,
50,
503,
288,
3639,
309,
261,
3299,
4466,
422,
446,
747,
1018,
4466,
18,
2469,
422,
374,
13,
288,
5411,
1018,
4466,
273,
394,
514,
63,
7073,
3660,
20451,
3639,
289,
3639,
463,
5856,
1343,
1503,
302,
842,
1503,
273,
446,
31,
3639,
4437,
58,
50,
25548,
1503,
11393,
1503,
273,
394,
4437,
58,
50,
25548,
1503,
1435,
288,
7734,
1071,
918,
1640,
25548,
12,
23927,
50,
25548,
613,
1622,
13,
1216,
29537,
50,
503,
288,
10792,
309,
261,
2
] |
throws org.xml.sax.SAXException { if (FT_RECPROCESS_TAG.equals(name)){ FaultToleranceHandler.this.ftService.setRecoveryProcessURL(attributes.getValue("url")); } else if (FT_LOCSERVER_TAG.equals(name)){ FaultToleranceHandler.this.ftService.setLocationServerURL(attributes.getValue("url")); } else if (FT_CKPTSERVER_TAG.equals(name)){ FaultToleranceHandler.this.ftService.setCheckpointServerURL(attributes.getValue("url")); } else if (FT_RESSERVER_TAG.equals(name)){ FaultToleranceHandler.this.ftService.setAttachedResourceServer(attributes.getValue("url")); } else if (FT_TTCVALUE_TAG.equals(name)){ FaultToleranceHandler.this.ftService.setTtcValue(attributes.getValue("value")); } else if (FT_GLOBALSERVER_TAG.equals(name)){ FaultToleranceHandler.this.ftService.setGlobalServerURL(attributes.getValue("url")); }
|
throws org.xml.sax.SAXException { if (FT_RECPROCESS_TAG.equals(name)) { FaultToleranceHandler.this.ftService.setRecoveryProcessURL(attributes.getValue( "url")); } else if (FT_LOCSERVER_TAG.equals(name)) { FaultToleranceHandler.this.ftService.setLocationServerURL(attributes.getValue( "url")); } else if (FT_CKPTSERVER_TAG.equals(name)) { FaultToleranceHandler.this.ftService.setCheckpointServerURL(attributes.getValue( "url")); } else if (FT_RESSERVER_TAG.equals(name)) { FaultToleranceHandler.this.ftService.setAttachedResourceServer(attributes.getValue( "url")); } else if (FT_TTCVALUE_TAG.equals(name)) { FaultToleranceHandler.this.ftService.setTtcValue(attributes.getValue( "value")); } else if (FT_GLOBALSERVER_TAG.equals(name)) { FaultToleranceHandler.this.ftService.setGlobalServerURL(attributes.getValue( "url")); }
|
public void startContextElement(String name, Attributes attributes) throws org.xml.sax.SAXException { if (FT_RECPROCESS_TAG.equals(name)){ FaultToleranceHandler.this.ftService.setRecoveryProcessURL(attributes.getValue("url")); } else if (FT_LOCSERVER_TAG.equals(name)){ FaultToleranceHandler.this.ftService.setLocationServerURL(attributes.getValue("url")); } else if (FT_CKPTSERVER_TAG.equals(name)){ FaultToleranceHandler.this.ftService.setCheckpointServerURL(attributes.getValue("url")); } else if (FT_RESSERVER_TAG.equals(name)){ FaultToleranceHandler.this.ftService.setAttachedResourceServer(attributes.getValue("url")); } else if (FT_TTCVALUE_TAG.equals(name)){ FaultToleranceHandler.this.ftService.setTtcValue(attributes.getValue("value")); } else if (FT_GLOBALSERVER_TAG.equals(name)){ FaultToleranceHandler.this.ftService.setGlobalServerURL(attributes.getValue("url")); } }
|
50951 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50951/1279458d52679339839158611daec34b4baf800a/ServiceDefinitionHandler.java/clean/src/org/objectweb/proactive/core/descriptor/xml/ServiceDefinitionHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
787,
1042,
1046,
12,
780,
508,
16,
9055,
1677,
13,
5411,
1216,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
288,
7734,
309,
261,
4464,
67,
862,
39,
16560,
67,
7927,
18,
14963,
12,
529,
3719,
95,
10792,
25609,
22678,
1503,
18,
2211,
18,
1222,
1179,
18,
542,
11548,
2227,
1785,
12,
4350,
18,
24805,
2932,
718,
7923,
1769,
7734,
289,
469,
309,
261,
4464,
67,
29450,
4370,
67,
7927,
18,
14963,
12,
529,
3719,
95,
10792,
25609,
22678,
1503,
18,
2211,
18,
1222,
1179,
18,
542,
2735,
2081,
1785,
12,
4350,
18,
24805,
2932,
718,
7923,
1769,
7734,
289,
469,
309,
261,
4464,
67,
3507,
1856,
4370,
67,
7927,
18,
14963,
12,
529,
3719,
95,
10792,
25609,
22678,
1503,
18,
2211,
18,
1222,
1179,
18,
542,
14431,
2081,
1785,
12,
4350,
18,
24805,
2932,
718,
7923,
1769,
7734,
289,
225,
469,
309,
261,
4464,
67,
10203,
654,
2204,
67,
7927,
18,
14963,
12,
529,
3719,
95,
10792,
25609,
22678,
1503,
18,
2211,
18,
1222,
1179,
18,
542,
14890,
1420,
2081,
12,
4350,
18,
24805,
2932,
718,
7923,
1769,
7734,
289,
225,
469,
309,
261,
4464,
67,
1470,
39,
4051,
67,
7927,
18,
14963,
12,
529,
3719,
95,
10792,
25609,
22678,
1503,
18,
2211,
18,
1222,
1179,
18,
542,
56,
5111,
620,
12,
4350,
18,
24805,
2932,
1132,
7923,
1769,
7734,
289,
225,
469,
309,
261,
4464,
67,
20402,
4370,
67,
7927,
18,
14963,
12,
529,
3719,
95,
10792,
25609,
22678,
1503,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
787,
1042,
1046,
12,
780,
508,
16,
9055,
1677,
13,
5411,
1216,
2358,
18,
2902,
18,
87,
651,
18,
55,
2501,
503,
288,
7734,
309,
261,
4464,
67,
862,
39,
16560,
67,
7927,
18,
14963,
12,
529,
3719,
95,
10792,
25609,
22678,
1503,
18,
2211,
18,
1222,
1179,
18,
542,
11548,
2227,
1785,
12,
4350,
18,
24805,
2932,
718,
7923,
1769,
7734,
289,
469,
309,
261,
4464,
67,
29450,
4370,
67,
7927,
18,
14963,
12,
529,
3719,
95,
10792,
25609,
22678,
1503,
18,
2211,
18,
1222,
1179,
18,
542,
2735,
2081,
1785,
12,
4350,
18,
24805,
2932,
718,
7923,
1769,
7734,
289,
469,
309,
261,
4464,
67,
3507,
1856,
4370,
67,
7927,
18,
14963,
12,
529,
2
] |
try { while (true) { event = (LoggingEvent) ois.readObject(); remoteLogger = context.getLogger(event.getLoggerRemoteView().getName()); if (remoteLogger.isEnabledFor(event.getLevel())) { remoteLogger.callAppenders(event); } } } catch (java.io.EOFException e) { logger.info("Caught java.io.EOFException closing connection."); } catch (java.net.SocketException e) { logger.info("Caught java.net.SocketException closing connection."); } catch (IOException e) { logger.info("Caught java.io.IOException: " + e); logger.info("Closing connection."); } catch (Exception e) { logger.error("Unexpected exception. Closing connection.", e); }
|
try { while (true) { event = (LoggingEvent) ois.readObject(); remoteLogger = context.getLogger(event.getLoggerRemoteView().getName()); if (remoteLogger.isEnabledFor(event.getLevel())) { remoteLogger.callAppenders(event); } } } catch (java.io.EOFException e) { logger.info("Caught java.io.EOFException closing connection."); } catch (java.net.SocketException e) { logger.info("Caught java.net.SocketException closing connection."); } catch (IOException e) { logger.info("Caught java.io.IOException: " + e); logger.info("Closing connection."); } catch (Exception e) { logger.error("Unexpected exception. Closing connection.", e); }
|
public void run() { LoggingEvent event; Logger remoteLogger; try { while (true) { // read an event from the wire event = (LoggingEvent) ois.readObject(); // get a logger from the hierarchy. The name of the logger is taken to // be the name contained in the event. remoteLogger = context.getLogger(event.getLoggerRemoteView().getName()); // apply the logger-level filter if (remoteLogger.isEnabledFor(event.getLevel())) { // finally log the event as if was generated locally remoteLogger.callAppenders(event); } } } catch (java.io.EOFException e) { logger.info("Caught java.io.EOFException closing connection."); } catch (java.net.SocketException e) { logger.info("Caught java.net.SocketException closing connection."); } catch (IOException e) { logger.info("Caught java.io.IOException: " + e); logger.info("Closing connection."); } catch (Exception e) { logger.error("Unexpected exception. Closing connection.", e); } try { ois.close(); } catch (Exception e) { logger.info("Could not close connection.", e); } }
|
48827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48827/e220856dd8a2ab701296029034c8ddf6d8b81757/SocketNode.java/clean/logback-classic/src/main/java/ch/qos/logback/classic/net/SocketNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
288,
202,
202,
7735,
1133,
871,
31,
202,
202,
3328,
2632,
3328,
31,
202,
202,
698,
288,
1082,
202,
17523,
261,
3767,
13,
288,
9506,
202,
759,
855,
392,
871,
628,
326,
6636,
9506,
202,
2575,
273,
261,
7735,
1133,
13,
320,
291,
18,
896,
921,
5621,
9506,
202,
759,
336,
279,
1194,
628,
326,
9360,
18,
1021,
508,
434,
326,
1194,
353,
9830,
358,
9506,
202,
759,
506,
326,
508,
7542,
316,
326,
871,
18,
9506,
202,
7222,
3328,
273,
819,
18,
588,
3328,
12,
2575,
18,
588,
3328,
5169,
1767,
7675,
17994,
10663,
9506,
202,
759,
2230,
326,
1194,
17,
2815,
1034,
9506,
202,
430,
261,
7222,
3328,
18,
291,
1526,
1290,
12,
2575,
18,
588,
2355,
1435,
3719,
288,
6862,
202,
759,
3095,
613,
326,
871,
487,
309,
1703,
4374,
13760,
6862,
202,
7222,
3328,
18,
1991,
5736,
414,
12,
2575,
1769,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
1044,
261,
6290,
18,
1594,
18,
12706,
503,
425,
13,
288,
1082,
202,
4901,
18,
1376,
2932,
24512,
2252,
18,
1594,
18,
12706,
503,
7647,
1459,
1199,
1769,
202,
202,
97,
1044,
261,
6290,
18,
2758,
18,
4534,
503,
425,
13,
288,
1082,
202,
4901,
18,
1376,
2932,
24512,
2252,
18,
2758,
18,
4534,
503,
7647,
1459,
1199,
1769,
202,
202,
97,
1044,
261,
14106,
425,
13,
288,
1082,
202,
4901,
18,
1376,
2932,
24512,
2252,
18,
1594,
18,
14106,
30,
315,
397,
425,
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,
918,
1086,
1435,
288,
202,
202,
7735,
1133,
871,
31,
202,
202,
3328,
2632,
3328,
31,
202,
202,
698,
288,
1082,
202,
17523,
261,
3767,
13,
288,
9506,
202,
759,
855,
392,
871,
628,
326,
6636,
9506,
202,
2575,
273,
261,
7735,
1133,
13,
320,
291,
18,
896,
921,
5621,
9506,
202,
759,
336,
279,
1194,
628,
326,
9360,
18,
1021,
508,
434,
326,
1194,
353,
9830,
358,
9506,
202,
759,
506,
326,
508,
7542,
316,
326,
871,
18,
9506,
202,
7222,
3328,
273,
819,
18,
588,
3328,
12,
2575,
18,
588,
3328,
5169,
1767,
7675,
17994,
10663,
9506,
202,
759,
2230,
326,
1194,
17,
2815,
1034,
9506,
202,
430,
261,
7222,
3328,
18,
291,
1526,
2
] |
return true;
|
return standard;
|
public boolean isStandard() { return true; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/f5f345cdfff3f09740d7f1b2a8dfc951d380e7ee/Include.java/buggy/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/Include.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
8336,
1435,
288,
202,
202,
2463,
638,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
8336,
1435,
288,
202,
202,
2463,
638,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
( (DateFormatSpecifier) fs ).setType( DateFormatType.get( cmbDateType.getText( ) ) ); ( (DateFormatSpecifier) fs ).setDetail( DateFormatDetail.get( cmbDateForm.getText( ) ) );
|
( (DateFormatSpecifier) fs ).setType( DateFormatType.get( LiteralHelper.dateFormatTypeSet.getNameByDisplayName( cmbDateType.getText( ) ) ) ); ( (DateFormatSpecifier) fs ).setDetail( DateFormatDetail.get( LiteralHelper.dateFormatDetailSet.getNameByDisplayName( cmbDateForm.getText( ) ) ) );
|
private FormatSpecifier buildFormatSpecifier( ) { FormatSpecifier fs = null; if ( cmbDataType.getText( ).equals( "Date/Time" ) ) //$NON-NLS-1$ { if ( this.btnAdvanced.getSelection( ) ) { fs = JavaDateFormatSpecifierImpl.create( txtDatePattern.getText( ) ); } else if ( this.btnStandard.getSelection( ) ) { fs = AttributeFactory.eINSTANCE.createDateFormatSpecifier( ); ( (DateFormatSpecifier) fs ).setType( DateFormatType.get( cmbDateType.getText( ) ) ); ( (DateFormatSpecifier) fs ).setDetail( DateFormatDetail.get( cmbDateForm.getText( ) ) ); } } else { if ( this.btnAdvanced.getSelection( ) ) { fs = JavaNumberFormatSpecifierImpl.create( txtNumberPattern.getText( ) ); if ( txtAdvMultiplier.getText( ).length( ) > 0 ) { try { ( (JavaNumberFormatSpecifierImpl) fs ).setMultiplier( Double.valueOf( txtAdvMultiplier.getText( ) ) .doubleValue( ) ); } catch ( NumberFormatException e ) { handleFormatError( txtAdvMultiplier.getText( ) ); } } } else if ( this.btnStandard.getSelection( ) ) { fs = NumberFormatSpecifierImpl.create( ); ( (NumberFormatSpecifier) fs ).setPrefix( txtPrefix.getText( ) ); ( (NumberFormatSpecifier) fs ).setSuffix( txtSuffix.getText( ) ); ( (NumberFormatSpecifier) fs ).setFractionDigits( iscFractionDigits.getValue( ) ); if ( txtMultiplier.getText( ).length( ) > 0 ) { try { ( (NumberFormatSpecifier) fs ).setMultiplier( Double.valueOf( txtMultiplier.getText( ) ) .doubleValue( ) ); } catch ( NumberFormatException e ) { handleFormatError( txtMultiplier.getText( ) ); } } } } return fs; }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/35e5ac52b1d08645abccb0fa32df6279923b4897/FormatSpecifierComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FormatSpecifierComposite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
4077,
21416,
1361,
1630,
21416,
12,
262,
202,
95,
202,
202,
1630,
21416,
2662,
273,
446,
31,
202,
202,
430,
261,
276,
1627,
6273,
18,
588,
1528,
12,
262,
18,
14963,
12,
315,
1626,
19,
950,
6,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
95,
1082,
202,
430,
261,
333,
18,
11898,
23618,
18,
588,
6233,
12,
262,
262,
1082,
202,
95,
9506,
202,
2556,
273,
5110,
11878,
21416,
2828,
18,
2640,
12,
6463,
1626,
3234,
18,
588,
1528,
12,
262,
11272,
1082,
202,
97,
1082,
202,
12107,
309,
261,
333,
18,
11898,
8336,
18,
588,
6233,
12,
262,
262,
1082,
202,
95,
9506,
202,
2556,
273,
3601,
1733,
18,
73,
13341,
18,
2640,
11878,
21416,
12,
11272,
9506,
202,
12,
261,
11878,
21416,
13,
2662,
262,
18,
542,
559,
12,
18371,
559,
18,
588,
12,
276,
1627,
1626,
559,
18,
588,
1528,
12,
262,
262,
11272,
9506,
202,
12,
261,
11878,
21416,
13,
2662,
262,
18,
542,
6109,
12,
18371,
6109,
18,
588,
12,
276,
1627,
1626,
1204,
18,
588,
1528,
12,
262,
262,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
430,
261,
333,
18,
11898,
23618,
18,
588,
6233,
12,
262,
262,
1082,
202,
95,
9506,
202,
2556,
273,
5110,
1854,
1630,
21416,
2828,
18,
2640,
12,
6463,
1854,
3234,
18,
588,
1528,
12,
262,
11272,
9506,
202,
430,
261,
6463,
28915,
23365,
18,
588,
1528,
12,
262,
18,
2469,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
4077,
21416,
1361,
1630,
21416,
12,
262,
202,
95,
202,
202,
1630,
21416,
2662,
273,
446,
31,
202,
202,
430,
261,
276,
1627,
6273,
18,
588,
1528,
12,
262,
18,
14963,
12,
315,
1626,
19,
950,
6,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
95,
1082,
202,
430,
261,
333,
18,
11898,
23618,
18,
588,
6233,
12,
262,
262,
1082,
202,
95,
9506,
202,
2556,
273,
5110,
11878,
21416,
2828,
18,
2640,
12,
6463,
1626,
3234,
18,
588,
1528,
12,
262,
11272,
1082,
202,
97,
1082,
202,
12107,
309,
261,
333,
18,
11898,
8336,
18,
588,
6233,
12,
262,
262,
1082,
202,
95,
9506,
202,
2556,
273,
3601,
1733,
18,
73,
13341,
2
] |
if (editPageId == null)
|
if (editPageId == null) {
|
public boolean isSelfUpdating() { if (editPageId == null) return false; WorkingSetRegistry registry = WorkbenchPlugin.getDefault().getWorkingSetRegistry(); WorkingSetDescriptor descriptor= registry.getWorkingSetDescriptor(editPageId); return descriptor != null && descriptor.getUpdaterClassName() != null; }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/WorkingSet.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkingSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
10084,
17858,
1435,
288,
202,
202,
430,
261,
4619,
23053,
422,
446,
13,
1082,
202,
2463,
629,
31,
202,
202,
14836,
694,
4243,
4023,
273,
4147,
22144,
3773,
18,
588,
1868,
7675,
588,
14836,
694,
4243,
5621,
202,
202,
14836,
694,
3187,
4950,
33,
4023,
18,
588,
14836,
694,
3187,
12,
4619,
23053,
1769,
202,
202,
2463,
4950,
480,
446,
597,
4950,
18,
588,
15305,
3834,
1435,
480,
446,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
10084,
17858,
1435,
288,
202,
202,
430,
261,
4619,
23053,
422,
446,
13,
1082,
202,
2463,
629,
31,
202,
202,
14836,
694,
4243,
4023,
273,
4147,
22144,
3773,
18,
588,
1868,
7675,
588,
14836,
694,
4243,
5621,
202,
202,
14836,
694,
3187,
4950,
33,
4023,
18,
588,
14836,
694,
3187,
12,
4619,
23053,
1769,
202,
202,
2463,
4950,
480,
446,
597,
4950,
18,
588,
15305,
3834,
1435,
480,
446,
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
] |
if (generatorPass == HEADER_PASS) {
|
if (generatorPass != SOURCE_PASS) {
|
private String generateAllParts(StringBuffer[] parts) { StringBuffer sb = new StringBuffer(); // generate all parts in order: public, protected, private for (int i = 0; i < ALL_PARTS.length; i++) { if (parts[i].toString().trim().length() > 0) { if (generatorPass == HEADER_PASS) { sb.append(LINE_SEPARATOR); sb.append(' ').append(PART_NAME[i]).append(':'); sb.append(LINE_SEPARATOR); } sb.append(parts[i]); } } return sb.toString(); }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/1d3b53fab6b14f5a8286bfe6338d2740ffe3724e/GeneratorCpp.java/clean/modules/cpp/src/org/argouml/language/cpp/generator/GeneratorCpp.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
2103,
1595,
4305,
12,
780,
1892,
8526,
2140,
13,
288,
3639,
6674,
2393,
273,
394,
6674,
5621,
3639,
368,
2103,
777,
2140,
316,
1353,
30,
1071,
16,
4750,
16,
3238,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
8061,
67,
2778,
8047,
18,
2469,
31,
277,
27245,
288,
5411,
309,
261,
6019,
63,
77,
8009,
10492,
7675,
5290,
7675,
2469,
1435,
405,
374,
13,
288,
7734,
309,
261,
8812,
6433,
480,
16088,
67,
10884,
13,
288,
10792,
2393,
18,
6923,
12,
5997,
67,
4550,
1769,
10792,
2393,
18,
6923,
2668,
296,
2934,
6923,
12,
15055,
67,
1985,
63,
77,
65,
2934,
6923,
2668,
2497,
1769,
10792,
2393,
18,
6923,
12,
5997,
67,
4550,
1769,
7734,
289,
7734,
2393,
18,
6923,
12,
6019,
63,
77,
19226,
5411,
289,
3639,
289,
3639,
327,
2393,
18,
10492,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
2103,
1595,
4305,
12,
780,
1892,
8526,
2140,
13,
288,
3639,
6674,
2393,
273,
394,
6674,
5621,
3639,
368,
2103,
777,
2140,
316,
1353,
30,
1071,
16,
4750,
16,
3238,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
8061,
67,
2778,
8047,
18,
2469,
31,
277,
27245,
288,
5411,
309,
261,
6019,
63,
77,
8009,
10492,
7675,
5290,
7675,
2469,
1435,
405,
374,
13,
288,
7734,
309,
261,
8812,
6433,
480,
16088,
67,
10884,
13,
288,
10792,
2393,
18,
6923,
12,
5997,
67,
4550,
1769,
10792,
2393,
18,
6923,
2668,
296,
2934,
6923,
12,
15055,
67,
1985,
63,
77,
65,
2934,
6923,
2668,
2497,
1769,
10792,
2393,
18,
6923,
12,
5997,
67,
4550,
1769,
2
] |
super(name); }
|
super(name); }
|
public BlobTest(String name) { super(name); }
|
49504 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49504/b75814aee320ef2b67ad01ba72c266dbbf94db45/BlobTest.java/buggy/src/interfaces/jdbc/org/postgresql/test/jdbc2/BlobTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
12741,
4709,
12,
780,
508,
13,
288,
565,
2240,
12,
529,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
12741,
4709,
12,
780,
508,
13,
288,
565,
2240,
12,
529,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
IObject copy = iQuery.get(iObject.getClass(), iObject.getId()); Permissions p = new Permissions().applyMask(perms); copy.getDetails().setPermissions(p); iUpdate.saveObject(copy);
|
public void changePermissions(IObject iObject, Permissions perms) { // TODO Auto-generated method stub }
|
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/51bca7b98918ffeec3bfbe06121fa0c606f5da26/AdminImpl.java/buggy/components/server/src/ome/logic/AdminImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
467,
921,
1610,
273,
277,
1138,
18,
588,
12,
77,
921,
18,
588,
797,
9334,
277,
921,
18,
26321,
10663,
15684,
293,
273,
394,
15684,
7675,
9010,
5796,
12,
15969,
1769,
1610,
18,
588,
3790,
7675,
542,
6521,
12,
84,
1769,
277,
1891,
18,
5688,
921,
12,
3530,
1769,
225,
467,
921,
1610,
273,
277,
1138,
18,
588,
12,
77,
921,
18,
588,
797,
9334,
277,
921,
18,
26321,
10663,
15684,
293,
273,
394,
15684,
7675,
9010,
5796,
12,
15969,
1769,
1610,
18,
588,
3790,
7675,
542,
6521,
12,
84,
1769,
277,
1891,
18,
5688,
921,
12,
3530,
1769,
1071,
918,
2549,
6521,
12,
45,
921,
277,
921,
16,
15684,
13793,
13,
467,
921,
1610,
273,
277,
1138,
18,
588,
12,
77,
921,
18,
588,
797,
9334,
277,
921,
18,
26321,
10663,
15684,
293,
273,
394,
15684,
7675,
9010,
5796,
12,
15969,
1769,
1610,
18,
588,
3790,
7675,
542,
6521,
12,
84,
1769,
277,
1891,
18,
5688,
921,
12,
3530,
1769,
225,
467,
921,
1610,
273,
277,
1138,
18,
588,
12,
77,
921,
18,
588,
797,
9334,
277,
921,
18,
26321,
10663,
15684,
293,
273,
394,
15684,
7675,
9010,
5796,
12,
15969,
1769,
1610,
18,
588,
3790,
7675,
542,
6521,
12,
84,
1769,
277,
1891,
18,
5688,
921,
12,
3530,
1769,
288,
467,
921,
1610,
273,
277,
1138,
18,
588,
12,
77,
921,
18,
588,
797,
9334,
277,
921,
18,
26321,
10663,
15684,
293,
273,
394,
15684,
7675,
9010,
5796,
12,
15969,
1769,
1610,
18,
588,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
467,
921,
1610,
273,
277,
1138,
18,
588,
12,
77,
921,
18,
588,
797,
9334,
277,
921,
18,
26321,
10663,
15684,
293,
273,
394,
15684,
7675,
9010,
5796,
12,
15969,
1769,
1610,
18,
588,
3790,
7675,
542,
6521,
12,
84,
1769,
277,
1891,
18,
5688,
921,
12,
3530,
1769,
225,
467,
921,
1610,
273,
277,
1138,
18,
588,
12,
77,
921,
18,
588,
797,
9334,
277,
921,
18,
26321,
10663,
15684,
293,
273,
394,
15684,
7675,
9010,
5796,
12,
15969,
1769,
1610,
18,
588,
3790,
7675,
542,
6521,
12,
84,
1769,
277,
1891,
18,
5688,
921,
12,
3530,
1769,
1071,
918,
2549,
6521,
12,
45,
921,
277,
921,
16,
15684,
13793,
13,
467,
921,
1610,
273,
277,
1138,
2
] |
|
ReplyReceiver.this.timeoutException = false; this.notifyAll();
|
timeoutException = false; lock.notifyAll();
|
public void wakeup() { synchronized (this) { awakened = true; ReplyReceiver.this.timeoutException = false; this.notifyAll(); } }
|
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/951453326c22ede10295a4ef43cc06579fcbfde3/ReplyReceiver.java/clean/src/org/jacorb/orb/ReplyReceiver.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
19891,
416,
1435,
3639,
288,
5411,
3852,
261,
2211,
13,
5411,
288,
7734,
1690,
7940,
329,
540,
273,
638,
31,
7734,
16202,
12952,
18,
2211,
18,
4538,
503,
273,
629,
31,
7734,
333,
18,
12336,
1595,
5621,
5411,
289,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
19891,
416,
1435,
3639,
288,
5411,
3852,
261,
2211,
13,
5411,
288,
7734,
1690,
7940,
329,
540,
273,
638,
31,
7734,
16202,
12952,
18,
2211,
18,
4538,
503,
273,
629,
31,
7734,
333,
18,
12336,
1595,
5621,
5411,
289,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
following.push(FOLLOW_opt_eol_in_auto_focus1042);
|
following.push(FOLLOW_opt_eol_in_auto_focus1046);
|
public AttributeDescr auto_focus() throws RecognitionException { AttributeDescr d; Token loc=null; Token t=null; d = null; try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:487:17: ( (loc= 'auto-focus' opt_eol ( ';' )? opt_eol ) | (loc= 'auto-focus' t= BOOL opt_eol ( ';' )? opt_eol ) ) int alt36=2; int LA36_0 = input.LA(1); if ( LA36_0==35 ) { int LA36_1 = input.LA(2); if ( LA36_1==BOOL ) { alt36=2; } else if ( LA36_1==EOL||LA36_1==15||LA36_1==22||LA36_1==27||LA36_1==29||LA36_1==31||(LA36_1>=33 && LA36_1<=38) ) { alt36=1; } else { NoViableAltException nvae = new NoViableAltException("482:1: auto_focus returns [AttributeDescr d] : ( (loc= \'auto-focus\' opt_eol ( \';\' )? opt_eol ) | (loc= \'auto-focus\' t= BOOL opt_eol ( \';\' )? opt_eol ) );", 36, 1, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("482:1: auto_focus returns [AttributeDescr d] : ( (loc= \'auto-focus\' opt_eol ( \';\' )? opt_eol ) | (loc= \'auto-focus\' t= BOOL opt_eol ( \';\' )? opt_eol ) );", 36, 0, input); throw nvae; } switch (alt36) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:487:17: (loc= 'auto-focus' opt_eol ( ';' )? opt_eol ) { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:487:17: (loc= 'auto-focus' opt_eol ( ';' )? opt_eol ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:488:25: loc= 'auto-focus' opt_eol ( ';' )? opt_eol { loc=(Token)input.LT(1); match(input,35,FOLLOW_35_in_auto_focus1035); following.push(FOLLOW_opt_eol_in_auto_focus1037); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:488:50: ( ';' )? int alt34=2; int LA34_0 = input.LA(1); if ( LA34_0==15 ) { alt34=1; } else if ( LA34_0==EOL||LA34_0==22||LA34_0==27||LA34_0==29||LA34_0==31||(LA34_0>=33 && LA34_0<=38) ) { alt34=2; } else { NoViableAltException nvae = new NoViableAltException("488:50: ( \';\' )?", 34, 0, input); throw nvae; } switch (alt34) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:488:50: ';' { match(input,15,FOLLOW_15_in_auto_focus1039); } break; } following.push(FOLLOW_opt_eol_in_auto_focus1042); opt_eol(); following.pop(); d = new AttributeDescr( "auto-focus", "true" ); d.setLocation( offset(loc.getLine()), loc.getCharPositionInLine() ); } } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:495:17: (loc= 'auto-focus' t= BOOL opt_eol ( ';' )? opt_eol ) { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:495:17: (loc= 'auto-focus' t= BOOL opt_eol ( ';' )? opt_eol ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:496:25: loc= 'auto-focus' t= BOOL opt_eol ( ';' )? opt_eol { loc=(Token)input.LT(1); match(input,35,FOLLOW_35_in_auto_focus1067); t=(Token)input.LT(1); match(input,BOOL,FOLLOW_BOOL_in_auto_focus1071); following.push(FOLLOW_opt_eol_in_auto_focus1073); opt_eol(); following.pop(); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:496:57: ( ';' )? int alt35=2; int LA35_0 = input.LA(1); if ( LA35_0==15 ) { alt35=1; } else if ( LA35_0==EOL||LA35_0==22||LA35_0==27||LA35_0==29||LA35_0==31||(LA35_0>=33 && LA35_0<=38) ) { alt35=2; } else { NoViableAltException nvae = new NoViableAltException("496:57: ( \';\' )?", 35, 0, input); throw nvae; } switch (alt35) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:496:57: ';' { match(input,15,FOLLOW_15_in_auto_focus1075); } break; } following.push(FOLLOW_opt_eol_in_auto_focus1078); opt_eol(); following.pop(); d = new AttributeDescr( "auto-focus", t.getText() ); d.setLocation( offset(loc.getLine()), loc.getCharPositionInLine() ); } } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/7f81b86a0f548bd02b09afc74b46454cdf158154/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3601,
16198,
3656,
67,
13923,
1435,
1216,
9539,
288,
6647,
3601,
16198,
302,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
3155,
268,
33,
2011,
31,
1171,
202,
202,
72,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
8875,
27,
30,
4033,
30,
261,
261,
1829,
33,
296,
6079,
17,
13923,
11,
2153,
67,
30951,
261,
7554,
7851,
2153,
67,
30951,
262,
571,
261,
1829,
33,
296,
6079,
17,
13923,
11,
268,
33,
9784,
1741,
2153,
67,
30951,
261,
7554,
7851,
2153,
67,
30951,
262,
262,
5411,
509,
3770,
5718,
33,
22,
31,
5411,
509,
2928,
5718,
67,
20,
273,
810,
18,
2534,
12,
21,
1769,
5411,
309,
261,
2928,
5718,
67,
20,
631,
4763,
262,
288,
7734,
509,
2928,
5718,
67,
21,
273,
810,
18,
2534,
12,
22,
1769,
7734,
309,
261,
2928,
5718,
67,
21,
631,
19040,
262,
288,
10792,
3770,
5718,
33,
22,
31,
7734,
289,
7734,
469,
309,
261,
2928,
5718,
67,
21,
631,
5842,
20081,
2534,
5718,
67,
21,
631,
3600,
20081,
2534,
5718,
67,
21,
631,
3787,
20081,
2534,
5718,
67,
21,
631,
5324,
20081,
2534,
5718,
67,
21,
631,
5540,
20081,
2534,
5718,
67,
21,
631,
6938,
20081,
12,
2534,
5718,
67,
21,
34,
33,
3707,
597,
2928,
5718,
67,
21,
32,
33,
7414,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3601,
16198,
3656,
67,
13923,
1435,
1216,
9539,
288,
6647,
3601,
16198,
302,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
3155,
268,
33,
2011,
31,
1171,
202,
202,
72,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
8875,
27,
30,
4033,
30,
261,
261,
1829,
33,
296,
6079,
17,
13923,
11,
2153,
67,
30951,
261,
7554,
7851,
2153,
67,
30951,
262,
571,
261,
1829,
33,
296,
6079,
17,
13923,
11,
268,
33,
9784,
1741,
2153,
67,
30951,
261,
7554,
7851,
2153,
67,
2
] |
if ((0xd00000000000L & l) != 0L) jjCheckNAddTwoStates(57, 58);
|
if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(56, 57);
|
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 73; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x3ff000000000000L & l) != 0L) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); } if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(18, 23); break; case 1: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(18, 23); break; case 2: case 39: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(2, 3); break; case 3: if ((0xd00000000000L & l) != 0L) jjCheckNAdd(4); break; case 4: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(4); break; case 5: case 48: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(5, 6); break; case 6: if ((0xd00000000000L & l) != 0L) jjCheckNAdd(7); break; case 7: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(7, 8); break; case 8: if ((0xd00000000000L & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 9: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 10: case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 12: case 61: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(12, 13); break; case 13: if ((0xd00000000000L & l) != 0L) jjCheckNAdd(14); break; case 14: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(14, 15); break; case 15: if ((0xd00000000000L & l) != 0L) jjCheckNAddTwoStates(16, 17); break; case 16: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(16, 17); break; case 17: case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if ((0xd00000000000L & l) != 0L) jjCheckNAdd(20); break; case 20: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(15, 20); break; case 21: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAdd(22); break; case 23: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(24, 26); break; case 24: if ((0x600000000000L & l) != 0L) jjCheckNAdd(25); break; case 25: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(27, 29); break; case 27: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(27, 28); break; case 28: if ((0x600000000000L & l) != 0L) jjCheckNAdd(29); break; case 29: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(28, 29); break; case 30: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 46) jjCheckNAdd(32); break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(31, 32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(33, 34); break; case 34: if ((0xd00000000000L & l) != 0L) jjCheckNAddTwoStates(35, 36); break; case 35: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(35, 36); break; case 36: case 37: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(37); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(38, 39); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 41: if ((0xd00000000000L & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 42: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 43: case 44: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(44, 45); break; case 45: if ((0xd00000000000L & l) != 0L) jjCheckNAdd(46); break; case 46: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(41, 46); break; case 47: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(47, 48); break; case 49: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0xd00000000000L & l) != 0L) jjCheckNAddTwoStates(51, 52); break; case 51: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(51, 52); break; case 52: case 53: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(53, 54); break; case 54: if ((0xd00000000000L & l) != 0L) jjCheckNAdd(55); break; case 55: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(55, 56); break; case 56: if ((0xd00000000000L & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 57: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 58: case 59: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(54, 59); break; case 60: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(60, 61); break; case 64: if (curChar == 39) jjstateSet[jjnewStateCnt++] = 65; break; case 67: if (curChar == 46) jjCheckNAdd(68); break; case 69: if (curChar != 46) break; if (kind > 3) kind = 3; jjCheckNAdd(68); break; case 71: if (curChar == 38) jjstateSet[jjnewStateCnt++] = 72; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(30, 35); if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); } break; case 2: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(36, 37); break; case 3: if (curChar == 95) jjCheckNAdd(4); break; case 4: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAdd(4); break; case 5: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(5, 6); break; case 6: if (curChar == 95) jjCheckNAdd(7); break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(7, 8); break; case 8: if (curChar == 95) jjCheckNAddTwoStates(9, 10); break; case 9: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(9, 10); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 12: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(38, 39); break; case 13: if (curChar == 95) jjCheckNAdd(14); break; case 14: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(14, 15); break; case 15: if (curChar == 95) jjCheckNAddTwoStates(16, 17); break; case 16: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(16, 17); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(40, 41); break; case 19: if (curChar == 95) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(15, 20); break; case 21: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 1) kind = 1; jjCheckNAdd(22); break; case 23: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(24, 26); break; case 24: if (curChar == 95) jjCheckNAdd(25); break; case 25: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(27, 29); break; case 26: if (curChar == 64) jjCheckNAdd(27); break; case 27: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(27, 28); break; case 29: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(28, 29); break; case 30: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(31, 32); break; case 33: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(33, 34); break; case 34: if (curChar == 95) jjCheckNAddTwoStates(35, 36); break; case 35: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(35, 36); break; case 37: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjstateSet[jjnewStateCnt++] = 37; break; case 38: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(38, 39); break; case 40: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(40, 41); break; case 41: if (curChar == 95) jjCheckNAddTwoStates(42, 43); break; case 42: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(42, 43); break; case 44: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(42, 43); break; case 45: if (curChar == 95) jjCheckNAdd(46); break; case 46: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(41, 46); break; case 47: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(47, 48); break; case 49: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if (curChar == 95) jjCheckNAddTwoStates(51, 52); break; case 51: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(51, 52); break; case 53: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(53, 54); break; case 54: if (curChar == 95) jjCheckNAdd(55); break; case 55: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(55, 56); break; case 56: if (curChar == 95) jjCheckNAddTwoStates(57, 58); break; case 57: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 59: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(54, 59); break; case 60: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(60, 61); break; case 62: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(30, 35); break; case 63: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(63, 64); break; case 65: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 2) kind = 2; jjCheckNAddTwoStates(64, 65); break; case 66: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(66, 67); break; case 68: if ((0x7fffffe07fffffeL & l) != 0L) jjAddStates(44, 45); break; case 70: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(70, 71); break; case 71: if (curChar == 64) jjCheckNAdd(72); break; case 72: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAdd(72); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) { if (kind > 12) kind = 12; } if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(18, 23); if (jjCanMove_2(hiByte, i1, i2, l1, l2)) { if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); } if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(30, 35); break; case 1: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(18, 23); break; case 2: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(2, 3); break; case 4: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjstateSet[jjnewStateCnt++] = 4; break; case 5: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(5, 6); break; case 7: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(46, 47); break; case 9: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(48, 49); break; case 10: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 11: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(6, 11); break; case 12: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(12, 13); break; case 14: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(14, 15); break; case 16: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(50, 51); break; case 17: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(18, 19); break; case 18: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(18, 19); break; case 20: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(15, 20); break; case 21: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 1) kind = 1; jjCheckNAddStates(0, 17); break; case 22: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 1) kind = 1; jjCheckNAdd(22); break; case 23: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(24, 26); break; case 25: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(27, 29); break; case 27: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(27, 28); break; case 29: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 5) kind = 5; jjCheckNAddTwoStates(28, 29); break; case 30: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(30, 31); break; case 32: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 6) kind = 6; jjCheckNAddTwoStates(31, 32); break; case 33: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(33, 34); break; case 35: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(52, 53); break; case 36: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAdd(37); break; case 37: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAdd(37); break; case 38: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(38, 39); break; case 39: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(2, 3); break; case 40: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(40, 41); break; case 42: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(54, 55); break; case 43: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(44, 45); break; case 44: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(44, 45); break; case 46: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(41, 46); break; case 47: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(47, 48); break; case 48: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(5, 6); break; case 49: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(49, 50); break; case 51: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(56, 57); break; case 52: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(53, 54); break; case 53: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(53, 54); break; case 55: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(58, 59); break; case 57: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(60, 61); break; case 58: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(54, 59); break; case 59: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(54, 59); break; case 60: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(60, 61); break; case 61: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(12, 13); break; case 62: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(30, 35); break; case 63: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(63, 64); break; case 65: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 2) kind = 2; jjCheckNAddTwoStates(64, 65); break; case 66: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(66, 67); break; case 68: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjAddStates(44, 45); break; case 70: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(70, 71); break; case 72: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 4) kind = 4; jjstateSet[jjnewStateCnt++] = 72; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 73 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
|
45239 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45239/d5ac1c5e5f342e6793f0c7ec482346fc5683abf9/XTFTokenizerTokenManager.java/clean/WEB-INF/src/org/cdlib/xtf/textIndexer/tokenizer/XTFTokenizerTokenManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,
273,
26103,
31,
282,
509,
277,
273,
404,
31,
282,
10684,
2019,
694,
63,
20,
65,
273,
787,
1119,
31,
282,
509,
525,
16,
3846,
273,
374,
92,
27,
18217,
74,
31,
282,
364,
261,
25708,
13,
282,
288,
1377,
309,
261,
9904,
78,
78,
2260,
422,
374,
92,
27,
18217,
74,
13,
540,
868,
2570,
54,
9284,
5621,
1377,
309,
261,
1397,
2156,
411,
5178,
13,
1377,
288,
540,
1525,
328,
273,
404,
48,
2296,
662,
2156,
31,
540,
4639,
6452,
30,
741,
540,
288,
5411,
1620,
12,
78,
78,
2019,
694,
63,
413,
77,
5717,
5411,
288,
9079,
648,
374,
30,
5375,
309,
14015,
20,
92,
23,
1403,
12648,
2787,
48,
473,
328,
13,
480,
374,
48,
13,
5375,
288,
5397,
309,
261,
9224,
405,
404,
13,
13491,
3846,
273,
404,
31,
5397,
10684,
1564,
50,
986,
7629,
12,
20,
16,
8043,
1769,
5375,
289,
5375,
309,
14015,
20,
92,
23,
1403,
12648,
2787,
48,
473,
328,
13,
480,
374,
48,
13,
5397,
10684,
1564,
50,
986,
7629,
12,
2643,
16,
10213,
1769,
5375,
898,
31,
9079,
648,
404,
30,
5375,
309,
14015,
20,
92,
23,
1403,
12648,
2787,
48,
473,
328,
13,
480,
374,
48,
13,
5397,
10684,
1564,
50,
986,
7629,
12,
2643,
16,
10213,
1769,
5375,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,
273,
26103,
31,
282,
509,
277,
273,
404,
31,
282,
10684,
2019,
694,
63,
20,
65,
273,
787,
1119,
31,
282,
509,
525,
16,
3846,
273,
374,
92,
27,
18217,
74,
31,
282,
364,
261,
25708,
13,
282,
288,
1377,
309,
261,
9904,
78,
78,
2260,
422,
374,
92,
27,
18217,
74,
13,
540,
868,
2570,
54,
9284,
5621,
1377,
309,
261,
1397,
2156,
411,
5178,
13,
1377,
288,
540,
1525,
328,
273,
404,
48,
2296,
662,
2156,
31,
540,
4639,
6452,
30,
2
] |
titlePane.setOpaque(true);
|
public void installUI(JComponent c) { if (c instanceof JInternalFrame) { frame = (JInternalFrame) c; internalFrameLayout = createLayoutManager(); frame.setLayout(internalFrameLayout); ((JComponent) frame.getRootPane().getGlassPane()).setOpaque(false); frame.getRootPane().getGlassPane().setVisible(true); installDefaults(); installListeners(); installComponents(); installKeyboardActions(); frame.setOpaque(true); titlePane.setOpaque(true); frame.invalidate(); } }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicInternalFrameUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicInternalFrameUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3799,
5370,
12,
46,
1841,
276,
13,
225,
288,
565,
309,
261,
71,
1276,
804,
3061,
3219,
13,
1377,
288,
202,
3789,
273,
261,
46,
3061,
3219,
13,
276,
31,
202,
7236,
3219,
3744,
273,
752,
3744,
1318,
5621,
202,
3789,
18,
542,
3744,
12,
7236,
3219,
3744,
1769,
202,
12443,
46,
1841,
13,
2623,
18,
588,
2375,
8485,
7675,
588,
43,
459,
8485,
1435,
2934,
542,
3817,
14886,
12,
5743,
1769,
202,
3789,
18,
588,
2375,
8485,
7675,
588,
43,
459,
8485,
7675,
542,
6207,
12,
3767,
1769,
202,
5425,
7019,
5621,
202,
5425,
5583,
5621,
202,
5425,
7171,
5621,
202,
202,
5425,
17872,
6100,
5621,
202,
3789,
18,
542,
3817,
14886,
12,
3767,
1769,
202,
2649,
8485,
18,
542,
3817,
14886,
12,
3767,
1769,
202,
3789,
18,
5387,
340,
5621,
1377,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3799,
5370,
12,
46,
1841,
276,
13,
225,
288,
565,
309,
261,
71,
1276,
804,
3061,
3219,
13,
1377,
288,
202,
3789,
273,
261,
46,
3061,
3219,
13,
276,
31,
202,
7236,
3219,
3744,
273,
752,
3744,
1318,
5621,
202,
3789,
18,
542,
3744,
12,
7236,
3219,
3744,
1769,
202,
12443,
46,
1841,
13,
2623,
18,
588,
2375,
8485,
7675,
588,
43,
459,
8485,
1435,
2934,
542,
3817,
14886,
12,
5743,
1769,
202,
3789,
18,
588,
2375,
8485,
7675,
588,
43,
459,
8485,
7675,
542,
6207,
12,
3767,
1769,
202,
5425,
7019,
5621,
202,
5425,
5583,
5621,
202,
5425,
7171,
5621,
202,
202,
5425,
17872,
6100,
5621,
202,
3789,
18,
542,
3817,
14886,
12,
3767,
1769,
2
] |
|
rtc.getLocale( ) ) );
|
rtc.getULocale( ).toLocale( ) ) );
|
final void computeAxisStartEndShifts( IDisplayServer xs, Label la, int iOrientation, int iLocation, AllAxes aax ) throws ChartException { final double dMaxSS = ( aax != null && iOrientation == aax.getOrientation( ) ) ? aax.getMaxStartShift( ) : 0; final double dMaxES = ( aax != null && iOrientation == aax.getOrientation( ) ) ? aax.getMaxEndShift( ) : 0; if ( !la.isVisible( ) ) { dStartShift = dMaxSS; dEndShift = dMaxES; return; } if ( getType( ) == TEXT || bCategoryScale ) { // COMPUTE THE BOUNDING BOXES FOR FIRST AND LAST LABEL TO ADJUST // START/END OF X-AXIS final double dUnitSize = getUnitSize( ); final DataSetIterator dsi = getData( ); final int iDateTimeUnit; BoundingBox bb = null; try { iDateTimeUnit = ( getType( ) == IConstants.DATE_TIME ) ? CDateTime.computeUnit( dsi ) : IConstants.UNDEFINED; } catch ( ClassCastException e ) { // Happens when data in dsi is not of DateTime format throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, "exception.dataset.non.datetime", //$NON-NLS-1$ ResourceBundle.getBundle( Messages.ENGINE, rtc.getLocale( ) ) ); } final double rotation = la.getCaption( ).getFont( ).getRotation( ); final boolean bCenter = rotation == 0 || rotation == 90 || rotation == -90; // TODO check first visible label shift. if ( !isTickLabelVisible( 0 ) ) { dStartShift = dMaxSS; } else { // ADJUST THE START POSITION la.getCaption( ).setValue( formatCategoryValue( getType( ), dsi.first( ), iDateTimeUnit ) ); try { bb = computeBox( xs, iLocation, la, 0, 0 ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, uiex ); } if ( iOrientation == VERTICAL ) // VERTICAL AXIS { if ( bCenter ) { dStartShift = Math.max( dMaxSS, ( dUnitSize > bb.getHeight( ) ) ? 0 : ( bb.getHeight( ) - dUnitSize ) / 2 ); } else if ( iScaleDirection == FORWARD ) { dStartShift = Math.max( dMaxSS, bb.getHotPoint( ) - dUnitSize / 2 ); } else { dStartShift = Math.max( dMaxSS, bb.getHeight( ) - bb.getHotPoint( ) - dUnitSize / 2 ); } } else if ( iOrientation == HORIZONTAL ) // HORIZONTAL AXIS { if ( bCenter ) { dStartShift = Math.max( dMaxSS, ( dUnitSize > bb.getWidth( ) ) ? 0 : ( bb.getWidth( ) - dUnitSize ) / 2 ); } else if ( iScaleDirection == BACKWARD ) { dStartShift = Math.max( dMaxSS, bb.getWidth( ) - bb.getHotPoint( ) - dUnitSize / 2 ); } else { dStartShift = Math.max( dMaxSS, bb.getHotPoint( ) - dUnitSize / 2 ); } } } // TODO check last visible label shift. if ( !isTickLabelVisible( dsi.size( ) - 1 ) ) { dEndShift = dMaxES; } else { // ADJUST THE END POSITION la.getCaption( ).setValue( formatCategoryValue( getType( ), dsi.last( ), iDateTimeUnit ) ); try { bb = computeBox( xs, iLocation, la, 0, dEnd ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, uiex ); } if ( iOrientation == VERTICAL ) // VERTICAL AXIS { if ( bCenter ) { dEndShift = Math.max( dMaxES, ( dUnitSize > bb.getHeight( ) ) ? 0 : ( bb.getHeight( ) - dUnitSize ) / 2 ); } else if ( iScaleDirection == FORWARD ) { dEndShift = Math.max( dMaxES, bb.getHeight( ) - bb.getHotPoint( ) - dUnitSize / 2 ); } else { dEndShift = Math.max( dMaxES, bb.getHotPoint( ) - dUnitSize / 2 ); } } else if ( iOrientation == HORIZONTAL ) // HORIZONTAL AXIS { if ( bCenter ) { dEndShift = Math.max( dMaxES, ( dUnitSize > bb.getWidth( ) ) ? 0 : ( bb.getWidth( ) - dUnitSize ) / 2 ); } else if ( iScaleDirection == BACKWARD ) { dEndShift = Math.max( dMaxES, bb.getHotPoint( ) - dUnitSize / 2 ); } else { dEndShift = Math.max( dMaxES, bb.getWidth( ) - bb.getHotPoint( ) - dUnitSize / 2 ); } } } } else if ( ( iType & NUMERICAL ) == NUMERICAL ) { if ( ( iType & LINEAR ) == LINEAR ) { // ADJUST THE START POSITION DecimalFormat df = null; if ( fs == null ) // ONLY COMPUTE INTERNALLY IF FORMAT // SPECIFIER // ISN'T DEFINED { df = new DecimalFormat( getNumericPattern( ) ); } String sValue = null; try { sValue = ValueFormatter.format( getMinimum( ), fs, rtc.getLocale( ), df ); } catch ( ChartException dfex ) { logger.log( dfex ); sValue = IConstants.NULL_STRING; } la.getCaption( ).setValue( sValue ); BoundingBox bb = null; try { bb = computeBox( xs, iLocation, la, 0, 0 ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, uiex ); } if ( iOrientation == VERTICAL ) // VERTICAL AXIS { dStartShift = Math.max( dMaxSS, ( bb.getHeight( ) - bb.getHotPoint( ) ) ); } else if ( iOrientation == HORIZONTAL ) { dStartShift = Math.max( dMaxSS, bb.getHotPoint( ) ); } // ADJUST THE END POSITION try { sValue = ValueFormatter.format( getMaximum( ), fs, rtc.getLocale( ), df ); } catch ( ChartException dfex ) { logger.log( dfex ); sValue = IConstants.NULL_STRING; } la.getCaption( ).setValue( sValue ); try { bb = computeBox( xs, iLocation, la, 0, 0 ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, uiex ); } if ( iOrientation == VERTICAL ) // VERTICAL AXIS { dEndShift = Math.max( dMaxES, bb.getHotPoint( ) ); } else if ( iOrientation == HORIZONTAL ) { dEndShift = Math.max( dMaxES, ( bb.getWidth( ) - bb.getHotPoint( ) ) ); } } else if ( ( iType & LOGARITHMIC ) == LOGARITHMIC ) { // ADJUST THE START POSITION final double dMinimum = asDouble( getMinimum( ) ).doubleValue( ); DecimalFormat df = null; if ( fs == null ) // ONLY COMPUTE INTERNALLY IF FORMAT // SPECIFIER // ISN'T DEFINED { df = new DecimalFormat( getNumericPattern( dMinimum ) ); } String sValue = null; try { sValue = ValueFormatter.format( getMinimum( ), fs, rtc.getLocale( ), df ); } catch ( ChartException dfex ) { logger.log( dfex ); sValue = IConstants.NULL_STRING; } la.getCaption( ).setValue( sValue ); BoundingBox bb = null; try { bb = computeBox( xs, iLocation, la, 0, 0 ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, uiex ); } if ( iOrientation == VERTICAL ) // VERTICAL AXIS { dStartShift = Math.max( dMaxSS, ( bb.getHeight( ) - bb.getHotPoint( ) ) ); } else if ( iOrientation == HORIZONTAL ) { dStartShift = Math.max( dMaxSS, bb.getHotPoint( ) ); } // ADJUST THE END POSITION final double dMaximum = asDouble( getMaximum( ) ).doubleValue( ); if ( fs == null ) // ONLY COMPUTE INTERNALLY (DIFFERENT FROM // MINIMUM) IF FORMAT SPECIFIER ISN'T DEFINED { df = new DecimalFormat( getNumericPattern( dMaximum ) ); } try { sValue = ValueFormatter.format( getMaximum( ), fs, rtc.getLocale( ), df ); } catch ( ChartException dfex ) { logger.log( dfex ); sValue = IConstants.NULL_STRING; } la.getCaption( ).setValue( sValue ); try { bb = computeBox( xs, iLocation, la, 0, 0 ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, uiex ); } if ( iOrientation == VERTICAL ) // VERTICAL AXIS { dEndShift = Math.max( dMaxES, bb.getHotPoint( ) ); } else if ( iOrientation == HORIZONTAL ) { dEndShift = Math.max( dMaxES, ( bb.getWidth( ) - bb.getHotPoint( ) ) ); } } } else if ( getType( ) == DATE_TIME ) { // COMPUTE THE BOUNDING BOXES FOR FIRST AND LAST LABEL TO ADJUST // START/END OF X-AXIS CDateTime cdt = asDateTime( getMinimum( ) ); final int iUnit = asInteger( oUnit ); SimpleDateFormat sdf = null; String sText = null; if ( fs != null ) // ONLY COMPUTE INTERNALLY IF FORMAT SPECIFIER // ISN'T DEFINED { sdf = new SimpleDateFormat( CDateTime.getPreferredFormat( iUnit ) ); } // ADJUST THE START POSITION try { sText = ValueFormatter.format( cdt, fs, rtc.getLocale( ), sdf ); } catch ( ChartException dfex ) { logger.log( dfex ); sText = IConstants.NULL_STRING; } la.getCaption( ).setValue( sText ); BoundingBox bb = null; try { bb = computeBox( xs, iLocation, la, 0, 0 ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, uiex ); } if ( iOrientation == VERTICAL ) // VERTICAL AXIS { dStartShift = Math.max( dMaxSS, ( bb.getHeight( ) - bb.getHotPoint( ) ) ); } else if ( iOrientation == HORIZONTAL ) { dStartShift = Math.max( dMaxSS, bb.getHotPoint( ) ); } // ADJUST THE END POSITION cdt = asDateTime( getMaximum( ) ); try { sText = ValueFormatter.format( cdt, fs, rtc.getLocale( ), sdf ); } catch ( ChartException dfex ) { logger.log( dfex ); sText = IConstants.NULL_STRING; } la.getCaption( ).setValue( sText ); try { bb = computeBox( xs, iLocation, la, 0, dEnd ); } catch ( IllegalArgumentException uiex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.GENERATION, uiex ); } if ( iOrientation == VERTICAL ) // VERTICAL AXIS { dEndShift = Math.max( dMaxES, bb.getHotPoint( ) ); } else if ( iOrientation == HORIZONTAL ) { dEndShift = Math.max( dMaxES, ( bb.getWidth( ) - bb.getHotPoint( ) ) ); } } }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ae8909f5c697c610266e491d0af9a02eed14e2e4/AutoScale.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6385,
918,
3671,
6558,
1685,
1638,
10544,
87,
12,
1599,
291,
1601,
2081,
9280,
16,
5287,
7125,
16,
1082,
202,
474,
277,
14097,
16,
509,
277,
2735,
16,
4826,
26494,
279,
651,
262,
1082,
202,
15069,
14804,
503,
202,
95,
202,
202,
6385,
1645,
302,
2747,
1260,
273,
261,
279,
651,
480,
446,
597,
277,
14097,
422,
279,
651,
18,
588,
14097,
12,
262,
262,
692,
279,
651,
18,
588,
2747,
1685,
10544,
12,
262,
9506,
202,
30,
374,
31,
202,
202,
6385,
1645,
302,
2747,
3991,
273,
261,
279,
651,
480,
446,
597,
277,
14097,
422,
279,
651,
18,
588,
14097,
12,
262,
262,
692,
279,
651,
18,
588,
2747,
1638,
10544,
12,
262,
9506,
202,
30,
374,
31,
202,
202,
430,
261,
401,
11821,
18,
291,
6207,
12,
262,
262,
202,
202,
95,
1082,
202,
72,
1685,
10544,
273,
302,
2747,
1260,
31,
1082,
202,
72,
1638,
10544,
273,
302,
2747,
3991,
31,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
430,
261,
3130,
12,
262,
422,
9204,
747,
324,
4457,
5587,
262,
202,
202,
95,
1082,
202,
759,
13846,
9099,
12786,
9784,
5240,
1360,
9784,
60,
3991,
12108,
21786,
4116,
15612,
18210,
8493,
11738,
46,
5996,
1082,
202,
759,
10485,
19,
4415,
15932,
1139,
17,
25614,
1082,
202,
6385,
1645,
302,
2802,
1225,
273,
19194,
1225,
12,
11272,
1082,
202,
6385,
14065,
3198,
3780,
77,
273,
4303,
12,
11272,
1082,
202,
6385,
509,
277,
5096,
2802,
31,
1082,
202,
19020,
7129,
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,
6385,
918,
3671,
6558,
1685,
1638,
10544,
87,
12,
1599,
291,
1601,
2081,
9280,
16,
5287,
7125,
16,
1082,
202,
474,
277,
14097,
16,
509,
277,
2735,
16,
4826,
26494,
279,
651,
262,
1082,
202,
15069,
14804,
503,
202,
95,
202,
202,
6385,
1645,
302,
2747,
1260,
273,
261,
279,
651,
480,
446,
597,
277,
14097,
422,
279,
651,
18,
588,
14097,
12,
262,
262,
692,
279,
651,
18,
588,
2747,
1685,
10544,
12,
262,
9506,
202,
30,
374,
31,
202,
202,
6385,
1645,
302,
2747,
3991,
273,
261,
279,
651,
480,
446,
597,
277,
14097,
422,
279,
651,
18,
588,
14097,
12,
262,
262,
692,
279,
651,
18,
588,
2747,
1638,
10544,
12,
262,
9506,
202,
2
] |
public void actionPerformed(ActionEvent ae) { // Show interactions tab _tabbedPane.setSelectedIndex(INTERACTIONS_TAB); _interactionsHistoryChooser.setDialogTitle("Execute Interactions History"); try { _model.loadHistory(_interactionsHistoryFileSelector); } catch (FileNotFoundException fnf) { _showFileNotFoundError(fnf); } catch (IOException ioe) { _showIOError(ioe); } _interactionsPane.requestFocusInWindow(); }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/2de653a0c121f420695cbc85c38fd5c41317e81a/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
14221,
13,
288,
1377,
368,
9674,
23877,
3246,
1377,
389,
7032,
2992,
8485,
18,
542,
7416,
1016,
12,
9125,
12249,
55,
67,
28899,
1769,
1377,
389,
2761,
4905,
5623,
17324,
18,
542,
6353,
4247,
2932,
5289,
5294,
4905,
16058,
8863,
1377,
775,
288,
389,
2284,
18,
945,
5623,
24899,
2761,
4905,
5623,
812,
4320,
1769,
289,
1377,
1044,
261,
812,
3990,
2295,
74,
13,
288,
389,
4500,
812,
13276,
12,
4293,
74,
1769,
289,
1377,
1044,
261,
14106,
10847,
13,
288,
389,
4500,
4294,
668,
12,
1594,
73,
1769,
289,
1377,
389,
2761,
4905,
8485,
18,
2293,
9233,
382,
3829,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
14221,
13,
288,
1377,
368,
9674,
23877,
3246,
1377,
389,
7032,
2992,
8485,
18,
542,
7416,
1016,
12,
9125,
12249,
55,
67,
28899,
1769,
1377,
389,
2761,
4905,
5623,
17324,
18,
542,
6353,
4247,
2932,
5289,
5294,
4905,
16058,
8863,
1377,
775,
288,
389,
2284,
18,
945,
5623,
24899,
2761,
4905,
5623,
812,
4320,
1769,
289,
1377,
1044,
261,
812,
3990,
2295,
74,
13,
288,
389,
4500,
812,
13276,
12,
4293,
74,
1769,
289,
1377,
1044,
261,
14106,
10847,
13,
288,
389,
4500,
4294,
668,
12,
1594,
73,
1769,
289,
1377,
389,
2761,
4905,
8485,
18,
2293,
9233,
382,
3829,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
System.out.println("This TestAgent can be used to test the ACL Parser, the SL0 Parser, and the Fipa-Agent-Management ontology."); System.out.println("Send it an ACL message, whose language parameter is set to FIPA-SL0 and whose ontology parameter is set to fipa-agent-management. USE STDIN.");
|
System.out.println("This TestAgent can be used to test the ACL Parser, the SL0 Parser, and the Fipa-Agent-Management ontology all together."); System.out.println("It is an application (i.e. do not need to run a JADE Agent Platform)."); System.out.println("The application reads from the file examples/ontology/testmessages.msg a sequence of ACL messages, whose language parameter is set to FIPA-SL0 and whose ontology parameter is set to fipa-agent-management.");
|
protected void setup() { // register the codec of the language registerLanguage(SL0Codec.NAME,new SL0Codec()); // register the ontology used by application registerOntology(FIPAAgentManagementOntology.NAME, FIPAAgentManagementOntology.instance()); System.out.println("This TestAgent can be used to test the ACL Parser, the SL0 Parser, and the Fipa-Agent-Management ontology."); System.out.println("Send it an ACL message, whose language parameter is set to FIPA-SL0 and whose ontology parameter is set to fipa-agent-management. USE STDIN."); ACLParser parser = new ACLParser(System.in); ACLMessage msg; while (true) { try { msg = parser.Message(); List l=extractContent(msg); for (int i=0; i<l.size(); i++) System.out.println(l.get(i).getClass().toString()); msg = msg.createReply(); msg.setPerformative(ACLMessage.INFORM); msg.setContent("(true)"); System.out.println(msg.toString()); } catch (FIPAException e) { e.printStackTrace(); } catch (jade.lang.acl.ParseException e) { e.printStackTrace(); } }}
|
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/810a223fbcc47f1528f765a7554bfc433f4810ea/TestAgent.java/clean/src/examples/ontology/TestAgent.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
3875,
1435,
288,
225,
368,
1744,
326,
9196,
434,
326,
2653,
225,
1744,
3779,
12,
4559,
20,
11008,
18,
1985,
16,
2704,
348,
48,
20,
11008,
10663,
9506,
225,
368,
1744,
326,
21598,
1399,
635,
2521,
225,
1744,
51,
19610,
12,
1653,
4066,
3630,
10998,
51,
19610,
18,
1985,
16,
478,
2579,
37,
3630,
10998,
51,
19610,
18,
1336,
10663,
202,
225,
2332,
18,
659,
18,
8222,
2932,
2503,
7766,
3630,
848,
506,
1399,
358,
1842,
326,
10098,
6783,
16,
326,
348,
48,
20,
6783,
16,
471,
326,
478,
625,
69,
17,
3630,
17,
10998,
21598,
1199,
1769,
225,
2332,
18,
659,
18,
8222,
2932,
3826,
518,
392,
10098,
883,
16,
8272,
2653,
1569,
353,
444,
358,
478,
2579,
37,
17,
4559,
20,
471,
8272,
21598,
1569,
353,
444,
358,
284,
625,
69,
17,
5629,
17,
17381,
18,
14988,
2347,
21329,
1199,
1769,
225,
10098,
2678,
2082,
273,
394,
10098,
2678,
12,
3163,
18,
267,
1769,
225,
10098,
1079,
1234,
31,
225,
1323,
261,
3767,
13,
288,
1377,
775,
288,
1377,
1234,
273,
2082,
18,
1079,
5621,
1377,
987,
328,
33,
8004,
1350,
12,
3576,
1769,
1377,
364,
261,
474,
277,
33,
20,
31,
277,
32,
80,
18,
1467,
5621,
277,
27245,
202,
3163,
18,
659,
18,
8222,
12,
80,
18,
588,
12,
77,
2934,
588,
797,
7675,
10492,
10663,
1377,
1234,
273,
1234,
18,
2640,
7817,
5621,
1377,
1234,
18,
542,
4990,
1535,
12,
9486,
1079,
18,
706,
4983,
1769,
1377,
1234,
18,
542,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
3875,
1435,
288,
225,
368,
1744,
326,
9196,
434,
326,
2653,
225,
1744,
3779,
12,
4559,
20,
11008,
18,
1985,
16,
2704,
348,
48,
20,
11008,
10663,
9506,
225,
368,
1744,
326,
21598,
1399,
635,
2521,
225,
1744,
51,
19610,
12,
1653,
4066,
3630,
10998,
51,
19610,
18,
1985,
16,
478,
2579,
37,
3630,
10998,
51,
19610,
18,
1336,
10663,
202,
225,
2332,
18,
659,
18,
8222,
2932,
2503,
7766,
3630,
848,
506,
1399,
358,
1842,
326,
10098,
6783,
16,
326,
348,
48,
20,
6783,
16,
471,
326,
478,
625,
69,
17,
3630,
17,
10998,
21598,
1199,
1769,
225,
2332,
18,
659,
18,
8222,
2932,
3826,
518,
392,
10098,
883,
16,
8272,
2653,
1569,
353,
444,
358,
2
] |
monitor.beginTask("Doing something in background", 100);
|
monitor.beginTask("Doing something in background", 100);
|
public void run(IAction action) { final IWorkspace workspace = ResourcesPlugin.getWorkspace(); Job job = new WorkspaceJob("Background job") { public IStatus runInWorkspace(IProgressMonitor monitor) throws CoreException { monitor.beginTask("Doing something in background", 100); for (int i = 0; i < 100; i++) { try { Thread.sleep(100); } catch (InterruptedException e) { } monitor.worked(1); } return Status.OK_STATUS; } }; job.setRule(workspace.getRoot()); job.schedule(); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/c96c4f274dd5c81e1339f85c32a8a6669c73643f/JobAction.java/buggy/examples/org.eclipse.ui.examples.job/src/org/eclipse/ui/examples/jobs/actions/JobAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
12,
45,
1803,
1301,
13,
288,
202,
202,
6385,
467,
8241,
6003,
273,
8128,
3773,
18,
588,
8241,
5621,
202,
202,
2278,
1719,
273,
394,
14396,
2278,
2932,
8199,
1719,
7923,
288,
1082,
202,
482,
467,
1482,
1086,
382,
8241,
12,
45,
5491,
7187,
6438,
13,
1216,
30015,
288,
9506,
202,
10259,
18,
10086,
2174,
2932,
3244,
310,
5943,
316,
5412,
3113,
2130,
1769,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2130,
31,
277,
27245,
288,
6862,
202,
698,
288,
25083,
202,
3830,
18,
19607,
12,
6625,
1769,
6862,
202,
97,
1044,
261,
24485,
503,
425,
13,
288,
6862,
202,
97,
6862,
202,
10259,
18,
1252,
329,
12,
21,
1769,
9506,
202,
97,
9506,
202,
2463,
2685,
18,
3141,
67,
8608,
31,
1082,
202,
97,
202,
202,
20451,
202,
202,
4688,
18,
542,
2175,
12,
14915,
18,
588,
2375,
10663,
202,
202,
4688,
18,
10676,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
12,
45,
1803,
1301,
13,
288,
202,
202,
6385,
467,
8241,
6003,
273,
8128,
3773,
18,
588,
8241,
5621,
202,
202,
2278,
1719,
273,
394,
14396,
2278,
2932,
8199,
1719,
7923,
288,
1082,
202,
482,
467,
1482,
1086,
382,
8241,
12,
45,
5491,
7187,
6438,
13,
1216,
30015,
288,
9506,
202,
10259,
18,
10086,
2174,
2932,
3244,
310,
5943,
316,
5412,
3113,
2130,
1769,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2130,
31,
277,
27245,
288,
6862,
202,
698,
288,
25083,
202,
3830,
18,
19607,
12,
6625,
1769,
6862,
202,
97,
1044,
261,
24485,
503,
425,
13,
288,
6862,
202,
97,
6862,
202,
10259,
18,
1252,
329,
12,
21,
1769,
2
] |
writeWarning(getClass()+": writeGraphicsSave() not implemented.");
|
writeWarning(getClass() + ": writeGraphicsSave() not implemented.");
|
protected void writeGraphicsSave() throws IOException { writeWarning(getClass()+": writeGraphicsSave() not implemented."); // Write a graphics context save. // If the output format does not support this, keep a stack yourself. }
|
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/f1a2e8bd347e294e5391728379b76d4500a7093d/DummyGraphics2D.java/clean/freehep-graphicsio/src/main/java/org/freehep/graphicsio/DummyGraphics2D.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1045,
17558,
4755,
1435,
1216,
1860,
288,
3639,
1045,
6210,
12,
588,
797,
1435,
397,
6398,
1045,
17558,
4755,
1435,
486,
8249,
1199,
1769,
3639,
368,
2598,
279,
17313,
819,
1923,
18,
3639,
368,
971,
326,
876,
740,
1552,
486,
2865,
333,
16,
3455,
279,
2110,
3433,
2890,
18,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1045,
17558,
4755,
1435,
1216,
1860,
288,
3639,
1045,
6210,
12,
588,
797,
1435,
397,
6398,
1045,
17558,
4755,
1435,
486,
8249,
1199,
1769,
3639,
368,
2598,
279,
17313,
819,
1923,
18,
3639,
368,
971,
326,
876,
740,
1552,
486,
2865,
333,
16,
3455,
279,
2110,
3433,
2890,
18,
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
] |
CParseCompilationUnitContext context ) throws RecognitionException, TokenStreamException {
|
CParseCompilationUnitContext context ) throws RecognitionException, TokenStreamException {
|
private final void jImportDeclaration( CParseCompilationUnitContext context ) throws RecognitionException, TokenStreamException { Token i = null; Token j = null; StringBuffer buffer = null; boolean star = false; String name = null; match(LITERAL_import); i = LT(1); match(IDENT); { _loop12: do { if ((LA(1)==DOT) && (LA(2)==IDENT)) { match(DOT); j = LT(1); match(IDENT); if ( inputState.guessing==0 ) { (buffer == null ? (buffer = new StringBuffer(i.getText())) : buffer).append('/').append(j.getText()); } } else { break _loop12; } } while (true); } if ( inputState.guessing==0 ) { name = buffer == null ? i.getText() : buffer.toString(); } { switch ( LA(1)) { case DOT: { match(DOT); match(STAR); if ( inputState.guessing==0 ) { star = true; } break; } case SEMI: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } match(SEMI); if ( inputState.guessing==0 ) { if (star) { context.addPackageImport(new JPackageImport(buildTokenReference(), name, getStatementComment())); } else { context.addClassImport(new JClassImport(buildTokenReference(), name, getStatementComment())); } } }
|
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/c9be56e8c6581d1552b6de0f72991e64e54ec601/KjcParser.java/buggy/streams/src/at/dms/kjc/KjcParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
727,
918,
525,
5010,
6094,
12,
202,
202,
39,
3201,
19184,
2802,
1042,
819,
202,
13,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
1345,
225,
277,
273,
446,
31,
202,
202,
1345,
225,
525,
273,
446,
31,
9506,
202,
780,
1892,
202,
4106,
273,
446,
31,
202,
202,
6494,
202,
10983,
273,
629,
31,
202,
202,
780,
202,
529,
273,
446,
31,
25083,
202,
1916,
12,
23225,
67,
5666,
1769,
202,
202,
77,
273,
11807,
12,
21,
1769,
202,
202,
1916,
12,
13355,
1769,
202,
202,
95,
202,
202,
67,
6498,
2138,
30,
202,
202,
2896,
288,
1082,
202,
430,
14015,
2534,
12,
21,
13,
631,
17591,
13,
597,
261,
2534,
12,
22,
13,
631,
13355,
3719,
288,
9506,
202,
1916,
12,
17591,
1769,
9506,
202,
78,
273,
11807,
12,
21,
1769,
9506,
202,
1916,
12,
13355,
1769,
9506,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
6862,
202,
12,
4106,
422,
446,
692,
261,
4106,
273,
394,
6674,
12,
77,
18,
588,
1528,
1435,
3719,
294,
1613,
2934,
6923,
2668,
2473,
2934,
6923,
12,
78,
18,
588,
1528,
10663,
9506,
202,
97,
1082,
202,
97,
1082,
202,
12107,
288,
9506,
202,
8820,
389,
6498,
2138,
31,
1082,
202,
97,
6862,
202,
97,
1323,
261,
3767,
1769,
202,
202,
97,
202,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
1082,
202,
529,
273,
1613,
422,
446,
692,
277,
18,
588,
1528,
1435,
294,
1613,
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,
727,
918,
525,
5010,
6094,
12,
202,
202,
39,
3201,
19184,
2802,
1042,
819,
202,
13,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
1345,
225,
277,
273,
446,
31,
202,
202,
1345,
225,
525,
273,
446,
31,
9506,
202,
780,
1892,
202,
4106,
273,
446,
31,
202,
202,
6494,
202,
10983,
273,
629,
31,
202,
202,
780,
202,
529,
273,
446,
31,
25083,
202,
1916,
12,
23225,
67,
5666,
1769,
202,
202,
77,
273,
11807,
12,
21,
1769,
202,
202,
1916,
12,
13355,
1769,
202,
202,
95,
202,
202,
67,
6498,
2138,
30,
202,
202,
2896,
288,
1082,
202,
430,
14015,
2534,
12,
21,
13,
631,
17591,
13,
597,
261,
2534,
12,
22,
13,
2
] |
message.setIcon(RED_DISK);
|
message.setIcon(LOADING);
|
public void run() { int requestCount = threadPool.getRequestCount(); if(requestCount == 0) { setMessageAndClear(jEdit.getProperty( "view.status.io.done")); message.setIcon(BLUE_DISK); } else if(requestCount == 1) { setMessage(jEdit.getProperty( "view.status.io-1")); message.setIcon(RED_DISK); } else { Object[] args = { new Integer(requestCount) }; setMessage(jEdit.getProperty( "view.status.io",args)); message.setIcon(RED_DISK); } }
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/bbab12baa0a51912bf514b2bd5d48199075a8b2f/StatusBar.java/buggy/org/gjt/sp/jedit/gui/StatusBar.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
1082,
202,
95,
9506,
202,
474,
590,
1380,
273,
2650,
2864,
18,
588,
691,
1380,
5621,
9506,
202,
430,
12,
2293,
1380,
422,
374,
13,
9506,
202,
95,
6862,
202,
542,
1079,
1876,
9094,
12,
78,
4666,
18,
588,
1396,
12,
25083,
202,
6,
1945,
18,
2327,
18,
1594,
18,
8734,
7923,
1769,
6862,
202,
2150,
18,
542,
5554,
12,
14618,
1821,
67,
2565,
11129,
1769,
9506,
202,
97,
9506,
202,
12107,
309,
12,
2293,
1380,
422,
404,
13,
9506,
202,
95,
6862,
202,
542,
1079,
12,
78,
4666,
18,
588,
1396,
12,
25083,
202,
6,
1945,
18,
2327,
18,
1594,
17,
21,
7923,
1769,
6862,
202,
2150,
18,
542,
5554,
12,
5879,
67,
2565,
11129,
1769,
9506,
202,
97,
9506,
202,
12107,
9506,
202,
95,
6862,
202,
921,
8526,
833,
273,
288,
394,
2144,
12,
2293,
1380,
13,
289,
31,
6862,
202,
542,
1079,
12,
78,
4666,
18,
588,
1396,
12,
25083,
202,
6,
1945,
18,
2327,
18,
1594,
3113,
1968,
10019,
6862,
202,
2150,
18,
542,
5554,
12,
5879,
67,
2565,
11129,
1769,
9506,
202,
97,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
1082,
202,
95,
9506,
202,
474,
590,
1380,
273,
2650,
2864,
18,
588,
691,
1380,
5621,
9506,
202,
430,
12,
2293,
1380,
422,
374,
13,
9506,
202,
95,
6862,
202,
542,
1079,
1876,
9094,
12,
78,
4666,
18,
588,
1396,
12,
25083,
202,
6,
1945,
18,
2327,
18,
1594,
18,
8734,
7923,
1769,
6862,
202,
2150,
18,
542,
5554,
12,
14618,
1821,
67,
2565,
11129,
1769,
9506,
202,
97,
9506,
202,
12107,
309,
12,
2293,
1380,
422,
404,
13,
9506,
202,
95,
6862,
202,
542,
1079,
12,
78,
4666,
18,
588,
1396,
12,
25083,
202,
6,
1945,
18,
2327,
18,
1594,
17,
21,
7923,
1769,
6862,
202,
2150,
18,
542,
5554,
12,
5879,
2
] |
if (linkTargetFile.exists() == false) {
|
if (linkTargetFile.exists()) { IStatus fileTypeStatus = validateFileType(linkTargetFile); if (fileTypeStatus.isOK() == false) return fileTypeStatus; } else if (locationStatus.getSeverity() == IStatus.OK) {
|
public IStatus validateLinkLocation(IResource linkHandle) { if (linkTargetField == null || linkTargetField.isDisposed()) return createStatus(IStatus.OK, ""); //$NON-NLS-1$ IWorkspace workspace = WorkbenchPlugin.getPluginWorkspace(); String linkTargetName = linkTargetField.getText(); IPath path = new Path(linkTargetName); if (createLink == false) return createStatus(IStatus.OK, ""); //$NON-NLS-1$ IStatus locationStatus = workspace.validateLinkLocation(linkHandle, path); if (locationStatus.getSeverity() != IStatus.OK) { return locationStatus; } // use the resolved link target name linkTargetName = resolvedPathLabelData.getText(); path = new Path(linkTargetName); File linkTargetFile = new Path(linkTargetName).toFile(); if (linkTargetFile.exists() == false) { return createStatus( IStatus.WARNING, WorkbenchMessages.getString("CreateLinkedResourceGroup.linkTargetNonExistent")); //$NON-NLS-1$ } IStatus fileTypeStatus = validateFileType(linkTargetFile); if (fileTypeStatus.isOK() == false) { return fileTypeStatus; } return locationStatus;}
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/1249a6d5d0d0b1943d05cb5937bcd35b679a88d7/CreateLinkedResourceGroup.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/CreateLinkedResourceGroup.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
467,
1482,
1954,
2098,
2735,
12,
45,
1420,
1692,
3259,
13,
288,
202,
430,
261,
1232,
2326,
974,
422,
446,
747,
1692,
2326,
974,
18,
291,
1669,
7423,
10756,
202,
202,
2463,
752,
1482,
12,
45,
1482,
18,
3141,
16,
1408,
1769,
202,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
45,
8241,
6003,
273,
4147,
22144,
3773,
18,
588,
3773,
8241,
5621,
202,
780,
1692,
2326,
461,
273,
1692,
2326,
974,
18,
588,
1528,
5621,
202,
45,
743,
589,
273,
394,
2666,
12,
1232,
2326,
461,
1769,
202,
202,
430,
261,
2640,
2098,
422,
629,
13,
202,
202,
2463,
752,
1482,
12,
45,
1482,
18,
3141,
16,
1408,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
45,
1482,
2117,
1482,
273,
6003,
18,
5662,
2098,
2735,
12,
1232,
3259,
16,
202,
803,
1769,
202,
430,
261,
3562,
1482,
18,
588,
21630,
1435,
480,
467,
1482,
18,
3141,
13,
288,
202,
202,
2463,
2117,
1482,
31,
202,
97,
202,
759,
999,
326,
4640,
1692,
1018,
508,
202,
1232,
2326,
461,
273,
4640,
743,
2224,
751,
18,
588,
1528,
5621,
202,
803,
273,
394,
2666,
12,
1232,
2326,
461,
1769,
202,
812,
1692,
2326,
812,
273,
394,
2666,
12,
1232,
2326,
461,
2934,
869,
812,
5621,
202,
430,
261,
1232,
2326,
812,
18,
1808,
1435,
422,
629,
13,
288,
202,
202,
2463,
752,
1482,
12,
1082,
202,
45,
1482,
18,
9511,
16,
1082,
202,
2421,
22144,
5058,
18,
588,
780,
2932,
1684,
13174,
18860,
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,
467,
1482,
1954,
2098,
2735,
12,
45,
1420,
1692,
3259,
13,
288,
202,
430,
261,
1232,
2326,
974,
422,
446,
747,
1692,
2326,
974,
18,
291,
1669,
7423,
10756,
202,
202,
2463,
752,
1482,
12,
45,
1482,
18,
3141,
16,
1408,
1769,
202,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
45,
8241,
6003,
273,
4147,
22144,
3773,
18,
588,
3773,
8241,
5621,
202,
780,
1692,
2326,
461,
273,
1692,
2326,
974,
18,
588,
1528,
5621,
202,
45,
743,
589,
273,
394,
2666,
12,
1232,
2326,
461,
1769,
202,
202,
430,
261,
2640,
2098,
422,
629,
13,
202,
202,
2463,
752,
1482,
12,
45,
1482,
18,
3141,
16,
1408,
1769,
4329,
3993,
17,
5106,
17,
21,
2
] |
final boolean isVersionECMA1() {
|
final boolean isVersionECMA1() {
|
final boolean isVersionECMA1() { return version == VERSION_DEFAULT || version >= VERSION_1_3; }
|
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/5586a284813f024a7d52061d1ea71ae99876066e/Context.java/buggy/js/rhino/src/org/mozilla/javascript/Context.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
727,
1250,
353,
1444,
7228,
5535,
21,
1435,
288,
3639,
327,
1177,
422,
8456,
67,
5280,
747,
1177,
1545,
8456,
67,
21,
67,
23,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
727,
1250,
353,
1444,
7228,
5535,
21,
1435,
288,
3639,
327,
1177,
422,
8456,
67,
5280,
747,
1177,
1545,
8456,
67,
21,
67,
23,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
count += is.read(payload, count, payload.length - count);
|
int n = is.read(payload, count, payload.length - count); if (n == -1) { throw new SessionAbortedException(); } count += n;
|
private void processNextFrame() throws BEEPException, IOException { if (Log.isLogged(Log.SEV_DEBUG_VERBOSE)) { Log.logEntry(Log.SEV_DEBUG_VERBOSE, TCP_MAPPING, "Processing next frame"); } int length = 0; InputStream is = socket.getInputStream(); headerBuffer[SEQ_LENGTH] = 0; while (true) { int b = is.read(); if (b == -1) { throw new BEEPException("Malformed BEEP header, EOS"); } headerBuffer[length] = (byte) b; if (headerBuffer[length] == '\n') { if ((length == 0) || (headerBuffer[length - 1] != '\r')) { throw new BEEPException("Malformed BEEP header"); } break; } ++length; if (length == Frame.MAX_HEADER_SIZE) { throw new BEEPException("Malformed BEEP header, no CRLF"); } } if (Log.isLogged(Log.SEV_DEBUG)) { Log.logEntry(Log.SEV_DEBUG, TCP_MAPPING, "Processing: " + new String(headerBuffer, 0, length)); } // If this is not a SEQ frame build a <code>Frame</code> and // read in the payload and verify the TRAILER. if (headerBuffer[0] != (byte) SEQ_PREFIX.charAt(0)) { Frame f = super.createFrame(headerBuffer, length); byte[] payload = new byte[f.getSize()]; for (int count = 0; count < payload.length; ) { count += is.read(payload, count, payload.length - count); } if (Log.isLogged(Log.SEV_DEBUG_VERBOSE)) { Log.logEntry(Log.SEV_DEBUG_VERBOSE, TCP_MAPPING, new String(payload)); } for (int i = 0; i < Frame.TRAILER.length(); ++i) { int b = is.read(); if (b == -1) { throw new BEEPException("Malformed BEEP frame, " + "trailer not found"); } if (((byte) b) != ((byte) Frame.TRAILER.charAt(i))) { throw new BEEPException("Malformed BEEP frame, " + "invalid trailer"); } } f.addPayload(new Frame.BufferSegment(payload)); super.postFrame(f); return; } // Process the header StringTokenizer st = new StringTokenizer(new String(headerBuffer, 0, length)); if (st.countTokens() != 4) { // This should just shut the session down. Log.logEntry(Log.SEV_ERROR, TCP_MAPPING, "Malformed BEEP header"); throw new BEEPException("Malformed BEEP header"); } // Skip the SEQ if (st.nextToken().equals("SEQ") == false) { throw new BEEPException("Malformed BEEP header"); } // Read the Channel Number int channelNum = Integer.parseInt(st.nextToken()); // Read the Ack Number long ackNum = Long.parseLong(st.nextToken()); // Read the Window Number int window = Integer.parseInt(st.nextToken()); // update the channel with the new receive window size this.updatePeerReceiveBufferSize(channelNum, ackNum, window); }
|
11902 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11902/82c5bd53eb8b44b7fce5a9b80d36e6eaf5b546b1/TCPSession.java/clean/src/org/beepcore/beep/transport/tcp/TCPSession.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
2134,
3219,
1435,
1216,
605,
9383,
52,
503,
16,
1860,
565,
288,
3639,
309,
261,
1343,
18,
291,
19862,
12,
1343,
18,
1090,
58,
67,
9394,
67,
21900,
3719,
288,
5411,
1827,
18,
1330,
1622,
12,
1343,
18,
1090,
58,
67,
9394,
67,
21900,
16,
9911,
67,
20450,
16,
7682,
315,
7798,
1024,
2623,
8863,
3639,
289,
3639,
509,
769,
273,
374,
31,
3639,
5037,
353,
273,
2987,
18,
588,
4348,
5621,
3639,
1446,
1892,
63,
28114,
67,
7096,
65,
273,
374,
31,
3639,
1323,
261,
3767,
13,
288,
5411,
509,
324,
273,
353,
18,
896,
5621,
5411,
309,
261,
70,
422,
300,
21,
13,
288,
7734,
604,
394,
605,
9383,
52,
503,
2932,
18695,
605,
9383,
52,
1446,
16,
512,
4618,
8863,
5411,
289,
5411,
1446,
1892,
63,
2469,
65,
273,
261,
7229,
13,
324,
31,
5411,
309,
261,
3374,
1892,
63,
2469,
65,
422,
2337,
82,
6134,
288,
7734,
309,
14015,
2469,
422,
374,
13,
747,
261,
3374,
1892,
63,
2469,
300,
404,
65,
480,
2337,
86,
26112,
288,
10792,
604,
394,
605,
9383,
52,
503,
2932,
18695,
605,
9383,
52,
1446,
8863,
7734,
289,
7734,
898,
31,
5411,
289,
5411,
965,
2469,
31,
5411,
309,
261,
2469,
422,
8058,
18,
6694,
67,
7557,
67,
4574,
13,
288,
7734,
604,
394,
605,
9383,
52,
503,
2932,
18695,
605,
9383,
52,
1446,
16,
1158,
21791,
8863,
5411,
289,
3639,
289,
3639,
309,
261,
1343,
18,
291,
19862,
12,
1343,
18,
1090,
58,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
2134,
3219,
1435,
1216,
605,
9383,
52,
503,
16,
1860,
565,
288,
3639,
309,
261,
1343,
18,
291,
19862,
12,
1343,
18,
1090,
58,
67,
9394,
67,
21900,
3719,
288,
5411,
1827,
18,
1330,
1622,
12,
1343,
18,
1090,
58,
67,
9394,
67,
21900,
16,
9911,
67,
20450,
16,
7682,
315,
7798,
1024,
2623,
8863,
3639,
289,
3639,
509,
769,
273,
374,
31,
3639,
5037,
353,
273,
2987,
18,
588,
4348,
5621,
3639,
1446,
1892,
63,
28114,
67,
7096,
65,
273,
374,
31,
3639,
1323,
261,
3767,
13,
288,
5411,
509,
324,
273,
353,
18,
896,
5621,
5411,
309,
261,
70,
422,
300,
21,
13,
288,
7734,
604,
394,
605,
9383,
52,
503,
2932,
18695,
2
] |
Global.getInstance(global).setErr(err);
|
Global.getInstance(getGlobal()).setErr(err);
|
public static void setErr(PrintStream err) { Global.getInstance(global).setErr(err); }
|
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/eec81fb9524ff9e756fba8825ce3e699262c04a1/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
444,
2524,
12,
5108,
1228,
393,
13,
288,
3639,
8510,
18,
588,
1442,
12,
588,
5160,
1435,
2934,
542,
2524,
12,
370,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
444,
2524,
12,
5108,
1228,
393,
13,
288,
3639,
8510,
18,
588,
1442,
12,
588,
5160,
1435,
2934,
542,
2524,
12,
370,
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
] |
throw new IllegalSymbolException("No Symbol for " + c);
|
throw new IllegalSymbolException("No Symbol for " + c);
|
public Symbol decode(byte call) throws IllegalSymbolException { char c = (char) call; switch (c) { case 'a': case 'A': return DNATools.a(); case 'c': case 'C': return DNATools.c(); case 'g': case 'G': return DNATools.g(); case 't': case 'T': return DNATools.t(); case 'n': case 'N': return DNATools.n(); case '-': return DNATools.getDNA().getGapSymbol(); default: throw new IllegalSymbolException("No Symbol for " + c); } }
|
50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/eb6d8b74a887e2fafe71e2381fbc7ea25ca32c73/SCF.java/clean/src/org/biojava/bio/program/scf/SCF.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
8565,
2495,
12,
7229,
745,
13,
1216,
2141,
5335,
503,
288,
5411,
1149,
276,
273,
261,
3001,
13,
745,
31,
5411,
1620,
261,
71,
13,
288,
7734,
648,
296,
69,
4278,
648,
296,
37,
4278,
10792,
327,
463,
11277,
10348,
18,
69,
5621,
7734,
648,
296,
71,
4278,
648,
296,
39,
4278,
10792,
327,
463,
11277,
10348,
18,
71,
5621,
7734,
648,
296,
75,
4278,
648,
296,
43,
4278,
10792,
327,
463,
11277,
10348,
18,
75,
5621,
7734,
648,
296,
88,
4278,
648,
296,
56,
4278,
10792,
327,
463,
11277,
10348,
18,
88,
5621,
7734,
648,
296,
82,
4278,
648,
296,
50,
4278,
10792,
327,
463,
11277,
10348,
18,
82,
5621,
7734,
648,
4014,
30,
10792,
327,
463,
11277,
10348,
18,
588,
8609,
37,
7675,
588,
14001,
5335,
5621,
7734,
805,
30,
10792,
604,
394,
2141,
5335,
503,
2932,
2279,
8565,
364,
315,
397,
276,
1769,
5411,
289,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
8565,
2495,
12,
7229,
745,
13,
1216,
2141,
5335,
503,
288,
5411,
1149,
276,
273,
261,
3001,
13,
745,
31,
5411,
1620,
261,
71,
13,
288,
7734,
648,
296,
69,
4278,
648,
296,
37,
4278,
10792,
327,
463,
11277,
10348,
18,
69,
5621,
7734,
648,
296,
71,
4278,
648,
296,
39,
4278,
10792,
327,
463,
11277,
10348,
18,
71,
5621,
7734,
648,
296,
75,
4278,
648,
296,
43,
4278,
10792,
327,
463,
11277,
10348,
18,
75,
5621,
7734,
648,
296,
88,
4278,
648,
296,
56,
4278,
10792,
327,
463,
11277,
10348,
18,
88,
5621,
7734,
648,
296,
82,
4278,
648,
296,
50,
4278,
10792,
327,
463,
11277,
10348,
18,
82,
5621,
7734,
648,
4014,
30,
10792,
327,
2
] |
if (access.getText() != null) {
|
if (access.getText() != null && access.getText().length() > 0) {
|
public void onTurnReached(int currentTurn, String message) { if (!access.isFinished()) { TurnNotifier.get().notifyInTurns(3, new WikipediaWaiter(engine, access), null); return; } if (access.getError() != null) { engine.say("Sorry, I cannot access the bookcase at the moment"); return; } if (access.getText() != null) { String content = access.getProcessedText(); engine.say(content); } else { engine.say("Sorry, this book has still to be written"); } }
|
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/8a740775e72e23886b59082ddec52a426650a509/AdosCityInside.java/buggy/src/games/stendhal/server/maps/ados/AdosCityInside.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
603,
15858,
23646,
12,
474,
783,
15858,
16,
514,
883,
13,
288,
1082,
202,
430,
16051,
3860,
18,
291,
10577,
10756,
288,
9506,
202,
15858,
14889,
18,
588,
7675,
12336,
382,
31873,
12,
23,
16,
394,
678,
16049,
5480,
264,
12,
8944,
16,
2006,
3631,
446,
1769,
9506,
202,
2463,
31,
1082,
202,
97,
1082,
202,
430,
261,
3860,
18,
588,
668,
1435,
480,
446,
13,
288,
9506,
202,
8944,
18,
87,
528,
2932,
28898,
16,
467,
2780,
2006,
326,
6978,
3593,
622,
326,
10382,
8863,
9506,
202,
2463,
31,
1082,
202,
97,
1082,
202,
430,
261,
3860,
18,
588,
1528,
1435,
480,
446,
13,
288,
9506,
202,
780,
913,
273,
2006,
18,
588,
13533,
1528,
5621,
9506,
202,
8944,
18,
87,
528,
12,
1745,
1769,
1082,
202,
97,
469,
288,
9506,
202,
8944,
18,
87,
528,
2932,
28898,
16,
333,
6978,
711,
4859,
358,
506,
5941,
8863,
1082,
202,
97,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
603,
15858,
23646,
12,
474,
783,
15858,
16,
514,
883,
13,
288,
1082,
202,
430,
16051,
3860,
18,
291,
10577,
10756,
288,
9506,
202,
15858,
14889,
18,
588,
7675,
12336,
382,
31873,
12,
23,
16,
394,
678,
16049,
5480,
264,
12,
8944,
16,
2006,
3631,
446,
1769,
9506,
202,
2463,
31,
1082,
202,
97,
1082,
202,
430,
261,
3860,
18,
588,
668,
1435,
480,
446,
13,
288,
9506,
202,
8944,
18,
87,
528,
2932,
28898,
16,
467,
2780,
2006,
326,
6978,
3593,
622,
326,
10382,
8863,
9506,
202,
2463,
31,
1082,
202,
97,
1082,
202,
430,
261,
3860,
18,
588,
1528,
1435,
480,
446,
13,
288,
9506,
202,
780,
913,
273,
2006,
18,
588,
13533,
2
] |
statements.add("alter table table " + schemaName + "." + oldTableName + " rename to " + schemaName + "." + newTableName);
|
statements.add("alter table " + schemaName + "." + oldTableName + " rename to " + newTableName);
|
public void doRename(Rename action, List statements) throws Exception { String schemaName = action.getRenameTableSchema() == null ? action .getDataSetSchemaName() : action.getRenameTableSchema() .getName(); String oldTableName = action.getRenameTableOldName(); String newTableName = action.getRenameTableNewName(); statements.add("alter table table " + schemaName + "." + oldTableName + " rename to " + schemaName + "." + newTableName); }
|
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/c99f5719792c1057e153fcfd6a0e8076addad103/OracleDialect.java/clean/src/java/org/biomart/builder/controller/dialects/OracleDialect.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
16019,
12,
16019,
1301,
16,
987,
6317,
13,
1216,
1185,
288,
202,
202,
780,
21960,
273,
1301,
18,
588,
16019,
1388,
3078,
1435,
422,
446,
692,
1301,
9506,
202,
18,
588,
13676,
3078,
461,
1435,
294,
1301,
18,
588,
16019,
1388,
3078,
1435,
9506,
202,
18,
17994,
5621,
202,
202,
780,
1592,
7147,
273,
1301,
18,
588,
16019,
1388,
7617,
461,
5621,
202,
202,
780,
394,
7147,
273,
1301,
18,
588,
16019,
1388,
1908,
461,
5621,
202,
202,
18393,
18,
1289,
2932,
22628,
1014,
1014,
315,
397,
21960,
397,
4585,
397,
1592,
7147,
9506,
202,
15,
315,
6472,
358,
315,
397,
21960,
397,
4585,
397,
394,
7147,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
16019,
12,
16019,
1301,
16,
987,
6317,
13,
1216,
1185,
288,
202,
202,
780,
21960,
273,
1301,
18,
588,
16019,
1388,
3078,
1435,
422,
446,
692,
1301,
9506,
202,
18,
588,
13676,
3078,
461,
1435,
294,
1301,
18,
588,
16019,
1388,
3078,
1435,
9506,
202,
18,
17994,
5621,
202,
202,
780,
1592,
7147,
273,
1301,
18,
588,
16019,
1388,
7617,
461,
5621,
202,
202,
780,
394,
7147,
273,
1301,
18,
588,
16019,
1388,
1908,
461,
5621,
202,
202,
18393,
18,
1289,
2932,
22628,
1014,
1014,
315,
397,
21960,
397,
4585,
397,
1592,
7147,
9506,
202,
15,
315,
6472,
358,
315,
397,
21960,
397,
4585,
397,
394,
7147,
1769,
202,
97,
2,
-100,
-100,
-100,
-100
] |
public org.quickfix.field.UnderlyingCountryOfIssue getUnderlyingCountryOfIssue() throws FieldNotFound { org.quickfix.field.UnderlyingCountryOfIssue value = new org.quickfix.field.UnderlyingCountryOfIssue();
|
public quickfix.field.UnderlyingCountryOfIssue getUnderlyingCountryOfIssue() throws FieldNotFound { quickfix.field.UnderlyingCountryOfIssue value = new quickfix.field.UnderlyingCountryOfIssue();
|
public org.quickfix.field.UnderlyingCountryOfIssue getUnderlyingCountryOfIssue() throws FieldNotFound { org.quickfix.field.UnderlyingCountryOfIssue value = new org.quickfix.field.UnderlyingCountryOfIssue(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteCancel.java/buggy/src/java/src/quickfix/fix44/QuoteCancel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8142,
951,
12956,
10833,
765,
6291,
8142,
951,
12956,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8142,
951,
12956,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8142,
951,
12956,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8142,
951,
12956,
10833,
765,
6291,
8142,
951,
12956,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8142,
951,
12956,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8142,
951,
12956,
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
] |
Node processed = j.commandv.process(node,j);
|
Node processed = j.preprocess(node);
|
public Node parseProcSimpEval(String expr,Object expected) throws ParseException,Exception { Node node = j.parse(expr); Node processed = j.commandv.process(node,j); Node simp = j.simplify(processed); Object res = j.evaluate(simp); if(!expected.equals(res)) System.out.println("Error: Value of \""+expr+"\" is \""+res+"\" should be \""+expected+"\""); assertEquals("<"+expr+">",expected,res); System.out.println("Sucess: Value of \""+expr+"\" is \""+res+"\""); return simp; }
|
54194 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54194/4f303d30b1e9325b8e6560f423a82b2e3baee2a7/XJepTest.java/buggy/src/org/lsmp/djepJUnit/XJepTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2029,
1109,
15417,
7993,
84,
13904,
12,
780,
3065,
16,
921,
2665,
13,
1216,
10616,
16,
503,
202,
95,
202,
202,
907,
756,
273,
525,
18,
2670,
12,
8638,
1769,
202,
202,
907,
5204,
273,
525,
18,
3076,
90,
18,
2567,
12,
2159,
16,
78,
1769,
202,
202,
907,
3142,
84,
273,
525,
18,
9812,
412,
1164,
12,
11005,
1769,
202,
202,
921,
400,
273,
525,
18,
21024,
12,
9812,
84,
1769,
9506,
202,
430,
12,
5,
3825,
18,
14963,
12,
455,
3719,
6862,
202,
3163,
18,
659,
18,
8222,
2932,
668,
30,
1445,
434,
11843,
15,
8638,
9078,
2412,
353,
11843,
15,
455,
9078,
2412,
1410,
506,
11843,
15,
3825,
9078,
8530,
1769,
202,
202,
11231,
8867,
2932,
32,
6,
15,
8638,
9078,
2984,
16,
3825,
16,
455,
1769,
202,
202,
3163,
18,
659,
18,
8222,
2932,
17072,
614,
30,
1445,
434,
11843,
15,
8638,
9078,
2412,
353,
11843,
15,
455,
9078,
8530,
1769,
202,
202,
2463,
3142,
84,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2029,
1109,
15417,
7993,
84,
13904,
12,
780,
3065,
16,
921,
2665,
13,
1216,
10616,
16,
503,
202,
95,
202,
202,
907,
756,
273,
525,
18,
2670,
12,
8638,
1769,
202,
202,
907,
5204,
273,
525,
18,
3076,
90,
18,
2567,
12,
2159,
16,
78,
1769,
202,
202,
907,
3142,
84,
273,
525,
18,
9812,
412,
1164,
12,
11005,
1769,
202,
202,
921,
400,
273,
525,
18,
21024,
12,
9812,
84,
1769,
9506,
202,
430,
12,
5,
3825,
18,
14963,
12,
455,
3719,
6862,
202,
3163,
18,
659,
18,
8222,
2932,
668,
30,
1445,
434,
11843,
15,
8638,
9078,
2412,
353,
11843,
15,
455,
9078,
2412,
1410,
506,
11843,
15,
3825,
9078,
8530,
1769,
202,
202,
2
] |
public UserAlertManager() {
|
public UserAlertManager(NodeClientCore core) { this.core = core;
|
public UserAlertManager() { alerts = new HashSet(); }
|
50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/73ddfd0db1daa02b0880536dcbb3e653a614d21d/UserAlertManager.java/clean/src/freenet/node/useralerts/UserAlertManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2177,
13298,
1318,
1435,
288,
202,
202,
11798,
87,
273,
394,
6847,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
225,
202,
482,
2177,
13298,
1318,
1435,
288,
202,
202,
11798,
87,
273,
394,
6847,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 evaluateConstraints() { Closure constraintsClosure = (Closure)getPropertyOrStaticPropertyOrFieldValue( GrailsDomainClassProperty.CONSTRAINTS, Closure.class ); if(constraintsClosure != null) { BeanWrapper reference = getReference(); if (!GrailsClassUtils.isStaticProperty(getClazz(), GrailsDomainClassProperty.CONSTRAINTS)) { LOG.warn("Domain class ["+getFullName()+"] has non-static constraints. Constraints should be " + "declared static, non-static constraints are deprecated and will be removed in the future"); } GroovyObject instance = (GroovyObject)reference.getWrappedInstance(); try { DynamicMethods interceptor = new GroovyDynamicMethodsInterceptor(instance); interceptor.addDynamicProperty( new ConstraintsEvaluatingDynamicProperty() ); this.constraints = (Map)instance.getProperty(GrailsDomainClassProperty.CONSTRAINTS); } catch (IntrospectionException e) { LOG.error("Introspection error reading domain class ["+getFullName()+"] constraints: " + e.getMessage(), e); } } }
|
50129 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50129/49f52885c725208c5119f0543739f1548bbe79e3/DefaultGrailsDomainClass.java/clean/src/commons/org/codehaus/groovy/grails/commons/DefaultGrailsDomainClass.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
12307,
831,
4531,
340,
4878,
1435,
95,
10573,
11967,
10573,
28657,
10573,
13,
588,
1396,
1162,
5788,
1396,
1162,
13559,
12,
14571,
14573,
3748,
797,
1396,
18,
15199,
55,
16,
10573,
18,
1106,
1769,
430,
12,
11967,
10573,
5,
33,
2011,
15329,
3381,
3611,
6180,
33,
588,
2404,
5621,
430,
12,
5,
14571,
14573,
797,
1989,
18,
291,
5788,
1396,
12,
588,
14616,
9334,
14571,
14573,
3748,
797,
1396,
18,
15199,
55,
3719,
95,
4842,
18,
8935,
2932,
3748,
1106,
9614,
15,
588,
19223,
1435,
9078,
65,
5332,
5836,
17,
3845,
11967,
18,
4878,
13139,
2196,
6,
9078,
16571,
3845,
16,
5836,
17,
3845,
11967,
834,
14089,
464,
20194,
744,
351,
9952,
267,
5787,
14343,
8863,
97,
43,
12859,
921,
1336,
28657,
43,
12859,
921,
13,
6180,
18,
588,
17665,
1442,
5621,
698,
95,
9791,
4712,
2761,
6757,
33,
2704,
43,
12859,
9791,
4712,
10281,
12,
1336,
1769,
2761,
6757,
18,
1289,
9791,
1396,
12,
2704,
4878,
6644,
1776,
9791,
1396,
10663,
2211,
18,
11967,
28657,
863,
13,
1336,
18,
588,
1396,
12,
14571,
14573,
3748,
797,
1396,
18,
15199,
55,
1769,
97,
14683,
12,
1702,
26362,
503,
73,
15329,
4842,
18,
1636,
2932,
1702,
26362,
1636,
21803,
4308,
1106,
9614,
15,
588,
19223,
1435,
9078,
65,
11967,
2773,
15,
73,
18,
24906,
9334,
73,
1769,
9090,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
12307,
831,
4531,
340,
4878,
1435,
95,
10573,
11967,
10573,
28657,
10573,
13,
588,
1396,
1162,
5788,
1396,
1162,
13559,
12,
14571,
14573,
3748,
797,
1396,
18,
15199,
55,
16,
10573,
18,
1106,
1769,
430,
12,
11967,
10573,
5,
33,
2011,
15329,
3381,
3611,
6180,
33,
588,
2404,
5621,
430,
12,
5,
14571,
14573,
797,
1989,
18,
291,
5788,
1396,
12,
588,
14616,
9334,
14571,
14573,
3748,
797,
1396,
18,
15199,
55,
3719,
95,
4842,
18,
8935,
2932,
3748,
1106,
9614,
15,
588,
19223,
1435,
9078,
65,
5332,
5836,
17,
3845,
11967,
18,
4878,
13139,
2196,
6,
9078,
16571,
3845,
16,
5836,
17,
3845,
11967,
834,
14089,
464,
20194,
744,
351,
9952,
267,
5787,
14343,
8863,
97,
43,
2
] |
||
String o0 = getStringArg(evaluator, args, 0, null); String o1 = getStringArg(evaluator, args, 1, null); return o0 + o1;
|
Double o0 = getDoubleArg(evaluator, args, 0, null); if (o0 == null) { return null; } return new Double(- o0.doubleValue());
|
public Object evaluate(Evaluator evaluator, Exp[] args) { String o0 = getStringArg(evaluator, args, 0, null); String o1 = getStringArg(evaluator, args, 1, null); return o0 + o1; }
|
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/c9e00c64943ce43962e024696d2be989490b4a44/BuiltinFunTable.java/clean/src/main/mondrian/olap/fun/BuiltinFunTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
5956,
12,
15876,
18256,
16,
7784,
8526,
833,
13,
288,
7734,
514,
320,
20,
273,
4997,
4117,
12,
14168,
639,
16,
833,
16,
374,
16,
446,
1769,
7734,
514,
320,
21,
273,
4997,
4117,
12,
14168,
639,
16,
833,
16,
404,
16,
446,
1769,
7734,
327,
320,
20,
397,
320,
21,
31,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
5956,
12,
15876,
18256,
16,
7784,
8526,
833,
13,
288,
7734,
514,
320,
20,
273,
4997,
4117,
12,
14168,
639,
16,
833,
16,
374,
16,
446,
1769,
7734,
514,
320,
21,
273,
4997,
4117,
12,
14168,
639,
16,
833,
16,
404,
16,
446,
1769,
7734,
327,
320,
20,
397,
320,
21,
31,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public EmbeddedMozilla (String title, String binDir, String url) { super(title); System.out.println("constructed with " + url); addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { dispose(); // should close the BrowserControlCanvas } public void windowClosed(WindowEvent e) { System.exit(0); } }); setSize(defaultWidth, defaultHeight); // Create the URL field urlField = new TextField("", 30); urlField.addActionListener(this); // Create the buttons sub panel buttonsPanel = new Panel(); buttonsPanel.setLayout(new GridBagLayout()); // Add the buttons makeItem(buttonsPanel, "Back", 0, 0, 1, 1, 0.0, 0.0); makeItem(buttonsPanel, "Forward", 1, 0, 1, 1, 0.0, 0.0); makeItem(buttonsPanel, "Stop", 2, 0, 1, 1, 0.0, 0.0); makeItem(buttonsPanel, "Refresh", 3, 0, 1, 1, 0.0, 0.0); // Create the control panel controlPanel = new Panel(); controlPanel.setLayout(new BorderLayout()); // Add the URL field, and the buttons panel controlPanel.add(urlField, BorderLayout.CENTER); controlPanel.add(buttonsPanel, BorderLayout.WEST); // Create the browser BrowserControlCanvas browser = null; try { BrowserControlCanvasFactory.setAppData(binDir); browser = BrowserControlCanvasFactory.newBrowserControlCanvas(); } catch(Exception e) { System.out.println("Can't create BrowserControlCanvas: " + e.getMessage()); } browser.setSize(defaultWidth, defaultHeight); // Add the control panel and the browser add(controlPanel, BorderLayout.NORTH); add(browser, BorderLayout.CENTER); pack(); show(); toFront(); browserControl = browser.getWebShell(); try { browserControl.loadURL(url); urlField.setText(url); } catch (Exception e) { System.out.println(e.toString()); } } // EmbeddedMozilla() ctor
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/f4ca2206f2cef3455c8be2335a6c151902e7537d/EmbeddedMozilla.java/buggy/java/webclient/classes/org/mozilla/webclient/test/EmbeddedMozilla.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
21829,
49,
11142,
10745,
261,
780,
2077,
16,
514,
4158,
1621,
16,
514,
880,
13,
288,
202,
202,
9565,
12,
2649,
1769,
3639,
2332,
18,
659,
18,
8222,
2932,
10062,
329,
598,
315,
397,
880,
1769,
1082,
202,
1289,
3829,
2223,
12,
2704,
6076,
4216,
1435,
288,
1082,
565,
1071,
918,
2742,
15745,
12,
3829,
1133,
425,
13,
288,
9506,
202,
2251,
4150,
5621,
9506,
202,
759,
1410,
1746,
326,
15408,
3367,
12971,
1082,
565,
289,
1082,
377,
1082,
565,
1071,
918,
2742,
7395,
12,
3829,
1133,
425,
13,
288,
4697,
202,
3163,
18,
8593,
12,
20,
1769,
1082,
565,
289,
202,
202,
22938,
202,
3196,
202,
542,
1225,
12,
1886,
2384,
16,
805,
2686,
1769,
1082,
202,
759,
1788,
326,
1976,
652,
202,
202,
718,
974,
273,
394,
26866,
2932,
3113,
5196,
1769,
3639,
880,
974,
18,
1289,
1803,
2223,
12,
2211,
1769,
540,
1082,
202,
759,
1788,
326,
9502,
720,
6594,
202,
202,
16016,
5537,
273,
394,
23641,
5621,
3639,
9502,
5537,
18,
542,
3744,
12,
2704,
7145,
5013,
3744,
10663,
202,
202,
759,
1436,
326,
9502,
202,
202,
6540,
1180,
12,
16016,
5537,
16,
315,
2711,
3113,
565,
374,
16,
374,
16,
404,
16,
404,
16,
374,
18,
20,
16,
374,
18,
20,
1769,
202,
202,
6540,
1180,
12,
16016,
5537,
16,
315,
8514,
3113,
404,
16,
374,
16,
404,
16,
404,
16,
374,
18,
20,
16,
374,
18,
20,
1769,
202,
202,
6540,
1180,
12,
16016,
5537,
16,
315,
4947,
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,
377,
1071,
21829,
49,
11142,
10745,
261,
780,
2077,
16,
514,
4158,
1621,
16,
514,
880,
13,
288,
202,
202,
9565,
12,
2649,
1769,
3639,
2332,
18,
659,
18,
8222,
2932,
10062,
329,
598,
315,
397,
880,
1769,
1082,
202,
1289,
3829,
2223,
12,
2704,
6076,
4216,
1435,
288,
1082,
565,
1071,
918,
2742,
15745,
12,
3829,
1133,
425,
13,
288,
9506,
202,
2251,
4150,
5621,
9506,
202,
759,
1410,
1746,
326,
15408,
3367,
12971,
1082,
565,
289,
1082,
377,
1082,
565,
1071,
918,
2742,
7395,
12,
3829,
1133,
425,
13,
288,
4697,
202,
3163,
18,
8593,
12,
20,
1769,
1082,
565,
289,
202,
202,
22938,
202,
3196,
202,
542,
1225,
12,
1886,
2384,
16,
805,
2686,
1769,
1082,
2
] |
||
return dataSource.getPassword(); }
|
return dataSource.getPassword(); }
|
public String getPassword() { return dataSource.getPassword(); }
|
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/400d6261413dfc9cd6c3c5e0013eac1d364a3c5d/AppServerXADataSource.java/clean/src/pool/org/firebirdsql/pool/sun/AppServerXADataSource.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
17397,
1435,
288,
3639,
327,
10233,
18,
588,
3913,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
17397,
1435,
288,
3639,
327,
10233,
18,
588,
3913,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
gd.verticalIndent = 10;
|
gd.verticalIndent = 5;
|
private void placeComponents( ) { // Initialize and layout UI components of the framework Composite cmpHeader = new Composite( shell, SWT.NONE ); { cmpHeader.setBackground( Display.getDefault( ) .getSystemColor( SWT.COLOR_WHITE ) ); GridLayout layout = new GridLayout( 2, false ); layout.marginHeight = 0; layout.marginWidth = 0; layout.verticalSpacing = 0; layout.horizontalSpacing = 0; cmpHeader.setLayout( layout ); cmpHeader.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); } Label lblTitle = new Label( cmpHeader, SWT.NONE ); { GridData gd = new GridData( GridData.FILL_HORIZONTAL ); gd.horizontalIndent = 10; gd.verticalIndent = 10; lblTitle.setLayoutData( gd ); lblTitle.setBackground( Display.getDefault( ) .getSystemColor( SWT.COLOR_WHITE ) ); lblTitle.setFont( JFaceResources.getBannerFont( ) ); lblTitle.setText( wizardTitle ); } if ( imgHeader != null ) { Label lblImage = new Label( cmpHeader, SWT.NONE ); GridData gd = new GridData( ); gd.verticalSpan = 2; lblImage.setLayoutData( gd ); lblImage.setImage( imgHeader ); } Label lblHeader = new Label( cmpHeader, SWT.NONE ); { GridData gd = new GridData( GridData.FILL_HORIZONTAL ); gd.horizontalIndent = 15; lblHeader.setLayoutData( gd ); lblHeader.setBackground( Display.getDefault( ) .getSystemColor( SWT.COLOR_WHITE ) ); lblHeader.setText( strHeader ); } Label lblSeparator = new Label( shell, SWT.SEPARATOR | SWT.HORIZONTAL ); lblSeparator.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); cmpTaskContainer = new CTabFolder( shell, SWT.TOP | SWT.FLAT ); { cmpTaskContainer.setLayoutData( new GridData( GridData.FILL_BOTH ) ); cmpTaskContainer.setTabHeight( 25 ); cmpTaskContainer.setSimple( false ); cmpTaskContainer.addSelectionListener( this ); } lblSeparator = new Label( shell, SWT.SEPARATOR | SWT.HORIZONTAL ); lblSeparator.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); Composite cmpButton = new Composite( shell, SWT.NONE ); { cmpButton.setLayout( new GridLayout( ) ); GridData gd = new GridData( ); gd.horizontalAlignment = SWT.END; cmpButton.setLayoutData( gd ); } buttonpanel = new ButtonPanel( cmpButton, SWT.NONE, this ); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/870e4f276cf4da01217adcfdba3dbd4191005a63/WizardBase.java/buggy/core/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/frameworks/taskwizard/WizardBase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3166,
7171,
12,
262,
202,
95,
202,
202,
759,
9190,
471,
3511,
6484,
4085,
434,
326,
8257,
202,
202,
9400,
9411,
1864,
273,
394,
14728,
12,
5972,
16,
348,
8588,
18,
9826,
11272,
202,
202,
95,
1082,
202,
9625,
1864,
18,
542,
8199,
12,
9311,
18,
588,
1868,
12,
262,
6862,
202,
18,
588,
3163,
2957,
12,
348,
8588,
18,
10989,
67,
16861,
262,
11272,
1082,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
12,
576,
16,
629,
11272,
1082,
202,
6741,
18,
10107,
2686,
273,
374,
31,
1082,
202,
6741,
18,
10107,
2384,
273,
374,
31,
1082,
202,
6741,
18,
17824,
18006,
273,
374,
31,
1082,
202,
6741,
18,
18396,
18006,
273,
374,
31,
1082,
202,
9625,
1864,
18,
542,
3744,
12,
3511,
11272,
1082,
202,
9625,
1864,
18,
542,
3744,
751,
12,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
262,
11272,
202,
202,
97,
202,
202,
2224,
14284,
4247,
273,
394,
5287,
12,
9411,
1864,
16,
348,
8588,
18,
9826,
11272,
202,
202,
95,
1082,
202,
6313,
751,
15551,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
11272,
1082,
202,
19016,
18,
18396,
7790,
273,
1728,
31,
1082,
202,
19016,
18,
17824,
7790,
273,
1728,
31,
1082,
202,
31885,
4247,
18,
542,
3744,
751,
12,
15551,
11272,
1082,
202,
31885,
4247,
18,
542,
8199,
12,
9311,
18,
588,
1868,
12,
262,
6862,
202,
18,
588,
3163,
2957,
12,
348,
8588,
18,
10989,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3166,
7171,
12,
262,
202,
95,
202,
202,
759,
9190,
471,
3511,
6484,
4085,
434,
326,
8257,
202,
202,
9400,
9411,
1864,
273,
394,
14728,
12,
5972,
16,
348,
8588,
18,
9826,
11272,
202,
202,
95,
1082,
202,
9625,
1864,
18,
542,
8199,
12,
9311,
18,
588,
1868,
12,
262,
6862,
202,
18,
588,
3163,
2957,
12,
348,
8588,
18,
10989,
67,
16861,
262,
11272,
1082,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
12,
576,
16,
629,
11272,
1082,
202,
6741,
18,
10107,
2686,
273,
374,
31,
1082,
202,
6741,
18,
10107,
2384,
273,
374,
31,
1082,
202,
6741,
18,
17824,
18006,
273,
374,
31,
1082,
202,
6741,
18,
18396,
18006,
273,
374,
31,
2
] |
if(gapStart != gapEnd)
|
if(gapStart != gapEnd && gapStart != length)
|
private void close(int newStart, int newEnd) { if(gapStart != gapEnd) { System.arraycopy(text,gapEnd,text,gapStart, length - gapEnd); } if(newStart != newEnd) { ensureCapacity(length + (newEnd - newStart)); System.arraycopy(text,newStart,text,newEnd, length - newStart); } gapStart = newStart; gapEnd = newEnd; } //}}}
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/f060ff246d3d6f951799da71bcc89970ef4b5fcc/ContentManager.java/buggy/org/gjt/sp/jedit/buffer/ContentManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1746,
12,
474,
394,
1685,
16,
509,
394,
1638,
13,
202,
95,
202,
202,
430,
12,
14048,
1685,
480,
9300,
1638,
13,
202,
202,
95,
1082,
202,
3163,
18,
1126,
3530,
12,
955,
16,
14048,
1638,
16,
955,
16,
14048,
1685,
16,
9506,
202,
2469,
300,
9300,
1638,
1769,
202,
202,
97,
202,
202,
430,
12,
2704,
1685,
480,
394,
1638,
13,
202,
202,
95,
1082,
202,
15735,
7437,
12,
2469,
397,
261,
2704,
1638,
300,
394,
1685,
10019,
1082,
202,
3163,
18,
1126,
3530,
12,
955,
16,
2704,
1685,
16,
955,
16,
2704,
1638,
16,
9506,
202,
2469,
300,
394,
1685,
1769,
202,
202,
97,
202,
202,
14048,
1685,
273,
394,
1685,
31,
202,
202,
14048,
1638,
273,
394,
1638,
31,
202,
97,
368,
9090,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1746,
12,
474,
394,
1685,
16,
509,
394,
1638,
13,
202,
95,
202,
202,
430,
12,
14048,
1685,
480,
9300,
1638,
13,
202,
202,
95,
1082,
202,
3163,
18,
1126,
3530,
12,
955,
16,
14048,
1638,
16,
955,
16,
14048,
1685,
16,
9506,
202,
2469,
300,
9300,
1638,
1769,
202,
202,
97,
202,
202,
430,
12,
2704,
1685,
480,
394,
1638,
13,
202,
202,
95,
1082,
202,
15735,
7437,
12,
2469,
397,
261,
2704,
1638,
300,
394,
1685,
10019,
1082,
202,
3163,
18,
1126,
3530,
12,
955,
16,
2704,
1685,
16,
955,
16,
2704,
1638,
16,
9506,
202,
2469,
300,
394,
1685,
1769,
202,
202,
97,
202,
202,
14048,
1685,
273,
394,
1685,
31,
202,
2
] |
code_val += target-pos;
|
code_val += target;
|
static final void relocate_wide (CodeAttr code, int pos, int target) { if (pos >= 0) { byte[] insns = code.getCode(); int code_val = ((insns[pos] & 0xFF) << 24) | ((insns[pos+1] & 0xFF) << 16) | ((insns[pos+2] & 0xFF) << 8) | (insns[pos+3] & 0xFF); code_val += target-pos; insns[pos] = (byte) (code_val >> 24); insns[pos+1] = (byte) (code_val >> 16); insns[pos+2] = (byte) (code_val >> 8); insns[pos+3] = (byte) code_val; } }
|
36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/acc298632a55e42cc6489d87877353f0ddc722a7/Label.java/clean/gnu/bytecode/Label.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
727,
918,
283,
25450,
67,
26767,
261,
1085,
3843,
981,
16,
509,
949,
16,
509,
1018,
13,
288,
565,
309,
261,
917,
1545,
374,
13,
288,
1377,
1160,
8526,
2763,
2387,
273,
981,
18,
588,
1085,
5621,
1377,
509,
981,
67,
1125,
202,
33,
14015,
2679,
2387,
63,
917,
65,
473,
374,
6356,
13,
2296,
4248,
13,
571,
14015,
2679,
2387,
63,
917,
15,
21,
65,
473,
374,
6356,
13,
2296,
2872,
13,
202,
96,
14015,
2679,
2387,
63,
917,
15,
22,
65,
473,
374,
6356,
13,
2296,
1725,
13,
571,
261,
2679,
2387,
63,
917,
15,
23,
65,
473,
374,
6356,
1769,
1377,
981,
67,
1125,
1011,
1018,
31,
1377,
2763,
2387,
63,
917,
65,
273,
261,
7229,
13,
261,
710,
67,
1125,
1671,
4248,
1769,
1377,
2763,
2387,
63,
917,
15,
21,
65,
273,
261,
7229,
13,
261,
710,
67,
1125,
1671,
2872,
1769,
1377,
2763,
2387,
63,
917,
15,
22,
65,
273,
261,
7229,
13,
261,
710,
67,
1125,
1671,
1725,
1769,
1377,
2763,
2387,
63,
917,
15,
23,
65,
273,
261,
7229,
13,
981,
67,
1125,
31,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
727,
918,
283,
25450,
67,
26767,
261,
1085,
3843,
981,
16,
509,
949,
16,
509,
1018,
13,
288,
565,
309,
261,
917,
1545,
374,
13,
288,
1377,
1160,
8526,
2763,
2387,
273,
981,
18,
588,
1085,
5621,
1377,
509,
981,
67,
1125,
202,
33,
14015,
2679,
2387,
63,
917,
65,
473,
374,
6356,
13,
2296,
4248,
13,
571,
14015,
2679,
2387,
63,
917,
15,
21,
65,
473,
374,
6356,
13,
2296,
2872,
13,
202,
96,
14015,
2679,
2387,
63,
917,
15,
22,
65,
473,
374,
6356,
13,
2296,
1725,
13,
571,
261,
2679,
2387,
63,
917,
15,
23,
65,
473,
374,
6356,
1769,
1377,
981,
67,
1125,
1011,
1018,
31,
1377,
2763,
2387,
63,
917,
65,
273,
2
] |
public org.quickfix.field.MaturityMonthYear getMaturityMonthYear() throws FieldNotFound { org.quickfix.field.MaturityMonthYear value = new org.quickfix.field.MaturityMonthYear();
|
public quickfix.field.MaturityMonthYear getMaturityMonthYear() throws FieldNotFound { quickfix.field.MaturityMonthYear value = new quickfix.field.MaturityMonthYear();
|
public org.quickfix.field.MaturityMonthYear getMaturityMonthYear() throws FieldNotFound { org.quickfix.field.MaturityMonthYear value = new org.quickfix.field.MaturityMonthYear(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CrossOrderCancelReplaceRequest.java/buggy/src/java/src/quickfix/fix44/CrossOrderCancelReplaceRequest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
15947,
2336,
5445,
5593,
2108,
270,
2336,
5445,
5593,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
15947,
2336,
5445,
5593,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
15947,
2336,
5445,
5593,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
15947,
2336,
5445,
5593,
2108,
270,
2336,
5445,
5593,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
15947,
2336,
5445,
5593,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
15947,
2336,
5445,
5593,
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
] |
addTest(new TestSuite(NullTitleTest.class));
|
addTest(new TestSuite(NullTitleTest.class)); addTest(new TestSuite(StickyViewTest.class));
|
public ApiTestSuite() { addTest(new TestSuite(PlatformUITest.class)); addTest(new TestSuite(IWorkbenchTest.class)); addTest(new TestSuite(IWorkbenchWindowTest.class)); addTest(new TestSuite(IWorkbenchPageTest.class)); addTest(new TestSuite(IDeprecatedWorkbenchPageTest.class)); addTest(new TestSuite(IActionFilterTest.class)); addTest(new TestSuite(IPageListenerTest.class)); addTest(new TestSuite(IPageServiceTest.class)); addTest(new TestSuite(IPerspectiveRegistryTest.class)); addTest(new TestSuite(IPerspectiveDescriptorTest.class)); addTest(new TestSuite(IFileEditorMappingTest.class)); addTest(new TestSuite(IEditorDescriptorTest.class)); addTest(new TestSuite(IEditorRegistryTest.class)); addTest(new TestSuite(IPerspectiveListenerTest.class)); addTest(new TestSuite(IWorkbenchWindowActionDelegateTest.class)); addTest(new TestSuite(IViewActionDelegateTest.class)); addTest(new TestSuite(IViewSiteTest.class)); addTest(new TestSuite(IEditorSiteTest.class)); addTest(new TestSuite(IActionBarsTest.class)); addTest(new TestSuite(IViewPartTest.class)); addTest(new TestSuite(IEditorPartTest.class)); addTest(new TestSuite(IEditorActionBarContributorTest.class)); addTest(new TestSuite(ISelectionServiceTest.class)); addTest(new TestSuite(IWorkingSetTest.class)); addTest(new TestSuite(IWorkingSetManagerTest.class)); addTest(new TestSuite(MockWorkingSetTest.class)); addTest(new TestSuite(StartupTest.class)); addTest(new TestSuite(Bug42616Test.class)); addTest(new TestSuite(NullTitleTest.class)); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/645242a1d41ff1ab866de8134ed0f471895f4a91/ApiTestSuite.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/api/ApiTestSuite.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4458,
4709,
13587,
1435,
288,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
8201,
57,
1285,
395,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
45,
2421,
22144,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
45,
2421,
22144,
3829,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
45,
2421,
22144,
1964,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
734,
881,
3927,
690,
2421,
22144,
1964,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
45,
1803,
1586,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
45,
1964,
2223,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
45,
1964,
1179,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
2579,
414,
16772,
4243,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
2579,
414,
16772,
3187,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
45,
812,
6946,
3233,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
45,
6946,
3187,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
45,
6946,
4243,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
2579,
414,
16772,
2223,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4458,
4709,
13587,
1435,
288,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
8201,
57,
1285,
395,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
45,
2421,
22144,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
45,
2421,
22144,
3829,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
45,
2421,
22144,
1964,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
734,
881,
3927,
690,
2421,
22144,
1964,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
45,
1803,
1586,
4709,
18,
1106,
10019,
202,
202,
1289,
4709,
12,
2704,
7766,
13587,
12,
2
] |
reader.markCollection();
|
reader.markCollection();
|
private int parsePRPSQLSTT() throws DRDAProtocolException,SQLException { int codePoint; boolean rtnsqlda = false; boolean rtnOutput = true; // Return output SQLDA is default String typdefnam; Pkgnamcsn pkgnamcsn = null; DRDAStatement stmt = null; Database databaseToSet = null; reader.markCollection(); codePoint = reader.getCodePoint(); while (codePoint != -1) { switch (codePoint) { // optional case CodePoint.RDBNAM: setDatabase(CodePoint.PRPSQLSTT); databaseToSet = database; break; // required case CodePoint.PKGNAMCSN: pkgnamcsn = parsePKGNAMCSN(); break; //optional case CodePoint.RTNSQLDA: // Return SQLDA with description of statement rtnsqlda = readBoolean(CodePoint.RTNSQLDA); break; //optional case CodePoint.TYPSQLDA: rtnOutput = parseTYPSQLDA(); break; //optional case CodePoint.MONITOR: parseMONITOR(); break; default: invalidCodePoint(codePoint); } codePoint = reader.getCodePoint(); } stmt = database.newDRDAStatement(pkgnamcsn); String sqlStmt = parsePRPSQLSTTobjects(stmt); if (databaseToSet != null) stmt.setDatabase(database); stmt.explicitPrepare(sqlStmt); // set the statement as the current statement database.setCurrentStatement(stmt); if (!rtnsqlda) return 0; else if (rtnOutput) return 2; else return 1; }
|
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/977561c9de22d12b40a3a2f79a8df22ba7fc7752/DRDAConnThread.java/buggy/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1109,
8025,
52,
3997,
882,
56,
1435,
1216,
16801,
9793,
5752,
503,
16,
23116,
288,
202,
474,
18614,
31,
202,
6494,
8253,
2387,
1217,
2414,
273,
629,
31,
202,
6494,
12119,
1447,
273,
638,
31,
225,
202,
759,
2000,
876,
3063,
9793,
353,
805,
202,
780,
3815,
536,
17808,
31,
202,
7789,
1600,
301,
2143,
82,
2365,
1600,
301,
2143,
82,
273,
446,
31,
202,
6331,
9793,
3406,
3480,
273,
446,
31,
282,
202,
4254,
2063,
25208,
273,
446,
31,
202,
10530,
18,
3355,
2532,
5621,
202,
710,
2148,
273,
2949,
18,
588,
31536,
5621,
202,
17523,
261,
710,
2148,
480,
300,
21,
13,
288,
202,
565,
1620,
261,
710,
2148,
13,
288,
202,
202,
759,
3129,
202,
565,
648,
3356,
2148,
18,
54,
2290,
50,
2192,
30,
202,
202,
542,
4254,
12,
31536,
18,
8025,
52,
3997,
882,
56,
1769,
202,
202,
6231,
25208,
273,
2063,
31,
202,
202,
8820,
31,
202,
202,
759,
1931,
202,
565,
648,
3356,
2148,
18,
8784,
8318,
2192,
4596,
50,
30,
202,
202,
5465,
1600,
301,
2143,
82,
273,
1109,
8784,
8318,
2192,
4596,
50,
5621,
3196,
202,
8820,
31,
202,
202,
759,
10444,
202,
565,
648,
3356,
2148,
18,
12185,
3156,
2024,
9793,
30,
202,
202,
759,
2000,
3063,
9793,
598,
2477,
434,
3021,
202,
202,
3797,
2387,
1217,
2414,
273,
855,
5507,
12,
31536,
18,
12185,
3156,
2024,
9793,
1769,
202,
202,
8820,
31,
202,
202,
759,
10444,
202,
565,
648,
3356,
2148,
18,
5538,
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,
509,
1109,
8025,
52,
3997,
882,
56,
1435,
1216,
16801,
9793,
5752,
503,
16,
23116,
288,
202,
474,
18614,
31,
202,
6494,
8253,
2387,
1217,
2414,
273,
629,
31,
202,
6494,
12119,
1447,
273,
638,
31,
225,
202,
759,
2000,
876,
3063,
9793,
353,
805,
202,
780,
3815,
536,
17808,
31,
202,
7789,
1600,
301,
2143,
82,
2365,
1600,
301,
2143,
82,
273,
446,
31,
202,
6331,
9793,
3406,
3480,
273,
446,
31,
282,
202,
4254,
2063,
25208,
273,
446,
31,
202,
10530,
18,
3355,
2532,
5621,
202,
710,
2148,
273,
2949,
18,
588,
31536,
5621,
202,
17523,
261,
710,
2148,
480,
300,
21,
13,
288,
202,
565,
1620,
261,
710,
2148,
13,
288,
202,
202,
759,
2
] |
throw new SQLException( "Internal error" );
|
throw new SQLException("Internal error");
|
public boolean getBoolean( int columnIndex ) throws SQLException { Object obj = getObject( columnIndex ); boolean result; if ( obj == null ) { result = false; } else { switch ( getColumnType( columnIndex ) ) { case java.sql.Types.TINYINT: case java.sql.Types.SMALLINT: case java.sql.Types.INTEGER: case java.sql.Types.BIGINT: case java.sql.Types.REAL: case java.sql.Types.FLOAT: case java.sql.Types.DOUBLE: case java.sql.Types.DECIMAL: case java.sql.Types.NUMERIC: { if ( !( obj instanceof java.lang.Number ) ) { // Must be out of sync with the implementation of // Tds.getRow() for this to happen. throw new SQLException( "Internal error" ); } // Would somebody like to tell what a true/false has // to do with a double? // SAfe It looks like it has to work just like with BIT columns ('0' or 'false' for false and '1' or // 'true' for true). result = ( ( java.lang.Number ) obj ).intValue() != 0; break; } case java.sql.Types.BIT: { if ( !( obj instanceof Boolean ) ) { // Must be out of sync with the implementation of // Tds.getRow() for this to happen. throw new SQLException( "Internal error" ); } result = ( ( Boolean ) obj ).booleanValue(); break; } case java.sql.Types.CHAR: case java.sql.Types.VARCHAR: case java.sql.Types.LONGVARCHAR: { // Okay, I'm really confused as to what you mean // by a character string being true or false. What // is the boolean value for "Let the wookie win"? // But since the spec says I have to convert from // character to boolean data... // SAfe It looks like it has to work just like with BIT columns ('0' or 'false' for false and '1' or // 'true' for true). if ( !( obj instanceof String ) ) { // Must be out of sync with the implementation of // Tds.getRow() for this to happen. throw new SQLException( "Internal error" ); } String v = obj.toString().trim(); if( v.equalsIgnoreCase("0") || v.equalsIgnoreCase("false") ) { result = false; break; } else if( v.equalsIgnoreCase("1") || v.equalsIgnoreCase("true") ) { result = true; break; } // SAfe Otherwise fall-through to the "default:" label and throw an exception. } default: { throw new SQLException( "Can't convert column " + columnIndex + " from " + obj.getClass().getName() + " to boolean" ); } } } return result; }
|
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/72f386be98a41e542f0b193ebaee0281ab0912d2/PacketRowResult.java/buggy/src/main/net/sourceforge/jtds/jdbc/PacketRowResult.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
12835,
12,
509,
14882,
262,
1216,
6483,
565,
288,
3639,
1033,
1081,
273,
6455,
12,
14882,
11272,
3639,
1250,
563,
31,
3639,
309,
261,
1081,
422,
446,
262,
288,
5411,
563,
273,
629,
31,
3639,
289,
3639,
469,
288,
5411,
1620,
261,
6716,
559,
12,
14882,
262,
262,
288,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
56,
31853,
3217,
30,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
23882,
3217,
30,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
14217,
30,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
19044,
3217,
30,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
31052,
30,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
15640,
30,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
17088,
30,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
23816,
30,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
22998,
30,
7734,
288,
10792,
309,
261,
401,
12,
1081,
1276,
2252,
18,
4936,
18,
1854,
262,
262,
288,
13491,
368,
6753,
506,
596,
434,
3792,
598,
326,
4471,
434,
13491,
368,
399,
2377,
18,
588,
1999,
1435,
364,
333,
358,
5865,
18,
13491,
604,
394,
6483,
2932,
3061,
555,
8863,
10792,
289,
10792,
368,
678,
1006,
2690,
3432,
3007,
358,
9276,
4121,
279,
638,
19,
5743,
711,
10792,
368,
358,
741,
598,
279,
1645,
35,
10792,
368,
17127,
3030,
2597,
10192,
3007,
518,
711,
358,
1440,
2537,
3007,
598,
20469,
2168,
7707,
20,
11,
578,
296,
5743,
11,
364,
629,
471,
296,
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,
12835,
12,
509,
14882,
262,
1216,
6483,
565,
288,
3639,
1033,
1081,
273,
6455,
12,
14882,
11272,
3639,
1250,
563,
31,
3639,
309,
261,
1081,
422,
446,
262,
288,
5411,
563,
273,
629,
31,
3639,
289,
3639,
469,
288,
5411,
1620,
261,
6716,
559,
12,
14882,
262,
262,
288,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
56,
31853,
3217,
30,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
23882,
3217,
30,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
14217,
30,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
19044,
3217,
30,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
31052,
30,
7734,
648,
2252,
18,
4669,
18,
2016,
18,
15640,
30,
7734,
648,
2252,
2
] |
expression.setText( DEUtil .resolveNull( ( (DataItemHandle) designHandle ) .getValueExpr( ) ) );
|
expression.setText( DEUtil.resolveNull( ( (DataItemHandle) designHandle ).getValueExpr( ) ) );
|
public void widgetSelected( SelectionEvent e ) { if ( expression.getText( ).equals( VALUE_OF_THIS_DATA_ITEM ) && designHandle instanceof DataItemHandle ) { expression.setText( DEUtil .resolveNull( ( (DataItemHandle) designHandle ) .getValueExpr( ) ) ); } updateButtons( ); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/79315b368296e47fc6aa276a9db24d8570b2b6c9/HighlightRuleBuilder.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
12,
12977,
1133,
425,
262,
1082,
202,
95,
9506,
202,
430,
261,
2652,
18,
588,
1528,
12,
262,
18,
14963,
12,
5848,
67,
3932,
67,
2455,
5127,
67,
4883,
67,
12674,
262,
25083,
202,
10,
10,
8281,
3259,
1276,
1910,
1180,
3259,
262,
9506,
202,
95,
6862,
202,
8692,
18,
542,
1528,
12,
2030,
1304,
6862,
1082,
202,
18,
10828,
2041,
12,
261,
261,
29903,
3259,
13,
8281,
3259,
262,
6862,
6862,
202,
18,
24805,
4742,
12,
262,
262,
11272,
9506,
202,
97,
9506,
202,
2725,
14388,
12,
11272,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
12,
12977,
1133,
425,
262,
1082,
202,
95,
9506,
202,
430,
261,
2652,
18,
588,
1528,
12,
262,
18,
14963,
12,
5848,
67,
3932,
67,
2455,
5127,
67,
4883,
67,
12674,
262,
25083,
202,
10,
10,
8281,
3259,
1276,
1910,
1180,
3259,
262,
9506,
202,
95,
6862,
202,
8692,
18,
542,
1528,
12,
2030,
1304,
6862,
1082,
202,
18,
10828,
2041,
12,
261,
261,
29903,
3259,
13,
8281,
3259,
262,
6862,
6862,
202,
18,
24805,
4742,
12,
262,
262,
11272,
9506,
202,
97,
9506,
202,
2725,
14388,
12,
11272,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
iCodeTop = addByte((byte) TokenStream.NEG, iCodeTop);
|
iCodeTop = addByte(TokenStream.NEG, iCodeTop);
|
private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; switch (type) { case TokenStream.FUNCTION : { iCodeTop = addByte((byte) TokenStream.CLOSURE, iCodeTop); Node fn = (Node) node.getProp(Node.FUNCTION_PROP); Short index = (Short) fn.getProp(Node.FUNCTION_PROP); iCodeTop = addByte((byte)(index.shortValue() >> 8), iCodeTop); iCodeTop = addByte((byte)(index.shortValue() & 0xff), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.SCRIPT : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { if (child.getType() != TokenStream.FUNCTION) iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.CASE : iCodeTop = updateLineNumber(node, iCodeTop); child = child.getNextSibling(); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.LABEL : case TokenStream.WITH : case TokenStream.LOOP : case TokenStream.DEFAULT : case TokenStream.BLOCK : case TokenStream.VOID : case TokenStream.NOP : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.COMMA : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); break; case TokenStream.SWITCH : { iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); int theLocalSlot = itsData.itsMaxLocals++; iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; /* reminder - below we construct new GOTO nodes that aren't linked into the tree just for the purpose of having a node to pass to the addGoto routine. (Parallels codegen here). Seems unnecessary. */ Vector cases = (Vector) node.getProp(Node.CASES_PROP); for (int i = 0; i < cases.size(); i++) { Node thisCase = (Node)cases.elementAt(i); Node first = thisCase.getFirstChild(); // the case expression is the firstmost child // the rest will be generated when the case // statements are encountered as siblings of // the switch statement. iCodeTop = generateICode(first, iCodeTop); iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.SHEQ, iCodeTop); Node target = new Node(TokenStream.TARGET); thisCase.addChildAfter(target, first); Node branch = new Node(TokenStream.IFEQ); branch.putProp(Node.TARGET_PROP, target); iCodeTop = addGoto(branch, TokenStream.IFEQ, iCodeTop); itsStackDepth--; } Node defaultNode = (Node) node.getProp(Node.DEFAULT_PROP); if (defaultNode != null) { Node defaultTarget = new Node(TokenStream.TARGET); defaultNode.getFirstChild().addChildToFront(defaultTarget); Node branch = new Node(TokenStream.GOTO); branch.putProp(Node.TARGET_PROP, defaultTarget); iCodeTop = addGoto(branch, TokenStream.GOTO, iCodeTop); } Node breakTarget = (Node) node.getProp(Node.BREAK_PROP); Node branch = new Node(TokenStream.GOTO); branch.putProp(Node.TARGET_PROP, breakTarget); iCodeTop = addGoto(branch, TokenStream.GOTO, iCodeTop); } break; case TokenStream.TARGET : { Object lblObect = node.getProp(Node.LABEL_PROP); if (lblObect == null) { int label = markLabel(acquireLabel(), iCodeTop); node.putProp(Node.LABEL_PROP, new Integer(label)); } else { int label = ((Integer)lblObect).intValue(); markLabel(label, iCodeTop); } // if this target has a FINALLY_PROP, it is a JSR target // and so has a PC value on the top of the stack if (node.getProp(Node.FINALLY_PROP) != null) { itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.EQOP : case TokenStream.RELOP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); int op = node.getInt(); if (version == Context.VERSION_1_2) { if (op == TokenStream.EQ) op = TokenStream.SHEQ; else if (op == TokenStream.NE) op = TokenStream.SHNE; } iCodeTop = addByte((byte) op, iCodeTop); itsStackDepth--; } break; case TokenStream.NEW : case TokenStream.CALL : { if (itsSourceFile != null && (itsData.itsSourceFile == null || ! itsSourceFile.equals(itsData.itsSourceFile))) itsData.itsSourceFile = itsSourceFile; iCodeTop = addByte((byte)TokenStream.SOURCEFILE, iCodeTop); int childCount = 0; short nameIndex = -1; while (child != null) { iCodeTop = generateICode(child, iCodeTop); if (nameIndex == -1) { if (child.getType() == TokenStream.NAME) nameIndex = (short)(itsData.itsStringTableIndex - 1); else if (child.getType() == TokenStream.GETPROP) nameIndex = (short)(itsData.itsStringTableIndex - 1); } child = child.getNextSibling(); childCount++; } if (node.getProp(Node.SPECIALCALL_PROP) != null) { // embed line number and source filename iCodeTop = addByte((byte) TokenStream.CALLSPECIAL, iCodeTop); iCodeTop = addByte((byte)(itsLineNumber >> 8), iCodeTop); iCodeTop = addByte((byte)(itsLineNumber & 0xff), iCodeTop); iCodeTop = addString(itsSourceFile, iCodeTop); } else { iCodeTop = addByte((byte) type, iCodeTop); iCodeTop = addByte((byte)(nameIndex >> 8), iCodeTop); iCodeTop = addByte((byte)(nameIndex & 0xFF), iCodeTop); } itsStackDepth -= (childCount - 1); // always a result value // subtract from child count to account for [thisObj &] fun if (type == TokenStream.NEW) childCount -= 1; else childCount -= 2; iCodeTop = addByte((byte)(childCount >> 8), iCodeTop); iCodeTop = addByte((byte)(childCount & 0xff), iCodeTop); if (childCount > itsData.itsMaxArgs) itsData.itsMaxArgs = childCount; iCodeTop = addByte((byte)TokenStream.SOURCEFILE, iCodeTop); } break; case TokenStream.NEWLOCAL : case TokenStream.NEWTEMP : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); } break; case TokenStream.USELOCAL : { if (node.getProp(Node.TARGET_PROP) != null) iCodeTop = addByte((byte) TokenStream.RETSUB, iCodeTop); else { iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } Node temp = (Node) node.getProp(Node.LOCAL_PROP); iCodeTop = addLocalRef(temp, iCodeTop); } break; case TokenStream.USETEMP : { iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); Node temp = (Node) node.getProp(Node.TEMP_PROP); iCodeTop = addLocalRef(temp, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.IFEQ : case TokenStream.IFNE : iCodeTop = generateICode(child, iCodeTop); itsStackDepth--; // after the conditional GOTO, really // fall thru... case TokenStream.GOTO : iCodeTop = addGoto(node, (byte) type, iCodeTop); break; case TokenStream.JSR : { /* mark the target with a FINALLY_PROP to indicate that it will have an incoming PC value on the top of the stack. !!! This only works if the target follows the JSR in the tree. !!! */ Node target = (Node)(node.getProp(Node.TARGET_PROP)); target.putProp(Node.FINALLY_PROP, node); iCodeTop = addGoto(node, TokenStream.GOSUB, iCodeTop); } break; case TokenStream.AND : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int falseTarget = acquireLabel(); iCodeTop = addGoto(falseTarget, TokenStream.IFNE, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); markLabel(falseTarget, iCodeTop); } break; case TokenStream.OR : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int trueTarget = acquireLabel(); iCodeTop = addGoto(trueTarget, TokenStream.IFEQ, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); markLabel(trueTarget, iCodeTop); } break; case TokenStream.GETPROP : { iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) iCodeTop = addByte((byte) TokenStream.GETPROTO, iCodeTop); else if (s.equals("__parent__")) iCodeTop = addByte((byte) TokenStream.GETSCOPEPARENT, iCodeTop); else badTree(node); } else { child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.GETPROP, iCodeTop); itsStackDepth--; } } break; case TokenStream.DELPROP : case TokenStream.BITAND : case TokenStream.BITOR : case TokenStream.BITXOR : case TokenStream.LSH : case TokenStream.RSH : case TokenStream.URSH : case TokenStream.ADD : case TokenStream.SUB : case TokenStream.MOD : case TokenStream.DIV : case TokenStream.MUL : case TokenStream.GETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth--; break; case TokenStream.CONVERT : { iCodeTop = generateICode(child, iCodeTop); Object toType = node.getProp(Node.TYPE_PROP); if (toType == ScriptRuntime.NumberClass) iCodeTop = addByte((byte) TokenStream.POS, iCodeTop); else badTree(node); } break; case TokenStream.UNARYOP : iCodeTop = generateICode(child, iCodeTop); switch (node.getInt()) { case TokenStream.VOID : iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); iCodeTop = addByte((byte) TokenStream.UNDEFINED, iCodeTop); break; case TokenStream.NOT : { int trueTarget = acquireLabel(); int beyond = acquireLabel(); iCodeTop = addGoto(trueTarget, TokenStream.IFEQ, iCodeTop); iCodeTop = addByte((byte) TokenStream.TRUE, iCodeTop); iCodeTop = addGoto(beyond, TokenStream.GOTO, iCodeTop); markLabel(trueTarget, iCodeTop); iCodeTop = addByte((byte) TokenStream.FALSE, iCodeTop); markLabel(beyond, iCodeTop); } break; case TokenStream.BITNOT : iCodeTop = addByte((byte) TokenStream.BITNOT, iCodeTop); break; case TokenStream.TYPEOF : iCodeTop = addByte((byte) TokenStream.TYPEOF, iCodeTop); break; case TokenStream.SUB : iCodeTop = addByte((byte) TokenStream.NEG, iCodeTop); break; case TokenStream.ADD : iCodeTop = addByte((byte) TokenStream.POS, iCodeTop); break; default: badTree(node); break; } break; case TokenStream.SETPROP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) iCodeTop = addByte((byte) TokenStream.SETPROTO, iCodeTop); else if (s.equals("__parent__")) iCodeTop = addByte((byte) TokenStream.SETPARENT, iCodeTop); else badTree(node); } else { child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.SETPROP, iCodeTop); itsStackDepth -= 2; } } break; case TokenStream.SETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth -= 2; break; case TokenStream.SETNAME : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.SETNAME, iCodeTop); iCodeTop = addString(firstChild.getString(), iCodeTop); itsStackDepth--; break; case TokenStream.TYPEOF : { String name = node.getString(); int index = -1; // use typeofname if an activation frame exists // since the vars all exist there instead of in jregs if (itsInFunctionFlag && !itsData.itsNeedsActivation) index = itsVariableTable.getOrdinal(name); if (index == -1) { iCodeTop = addByte((byte) TokenStream.TYPEOFNAME, iCodeTop); iCodeTop = addString(name, iCodeTop); } else { iCodeTop = addByte((byte) TokenStream.GETVAR, iCodeTop); iCodeTop = addByte((byte) index, iCodeTop); iCodeTop = addByte((byte) TokenStream.TYPEOF, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.PARENT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.GETPARENT, iCodeTop); break; case TokenStream.GETBASE : case TokenStream.BINDNAME : case TokenStream.NAME : case TokenStream.STRING : iCodeTop = addByte((byte) type, iCodeTop); iCodeTop = addString(node.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.INC : case TokenStream.DEC : { int childType = child.getType(); switch (childType) { case TokenStream.GETVAR : { String name = child.getString(); if (itsData.itsNeedsActivation) { iCodeTop = addByte((byte) TokenStream.SCOPE, iCodeTop); iCodeTop = addByte((byte) TokenStream.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.PROPINC : TokenStream.PROPDEC), iCodeTop); itsStackDepth--; } else { iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.VARINC : TokenStream.VARDEC), iCodeTop); int i = itsVariableTable.getOrdinal(name); iCodeTop = addByte((byte)i, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.GETPROP : case TokenStream.GETELEM : { Node getPropChild = child.getFirstChild(); iCodeTop = generateICode(getPropChild, iCodeTop); getPropChild = getPropChild.getNextSibling(); iCodeTop = generateICode(getPropChild, iCodeTop); if (childType == TokenStream.GETPROP) iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.PROPINC : TokenStream.PROPDEC), iCodeTop); else iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.ELEMINC : TokenStream.ELEMDEC), iCodeTop); itsStackDepth--; } break; default : { iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.NAMEINC : TokenStream.NAMEDEC), iCodeTop); iCodeTop = addString(child.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } } break; case TokenStream.NUMBER : { double num = node.getDouble(); if (num == 0.0) { iCodeTop = addByte((byte) TokenStream.ZERO, iCodeTop); } else if (num == 1.0) { iCodeTop = addByte((byte) TokenStream.ONE, iCodeTop); } else { iCodeTop = addByte((byte) TokenStream.NUMBER, iCodeTop); iCodeTop = addNumber(num, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case TokenStream.POP : case TokenStream.POPV : iCodeTop = updateLineNumber(node, iCodeTop); case TokenStream.ENTERWITH : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth--; break; case TokenStream.GETTHIS : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); break; case TokenStream.NEWSCOPE : iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.LEAVEWITH : iCodeTop = addByte((byte) type, iCodeTop); break; case TokenStream.TRY : { itsTryDepth++; if (itsTryDepth > itsData.itsMaxTryDepth) itsData.itsMaxTryDepth = itsTryDepth; Node catchTarget = (Node)node.getProp(Node.TARGET_PROP); Node finallyTarget = (Node)node.getProp(Node.FINALLY_PROP); if (catchTarget == null) { iCodeTop = addByte((byte) TokenStream.TRY, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); } else iCodeTop = addGoto(node, TokenStream.TRY, iCodeTop); int finallyHandler = 0; if (finallyTarget != null) { finallyHandler = acquireLabel(); int theLabel = finallyHandler & 0x7FFFFFFF; itsLabelTable[theLabel].addFixup(iCodeTop); } iCodeTop = addByte((byte)0, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); Node lastChild = null; /* when we encounter the child of the catchTarget, we set the stackDepth to 1 to account for the incoming exception object. */ boolean insertedEndTry = false; while (child != null) { if (catchTarget != null && lastChild == catchTarget) { itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } /* When the following child is the catchTarget (or the finallyTarget if there are no catches), the current child is the goto at the end of the try statemets, we need to emit the endtry before that goto. */ Node nextSibling = child.getNextSibling(); if (!insertedEndTry && nextSibling != null && (nextSibling == catchTarget || nextSibling == finallyTarget)) { iCodeTop = addByte((byte) TokenStream.ENDTRY, iCodeTop); insertedEndTry = true; } iCodeTop = generateICode(child, iCodeTop); lastChild = child; child = child.getNextSibling(); } itsStackDepth = 0; if (finallyTarget != null) { // normal flow goes around the finally handler stublet int skippy = acquireLabel(); iCodeTop = addGoto(skippy, TokenStream.GOTO, iCodeTop); // on entry the stack will have the exception object markLabel(finallyHandler, iCodeTop); itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int theLocalSlot = itsData.itsMaxLocals++; iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); Integer finallyLabel = (Integer)(finallyTarget.getProp(Node.LABEL_PROP)); iCodeTop = addGoto(finallyLabel.intValue(), TokenStream.GOSUB, iCodeTop); iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.JTHROW, iCodeTop); itsStackDepth = 0; markLabel(skippy, iCodeTop); } itsTryDepth--; } break; case TokenStream.THROW : iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.THROW, iCodeTop); itsStackDepth--; break; case TokenStream.RETURN : iCodeTop = updateLineNumber(node, iCodeTop); if (child != null) iCodeTop = generateICode(child, iCodeTop); else { iCodeTop = addByte((byte) TokenStream.UNDEFINED, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } iCodeTop = addGoto(node, TokenStream.RETURN, iCodeTop); itsStackDepth--; break; case TokenStream.GETVAR : { String name = node.getString(); if (itsData.itsNeedsActivation) { // SETVAR handled this by turning into a SETPROP, but // we can't do that to a GETVAR without manufacturing // bogus children. Instead we use a special op to // push the current scope. iCodeTop = addByte((byte) TokenStream.SCOPE, iCodeTop); iCodeTop = addByte((byte) TokenStream.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) TokenStream.GETPROP, iCodeTop); itsStackDepth--; } else { int index = itsVariableTable.getOrdinal(name); iCodeTop = addByte((byte) TokenStream.GETVAR, iCodeTop); iCodeTop = addByte((byte)index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.SETVAR : { if (itsData.itsNeedsActivation) { child.setType(TokenStream.BINDNAME); node.setType(TokenStream.SETNAME); iCodeTop = generateICode(node, iCodeTop); } else { String name = child.getString(); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); int index = itsVariableTable.getOrdinal(name); iCodeTop = addByte((byte) TokenStream.SETVAR, iCodeTop); iCodeTop = addByte((byte)index, iCodeTop); } } break; case TokenStream.PRIMARY: iCodeTop = addByte((byte) node.getInt(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.ENUMINIT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.ENUMINIT, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); itsStackDepth--; break; case TokenStream.ENUMNEXT : { iCodeTop = addByte((byte) TokenStream.ENUMNEXT, iCodeTop); Node init = (Node)node.getProp(Node.ENUM_PROP); iCodeTop = addLocalRef(init, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.ENUMDONE : // could release the local here?? break; case TokenStream.OBJECT : { Node regexp = (Node) node.getProp(Node.REGEXP_PROP); int index = ((Integer)(regexp.getProp( Node.REGEXP_PROP))).intValue(); iCodeTop = addByte((byte) TokenStream.OBJECT, iCodeTop); iCodeTop = addByte((byte)(index >> 8), iCodeTop); iCodeTop = addByte((byte)(index & 0xff), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; default : badTree(node); break; } return iCodeTop; }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/f6c346cc7699c007b0b9b27d9c3cdb5446052c64/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
2103,
45,
1085,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
2029,
15070,
273,
1151,
31,
3639,
1620,
261,
723,
13,
288,
13491,
648,
3155,
1228,
18,
7788,
294,
288,
4766,
18701,
277,
1085,
3401,
273,
527,
3216,
12443,
7229,
13,
3155,
1228,
18,
22693,
55,
4830,
16,
277,
1085,
3401,
1769,
10792,
2029,
2295,
273,
261,
907,
13,
756,
18,
588,
4658,
12,
907,
18,
7788,
67,
15811,
1769,
10792,
7925,
770,
273,
261,
4897,
13,
2295,
18,
588,
4658,
12,
907,
18,
7788,
67,
15811,
1769,
10792,
277,
1085,
3401,
273,
527,
3216,
12443,
7229,
21433,
1615,
18,
6620,
620,
1435,
1671,
1725,
3631,
277,
1085,
3401,
1769,
10792,
277,
1085,
3401,
273,
527,
3216,
12443,
7229,
21433,
1615,
18,
6620,
620,
1435,
473,
374,
5297,
3631,
277,
1085,
3401,
1769,
4766,
3639,
2097,
2624,
6148,
9904,
31,
10792,
309,
261,
1282,
2624,
6148,
405,
2097,
751,
18,
1282,
2747,
2624,
13,
13491,
2097,
751,
18,
1282,
2747,
2624,
273,
2097,
2624,
6148,
31,
7734,
289,
7734,
898,
31,
5411,
648,
3155,
1228,
18,
10885,
294,
7734,
277,
1085,
3401,
273,
1089,
31063,
12,
2159,
16,
277,
1085,
3401,
1769,
7734,
1323,
261,
3624,
480,
446,
13,
288,
10792,
309,
261,
3624,
18,
588,
559,
1435,
480,
3155,
1228,
18,
7788,
13,
7682,
277,
1085,
3401,
273,
2103,
45,
1085,
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,
509,
2103,
45,
1085,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
2029,
15070,
273,
1151,
31,
3639,
1620,
261,
723,
13,
288,
13491,
648,
3155,
1228,
18,
7788,
294,
288,
4766,
18701,
277,
1085,
3401,
273,
527,
3216,
12443,
7229,
13,
3155,
1228,
18,
22693,
55,
4830,
16,
277,
1085,
3401,
1769,
10792,
2029,
2295,
273,
261,
907,
13,
756,
18,
588,
4658,
12,
907,
18,
7788,
67,
15811,
1769,
10792,
7925,
770,
273,
261,
4897,
13,
2295,
18,
588,
4658,
12,
907,
18,
7788,
67,
15811,
1769,
10792,
277,
1085,
3401,
273,
527,
2
] |
throw new IOException("Found no " + MQ_ID + " attribute in input after line " + lineNo); }
|
throw new IOException("no ID defined near line=" + lineNo); } doc.add(new Field(F_ID, id, true, true, false, false)); String time = map.get(F_TIME); if (time != null && time.length() > 0) { long timeMillis = Long.parseLong(time) * 1000; doc.add(Field.Keyword(F_TIME, DateField.timeToString(timeMillis))); } addSimpleField(doc, map, F_SIZE); addSimpleField(doc, map, F_ADDR); addSimpleField(doc, map, F_HOST); addSimpleField(doc, map, F_FILTER); String reason = map.get(F_REASON); if (reason != null && reason.length() > 0) { doc.add(new Field(F_REASON, reason, true, true, false, true)); } String from = map.get(F_FROM); if (from != null && from.length() > 0) { addEmailAddress(doc, id, from, F_FROM, F_FROM_DOMAIN); } String toWithCommas = map.get(F_TO); if (toWithCommas != null && toWithCommas.length() > 0) { String[] toArray = toWithCommas.split(","); for (String to : toArray) { addEmailAddress(doc, id, to, F_TO, F_TO_DOMAIN); } } mIndexWriter.addDocument(doc);
|
public void handle(int lineNo, Map<String, String> map) throws IOException { if (map == null) { return; } String id = map.get(MQ_ID); if (id == null) { throw new IOException("Found no " + MQ_ID + " attribute in input after line " + lineNo); } for (String s : map.keySet()) { System.out.println(s + "=" + map.get(s)); } System.out.println(); }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/304904a249e06e6516d95d09ab4bb8a80f68c727/RemoteMailQueue.java/clean/ZimbraServer/src/java/com/zimbra/cs/rmgmt/RemoteMailQueue.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
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,
1082,
202,
780,
612,
273,
852,
18,
588,
12,
9682,
67,
734,
1769,
5411,
309,
261,
350,
422,
446,
13,
288,
7734,
604,
394,
1860,
2932,
2043,
1158,
315,
397,
26095,
67,
734,
397,
315,
1566,
316,
810,
1839,
980,
315,
397,
980,
2279,
1769,
1082,
202,
97,
13491,
364,
261,
780,
272,
294,
852,
18,
856,
694,
10756,
288,
7734,
2332,
18,
659,
18,
8222,
12,
87,
397,
9671,
397,
852,
18,
588,
12,
87,
10019,
5411,
289,
5411,
2332,
18,
659,
18,
8222,
5621,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
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,
1082,
202,
780,
612,
273,
852,
18,
588,
12,
9682,
67,
734,
1769,
5411,
309,
261,
350,
422,
446,
13,
288,
7734,
604,
394,
1860,
2932,
2043,
1158,
315,
397,
26095,
67,
734,
397,
315,
1566,
316,
810,
1839,
980,
315,
397,
980,
2279,
1769,
1082,
202,
97,
13491,
364,
261,
780,
272,
294,
852,
18,
856,
694,
10756,
288,
7734,
2332,
18,
659,
18,
8222,
12,
87,
397,
9671,
397,
852,
18,
588,
12,
87,
10019,
5411,
289,
5411,
2332,
18,
659,
18,
8222,
2
] |
out.print("\">View/Open</A></td></tr>");
|
out.print("\">" + LocaleSupport.getLocalizedMessage(pageContext, "org.dspace.app.webui.jsptag.ItemTag.view") + "</A></td></tr>");
|
private void listBitstreams() throws IOException { JspWriter out = pageContext.getOut(); HttpServletRequest request = (HttpServletRequest) pageContext .getRequest(); out.print("<table align=center class=\"miscTable\"><tr>"); out .println("<td class=evenRowEvenCol><P><strong>Files in This Item:</strong></P>"); Bundle[] bundles = item.getBundles("ORIGINAL"); if (bundles.length == 0) { out.println("<P>There are no files associated with this item.</P>"); } else { boolean html = false; String handle = item.getHandle(); Bitstream primaryBitstream = null; Bundle[] bunds = item.getBundles("ORIGINAL"); Bundle[] thumbs = item.getBundles("THUMBNAIL"); // if item contains multiple bitstreams, display bitstream // description boolean multiFile = false; Bundle[] allBundles = item.getBundles(); for (int i = 0, filecount = 0; (i < allBundles.length) && !multiFile; i++) { filecount += allBundles[i].getBitstreams().length; multiFile = (filecount > 1); } // check if primary bitstream is html if (bunds[0] != null) { Bitstream[] bits = bunds[0].getBitstreams(); for (int i = 0; (i < bits.length) && !html; i++) { if (bits[i].getID() == bunds[0].getPrimaryBitstreamID()) { html = bits[i].getFormat().getMIMEType().equals( "text/html"); primaryBitstream = bits[i]; } } } out .println("<table cellpadding=6><tr><th class=\"standard\">File</th>"); if (multiFile) { out.println("<th class=\"standard\">Description</th>"); } out .println("<th class=\"standard\">Size</th class=\"standard\"><th class=\"standard\">Format</th></tr>"); // if primary bitstream is html, display a link for only that one to // HTMLServlet if (html) { // If no real Handle yet (e.g. because Item is in workflow) // we use the 'fake' Handle db-id/1234 where 1234 is the // database ID of the item. if (handle == null) { handle = "db-id/" + item.getID(); } out.print("<tr><td class=\"standard\">"); out.print(primaryBitstream.getName()); if (multiFile) { out.print("</td><td class=\"standard\">"); String desc = primaryBitstream.getDescription(); out.print((desc != null) ? desc : ""); } out.print("</td><td class=\"standard\">"); out.print(primaryBitstream.getSize() / 1024); out.print("Kb</td><td class=\"standard\">"); out.print(primaryBitstream.getFormatDescription()); out .print("</td><td class=\"standard\"><A TARGET=_blank HREF=\""); out.print(request.getContextPath()); out.print("/html/"); out.print(handle + "/"); out.print(UIUtil.encodeBitstreamName(primaryBitstream.getName(), Constants.DEFAULT_ENCODING)); out.print("\">View/Open</A></td></tr>"); } else { for (int i = 0; i < bundles.length; i++) { Bitstream[] bitstreams = bundles[i].getBitstreams(); for (int k = 0; k < bitstreams.length; k++) { // Skip internal types if (!bitstreams[k].getFormat().isInternal()) { out.print("<tr><td class=\"standard\">"); out.print(bitstreams[k].getName()); if (multiFile) { out.print("</td><td class=\"standard\">"); String desc = bitstreams[k].getDescription(); out.print((desc != null) ? desc : ""); } out.print("</td><td class=\"standard\">"); out.print(bitstreams[k].getSize() / 1024); out.print("Kb</td><td class=\"standard\">"); out.print(bitstreams[k].getFormatDescription()); out .print("</td><td class=\"standard\" align=\"center\">"); // Work out what the bitstream link should be // (persistent // ID if item has Handle) String bsLink = "<A TARGET=_blank HREF=\"" + request.getContextPath(); if ((handle != null) && (bitstreams[k].getSequenceID() > 0)) { bsLink = bsLink + "/bitstream/" + item.getHandle() + "/" + bitstreams[k].getSequenceID() + "/"; } else { bsLink = bsLink + "/retrieve/" + bitstreams[k].getID() + "/"; } bsLink = bsLink + UIUtil.encodeBitstreamName( bitstreams[k].getName(), Constants.DEFAULT_ENCODING) + "\">"; // is there a thumbnail bundle? if ((thumbs.length > 0) && showThumbs) { String tName = bitstreams[k].getName() + ".jpg"; Bitstream tb = thumbs[0] .getBitstreamByName(tName); if (tb != null) { String myPath = request.getContextPath() + "/retrieve/" + tb.getID() + "/" + UIUtil.encodeBitstreamName(tb.getName(), Constants.DEFAULT_ENCODING); out.print(bsLink); out.print("<img src=\"" + myPath + "\" "); out.print("alt=\"" + tName + "\"></A><BR>"); } } out.print(bsLink + "View/Open</A></td></tr>"); } } } } out.println("</table>"); } out.println("</td></tr></table>"); }
|
47214 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47214/22d85d1df34eed227975b6e94ba17893121fac13/ItemTag.java/buggy/dspace/src/org/dspace/app/webui/jsptag/ItemTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
666,
5775,
16320,
1435,
1216,
1860,
565,
288,
3639,
19300,
2289,
596,
273,
21442,
18,
588,
1182,
5621,
3639,
9984,
590,
273,
261,
2940,
18572,
13,
21442,
7734,
263,
588,
691,
5621,
3639,
596,
18,
1188,
2932,
32,
2121,
5689,
33,
5693,
667,
5189,
23667,
1388,
2412,
4438,
313,
2984,
1769,
3639,
596,
7734,
263,
8222,
2932,
32,
4465,
667,
33,
16728,
1999,
8321,
914,
4438,
52,
4438,
9110,
34,
2697,
316,
1220,
4342,
19814,
9110,
4695,
52,
2984,
1769,
3639,
8539,
8526,
11408,
273,
761,
18,
588,
16151,
2932,
24685,
1013,
8863,
3639,
309,
261,
22773,
18,
2469,
422,
374,
13,
3639,
288,
5411,
596,
18,
8222,
2932,
32,
52,
34,
9828,
854,
1158,
1390,
3627,
598,
333,
761,
17347,
52,
2984,
1769,
3639,
289,
3639,
469,
3639,
288,
5411,
1250,
1729,
273,
629,
31,
5411,
514,
1640,
273,
761,
18,
588,
3259,
5621,
5411,
6539,
3256,
3354,
5775,
3256,
273,
446,
31,
5411,
8539,
8526,
324,
19156,
273,
761,
18,
588,
16151,
2932,
24685,
1013,
8863,
5411,
8539,
8526,
286,
10099,
273,
761,
18,
588,
16151,
2932,
2455,
2799,
15388,
6575,
8863,
5411,
368,
309,
761,
1914,
3229,
2831,
16320,
16,
2562,
28640,
5411,
368,
2477,
5411,
1250,
3309,
812,
273,
629,
31,
5411,
8539,
8526,
777,
16151,
273,
761,
18,
588,
16151,
5621,
5411,
364,
261,
474,
277,
273,
374,
16,
585,
1883,
273,
374,
31,
261,
77,
411,
777,
16151,
18,
2469,
13,
10792,
597,
401,
7027,
812,
31,
277,
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,
666,
5775,
16320,
1435,
1216,
1860,
565,
288,
3639,
19300,
2289,
596,
273,
21442,
18,
588,
1182,
5621,
3639,
9984,
590,
273,
261,
2940,
18572,
13,
21442,
7734,
263,
588,
691,
5621,
3639,
596,
18,
1188,
2932,
32,
2121,
5689,
33,
5693,
667,
5189,
23667,
1388,
2412,
4438,
313,
2984,
1769,
3639,
596,
7734,
263,
8222,
2932,
32,
4465,
667,
33,
16728,
1999,
8321,
914,
4438,
52,
4438,
9110,
34,
2697,
316,
1220,
4342,
19814,
9110,
4695,
52,
2984,
1769,
3639,
8539,
8526,
11408,
273,
761,
18,
588,
16151,
2932,
24685,
1013,
8863,
3639,
309,
261,
22773,
18,
2469,
422,
374,
13,
3639,
288,
5411,
596,
18,
8222,
2932,
32,
52,
34,
9828,
854,
1158,
1390,
2
] |
_t = __t2316;
|
_t = __t2317;
|
public final void grant_rev_to(AST _t) throws RecognitionException { AST grant_rev_to_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TO: { AST __t2316 = _t; AST tmp2480_AST_in = (AST)_t; match(_t,TO); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PUBLIC: { AST tmp2481_AST_in = (AST)_t; match(_t,PUBLIC); _t = _t.getNextSibling(); break; } case FILENAME: { AST tmp2482_AST_in = (AST)_t; match(_t,FILENAME); _t = _t.getNextSibling(); { _loop2319: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp2483_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); AST tmp2484_AST_in = (AST)_t; match(_t,FILENAME); _t = _t.getNextSibling(); } else { break _loop2319; } } while (true); } break; } default: { throw new NoViableAltException(_t); } } } _t = __t2316; _t = _t.getNextSibling(); break; } case FROM: { AST __t2320 = _t; AST tmp2485_AST_in = (AST)_t; match(_t,FROM); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PUBLIC: { AST tmp2486_AST_in = (AST)_t; match(_t,PUBLIC); _t = _t.getNextSibling(); break; } case FILENAME: { AST tmp2487_AST_in = (AST)_t; match(_t,FILENAME); _t = _t.getNextSibling(); { _loop2323: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp2488_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); AST tmp2489_AST_in = (AST)_t; match(_t,FILENAME); _t = _t.getNextSibling(); } else { break _loop2323; } } while (true); } break; } default: { throw new NoViableAltException(_t); } } } _t = __t2320; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
7936,
67,
9083,
67,
869,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
7936,
67,
9083,
67,
869,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
8493,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
4366,
2313,
273,
389,
88,
31,
1082,
202,
9053,
1853,
3247,
3672,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
4296,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
95,
1082,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
1082,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
1082,
202,
3593,
17187,
30,
1082,
202,
95,
9506,
202,
9053,
1853,
3247,
11861,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
9506,
202,
1916,
24899,
88,
16,
14939,
1769,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
9506,
202,
8820,
31,
1082,
202,
97,
1082,
202,
3593,
7527,
1985,
30,
1082,
202,
95,
9506,
202,
9053,
1853,
3247,
11149,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
9506,
202,
1916,
24899,
88,
16,
16080,
1769,
9506,
202,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
7936,
67,
9083,
67,
869,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
7936,
67,
9083,
67,
869,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
8493,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
4366,
2313,
273,
389,
88,
31,
1082,
202,
9053,
1853,
3247,
3672,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
4296,
1769,
1082,
202,
2
] |
public void setupFixed(Context c, Box box) { if (isFixed(c, box)) { //System.out.println("setting fixed for box: " + box); box.fixed = true; if (c.css.hasProperty(box.node, "right", false)) { box.right = (int) c.css.getFloatProperty(box.node, "right", 0, false); box.right_set = true; } if (c.css.hasProperty(box.node, "bottom", false)) { box.bottom = (int) c.css.getFloatProperty(box.node, "bottom", 0, false); box.bottom_set = true; } } }
|
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/07ab625b03cad242caa27ac48e830592130b24a1/BoxLayout.java/clean/src/java/org/joshy/html/BoxLayout.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
8401,
7505,
12,
1042,
71,
16,
3514,
2147,
15329,
430,
12,
291,
7505,
12,
71,
16,
2147,
3719,
95,
759,
3163,
18,
659,
18,
8222,
2932,
8920,
12429,
1884,
2147,
2773,
15,
2147,
1769,
2147,
18,
12429,
33,
3767,
31,
430,
12,
71,
18,
5212,
18,
5332,
1396,
12,
2147,
18,
2159,
10837,
4083,
3113,
5743,
3719,
95,
2147,
18,
4083,
28657,
474,
13,
71,
18,
5212,
18,
588,
4723,
1396,
12,
2147,
18,
2159,
10837,
4083,
3113,
20,
16,
5743,
1769,
2147,
18,
4083,
67,
542,
33,
3767,
31,
97,
430,
12,
71,
18,
5212,
18,
5332,
1396,
12,
2147,
18,
2159,
10837,
9176,
3113,
5743,
3719,
95,
2147,
18,
9176,
28657,
474,
13,
71,
18,
5212,
18,
588,
4723,
1396,
12,
2147,
18,
2159,
10837,
9176,
3113,
20,
16,
5743,
1769,
2147,
18,
9176,
67,
542,
33,
3767,
31,
9090,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
8401,
7505,
12,
1042,
71,
16,
3514,
2147,
15329,
430,
12,
291,
7505,
12,
71,
16,
2147,
3719,
95,
759,
3163,
18,
659,
18,
8222,
2932,
8920,
12429,
1884,
2147,
2773,
15,
2147,
1769,
2147,
18,
12429,
33,
3767,
31,
430,
12,
71,
18,
5212,
18,
5332,
1396,
12,
2147,
18,
2159,
10837,
4083,
3113,
5743,
3719,
95,
2147,
18,
4083,
28657,
474,
13,
71,
18,
5212,
18,
588,
4723,
1396,
12,
2147,
18,
2159,
10837,
4083,
3113,
20,
16,
5743,
1769,
2147,
18,
4083,
67,
542,
33,
3767,
31,
97,
430,
12,
71,
18,
5212,
18,
5332,
1396,
12,
2147,
18,
2159,
10837,
9176,
3113,
5743,
3719,
95,
2147,
18,
9176,
28657,
474,
13,
71,
18,
2
] |
||
} else {
|
setEditorAreaVisible(true); } else {
|
protected void onActivate() { // Update editor area state. if (editorArea.getControl() != null) { if (isEditorAreaVisible()) { // Enable the editor area now that it will be made // visible and can accept keyboard focus again. editorArea.getControl().setEnabled(true); } else { // Disable the entire editor area so if an editor had // keyboard focus it will let it go. editorArea.getControl().setEnabled(false); } } // Update fast views. // Make sure the control for the fastviews are create so they can // be activated. for (int i = 0; i < fastViews.size(); i++){ ViewPane pane = getPane((IViewReference)fastViews.get(i)); Control ctrl = pane.getControl(); if (ctrl == null) { pane.createControl(getClientComposite()); ctrl = pane.getControl(); } presentation.enableDrag(pane); ctrl.setEnabled(false); // Remove focus support. } setAllPinsVisible(true); presentation.activate(getClientComposite()); getClientComposite().addListener(SWT.Resize, resizeListener); if (shouldHideEditorsOnActivate) { // We do this here to ensure that createPartControl is called on the top editor // before it is hidden. See bug 20166. hideEditorArea(); shouldHideEditorsOnActivate = false; }}
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/5ea8056f546492c6a8fb89e9a38be3b72c2a3298/Perspective.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Perspective.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
603,
21370,
1435,
288,
202,
759,
2315,
4858,
5091,
919,
18,
202,
430,
261,
9177,
5484,
18,
588,
3367,
1435,
480,
446,
13,
288,
202,
202,
430,
261,
291,
6946,
5484,
6207,
10756,
288,
1082,
202,
759,
9677,
326,
4858,
5091,
2037,
716,
518,
903,
506,
7165,
1082,
202,
759,
6021,
471,
848,
2791,
16263,
7155,
3382,
18,
1082,
202,
9177,
5484,
18,
588,
3367,
7675,
542,
1526,
12,
3767,
1769,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
759,
10639,
326,
7278,
4858,
5091,
1427,
309,
392,
4858,
9323,
1082,
202,
759,
16263,
7155,
518,
903,
2231,
518,
1960,
18,
1082,
202,
9177,
5484,
18,
588,
3367,
7675,
542,
1526,
12,
5743,
1769,
202,
202,
97,
202,
97,
202,
759,
2315,
4797,
7361,
18,
202,
759,
4344,
3071,
326,
3325,
364,
326,
4797,
7061,
854,
752,
1427,
2898,
848,
202,
759,
506,
14892,
18,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
4797,
9959,
18,
1467,
5621,
277,
27245,
95,
202,
202,
1767,
8485,
13618,
273,
1689,
8806,
12443,
45,
1767,
2404,
13,
8076,
9959,
18,
588,
12,
77,
10019,
202,
202,
3367,
6414,
273,
13618,
18,
588,
3367,
5621,
202,
202,
430,
261,
16277,
422,
446,
13,
288,
1082,
202,
29009,
18,
2640,
3367,
12,
588,
1227,
9400,
10663,
1082,
202,
16277,
273,
13618,
18,
588,
3367,
5621,
202,
202,
97,
202,
202,
10364,
18,
7589,
11728,
12,
29009,
1769,
9506,
202,
16277,
18,
542,
1526,
12,
5743,
1769,
368,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
603,
21370,
1435,
288,
202,
759,
2315,
4858,
5091,
919,
18,
202,
430,
261,
9177,
5484,
18,
588,
3367,
1435,
480,
446,
13,
288,
202,
202,
430,
261,
291,
6946,
5484,
6207,
10756,
288,
1082,
202,
759,
9677,
326,
4858,
5091,
2037,
716,
518,
903,
506,
7165,
1082,
202,
759,
6021,
471,
848,
2791,
16263,
7155,
3382,
18,
1082,
202,
9177,
5484,
18,
588,
3367,
7675,
542,
1526,
12,
3767,
1769,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
759,
10639,
326,
7278,
4858,
5091,
1427,
309,
392,
4858,
9323,
1082,
202,
759,
16263,
7155,
518,
903,
2231,
518,
1960,
18,
1082,
202,
9177,
5484,
18,
588,
3367,
7675,
542,
1526,
12,
5743,
1769,
202,
202,
2
] |
sh.start(fs);
|
sh.start(fs, false);
|
public void start(SimpleFieldSet fs) throws InserterException { if(fs != null) { String type = fs.get("Type"); if(type.equals("SplitHandler")) { // Try to reconstruct SplitHandler. // If we succeed, we bypass both compression and FEC encoding! try { SplitHandler sh = new SplitHandler(); sh.start(fs); cb.onTransition(this, sh); return; } catch (ResumeException e) { Logger.error(this, "Failed to restore: "+e, e); } } } if(block.getData().size() > COMPRESS_OFF_THREAD_LIMIT) { // Run off thread OffThreadCompressor otc = new OffThreadCompressor(); Thread t = new Thread(otc, "Compressor for "+this); Logger.minor(this, "Compressing off-thread: "+t); t.setDaemon(true); t.start(); } else { tryCompress(); } }
|
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/061010015b3d00f5ee1ad77439a6cdbdbccdc92a/SingleFileInserter.java/clean/src/freenet/client/async/SingleFileInserter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
12,
5784,
974,
694,
2662,
13,
1216,
657,
550,
387,
503,
288,
202,
202,
430,
12,
2556,
480,
446,
13,
288,
1082,
202,
780,
618,
273,
2662,
18,
588,
2932,
559,
8863,
1082,
202,
430,
12,
723,
18,
14963,
2932,
5521,
1503,
6,
3719,
288,
9506,
202,
759,
6161,
358,
23243,
5385,
1503,
18,
9506,
202,
759,
971,
732,
12897,
16,
732,
17587,
3937,
9154,
471,
478,
7228,
2688,
5,
9506,
202,
698,
288,
6862,
202,
5521,
1503,
699,
273,
394,
5385,
1503,
5621,
6862,
202,
674,
18,
1937,
12,
2556,
1769,
6862,
202,
7358,
18,
265,
8850,
12,
2211,
16,
699,
1769,
6862,
202,
2463,
31,
9506,
202,
97,
1044,
261,
20911,
503,
425,
13,
288,
6862,
202,
3328,
18,
1636,
12,
2211,
16,
315,
2925,
358,
5217,
30,
13773,
73,
16,
425,
1769,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
430,
12,
2629,
18,
588,
751,
7675,
1467,
1435,
405,
5423,
22526,
67,
8797,
67,
21730,
67,
8283,
13,
288,
1082,
202,
759,
1939,
3397,
2650,
1082,
202,
7210,
3830,
16552,
280,
320,
5111,
273,
394,
15837,
3830,
16552,
280,
5621,
1082,
202,
3830,
268,
273,
394,
4884,
12,
352,
71,
16,
315,
16552,
280,
364,
13773,
2211,
1769,
1082,
202,
3328,
18,
17364,
12,
2211,
16,
315,
16552,
310,
3397,
17,
5930,
30,
13773,
88,
1769,
1082,
202,
88,
18,
542,
12858,
12,
3767,
1769,
1082,
202,
88,
18,
1937,
5621,
202,
202,
97,
469,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
12,
5784,
974,
694,
2662,
13,
1216,
657,
550,
387,
503,
288,
202,
202,
430,
12,
2556,
480,
446,
13,
288,
1082,
202,
780,
618,
273,
2662,
18,
588,
2932,
559,
8863,
1082,
202,
430,
12,
723,
18,
14963,
2932,
5521,
1503,
6,
3719,
288,
9506,
202,
759,
6161,
358,
23243,
5385,
1503,
18,
9506,
202,
759,
971,
732,
12897,
16,
732,
17587,
3937,
9154,
471,
478,
7228,
2688,
5,
9506,
202,
698,
288,
6862,
202,
5521,
1503,
699,
273,
394,
5385,
1503,
5621,
6862,
202,
674,
18,
1937,
12,
2556,
1769,
6862,
202,
7358,
18,
265,
8850,
12,
2211,
16,
699,
1769,
6862,
202,
2463,
31,
9506,
202,
97,
1044,
261,
20911,
503,
2
] |
Iterator declarations = parse( "namespace N { class A { }; } class B : protected virtual N::A { };").getDeclarations();
|
Iterator declarations = parse( "namespace N { class A { }; } class B : protected virtual N::A { };").getDeclarations();
|
public void testNestedSubclass() throws Exception { Iterator declarations = parse( "namespace N { class A { }; } class B : protected virtual N::A { };").getDeclarations(); IASTNamespaceDefinition namespaceDefinition = (IASTNamespaceDefinition)declarations.next(); IASTClassSpecifier classA = (IASTClassSpecifier)((IASTAbstractTypeSpecifierDeclaration)getDeclarations( namespaceDefinition).next() ).getTypeSpecifier(); IASTClassSpecifier classB = (IASTClassSpecifier)((IASTAbstractTypeSpecifierDeclaration)declarations.next()).getTypeSpecifier(); Iterator baseClauses = classB.getBaseClauses(); IASTBaseSpecifier baseClass = (IASTBaseSpecifier)baseClauses.next(); assertEquals( classA, baseClass.getParentClassSpecifier() ); assertEquals( callback.getReferences().size(), 2 ); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/3a6ffef8f855652606f74a14d4b15478c81e5db4/CompleteParseASTTest.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/CompleteParseASTTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
8649,
1676,
1106,
1435,
1216,
1185,
565,
288,
377,
202,
3198,
12312,
273,
1109,
12,
315,
4937,
423,
288,
667,
432,
288,
289,
31,
289,
667,
605,
294,
4750,
5024,
423,
2866,
37,
288,
289,
4868,
2934,
588,
21408,
5621,
377,
202,
45,
9053,
3402,
1852,
1981,
1852,
273,
261,
45,
9053,
3402,
1852,
13,
8840,
9642,
18,
4285,
5621,
377,
202,
45,
9053,
797,
21416,
667,
37,
273,
261,
45,
9053,
797,
21416,
13,
12443,
45,
9053,
7469,
559,
21416,
6094,
13,
588,
21408,
12,
1981,
1852,
2934,
4285,
1435,
262,
18,
588,
559,
21416,
5621,
3196,
202,
45,
9053,
797,
21416,
667,
38,
273,
261,
45,
9053,
797,
21416,
13,
12443,
45,
9053,
7469,
559,
21416,
6094,
13,
8840,
9642,
18,
4285,
1435,
2934,
588,
559,
21416,
5621,
202,
202,
3198,
1026,
22434,
273,
667,
38,
18,
588,
2171,
22434,
5621,
3196,
202,
45,
9053,
2171,
21416,
23955,
273,
261,
45,
9053,
2171,
21416,
13,
1969,
22434,
18,
4285,
5621,
202,
202,
11231,
8867,
12,
667,
37,
16,
23955,
18,
588,
3054,
797,
21416,
1435,
11272,
202,
202,
11231,
8867,
12,
1348,
18,
588,
8221,
7675,
1467,
9334,
576,
11272,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
8649,
1676,
1106,
1435,
1216,
1185,
565,
288,
377,
202,
3198,
12312,
273,
1109,
12,
315,
4937,
423,
288,
667,
432,
288,
289,
31,
289,
667,
605,
294,
4750,
5024,
423,
2866,
37,
288,
289,
4868,
2934,
588,
21408,
5621,
377,
202,
45,
9053,
3402,
1852,
1981,
1852,
273,
261,
45,
9053,
3402,
1852,
13,
8840,
9642,
18,
4285,
5621,
377,
202,
45,
9053,
797,
21416,
667,
37,
273,
261,
45,
9053,
797,
21416,
13,
12443,
45,
9053,
7469,
559,
21416,
6094,
13,
588,
21408,
12,
1981,
1852,
2934,
4285,
1435,
262,
18,
588,
559,
21416,
5621,
3196,
202,
45,
9053,
797,
21416,
667,
38,
273,
261,
45,
9053,
797,
21416,
13,
12443,
45,
9053,
2
] |
lblRightYGrouping.setText( label );
|
lblRightYGrouping.setText( strDesc );
|
public Composite createArea( Composite parent ) { cmpGroup = ChartUIUtil.createCompositeWrapper( parent ); lblRightYGrouping = new Label( cmpGroup, SWT.WRAP ); { GridData gd = new GridData( ); gd.widthHint = 100; lblRightYGrouping.setLayoutData( gd ); lblRightYGrouping.setText( label ); } if ( seriesDefn != null && !seriesDefn.isEmpty( ) ) { int index = 1; for ( Iterator iterator = seriesDefn.iterator( ); iterator.hasNext( ); index++ ) { if ( seriesDefn.size( ) == 1 ) { // Remove the title when only single series index = 0; } createRightAxisArea( cmpGroup, index, ( (SeriesDefinition) iterator.next( ) ) ); } } return cmpGroup; }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/ac26365eb54b9a10e69498a213cb6f605f15760b/MultipleSeriesComponent.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/data/MultipleSeriesComponent.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
14728,
752,
5484,
12,
14728,
982,
262,
1082,
202,
95,
9506,
202,
9625,
1114,
273,
14804,
5370,
1304,
18,
2640,
9400,
3611,
12,
982,
11272,
9506,
202,
31885,
4726,
61,
21014,
273,
394,
5287,
12,
9411,
1114,
16,
348,
8588,
18,
27664,
11272,
9506,
202,
95,
6862,
202,
6313,
751,
15551,
273,
394,
7145,
751,
12,
11272,
6862,
202,
19016,
18,
2819,
7002,
273,
2130,
31,
6862,
202,
31885,
4726,
61,
21014,
18,
542,
3744,
751,
12,
15551,
11272,
6862,
202,
31885,
4726,
61,
21014,
18,
542,
1528,
12,
1433,
11272,
9506,
202,
97,
9506,
202,
430,
261,
4166,
3262,
82,
480,
446,
597,
401,
10222,
3262,
82,
18,
291,
1921,
12,
262,
262,
9506,
202,
95,
6862,
202,
474,
770,
273,
404,
31,
6862,
202,
1884,
261,
4498,
2775,
273,
4166,
3262,
82,
18,
9838,
12,
11272,
2775,
18,
5332,
2134,
12,
11272,
770,
9904,
262,
6862,
202,
95,
25083,
202,
430,
261,
4166,
3262,
82,
18,
1467,
12,
262,
422,
404,
262,
25083,
202,
95,
6862,
1082,
202,
759,
3581,
326,
2077,
1347,
1338,
2202,
4166,
6862,
1082,
202,
1615,
273,
374,
31,
25083,
202,
97,
25083,
202,
2640,
4726,
6558,
5484,
12,
9411,
1114,
16,
6862,
9506,
202,
1615,
16,
6862,
9506,
202,
12,
261,
6485,
1852,
13,
2775,
18,
4285,
12,
262,
262,
11272,
6862,
202,
97,
9506,
202,
97,
9506,
202,
2463,
9411,
1114,
31,
1082,
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,
1875,
202,
482,
14728,
752,
5484,
12,
14728,
982,
262,
1082,
202,
95,
9506,
202,
9625,
1114,
273,
14804,
5370,
1304,
18,
2640,
9400,
3611,
12,
982,
11272,
9506,
202,
31885,
4726,
61,
21014,
273,
394,
5287,
12,
9411,
1114,
16,
348,
8588,
18,
27664,
11272,
9506,
202,
95,
6862,
202,
6313,
751,
15551,
273,
394,
7145,
751,
12,
11272,
6862,
202,
19016,
18,
2819,
7002,
273,
2130,
31,
6862,
202,
31885,
4726,
61,
21014,
18,
542,
3744,
751,
12,
15551,
11272,
6862,
202,
31885,
4726,
61,
21014,
18,
542,
1528,
12,
1433,
11272,
9506,
202,
97,
9506,
202,
430,
261,
4166,
3262,
82,
480,
446,
597,
401,
10222,
3262,
82,
18,
291,
1921,
12,
262,
262,
9506,
202,
2
] |
+ " . Prevayler's default behavior is to display this message and block all transactions. You can change this behavior by extending the PersistentLogger class and overriding the method called: handleExceptionWhileCreating(IOException iox, File logFile).");
|
+ " . Prevayler's default behavior is to display this message and block all transactions. You can change this behavior by extending the PersistentJournal class and overriding the method called: handleExceptionWhileCreating(IOException iox, File logFile).");
|
public void handleExceptionWhileCreatingLogFile(IOException iox, File logFile) { iox.printStackTrace(); System.out .println("\nThe exception above was thrown while trying to create file " + logFile + " . Prevayler's default behavior is to display this message and block all transactions. You can change this behavior by extending the PersistentLogger class and overriding the method called: handleExceptionWhileCreating(IOException iox, File logFile)."); }
|
6336 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6336/c7326ecbf22e0d491768c86f67814cf10b7a3549/SimpleMonitor.java/buggy/prevayler/src/main/org/prevayler/implementation/monitor/SimpleMonitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20879,
15151,
11092,
19103,
12,
14106,
277,
2409,
16,
1387,
20169,
13,
288,
3639,
277,
2409,
18,
1188,
6332,
5621,
3639,
2332,
18,
659,
7734,
263,
8222,
31458,
82,
1986,
1520,
5721,
1703,
6718,
1323,
8374,
358,
752,
585,
315,
13491,
397,
20169,
13491,
397,
315,
263,
24825,
528,
749,
1807,
805,
6885,
353,
358,
2562,
333,
883,
471,
1203,
777,
8938,
18,
4554,
848,
2549,
333,
6885,
635,
27147,
326,
11049,
16336,
667,
471,
19488,
326,
707,
2566,
30,
20879,
15151,
11092,
12,
14106,
277,
2409,
16,
1387,
20169,
14944,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20879,
15151,
11092,
19103,
12,
14106,
277,
2409,
16,
1387,
20169,
13,
288,
3639,
277,
2409,
18,
1188,
6332,
5621,
3639,
2332,
18,
659,
7734,
263,
8222,
31458,
82,
1986,
1520,
5721,
1703,
6718,
1323,
8374,
358,
752,
585,
315,
13491,
397,
20169,
13491,
397,
315,
263,
24825,
528,
749,
1807,
805,
6885,
353,
358,
2562,
333,
883,
471,
1203,
777,
8938,
18,
4554,
848,
2549,
333,
6885,
635,
27147,
326,
11049,
16336,
667,
471,
19488,
326,
707,
2566,
30,
20879,
15151,
11092,
12,
14106,
277,
2409,
16,
1387,
20169,
14944,
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
] |
{ Float d[] = { new Float(-1.0), new Float(1234.543), new Float(0.0), new Float(1), new Float(-2.0), new Float(0.14), new Float(0.79), new Float(1000000.12345), new Float(-1000000.12345), new Float(1000000), new Float(-1000000), new Float(3.4E+38), new Float(3.4E-38) };
|
{ Float d[] = { new Float(-1.0), new Float(1234.543), new Float(0.0), new Float(1), new Float(-2.0), new Float(0.14), new Float(0.79), new Float(1000000.12345), new Float(-1000000.12345), new Float(1000000), new Float(-1000000), new Float(3.4E+38), new Float(3.4E-38) };
|
public void testPrimaryKeyReal0024() throws Exception { Float d[] = { new Float(-1.0), new Float(1234.543), new Float(0.0), new Float(1), new Float(-2.0), new Float(0.14), new Float(0.79), new Float(1000000.12345), new Float(-1000000.12345), new Float(1000000), new Float(-1000000), new Float(3.4E+38), new Float(3.4E-38) }; Connection cx = getConnection(); dropTable("#t0024"); Statement stmt = cx.createStatement(); stmt.executeUpdate("" + "create table #t0024 " + " (pk real not null, " + " type char(30) not null, " + " b bit, " + " str char(30) not null, " + " t int identity(1,1), " +" primary key (pk, type)) "); PreparedStatement pStmt = cx.prepareStatement( "insert into #t0024 (pk, type, b, str) values(?, 'prepared', 0, ?)"); for (int i=0; i < d.length; i++) { pStmt.setFloat(1, d[i].floatValue()); pStmt.setString(2, (d[i]).toString()); int preparedCount = pStmt.executeUpdate(); assertTrue(preparedCount == 1); int adhocCount = stmt.executeUpdate("" + "insert into #t0024 " + " (pk, type, b, str) " + " values(" + " " + d[i] + ", " + " 'adhoc', " + " 1, " + " '" + d[i] + "') "); assertTrue(adhocCount == 1); } int count = 0; ResultSet rs = stmt.executeQuery("select * from #t0024 where type='prepared' order by t"); assertNotNull(rs); while (rs.next()) { String s1 = d[count].toString().trim(); String s2 = ("" + rs.getFloat("pk")).trim(); assertTrue(s1.equalsIgnoreCase(s2)); count++; } assertTrue(count == d.length); count = 0; rs = stmt.executeQuery("select * from #t0024 where type='adhoc' order by t"); while (rs.next()) { String s1 = d[count].toString().trim(); String s2 = ("" + rs.getFloat("pk")).trim(); assertTrue(s1.equalsIgnoreCase(s2)); count++; } assertTrue(count == d.length); }
|
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,
11575,
6955,
713,
3247,
1435,
1216,
1185,
202,
95,
202,
202,
4723,
302,
8526,
273,
202,
202,
95,
1082,
202,
2704,
5450,
19236,
21,
18,
20,
3631,
1082,
202,
2704,
5450,
12,
28462,
18,
6564,
23,
3631,
1082,
202,
2704,
5450,
12,
20,
18,
20,
3631,
1082,
202,
2704,
5450,
12,
21,
3631,
1082,
202,
2704,
5450,
19236,
22,
18,
20,
3631,
1082,
202,
2704,
5450,
12,
20,
18,
3461,
3631,
1082,
202,
2704,
5450,
12,
20,
18,
7235,
3631,
1082,
202,
2704,
5450,
12,
21,
9449,
18,
2138,
25574,
3631,
1082,
202,
2704,
5450,
19236,
21,
9449,
18,
2138,
25574,
3631,
1082,
202,
2704,
5450,
12,
21,
9449,
3631,
1082,
202,
2704,
5450,
19236,
21,
9449,
3631,
1082,
202,
2704,
5450,
12,
23,
18,
24,
41,
15,
7414,
3631,
1082,
202,
2704,
5450,
12,
23,
18,
24,
41,
17,
7414,
13,
202,
202,
20451,
202,
202,
1952,
9494,
273,
6742,
5621,
202,
202,
7285,
1388,
2932,
7,
88,
713,
3247,
8863,
202,
202,
3406,
225,
3480,
565,
273,
9494,
18,
2640,
3406,
5621,
202,
202,
10589,
18,
8837,
1891,
2932,
6,
1082,
202,
15,
315,
2640,
1014,
468,
88,
713,
3247,
5375,
315,
1082,
202,
15,
315,
225,
261,
5465,
282,
2863,
486,
446,
16,
2398,
315,
1082,
202,
15,
315,
282,
618,
1149,
12,
5082,
13,
486,
446,
16,
1850,
315,
1082,
202,
15,
315,
282,
324,
565,
2831,
16,
13491,
315,
1082,
202,
15,
315,
282,
609,
225,
1149,
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,
11575,
6955,
713,
3247,
1435,
1216,
1185,
202,
95,
202,
202,
4723,
302,
8526,
273,
202,
202,
95,
1082,
202,
2704,
5450,
19236,
21,
18,
20,
3631,
1082,
202,
2704,
5450,
12,
28462,
18,
6564,
23,
3631,
1082,
202,
2704,
5450,
12,
20,
18,
20,
3631,
1082,
202,
2704,
5450,
12,
21,
3631,
1082,
202,
2704,
5450,
19236,
22,
18,
20,
3631,
1082,
202,
2704,
5450,
12,
20,
18,
3461,
3631,
1082,
202,
2704,
5450,
12,
20,
18,
7235,
3631,
1082,
202,
2704,
5450,
12,
21,
9449,
18,
2138,
25574,
3631,
1082,
202,
2704,
5450,
19236,
21,
9449,
18,
2138,
25574,
3631,
1082,
202,
2704,
5450,
12,
21,
9449,
3631,
1082,
202,
2704,
5450,
2
] |
}
|
public final Object readObject() throws ClassNotFoundException, IOException { if( myUseSubclassMethod ) return readObjectOverride(); boolean was_deserializing; boolean first_time = true; Object ret_val; while( true ) { //DEBUG if( !first_time ) throw new RuntimeException( "Help me!! I'm in an infinite loop." ); first_time = false; //eDEBUG was_deserializing = myIsDeserializing; if( ! was_deserializing ) setBlockDataMode( false ); DEBUG( "MARKER " ); byte marker = myRealInputStream.readByte(); if( marker == TC_BLOCKDATA || marker == TC_BLOCKDATALONG ) { readNextBlock( marker ); throw new BlockDataException( myBlockDataBytes ); } if( marker == TC_NULL ) { ret_val = null; break; } if( marker == TC_REFERENCE ) { DEBUG( "REFERENCE " ); Integer oid = new Integer( myRealInputStream.readInt() ); ret_val = ((ObjectIdentityWrapper) myObjectLookupTable.get(oid)).object; break; } if( marker == TC_CLASS ) { ObjectStreamClass osc = (ObjectStreamClass)readObject(); Class clazz = osc.forClass(); assignNewHandle( clazz ); ret_val = clazz; break; } if( marker == TC_CLASSDESC ) { DEBUG( "CLASSDESC NAME " ); String name = myRealInputStream.readUTF(); DEBUG( "UID " ); long uid = myRealInputStream.readLong(); DEBUG( "FLAGS " ); byte flags = myRealInputStream.readByte(); DEBUG( "FIELD COUNT " ); short field_count = myRealInputStream.readShort(); OSCField[] fields = new OSCField[ field_count ]; for( int i=0; i < field_count; i++ ) { DEBUG( "TYPE CODE " ); char type_code = (char)myRealInputStream.readByte(); DEBUG( "FIELD NAME " ); String field_name = myRealInputStream.readUTF(); String class_name; if( type_code == 'L' || type_code == '[' ) class_name = (String)readObject(); else class_name = new String( new char[] { type_code } ); fields[i] = new OSCField( field_name, TypeSignature.getClassForEncoding ( class_name ) ); } ObjectStreamClass osc = new ObjectStreamClass( name, uid, flags, fields ); assignNewHandle( osc ); setBlockDataMode( true ); osc.setClass( resolveClass( osc ) ); setBlockDataMode( false ); DEBUG( "ENDBLOCKDATA " ); if( myRealInputStream.readByte() != TC_ENDBLOCKDATA ) throw new IOException( "Data annotated to class was not consumed." ); osc.setSuperclass( (ObjectStreamClass)readObject() ); ret_val = osc; break; } if( marker == TC_STRING ) { DEBUG( "STRING " ); String s = myRealInputStream.readUTF(); ret_val = processResoultion( s, assignNewHandle( s ) ); break; } if( marker == TC_ARRAY ) { ObjectStreamClass osc = (ObjectStreamClass)readObject(); Class componenetType = osc.forClass().getComponentType(); DEBUG( "ARRAY LENGTH " ); int length = myRealInputStream.readInt(); Object array = Array.newInstance( componenetType, length ); int handle = assignNewHandle( array ); readArrayElements( array, componenetType ); ret_val = processResoultion( array, handle ); break; } if( marker == TC_OBJECT ) { ObjectStreamClass osc = (ObjectStreamClass)readObject(); Class clazz = osc.forClass(); if( !Serializable.class.isAssignableFrom( clazz ) ) throw new NotSerializableException( clazz + " is not Serializable, and thus cannot be deserialized." ); if( Externalizable.class.isAssignableFrom( clazz ) ) { Externalizable obj = null; try { obj = (Externalizable)clazz.newInstance(); } catch( InstantiationException e ) { throw new ClassNotFoundException( "Instance of " + clazz + " could not be created" ); } catch( IllegalAccessException e ) { throw new ClassNotFoundException( "Instance of " + clazz + " could not be created" ); } int handle = assignNewHandle( obj ); boolean read_from_blocks = ((osc.getFlags() & SC_BLOCK_DATA) != 0); if( read_from_blocks ) setBlockDataMode( true ); obj.readExternal( this ); if( read_from_blocks ) setBlockDataMode( false ); ret_val = processResoultion( obj, handle ); break; } // find the first non-serializable, non-abstract // class in clazz's inheritance hierarchy Class first_nonserial = clazz.getSuperclass(); while( Serializable.class.isAssignableFrom( first_nonserial ) || Modifier.isAbstract( first_nonserial.getModifiers() ) ) { first_nonserial = first_nonserial.getSuperclass(); } DEBUGln( "Using " + first_nonserial + " as starting point for constructing " + clazz ); Object obj = null; obj = newObject( clazz, first_nonserial ); if( obj == null ) throw new ClassNotFoundException( "Instance of " + clazz + " could not be created" ); int handle = assignNewHandle( obj ); myCurrentObject = obj; ObjectStreamClass[] hierarchy = ObjectStreamClass.getObjectStreamClasses( clazz ); DEBUGln( "Got class hierarchy of depth " + hierarchy.length ); // TODO: rewrite this loop natively?? boolean has_read; for( int i=0; i < hierarchy.length; i++ ) { myCurrentObjectStreamClass = hierarchy[i]; DEBUGln( "Reading fields of " + myCurrentObjectStreamClass.getName() ); has_read = true; try { myCurrentObjectStreamClass.forClass().getDeclaredMethod ( "readObject", new Class[] { ObjectInputStream.class } ); } catch( NoSuchMethodException e ) { has_read = false; } readFields( obj, myCurrentObjectStreamClass.getFields(), has_read, myCurrentObjectStreamClass ); if( has_read ) { DEBUG( "ENDBLOCKDATA? " ); if( myRealInputStream.readByte() != TC_ENDBLOCKDATA ) throw new IOException( "No end of block data seen for class with readObject(ObjectInputStream) method." ); } } myCurrentObject = null; myCurrentObjectStreamClass = null; ret_val = processResoultion( obj, handle ); break; } if( marker == TC_RESET ) { clearHandles(); ret_val = readObject(); break; } if( marker == TC_EXCEPTION ) { Exception e = (Exception)readObject(); clearHandles(); throw new WriteAbortedException( "Exception thrown during writing of stream", e ); } throw new IOException( "Unknown marker on stream" ); } myIsDeserializing = was_deserializing; if( ! was_deserializing ) setBlockDataMode( true ); return ret_val; }
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/d2c7e1d1e06c206ece2a2c6225f5161c5eb75504/ObjectInputStream.java/buggy/java/io/ObjectInputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
1033,
17362,
1435,
1216,
10403,
16,
1860,
225,
288,
565,
309,
12,
3399,
3727,
1676,
1106,
1305,
262,
1377,
327,
17362,
6618,
5621,
3639,
1250,
1703,
67,
5489,
24662,
6894,
31,
3639,
1250,
1122,
67,
957,
273,
638,
31,
565,
1033,
325,
67,
1125,
31,
565,
1323,
12,
638,
262,
565,
288,
1377,
368,
9394,
1377,
309,
12,
401,
3645,
67,
957,
262,
202,
12849,
394,
3235,
12,
315,
6696,
1791,
8548,
467,
17784,
316,
392,
14853,
2798,
1199,
11272,
5411,
1122,
67,
957,
273,
629,
31,
1377,
368,
73,
9394,
5411,
1703,
67,
5489,
24662,
6894,
273,
3399,
2520,
20765,
6894,
31,
1377,
309,
12,
401,
1703,
67,
5489,
24662,
6894,
262,
202,
542,
1768,
751,
2309,
12,
629,
11272,
1377,
6369,
12,
315,
25989,
315,
11272,
1377,
1160,
5373,
273,
3399,
6955,
4348,
18,
896,
3216,
5621,
1377,
309,
12,
5373,
422,
23718,
67,
11403,
4883,
747,
5373,
422,
23718,
67,
11403,
11102,
1013,
7390,
262,
1377,
288,
202,
896,
2134,
1768,
12,
5373,
11272,
202,
12849,
394,
3914,
22480,
12,
3399,
1768,
751,
2160,
11272,
9079,
309,
12,
5373,
422,
23718,
67,
8560,
262,
1377,
288,
202,
1349,
67,
1125,
273,
446,
31,
202,
8820,
31,
1171,
309,
12,
5373,
422,
23718,
67,
14617,
262,
1377,
288,
202,
9394,
12,
315,
14617,
315,
11272,
202,
4522,
7764,
273,
394,
2144,
12,
3399,
6955,
4348,
18,
896,
1702,
1435,
11272,
202,
1349,
67,
1125,
273,
14015,
921,
4334,
3611,
13,
1082,
282,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
1033,
17362,
1435,
1216,
10403,
16,
1860,
225,
288,
565,
309,
12,
3399,
3727,
1676,
1106,
1305,
262,
1377,
327,
17362,
6618,
5621,
3639,
1250,
1703,
67,
5489,
24662,
6894,
31,
3639,
1250,
1122,
67,
957,
273,
638,
31,
565,
1033,
325,
67,
1125,
31,
565,
1323,
12,
638,
262,
565,
288,
1377,
368,
9394,
1377,
309,
12,
401,
3645,
67,
957,
262,
202,
12849,
394,
3235,
12,
315,
6696,
1791,
8548,
467,
17784,
316,
392,
14853,
2798,
1199,
11272,
5411,
1122,
67,
957,
273,
629,
31,
1377,
368,
73,
9394,
5411,
1703,
67,
5489,
24662,
6894,
273,
3399,
2520,
20765,
6894,
31,
1377,
309,
12,
401,
1703,
67,
5489,
24662,
6894,
262,
202,
542,
1768,
2
] |
|
if (VM_HardwarePerformanceMonitors.verbose>=5 || VM_HardwarePerformanceMonitors.hpm_trace_verbose == pid) {
|
if (VM_HardwarePerformanceMonitors.verbose>=5 || VM_HardwarePerformanceMonitors.hpm_trace_verbose == vpid) {
|
private void tracing(int tid, int global_tid, long startOfWallTime, long endOfWallTime, HPM_counters counters) { //-#if RVM_WITH_HPM // which buffer to use if (! processCallbacksFromConsumer()) return; if (! pickBuffer(VM_HardwarePerformanceMonitors.getRecordSize())) return; // buffer != null only if active==true int encoding = (buffer_code << 16) + pid; if(VM_HardwarePerformanceMonitors.verbose>=5 || VM_HardwarePerformanceMonitors.hpm_trace_verbose == pid) { VM.sysWrite(index,": "); VM.sysWrite(TRACE_FORMAT," BC "); VM.sysWrite(buffer_code," PID ", pid); // VM.sysWrite(" ("); VM.sysWriteHex(encoding); VM.sysWrite(")"); VM.sysWrite(" GTID ", global_tid); VM.sysWrite(" TID ", tid); VM.sysWrite(" SWT "); VM.sysWriteLong(startOfWallTime);VM.sysWrite("\n "); VM.sysWrite(" EWT " ); VM.sysWriteLong(endOfWallTime); } if (buffer != null) { // write record header VM_Magic.setIntAtOffset( buffer, index, TRACE_FORMAT); // format index += VM_HardwarePerformanceMonitors.SIZE_OF_INT; VM_Magic.setIntAtOffset( buffer, index, encoding); // buffer_code & pid index += VM_HardwarePerformanceMonitors.SIZE_OF_INT; VM_Magic.setIntAtOffset( buffer, index, global_tid); // globally unique tid index += VM_HardwarePerformanceMonitors.SIZE_OF_INT; VM_Magic.setIntAtOffset( buffer, index, tid); // local tid index += VM_HardwarePerformanceMonitors.SIZE_OF_INT; VM_Magic.setLongAtOffset(buffer, index, startOfWallTime); // start of global time index += VM_HardwarePerformanceMonitors.SIZE_OF_LONG; VM_Magic.setLongAtOffset(buffer, index, endOfWallTime); // end of global time index += VM_HardwarePerformanceMonitors.SIZE_OF_LONG; } for(int i=1; i<=n_counters; i++) { long value = counters.counters[i]; if(VM_HardwarePerformanceMonitors.verbose>=5 || VM_HardwarePerformanceMonitors.hpm_trace_verbose == pid) { VM.sysWrite(" ",i,": ");VM.sysWriteLong(value); } if (buffer != null) { // write HPM counter values VM_Magic.setLongAtOffset(buffer, index, value); index += VM_HardwarePerformanceMonitors.SIZE_OF_LONG; } } if (VM_HardwarePerformanceMonitors.verbose>=5 || VM_HardwarePerformanceMonitors.hpm_trace_verbose == pid) { VM.sysWriteln(); } updateBufferIndex(); //-#endif }
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/5c4b69ee75e0406829000dfaa9fec748bce3ed91/VM_HardwarePerformanceMonitor.java/buggy/rvm/src/vm/arch/powerPC/runtime/VM_HardwarePerformanceMonitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
17144,
12,
474,
11594,
16,
509,
2552,
67,
18081,
16,
1525,
787,
951,
26558,
950,
16,
1875,
4202,
1525,
20706,
26558,
950,
16,
670,
12728,
67,
23426,
13199,
13,
282,
288,
565,
368,
17,
7,
430,
534,
7397,
67,
9147,
67,
2500,
49,
565,
368,
1492,
1613,
358,
999,
565,
309,
16051,
1207,
10617,
1265,
5869,
10756,
327,
31,
565,
309,
16051,
6002,
1892,
12,
7397,
67,
44,
14519,
25024,
11415,
13704,
18,
588,
2115,
1225,
1435,
3719,
327,
31,
565,
368,
1613,
480,
446,
1338,
309,
2695,
631,
3767,
565,
509,
2688,
273,
261,
4106,
67,
710,
2296,
2872,
13,
397,
4231,
31,
565,
309,
12,
7397,
67,
44,
14519,
25024,
11415,
13704,
18,
11369,
34,
33,
25,
747,
8251,
67,
44,
14519,
25024,
11415,
13704,
18,
76,
7755,
67,
5129,
67,
11369,
422,
4231,
13,
288,
1377,
8251,
18,
9499,
3067,
12,
1615,
16,
6877,
315,
1769,
1377,
8251,
18,
9499,
3067,
12,
23827,
67,
7254,
10837,
21225,
315,
1769,
1377,
8251,
18,
9499,
3067,
12,
4106,
67,
710,
10837,
14788,
3104,
4231,
1769,
3639,
368,
1377,
8251,
18,
9499,
3067,
2932,
7566,
1769,
8251,
18,
9499,
3067,
7037,
12,
5999,
1769,
8251,
18,
9499,
3067,
2932,
2225,
1769,
1377,
8251,
18,
9499,
3067,
2932,
19688,
734,
3104,
2552,
67,
18081,
1769,
1377,
8251,
18,
9499,
3067,
2932,
399,
734,
3104,
11594,
1769,
1377,
8251,
18,
9499,
3067,
2932,
348,
8588,
315,
1769,
565,
8251,
18,
9499,
3067,
3708,
12,
1937,
951,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
17144,
12,
474,
11594,
16,
509,
2552,
67,
18081,
16,
1525,
787,
951,
26558,
950,
16,
1875,
4202,
1525,
20706,
26558,
950,
16,
670,
12728,
67,
23426,
13199,
13,
282,
288,
565,
368,
17,
7,
430,
534,
7397,
67,
9147,
67,
2500,
49,
565,
368,
1492,
1613,
358,
999,
565,
309,
16051,
1207,
10617,
1265,
5869,
10756,
327,
31,
565,
309,
16051,
6002,
1892,
12,
7397,
67,
44,
14519,
25024,
11415,
13704,
18,
588,
2115,
1225,
1435,
3719,
327,
31,
565,
368,
1613,
480,
446,
1338,
309,
2695,
631,
3767,
565,
509,
2688,
273,
261,
4106,
67,
710,
2296,
2872,
13,
397,
4231,
31,
565,
309,
12,
7397,
67,
44,
14519,
25024,
11415,
13704,
18,
11369,
2
] |
debugStream.println(" No string literal matches possible.");
|
private final int jjMoveStringLiteralDfa7_0(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_0(5, old0); if (jjmatchedKind != 0 && jjmatchedKind != 0x7fffffff) debugStream.println(" Currently matched the first " + (jjmatchedPos + 1) + " characters as a " + tokenImage[jjmatchedKind] + " token."); debugStream.println(" Possible string literal matches : { " + jjKindsForBitVector(0, active0) + " } "); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(6, active0); if (jjmatchedKind != 0 && jjmatchedKind != 0x7fffffff) debugStream.println(" Currently matched the first " + (jjmatchedPos + 1) + " characters as a " + tokenImage[jjmatchedKind] + " token."); return 7; } debugStream.println("<" + lexStateNames[curLexState] + ">" + "Current character : " + TokenMgrError.addEscapes(String.valueOf(curChar)) + " (" + (int)curChar + ")"); switch(curChar) { case 115: if ((active0 & 0x200L) != 0L) return jjStartNfaWithStates_0(7, 9, 14); break; default : debugStream.println(" No string literal matches possible."); break; } return jjStartNfa_0(6, active0);}
|
2043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2043/9bd05df5381fb98627098de4a542151bc7015db9/ArchiveParserTokenManager.java/clean/jrcs/src/java/org/apache/commons/jrcs/rcs/ArchiveParserTokenManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
28565,
40,
507,
27,
67,
20,
12,
5748,
1592,
20,
16,
1525,
2695,
20,
15329,
282,
309,
261,
12443,
3535,
20,
12058,
1592,
20,
3719,
422,
374,
48,
13,
1377,
327,
10684,
1685,
50,
507,
67,
20,
12,
25,
16,
1592,
20,
1769,
565,
309,
261,
78,
78,
11073,
5677,
480,
374,
597,
10684,
11073,
5677,
480,
374,
92,
27,
18217,
74,
13,
1377,
1198,
1228,
18,
8222,
2932,
282,
15212,
4847,
326,
1122,
315,
397,
261,
78,
78,
11073,
1616,
397,
404,
13,
397,
315,
3949,
487,
279,
315,
397,
1147,
2040,
63,
78,
78,
11073,
5677,
65,
397,
315,
1147,
1199,
1769,
282,
1198,
1228,
18,
8222,
2932,
282,
25433,
533,
7158,
1885,
294,
288,
315,
397,
1850,
10684,
5677,
28388,
5775,
5018,
12,
20,
16,
2695,
20,
13,
225,
397,
315,
289,
315,
1769,
282,
775,
288,
662,
2156,
273,
810,
67,
3256,
18,
896,
2156,
5621,
289,
282,
1044,
12,
6290,
18,
1594,
18,
14106,
425,
13,
288,
1377,
10684,
4947,
28565,
40,
507,
67,
20,
12,
26,
16,
2695,
20,
1769,
1377,
309,
261,
78,
78,
11073,
5677,
480,
374,
597,
10684,
11073,
5677,
480,
374,
92,
27,
18217,
74,
13,
540,
1198,
1228,
18,
8222,
2932,
282,
15212,
4847,
326,
1122,
315,
397,
261,
78,
78,
11073,
1616,
397,
404,
13,
397,
315,
3949,
487,
279,
315,
397,
1147,
2040,
63,
78,
78,
11073,
5677,
65,
397,
315,
1147,
1199,
1769,
1377,
327,
2371,
31,
282,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
28565,
40,
507,
27,
67,
20,
12,
5748,
1592,
20,
16,
1525,
2695,
20,
15329,
282,
309,
261,
12443,
3535,
20,
12058,
1592,
20,
3719,
422,
374,
48,
13,
1377,
327,
10684,
1685,
50,
507,
67,
20,
12,
25,
16,
1592,
20,
1769,
565,
309,
261,
78,
78,
11073,
5677,
480,
374,
597,
10684,
11073,
5677,
480,
374,
92,
27,
18217,
74,
13,
1377,
1198,
1228,
18,
8222,
2932,
282,
15212,
4847,
326,
1122,
315,
397,
261,
78,
78,
11073,
1616,
397,
404,
13,
397,
315,
3949,
487,
279,
315,
397,
1147,
2040,
63,
78,
78,
11073,
5677,
65,
397,
315,
1147,
1199,
1769,
282,
1198,
1228,
18,
8222,
2932,
282,
25433,
533,
7158,
2
] |
|
org.exist.xquery.parser.XQueryAST tmp266_AST = null; tmp266_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp266_AST);
|
org.exist.xquery.parser.XQueryAST tmp265_AST = null; tmp265_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp265_AST);
|
public final void attributeTest() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST attributeTest_AST = null; match(LITERAL_attribute); match(LPAREN); { switch ( LA(1)) { case NCNAME: case LITERAL_xquery: case LITERAL_version: case LITERAL_module: case LITERAL_namespace: case LITERAL_import: case LITERAL_declare: case LITERAL_default: case LITERAL_xmlspace: case LITERAL_ordering: case LITERAL_construction: case 64: case LITERAL_option: case LITERAL_function: case LITERAL_variable: case LITERAL_encoding: case LITERAL_collation: case LITERAL_element: case LITERAL_preserve: case LITERAL_strip: case LITERAL_ordered: case LITERAL_unordered: case LITERAL_external: case LITERAL_at: case LITERAL_as: case LITERAL_empty: case STAR: case LITERAL_item: case LITERAL_for: case LITERAL_let: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_update: case LITERAL_replace: case LITERAL_value: case LITERAL_insert: case LITERAL_delete: case LITERAL_rename: case LITERAL_with: case LITERAL_into: case LITERAL_preceding: case LITERAL_following: case LITERAL_return: case LITERAL_order: case LITERAL_by: case LITERAL_typeswitch: case LITERAL_case: case LITERAL_then: case LITERAL_else: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_of: case LITERAL_cast: case LITERAL_is: case LITERAL_isnot: case LITERAL_to: case LITERAL_div: case LITERAL_mod: case LITERAL_union: case LITERAL_intersect: case LITERAL_except: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 154: case LITERAL_document: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 166: case 167: case LITERAL_parent: case LITERAL_ancestor: case 170: case 171: case LITERAL_collection: case LITERAL_validate: { attributeNameOrWildcard(); astFactory.addASTChild(currentAST, returnAST); { switch ( LA(1)) { case COMMA: { match(COMMA); typeName(); astFactory.addASTChild(currentAST, returnAST); { switch ( LA(1)) { case QUESTION: { org.exist.xquery.parser.XQueryAST tmp266_AST = null; tmp266_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp266_AST); match(QUESTION); break; } case RPAREN: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } break; } case RPAREN: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } break; } case RPAREN: { break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } match(RPAREN); if ( inputState.guessing==0 ) { attributeTest_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; attributeTest_AST= (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(ATTRIBUTE_TEST,"attribute()")).add(attributeTest_AST)); currentAST.root = attributeTest_AST; currentAST.child = attributeTest_AST!=null &&attributeTest_AST.getFirstChild()!=null ? attributeTest_AST.getFirstChild() : attributeTest_AST; currentAST.advanceChildToEnd(); } attributeTest_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = attributeTest_AST; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/a591df0eed7c1c55bc716a7d445195572abcc4e7/XQueryParser.java/clean/src/org/exist/xquery/parser/XQueryParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1566,
4709,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1566,
4709,
67,
9053,
273,
446,
31,
9506,
202,
1916,
12,
23225,
67,
4589,
1769,
202,
202,
1916,
12,
48,
15111,
1769,
202,
202,
95,
202,
202,
9610,
261,
2928,
12,
21,
3719,
288,
202,
202,
3593,
423,
39,
1985,
30,
202,
202,
3593,
511,
18454,
67,
92,
2271,
30,
202,
202,
3593,
511,
18454,
67,
1589,
30,
202,
202,
3593,
511,
18454,
67,
2978,
30,
202,
202,
3593,
511,
18454,
67,
4937,
30,
202,
202,
3593,
511,
18454,
67,
5666,
30,
202,
202,
3593,
511,
18454,
67,
29554,
30,
202,
202,
3593,
511,
18454,
67,
1886,
30,
202,
202,
3593,
511,
18454,
67,
2902,
2981,
30,
202,
202,
3593,
511,
18454,
67,
22598,
30,
202,
202,
3593,
511,
18454,
67,
591,
4549,
30,
202,
202,
3593,
5178,
30,
202,
202,
3593,
511,
18454,
67,
3482,
30,
202,
202,
3593,
511,
18454,
67,
915,
30,
202,
202,
3593,
511,
18454,
67,
6105,
30,
202,
202,
3593,
511,
18454,
67,
5999,
30,
202,
202,
3593,
511,
18454,
67,
29992,
30,
202,
202,
3593,
511,
18454,
67,
2956,
30,
202,
202,
3593,
511,
18454,
67,
27297,
30,
202,
202,
3593,
511,
18454,
67,
6406,
30,
202,
202,
3593,
511,
18454,
67,
9885,
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,
1566,
4709,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1566,
4709,
67,
9053,
273,
446,
31,
9506,
202,
1916,
12,
23225,
67,
4589,
1769,
202,
202,
1916,
12,
48,
15111,
1769,
202,
202,
95,
202,
202,
9610,
261,
2928,
12,
21,
3719,
288,
202,
202,
3593,
423,
39,
1985,
30,
202,
202,
3593,
511,
18454,
67,
92,
2271,
30,
202,
202,
3593,
511,
18454,
67,
1589,
30,
202,
202,
3593,
511,
18454,
67,
2978,
30,
202,
202,
3593,
511,
18454,
67,
2
] |
public static int priorityOf(String s) {
|
public static int priorityOf(String s) throws InvalidThresholdException {
|
public static int priorityOf(String s) { if (s.equalsIgnoreCase("error")) return Logger.ERROR; else if (s.equalsIgnoreCase("normal")) return Logger.NORMAL; else if (s.equalsIgnoreCase("minor")) return Logger.MINOR; else if (s.equalsIgnoreCase("debugging")) return Logger.DEBUG; else if (s.equalsIgnoreCase("debug")) return Logger.DEBUG; else return Logger.NORMAL; }
|
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/2d2b5012400f5bab60d65d3d26d67efa9cf7d1d6/LoggerHook.java/buggy/src/freenet/support/LoggerHook.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
4394,
951,
12,
780,
272,
13,
1216,
1962,
7614,
503,
288,
3639,
309,
261,
87,
18,
14963,
5556,
2932,
1636,
6,
3719,
5411,
327,
4242,
18,
3589,
31,
3639,
469,
309,
261,
87,
18,
14963,
5556,
2932,
6130,
6,
3719,
5411,
327,
4242,
18,
15480,
31,
3639,
469,
309,
261,
87,
18,
14963,
5556,
2932,
17364,
6,
3719,
5411,
327,
4242,
18,
6236,
916,
31,
3639,
469,
309,
261,
87,
18,
14963,
5556,
2932,
4148,
1998,
6,
3719,
5411,
327,
4242,
18,
9394,
31,
3639,
469,
309,
261,
87,
18,
14963,
5556,
2932,
4148,
6,
3719,
5411,
327,
4242,
18,
9394,
31,
3639,
469,
2398,
327,
4242,
18,
15480,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
4394,
951,
12,
780,
272,
13,
1216,
1962,
7614,
503,
288,
3639,
309,
261,
87,
18,
14963,
5556,
2932,
1636,
6,
3719,
5411,
327,
4242,
18,
3589,
31,
3639,
469,
309,
261,
87,
18,
14963,
5556,
2932,
6130,
6,
3719,
5411,
327,
4242,
18,
15480,
31,
3639,
469,
309,
261,
87,
18,
14963,
5556,
2932,
17364,
6,
3719,
5411,
327,
4242,
18,
6236,
916,
31,
3639,
469,
309,
261,
87,
18,
14963,
5556,
2932,
4148,
1998,
6,
3719,
5411,
327,
4242,
18,
9394,
31,
3639,
469,
309,
261,
87,
18,
14963,
5556,
2932,
4148,
6,
3719,
5411,
327,
4242,
18,
9394,
31,
3639,
469,
2398,
327,
4242,
18,
15480,
31,
565,
289,
2,
-100,
-100,
-100
] |
Context cx = Context.getCurrentContext(); if (cx == null) { cx = new Context(); cx.enter(); try { return (object.hasProperty(methodId) ? object.callMethod(methodId, args) : Context.getUndefinedValue()); } finally { cx.exit(); } } else { return (object.hasProperty(methodId) ? object.callMethod(methodId, args) : Context.getUndefinedValue()); }
|
return (object.hasProperty(methodId) ? object.callMethod(methodId, args) : Context.getUndefinedValue());
|
public static Object callMethod(FlattenedObject object, Object methodId, Object[] args) { try { // old way, bind a Context dynamically, unbind if it wasn't there before. Context cx = Context.getCurrentContext(); if (cx == null) { cx = new Context(); cx.enter(); try { return (object.hasProperty(methodId) ? object.callMethod(methodId, args) : Context.getUndefinedValue()); } finally { cx.exit(); } } else { return (object.hasProperty(methodId) ? object.callMethod(methodId, args) : Context.getUndefinedValue()); } } catch (Exception ex) { ex.printStackTrace(System.err); throw new Error(ex.getMessage()); } }
|
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/eb9dcf8b50d68e0bd092a827fa5808d341974237/JavaAdapter.java/clean/js/rhino/org/mozilla/javascript/JavaAdapter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
745,
1305,
12,
20237,
23016,
733,
16,
1033,
707,
548,
16,
19694,
1033,
8526,
833,
13,
377,
288,
3639,
775,
288,
5411,
368,
1592,
4031,
16,
1993,
279,
1772,
18373,
16,
17449,
309,
518,
14487,
1404,
1915,
1865,
18,
5411,
1772,
9494,
273,
1772,
18,
588,
3935,
1042,
5621,
5411,
309,
261,
71,
92,
422,
446,
13,
288,
7734,
9494,
273,
394,
1772,
5621,
7734,
9494,
18,
2328,
5621,
7734,
775,
288,
10792,
327,
261,
1612,
18,
5332,
1396,
12,
2039,
548,
13,
11794,
692,
733,
18,
1991,
1305,
12,
2039,
548,
16,
833,
13,
11794,
294,
1772,
18,
588,
10317,
620,
10663,
7734,
289,
3095,
288,
202,
10792,
9494,
18,
8593,
5621,
7734,
289,
5411,
289,
469,
288,
7734,
327,
261,
1612,
18,
5332,
1396,
12,
2039,
548,
13,
7682,
692,
733,
18,
1991,
1305,
12,
2039,
548,
16,
833,
13,
7682,
294,
1772,
18,
588,
10317,
620,
10663,
5411,
289,
3639,
289,
1044,
261,
503,
431,
13,
288,
5411,
431,
18,
1188,
6332,
12,
3163,
18,
370,
1769,
5411,
604,
394,
1068,
12,
338,
18,
24906,
10663,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
745,
1305,
12,
20237,
23016,
733,
16,
1033,
707,
548,
16,
19694,
1033,
8526,
833,
13,
377,
288,
3639,
775,
288,
5411,
368,
1592,
4031,
16,
1993,
279,
1772,
18373,
16,
17449,
309,
518,
14487,
1404,
1915,
1865,
18,
5411,
1772,
9494,
273,
1772,
18,
588,
3935,
1042,
5621,
5411,
309,
261,
71,
92,
422,
446,
13,
288,
7734,
9494,
273,
394,
1772,
5621,
7734,
9494,
18,
2328,
5621,
7734,
775,
288,
10792,
327,
261,
1612,
18,
5332,
1396,
12,
2039,
548,
13,
11794,
692,
733,
18,
1991,
1305,
12,
2039,
548,
16,
833,
13,
11794,
294,
1772,
18,
588,
10317,
620,
10663,
7734,
289,
3095,
288,
202,
10792,
9494,
18,
8593,
5621,
7734,
289,
2
] |
if (!(val instanceof Number)) throw Context.reportRuntimeError0("msg.arraylength.bad"); long longVal = ScriptRuntime.toUint32(val); if (longVal != (((Number)val).doubleValue()))
|
double d = ScriptRuntime.toNumber(val); long longVal = ScriptRuntime.toUint32(d); if (longVal != d)
|
private void jsSet_length(Object val) { /* XXX do we satisfy this? * 15.4.5.1 [[Put]](P, V): * 1. Call the [[CanPut]] method of A with name P. * 2. If Result(1) is false, return. * ? */ if (!(val instanceof Number)) throw Context.reportRuntimeError0("msg.arraylength.bad"); long longVal = ScriptRuntime.toUint32(val); if (longVal != (((Number)val).doubleValue())) throw Context.reportRuntimeError0("msg.arraylength.bad"); if (longVal < length) { // remove all properties between longVal and length if (length - longVal > 0x1000) { // assume that the representation is sparse Object[] e = getIds(); // will only find in object itself for (int i=0; i < e.length; i++) { if (e[i] instanceof String) { // > MAXINT will appear as string String id = (String) e[i]; double d = ScriptRuntime.toNumber(id); if (d == d && d < length) delete(id); continue; } int index = ((Number) e[i]).intValue(); if (index >= longVal) delete(index); } } else { // assume a dense representation for (long i=longVal; i < length; i++) { // only delete if defined in the object itself if (hasElem(this, i)) ScriptRuntime.delete(this, new Long(i)); } } } length = longVal; }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/7c041252b161ecae9113c550dc3b485dbbbdcf07/NativeArray.java/buggy/js/rhino/src/org/mozilla/javascript/NativeArray.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3828,
694,
67,
2469,
12,
921,
1244,
13,
288,
3639,
1748,
11329,
741,
732,
18866,
333,
35,
540,
380,
4711,
18,
24,
18,
25,
18,
21,
12167,
6426,
13563,
12,
52,
16,
776,
4672,
540,
380,
404,
18,
3049,
326,
12167,
2568,
6426,
13563,
707,
434,
432,
598,
508,
453,
18,
540,
380,
576,
18,
971,
3438,
12,
21,
13,
353,
629,
16,
327,
18,
540,
380,
692,
540,
1195,
3639,
309,
16051,
12,
1125,
1276,
3588,
3719,
5411,
604,
1772,
18,
6006,
5576,
668,
20,
2932,
3576,
18,
1126,
2469,
18,
8759,
8863,
7734,
1525,
1525,
3053,
273,
7739,
5576,
18,
869,
5487,
1578,
12,
1125,
1769,
3639,
309,
261,
5748,
3053,
480,
261,
12443,
1854,
13,
1125,
2934,
9056,
620,
1435,
3719,
5411,
604,
1772,
18,
6006,
5576,
668,
20,
2932,
3576,
18,
1126,
2469,
18,
8759,
8863,
3639,
309,
261,
5748,
3053,
411,
769,
13,
288,
5411,
368,
1206,
777,
1790,
3086,
1525,
3053,
471,
769,
5411,
309,
261,
2469,
300,
1525,
3053,
405,
374,
92,
18088,
13,
288,
7734,
368,
6750,
716,
326,
4335,
353,
9387,
7734,
1033,
8526,
425,
273,
2634,
87,
5621,
368,
903,
1338,
1104,
316,
733,
6174,
7734,
364,
261,
474,
277,
33,
20,
31,
277,
411,
425,
18,
2469,
31,
277,
27245,
288,
10792,
309,
261,
73,
63,
77,
65,
1276,
514,
13,
288,
13491,
368,
405,
4552,
3217,
903,
9788,
487,
533,
13491,
514,
612,
273,
261,
780,
13,
425,
63,
77,
15533,
13491,
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,
3828,
694,
67,
2469,
12,
921,
1244,
13,
288,
3639,
1748,
11329,
741,
732,
18866,
333,
35,
540,
380,
4711,
18,
24,
18,
25,
18,
21,
12167,
6426,
13563,
12,
52,
16,
776,
4672,
540,
380,
404,
18,
3049,
326,
12167,
2568,
6426,
13563,
707,
434,
432,
598,
508,
453,
18,
540,
380,
576,
18,
971,
3438,
12,
21,
13,
353,
629,
16,
327,
18,
540,
380,
692,
540,
1195,
3639,
309,
16051,
12,
1125,
1276,
3588,
3719,
5411,
604,
1772,
18,
6006,
5576,
668,
20,
2932,
3576,
18,
1126,
2469,
18,
8759,
8863,
7734,
1525,
1525,
3053,
273,
7739,
5576,
18,
869,
5487,
1578,
12,
1125,
1769,
3639,
309,
261,
5748,
3053,
480,
261,
12443,
2
] |
shell = new Shell(shellParent, SWT.DIALOG_TRIM | SWT.RESIZE | SWT.APPLICATION_MODAL); GridLayout gridLayout = new GridLayout(); gridLayout.numColumns = 2; shell.setLayout(new FillLayout()); placeComponents(); shell .setText(new MessageFormat(Messages.getString("FormatSpecifierDialog.Title.FormatSpecifier")).format(new Object[] { sTitle})); shell.pack(); shell.setDefaultButton(btnAccept); UIHelper.centerOnScreen(shell); shell.layout(); shell.open(); while (!shell.isDisposed()) { if (!shell.getDisplay().readAndDispatch()) { shell.getDisplay().sleep(); } } }
|
shell = new Shell( shellParent, SWT.DIALOG_TRIM | SWT.RESIZE | SWT.APPLICATION_MODAL ); GridLayout gridLayout = new GridLayout( ); gridLayout.numColumns = 2; shell.setLayout( new FillLayout( ) ); placeComponents( ); shell.setText( Messages.getString( "FormatSpecifierDialog.Title.EditFormat" ) ); shell.pack( ); shell.setDefaultButton( btnAccept ); UIHelper.centerOnScreen( shell ); shell.layout( ); shell.open( ); while ( !shell.isDisposed( ) ) { if ( !shell.getDisplay( ).readAndDispatch( ) ) { shell.getDisplay( ).sleep( ); } } }
|
public FormatSpecifierDialog(Shell shellParent, FormatSpecifier formatspecifier, String sTitle) { super(); if (formatspecifier != null) { this.formatspecifier = (FormatSpecifier) EcoreUtil.copy(formatspecifier); } shell = new Shell(shellParent, SWT.DIALOG_TRIM | SWT.RESIZE | SWT.APPLICATION_MODAL); GridLayout gridLayout = new GridLayout(); gridLayout.numColumns = 2; shell.setLayout(new FillLayout()); placeComponents(); shell .setText(new MessageFormat(Messages.getString("FormatSpecifierDialog.Title.FormatSpecifier")).format(new Object[] { sTitle})); //$NON-NLS-1$ shell.pack(); shell.setDefaultButton(btnAccept); UIHelper.centerOnScreen(shell); shell.layout(); shell.open(); while (!shell.isDisposed()) { if (!shell.getDisplay().readAndDispatch()) { shell.getDisplay().sleep(); } } }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/ac26365eb54b9a10e69498a213cb6f605f15760b/FormatSpecifierDialog.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FormatSpecifierDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4077,
21416,
6353,
12,
13220,
5972,
3054,
16,
4077,
21416,
740,
2793,
1251,
16,
514,
272,
4247,
13,
565,
288,
3639,
2240,
5621,
3639,
309,
261,
2139,
2793,
1251,
480,
446,
13,
3639,
288,
5411,
333,
18,
2139,
2793,
1251,
273,
261,
1630,
21416,
13,
512,
3644,
1304,
18,
3530,
12,
2139,
2793,
1251,
1769,
3639,
289,
3639,
5972,
273,
394,
19433,
12,
10304,
3054,
16,
348,
8588,
18,
2565,
18683,
67,
6566,
49,
571,
348,
8588,
18,
862,
4574,
571,
348,
8588,
18,
25039,
67,
6720,
1013,
1769,
3639,
7145,
3744,
3068,
3744,
273,
394,
7145,
3744,
5621,
3639,
3068,
3744,
18,
2107,
3380,
273,
576,
31,
3639,
5972,
18,
542,
3744,
12,
2704,
14192,
3744,
10663,
3639,
3166,
7171,
5621,
3639,
5972,
5411,
263,
542,
1528,
12,
2704,
17377,
12,
5058,
18,
588,
780,
2932,
1630,
21416,
6353,
18,
4247,
18,
1630,
21416,
7923,
2934,
2139,
12,
2704,
1033,
8526,
288,
272,
4247,
6792,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
5972,
18,
2920,
5621,
3639,
5972,
18,
542,
1868,
3616,
12,
11898,
5933,
1769,
3639,
6484,
2276,
18,
5693,
1398,
7956,
12,
10304,
1769,
3639,
5972,
18,
6741,
5621,
3639,
5972,
18,
3190,
5621,
3639,
1323,
16051,
10304,
18,
291,
1669,
7423,
10756,
3639,
288,
5411,
309,
16051,
10304,
18,
588,
4236,
7675,
896,
1876,
5325,
10756,
5411,
288,
7734,
5972,
18,
588,
4236,
7675,
19607,
5621,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4077,
21416,
6353,
12,
13220,
5972,
3054,
16,
4077,
21416,
740,
2793,
1251,
16,
514,
272,
4247,
13,
565,
288,
3639,
2240,
5621,
3639,
309,
261,
2139,
2793,
1251,
480,
446,
13,
3639,
288,
5411,
333,
18,
2139,
2793,
1251,
273,
261,
1630,
21416,
13,
512,
3644,
1304,
18,
3530,
12,
2139,
2793,
1251,
1769,
3639,
289,
3639,
5972,
273,
394,
19433,
12,
10304,
3054,
16,
348,
8588,
18,
2565,
18683,
67,
6566,
49,
571,
348,
8588,
18,
862,
4574,
571,
348,
8588,
18,
25039,
67,
6720,
1013,
1769,
3639,
7145,
3744,
3068,
3744,
273,
394,
7145,
3744,
5621,
3639,
3068,
3744,
18,
2107,
3380,
273,
576,
31,
3639,
5972,
18,
542,
3744,
12,
2704,
14192,
3744,
2
] |
private void step1() { SpeakerNPC npc = npcs.get("Ketteh Wehoh"); npc.add(ConversationStates.IDLE, SpeakerNPC.GREETING_MESSAGES, null, ConversationStates.ATTENDING, null, new SpeakerNPC.ChatAction() { @Override public void fire(Player player, String text, SpeakerNPC engine) { int outfit = player.getInt("outfit"); int clothes_index = (outfit / 100) % 100; // Check whether player is naked if (clothes_index == 0) { engine.say("Who are you? Aiiieeeee!!! You're naked! Right-click on you and choose SET OUTFIT! Shhh! Don't even think on clicking on the white bar at the bottom and write to reply to me! And if you happen to talk to anyone in the city you'd better begin the conversation saying HI. And don't be gross and just leave: say BYE to end the conversation. And use #CTRL #+ #arrow to turn around and face me when I'm talking to you! Wait! I am sure you are a friend of that onlooker Nomyr who's always peeking at the windows! Now use the #arrows and go out!"); player.setQuest("Ketteh", "seen_naked"); // OK, player is NOT naked this time, but was last time. } else if (player.hasQuest("Ketteh") && player.getQuest("Ketteh").equals("seen_naked")) { engine.say("Hi again, " + player.getName() + ". How can I #shout at you this time?"); player.setQuest("Ketteh", "seen"); // don't be unforgiving // We have met the player before and it was NOT naked last time nor is it know } else if (player.hasQuest("Ketteh")){ engine.say("Hi again, " + player.getName() + "."); } else { // We haver never seen the player before. engine.say("Hi " + player.getName() + ", nice to meet you."); player.setQuest("Ketteh", "seen"); } } }); npc.add(ConversationStates.ATTENDING, "no", null, ConversationStates.IDLE, "Ok, don't move. I'm calling the law enforcers!", null); npc.add(ConversationStates.ATTENDING, "shout", null, ConversationStates.ATTENDING, null, new SpeakerNPC.ChatAction() { @Override public void fire(Player player, String text, SpeakerNPC engine) { if (player.hasQuest("Ketteh") && player.getQuest("Ketteh").equals("seen_naked")) { engine.say("Oh, good, you wear clothes this time. The last time we met, you were naked!"); } else { engine.say("Sometimes naked people pass by. I'll get really mad if this happens."); } } }); }
|
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/141f7096d21e9634bcbbd6de96da23a8ef3b4662/MeetKetteh.java/clean/src/games/stendhal/server/maps/quests/MeetKetteh.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6459,
4119,
21,
1435,
95,
202,
202,
55,
347,
6388,
50,
3513,
82,
2436,
33,
6782,
2143,
18,
588,
2932,
47,
7637,
76,
3218,
15008,
76,
8863,
202,
202,
82,
2436,
18,
1289,
12,
15717,
7629,
18,
734,
900,
16,
9506,
202,
55,
347,
6388,
50,
3513,
18,
43,
862,
1584,
1360,
67,
26195,
16,
9506,
202,
2011,
16,
9506,
202,
15717,
7629,
18,
789,
56,
12280,
16,
9506,
202,
2011,
16,
9506,
202,
2704,
55,
347,
6388,
50,
3513,
18,
14163,
1803,
1435,
95,
6862,
202,
36,
6618,
6862,
202,
482,
6459,
12179,
12,
12148,
14872,
16,
780,
955,
16,
6862,
1082,
202,
55,
347,
6388,
50,
3513,
8944,
15329,
474,
659,
7216,
33,
14872,
18,
588,
1702,
2932,
659,
7216,
8863,
474,
830,
10370,
281,
67,
1615,
28657,
659,
7216,
19,
6625,
13,
9,
6625,
31,
759,
1564,
3350,
2437,
14872,
291,
82,
9477,
430,
12,
830,
10370,
281,
67,
1615,
631,
20,
15329,
8944,
18,
87,
528,
2932,
2888,
83,
834,
19940,
35,
37,
2835,
77,
1340,
1340,
73,
25885,
6225,
4565,
82,
9477,
5,
4726,
17,
7475,
6598,
1395,
464,
25777,
4043,
5069,
42,
1285,
5,
1555,
21622,
5,
22293,
1404,
2575,
76,
754,
265,
7475,
310,
2152,
359,
76,
1137,
3215,
270,
5787,
9176,
464,
5363,
278,
479,
1283,
88,
1742,
5,
1876,
1164,
1395,
76,
2910,
319,
1568,
79,
869,
2273,
476,
267,
451,
557,
560,
19940,
14271,
70,
11214,
10086,
451,
17181,
20494,
528,
310,
29994,
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,
1152,
6459,
4119,
21,
1435,
95,
202,
202,
55,
347,
6388,
50,
3513,
82,
2436,
33,
6782,
2143,
18,
588,
2932,
47,
7637,
76,
3218,
15008,
76,
8863,
202,
202,
82,
2436,
18,
1289,
12,
15717,
7629,
18,
734,
900,
16,
9506,
202,
55,
347,
6388,
50,
3513,
18,
43,
862,
1584,
1360,
67,
26195,
16,
9506,
202,
2011,
16,
9506,
202,
15717,
7629,
18,
789,
56,
12280,
16,
9506,
202,
2011,
16,
9506,
202,
2704,
55,
347,
6388,
50,
3513,
18,
14163,
1803,
1435,
95,
6862,
202,
36,
6618,
6862,
202,
482,
6459,
12179,
12,
12148,
14872,
16,
780,
955,
16,
6862,
1082,
202,
55,
347,
6388,
50,
3513,
8944,
15329,
474,
659,
7216,
33,
14872,
2
] |
||
_t = __t1503;
|
_t = __t1488;
|
public final void argfunc(AST _t) throws RecognitionException { AST argfunc_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AACBIT: { AST __t1411 = _t; AST tmp344_AST_in = (AST)_t; match(_t,AACBIT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1411; _t = _t.getNextSibling(); break; } case AAMSG: { AST __t1412 = _t; AST tmp345_AST_in = (AST)_t; match(_t,AAMSG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1412; _t = _t.getNextSibling(); break; } case ABSOLUTE: { AST __t1413 = _t; AST tmp346_AST_in = (AST)_t; match(_t,ABSOLUTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1413; _t = _t.getNextSibling(); break; } case ALIAS: { AST __t1414 = _t; AST tmp347_AST_in = (AST)_t; match(_t,ALIAS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1414; _t = _t.getNextSibling(); break; } case ASC: { AST __t1415 = _t; AST tmp348_AST_in = (AST)_t; match(_t,ASC); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1415; _t = _t.getNextSibling(); break; } case BASE64DECODE: { AST __t1416 = _t; AST tmp349_AST_in = (AST)_t; match(_t,BASE64DECODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1416; _t = _t.getNextSibling(); break; } case BASE64ENCODE: { AST __t1417 = _t; AST tmp350_AST_in = (AST)_t; match(_t,BASE64ENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1417; _t = _t.getNextSibling(); break; } case CANDO: { AST __t1418 = _t; AST tmp351_AST_in = (AST)_t; match(_t,CANDO); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1418; _t = _t.getNextSibling(); break; } case CANQUERY: { AST __t1419 = _t; AST tmp352_AST_in = (AST)_t; match(_t,CANQUERY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1419; _t = _t.getNextSibling(); break; } case CANSET: { AST __t1420 = _t; AST tmp353_AST_in = (AST)_t; match(_t,CANSET); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1420; _t = _t.getNextSibling(); break; } case CAPS: { AST __t1421 = _t; AST tmp354_AST_in = (AST)_t; match(_t,CAPS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1421; _t = _t.getNextSibling(); break; } case CHR: { AST __t1422 = _t; AST tmp355_AST_in = (AST)_t; match(_t,CHR); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1422; _t = _t.getNextSibling(); break; } case CODEPAGECONVERT: { AST __t1423 = _t; AST tmp356_AST_in = (AST)_t; match(_t,CODEPAGECONVERT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1423; _t = _t.getNextSibling(); break; } case COLLATE: { AST __t1424 = _t; AST tmp357_AST_in = (AST)_t; match(_t,COLLATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1424; _t = _t.getNextSibling(); break; } case COMPARE: { AST __t1425 = _t; AST tmp358_AST_in = (AST)_t; match(_t,COMPARE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1425; _t = _t.getNextSibling(); break; } case CONNECTED: { AST __t1426 = _t; AST tmp359_AST_in = (AST)_t; match(_t,CONNECTED); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1426; _t = _t.getNextSibling(); break; } case COUNTOF: { AST __t1427 = _t; AST tmp360_AST_in = (AST)_t; match(_t,COUNTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1427; _t = _t.getNextSibling(); break; } case CURRENTRESULTROW: { AST __t1428 = _t; AST tmp361_AST_in = (AST)_t; match(_t,CURRENTRESULTROW); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1428; _t = _t.getNextSibling(); break; } case DATE: { AST __t1429 = _t; AST tmp362_AST_in = (AST)_t; match(_t,DATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1429; _t = _t.getNextSibling(); break; } case DATETIME: { AST __t1430 = _t; AST tmp363_AST_in = (AST)_t; match(_t,DATETIME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1430; _t = _t.getNextSibling(); break; } case DATETIMETZ: { AST __t1431 = _t; AST tmp364_AST_in = (AST)_t; match(_t,DATETIMETZ); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1431; _t = _t.getNextSibling(); break; } case DAY: { AST __t1432 = _t; AST tmp365_AST_in = (AST)_t; match(_t,DAY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1432; _t = _t.getNextSibling(); break; } case DBCODEPAGE: { AST __t1433 = _t; AST tmp366_AST_in = (AST)_t; match(_t,DBCODEPAGE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1433; _t = _t.getNextSibling(); break; } case DBCOLLATION: { AST __t1434 = _t; AST tmp367_AST_in = (AST)_t; match(_t,DBCOLLATION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1434; _t = _t.getNextSibling(); break; } case DBPARAM: { AST __t1435 = _t; AST tmp368_AST_in = (AST)_t; match(_t,DBPARAM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1435; _t = _t.getNextSibling(); break; } case DBRESTRICTIONS: { AST __t1436 = _t; AST tmp369_AST_in = (AST)_t; match(_t,DBRESTRICTIONS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1436; _t = _t.getNextSibling(); break; } case DBTASKID: { AST __t1437 = _t; AST tmp370_AST_in = (AST)_t; match(_t,DBTASKID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1437; _t = _t.getNextSibling(); break; } case DBTYPE: { AST __t1438 = _t; AST tmp371_AST_in = (AST)_t; match(_t,DBTYPE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1438; _t = _t.getNextSibling(); break; } case DBVERSION: { AST __t1439 = _t; AST tmp372_AST_in = (AST)_t; match(_t,DBVERSION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1439; _t = _t.getNextSibling(); break; } case DECIMAL: { AST __t1440 = _t; AST tmp373_AST_in = (AST)_t; match(_t,DECIMAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1440; _t = _t.getNextSibling(); break; } case DECRYPT: { AST __t1441 = _t; AST tmp374_AST_in = (AST)_t; match(_t,DECRYPT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1441; _t = _t.getNextSibling(); break; } case DYNAMICNEXTVALUE: { AST __t1442 = _t; AST tmp375_AST_in = (AST)_t; match(_t,DYNAMICNEXTVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1442; _t = _t.getNextSibling(); break; } case ENCODE: { AST __t1443 = _t; AST tmp376_AST_in = (AST)_t; match(_t,ENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1443; _t = _t.getNextSibling(); break; } case ENCRYPT: { AST __t1444 = _t; AST tmp377_AST_in = (AST)_t; match(_t,ENCRYPT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1444; _t = _t.getNextSibling(); break; } case EXP: { AST __t1445 = _t; AST tmp378_AST_in = (AST)_t; match(_t,EXP); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1445; _t = _t.getNextSibling(); break; } case FILL: { AST __t1446 = _t; AST tmp379_AST_in = (AST)_t; match(_t,FILL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1446; _t = _t.getNextSibling(); break; } case FIRST: { AST __t1447 = _t; AST tmp380_AST_in = (AST)_t; match(_t,FIRST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1447; _t = _t.getNextSibling(); break; } case FIRSTOF: { AST __t1448 = _t; AST tmp381_AST_in = (AST)_t; match(_t,FIRSTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1448; _t = _t.getNextSibling(); break; } case GENERATEPBEKEY: { AST __t1449 = _t; AST tmp382_AST_in = (AST)_t; match(_t,GENERATEPBEKEY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1449; _t = _t.getNextSibling(); break; } case GETBITS: { AST __t1450 = _t; AST tmp383_AST_in = (AST)_t; match(_t,GETBITS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1450; _t = _t.getNextSibling(); break; } case GETBYTE: { AST __t1451 = _t; AST tmp384_AST_in = (AST)_t; match(_t,GETBYTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1451; _t = _t.getNextSibling(); break; } case GETBYTEORDER: { AST __t1452 = _t; AST tmp385_AST_in = (AST)_t; match(_t,GETBYTEORDER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1452; _t = _t.getNextSibling(); break; } case GETBYTES: { AST __t1453 = _t; AST tmp386_AST_in = (AST)_t; match(_t,GETBYTES); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1453; _t = _t.getNextSibling(); break; } case GETCOLLATIONS: { AST __t1454 = _t; AST tmp387_AST_in = (AST)_t; match(_t,GETCOLLATIONS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1454; _t = _t.getNextSibling(); break; } case GETDOUBLE: { AST __t1455 = _t; AST tmp388_AST_in = (AST)_t; match(_t,GETDOUBLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1455; _t = _t.getNextSibling(); break; } case GETFLOAT: { AST __t1456 = _t; AST tmp389_AST_in = (AST)_t; match(_t,GETFLOAT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1456; _t = _t.getNextSibling(); break; } case GETLICENSE: { AST __t1457 = _t; AST tmp390_AST_in = (AST)_t; match(_t,GETLICENSE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1457; _t = _t.getNextSibling(); break; } case GETLONG: { AST __t1458 = _t; AST tmp391_AST_in = (AST)_t; match(_t,GETLONG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1458; _t = _t.getNextSibling(); break; } case GETPOINTERVALUE: { AST __t1459 = _t; AST tmp392_AST_in = (AST)_t; match(_t,GETPOINTERVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1459; _t = _t.getNextSibling(); break; } case GETSHORT: { AST __t1460 = _t; AST tmp393_AST_in = (AST)_t; match(_t,GETSHORT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1460; _t = _t.getNextSibling(); break; } case GETSIZE: { AST __t1461 = _t; AST tmp394_AST_in = (AST)_t; match(_t,GETSIZE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1461; _t = _t.getNextSibling(); break; } case GETSTRING: { AST __t1462 = _t; AST tmp395_AST_in = (AST)_t; match(_t,GETSTRING); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1462; _t = _t.getNextSibling(); break; } case GETUNSIGNEDSHORT: { AST __t1463 = _t; AST tmp396_AST_in = (AST)_t; match(_t,GETUNSIGNEDSHORT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1463; _t = _t.getNextSibling(); break; } case HEXDECODE: { AST __t1464 = _t; AST tmp397_AST_in = (AST)_t; match(_t,HEXDECODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1464; _t = _t.getNextSibling(); break; } case HEXENCODE: { AST __t1465 = _t; AST tmp398_AST_in = (AST)_t; match(_t,HEXENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1465; _t = _t.getNextSibling(); break; } case INDEX: { AST __t1466 = _t; AST tmp399_AST_in = (AST)_t; match(_t,INDEX); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1466; _t = _t.getNextSibling(); break; } case INTEGER: { AST __t1467 = _t; AST tmp400_AST_in = (AST)_t; match(_t,INTEGER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1467; _t = _t.getNextSibling(); break; } case INTERVAL: { AST __t1468 = _t; AST tmp401_AST_in = (AST)_t; match(_t,INTERVAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1468; _t = _t.getNextSibling(); break; } case ISCODEPAGEFIXED: { AST __t1469 = _t; AST tmp402_AST_in = (AST)_t; match(_t,ISCODEPAGEFIXED); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1469; _t = _t.getNextSibling(); break; } case ISCOLUMNCODEPAGE: { AST __t1470 = _t; AST tmp403_AST_in = (AST)_t; match(_t,ISCOLUMNCODEPAGE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1470; _t = _t.getNextSibling(); break; } case ISLEADBYTE: { AST __t1471 = _t; AST tmp404_AST_in = (AST)_t; match(_t,ISLEADBYTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1471; _t = _t.getNextSibling(); break; } case ISODATE: { AST __t1472 = _t; AST tmp405_AST_in = (AST)_t; match(_t,ISODATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1472; _t = _t.getNextSibling(); break; } case KBLABEL: { AST __t1473 = _t; AST tmp406_AST_in = (AST)_t; match(_t,KBLABEL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1473; _t = _t.getNextSibling(); break; } case KEYCODE: { AST __t1474 = _t; AST tmp407_AST_in = (AST)_t; match(_t,KEYCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1474; _t = _t.getNextSibling(); break; } case KEYFUNCTION: { AST __t1475 = _t; AST tmp408_AST_in = (AST)_t; match(_t,KEYFUNCTION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1475; _t = _t.getNextSibling(); break; } case KEYLABEL: { AST __t1476 = _t; AST tmp409_AST_in = (AST)_t; match(_t,KEYLABEL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1476; _t = _t.getNextSibling(); break; } case KEYWORD: { AST __t1477 = _t; AST tmp410_AST_in = (AST)_t; match(_t,KEYWORD); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1477; _t = _t.getNextSibling(); break; } case KEYWORDALL: { AST __t1478 = _t; AST tmp411_AST_in = (AST)_t; match(_t,KEYWORDALL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1478; _t = _t.getNextSibling(); break; } case LAST: { AST __t1479 = _t; AST tmp412_AST_in = (AST)_t; match(_t,LAST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1479; _t = _t.getNextSibling(); break; } case LASTOF: { AST __t1480 = _t; AST tmp413_AST_in = (AST)_t; match(_t,LASTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1480; _t = _t.getNextSibling(); break; } case LC: { AST __t1481 = _t; AST tmp414_AST_in = (AST)_t; match(_t,LC); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1481; _t = _t.getNextSibling(); break; } case LEFTTRIM: { AST __t1482 = _t; AST tmp415_AST_in = (AST)_t; match(_t,LEFTTRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1482; _t = _t.getNextSibling(); break; } case LIBRARY: { AST __t1483 = _t; AST tmp416_AST_in = (AST)_t; match(_t,LIBRARY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1483; _t = _t.getNextSibling(); break; } case LISTEVENTS: { AST __t1484 = _t; AST tmp417_AST_in = (AST)_t; match(_t,LISTEVENTS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1484; _t = _t.getNextSibling(); break; } case LISTQUERYATTRS: { AST __t1485 = _t; AST tmp418_AST_in = (AST)_t; match(_t,LISTQUERYATTRS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1485; _t = _t.getNextSibling(); break; } case LISTSETATTRS: { AST __t1486 = _t; AST tmp419_AST_in = (AST)_t; match(_t,LISTSETATTRS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1486; _t = _t.getNextSibling(); break; } case LISTWIDGETS: { AST __t1487 = _t; AST tmp420_AST_in = (AST)_t; match(_t,LISTWIDGETS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1487; _t = _t.getNextSibling(); break; } case LOADPICTURE: { AST __t1488 = _t; AST tmp421_AST_in = (AST)_t; match(_t,LOADPICTURE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1488; _t = _t.getNextSibling(); break; } case LOG: { AST __t1489 = _t; AST tmp422_AST_in = (AST)_t; match(_t,LOG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1489; _t = _t.getNextSibling(); break; } case LOGICAL: { AST __t1490 = _t; AST tmp423_AST_in = (AST)_t; match(_t,LOGICAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1490; _t = _t.getNextSibling(); break; } case LOOKUP: { AST __t1491 = _t; AST tmp424_AST_in = (AST)_t; match(_t,LOOKUP); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1491; _t = _t.getNextSibling(); break; } case MAXIMUM: { AST __t1492 = _t; AST tmp425_AST_in = (AST)_t; match(_t,MAXIMUM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1492; _t = _t.getNextSibling(); break; } case MD5DIGEST: { AST __t1493 = _t; AST tmp426_AST_in = (AST)_t; match(_t,MD5DIGEST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1493; _t = _t.getNextSibling(); break; } case MEMBER: { AST __t1494 = _t; AST tmp427_AST_in = (AST)_t; match(_t,MEMBER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1494; _t = _t.getNextSibling(); break; } case MINIMUM: { AST __t1495 = _t; AST tmp428_AST_in = (AST)_t; match(_t,MINIMUM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1495; _t = _t.getNextSibling(); break; } case MONTH: { AST __t1496 = _t; AST tmp429_AST_in = (AST)_t; match(_t,MONTH); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1496; _t = _t.getNextSibling(); break; } case NORMALIZE: { AST __t1497 = _t; AST tmp430_AST_in = (AST)_t; match(_t,NORMALIZE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1497; _t = _t.getNextSibling(); break; } case NUMENTRIES: { AST __t1498 = _t; AST tmp431_AST_in = (AST)_t; match(_t,NUMENTRIES); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1498; _t = _t.getNextSibling(); break; } case NUMRESULTS: { AST __t1499 = _t; AST tmp432_AST_in = (AST)_t; match(_t,NUMRESULTS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1499; _t = _t.getNextSibling(); break; } case OSGETENV: { AST __t1500 = _t; AST tmp433_AST_in = (AST)_t; match(_t,OSGETENV); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1500; _t = _t.getNextSibling(); break; } case PDBNAME: { AST __t1501 = _t; AST tmp434_AST_in = (AST)_t; match(_t,PDBNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1501; _t = _t.getNextSibling(); break; } case PROGRAMNAME: { AST __t1502 = _t; AST tmp435_AST_in = (AST)_t; match(_t,PROGRAMNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1502; _t = _t.getNextSibling(); break; } case QUERYOFFEND: { AST __t1503 = _t; AST tmp436_AST_in = (AST)_t; match(_t,QUERYOFFEND); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1503; _t = _t.getNextSibling(); break; } case QUOTER: { AST __t1504 = _t; AST tmp437_AST_in = (AST)_t; match(_t,QUOTER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1504; _t = _t.getNextSibling(); break; } case RINDEX: { AST __t1505 = _t; AST tmp438_AST_in = (AST)_t; match(_t,RINDEX); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1505; _t = _t.getNextSibling(); break; } case RANDOM: { AST __t1506 = _t; AST tmp439_AST_in = (AST)_t; match(_t,RANDOM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1506; _t = _t.getNextSibling(); break; } case REPLACE: { AST __t1507 = _t; AST tmp440_AST_in = (AST)_t; match(_t,REPLACE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1507; _t = _t.getNextSibling(); break; } case RGBVALUE: { AST __t1508 = _t; AST tmp441_AST_in = (AST)_t; match(_t,RGBVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1508; _t = _t.getNextSibling(); break; } case RIGHTTRIM: { AST __t1509 = _t; AST tmp442_AST_in = (AST)_t; match(_t,RIGHTTRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1509; _t = _t.getNextSibling(); break; } case ROUND: { AST __t1510 = _t; AST tmp443_AST_in = (AST)_t; match(_t,ROUND); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1510; _t = _t.getNextSibling(); break; } case SDBNAME: { AST __t1511 = _t; AST tmp444_AST_in = (AST)_t; match(_t,SDBNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1511; _t = _t.getNextSibling(); break; } case SEARCH: { AST __t1512 = _t; AST tmp445_AST_in = (AST)_t; match(_t,SEARCH); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1512; _t = _t.getNextSibling(); break; } case SETDBCLIENT: { AST __t1513 = _t; AST tmp446_AST_in = (AST)_t; match(_t,SETDBCLIENT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1513; _t = _t.getNextSibling(); break; } case SETUSERID: { AST __t1514 = _t; AST tmp447_AST_in = (AST)_t; match(_t,SETUSERID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1514; _t = _t.getNextSibling(); break; } case SHA1DIGEST: { AST __t1515 = _t; AST tmp448_AST_in = (AST)_t; match(_t,SHA1DIGEST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1515; _t = _t.getNextSibling(); break; } case SQRT: { AST __t1516 = _t; AST tmp449_AST_in = (AST)_t; match(_t,SQRT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1516; _t = _t.getNextSibling(); break; } case SSLSERVERNAME: { AST __t1517 = _t; AST tmp450_AST_in = (AST)_t; match(_t,SSLSERVERNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1517; _t = _t.getNextSibling(); break; } case STRING: { AST __t1518 = _t; AST tmp451_AST_in = (AST)_t; match(_t,STRING); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1518; _t = _t.getNextSibling(); break; } case SUBSTITUTE: { AST __t1519 = _t; AST tmp452_AST_in = (AST)_t; match(_t,SUBSTITUTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1519; _t = _t.getNextSibling(); break; } case TOROWID: { AST __t1520 = _t; AST tmp453_AST_in = (AST)_t; match(_t,TOROWID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1520; _t = _t.getNextSibling(); break; } case TRIM: { AST __t1521 = _t; AST tmp454_AST_in = (AST)_t; match(_t,TRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1521; _t = _t.getNextSibling(); break; } case TRUNCATE: { AST __t1522 = _t; AST tmp455_AST_in = (AST)_t; match(_t,TRUNCATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1522; _t = _t.getNextSibling(); break; } case TYPEOF: { AST __t1523 = _t; AST tmp456_AST_in = (AST)_t; match(_t,TYPEOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1523; _t = _t.getNextSibling(); break; } case VALIDEVENT: { AST __t1524 = _t; AST tmp457_AST_in = (AST)_t; match(_t,VALIDEVENT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1524; _t = _t.getNextSibling(); break; } case VALIDHANDLE: { AST __t1525 = _t; AST tmp458_AST_in = (AST)_t; match(_t,VALIDHANDLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1525; _t = _t.getNextSibling(); break; } case VALIDOBJECT: { AST __t1526 = _t; AST tmp459_AST_in = (AST)_t; match(_t,VALIDOBJECT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1526; _t = _t.getNextSibling(); break; } case WEEKDAY: { AST __t1527 = _t; AST tmp460_AST_in = (AST)_t; match(_t,WEEKDAY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1527; _t = _t.getNextSibling(); break; } case WIDGETHANDLE: { AST __t1528 = _t; AST tmp461_AST_in = (AST)_t; match(_t,WIDGETHANDLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1528; _t = _t.getNextSibling(); break; } case YEAR: { AST __t1529 = _t; AST tmp462_AST_in = (AST)_t; match(_t,YEAR); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1529; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1501,
644,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1501,
644,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
432,
2226,
15650,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3461,
2499,
273,
389,
88,
31,
1082,
202,
9053,
1853,
5026,
24,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
37,
2226,
15650,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
12125,
1968,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
67,
88,
273,
1001,
88,
3461,
2499,
31,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
432,
2192,
30820,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3461,
2138,
273,
389,
88,
31,
1082,
202,
9053,
1853,
25574,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
37,
2192,
30820,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
12125,
1968,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1501,
644,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1501,
644,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
432,
2226,
15650,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3461,
2499,
273,
389,
88,
31,
1082,
202,
9053,
1853,
5026,
24,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
37,
2226,
15650,
1769,
1082,
202,
67,
88,
2
] |
iterator = c.iterator();
|
public int doStartTag() throws JspException { // Acquire the collection we are going to iterate over Object collection = this.collection; if (collection == null) collection = RequestUtils.lookup(pageContext, name, property, scope); if (collection == null) { JspException e = new JspException (messages.getMessage("iterate.collection")); RequestUtils.saveException(pageContext, e); throw e; } // Construct an iterator for this collection if (collection.getClass().isArray()) { int length = Array.getLength(collection); ArrayList c = new ArrayList(length); for (int i = 0; i < length; i++) { c.add(Array.get(collection, i)); } iterator = c.iterator(); } else if (collection instanceof Collection) iterator = ((Collection) collection).iterator(); else if (collection instanceof Iterator) iterator = (Iterator) collection; else if (collection instanceof Map) iterator = ((Map) collection).entrySet().iterator(); else if (collection instanceof Enumeration) iterator = new IteratorAdapter((Enumeration)collection); else { JspException e = new JspException (messages.getMessage("iterate.iterator")); RequestUtils.saveException(pageContext, e); throw e; } // Calculate the starting offset if (offset == null) offsetValue = 0; else { try { offsetValue = Integer.parseInt(offset); } catch (NumberFormatException e) { Integer offsetObject = (Integer) pageContext.findAttribute(offset); if (offsetObject == null) offsetValue = 0; else offsetValue = offsetObject.intValue(); } } if (offsetValue < 0) offsetValue = 0; // Calculate the rendering length if (length == null) lengthValue = 0; else { try { lengthValue = Integer.parseInt(length); } catch (NumberFormatException e) { Integer lengthObject = (Integer) pageContext.findAttribute(length); if (lengthObject == null) lengthValue = 0; else lengthValue = lengthObject.intValue(); } } if (lengthValue < 0) lengthValue = 0; lengthCount = 0; // Skip the leading elements up to the starting offset for (int i = 0; i < offsetValue; i++) { if (iterator.hasNext()) { Object element = iterator.next(); } } // Store the first value and evaluate, or skip the body if none if (iterator.hasNext()) { Object element = iterator.next(); if (element == null) pageContext.removeAttribute(id); else pageContext.setAttribute(id, element); lengthCount++; started = true; if (indexId != null) pageContext.setAttribute(indexId, new Integer(getIndex())); return (EVAL_BODY_TAG); } else return (SKIP_BODY); }
|
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/0fe8b51608acbaf635a4c97df4e7766fd7c01a80/IterateTag.java/buggy/src/share/org/apache/struts/taglib/logic/IterateTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
741,
30512,
1435,
1216,
27485,
288,
202,
759,
28822,
326,
1849,
732,
854,
8554,
358,
7401,
1879,
3639,
1033,
1849,
273,
333,
18,
5548,
31,
202,
430,
261,
5548,
422,
446,
13,
5411,
1849,
273,
7734,
1567,
1989,
18,
8664,
12,
2433,
1042,
16,
508,
16,
1272,
16,
2146,
1769,
3639,
309,
261,
5548,
422,
446,
13,
288,
5411,
27485,
425,
273,
394,
27485,
7734,
261,
6833,
18,
24906,
2932,
18793,
18,
5548,
7923,
1769,
5411,
1567,
1989,
18,
5688,
503,
12,
2433,
1042,
16,
425,
1769,
5411,
604,
425,
31,
3639,
289,
202,
759,
14291,
392,
2775,
364,
333,
1849,
202,
430,
261,
5548,
18,
588,
797,
7675,
291,
1076,
10756,
288,
5411,
509,
769,
273,
1510,
18,
588,
1782,
12,
5548,
1769,
5411,
2407,
276,
273,
394,
2407,
12,
2469,
1769,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
769,
31,
277,
27245,
288,
7734,
276,
18,
1289,
12,
1076,
18,
588,
12,
5548,
16,
277,
10019,
5411,
289,
5411,
2775,
273,
276,
18,
9838,
5621,
202,
97,
469,
309,
261,
5548,
1276,
2200,
13,
202,
565,
2775,
273,
14015,
2532,
13,
1849,
2934,
9838,
5621,
202,
12107,
309,
261,
5548,
1276,
4498,
13,
202,
565,
2775,
273,
261,
3198,
13,
1849,
31,
202,
12107,
309,
261,
5548,
1276,
1635,
13,
202,
565,
2775,
273,
14015,
863,
13,
1849,
2934,
4099,
694,
7675,
9838,
5621,
3639,
469,
309,
261,
5548,
1276,
13864,
13,
202,
565,
2775,
273,
394,
4498,
4216,
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,
509,
741,
30512,
1435,
1216,
27485,
288,
202,
759,
28822,
326,
1849,
732,
854,
8554,
358,
7401,
1879,
3639,
1033,
1849,
273,
333,
18,
5548,
31,
202,
430,
261,
5548,
422,
446,
13,
5411,
1849,
273,
7734,
1567,
1989,
18,
8664,
12,
2433,
1042,
16,
508,
16,
1272,
16,
2146,
1769,
3639,
309,
261,
5548,
422,
446,
13,
288,
5411,
27485,
425,
273,
394,
27485,
7734,
261,
6833,
18,
24906,
2932,
18793,
18,
5548,
7923,
1769,
5411,
1567,
1989,
18,
5688,
503,
12,
2433,
1042,
16,
425,
1769,
5411,
604,
425,
31,
3639,
289,
202,
759,
14291,
392,
2775,
364,
333,
1849,
202,
430,
261,
5548,
18,
588,
797,
7675,
291,
1076,
10756,
288,
5411,
509,
769,
2
] |
|
}
|
}
|
public boolean getValueIsAdjusting() { return isAdjusting; } // getValueIsAdjusting()
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/ListSelectionEvent.java/buggy/core/src/classpath/javax/javax/swing/event/ListSelectionEvent.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
2366,
2520,
10952,
310,
1435,
288,
202,
202,
2463,
353,
10952,
310,
31,
202,
97,
368,
2366,
2520,
10952,
310,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
2366,
2520,
10952,
310,
1435,
288,
202,
202,
2463,
353,
10952,
310,
31,
202,
97,
368,
2366,
2520,
10952,
310,
1435,
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
] |
super.toString(sb, prefix, breadth, depth); sb.append(getLocalizer().format("String.Format", left.toString(), right.toString()));
|
Font font = getTypesettingContext().getFont(); sb.append(getLocalizer().format("String.Format", (font == null ? "*" : font.getFontName()), getCharacter().toString(), left.toString(), right.toString()));
|
public void toString(final StringBuffer sb, final String prefix, final int breadth, final int depth) { super.toString(sb, prefix, breadth, depth); sb.append(getLocalizer().format("String.Format", left.toString(), right.toString())); }
|
9123 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9123/66ef0269049da7ecf105702a0dd85115376406f8/LigatureNode.java/buggy/ExTeX/src/java/de/dante/extex/typesetter/type/node/LigatureNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1762,
12,
6385,
6674,
2393,
16,
727,
514,
1633,
16,
5411,
727,
509,
324,
25254,
16,
727,
509,
3598,
13,
288,
3639,
2240,
18,
10492,
12,
18366,
16,
1633,
16,
324,
25254,
16,
3598,
1769,
3639,
2393,
18,
6923,
12,
588,
2042,
1824,
7675,
2139,
2932,
780,
18,
1630,
3113,
2002,
18,
10492,
9334,
7734,
2145,
18,
10492,
1435,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1762,
12,
6385,
6674,
2393,
16,
727,
514,
1633,
16,
5411,
727,
509,
324,
25254,
16,
727,
509,
3598,
13,
288,
3639,
2240,
18,
10492,
12,
18366,
16,
1633,
16,
324,
25254,
16,
3598,
1769,
3639,
2393,
18,
6923,
12,
588,
2042,
1824,
7675,
2139,
2932,
780,
18,
1630,
3113,
2002,
18,
10492,
9334,
7734,
2145,
18,
10492,
1435,
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
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.