rem stringlengths 1 226k | add stringlengths 0 227k | context stringlengths 6 326k | meta stringlengths 143 403 | input_ids listlengths 256 256 | attention_mask listlengths 256 256 | labels listlengths 128 128 |
|---|---|---|---|---|---|---|
IMylarContextNode node = getNode(element); | IMylarElement node = getNode(element); | public Color decorateForeground(Object element) { IMylarContextNode node = getNode(element); if (element instanceof MylarContextEdge) { return MylarUiPlugin.getDefault().getColorMap().RELATIONSHIP; } else if (node != null) { UiUtil.getForegroundForElement(node); } return null; } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/f5bfb4859762da1543c326b182b2de34d0d94c08/InterestDecorator.java/buggy/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/ui/InterestDecorator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5563,
15752,
23206,
12,
921,
930,
13,
288,
3639,
6246,
93,
7901,
1046,
756,
273,
5973,
12,
2956,
1769,
3639,
309,
261,
2956,
1276,
8005,
7901,
1042,
6098,
13,
288,
5411,
327,
8005,
7901,
13943,
3773,
18,
588,
1868,
7675,
588,
2957,
863,
7675,
27822,
20101,
31,
3639,
289,
469,
309,
261,
2159,
480,
446,
13,
288,
5411,
22597,
1304,
18,
588,
23206,
1290,
1046,
12,
2159,
1769,
3639,
289,
3639,
327,
446,
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,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
5973,
12,
2956,
1769,
3639,
309,
261,
2956,
1276,
8005,
7901,
1042,
6098,
13,
288,
5411,
327,
8005,
7901,
13943,
3773,
18,
588,
1868,
7675,
588,
2957,
863,
7675,
27822,
20101,
31,
3639,
289,
469,
309,
261,
2159,
480,
446,
13,
288,
5411,
22597,
1304,
18,
588,
23206,
1290,
1046,
12,
2159,
1769,
3639,
289,
3639,
327,
446,
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
] |
} | } | public void shutDown(CmsModule module) { if (LOG.isDebugEnabled()) { LOG.debug(Messages.get().key(Messages.LOG_MODULE_SHUTDOWN_2, module.getName(), this.getClass().getName())); } } | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/f12328204dd4cd4c2d95d0595fb352cd0e93c475/A_CmsModuleAction.java/clean/src/org/opencms/module/A_CmsModuleAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9171,
4164,
12,
4747,
3120,
1605,
13,
288,
3639,
309,
261,
4842,
18,
291,
2829,
1526,
10756,
288,
5411,
2018,
18,
4148,
12,
5058,
18,
588,
7675,
856,
12,
5058,
18,
4842,
67,
12194,
67,
2664,
1693,
12711,
67,
22,
16,
1605,
18,
17994,
9334,
333,
18,
588,
797,
7675,
17994,
1435,
10019,
3639,
289,
2398,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9171,
4164,
12,
4747,
3120,
1605,
13,
288,
3639,
309,
261,
4842,
18,
291,
2829,
1526,
10756,
288,
5411,
2018,
18,
4148,
12,
5058,
18,
588,
7675,
856,
12,
5058,
18,
4842,
67,
12194,
67,
2664,
1693,
12711,
67,
22,
16,
1605,
18,
17994,
9334,
333,
18,
588,
797,
7675,
17994,
1435,
10019,
3639,
289,
2398,
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
] |
return super.toString()+":"+file.getPath(); | return super.toString()+ ':' +file.getPath(); | public synchronized String toString() { return super.toString()+":"+file.getPath(); } | 49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/62fd59041864b4ed1f43adc676de6bfb5ea977f3/FileBucket.java/buggy/src/freenet/support/io/FileBucket.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
514,
1762,
1435,
288,
202,
202,
2463,
2240,
18,
10492,
1435,
9078,
2773,
15,
768,
18,
588,
743,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
514,
1762,
1435,
288,
202,
202,
2463,
2240,
18,
10492,
1435,
9078,
2773,
15,
768,
18,
588,
743,
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
] |
public synchronized void maybeUpdate(){ try{ if(isFetching || !isRunning || !isUpdatable()) return; }catch (PrivkeyHasBeenBlownException e){ Logger.error(this, "The auto-updating Private key has been blown!"); node.exit(); | public void maybeUpdate(){ synchronized(this) { try{ if(isFetching || (!isRunning) || (!isUpdatable())) return; }catch (PrivkeyHasBeenBlownException e){ Logger.error(this, "The auto-updating Private key has been blown!"); System.err.println("The auto-updating Private key has been blown!"); node.exit(); } isRunning=false; | public synchronized void maybeUpdate(){ try{ if(isFetching || !isRunning || !isUpdatable()) return; }catch (PrivkeyHasBeenBlownException e){ // how to handle it ? a new UserAlert or an imediate exit? Logger.error(this, "The auto-updating Private key has been blown!"); node.exit(); } isRunning=false; //TODO maybe a UpdateInProgress alert ? Logger.normal(this,"Starting the update process"); System.err.println("Starting the update process: found the update, now fetching it.");// We fetch it try{ if(cg==null||cg.isCancelled()){ cg = new ClientGetter(this, node.chkFetchScheduler, node.sskFetchScheduler, URI.setSuggestedEdition(availableVersion), ctx, RequestStarter.BULK_SPLITFILE_PRIORITY_CLASS, this, new ArrayBucket()); } cg.start(); isFetching = true; }catch (Exception e) { Logger.error(this, "Error while starting the fetching"); } } | 46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/f5879e8e5feca05677fbe9ad67569953b02d80c0/NodeUpdater.java/clean/src/freenet/node/updater/NodeUpdater.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
6944,
1891,
1435,
95,
202,
202,
698,
95,
1082,
202,
430,
12,
291,
30806,
747,
401,
291,
7051,
747,
401,
291,
1211,
3404,
429,
10756,
327,
31,
202,
202,
97,
14683,
261,
15475,
856,
5582,
25931,
38,
821,
82,
503,
425,
15329,
1082,
202,
759,
3661,
358,
1640,
518,
692,
279,
394,
2177,
13298,
578,
392,
709,
329,
3840,
2427,
35,
1082,
202,
3328,
18,
1636,
12,
2211,
16,
315,
1986,
3656,
17,
5533,
1776,
8726,
498,
711,
2118,
324,
821,
82,
4442,
1769,
1082,
202,
2159,
18,
8593,
5621,
202,
202,
97,
9506,
202,
291,
7051,
33,
5743,
31,
9506,
202,
759,
6241,
6944,
279,
2315,
13434,
6881,
692,
202,
202,
3328,
18,
6130,
12,
2211,
10837,
11715,
326,
1089,
1207,
8863,
202,
202,
3163,
18,
370,
18,
8222,
2932,
11715,
326,
1089,
1207,
30,
1392,
326,
1089,
16,
2037,
16191,
518,
1199,
1769,
759,
202,
202,
3218,
2158,
518,
202,
202,
698,
95,
1082,
202,
430,
12,
26275,
631,
2011,
20081,
26275,
18,
291,
21890,
10756,
95,
9506,
202,
26275,
273,
394,
2445,
8461,
12,
2211,
16,
756,
18,
27038,
5005,
11870,
16,
756,
18,
1049,
79,
5005,
11870,
16,
9944,
202,
3098,
18,
542,
55,
28892,
41,
1460,
12,
5699,
1444,
3631,
1103,
16,
1567,
510,
14153,
18,
38,
1506,
47,
67,
17482,
3776,
67,
19804,
67,
5237,
16,
9944,
202,
2211,
16,
394,
1510,
4103,
10663,
1082,
202,
97,
1082,
202,
26275,
18,
1937,
5621,
1082,
202,
291,
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,
3852,
918,
6944,
1891,
1435,
95,
202,
202,
698,
95,
1082,
202,
430,
12,
291,
30806,
747,
401,
291,
7051,
747,
401,
291,
1211,
3404,
429,
10756,
327,
31,
202,
202,
97,
14683,
261,
15475,
856,
5582,
25931,
38,
821,
82,
503,
425,
15329,
1082,
202,
759,
3661,
358,
1640,
518,
692,
279,
394,
2177,
13298,
578,
392,
709,
329,
3840,
2427,
35,
1082,
202,
3328,
18,
1636,
12,
2211,
16,
315,
1986,
3656,
17,
5533,
1776,
8726,
498,
711,
2118,
324,
821,
82,
4442,
1769,
1082,
202,
2159,
18,
8593,
5621,
202,
202,
97,
9506,
202,
291,
7051,
33,
5743,
31,
9506,
202,
759,
6241,
6944,
279,
2315,
13434,
6881,
692,
202,
202,
3328,
18,
2
] |
/** * Report title. */ | protected void __init( HttpServletRequest request ) throws Exception { if ( ParameterAccessor.isGetImageOperator( request ) ) { return; } this.category = "BIRT"; //$NON-NLS-1$ this.masterPageContent = ParameterAccessor .isMasterPageContent( request ); this.isDesigner = ParameterAccessor.isDesigner( request ); this.bookmark = ParameterAccessor.getBookmark( request ); this.reportPage = String.valueOf( ParameterAccessor.getPage( request ) ); this.reportDocumentName = ParameterAccessor.getReportDocument( request ); this.reportDesignName = ParameterAccessor.getReport( request ); /** * Determine the report design and doc 's timestamp */ processReport( request ); /** * Report title. */ String title = null; // if ( this.reportRunnable != null ) // { // title = ( String ) this.reportRunnable.getProperty( "title" ); // //$NON-NLS-1$ // } if ( title == null || title.trim( ).length( ) <= 0 ) { title = BirtResources.getString( "birt.viewer.title" ); //$NON-NLS-1$ } this.reportTitle = ParameterAccessor.htmlEncode( title ); } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/181bda39d9bbe2882e743df6ffb38bdcd05b7389/ViewerAttributeBean.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1001,
2738,
12,
9984,
590,
262,
1216,
1185,
202,
95,
202,
202,
430,
261,
5498,
8235,
18,
291,
967,
2040,
5592,
12,
590,
262,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
2211,
18,
4743,
273,
315,
38,
7937,
56,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
2211,
18,
7525,
1964,
1350,
273,
5498,
8235,
9506,
202,
18,
291,
7786,
1964,
1350,
12,
590,
11272,
202,
202,
2211,
18,
291,
15478,
264,
273,
5498,
8235,
18,
291,
15478,
264,
12,
590,
11272,
202,
202,
2211,
18,
3618,
3355,
273,
5498,
8235,
18,
588,
22966,
12,
590,
11272,
202,
202,
2211,
18,
6006,
1964,
273,
514,
18,
1132,
951,
12,
5498,
8235,
18,
588,
1964,
12,
590,
262,
11272,
202,
202,
2211,
18,
6006,
2519,
461,
273,
5498,
8235,
18,
588,
4820,
2519,
12,
590,
11272,
202,
202,
2211,
18,
6006,
15478,
461,
273,
5498,
8235,
18,
588,
4820,
12,
590,
11272,
202,
202,
26873,
1082,
380,
10229,
326,
2605,
8281,
471,
997,
296,
87,
2858,
1082,
1195,
202,
202,
2567,
4820,
12,
590,
11272,
202,
202,
26873,
1082,
380,
8706,
2077,
18,
1082,
1195,
202,
202,
780,
2077,
273,
446,
31,
202,
202,
759,
309,
261,
333,
18,
6006,
20013,
480,
446,
262,
202,
202,
759,
288,
202,
202,
759,
2077,
273,
261,
514,
262,
333,
18,
6006,
20013,
18,
588,
1396,
12,
315,
2649,
6,
11272,
202,
202,
759,
4329,
3993,
17,
5106,
17,
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,
1001,
2738,
12,
9984,
590,
262,
1216,
1185,
202,
95,
202,
202,
430,
261,
5498,
8235,
18,
291,
967,
2040,
5592,
12,
590,
262,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
2211,
18,
4743,
273,
315,
38,
7937,
56,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
2211,
18,
7525,
1964,
1350,
273,
5498,
8235,
9506,
202,
18,
291,
7786,
1964,
1350,
12,
590,
11272,
202,
202,
2211,
18,
291,
15478,
264,
273,
5498,
8235,
18,
291,
15478,
264,
12,
590,
11272,
202,
202,
2211,
18,
3618,
3355,
273,
5498,
8235,
18,
588,
22966,
12,
590,
11272,
202,
202,
2211,
18,
6006,
1964,
273,
514,
18,
1132,
2
] | |
if (method.getVisibility().is(visibility)) { | if (method.getVisibility().is(visibility) && method.isUndefined() == false) { | private RubyArray instance_methods(IRubyObject[] args, final Visibility visibility) { boolean includeSuper = args.length > 0 ? args[0].isTrue() : true; RubyArray ary = RubyArray.newArray(getRuntime()); Map kernelMethods = getRuntime().getClasses().getKernelModule().getMethods(); for (RubyModule p = this; p != null; p = p.getSuperClass()) { // kernel methods do not get printed out (but why?). if (p.getMethods() == kernelMethods) { continue; } for (Iterator iter = p.getMethods().entrySet().iterator(); iter.hasNext();) { Map.Entry entry = (Map.Entry) iter.next(); ICallable method = (ICallable) entry.getValue(); if (method.getVisibility().is(visibility)) { RubyString name = RubyString.newString(getRuntime(), (String) entry.getKey()); if (!ary.includes(name)) { ary.append(name); } } } if (!includeSuper) { break; } } return ary; } | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/111ffceb6641644db641863784ba47cc459fef17/RubyModule.java/clean/src/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
19817,
1076,
791,
67,
5163,
12,
7937,
10340,
921,
8526,
833,
16,
727,
27791,
9478,
13,
288,
3639,
1250,
2341,
8051,
273,
833,
18,
2469,
405,
374,
692,
833,
63,
20,
8009,
291,
5510,
1435,
294,
638,
31,
3639,
19817,
1076,
11841,
273,
19817,
1076,
18,
2704,
1076,
12,
588,
5576,
10663,
3639,
1635,
5536,
4712,
273,
18814,
7675,
588,
4818,
7675,
588,
11286,
3120,
7675,
588,
4712,
5621,
3639,
364,
261,
54,
10340,
3120,
293,
273,
333,
31,
293,
480,
446,
31,
293,
273,
293,
18,
588,
8051,
797,
10756,
288,
540,
202,
759,
5536,
2590,
741,
486,
336,
14099,
596,
261,
12885,
11598,
35,
2934,
540,
202,
430,
261,
84,
18,
588,
4712,
1435,
422,
5536,
4712,
13,
288,
540,
202,
202,
17143,
31,
540,
202,
97,
5411,
364,
261,
3198,
1400,
273,
293,
18,
588,
4712,
7675,
4099,
694,
7675,
9838,
5621,
2398,
202,
2165,
18,
5332,
2134,
5621,
13,
288,
7734,
1635,
18,
1622,
1241,
273,
261,
863,
18,
1622,
13,
1400,
18,
4285,
5621,
7734,
467,
11452,
707,
273,
261,
45,
11452,
13,
1241,
18,
24805,
5621,
7734,
309,
261,
2039,
18,
588,
10135,
7675,
291,
12,
14422,
13,
597,
707,
18,
291,
10317,
1435,
422,
629,
13,
288,
10792,
19817,
780,
508,
273,
19817,
780,
18,
2704,
780,
12,
588,
5576,
9334,
8227,
202,
12,
780,
13,
1241,
18,
588,
653,
10663,
10792,
309,
16051,
814,
18,
18499,
12,
529,
3719,
288,
5397,
202,
814,
18,
6923,
12,
529,
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,
19817,
1076,
791,
67,
5163,
12,
7937,
10340,
921,
8526,
833,
16,
727,
27791,
9478,
13,
288,
3639,
1250,
2341,
8051,
273,
833,
18,
2469,
405,
374,
692,
833,
63,
20,
8009,
291,
5510,
1435,
294,
638,
31,
3639,
19817,
1076,
11841,
273,
19817,
1076,
18,
2704,
1076,
12,
588,
5576,
10663,
3639,
1635,
5536,
4712,
273,
18814,
7675,
588,
4818,
7675,
588,
11286,
3120,
7675,
588,
4712,
5621,
3639,
364,
261,
54,
10340,
3120,
293,
273,
333,
31,
293,
480,
446,
31,
293,
273,
293,
18,
588,
8051,
797,
10756,
288,
540,
202,
759,
5536,
2590,
741,
486,
336,
14099,
596,
261,
12885,
11598,
35,
2934,
540,
202,
430,
261,
84,
18,
588,
4712,
1435,
422,
2
] |
protected void processActionEvent(ActionEvent event) { | processActionEvent(ActionEvent event) { | protected void processActionEvent(ActionEvent event) { if (action_listeners != null) action_listeners.actionPerformed(event); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/MenuItem.java/clean/core/src/classpath/java/java/awt/MenuItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
1803,
1133,
12,
1803,
1133,
871,
13,
288,
202,
202,
430,
261,
1128,
67,
16072,
480,
446,
13,
1082,
202,
1128,
67,
16072,
18,
1128,
13889,
12,
2575,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
1803,
1133,
12,
1803,
1133,
871,
13,
288,
202,
202,
430,
261,
1128,
67,
16072,
480,
446,
13,
1082,
202,
1128,
67,
16072,
18,
1128,
13889,
12,
2575,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
protected final int superPageHeaderSize() throws InlinePragma { | protected final int superPageHeaderSize() throws InlinePragma { | protected final int superPageHeaderSize() throws InlinePragma { return Treadmill.headerSize(); } | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/30524c62fa391922d51289c03075f714c772951c/LargeObjectLocal.java/clean/MMTk/src/org/mmtk/policy/LargeObjectLocal.java | [
1,
8585,
326,
22398,
316,
326,
981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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
727,
509,
2240,
1964,
1864,
1225,
1435,
565,
1216,
16355,
2050,
9454,
288,
565,
327,
399,
896,
81,
737,
18,
3374,
1225,
5621,
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
] |
org.apache.xalan.utils.QName[] attributeSetsNames=((org.apache.xalan.templates.ElemUse)ete).getUseAttributeSets(); | org.apache.xml.utils.QName[] attributeSetsNames=((org.apache.xalan.templates.ElemUse)ete).getUseAttributeSets(); | void compileUseAttrSet(ElemTemplateElement ete,StringBuffer body,Vector interpretVector) { ++uniqueVarSuffix; // Maintain unique variable naming body.append( "if(transformer.S_DEBUG)\n" +" transformer.getTraceManager().fireTraceEvent(sourceNode, mode, this);\n" ); // expand ElemUse.applyAttrSets(transformer, getStylesheetComposed(), // ele.getUseAttributeSets(), sourceNode, mode); // ***** DOES THIS CAST NEED TO BE CHECKED? org.apache.xalan.utils.QName[] attributeSetsNames=((org.apache.xalan.templates.ElemUse)ete).getUseAttributeSets(); if(null != attributeSetsNames) { org.apache.xalan.templates.StylesheetComposed stylesheet=ete.getStylesheetComposed(); int nNames = attributeSetsNames.length; for(int i = 0; i < nNames; i++) { org.apache.xalan.utils.QName qname = attributeSetsNames[i]; Vector attrSets = stylesheet.getAttributeSetComposed(qname); int nSets = attrSets.size(); for(int k = 0; k < nSets; k++) { ElemAttributeSet attrSet = (ElemAttributeSet)attrSets.elementAt(k); // expand ElemAttributeSet.execute(transformer, sourceNode, mode); if(attrSetStack.contains(attrSet)) { // TODO: ***** WHAT'S THE RIGHT WAY TO REPORT THIS ERROR? String errmsg="TEMPLATE COMPILATION ERROR: ATTRIBUTE SET RECURSION SUPPRESSED in "+attrSet.getName().getLocalPart(); /**/System.err.println(errmsg); /**/body.append("// ***** "+errmsg+" *****/\n"); /**/return; //throw new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_XSLATTRSET_USED_ITSELF, new Object[]{attrSet.getName().getLocalPart()})); //"xsl:attribute-set '"+m_qname.m_localpart+ } attrSetStack.push(attrSet); // Recurse, since attrsets can reference attrsets compileUseAttrSet(attrSet,body,interpretVector); ElemAttribute attr = (ElemAttribute)attrSet.getFirstChild(); while(null != attr) { compileElemTemplateElement(attr,body,interpretVector); attr = (ElemAttribute)attr.getNextSibling(); } attrSetStack.pop(); } } } } | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/d4f9ef1128e471c78e8cc97f9a11f7021597682b/CompilingStylesheetHandler.java/buggy/src/org/apache/xalan/processor/CompilingStylesheetHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
4074,
3727,
3843,
694,
12,
7498,
2283,
1046,
3393,
73,
16,
780,
1892,
1417,
16,
5018,
10634,
5018,
13,
225,
288,
565,
965,
6270,
1537,
5791,
31,
368,
490,
1598,
530,
3089,
2190,
14634,
3639,
1417,
18,
6923,
12,
3639,
315,
430,
12,
21523,
18,
55,
67,
9394,
5153,
82,
6,
3639,
397,
6,
225,
8360,
18,
588,
3448,
1318,
7675,
12179,
3448,
1133,
12,
3168,
907,
16,
1965,
16,
333,
20472,
82,
6,
3639,
11272,
565,
368,
4542,
10223,
3727,
18,
9010,
3843,
2785,
12,
21523,
16,
336,
24656,
799,
7423,
9334,
565,
368,
9079,
5043,
18,
588,
3727,
1499,
2785,
9334,
26799,
16,
1965,
1769,
565,
368,
380,
1007,
5467,
3991,
20676,
6425,
882,
12901,
2056,
8493,
9722,
14565,
2056,
35,
565,
2358,
18,
19211,
18,
2902,
18,
5471,
18,
13688,
8526,
1566,
2785,
1557,
33,
12443,
3341,
18,
19211,
18,
92,
4316,
18,
8502,
18,
7498,
3727,
13,
12865,
2934,
588,
3727,
1499,
2785,
5621,
565,
309,
12,
2011,
480,
1566,
2785,
1557,
13,
565,
288,
3639,
2358,
18,
19211,
18,
92,
4316,
18,
8502,
18,
24656,
799,
7423,
13820,
33,
12865,
18,
588,
24656,
799,
7423,
5621,
3639,
509,
290,
1557,
273,
1566,
2785,
1557,
18,
2469,
31,
3639,
364,
12,
474,
277,
273,
374,
31,
277,
411,
290,
1557,
31,
277,
27245,
3639,
288,
5411,
2358,
18,
19211,
18,
92,
4316,
18,
5471,
18,
13688,
12621,
273,
1566,
2785,
1557,
63,
77,
15533,
5411,
5589,
1604,
2785,
273,
13820,
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,
282,
918,
4074,
3727,
3843,
694,
12,
7498,
2283,
1046,
3393,
73,
16,
780,
1892,
1417,
16,
5018,
10634,
5018,
13,
225,
288,
565,
965,
6270,
1537,
5791,
31,
368,
490,
1598,
530,
3089,
2190,
14634,
3639,
1417,
18,
6923,
12,
3639,
315,
430,
12,
21523,
18,
55,
67,
9394,
5153,
82,
6,
3639,
397,
6,
225,
8360,
18,
588,
3448,
1318,
7675,
12179,
3448,
1133,
12,
3168,
907,
16,
1965,
16,
333,
20472,
82,
6,
3639,
11272,
565,
368,
4542,
10223,
3727,
18,
9010,
3843,
2785,
12,
21523,
16,
336,
24656,
799,
7423,
9334,
565,
368,
9079,
5043,
18,
588,
3727,
1499,
2785,
9334,
26799,
16,
1965,
1769,
565,
368,
380,
1007,
5467,
3991,
20676,
6425,
882,
12901,
2
] |
rs = stmt.executeQuery("select s, i from #t0009"); | rs = stmt.executeQuery("select s, i from #t0009"); | public void testPreparedStatement0009() throws Exception { Connection cx = getConnection(); dropTable("#t0009"); Statement stmt = cx.createStatement(); stmt.executeUpdate("create table #t0009 " + " (i integer not null, " + " s char(10) not null) "); cx.setAutoCommit(false); PreparedStatement pStmt = cx.prepareStatement( "insert into #t0009 values (?, ?)"); int rowsToAdd = 8; final String theString = "abcdefghijklmnopqrstuvwxyz"; int count = 0; for (int i = 1; i <= rowsToAdd; i++) { pStmt.setInt(1, i); pStmt.setString(2, theString.substring(0, i)); count += pStmt.executeUpdate(); } assertTrue(count == rowsToAdd); cx.rollback(); stmt = cx.createStatement(); ResultSet rs = stmt.executeQuery("select s, i from #t0009"); assertNotNull(rs); count = 0; while (rs.next()) { count++; assertTrue(rs.getString(1).trim().length() == rs.getInt(2)); } assertTrue(count == 0); cx.commit(); rowsToAdd = 6; count = 0; for (int i = 1; i <= rowsToAdd; i++) { pStmt.setInt(1, i); pStmt.setString(2, theString.substring(0, i)); count += pStmt.executeUpdate(); } assertTrue(count == rowsToAdd); cx.commit(); rs = stmt.executeQuery("select s, i from #t0009"); count = 0; while (rs.next()) { count++; assertTrue(rs.getString(1).trim().length() == rs.getInt(2)); } assertTrue(count == rowsToAdd); cx.commit(); cx.setAutoCommit(true); } | 2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/7df6dc0065b654cd4e2b156461e0394d01dd13aa/TimestampTest.java/buggy/src.old/test/freetds/TimestampTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
29325,
3784,
29,
1435,
1216,
1185,
202,
95,
202,
202,
1952,
9494,
273,
6742,
5621,
202,
202,
7285,
1388,
2932,
7,
88,
3784,
29,
8863,
202,
202,
3406,
3480,
273,
9494,
18,
2640,
3406,
5621,
202,
202,
10589,
18,
8837,
1891,
2932,
2640,
1014,
468,
88,
3784,
29,
315,
1082,
202,
15,
315,
225,
261,
77,
225,
3571,
225,
486,
446,
16,
1377,
315,
1082,
202,
15,
315,
282,
272,
225,
1149,
12,
2163,
13,
486,
446,
13,
1377,
315,
1769,
202,
202,
71,
92,
18,
542,
4965,
5580,
12,
5743,
1769,
202,
202,
29325,
293,
8952,
273,
9494,
18,
9366,
3406,
12,
1082,
202,
6,
6387,
1368,
468,
88,
3784,
29,
924,
13590,
16,
692,
2225,
1769,
202,
202,
474,
2595,
13786,
273,
1725,
31,
202,
202,
6385,
514,
326,
780,
273,
315,
28953,
17680,
8302,
16391,
13607,
556,
85,
16114,
30900,
17177,
14432,
202,
202,
474,
1056,
273,
374,
31,
202,
202,
1884,
261,
474,
277,
273,
404,
31,
277,
1648,
2595,
13786,
31,
277,
27245,
202,
202,
95,
1082,
202,
84,
8952,
18,
542,
1702,
12,
21,
16,
277,
1769,
1082,
202,
84,
8952,
18,
542,
780,
12,
22,
16,
326,
780,
18,
28023,
12,
20,
16,
277,
10019,
1082,
202,
1883,
1011,
293,
8952,
18,
8837,
1891,
5621,
202,
202,
97,
202,
202,
11231,
5510,
12,
1883,
422,
2595,
13786,
1769,
202,
202,
71,
92,
18,
20050,
5621,
202,
202,
10589,
273,
9494,
18,
2640,
3406,
5621,
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,
1842,
29325,
3784,
29,
1435,
1216,
1185,
202,
95,
202,
202,
1952,
9494,
273,
6742,
5621,
202,
202,
7285,
1388,
2932,
7,
88,
3784,
29,
8863,
202,
202,
3406,
3480,
273,
9494,
18,
2640,
3406,
5621,
202,
202,
10589,
18,
8837,
1891,
2932,
2640,
1014,
468,
88,
3784,
29,
315,
1082,
202,
15,
315,
225,
261,
77,
225,
3571,
225,
486,
446,
16,
1377,
315,
1082,
202,
15,
315,
282,
272,
225,
1149,
12,
2163,
13,
486,
446,
13,
1377,
315,
1769,
202,
202,
71,
92,
18,
542,
4965,
5580,
12,
5743,
1769,
202,
202,
29325,
293,
8952,
273,
9494,
18,
9366,
3406,
12,
1082,
202,
6,
6387,
1368,
468,
88,
3784,
29,
924,
13590,
2
] |
if (function instanceof BaseFunction) { BaseFunction bf = (BaseFunction)function; Ref ref = bf.callRef(cx, scope, thisObj, args); if (ref != null) { return ref; | if (function instanceof RefCallable) { RefCallable rfunction = (RefCallable)function; Ref ref = rfunction.refCall(cx, thisObj, args); if (ref == null) { throw new IllegalStateException(rfunction.getClass().getName()+".refCall() returned null"); | public static Ref callRef(Function function, Scriptable thisObj, Object[] args, Context cx, Scriptable scope) { if (function instanceof BaseFunction) { BaseFunction bf = (BaseFunction)function; Ref ref = bf.callRef(cx, scope, thisObj, args); if (ref != null) { return ref; } } // No runtime support for now String msg = getMessage1("msg.no.ref.from.function", toString(function)); throw constructError("ReferenceError", msg); } | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/8f901d363ed2edf31a1885784e6ea84dee079051/ScriptRuntime.java/clean/src/org/mozilla/javascript/ScriptRuntime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
3941,
745,
1957,
12,
2083,
445,
16,
22780,
15261,
16,
17311,
1033,
8526,
833,
16,
1772,
9494,
16,
22780,
2146,
13,
565,
288,
3639,
309,
261,
915,
1276,
3360,
2083,
13,
288,
5411,
3360,
2083,
16222,
273,
261,
2171,
2083,
13,
915,
31,
5411,
3941,
1278,
273,
16222,
18,
1991,
1957,
12,
71,
92,
16,
2146,
16,
15261,
16,
833,
1769,
5411,
309,
261,
1734,
480,
446,
13,
288,
7734,
327,
1278,
31,
5411,
289,
3639,
289,
3639,
368,
2631,
3099,
2865,
364,
2037,
3639,
514,
1234,
273,
2381,
21,
2932,
3576,
18,
2135,
18,
1734,
18,
2080,
18,
915,
3113,
4766,
1762,
12,
915,
10019,
3639,
604,
4872,
668,
2932,
2404,
668,
3113,
1234,
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,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0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
3941,
745,
1957,
12,
2083,
445,
16,
22780,
15261,
16,
17311,
1033,
8526,
833,
16,
1772,
9494,
16,
22780,
2146,
13,
565,
288,
3639,
309,
261,
915,
1276,
3360,
2083,
13,
288,
5411,
3360,
2083,
16222,
273,
261,
2171,
2083,
13,
915,
31,
5411,
3941,
1278,
273,
16222,
18,
1991,
1957,
12,
71,
92,
16,
2146,
16,
15261,
16,
833,
1769,
5411,
309,
261,
1734,
480,
446,
13,
288,
7734,
327,
1278,
31,
5411,
289,
3639,
289,
3639,
368,
2631,
3099,
2865,
364,
2037,
3639,
514,
1234,
273,
2381,
21,
2932,
3576,
18,
2135,
18,
1734,
18,
2080,
18,
915,
3113,
4766,
1762,
12,
915,
10019,
3639,
604,
4872,
668,
2932,
2404,
668,
3113,
1234,
1769,
2
] |
if (!(formatspecifier instanceof NumberFormatSpecifier) && !(formatspecifier instanceof JavaNumberFormatSpecifier)) { formatspecifier = NumberFormatSpecifierImpl.create(); } | public void widgetSelected(SelectionEvent e) { if (!bEnableEvents) { return; } if (e.getSource().equals(cmbDataType)) { if (cmbDataType.getText().equals("Number")) { if (!(formatspecifier instanceof NumberFormatSpecifier) && !(formatspecifier instanceof JavaNumberFormatSpecifier)) { formatspecifier = NumberFormatSpecifierImpl.create(); } slDetails.topControl = cmpNumberDetails; } else { if (!(formatspecifier instanceof DateFormatSpecifier) && !(formatspecifier instanceof JavaDateFormatSpecifier)) { formatspecifier = AttributeFactory.eINSTANCE.createDateFormatSpecifier(); } slDetails.topControl = cmpDateDetails; } cmpDetails.layout(); } else if (e.getSource().equals(cmbDateType)) { if (!(formatspecifier instanceof DateFormatSpecifier)) { formatspecifier = AttributeFactory.eINSTANCE.createDateFormatSpecifier(); ((DateFormatSpecifier) formatspecifier).setDetail(DateFormatDetail.get(cmbDateForm.getText())); } ((DateFormatSpecifier) formatspecifier).setType(DateFormatType.get(cmbDateType.getText())); } else if (e.getSource().equals(cmbDateForm)) { if (!(formatspecifier instanceof DateFormatSpecifier)) { formatspecifier = AttributeFactory.eINSTANCE.createDateFormatSpecifier(); ((DateFormatSpecifier) formatspecifier).setType(DateFormatType.get(cmbDateType.getText())); } ((DateFormatSpecifier) formatspecifier).setDetail(DateFormatDetail.get(cmbDateForm.getText())); } } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/0c62946adee3c9b3b9437f08261ae8af76dc6141/FormatSpecifierComposite.java/buggy/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,
377,
1071,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
565,
288,
3639,
309,
16051,
70,
8317,
3783,
13,
3639,
288,
5411,
327,
31,
3639,
289,
3639,
309,
261,
73,
18,
588,
1830,
7675,
14963,
12,
71,
1627,
6273,
3719,
3639,
288,
5411,
309,
261,
71,
1627,
6273,
18,
588,
1528,
7675,
14963,
2932,
1854,
6,
3719,
5411,
288,
7734,
309,
16051,
12,
2139,
2793,
1251,
1276,
29587,
21416,
13,
10792,
597,
401,
12,
2139,
2793,
1251,
1276,
5110,
1854,
1630,
21416,
3719,
7734,
288,
10792,
740,
2793,
1251,
273,
29587,
21416,
2828,
18,
2640,
5621,
7734,
289,
7734,
2020,
3790,
18,
3669,
3367,
273,
9411,
1854,
3790,
31,
5411,
289,
5411,
469,
5411,
288,
7734,
309,
16051,
12,
2139,
2793,
1251,
1276,
18371,
21416,
13,
10792,
597,
401,
12,
2139,
2793,
1251,
1276,
5110,
11878,
21416,
3719,
7734,
288,
10792,
740,
2793,
1251,
273,
3601,
1733,
18,
73,
13341,
18,
2640,
11878,
21416,
5621,
7734,
289,
7734,
2020,
3790,
18,
3669,
3367,
273,
9411,
1626,
3790,
31,
5411,
289,
5411,
9411,
3790,
18,
6741,
5621,
3639,
289,
3639,
469,
309,
261,
73,
18,
588,
1830,
7675,
14963,
12,
71,
1627,
1626,
559,
3719,
3639,
288,
5411,
309,
16051,
12,
2139,
2793,
1251,
1276,
18371,
21416,
3719,
5411,
288,
7734,
740,
2793,
1251,
273,
3601,
1733,
18,
73,
13341,
18,
2640,
11878,
21416,
5621,
7734,
14015,
11878,
21416,
13,
740,
2793,
1251,
2934,
542,
6109,
12,
11878,
6109,
18,
588,
12,
71,
1627,
1626,
1204,
18,
588,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
565,
288,
3639,
309,
16051,
70,
8317,
3783,
13,
3639,
288,
5411,
327,
31,
3639,
289,
3639,
309,
261,
73,
18,
588,
1830,
7675,
14963,
12,
71,
1627,
6273,
3719,
3639,
288,
5411,
309,
261,
71,
1627,
6273,
18,
588,
1528,
7675,
14963,
2932,
1854,
6,
3719,
5411,
288,
7734,
309,
16051,
12,
2139,
2793,
1251,
1276,
29587,
21416,
13,
10792,
597,
401,
12,
2139,
2793,
1251,
1276,
5110,
1854,
1630,
21416,
3719,
7734,
288,
10792,
740,
2793,
1251,
273,
29587,
21416,
2828,
18,
2640,
5621,
7734,
289,
7734,
2020,
3790,
18,
3669,
3367,
273,
9411,
1854,
3790,
31,
5411,
289,
5411,
469,
5411,
288,
7734,
309,
16051,
12,
2
] | |
if (!name.equals("method_missing")) { if (method.getVisibility().isPrivate() && scope == 0) { } else if (method.getVisibility().isProtected()) { RubyModule defined = klass; while (defined.isIncluded()) { defined = defined.getInternalClass(); } if (!ruby.getCurrentFrame().getSelf().isKindOf(defined)) { } } } | public final IRubyObject call(IRubyObject recv, String name, IRubyObject[] args, final int scope) { if (args == null) { args = new IRubyObject[0]; } CacheEntry ent = getRuntime().getMethodCache().getEntry(this, name); if (ent == null) { ent = getMethodBody(name, 0); } if (ent == null || ent.getMethod() == null) { if (scope == 3) { throw new NameError(ruby, "super: no superclass method '" + name + "'"); } IRubyObject[] newArgs = new IRubyObject[args.length + 1]; newArgs[0] = RubySymbol.newSymbol(getRuntime(), name); System.arraycopy(args, 0, newArgs, 1, args.length); return recv.callMethod("method_missing", newArgs); } RubyModule klass = ent.getOrigin(); name = ent.getOriginalName(); ICallable method = ent.getMethod(); // if (mid != missing) { // /* receiver specified form for private method */ // if ((noex & NOEX_PRIVATE) && scope == 0) // return rb_undefined(recv, mid, argc, argv, CSTAT_PRIV); // /* self must be kind of a specified form for private method */ // if ((noex & NOEX_PROTECTED)) { // VALUE defined_class = klass; // while (TYPE(defined_class) == T_ICLASS) // defined_class = RBASIC(defined_class)->klass; // if (!rb_obj_is_kind_of(ruby_frame->self, defined_class)) // return rb_undefined(recv, mid, argc, argv, CSTAT_PROT); // } // } // ... return klass.call0(recv, name, args, method, false); } | 46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/f05423516c2d1bfe54c4363eedb9654f7cfb6898/RubyModule.java/clean/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
15908,
10340,
921,
745,
12,
7937,
10340,
921,
10665,
16,
514,
508,
16,
15908,
10340,
921,
8526,
833,
16,
727,
509,
2146,
13,
288,
3639,
309,
261,
1968,
422,
446,
13,
288,
5411,
833,
273,
394,
15908,
10340,
921,
63,
20,
15533,
3639,
289,
3639,
27657,
3281,
273,
18814,
7675,
588,
1305,
1649,
7675,
588,
1622,
12,
2211,
16,
508,
1769,
3639,
309,
261,
319,
422,
446,
13,
288,
5411,
3281,
273,
6272,
2250,
12,
529,
16,
374,
1769,
3639,
289,
3639,
309,
261,
319,
422,
446,
747,
3281,
18,
588,
1305,
1435,
422,
446,
13,
288,
5411,
309,
261,
4887,
422,
890,
13,
288,
430,
16051,
529,
18,
14963,
2932,
2039,
67,
7337,
6,
3719,
288,
309,
261,
2039,
18,
588,
10135,
7675,
291,
6014,
1435,
597,
2146,
422,
374,
13,
288,
225,
289,
469,
309,
261,
2039,
18,
588,
10135,
7675,
291,
15933,
10756,
288,
19817,
3120,
2553,
273,
7352,
31,
1323,
261,
2178,
18,
291,
19323,
10756,
288,
2553,
273,
2553,
18,
588,
3061,
797,
5621,
289,
309,
16051,
27768,
18,
588,
3935,
3219,
7675,
588,
10084,
7675,
291,
5677,
951,
12,
2178,
3719,
288,
225,
289,
289,
289,
282,
604,
394,
25473,
12,
27768,
16,
315,
9565,
30,
1158,
12098,
707,
2119,
397,
508,
397,
5862,
1769,
5411,
289,
5411,
15908,
10340,
921,
8526,
394,
2615,
273,
394,
15908,
10340,
921,
63,
1968,
18,
2469,
397,
404,
15533,
5411,
394,
2615,
63,
20,
65,
273,
19817,
5335,
18,
2704,
5335,
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,
727,
15908,
10340,
921,
745,
12,
7937,
10340,
921,
10665,
16,
514,
508,
16,
15908,
10340,
921,
8526,
833,
16,
727,
509,
2146,
13,
288,
3639,
309,
261,
1968,
422,
446,
13,
288,
5411,
833,
273,
394,
15908,
10340,
921,
63,
20,
15533,
3639,
289,
3639,
27657,
3281,
273,
18814,
7675,
588,
1305,
1649,
7675,
588,
1622,
12,
2211,
16,
508,
1769,
3639,
309,
261,
319,
422,
446,
13,
288,
5411,
3281,
273,
6272,
2250,
12,
529,
16,
374,
1769,
3639,
289,
3639,
309,
261,
319,
422,
446,
747,
3281,
18,
588,
1305,
1435,
422,
446,
13,
288,
5411,
309,
261,
4887,
422,
890,
13,
288,
430,
16051,
529,
18,
14963,
2932,
2039,
67,
7337,
6,
3719,
2
] | |
l = null; | public void dispose() { SVGOMUseElement ue = (SVGOMUseElement)e; if ((ue != null) && (ue.getCSSImportedElementRoot() != null)) { disposeTree(ue.getCSSImportedElementRoot()); } super.dispose(); if (l != null) { // Remove event listeners EventTarget target = l.target; target.removeEventListener("DOMAttrModified", l, true); target.removeEventListener("DOMNodeInserted", l, true); target.removeEventListener("DOMNodeRemoved", l, true); target.removeEventListener("DOMCharacterDataModified",l, true); } subCtx = null; l = null; } | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/93537bb43393b3ff0ca6aad05d875091a5a94e6d/SVGUseElementBridge.java/buggy/sources/org/apache/batik/bridge/SVGUseElementBridge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
15825,
1435,
288,
3639,
11281,
1872,
3727,
1046,
17869,
273,
261,
26531,
1872,
3727,
1046,
13,
73,
31,
3639,
309,
14015,
344,
480,
446,
13,
597,
5411,
261,
344,
18,
588,
10276,
24934,
1046,
2375,
1435,
480,
446,
3719,
288,
5411,
15825,
2471,
12,
344,
18,
588,
10276,
24934,
1046,
2375,
10663,
3639,
289,
3639,
2240,
18,
2251,
4150,
5621,
3639,
309,
261,
80,
480,
446,
13,
288,
5411,
368,
3581,
871,
4679,
5411,
2587,
2326,
1018,
273,
328,
18,
3299,
31,
5411,
1018,
18,
4479,
7375,
2932,
8168,
3843,
4575,
3113,
328,
16,
638,
1769,
5411,
1018,
18,
4479,
7375,
2932,
8168,
907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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
15825,
1435,
288,
3639,
11281,
1872,
3727,
1046,
17869,
273,
261,
26531,
1872,
3727,
1046,
13,
73,
31,
3639,
309,
14015,
344,
480,
446,
13,
597,
5411,
261,
344,
18,
588,
10276,
24934,
1046,
2375,
1435,
480,
446,
3719,
288,
5411,
15825,
2471,
12,
344,
18,
588,
10276,
24934,
1046,
2375,
10663,
3639,
289,
3639,
2240,
18,
2251,
4150,
5621,
3639,
309,
261,
80,
480,
446,
13,
288,
5411,
368,
3581,
871,
4679,
5411,
2587,
2326,
1018,
273,
328,
18,
3299,
31,
5411,
1018,
18,
4479,
7375,
2932,
8168,
3843,
4575,
3113,
328,
16,
638,
1769,
5411,
1018,
18,
4479,
7375,
2932,
8168,
907,
27329,
3113,
328,
16,
638,
1769,
5411,
1018,
18,
4479,
7375,
2932,
2
] | |
initEClass(chartWithAxesEClass, ChartWithAxes.class, "ChartWithAxes", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getChartWithAxes_Axes(), theComponentPackage.getAxis(), null, "axes", null, 2, -1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getChartWithAxes_WallFill(), theAttributePackage.getFill(), null, "wallFill", null, 1, 1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getChartWithAxes_FloorFill(), theAttributePackage.getFill(), null, "floorFill", null, 1, 1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChartWithAxes_Orientation(), theAttributePackage.getOrientation(), "orientation", "Horizontal", 1, 1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChartWithAxes_UnitSpacing(), theAttributePackage.getPercentage(), "unitSpacing", null, 1, 1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | initEClass(chartWithAxesEClass, ChartWithAxes.class, "ChartWithAxes", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getChartWithAxes_Axes(), theComponentPackage.getAxis(), null, "axes", null, 2, -1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getChartWithAxes_WallFill(), theAttributePackage.getFill(), null, "wallFill", null, 1, 1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getChartWithAxes_FloorFill(), theAttributePackage.getFill(), null, "floorFill", null, 1, 1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChartWithAxes_Orientation(), theAttributePackage.getOrientation(), "orientation", "Horizontal", 1, 1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChartWithAxes_UnitSpacing(), theAttributePackage.getPercentage(), "unitSpacing", null, 1, 1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); AttributePackageImpl theAttributePackage = (AttributePackageImpl)EPackage.Registry.INSTANCE.getEPackage(AttributePackage.eNS_URI); LayoutPackageImpl theLayoutPackage = (LayoutPackageImpl)EPackage.Registry.INSTANCE.getEPackage(LayoutPackage.eNS_URI); DataPackageImpl theDataPackage = (DataPackageImpl)EPackage.Registry.INSTANCE.getEPackage(DataPackage.eNS_URI); ComponentPackageImpl theComponentPackage = (ComponentPackageImpl)EPackage.Registry.INSTANCE.getEPackage(ComponentPackage.eNS_URI); // Add supertypes to classes chartWithAxesEClass.getESuperTypes().add(this.getChart()); chartWithoutAxesEClass.getESuperTypes().add(this.getChart()); // Initialize classes and features; add operations and parameters initEClass(chartEClass, Chart.class, "Chart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getChart_Version(), theXMLTypePackage.getString(), "version", null, 1, 1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChart_Type(), theXMLTypePackage.getString(), "type", null, 1, 1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChart_SubType(), theXMLTypePackage.getString(), "subType", null, 1, 1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getChart_Description(), theAttributePackage.getText(), null, "description", null, 0, 1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getChart_Block(), theLayoutPackage.getBlock(), null, "block", null, 1, 1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChart_Dimension(), theAttributePackage.getChartDimension(), "dimension", "Two_Dimensional", 1, 1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChart_Script(), theXMLTypePackage.getString(), "script", null, 1, 1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChart_Units(), theXMLTypePackage.getString(), "units", null, 0, 1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChart_SeriesThickness(), theAttributePackage.getPercentage(), "seriesThickness", null, 0, 1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getChart_SeriesHints(), theAttributePackage.getSeriesHint(), null, "seriesHints", null, 0, 1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChart_GridColumnCount(), theXMLTypePackage.getInt(), "gridColumnCount", null, 1, 1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getChart_ExtendedProperties(), theAttributePackage.getExtendedProperty(), null, "extendedProperties", null, 1, -1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getChart_SampleData(), theDataPackage.getSampleData(), null, "sampleData", null, 0, 1, Chart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(chartWithAxesEClass, ChartWithAxes.class, "ChartWithAxes", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getChartWithAxes_Axes(), theComponentPackage.getAxis(), null, "axes", null, 2, -1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getChartWithAxes_WallFill(), theAttributePackage.getFill(), null, "wallFill", null, 1, 1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getChartWithAxes_FloorFill(), theAttributePackage.getFill(), null, "floorFill", null, 1, 1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChartWithAxes_Orientation(), theAttributePackage.getOrientation(), "orientation", "Horizontal", 1, 1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getChartWithAxes_UnitSpacing(), theAttributePackage.getPercentage(), "unitSpacing", null, 1, 1, ChartWithAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(chartWithoutAxesEClass, ChartWithoutAxes.class, "ChartWithoutAxes", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getChartWithoutAxes_SeriesDefinitions(), theDataPackage.getSeriesDefinition(), null, "seriesDefinitions", null, 1, -1, ChartWithoutAxes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Create resource createResource(eNS_URI); // Create annotations // http:///org/eclipse/emf/ecore/util/ExtendedMetaData createExtendedMetaDataAnnotations(); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/ModelPackageImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/impl/ModelPackageImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
2261,
6323,
1435,
565,
288,
3639,
309,
261,
291,
11459,
13,
327,
31,
3639,
25359,
273,
638,
31,
3639,
368,
9190,
2181,
3639,
6788,
12,
73,
1985,
1769,
3639,
444,
10386,
2244,
12,
73,
3156,
67,
6307,
1769,
3639,
444,
10386,
3098,
12,
73,
3156,
67,
3098,
1769,
3639,
368,
24850,
1308,
10460,
5907,
3639,
3167,
559,
2261,
2828,
326,
4201,
559,
2261,
273,
261,
4201,
559,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
4201,
559,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
3601,
2261,
2828,
326,
1499,
2261,
273,
261,
1499,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
1499,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
9995,
2261,
2828,
326,
3744,
2261,
273,
261,
3744,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
3744,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
1910,
2261,
2828,
326,
751,
2261,
273,
261,
751,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
751,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
5435,
2261,
2828,
326,
1841,
2261,
273,
261,
1841,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
1841,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
368,
1436,
1169,
1051,
989,
358,
3318,
3639,
4980,
1190,
26494,
5720,
18,
588,
41,
8051,
2016,
7675,
1289,
12,
2211,
18,
588,
7984,
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,
4046,
2261,
6323,
1435,
565,
288,
3639,
309,
261,
291,
11459,
13,
327,
31,
3639,
25359,
273,
638,
31,
3639,
368,
9190,
2181,
3639,
6788,
12,
73,
1985,
1769,
3639,
444,
10386,
2244,
12,
73,
3156,
67,
6307,
1769,
3639,
444,
10386,
3098,
12,
73,
3156,
67,
3098,
1769,
3639,
368,
24850,
1308,
10460,
5907,
3639,
3167,
559,
2261,
2828,
326,
4201,
559,
2261,
273,
261,
4201,
559,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
4201,
559,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
3601,
2261,
2828,
326,
1499,
2261,
273,
261,
1499,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
1499,
2
] |
protected void virtualMaterializeItem(TreeItem treeItem) { | private void virtualMaterializeItem(TreeItem treeItem) { | protected void virtualMaterializeItem(TreeItem treeItem) { if (treeItem.getData() != null) { // already materialized return; } if (!(getContentProvider() instanceof ILazyTreeContentProvider)) { return; } ILazyTreeContentProvider lazyTreeContentProvider = (ILazyTreeContentProvider) getContentProvider(); int index; Widget parent = treeItem.getParentItem(); if (parent == null) { parent = treeItem.getParent(); } Object parentElement = parent.getData(); if (parentElement != null) { if (parent instanceof Tree) { index = ((Tree) parent).indexOf(treeItem); } else { index = ((TreeItem) parent).indexOf(treeItem); } lazyTreeContentProvider.updateElement(parentElement, index); } } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/623c80769a41b43f850b1a1b15fd1bb215aa0126/TreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
5024,
49,
31624,
1180,
12,
2471,
1180,
2151,
1180,
13,
288,
202,
202,
430,
261,
3413,
1180,
18,
588,
751,
1435,
480,
446,
13,
288,
1082,
202,
759,
1818,
9390,
1235,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
430,
16051,
12,
588,
1350,
2249,
1435,
1276,
467,
14443,
2471,
1350,
2249,
3719,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
2627,
5038,
2471,
1350,
2249,
7962,
2471,
1350,
2249,
273,
261,
2627,
5038,
2471,
1350,
2249,
13,
5154,
2249,
5621,
202,
202,
474,
770,
31,
202,
202,
4609,
982,
273,
2151,
1180,
18,
588,
3054,
1180,
5621,
202,
202,
430,
261,
2938,
422,
446,
13,
288,
1082,
202,
2938,
273,
2151,
1180,
18,
588,
3054,
5621,
202,
202,
97,
202,
202,
921,
30363,
273,
982,
18,
588,
751,
5621,
202,
202,
430,
261,
2938,
1046,
480,
446,
13,
288,
1082,
202,
430,
261,
2938,
1276,
4902,
13,
288,
9506,
202,
1615,
273,
14015,
2471,
13,
982,
2934,
31806,
12,
3413,
1180,
1769,
1082,
202,
97,
469,
288,
9506,
202,
1615,
273,
14015,
2471,
1180,
13,
982,
2934,
31806,
12,
3413,
1180,
1769,
1082,
202,
97,
1082,
202,
15998,
2471,
1350,
2249,
18,
2725,
1046,
12,
2938,
1046,
16,
770,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
5024,
49,
31624,
1180,
12,
2471,
1180,
2151,
1180,
13,
288,
202,
202,
430,
261,
3413,
1180,
18,
588,
751,
1435,
480,
446,
13,
288,
1082,
202,
759,
1818,
9390,
1235,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
430,
16051,
12,
588,
1350,
2249,
1435,
1276,
467,
14443,
2471,
1350,
2249,
3719,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
2627,
5038,
2471,
1350,
2249,
7962,
2471,
1350,
2249,
273,
261,
2627,
5038,
2471,
1350,
2249,
13,
5154,
2249,
5621,
202,
202,
474,
770,
31,
202,
202,
4609,
982,
273,
2151,
1180,
18,
588,
3054,
1180,
5621,
202,
202,
430,
261,
2938,
422,
446,
13,
288,
1082,
202,
2938,
273,
2151,
2
] |
slashName, | generatedClassName, | private void generateExecute(Context cx) { cfw.startMethod("exec", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;", (short)(ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_FINAL)); final byte ALOAD_CONTEXT = ByteCode.ALOAD_1; final byte ALOAD_SCOPE = ByteCode.ALOAD_2; String slashName = generatedClassName.replace('.', '/'); // to begin a script, call the initScript method cfw.add(ByteCode.ALOAD_0); // load 'this' cfw.add(ALOAD_SCOPE); cfw.add(ALOAD_CONTEXT); cfw.addInvoke(ByteCode.INVOKEVIRTUAL, slashName, "initScript", "(Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Context;" +")V"); cfw.add(ByteCode.ALOAD_0); // load 'this' cfw.add(ALOAD_CONTEXT); cfw.add(ALOAD_SCOPE); cfw.add(ByteCode.DUP); cfw.add(ByteCode.ACONST_NULL); cfw.addInvoke(ByteCode.INVOKEVIRTUAL, slashName, "call", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Scriptable;" +"[Ljava/lang/Object;" +")Ljava/lang/Object;"); cfw.add(ByteCode.ARETURN); // 3 = this + context + scope cfw.stopMethod((short)3, null); } | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/df6e3ed45793449d4d2f8ff32a2c6552165f2303/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
5289,
12,
1042,
9494,
13,
565,
288,
3639,
6080,
91,
18,
1937,
1305,
2932,
4177,
3113,
17311,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
4868,
17311,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
17311,
397,
7923,
21159,
19,
4936,
19,
921,
31,
3113,
17311,
261,
6620,
21433,
797,
812,
2289,
18,
31414,
67,
14939,
4766,
1377,
571,
30614,
2289,
18,
31414,
67,
7263,
1013,
10019,
3639,
727,
1160,
432,
7783,
67,
13181,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
21,
31,
3639,
727,
1160,
432,
7783,
67,
19444,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
22,
31,
3639,
514,
9026,
461,
273,
4374,
3834,
18,
2079,
2668,
1093,
16,
2023,
1769,
3639,
368,
358,
2376,
279,
2728,
16,
745,
326,
1208,
3651,
707,
3639,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
1013,
51,
1880,
67,
20,
1769,
368,
1262,
296,
2211,
11,
3639,
6080,
91,
18,
1289,
12,
1013,
51,
1880,
67,
19444,
1769,
3639,
6080,
91,
18,
1289,
12,
1013,
51,
1880,
67,
13181,
1769,
3639,
6080,
91,
18,
1289,
10969,
12,
3216,
1085,
18,
706,
17691,
41,
26854,
16,
8227,
4374,
3834,
16,
8227,
315,
2738,
3651,
3113,
8227,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
8227,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
4868,
8227,
397,
7923,
58,
8863,
3639,
6080,
91,
18,
1289,
12,
3216,
1085,
18,
1013,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
5289,
12,
1042,
9494,
13,
565,
288,
3639,
6080,
91,
18,
1937,
1305,
2932,
4177,
3113,
17311,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
4868,
17311,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
17311,
397,
7923,
21159,
19,
4936,
19,
921,
31,
3113,
17311,
261,
6620,
21433,
797,
812,
2289,
18,
31414,
67,
14939,
4766,
1377,
571,
30614,
2289,
18,
31414,
67,
7263,
1013,
10019,
3639,
727,
1160,
432,
7783,
67,
13181,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
21,
31,
3639,
727,
1160,
432,
7783,
67,
19444,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
22,
31,
3639,
514,
9026,
461,
273,
4374,
3834,
2
] |
public boolean eIsSet( EStructuralFeature eFeature ) | public boolean eIsSet( int featureID ) | public boolean eIsSet( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case DataPackage.ACTION__TYPE : return isSetType( ); case DataPackage.ACTION__VALUE : return value != null; } return eDynamicIsSet( eFeature ); } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/036e8c78765730b146e5854b9d6c397a296fed86/ActionImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/ActionImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
1910,
2261,
18,
12249,
972,
2399,
294,
9506,
202,
2463,
13532,
559,
12,
11272,
1082,
202,
3593,
1910,
2261,
18,
12249,
972,
4051,
294,
9506,
202,
2463,
460,
480,
446,
31,
202,
202,
97,
202,
202,
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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
1910,
2261,
18,
12249,
972,
2399,
294,
9506,
202,
2463,
13532,
559,
12,
11272,
1082,
202,
3593,
1910,
2261,
18,
12249,
972,
4051,
294,
9506,
202,
2463,
460,
480,
446,
31,
202,
202,
97,
202,
202,
2463,
425,
9791,
15737,
12,
425,
4595,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
this.breakOnReturn = value; | dim.breakOnReturn = value; | public void setBreakOnReturn(boolean value) { this.breakOnReturn = value; } | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/73fd9eb93275e351c71f43b3daa62b337c492a93/Main.java/clean/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
7634,
1398,
990,
12,
6494,
460,
13,
288,
3639,
2464,
18,
8820,
1398,
990,
273,
460,
31,
565,
289,
2,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
7634,
1398,
990,
12,
6494,
460,
13,
288,
3639,
2464,
18,
8820,
1398,
990,
273,
460,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public Collection getStoredTopNodeGroups(User user){ try { return getTopNodeGroupHome().getTopNodeGroups(user); } catch (IDORelationshipException e) { e.printStackTrace(); } return null; } | public Collection getStoredTopNodeGroups(User user) { try { return getTopNodeGroupHome().getTopNodeGroups(user); } catch (IDORelationshipException e) { e.printStackTrace(); } return null; } | public Collection getStoredTopNodeGroups(User user){ try { return getTopNodeGroupHome().getTopNodeGroups(user); } catch (IDORelationshipException e) { e.printStackTrace(); } return null; } | 52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/21dcc2ab672cd5cc52a7f8a072e86fed3aa20ecc/UserBusinessBean.java/buggy/src/java/com/idega/user/business/UserBusinessBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2200,
15818,
72,
3401,
907,
3621,
12,
1299,
729,
15329,
377,
775,
288,
3639,
327,
13729,
907,
1114,
8684,
7675,
588,
3401,
907,
3621,
12,
1355,
1769,
565,
289,
1044,
261,
734,
916,
292,
367,
3261,
503,
425,
13,
288,
3639,
425,
18,
1188,
6332,
5621,
565,
289,
377,
327,
446,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2200,
15818,
72,
3401,
907,
3621,
12,
1299,
729,
15329,
377,
775,
288,
3639,
327,
13729,
907,
1114,
8684,
7675,
588,
3401,
907,
3621,
12,
1355,
1769,
565,
289,
1044,
261,
734,
916,
292,
367,
3261,
503,
425,
13,
288,
3639,
425,
18,
1188,
6332,
5621,
565,
289,
377,
327,
446,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static void addEventParm(Event event, String parmName, String parmValue) { Parms parms = event.getParms(); if (parms == null) { parms = new Parms(); event.setParms(parms); } Parm parm = new Parm(); parm.setParmName(parmName); Value value = new Value(); value.setContent(parmValue); parm.setValue(value); parms.addParm(parm); | public static void addEventParm(Event event, String parmName, int parmValue) { addEventParm(event, parmName, String.valueOf(parmValue)); | public static void addEventParm(Event event, String parmName, String parmValue) { Parms parms = event.getParms(); if (parms == null) { parms = new Parms(); event.setParms(parms); } Parm parm = new Parm(); parm.setParmName(parmName); Value value = new Value(); value.setContent(parmValue); parm.setValue(value); parms.addParm(parm); } | 25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/0d2bf16b00831ddc6436e4079efe28442e2cbef1/MockUtil.java/buggy/src/services/org/opennms/netmgt/mock/MockUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
21781,
27144,
12,
1133,
871,
16,
514,
19924,
461,
16,
514,
19924,
620,
13,
288,
3639,
2280,
959,
17902,
273,
871,
18,
588,
28572,
5621,
3639,
309,
261,
29927,
422,
446,
13,
288,
5411,
17902,
273,
394,
2280,
959,
5621,
5411,
871,
18,
542,
28572,
12,
29927,
1769,
3639,
289,
3639,
2280,
81,
19924,
273,
394,
2280,
81,
5621,
3639,
19924,
18,
542,
27144,
461,
12,
1065,
81,
461,
1769,
3639,
1445,
460,
273,
394,
1445,
5621,
3639,
460,
18,
542,
1350,
12,
1065,
81,
620,
1769,
3639,
19924,
18,
542,
620,
12,
1132,
1769,
3639,
17902,
18,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
21781,
27144,
12,
1133,
871,
16,
514,
19924,
461,
16,
514,
19924,
620,
13,
288,
3639,
2280,
959,
17902,
273,
871,
18,
588,
28572,
5621,
3639,
309,
261,
29927,
422,
446,
13,
288,
5411,
17902,
273,
394,
2280,
959,
5621,
5411,
871,
18,
542,
28572,
12,
29927,
1769,
3639,
289,
3639,
2280,
81,
19924,
273,
394,
2280,
81,
5621,
3639,
19924,
18,
542,
27144,
461,
12,
1065,
81,
461,
1769,
3639,
1445,
460,
273,
394,
1445,
5621,
3639,
460,
18,
542,
1350,
12,
1065,
81,
620,
1769,
3639,
19924,
18,
542,
620,
12,
1132,
1769,
3639,
17902,
18,
1289,
27144,
12,
1065,
81,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (pickMode) gl.glPopName(); | public int createTubesOnEdgesAsDL(IndexedLineSet ils, double rad, double alpha, JOGLRenderer jr, int sig, boolean pickMode, boolean useDisplayLists) { GL gl = jr.globalGL; double[] p1 = new double[4], p2 = new double[4]; p1[3] = p2[3] = 1.0; double[][] oneCurve = null; double[][] crossSection = TubeUtility.octagonalCrossSection; if (jr.openGLState.levelOfDetail == 0.0) crossSection = TubeUtility.diamondCrossSection; int n = ils.getNumEdges(); DataList vertices = ils.getVertexAttributes(Attribute.COORDINATES); if (ils.getNumPoints() <= 1) return -1;// JOGLConfiguration.theLog.log(Level.FINE,"Creating tubes for "+ils.getName()); if (tubeDL == null) { tubeDL = new int[3]; } if (tubeDL[sig+1] == 0) { tubeDL[sig+1] = gl.glGenLists(1); gl.glNewList(tubeDL[sig+1], GL.GL_COMPILE); jr.helper.drawFaces(TubeUtility.urTube[sig+1], smoothShading , alpha ); gl.glEndList(); } int nextDL = -1; if (useDisplayLists) { nextDL = gl.glGenLists(1); gl.glNewList(nextDL, GL.GL_COMPILE); } int k, l; DoubleArray da; double[] mat = new double[16]; for (int i = 0; i<n; ++i) { IntArray ia = ils.getEdgeAttributes(Attribute.INDICES).item(i).toIntArray(); DataList edgec = ils.getEdgeAttributes(Attribute.COLORS); int m = ia.size(); if (pickMode) gl.glPushName(i); if (m == 2 || pickMode) { // probably an IndexedFaceSet DoubleArray edgecolor = null; int clength = 3; if (edgec != null) { edgecolor = edgec.item(i).toDoubleArray(); clength = edgecolor.size(); if (clength == 3) gl.glColor3d(edgecolor.getValueAt(0), edgecolor.getValueAt(1), edgecolor.getValueAt(2)); else gl.glColor4d(edgecolor.getValueAt(0), edgecolor.getValueAt(1), edgecolor.getValueAt(2), edgecolor.getValueAt(3)); } for (int j = 0; j<m-1; ++j) { k = ia.getValueAt(j); da = vertices.item(k).toDoubleArray(); l = da.size(); for (int xx=0; xx<l; ++xx) p1[xx] = da.getValueAt(xx); k = ia.getValueAt(j+1); da = vertices.item(k).toDoubleArray(); l = da.size(); for (int xx=0; xx<l; ++xx) p2[xx] = da.getValueAt(xx); SceneGraphComponent cc = TubeUtility.tubeOneEdge(p1, p2, rad, crossSection, sig); if (pickMode) gl.glPushName(j); gl.glPushMatrix(); gl.glMultTransposeMatrixd(cc.getTransformation().getMatrix(mat)); gl.glCallList(tubeDL[sig+1]); gl.glPopMatrix(); if (pickMode) gl.glPopName(); } } else { // the assumption is that this is a genuine IndexedLineSet (not subclass with faces) oneCurve = IndexedLineSetUtility.extractCurve(oneCurve, ils, i); PolygonalTubeFactory ptf = new PolygonalTubeFactory(oneCurve); ptf.setClosed(false); ptf.setCrossSection(crossSection); ptf.setFrameFieldType(tubeStyle); ptf.setSignature(sig); ptf.setRadius(rad); ptf.update(); IndexedFaceSet tube = ptf.getTube(); if (tube != null) { jr.helper.drawFaces(tube, smoothShading, alpha); } } if (pickMode) gl.glPopName(); } if (pickMode) gl.glPopName(); if (useDisplayLists) gl.glEndList(); return nextDL; } | 25414 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25414/b7e7acfd437fcc628868cf9f41c51ae0951c3a88/DefaultLineShader.java/buggy/src-jogl/de/jreality/jogl/shader/DefaultLineShader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
752,
56,
23317,
1398,
10697,
1463,
8914,
12,
15034,
1670,
694,
277,
3251,
16,
1645,
6719,
16,
225,
1645,
4190,
16,
804,
51,
11261,
6747,
31928,
16,
509,
3553,
16,
1250,
6002,
2309,
16,
1250,
999,
4236,
7432,
13,
202,
95,
202,
202,
11261,
5118,
273,
31928,
18,
6347,
11261,
31,
202,
202,
9056,
8526,
293,
21,
273,
394,
1645,
63,
24,
6487,
1082,
202,
84,
22,
273,
394,
1645,
63,
24,
15533,
202,
202,
84,
21,
63,
23,
65,
273,
293,
22,
63,
23,
65,
273,
404,
18,
20,
31,
202,
202,
9056,
63,
6362,
65,
1245,
9423,
273,
446,
31,
202,
202,
9056,
63,
6362,
65,
6828,
5285,
273,
399,
4895,
6497,
18,
13410,
346,
9528,
13941,
5285,
31,
202,
202,
430,
261,
78,
86,
18,
3190,
11261,
1119,
18,
2815,
951,
6109,
422,
374,
18,
20,
13,
6828,
5285,
273,
399,
4895,
6497,
18,
3211,
301,
1434,
13941,
5285,
31,
202,
202,
474,
290,
273,
277,
3251,
18,
588,
2578,
10697,
5621,
202,
202,
24274,
6928,
273,
277,
3251,
18,
588,
6475,
2498,
12,
1499,
18,
27237,
21329,
1777,
55,
1769,
202,
202,
430,
261,
14573,
18,
588,
2578,
5636,
1435,
1648,
404,
13,
327,
300,
21,
31,
759,
202,
202,
22720,
11261,
1750,
18,
5787,
1343,
18,
1330,
12,
2355,
18,
42,
3740,
10837,
11092,
268,
23317,
364,
13773,
14573,
18,
17994,
10663,
202,
202,
430,
261,
88,
4895,
8914,
422,
446,
13,
202,
95,
1082,
202,
88,
4895,
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,
509,
752,
56,
23317,
1398,
10697,
1463,
8914,
12,
15034,
1670,
694,
277,
3251,
16,
1645,
6719,
16,
225,
1645,
4190,
16,
804,
51,
11261,
6747,
31928,
16,
509,
3553,
16,
1250,
6002,
2309,
16,
1250,
999,
4236,
7432,
13,
202,
95,
202,
202,
11261,
5118,
273,
31928,
18,
6347,
11261,
31,
202,
202,
9056,
8526,
293,
21,
273,
394,
1645,
63,
24,
6487,
1082,
202,
84,
22,
273,
394,
1645,
63,
24,
15533,
202,
202,
84,
21,
63,
23,
65,
273,
293,
22,
63,
23,
65,
273,
404,
18,
20,
31,
202,
202,
9056,
63,
6362,
65,
1245,
9423,
273,
446,
31,
202,
202,
9056,
63,
6362,
65,
6828,
5285,
273,
399,
4895,
6497,
18,
2
] | |
} | } | public String getmessage () { return res.message; } | 46029 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46029/289f87d5ff3a4ebcafe98543ad52c37a38709f1e/ResponseBean.java/clean/src/helma/framework/ResponseBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
2150,
1832,
288,
202,
2463,
400,
18,
2150,
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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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return (mapping.findForward(null)); | return (mapping.findForward("error")); | public ActionForward perform( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { // Identify the request parameter containing the method name // If none defined, use "def" String parameter = mapping.getParameter(); if (parameter == null) { parameter = "def"; } // Identify the method name to be dispatched to String name = request.getParameter(parameter); if (name == null) { String msg = "Definition dispatcher action : can't get parameter '" + parameter + "'."; printError( response, msg ); return (null); } // Try to dispatch to requested definition try { // Read definition from factory, but we can create it here. ComponentDefinition definition = DefinitionsUtil.getDefinition( name, request, getServlet().getServletContext() ); DefinitionsUtil.setActionDefinition( request, definition); } catch( FactoryNotFoundException ex ) { printError( response, "Error - DefinitionDispatcherAction : Can't get definition factory."); return (mapping.findForward(null)); } catch( NoSuchDefinitionException ex ) { printError( response, "Error - DefinitionDispatcherAction : Can't get definition '" + name +"'."); return (mapping.findForward(null)); } catch( DefinitionsFactoryException ex ) { printError( response, "Error - DefinitionDispatcherAction : General error '" + ex.getMessage() +"'."); return (mapping.findForward(null)); } return (mapping.findForward(null)); } | 2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/596a25567b2658e0bffbc3397de7d9043b696735/DefinitionDispatcherAction.java/buggy/contrib/tiles/src/share/org/apache/struts/tiles/actions/DefinitionDispatcherAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
8514,
3073,
12,
4766,
4382,
3233,
2874,
16,
4766,
4382,
1204,
646,
16,
4766,
9984,
590,
16,
4766,
12446,
766,
13,
12900,
1216,
1860,
16,
16517,
565,
288,
3639,
368,
25622,
326,
590,
1569,
4191,
326,
707,
508,
3639,
368,
971,
6555,
2553,
16,
999,
315,
536,
6,
3639,
514,
1569,
273,
2874,
18,
588,
1662,
5621,
3639,
309,
261,
6775,
422,
446,
13,
288,
1850,
1569,
273,
315,
536,
14432,
3639,
289,
3639,
368,
25622,
326,
707,
508,
358,
506,
25513,
358,
3639,
514,
508,
273,
590,
18,
588,
1662,
12,
6775,
1769,
3639,
309,
261,
529,
422,
446,
13,
1850,
288,
1850,
514,
1234,
273,
315,
1852,
7393,
1301,
294,
848,
1404,
336,
1569,
2119,
21821,
397,
1569,
397,
30156,
31,
1850,
1172,
668,
12,
766,
16,
1234,
11272,
1850,
327,
261,
2011,
1769,
1850,
289,
3639,
368,
6161,
358,
3435,
358,
3764,
2379,
1377,
775,
3639,
288,
1850,
368,
2720,
2379,
628,
3272,
16,
1496,
732,
848,
752,
518,
2674,
18,
3639,
5435,
1852,
2379,
273,
10849,
87,
1304,
18,
588,
1852,
12,
508,
16,
590,
16,
19136,
7675,
588,
4745,
1042,
1435,
11272,
3639,
10849,
87,
1304,
18,
542,
1803,
1852,
12,
590,
16,
2379,
1769,
3639,
289,
4202,
1044,
12,
7822,
3990,
431,
262,
3639,
288,
3639,
1172,
668,
12,
766,
16,
315,
668,
300,
10849,
6681,
1803,
294,
4480,
1404,
336,
2379,
3272,
1199,
1769,
3639,
327,
261,
6770,
18,
4720,
8514,
2932,
1636,
7923,
1769,
3639,
289,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
8514,
3073,
12,
4766,
4382,
3233,
2874,
16,
4766,
4382,
1204,
646,
16,
4766,
9984,
590,
16,
4766,
12446,
766,
13,
12900,
1216,
1860,
16,
16517,
565,
288,
3639,
368,
25622,
326,
590,
1569,
4191,
326,
707,
508,
3639,
368,
971,
6555,
2553,
16,
999,
315,
536,
6,
3639,
514,
1569,
273,
2874,
18,
588,
1662,
5621,
3639,
309,
261,
6775,
422,
446,
13,
288,
1850,
1569,
273,
315,
536,
14432,
3639,
289,
3639,
368,
25622,
326,
707,
508,
358,
506,
25513,
358,
3639,
514,
508,
273,
590,
18,
588,
1662,
12,
6775,
1769,
3639,
309,
261,
529,
422,
446,
13,
1850,
288,
1850,
514,
1234,
273,
315,
1852,
7393,
1301,
294,
848,
1404,
336,
1569,
2
] |
SimpleListValidator validator = SimpleListValidator.getInstance( ); triggerDefn = new SemanticTriggerDefn( SimpleListValidator.NAME ); | SimpleListValidator validator = SimpleListValidator .getInstance( ); triggerDefn = new SemanticTriggerDefn( SimpleListValidator.NAME ); | void build( ) throws MetaDataException { // Ensure we can find the property type. if ( getType( ) == null ) throw new MetaDataException( new String[]{name}, MetaDataException.DESIGN_EXCEPTION_PROP_TYPE_ERROR ); displayNameID = StringUtil.trimString( displayNameID ); // Perform type-specific initialization. switch ( getTypeCode( ) ) { case PropertyType.CHOICE_TYPE : // Build the set of choices. The list is required if this // property // is a choice property, and is not allowed otherwise. if ( getChoices( ) == null ) throw new MetaDataException( new String[]{name}, MetaDataException.DESIGN_EXCEPTION_MISSING_PROP_CHOICES ); break; case PropertyType.STRUCT_TYPE : // A structure definition must be provided. if ( details == null ) throw new MetaDataException( new String[]{name, definedBy( ).getName( )}, MetaDataException.DESIGN_EXCEPTION_MISSING_STRUCT_DEFN ); // Look up a string name reference. if ( details instanceof String ) { MetaDataDictionary dd = MetaDataDictionary.getInstance( ); StructureDefn structDefn = (StructureDefn) dd .getStructure( StringUtil .trimString( (String) details ) ); details = structDefn; } if ( isList( ) ) { StructureListValidator validator = StructureListValidator .getInstance( ); SemanticTriggerDefn triggerDefn = new SemanticTriggerDefn( StructureListValidator.NAME ); triggerDefn.setPropertyName( getName( ) ); triggerDefn.setValidator( validator ); getTriggerDefnSet( ).add( triggerDefn ); } else { StructureValidator validator = StructureValidator .getInstance( ); SemanticTriggerDefn triggerDefn = new SemanticTriggerDefn( StructureValidator.NAME ); triggerDefn.setPropertyName( getName( ) ); triggerDefn.setValidator( validator ); getTriggerDefnSet( ).add( triggerDefn ); } break; case PropertyType.ELEMENT_REF_TYPE : buildElementType( ); break; case PropertyType.STRUCT_REF_TYPE : // A structure definition must be provided. if ( details == null ) throw new MetaDataException( new String[]{name}, MetaDataException.DESIGN_EXCEPTION_MISSING_STRUCT_DEFN ); // Look up a string name reference. if ( details instanceof String ) { MetaDataDictionary dd = MetaDataDictionary.getInstance( ); StructureDefn structDefn = (StructureDefn) dd .getStructure( StringUtil .trimString( (String) details ) ); details = structDefn; } // the structure must be defined in the ReportDesign MetaDataDictionary dd = MetaDataDictionary.getInstance( ); IElementDefn report = dd .getElement( ReportDesignConstants.REPORT_DESIGN_ELEMENT ); List properties = report.getProperties( ); boolean isFound = false; for ( int i = 0; i < properties.size( ); i++ ) { IPropertyDefn property = (IPropertyDefn) properties.get( i ); if ( property.getTypeCode( ) == PropertyType.STRUCT_TYPE ) { if ( property.getStructDefn( ) == getStructDefn( ) ) { isFound = true; break; } } } if ( !isFound ) throw new MetaDataException( new String[]{name}, MetaDataException.DESIGN_EXCEPTION_UNREFERENCABLE_STRUCT_DEFN ); SemanticTriggerDefn triggerDefn = new SemanticTriggerDefn( StructureReferenceValidator.NAME ); triggerDefn.setPropertyName( getName( ) ); triggerDefn.setValidator( StructureReferenceValidator .getInstance( ) ); getTriggerDefnSet( ).add( triggerDefn ); break; case PropertyType.LIST_TYPE : // list property must provide the subtype if ( subType == null ) throw new MetaDataException( new String[]{name}, MetaDataException.DESIGN_EXCEPTION_MISSING_SUB_TYPE ); // check the subtype, not all simple types are supported if ( !getSupportedSubTypes( ).contains( subType ) ) throw new MetaDataException( new String[]{name, subType.getName( )}, MetaDataException.DESIGN_EXCEPTION_UNSUPPORTED_SUB_TYPE ); // add the simple list validator // TODO exclude the style property SimpleListValidator validator = SimpleListValidator.getInstance( ); triggerDefn = new SemanticTriggerDefn( SimpleListValidator.NAME ); triggerDefn.setPropertyName( getName( ) ); triggerDefn.setValidator( validator ); getTriggerDefnSet( ).add( triggerDefn ); // sub-type is element, then do some checks for it if ( subType.getTypeCode( ) == PropertyType.ELEMENT_REF_TYPE ) buildElementType( ); break; } if ( isValueRequired( ) ) { SemanticTriggerDefn triggerDefn = new SemanticTriggerDefn( ValueRequiredValidator.NAME ); triggerDefn.setPropertyName( getName( ) ); triggerDefn.setValidator( ValueRequiredValidator.getInstance( ) ); getTriggerDefnSet( ).add( triggerDefn ); } if ( getValueType( ) == EXTENSION_MODEL_PROPERTY || getValueType( ) == EXTENSION_PROPERTY ) { SemanticTriggerDefn triggerDefn = new SemanticTriggerDefn( ExtensionValidator.NAME ); triggerDefn.setPropertyName( getName( ) ); triggerDefn.setValidator( ExtensionValidator.getInstance( ) ); getTriggerDefnSet( ).add( triggerDefn ); } if ( getTypeCode( ) != PropertyType.LIST_TYPE && subType != null ) { // only when the type is list, the subtype is set throw new MetaDataException( new String[]{name}, MetaDataException.DESIGN_EXCEPTION_SUB_TYPE_FORBIDDEN ); } if ( getTypeCode( ) != PropertyType.STRUCT_TYPE && isList == true ) { // only support list of structures. throw new MetaDataException( new String[]{getType( ).getName( )}, MetaDataException.DESIGN_EXCEPTION_INVALID_LIST_TYPE ); } // if the property has a defalut value, validate it again. At this time, // it will be validated against the allowed choices. if ( defaultValue != null ) { try { validateXml( null, defaultValue.toString( ) ); } catch ( PropertyValueException e ) { throw new MetaDataException( new String[]{name, defaultValue.toString( )}, MetaDataException.DESIGN_EXCEPTION_INVALID_DEFAULT_VALUE ); } } // ensure that the validator is defined in the dictionary. if ( valueValidator != null ) { MetaDataDictionary dict = MetaDataDictionary.getInstance( ); if ( dict.getValueValidator( valueValidator ) == null ) throw new MetaDataException( new String[]{valueValidator, name}, MetaDataException.DESIGN_EXCEPTION_VALIDATOR_NOT_FOUND ); } getTriggerDefnSet( ).build( ); // default unit check if ( getTypeCode( ) == PropertyType.DIMENSION_TYPE || ( getTypeCode( ) == PropertyType.LIST_TYPE && subType .getTypeCode( ) == PropertyType.DIMENSION_TYPE ) ) { String defaultUnit = getDefaultUnit( ); if ( !StringUtil.isBlank( defaultUnit ) ) { IChoiceSet units = getAllowedChoices( ); IChoice choice = units.findChoice( defaultUnit ); if ( choice == null ) { setDefaultUnit( DimensionValue.DEFAULT_UNIT ); throw new MetaDataException( new String[]{getName( ), defaultUnit}, MetaDataException.DESIGN_EXCEPTION_INVALID_UNIT ); } } } } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e7114ad5bbd4556bfe90ad8fef8d73f7007b3bbf/PropertyDefn.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/PropertyDefn.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
1361,
12,
262,
1216,
6565,
22480,
202,
95,
202,
202,
759,
7693,
732,
848,
1104,
326,
1272,
618,
18,
202,
202,
430,
261,
3130,
12,
262,
422,
446,
262,
1082,
202,
12849,
394,
6565,
22480,
12,
394,
514,
63,
7073,
529,
5779,
6862,
202,
6998,
503,
18,
1639,
11260,
67,
12658,
67,
15811,
67,
2399,
67,
3589,
11272,
202,
202,
5417,
461,
734,
273,
14205,
18,
5290,
780,
12,
16218,
734,
11272,
202,
202,
759,
11217,
618,
17,
12524,
10313,
18,
202,
202,
9610,
261,
3130,
1085,
12,
262,
262,
202,
202,
95,
1082,
202,
3593,
22983,
18,
22213,
11774,
67,
2399,
294,
9506,
202,
759,
3998,
326,
444,
434,
7246,
18,
1021,
666,
353,
1931,
309,
333,
9506,
202,
759,
1272,
9506,
202,
759,
353,
279,
6023,
1272,
16,
471,
353,
486,
2935,
3541,
18,
9506,
202,
430,
261,
336,
17442,
12,
262,
422,
446,
262,
6862,
202,
12849,
394,
6565,
22480,
12,
6862,
1082,
202,
2704,
514,
63,
7073,
529,
5779,
6862,
1082,
202,
6998,
503,
18,
1639,
11260,
67,
12658,
67,
19466,
67,
15811,
67,
22213,
11774,
55,
11272,
9506,
202,
8820,
31,
1082,
202,
3593,
22983,
18,
13915,
67,
2399,
294,
9506,
202,
759,
432,
3695,
2379,
1297,
506,
2112,
18,
9506,
202,
430,
261,
3189,
422,
446,
262,
6862,
202,
12849,
394,
6565,
22480,
12,
6862,
1082,
202,
2704,
514,
63,
7073,
529,
16,
2553,
858,
12,
262,
18,
17994,
12,
262,
5779,
6862,
1082,
202,
6998,
503,
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,
6459,
1361,
12,
262,
1216,
6565,
22480,
202,
95,
202,
202,
759,
7693,
732,
848,
1104,
326,
1272,
618,
18,
202,
202,
430,
261,
3130,
12,
262,
422,
446,
262,
1082,
202,
12849,
394,
6565,
22480,
12,
394,
514,
63,
7073,
529,
5779,
6862,
202,
6998,
503,
18,
1639,
11260,
67,
12658,
67,
15811,
67,
2399,
67,
3589,
11272,
202,
202,
5417,
461,
734,
273,
14205,
18,
5290,
780,
12,
16218,
734,
11272,
202,
202,
759,
11217,
618,
17,
12524,
10313,
18,
202,
202,
9610,
261,
3130,
1085,
12,
262,
262,
202,
202,
95,
1082,
202,
3593,
22983,
18,
22213,
11774,
67,
2399,
294,
9506,
202,
759,
3998,
326,
444,
434,
7246,
18,
1021,
666,
353,
1931,
2
] |
public boolean isGreaterThanOrEqual( final DeweyDecimal other ) { final int max = Math.max( other.m_components.length, m_components.length ); for( int i = 0; i < max; i++ ) { final int component1 = ( i < m_components.length ) ? m_components[ i ] : 0; final int component2 = ( i < other.m_components.length ) ? other.m_components[ i ] : 0; if( component2 > component1 ) { return false; } if( component2 < component1 ) { return true; } } return true; // Exact match } | 2044 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2044/e622ff134f94da7c133006a05d0aab68115a1013/DeweyDecimal.java/clean/scm/loom/support/extension/src/java/org/realityforge/extension/DeweyDecimal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6494,
291,
28130,
22376,
12,
6385,
40,
359,
402,
5749,
3011,
15329,
6385,
474,
1896,
33,
10477,
18,
1896,
12,
3011,
18,
81,
67,
8119,
18,
2469,
16,
81,
67,
8119,
18,
2469,
1769,
1884,
12,
474,
77,
33,
20,
31,
77,
32,
1896,
31,
77,
27245,
95,
6385,
474,
4652,
21,
28657,
77,
32,
81,
67,
8119,
18,
2469,
9945,
81,
67,
8119,
63,
77,
14542,
20,
31,
6385,
474,
4652,
22,
28657,
77,
32,
3011,
18,
81,
67,
8119,
18,
2469,
9945,
3011,
18,
81,
67,
8119,
63,
77,
14542,
20,
31,
430,
12,
4652,
22,
34,
4652,
21,
15329,
2463,
5743,
31,
97,
430,
12,
4652,
22,
32,
4652,
21,
15329,
2463,
3767,
31,
9090,
2463,
3767,
31,
759,
14332,
1916,
97,
2,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6494,
291,
28130,
22376,
12,
6385,
40,
359,
402,
5749,
3011,
15329,
6385,
474,
1896,
33,
10477,
18,
1896,
12,
3011,
18,
81,
67,
8119,
18,
2469,
16,
81,
67,
8119,
18,
2469,
1769,
1884,
12,
474,
77,
33,
20,
31,
77,
32,
1896,
31,
77,
27245,
95,
6385,
474,
4652,
21,
28657,
77,
32,
81,
67,
8119,
18,
2469,
9945,
81,
67,
8119,
63,
77,
14542,
20,
31,
6385,
474,
4652,
22,
28657,
77,
32,
3011,
18,
81,
67,
8119,
18,
2469,
9945,
3011,
18,
81,
67,
8119,
63,
77,
14542,
20,
31,
430,
12,
4652,
22,
34,
4652,
21,
15329,
2463,
5743,
31,
97,
430,
12,
4652,
22,
32,
4652,
21,
15329,
2463,
3767,
31,
9090,
2
] | ||
char c; boolean negate = false; int i = 0; if (len > 0 && (c = str.charAt(0)) == '-') { negate = true; i = 1; } if (len > 0 && '0' <= (c = str.charAt(i)) && c <= '9' && len <= MAX_VALUE_LENGTH) { int index = c - '0'; int oldIndex = 0; i++; if (index != 0) { while (i < len && '0' <= (c = str.charAt(i)) && c <= '9') { oldIndex = index; index = 10*index + (c - '0'); i++; } | if (len > 0) { int i = 0; boolean negate = false; int c = str.charAt(0); if (c == '-') { if (len > 1) { c = str.charAt(1); i = 1; negate = true; } | private static int indexFromString(String str) { /* It must be a string. */ int len = str.length(); char c; boolean negate = false; int i = 0; if (len > 0 && (c = str.charAt(0)) == '-') { negate = true; i = 1; } if (len > 0 && '0' <= (c = str.charAt(i)) && c <= '9' && len <= MAX_VALUE_LENGTH) { int index = c - '0'; int oldIndex = 0; i++; if (index != 0) { while (i < len && '0' <= (c = str.charAt(i)) && c <= '9') { oldIndex = index; index = 10*index + (c - '0'); i++; } } /* Make sure all characters were consumed and that it couldn't * have overflowed. */ if (i == len && (oldIndex < (Integer.MAX_VALUE / 10) || (oldIndex == (Integer.MAX_VALUE / 10) && c < (Integer.MAX_VALUE % 10)))) { return negate ? -index : index; } } return NO_INDEX; } | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/5e0b2ebaed49fc9dc92fb0127fd9256424173c6e/ScriptRuntime.java/clean/js/rhino/org/mozilla/javascript/ScriptRuntime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
509,
770,
9193,
12,
780,
609,
13,
288,
3639,
1748,
2597,
1297,
506,
279,
533,
18,
1195,
3639,
509,
562,
273,
609,
18,
2469,
5621,
3639,
1149,
276,
31,
3639,
1250,
15626,
273,
629,
31,
3639,
509,
277,
273,
374,
31,
3639,
309,
261,
1897,
405,
374,
597,
261,
71,
273,
609,
18,
3001,
861,
12,
20,
3719,
422,
4014,
13,
288,
5411,
15626,
273,
638,
31,
5411,
277,
273,
404,
31,
3639,
289,
3639,
309,
261,
1897,
405,
374,
597,
296,
20,
11,
1648,
261,
71,
273,
609,
18,
3001,
861,
12,
77,
3719,
597,
276,
1648,
296,
29,
11,
597,
5411,
562,
1648,
4552,
67,
4051,
67,
7096,
13,
3639,
288,
377,
202,
565,
509,
770,
273,
276,
300,
296,
20,
13506,
5411,
509,
1592,
1016,
273,
374,
31,
5411,
277,
9904,
31,
5411,
309,
261,
1615,
480,
374,
13,
288,
7734,
1323,
261,
77,
411,
562,
597,
296,
20,
11,
1648,
261,
71,
273,
609,
18,
3001,
861,
12,
77,
3719,
597,
276,
1648,
296,
29,
6134,
288,
10792,
1592,
1016,
273,
770,
31,
10792,
770,
273,
1728,
14,
1615,
397,
261,
71,
300,
296,
20,
8284,
377,
202,
5411,
277,
9904,
31,
377,
202,
3639,
289,
5411,
289,
5411,
1748,
4344,
3071,
777,
3949,
4591,
12393,
471,
716,
518,
17991,
1404,
2398,
380,
1240,
9391,
329,
18,
2398,
1195,
5411,
309,
261,
77,
422,
562,
597,
7734,
261,
1673,
1016,
411,
261,
4522,
18,
6694,
67,
4051,
342,
1728,
13,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
509,
770,
9193,
12,
780,
609,
13,
288,
3639,
1748,
2597,
1297,
506,
279,
533,
18,
1195,
3639,
509,
562,
273,
609,
18,
2469,
5621,
3639,
1149,
276,
31,
3639,
1250,
15626,
273,
629,
31,
3639,
509,
277,
273,
374,
31,
3639,
309,
261,
1897,
405,
374,
597,
261,
71,
273,
609,
18,
3001,
861,
12,
20,
3719,
422,
4014,
13,
288,
5411,
15626,
273,
638,
31,
5411,
277,
273,
404,
31,
3639,
289,
3639,
309,
261,
1897,
405,
374,
597,
296,
20,
11,
1648,
261,
71,
273,
609,
18,
3001,
861,
12,
77,
3719,
597,
276,
1648,
296,
29,
11,
597,
5411,
562,
1648,
4552,
67,
4051,
67,
7096,
13,
3639,
288,
377,
202,
565,
2
] |
public Value computeValue(CSSStylableElement elt, CSSEngine engine, int idx, Value value) { if (value.getCssValueType() == CSSValue.CSS_PRIMITIVE_VALUE) { switch (value.getPrimitiveType()) { case CSSPrimitiveValue.CSS_NUMBER: case CSSPrimitiveValue.CSS_PX: return value; | public Value computeValue( CSSStylableElement elt, CSSEngine engine, int idx, Value value ) { if ( value.getCssValueType( ) == CSSValue.CSS_PRIMITIVE_VALUE ) { switch ( value.getPrimitiveType( ) ) { case CSSPrimitiveValue.CSS_NUMBER : return value; | public Value computeValue(CSSStylableElement elt, CSSEngine engine, int idx, Value value) { if (value.getCssValueType() == CSSValue.CSS_PRIMITIVE_VALUE) { switch (value.getPrimitiveType()) { case CSSPrimitiveValue.CSS_NUMBER: case CSSPrimitiveValue.CSS_PX: return value; case CSSPrimitiveValue.CSS_MM: CSSContext ctx = engine.getCSSContext(); float v = value.getFloatValue(); return new FloatValue(CSSPrimitiveValue.CSS_NUMBER, v / ctx.getPixelUnitToMillimeter()); case CSSPrimitiveValue.CSS_CM: ctx = engine.getCSSContext(); v = value.getFloatValue(); return new FloatValue(CSSPrimitiveValue.CSS_NUMBER, v * 10f / ctx.getPixelUnitToMillimeter()); case CSSPrimitiveValue.CSS_IN: ctx = engine.getCSSContext(); v = value.getFloatValue(); return new FloatValue(CSSPrimitiveValue.CSS_NUMBER, v * 25.4f / ctx.getPixelUnitToMillimeter()); case CSSPrimitiveValue.CSS_PT: ctx = engine.getCSSContext(); v = value.getFloatValue(); return new FloatValue(CSSPrimitiveValue.CSS_NUMBER, v * 25.4f / (72f * ctx.getPixelUnitToMillimeter())); case CSSPrimitiveValue.CSS_PC: ctx = engine.getCSSContext(); v = value.getFloatValue(); return new FloatValue(CSSPrimitiveValue.CSS_NUMBER, (v * 25.4f / (6f * ctx.getPixelUnitToMillimeter()))); case CSSPrimitiveValue.CSS_EMS: v = value.getFloatValue(); Value fontSize = (Value)elt.getComputedStyle().getProperty( IStyle.STYLE_FONT_SIZE); float fs = fontSize.getFloatValue(); return new FloatValue(CSSPrimitiveValue.CSS_NUMBER, v * fs); case CSSPrimitiveValue.CSS_EXS: v = value.getFloatValue(); fontSize = (Value)elt.getComputedStyle().getProperty( IStyle.STYLE_FONT_SIZE); fs = fontSize.getFloatValue(); return new FloatValue(CSSPrimitiveValue.CSS_NUMBER, v * fs * 0.5f); } } return value; } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/c71489f80df3e518aa58c4898c221867ba32d699/AbstractLengthManager.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/css/engine/value/AbstractLengthManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1445,
3671,
620,
12,
10276,
24273,
80,
429,
1046,
11572,
16,
6765,
4410,
4073,
16,
1082,
202,
474,
2067,
16,
1445,
460,
13,
288,
202,
202,
430,
261,
1132,
18,
588,
7359,
17930,
1435,
422,
6765,
620,
18,
10276,
67,
7698,
6068,
5354,
67,
4051,
13,
288,
1082,
202,
9610,
261,
1132,
18,
588,
9840,
559,
10756,
288,
1082,
202,
3593,
6765,
9840,
620,
18,
10276,
67,
9931,
30,
1082,
202,
3593,
6765,
9840,
620,
18,
10276,
67,
52,
60,
30,
9506,
202,
2463,
460,
31,
1082,
202,
3593,
6765,
9840,
620,
18,
10276,
67,
8206,
30,
9506,
202,
10276,
1042,
1103,
273,
4073,
18,
588,
10276,
1042,
5621,
9506,
202,
5659,
331,
273,
460,
18,
588,
4723,
620,
5621,
9506,
202,
2463,
394,
5450,
620,
12,
10276,
9840,
620,
18,
10276,
67,
9931,
16,
331,
25083,
202,
19,
1103,
18,
588,
9037,
2802,
774,
49,
737,
28051,
10663,
1082,
202,
3593,
6765,
9840,
620,
18,
10276,
67,
9611,
30,
9506,
202,
5900,
273,
4073,
18,
588,
10276,
1042,
5621,
9506,
202,
90,
273,
460,
18,
588,
4723,
620,
5621,
9506,
202,
2463,
394,
5450,
620,
12,
10276,
9840,
620,
18,
10276,
67,
9931,
16,
331,
380,
1728,
74,
25083,
202,
19,
1103,
18,
588,
9037,
2802,
774,
49,
737,
28051,
10663,
1082,
202,
3593,
6765,
9840,
620,
18,
10276,
67,
706,
30,
9506,
202,
5900,
273,
4073,
18,
588,
10276,
1042,
5621,
9506,
202,
90,
273,
460,
18,
588,
4723,
620,
5621,
9506,
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,
1445,
3671,
620,
12,
10276,
24273,
80,
429,
1046,
11572,
16,
6765,
4410,
4073,
16,
1082,
202,
474,
2067,
16,
1445,
460,
13,
288,
202,
202,
430,
261,
1132,
18,
588,
7359,
17930,
1435,
422,
6765,
620,
18,
10276,
67,
7698,
6068,
5354,
67,
4051,
13,
288,
1082,
202,
9610,
261,
1132,
18,
588,
9840,
559,
10756,
288,
1082,
202,
3593,
6765,
9840,
620,
18,
10276,
67,
9931,
30,
1082,
202,
3593,
6765,
9840,
620,
18,
10276,
67,
52,
60,
30,
9506,
202,
2463,
460,
31,
1082,
202,
3593,
6765,
9840,
620,
18,
10276,
67,
8206,
30,
9506,
202,
10276,
1042,
1103,
273,
4073,
18,
588,
10276,
1042,
5621,
9506,
202,
5659,
331,
273,
460,
18,
2
] |
setByte(findParameter(parameterName, false), x); | setByte(findParameter(parameterName, true), x); | public void setByte(String parameterName, byte x) throws SQLException { setByte(findParameter(parameterName, false), x); } | 439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/a595750b4ffbc80e0137cbf23d31dcd87717698e/JtdsCallableStatement.java/clean/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/JtdsCallableStatement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3216,
12,
780,
15524,
16,
1160,
619,
13,
1216,
6483,
288,
3639,
444,
3216,
12,
4720,
1662,
12,
6775,
461,
16,
638,
3631,
619,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3216,
12,
780,
15524,
16,
1160,
619,
13,
1216,
6483,
288,
3639,
444,
3216,
12,
4720,
1662,
12,
6775,
461,
16,
638,
3631,
619,
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
] |
public void addOrder(String order) { if (m_cursor != null) { throw new PersistenceException ("Cannot order an active data query. " + "Data query must be rewound."); } order = unalias(order); if (m_orders.contains(order)) { throw new IllegalArgumentException ("already ordered by expr: " + order); } m_orders.add(order); // XXX: ascending } | 12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/f4e268981575a60399b9094f10361d0e2f25927b/DataQueryImpl.java/buggy/archive/qgen/src/com/arsdigita/persistence/DataQueryImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
1289,
2448,
12,
780,
1019,
15329,
430,
12,
81,
67,
9216,
5,
33,
2011,
15329,
12849,
2704,
13182,
503,
2932,
4515,
1019,
304,
621,
2950,
396,
2271,
1199,
9078,
751,
2271,
11926,
744,
359,
772,
1199,
1769,
97,
1019,
33,
318,
4930,
12,
1019,
1769,
430,
12,
81,
67,
9972,
18,
12298,
12,
1019,
3719,
95,
12849,
2704,
31237,
2932,
17583,
9885,
1637,
8638,
2773,
15,
1019,
1769,
97,
81,
67,
9972,
18,
1289,
12,
1019,
1769,
759,
15639,
30,
3691,
2846,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
1289,
2448,
12,
780,
1019,
15329,
430,
12,
81,
67,
9216,
5,
33,
2011,
15329,
12849,
2704,
13182,
503,
2932,
4515,
1019,
304,
621,
2950,
396,
2271,
1199,
9078,
751,
2271,
11926,
744,
359,
772,
1199,
1769,
97,
1019,
33,
318,
4930,
12,
1019,
1769,
430,
12,
81,
67,
9972,
18,
12298,
12,
1019,
3719,
95,
12849,
2704,
31237,
2932,
17583,
9885,
1637,
8638,
2773,
15,
1019,
1769,
97,
81,
67,
9972,
18,
1289,
12,
1019,
1769,
759,
15639,
30,
3691,
2846,
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
] | ||
public static DoorLocation getDoorLocation(int areaX, int areaY, int num) | public static DoorLocation getDoorLocation(int areaNum, int num) | public static DoorLocation getDoorLocation(int areaX, int areaY, int num) { return getDoorLocation(areaX + (areaY * MapEditor.widthInSectors), num); } | 3699 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3699/0e27106ea86a9771296d74038eeef80e390833b8/MapEditor.java/buggy/src/net/starmen/pkhack/eb/MapEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
760,
2256,
280,
2735,
11165,
280,
2735,
12,
474,
5091,
2578,
16,
509,
818,
13,
3639,
288,
540,
202,
2463,
11165,
280,
2735,
12,
5036,
60,
397,
261,
5036,
61,
380,
1635,
6946,
18,
2819,
382,
55,
18886,
3631,
818,
1769,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
760,
2256,
280,
2735,
11165,
280,
2735,
12,
474,
5091,
2578,
16,
509,
818,
13,
3639,
288,
540,
202,
2463,
11165,
280,
2735,
12,
5036,
60,
397,
261,
5036,
61,
380,
1635,
6946,
18,
2819,
382,
55,
18886,
3631,
818,
1769,
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
] |
private VirusScannerResult scanPart(MIMEPart part) {/* //Fake scanning (for test) if(System.currentTimeMillis() > 0) { if(part.isAttachment()) { String fileName = part.getAttachmentName(); m_logger.debug("Part filename \"" + fileName + "\""); if(fileName != null && fileName.startsWith("virus")) { m_logger.debug("Pretend part has virus"); return new VirusScannerResult(false, "MyFakeVirus", false); } else { m_logger.debug("Pretend part does not have virus"); } } else { m_logger.debug("Pretend part does not have virus"); } return new VirusScannerResult(true, null, false); }*/ //Get the part as a file File f = null; try { f = part.getContentAsFile(m_fileFactory, true); } catch(Exception ex) { m_logger.error("Exception writing MIME part to file", ex); return null; } //Call VirusScanner try { VirusScannerResult result = m_virusImpl.getScanner().scanFile(f.getPath()); if(result == null || result == VirusScannerResult.ERROR) { m_logger.error("Received an error scan report. Assume local error" + " and report file clean"); //TODO bscott This is scary return null; } return result; } catch(Exception ex) { //TODO bscott I'd like to preserve this file and include it // in some type of "report". m_logger.error("Exception scanning MIME part in file \"" + f.getAbsolutePath() + "\"", ex); //No need to delete the file. This will be handled by the MIMEPart itself //through its normal lifecycle return null; } } | 49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/0033ccca439d3936f23e01a896aee46bccd0b8c4/SmtpSessionHandler.java/clean/tran/virus/main/com/metavize/tran/virus/SmtpSessionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
776,
481,
407,
11338,
1253,
4135,
1988,
12,
18178,
1988,
1087,
13,
288,
20308,
565,
368,
25462,
21138,
261,
1884,
1842,
13,
1377,
309,
12,
3163,
18,
2972,
28512,
1435,
405,
374,
13,
288,
1377,
309,
12,
2680,
18,
291,
6803,
10756,
288,
3639,
514,
3968,
273,
1087,
18,
588,
6803,
461,
5621,
3639,
312,
67,
4901,
18,
4148,
2932,
1988,
1544,
11843,
397,
3968,
397,
11143,
1769,
3639,
309,
12,
17812,
480,
446,
597,
3968,
18,
17514,
1190,
2932,
25692,
407,
6,
3719,
288,
1850,
312,
67,
4901,
18,
4148,
2932,
52,
1349,
409,
1087,
711,
16831,
407,
8863,
1850,
327,
394,
776,
481,
407,
11338,
1253,
12,
5743,
16,
315,
12062,
25462,
58,
481,
407,
3113,
629,
1769,
3639,
289,
3639,
469,
288,
1850,
312,
67,
4901,
18,
4148,
2932,
52,
1349,
409,
1087,
1552,
486,
1240,
16831,
407,
8863,
3639,
289,
1377,
289,
1377,
469,
288,
3639,
312,
67,
4901,
18,
4148,
2932,
52,
1349,
409,
1087,
1552,
486,
1240,
16831,
407,
8863,
1377,
289,
1377,
327,
394,
776,
481,
407,
11338,
1253,
12,
3767,
16,
446,
16,
629,
1769,
565,
289,
5549,
3639,
368,
967,
326,
1087,
487,
279,
585,
565,
1387,
284,
273,
446,
31,
565,
775,
288,
1377,
284,
273,
1087,
18,
588,
1350,
1463,
812,
12,
81,
67,
768,
1733,
16,
638,
1769,
565,
289,
565,
1044,
12,
503,
431,
13,
288,
1377,
312,
67,
4901,
18,
1636,
2932,
503,
7410,
13195,
1087,
358,
585,
3113,
431,
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,
776,
481,
407,
11338,
1253,
4135,
1988,
12,
18178,
1988,
1087,
13,
288,
20308,
565,
368,
25462,
21138,
261,
1884,
1842,
13,
1377,
309,
12,
3163,
18,
2972,
28512,
1435,
405,
374,
13,
288,
1377,
309,
12,
2680,
18,
291,
6803,
10756,
288,
3639,
514,
3968,
273,
1087,
18,
588,
6803,
461,
5621,
3639,
312,
67,
4901,
18,
4148,
2932,
1988,
1544,
11843,
397,
3968,
397,
11143,
1769,
3639,
309,
12,
17812,
480,
446,
597,
3968,
18,
17514,
1190,
2932,
25692,
407,
6,
3719,
288,
1850,
312,
67,
4901,
18,
4148,
2932,
52,
1349,
409,
1087,
711,
16831,
407,
8863,
1850,
327,
394,
776,
481,
407,
11338,
1253,
12,
5743,
16,
315,
12062,
25462,
58,
481,
407,
2
] | ||
else if( button.equals( "submit_group_delete" ) ) | else if( submit_group_delete ) | protected void doDSPost(Context c, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { // Find out if there's a group parameter int groupID = UIUtil.getIntParameter(request, "group_id"); Group group = null; if (groupID >= 0) { group = Group.find(c, groupID); } // group is set if (group != null) { // is this user authorized to edit this group? AuthorizeManager.authorizeAction(c, group, Constants.ADD); String button = UIUtil.getSubmitButton(request, "submit"); // just chosen a group to edit - get group and pass it to group-edit.jsp if( button.equals("submit_edit") ) { request.setAttribute("group", group); request.setAttribute("members", group.getMembers()); JSPManager.showJSP(request, response, "/tools/group-edit.jsp" ); } // update the members of the group else if( button.equals("submit_group_update") ) { // first off, did we change the group name? String newName = request.getParameter("group_name"); if( !newName.equals(group.getName()) ) { group.setName( newName ); group.update(); } int [] eperson_ids = UIUtil.getIntParameters(request,"eperson_id"); // now get members, and add new ones and remove missing ones EPerson [] members = group.getMembers(); if( eperson_ids != null ) { for(int x=0; x<eperson_ids.length; x++) { // look for this ID in the EPerson array int foundIndex = -1; for(int y=0; y<members.length; y++) { if((members[y]!=null) && (members[y].getID() == eperson_ids[x])) { foundIndex = y; break; } } if(foundIndex == -1) { // didn't find it, add eperson EPerson e = EPerson.find(c, eperson_ids[x]); group.addMember( e ); } else { // found it, clear entry in members table members[foundIndex] = null; } } // now go through the members array, and any that // weren't set to NULL are no longer members, so remove them for(int y=0; y<members.length; y++) { if(members[y] != null) { group.removeMember(members[y]); } } } else { // no members found (ids == null), remove them all! for(int y=0; y<members.length; y++) { group.removeMember(members[y]); } } group.update(); request.setAttribute("group", group); request.setAttribute("members", group.getMembers()); JSPManager.showJSP(request, response, "/tools/group-edit.jsp" ); c.complete(); } else if( button.equals( "submit_group_delete" ) ) { // bogus authorize, only admins can do this AuthorizeManager.authorizeAction(c, group, Constants.WRITE); // delete group, return to group-list.jsp group.delete(); showMainPage(c, request, response); c.complete(); } else { // unknown action, show edit page request.setAttribute("group", group); request.setAttribute("members", group.getMembers()); JSPManager.showJSP(request, response, "/tools/group-edit.jsp" ); } } else // no group set { // want to add a group - create a blank one, and pass to group_edit.jsp String button = UIUtil.getSubmitButton(request, "submit"); if( button.equals( "submit_add" ) ) { group = Group.create(c); group.setName("new group"+group.getID()); group.update(); request.setAttribute("group", group); request.setAttribute("members", group.getMembers()); JSPManager.showJSP(request, response, "/tools/group-edit.jsp" ); c.complete(); } else { // show the main page (select groups) showMainPage(c, request, response); } } } | 47214 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47214/44d920f6673301feb8b329391378fb326189f9de/GroupEditServlet.java/clean/dspace/src/org/dspace/app/webui/servlet/admin/GroupEditServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
40,
3118,
669,
12,
1042,
276,
16,
10792,
9984,
590,
16,
12446,
766,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
368,
4163,
596,
309,
1915,
1807,
279,
1041,
1569,
3639,
509,
30365,
273,
6484,
1304,
18,
588,
1702,
1662,
12,
2293,
16,
315,
1655,
67,
350,
8863,
3639,
3756,
1041,
273,
446,
31,
3639,
309,
261,
1655,
734,
1545,
374,
13,
3639,
288,
5411,
1041,
273,
3756,
18,
4720,
12,
71,
16,
30365,
1769,
3639,
289,
3639,
368,
1041,
353,
444,
7734,
309,
261,
1655,
480,
446,
13,
3639,
288,
5411,
368,
353,
333,
729,
10799,
358,
3874,
333,
1041,
35,
5411,
23859,
1318,
18,
22488,
1803,
12,
71,
16,
1041,
16,
5245,
18,
8355,
1769,
5411,
514,
3568,
273,
6484,
1304,
18,
588,
11620,
3616,
12,
2293,
16,
315,
9297,
8863,
10792,
368,
2537,
10447,
279,
1041,
358,
3874,
300,
336,
1041,
471,
1342,
518,
358,
1041,
17,
4619,
18,
24926,
5411,
309,
12,
3568,
18,
14963,
2932,
9297,
67,
4619,
7923,
262,
5411,
288,
7734,
590,
18,
542,
1499,
2932,
1655,
3113,
1041,
1769,
7734,
590,
18,
542,
1499,
2932,
7640,
3113,
1041,
18,
588,
6918,
10663,
18701,
804,
3118,
1318,
18,
4500,
46,
3118,
12,
2293,
16,
766,
16,
2206,
6642,
19,
1655,
17,
4619,
18,
24926,
6,
11272,
5411,
289,
5411,
368,
1089,
326,
4833,
434,
326,
1041,
5411,
469,
309,
12,
3568,
18,
14963,
2932,
9297,
67,
1655,
67,
2725,
7923,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
40,
3118,
669,
12,
1042,
276,
16,
10792,
9984,
590,
16,
12446,
766,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
368,
4163,
596,
309,
1915,
1807,
279,
1041,
1569,
3639,
509,
30365,
273,
6484,
1304,
18,
588,
1702,
1662,
12,
2293,
16,
315,
1655,
67,
350,
8863,
3639,
3756,
1041,
273,
446,
31,
3639,
309,
261,
1655,
734,
1545,
374,
13,
3639,
288,
5411,
1041,
273,
3756,
18,
4720,
12,
71,
16,
30365,
1769,
3639,
289,
3639,
368,
1041,
353,
444,
7734,
309,
261,
1655,
480,
446,
13,
3639,
288,
5411,
368,
353,
333,
729,
10799,
358,
3874,
333,
1041,
35,
5411,
23859,
1318,
18,
22488,
1803,
12,
2
] |
gapLine = lastValidLineContext = -1; | gapLine = firstInvalidLineContext = -1; | public void _contentInserted(LongArray endOffsets) { gapLine = lastValidLineContext = -1; gapWidth = 0; lineCount = endOffsets.getSize(); lineInfo = endOffsets.getArray(); if(lineContext == null || lineContext.length <= lineCount) lineContext = new TokenMarker.LineContext[lineCount]; for(int i = 0; i < positionCount; i++) positions[i].offset = 0; } //}}} | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/f2ed2065375a0d8f3fdc17e221b5e9dadbf3e3a3/OffsetManager.java/buggy/org/gjt/sp/jedit/buffer/OffsetManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
389,
1745,
27329,
12,
3708,
1076,
679,
13830,
13,
202,
95,
202,
202,
14048,
1670,
273,
1142,
1556,
1670,
1042,
273,
300,
21,
31,
202,
202,
14048,
2384,
273,
374,
31,
202,
202,
1369,
1380,
273,
679,
13830,
18,
588,
1225,
5621,
202,
202,
1369,
966,
273,
679,
13830,
18,
588,
1076,
5621,
202,
202,
430,
12,
1369,
1042,
422,
446,
747,
980,
1042,
18,
2469,
1648,
980,
1380,
13,
1082,
202,
1369,
1042,
273,
394,
3155,
7078,
18,
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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
389,
1745,
27329,
12,
3708,
1076,
679,
13830,
13,
202,
95,
202,
202,
14048,
1670,
273,
1142,
1556,
1670,
1042,
273,
300,
21,
31,
202,
202,
14048,
2384,
273,
374,
31,
202,
202,
1369,
1380,
273,
679,
13830,
18,
588,
1225,
5621,
202,
202,
1369,
966,
273,
679,
13830,
18,
588,
1076,
5621,
202,
202,
430,
12,
1369,
1042,
422,
446,
747,
980,
1042,
18,
2469,
1648,
980,
1380,
13,
1082,
202,
1369,
1042,
273,
394,
3155,
7078,
18,
1670,
1042,
63,
1369,
1380,
15533,
202,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
1754,
1380,
31,
277,
27245,
1082,
202,
12388,
63,
77,
8009,
3348,
273,
374,
31,
202,
97,
368,
9090,
2
] |
BugzillaReport report = new BugzillaReport(bugid, repository.getUrl()); | RepositoryReport report = new RepositoryReport(bugid, repository.getUrl()); | public void testReadingReport() throws Exception { int bugid = 2; TaskRepository repository = new TaskRepository(BugzillaPlugin.REPOSITORY_KIND, IBugzillaConstants.TEST_BUGZILLA_222_URL); BugzillaReport report = new BugzillaReport(bugid, repository.getUrl()); BugzillaRepositoryUtil.setupExistingBugAttributes(repository.getUrl(), report); factory.populateReport(report, repository.getUrl(), null, repository.getUserName(), repository.getPassword(), null); assertNotNull(report); assertEquals("search-match-test 1", report.getAttribute(BugzillaReportElement.SHORT_DESC).getValue()); assertEquals("TestProduct", report.getAttribute(BugzillaReportElement.PRODUCT).getValue()); assertEquals("PC", report.getAttribute(BugzillaReportElement.REP_PLATFORM).getValue()); assertEquals("Windows", report.getAttribute(BugzillaReportElement.OP_SYS).getValue()); // first comment (#0) is the description so this value is always 1 greater // than what is shown on the report ui assertEquals(2, report.getComments().size()); assertEquals("search-match-test 1", report.getComments().get(0).getAttribute( BugzillaReportElement.THETEXT).getValue());// assertEquals(15, report.getAttachments().size());// assertEquals("1", report.getAttachments().get(0).getAttribute(BugzillaReportElement.ATTACHID).getValue());// assertEquals("2006-03-10 14:11", report.getAttachments().get(0).getAttribute(BugzillaReportElement.DATE)// .getValue());// assertEquals("Testing upload", report.getAttachments().get(0).getAttribute(BugzillaReportElement.DESC)// .getValue());// assertEquals("patch130217.txt", report.getAttachments().get(0).getAttribute(BugzillaReportElement.FILENAME)// .getValue());// assertEquals("text/plain", report.getAttachments().get(0).getAttribute(BugzillaReportElement.TYPE).getValue()); } | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/301e7fdca7d49939faf98d0931834c70f7220b4f/RepositoryReportFactoryTest.java/clean/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/RepositoryReportFactoryTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
15714,
4820,
1435,
1216,
1185,
288,
202,
202,
474,
7934,
350,
273,
576,
31,
202,
202,
2174,
3305,
3352,
273,
394,
3837,
3305,
12,
19865,
15990,
3773,
18,
862,
30986,
67,
47,
2356,
16,
9506,
202,
13450,
637,
15990,
2918,
18,
16961,
67,
4827,
62,
2627,
2534,
67,
28855,
67,
1785,
1769,
202,
202,
19865,
15990,
4820,
2605,
273,
394,
16907,
15990,
4820,
12,
925,
350,
16,
3352,
18,
588,
1489,
10663,
202,
202,
19865,
15990,
3305,
1304,
18,
8401,
9895,
19865,
2498,
12,
9071,
18,
588,
1489,
9334,
2605,
1769,
202,
202,
6848,
18,
19936,
4820,
12,
6006,
16,
3352,
18,
588,
1489,
9334,
446,
16,
3352,
18,
588,
15296,
9334,
3352,
18,
588,
3913,
9334,
446,
1769,
202,
202,
11231,
5962,
12,
6006,
1769,
202,
202,
11231,
8867,
2932,
3072,
17,
1916,
17,
3813,
404,
3113,
2605,
18,
588,
1499,
12,
19865,
15990,
4820,
1046,
18,
15993,
67,
10964,
2934,
24805,
10663,
202,
202,
11231,
8867,
2932,
4709,
4133,
3113,
2605,
18,
588,
1499,
12,
19865,
15990,
4820,
1046,
18,
25883,
2934,
24805,
10663,
202,
202,
11231,
8867,
2932,
3513,
3113,
2605,
18,
588,
1499,
12,
19865,
15990,
4820,
1046,
18,
28879,
67,
6253,
789,
4983,
2934,
24805,
10663,
202,
202,
11231,
8867,
2932,
10399,
3113,
2605,
18,
588,
1499,
12,
19865,
15990,
4820,
1046,
18,
3665,
67,
30664,
2934,
24805,
10663,
202,
202,
759,
1122,
2879,
23885,
20,
13,
353,
326,
2477,
1427,
333,
460,
353,
3712,
404,
6802,
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,
15714,
4820,
1435,
1216,
1185,
288,
202,
202,
474,
7934,
350,
273,
576,
31,
202,
202,
2174,
3305,
3352,
273,
394,
3837,
3305,
12,
19865,
15990,
3773,
18,
862,
30986,
67,
47,
2356,
16,
9506,
202,
13450,
637,
15990,
2918,
18,
16961,
67,
4827,
62,
2627,
2534,
67,
28855,
67,
1785,
1769,
202,
202,
19865,
15990,
4820,
2605,
273,
394,
16907,
15990,
4820,
12,
925,
350,
16,
3352,
18,
588,
1489,
10663,
202,
202,
19865,
15990,
3305,
1304,
18,
8401,
9895,
19865,
2498,
12,
9071,
18,
588,
1489,
9334,
2605,
1769,
202,
202,
6848,
18,
19936,
4820,
12,
6006,
16,
3352,
18,
588,
1489,
9334,
446,
16,
3352,
18,
588,
15296,
9334,
3352,
18,
2
] |
if(ex instanceof DatabaseException && ex.getMessage().indexOf("missing key in the primary database") > -1) { | if((ex instanceof DatabaseException) && (ex.getMessage().indexOf("missing key in the primary database") > -1)) { | private synchronized void checkSecondaryDatabaseError(Throwable ex) { if(ex instanceof DatabaseException && ex.getMessage().indexOf("missing key in the primary database") > -1) { try { fixSecondaryFile.createNewFile(); } catch (IOException e) { Logger.error(this, "Corrupt secondary database but could not create flag file "+fixSecondaryFile); System.err.println("Corrupt secondary database but could not create flag file "+fixSecondaryFile); return; // Not sure what else we can do } Logger.error(this, "Corrupt secondary database. Should be cleaned up on restart."); System.err.println("Corrupt secondary database. Should be cleaned up on restart."); System.exit(freenet.node.Node.EXIT_DATABASE_REQUIRES_RESTART); } } | 8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/BerkeleyDBFreenetStore.java/buggy/src/freenet/store/BerkeleyDBFreenetStore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3852,
918,
866,
14893,
4254,
668,
12,
15155,
431,
13,
288,
377,
202,
430,
12443,
338,
1276,
27215,
13,
597,
261,
338,
18,
24906,
7675,
31806,
2932,
7337,
498,
316,
326,
3354,
2063,
7923,
405,
300,
21,
3719,
288,
377,
202,
202,
698,
288,
9506,
202,
904,
14893,
812,
18,
2640,
1908,
812,
5621,
1082,
202,
97,
1044,
261,
14106,
425,
13,
288,
9506,
202,
3328,
18,
1636,
12,
2211,
16,
315,
22701,
9946,
2063,
1496,
3377,
486,
752,
2982,
585,
13773,
904,
14893,
812,
1769,
9506,
202,
3163,
18,
370,
18,
8222,
2932,
22701,
9946,
2063,
1496,
3377,
486,
752,
2982,
585,
13773,
904,
14893,
812,
1769,
9506,
202,
2463,
31,
368,
2288,
3071,
4121,
469,
732,
848,
741,
1082,
202,
97,
377,
202,
202,
3328,
18,
1636,
12,
2211,
16,
315,
22701,
9946,
2063,
18,
9363,
506,
9426,
731,
603,
7870,
1199,
1769,
377,
202,
202,
3163,
18,
370,
18,
8222,
2932,
22701,
9946,
2063,
18,
9363,
506,
9426,
731,
603,
7870,
1199,
1769,
377,
202,
202,
3163,
18,
8593,
12,
74,
2842,
278,
18,
2159,
18,
907,
18,
28682,
67,
22366,
67,
862,
8627,
7031,
67,
862,
7570,
1769,
377,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
1152,
3852,
918,
866,
14893,
4254,
668,
12,
15155,
431,
13,
288,
377,
202,
430,
12443,
338,
1276,
27215,
13,
597,
261,
338,
18,
24906,
7675,
31806,
2932,
7337,
498,
316,
326,
3354,
2063,
7923,
405,
300,
21,
3719,
288,
377,
202,
202,
698,
288,
9506,
202,
904,
14893,
812,
18,
2640,
1908,
812,
5621,
1082,
202,
97,
1044,
261,
14106,
425,
13,
288,
9506,
202,
3328,
18,
1636,
12,
2211,
16,
315,
22701,
9946,
2063,
1496,
3377,
486,
752,
2982,
585,
13773,
904,
14893,
812,
1769,
9506,
202,
3163,
18,
370,
18,
8222,
2932,
22701,
9946,
2063,
1496,
3377,
486,
752,
2982,
585,
13773,
904,
14893,
812,
1769,
9506,
202,
2463,
31,
368,
2288,
3071,
4121,
2
] |
if ( ( (Integer) right).intValue() == 0 ) | if ( MathUtils.isZero ( (Number)right ) ) | public Object value( InternalContextAdapter context) throws MethodInvocationException { /* * get the two args */ Object left = jjtGetChild(0).value( context ); Object right = jjtGetChild(1).value( context ); /* * if either is null, lets log and bail */ if (left == null || right == null) { rsvc.error( ( left == null ? "Left" : "Right" ) + " side (" + jjtGetChild( (left == null? 0 : 1) ).literal() + ") of division operation has null value." + " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return null; } /* * if not an Integer, not much we can do either */ if ( !( left instanceof Integer ) || !( right instanceof Integer )) { rsvc.error( ( !( left instanceof Integer ) ? "Left" : "Right" ) + " side of division operation is not a valid type. " + "Currently only integers (1,2,3...) and Integer type is supported. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return null; } /* * check for divide by 0 */ if ( ( (Integer) right).intValue() == 0 ) { rsvc.error( "Right side of division operation is zero. Must be non-zero. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return null; } return new Integer( ( (Integer) left ).intValue() / ( (Integer) right ).intValue() ); } | 9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/5b85dc5e122a5bdf3ea90d4f89cebe71413fc26b/ASTDivNode.java/buggy/src/java/org/apache/velocity/runtime/parser/node/ASTDivNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
460,
12,
3186,
1042,
4216,
819,
13,
3639,
1216,
2985,
9267,
503,
565,
288,
3639,
1748,
540,
380,
225,
336,
326,
2795,
833,
540,
1195,
3639,
1033,
2002,
273,
10684,
88,
967,
1763,
12,
20,
2934,
1132,
12,
819,
11272,
3639,
1033,
2145,
273,
10684,
88,
967,
1763,
12,
21,
2934,
1132,
12,
819,
11272,
3639,
1748,
540,
380,
225,
309,
3344,
353,
446,
16,
14557,
613,
471,
18422,
540,
1195,
3639,
309,
261,
4482,
422,
446,
747,
2145,
422,
446,
13,
3639,
288,
5411,
3597,
4227,
18,
1636,
12,
261,
2002,
422,
446,
692,
315,
3910,
6,
294,
315,
4726,
6,
262,
18701,
397,
315,
4889,
7566,
21821,
397,
10684,
88,
967,
1763,
12,
261,
4482,
422,
446,
35,
374,
294,
404,
13,
262,
18,
13107,
1435,
21821,
397,
9369,
434,
16536,
1674,
711,
446,
460,
1199,
21821,
397,
315,
4189,
486,
3323,
18,
315,
21821,
397,
225,
819,
18,
588,
3935,
28917,
1435,
18701,
397,
315,
306,
1369,
315,
397,
9851,
1435,
18701,
397,
3104,
1057,
315,
397,
6716,
1435,
397,
9870,
1769,
5411,
327,
446,
31,
3639,
289,
7734,
1748,
540,
380,
225,
309,
486,
392,
2144,
16,
486,
9816,
732,
848,
741,
3344,
540,
1195,
3639,
309,
261,
401,
12,
2002,
1276,
2144,
262,
225,
747,
401,
12,
2145,
1276,
2144,
8623,
3639,
288,
5411,
3597,
4227,
18,
1636,
12,
261,
401,
12,
2002,
1276,
2144,
262,
692,
315,
3910,
6,
294,
315,
4726,
6,
262,
18701,
397,
315,
4889,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
460,
12,
3186,
1042,
4216,
819,
13,
3639,
1216,
2985,
9267,
503,
565,
288,
3639,
1748,
540,
380,
225,
336,
326,
2795,
833,
540,
1195,
3639,
1033,
2002,
273,
10684,
88,
967,
1763,
12,
20,
2934,
1132,
12,
819,
11272,
3639,
1033,
2145,
273,
10684,
88,
967,
1763,
12,
21,
2934,
1132,
12,
819,
11272,
3639,
1748,
540,
380,
225,
309,
3344,
353,
446,
16,
14557,
613,
471,
18422,
540,
1195,
3639,
309,
261,
4482,
422,
446,
747,
2145,
422,
446,
13,
3639,
288,
5411,
3597,
4227,
18,
1636,
12,
261,
2002,
422,
446,
692,
315,
3910,
6,
294,
315,
4726,
6,
262,
18701,
397,
315,
4889,
7566,
21821,
397,
10684,
88,
967,
1763,
12,
261,
2
] |
return entityLocation != null && entityLocation.getLiteralSystemId() != null; | return isExternal; | public final boolean isExternal() { return entityLocation != null && entityLocation.getLiteralSystemId() != null; } // isExternal():boolean | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/dfbcd98ba9ce48623cb7328b899a58e67489fe9b/XMLEntityManager.java/buggy/src/org/apache/xerces/impl/XMLEntityManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
727,
1250,
353,
6841,
1435,
288,
5411,
327,
353,
6841,
31,
3639,
289,
368,
353,
6841,
13332,
6494,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
727,
1250,
353,
6841,
1435,
288,
5411,
327,
353,
6841,
31,
3639,
289,
368,
353,
6841,
13332,
6494,
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
] |
int[] tileCosts = getTileWorks(true); | int[] tileCosts = getTileWorks(false); | public double placementCost(boolean debug) { int[] tileCosts = getTileWorks(true); double workOfBottleNeckTile = (double)maxTileWork(tileCosts); double cost = workOfBottleNeckTile; //standardDeviation(tileCosts); //+ (COMM_MULTIPLIER * (double)commEstimate(tileCosts)); //int wastedWork = Util.sum(tileCosts) - totalWork; //cost += (double)wastedWork / rawChip.getTotalTiles(); /* if (!isLegalLayout()) cost += ILLEGAL_COST; */ return cost; } | 47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/68e576dc28e313fa38d98d64c202c460342c548f/AnnealedLayout.java/buggy/streams/src/at/dms/kjc/spacetime/AnnealedLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1645,
12607,
8018,
12,
6494,
1198,
13,
288,
6647,
509,
8526,
4769,
21420,
273,
24738,
16663,
12,
5743,
1769,
7734,
1645,
1440,
951,
6522,
5929,
50,
762,
9337,
273,
261,
9056,
13,
1896,
9337,
2421,
12,
15368,
21420,
1769,
7734,
1645,
6991,
273,
1440,
951,
6522,
5929,
50,
762,
9337,
31,
368,
10005,
758,
13243,
12,
15368,
21420,
1769,
5397,
368,
15,
261,
4208,
49,
67,
24683,
2053,
654,
380,
261,
9056,
13,
5702,
13638,
12,
15368,
21420,
10019,
13491,
368,
474,
341,
689,
329,
2421,
273,
3564,
18,
1364,
12,
15368,
21420,
13,
300,
2078,
2421,
31,
7734,
368,
12398,
1011,
261,
9056,
13,
91,
689,
329,
2421,
342,
1831,
782,
625,
18,
588,
5269,
27669,
5621,
5397,
1748,
3639,
309,
16051,
291,
30697,
3744,
10756,
5411,
6991,
1011,
467,
48,
19384,
1013,
67,
28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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1645,
12607,
8018,
12,
6494,
1198,
13,
288,
6647,
509,
8526,
4769,
21420,
273,
24738,
16663,
12,
5743,
1769,
7734,
1645,
1440,
951,
6522,
5929,
50,
762,
9337,
273,
261,
9056,
13,
1896,
9337,
2421,
12,
15368,
21420,
1769,
7734,
1645,
6991,
273,
1440,
951,
6522,
5929,
50,
762,
9337,
31,
368,
10005,
758,
13243,
12,
15368,
21420,
1769,
5397,
368,
15,
261,
4208,
49,
67,
24683,
2053,
654,
380,
261,
9056,
13,
5702,
13638,
12,
15368,
21420,
10019,
13491,
368,
474,
341,
689,
329,
2421,
273,
3564,
18,
1364,
12,
15368,
21420,
13,
300,
2078,
2421,
31,
7734,
368,
12398,
1011,
261,
9056,
13,
91,
689,
329,
2421,
342,
1831,
782,
625,
18,
588,
5269,
27669,
2
] |
public IBinding resolveBinding(IASTName name) throws CoreException { | public PDOMBinding resolveBinding(IASTName name) throws CoreException { | public IBinding resolveBinding(IASTName name) throws CoreException { IASTNode parent = name.getParent(); if (parent instanceof IASTIdExpression) { // reference IASTNode eParent = parent.getParent(); if (eParent instanceof IASTFunctionCallExpression) { FindBinding visitor = new FindBinding(pdom, name.toCharArray(), CFUNCTION); getIndex().accept(visitor); return visitor.pdomBinding; } else { FindBinding visitor = new FindBinding(pdom, name.toCharArray(), CVARIABLE); getIndex().accept(visitor); return visitor.pdomBinding; } } else if (parent instanceof ICASTElaboratedTypeSpecifier) { FindBinding visitor = new FindBinding(pdom, name.toCharArray(), CSTRUCTURE); getIndex().accept(visitor); return visitor.pdomBinding; } return null; } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/f5a4ba1d7638b16bde80c2f1086c78aa03af1f90/PDOMCLinkage.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/c/PDOMCLinkage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
5250,
2245,
5250,
12,
45,
9053,
461,
508,
13,
1216,
30015,
288,
202,
202,
45,
9053,
907,
982,
273,
508,
18,
588,
3054,
5621,
202,
202,
430,
261,
2938,
1276,
467,
9053,
548,
2300,
13,
288,
1082,
202,
759,
2114,
1082,
202,
45,
9053,
907,
425,
3054,
273,
982,
18,
588,
3054,
5621,
1082,
202,
430,
261,
73,
3054,
1276,
467,
9053,
2083,
31895,
13,
288,
9506,
202,
3125,
5250,
8000,
273,
394,
4163,
5250,
12,
84,
9859,
16,
508,
18,
869,
15936,
9334,
6123,
6367,
1769,
9506,
202,
588,
1016,
7675,
9436,
12,
3516,
1811,
1769,
9506,
202,
2463,
8000,
18,
84,
9859,
5250,
31,
1082,
202,
97,
469,
288,
9506,
202,
3125,
5250,
8000,
273,
394,
4163,
5250,
12,
84,
9859,
16,
508,
18,
869,
15936,
9334,
385,
16444,
1769,
9506,
202,
588,
1016,
7675,
9436,
12,
3516,
1811,
1769,
9506,
202,
2463,
8000,
18,
84,
9859,
5250,
31,
1082,
202,
97,
202,
202,
97,
469,
309,
261,
2938,
1276,
467,
21871,
4958,
378,
280,
690,
559,
21416,
13,
288,
1082,
202,
3125,
5250,
8000,
273,
394,
4163,
5250,
12,
84,
9859,
16,
508,
18,
869,
15936,
9334,
385,
13915,
4830,
1769,
1082,
202,
588,
1016,
7675,
9436,
12,
3516,
1811,
1769,
1082,
202,
2463,
8000,
18,
84,
9859,
5250,
31,
202,
202,
97,
202,
202,
2463,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
5250,
2245,
5250,
12,
45,
9053,
461,
508,
13,
1216,
30015,
288,
202,
202,
45,
9053,
907,
982,
273,
508,
18,
588,
3054,
5621,
202,
202,
430,
261,
2938,
1276,
467,
9053,
548,
2300,
13,
288,
1082,
202,
759,
2114,
1082,
202,
45,
9053,
907,
425,
3054,
273,
982,
18,
588,
3054,
5621,
1082,
202,
430,
261,
73,
3054,
1276,
467,
9053,
2083,
31895,
13,
288,
9506,
202,
3125,
5250,
8000,
273,
394,
4163,
5250,
12,
84,
9859,
16,
508,
18,
869,
15936,
9334,
6123,
6367,
1769,
9506,
202,
588,
1016,
7675,
9436,
12,
3516,
1811,
1769,
9506,
202,
2463,
8000,
18,
84,
9859,
5250,
31,
1082,
202,
97,
469,
288,
9506,
202,
3125,
5250,
2
] |
return ruby.fixnumCache[(int) value]; | RubyFixnum newNum = ruby.fixnumCache[(int) value]; if (newNum == null) { newNum = new RubyFixnum(ruby, value); ruby.fixnumCache[(int) value] = newNum; } return newNum; } else { return new RubyFixnum(ruby, value); | public static RubyFixnum newFixnum(Ruby ruby, long value) { // Cache for Fixnums (Performance) if ((value & ~Ruby.FIXNUM_CACHE_MAX) == 0) { return ruby.fixnumCache[(int) value]; } return new RubyFixnum(ruby, value); } | 50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyFixnum.java/buggy/org/jruby/RubyFixnum.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
8585,
2107,
394,
8585,
2107,
12,
54,
10340,
22155,
16,
1525,
460,
13,
288,
3639,
368,
4379,
364,
12139,
21180,
261,
25024,
13,
3639,
309,
14015,
1132,
473,
4871,
54,
10340,
18,
4563,
6069,
67,
8495,
67,
6694,
13,
422,
374,
13,
288,
5411,
19817,
8585,
2107,
394,
2578,
273,
22155,
18,
904,
2107,
1649,
63,
12,
474,
13,
460,
15533,
309,
261,
2704,
2578,
422,
446,
13,
288,
394,
2578,
273,
394,
19817,
8585,
2107,
12,
27768,
16,
460,
1769,
22155,
18,
904,
2107,
1649,
63,
12,
474,
13,
460,
65,
273,
394,
2578,
31,
289,
327,
394,
2578,
31,
289,
469,
288,
327,
394,
19817,
8585,
2107,
12,
27768,
16,
460,
1769,
3639,
289,
3639,
327,
394,
19817,
8585,
2107,
12,
27768,
16,
460,
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,
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,
760,
19817,
8585,
2107,
394,
8585,
2107,
12,
54,
10340,
22155,
16,
1525,
460,
13,
288,
3639,
368,
4379,
364,
12139,
21180,
261,
25024,
13,
3639,
309,
14015,
1132,
473,
4871,
54,
10340,
18,
4563,
6069,
67,
8495,
67,
6694,
13,
422,
374,
13,
288,
5411,
19817,
8585,
2107,
394,
2578,
273,
22155,
18,
904,
2107,
1649,
63,
12,
474,
13,
460,
15533,
309,
261,
2704,
2578,
422,
446,
13,
288,
394,
2578,
273,
394,
19817,
8585,
2107,
12,
27768,
16,
460,
1769,
22155,
18,
904,
2107,
1649,
63,
12,
474,
13,
460,
65,
273,
394,
2578,
31,
289,
327,
394,
2578,
31,
289,
469,
288,
327,
394,
19817,
8585,
2107,
12,
27768,
16,
460,
1769,
3639,
2
] |
if (inputState.guessing==0) { id_AST = (AST)returnAST; } | id_AST = (AST)returnAST; | public final void singleVariable( AST mods, AST t ) throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST singleVariable_AST = null; AST id_AST = null; variableName(); if (inputState.guessing==0) { id_AST = (AST)returnAST; } if ( inputState.guessing==0 ) { singleVariable_AST = (AST)currentAST.root; singleVariable_AST = (AST)astFactory.make( (new ASTArray(4)).add(astFactory.create(VARIABLE_DEF,"VARIABLE_DEF")).add(mods).add((AST)astFactory.make( (new ASTArray(2)).add(astFactory.create(TYPE,"TYPE")).add(t))).add(id_AST)); currentAST.root = singleVariable_AST; currentAST.child = singleVariable_AST!=null &&singleVariable_AST.getFirstChild()!=null ? singleVariable_AST.getFirstChild() : singleVariable_AST; currentAST.advanceChildToEnd(); } returnAST = singleVariable_AST; } | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/5c53aea8416ae7d318cf0157b4690ba71badb0f9/GroovyRecognizer.java/clean/src/main/org/codehaus/groovy/antlr/parser/GroovyRecognizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2202,
3092,
12,
202,
202,
9053,
15546,
16,
9183,
268,
202,
13,
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,
9053,
2202,
3092,
67,
9053,
273,
446,
31,
202,
202,
9053,
612,
67,
9053,
273,
446,
31,
9506,
202,
6105,
461,
5621,
202,
202,
430,
261,
2630,
1119,
18,
20885,
310,
631,
20,
13,
288,
1082,
202,
350,
67,
9053,
273,
261,
9053,
13,
2463,
9053,
31,
202,
202,
97,
202,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
1082,
202,
7526,
3092,
67,
9053,
273,
261,
9053,
13,
2972,
9053,
18,
3085,
31,
1082,
202,
7526,
3092,
67,
9053,
273,
261,
9053,
13,
689,
1733,
18,
6540,
12,
261,
2704,
9183,
1076,
12,
24,
13,
2934,
1289,
12,
689,
1733,
18,
2640,
12,
16444,
67,
12904,
10837,
16444,
67,
12904,
7923,
2934,
1289,
12,
22760,
2934,
1289,
12443,
9053,
13,
689,
1733,
18,
6540,
12,
261,
2704,
9183,
1076,
12,
22,
13,
2934,
1289,
12,
689,
1733,
18,
2640,
12,
2399,
10837,
2399,
7923,
2934,
1289,
12,
88,
3719,
2934,
1289,
12,
350,
67,
9053,
10019,
1082,
202,
2972,
9053,
18,
3085,
273,
2202,
3092,
67,
9053,
31,
1082,
202,
2972,
9053,
18,
3624,
273,
2202,
3092,
67,
9053,
5,
33,
2011,
597,
7526,
3092,
67,
9053,
18,
588,
3759,
1763,
1435,
5,
33,
2011,
692,
9506,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2202,
3092,
12,
202,
202,
9053,
15546,
16,
9183,
268,
202,
13,
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,
9053,
2202,
3092,
67,
9053,
273,
446,
31,
202,
202,
9053,
612,
67,
9053,
273,
446,
31,
9506,
202,
6105,
461,
5621,
202,
202,
430,
261,
2630,
1119,
18,
20885,
310,
631,
20,
13,
288,
1082,
202,
350,
67,
9053,
273,
261,
9053,
13,
2463,
9053,
31,
202,
202,
97,
202,
202,
430,
261,
810,
1119,
18,
20885,
310,
631,
20,
262,
288,
1082,
202,
7526,
3092,
67,
9053,
273,
261,
9053,
13,
2972,
9053,
2
] |
HandleAdapterFactory.getInstance( ).getLibraryHandleAdapter((LibraryHandle)getModel() ) .removePropertyChangeListener( this ); | HandleAdapterFactory.getInstance( ).getLibraryHandleAdapter( (LibraryHandle) getModel( ) ).removePropertyChangeListener( this ); | public void deactivate( ) { HandleAdapterFactory.getInstance( ).getLibraryHandleAdapter((LibraryHandle)getModel() ) .removePropertyChangeListener( this ); super.deactivate( ); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/675aa1d9b8f9ea3b13e46a886ac2b28ab28db622/LibraryReportDesignEditPart.java/clean/UI/org.eclipse.birt.report.designer.ui.lib/src/org/eclipse/birt/report/designer/internal/lib/editparts/LibraryReportDesignEditPart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
18790,
12,
262,
202,
95,
202,
202,
3259,
4216,
1733,
18,
588,
1442,
12,
262,
18,
588,
9313,
3259,
4216,
12443,
9313,
3259,
13,
588,
1488,
1435,
262,
9506,
202,
18,
4479,
1396,
15744,
12,
333,
11272,
202,
202,
9565,
18,
323,
10014,
12,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
9506,
202,
18,
4479,
1396,
15744,
12,
333,
11272,
202,
202,
9565,
18,
323,
10014,
12,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
manualDebugResponseCheckBoxMenuItemActionPerformed(evt); | manualDebugRequestCheckBoxMenuItemActionPerformed(evt); | public void actionPerformed(java.awt.event.ActionEvent evt) { manualDebugResponseCheckBoxMenuItemActionPerformed(evt); } | 31053 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31053/c2ebd3923045ca4b18d412f095eff8297b496973/WebScarab.java/clean/src/org/owasp/webscarab/ui/swing/WebScarab.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
7734,
11297,
2829,
691,
19174,
12958,
19449,
12,
73,
11734,
1769,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
7734,
11297,
2829,
691,
19174,
12958,
19449,
12,
73,
11734,
1769,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
AST tmp1622_AST_in = (AST)_t; | AST tmp1634_AST_in = (AST)_t; | public final void createindexstate(AST _t) throws RecognitionException { AST createindexstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1254 = _t; AST tmp1615_AST_in = (AST)_t; match(_t,CREATE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case UNIQUE: { AST tmp1616_AST_in = (AST)_t; match(_t,UNIQUE); _t = _t.getNextSibling(); break; } case INDEX: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1617_AST_in = (AST)_t; match(_t,INDEX); _t = _t.getNextSibling(); AST tmp1618_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); AST tmp1619_AST_in = (AST)_t; match(_t,ON); _t = _t.getNextSibling(); tbl(_t,CQ.SCHEMATABLESYMBOL); _t = _retTree; AST __t1256 = _t; AST tmp1620_AST_in = (AST)_t; match(_t,Field_list); _t = _t.getFirstChild(); AST tmp1621_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); fld(_t,CQ.SYMBOL); _t = _retTree; { _loop1258: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp1622_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); fld(_t,CQ.SYMBOL); _t = _retTree; } else { break _loop1258; } } while (true); } AST tmp1623_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t1256; _t = _t.getNextSibling(); state_end(_t); _t = _retTree; _t = __t1254; _t = _t.getNextSibling(); _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,
752,
1615,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
752,
1615,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
2138,
6564,
273,
389,
88,
31,
202,
202,
9053,
1853,
2313,
3600,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
9344,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
26623,
30,
202,
202,
95,
1082,
202,
9053,
1853,
2313,
2313,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
16879,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
12425,
30,
202,
202,
95,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
1886,
30,
202,
202,
95,
1082,
202,
12849,
394,
17114,
24899,
88,
1769,
202,
202,
97,
202,
202,
97,
202,
202,
97,
202,
202,
9053,
1853,
2313,
4033,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
9199,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
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,
752,
1615,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
752,
1615,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
2138,
6564,
273,
389,
88,
31,
202,
202,
9053,
1853,
2313,
3600,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
9344,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
2
] |
public String goToNextBlockStart(MesquiteLong startPos) { MesquiteInteger status = new MesquiteInteger(0); StringBuffer command = new StringBuffer(getNextCommand(status, null)); //���� if (!StringUtil.blank(command)) { if (status.getValue()==0) { //in middle of block; need to continue reading until get to end of block while (!StringUtil.blank(command) && status.getValue()!=2) { command.setLength(0); String c = getNextCommand(status, null); if (!StringUtil.blank(c)) command.append(c); } //reached end of this block, hence mark position for resetting if (startPos !=null) startPos.setValue(getFilePosition()+1); //at end of block; now get next to find first part of next block command.setLength(0); String c = getNextCommand(status, null); if (!StringUtil.blank(c)) command.append(c); } Parser nameParser = new Parser(); return nameParser.getTokenNumber(command.toString(), 2); } return null; } | 57538 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57538/a6cca3dab0a6fd887ee6bde71a8709e5bfbd4434/MesquiteFile.java/buggy/releases/current/Mesquite Project/Source/mesquite/lib/MesquiteFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1960,
774,
2134,
1768,
1685,
12,
49,
281,
372,
1137,
3708,
16013,
13,
288,
202,
202,
49,
281,
372,
1137,
4522,
1267,
273,
394,
490,
281,
372,
1137,
4522,
12,
20,
1769,
202,
202,
780,
1892,
1296,
273,
394,
6674,
12,
588,
2134,
2189,
12,
2327,
16,
446,
10019,
368,
176,
128,
126,
176,
128,
126,
176,
128,
126,
176,
128,
126,
9506,
202,
430,
16051,
13565,
18,
12111,
12,
3076,
3719,
288,
1082,
202,
430,
261,
2327,
18,
24805,
1435,
631,
20,
13,
288,
225,
368,
267,
7689,
434,
1203,
31,
1608,
358,
1324,
6453,
3180,
336,
358,
679,
434,
1203,
9506,
202,
17523,
16051,
13565,
18,
12111,
12,
3076,
13,
597,
1267,
18,
24805,
1435,
5,
33,
22,
13,
288,
6862,
202,
3076,
18,
542,
1782,
12,
20,
1769,
6862,
202,
780,
276,
273,
6927,
2189,
12,
2327,
16,
446,
1769,
6862,
202,
430,
16051,
13565,
18,
12111,
12,
71,
3719,
9944,
202,
3076,
18,
6923,
12,
71,
1769,
9506,
202,
97,
9506,
202,
759,
266,
2004,
679,
434,
333,
1203,
16,
20356,
2267,
1754,
364,
30691,
9506,
202,
430,
261,
1937,
1616,
480,
2011,
13,
6862,
202,
1937,
1616,
18,
542,
620,
12,
29925,
2555,
1435,
15,
21,
1769,
6862,
9506,
202,
759,
270,
679,
434,
1203,
31,
2037,
336,
1024,
358,
1104,
1122,
1087,
434,
1024,
1203,
9506,
202,
3076,
18,
542,
1782,
12,
20,
1769,
9506,
202,
780,
276,
273,
6927,
2189,
12,
2327,
16,
446,
1769,
9506,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1960,
774,
2134,
1768,
1685,
12,
49,
281,
372,
1137,
3708,
16013,
13,
288,
202,
202,
49,
281,
372,
1137,
4522,
1267,
273,
394,
490,
281,
372,
1137,
4522,
12,
20,
1769,
202,
202,
780,
1892,
1296,
273,
394,
6674,
12,
588,
2134,
2189,
12,
2327,
16,
446,
10019,
368,
176,
128,
126,
176,
128,
126,
176,
128,
126,
176,
128,
126,
9506,
202,
430,
16051,
13565,
18,
12111,
12,
3076,
3719,
288,
1082,
202,
430,
261,
2327,
18,
24805,
1435,
631,
20,
13,
288,
225,
368,
267,
7689,
434,
1203,
31,
1608,
358,
1324,
6453,
3180,
336,
358,
679,
434,
1203,
9506,
202,
17523,
16051,
13565,
18,
12111,
12,
3076,
13,
597,
1267,
18,
2
] | ||
int nest = 0; boolean lDyn = false; for (char c = support.read(); c != closeQuote || nest > 0; c = support.read()) { switch (c) { case '\0' : errorHandler.handleError(IErrors.COMPILE_ERROR, position, Messages.getString("unterminated_string")); return 0; case '#' : try { lDyn = parseExpressionString(list, (char) closeQuote, token) || lDyn; } catch (EOFException e) { errorHandler.handleError(IErrors.COMPILE_ERROR, position, Messages.getString("unterminated_string")); return 0; } continue; case '\\' : c = support.read(); if (c == '\n') { continue; } else if (c == closeQuote) { token.append(c); } else { support.unread(); if (func != '"') { token.append('\\'); } token.append((char) readEscape()); } continue; default : if (openQuote != '\0') { if (c == openQuote) { nest++; } if (c == closeQuote && nest-- == 0) { break; } } token.append(c); } } | int nest = 0; boolean lDyn = false; for (char c = support.read(); c != closeQuote || nest > 0; c = support.read()) { switch (c) { case '\0' : errorHandler.handleError(IErrors.COMPILE_ERROR, position, Messages.getString("unterminated_string")); return 0; case '#' : try { lDyn = parseExpressionString(list, (char) closeQuote, token) || lDyn; } catch (EOFException e) { errorHandler.handleError(IErrors.COMPILE_ERROR, position, Messages.getString("unterminated_string")); return 0; } continue; case '\\' : c = support.read(); if (c == '\n') { continue; } else if (c == closeQuote) { token.append(c); } else { support.unread(); if (func != '"') { token.append('\\'); } token.append((char) readEscape()); } continue; default : if (openQuote != '\0') { if (c == openQuote) { nest++; } if (c == closeQuote && nest-- == 0) { break; } } token.append(c); } } | private int parseString(int func, int closeQuote, int openQuote) { if (func == '\'') { return parseSingleQuotedString(closeQuote, openQuote); } if (func == 0) { // read 1 line for heredoc // -1 for chomp yaccValue = support.readLine(); return Token.tSTRING; } ISourcePosition position = support.getPosition(); StringToken token = new StringToken(support, errorHandler, position); IListNode list = (func == '`') ? (IListNode) new DXStrNode(position) : new DStrNode(position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != closeQuote || nest > 0; c = support.read()) { switch (c) { case '\0' : errorHandler.handleError(IErrors.COMPILE_ERROR, position, Messages.getString("unterminated_string")); //$NON-NLS-1$ return 0; case '#' : try { lDyn = parseExpressionString(list, (char) closeQuote, token) || lDyn; } catch (EOFException e) { errorHandler.handleError(IErrors.COMPILE_ERROR, position, Messages.getString("unterminated_string")); //$NON-NLS-1$ return 0; } continue; case '\\' : c = support.read(); if (c == '\n') { continue; } else if (c == closeQuote) { token.append(c); } else { support.unread(); if (func != '"') { token.append('\\'); } token.append((char) readEscape()); } continue; default : if (openQuote != '\0') { if (c == openQuote) { nest++; } if (c == closeQuote && nest-- == 0) { break; } } token.append(c); } } lexState = LexState.EXPR_END; if (lDyn) //we know the string is dynamic { if (token.getLength() > 0) { list.add(new StrNode(token.getPosition(), token.getToken())); } yaccValue = list; return (func == '`') ? Token.tDXSTRING : Token.tDSTRING; } //Benoit: this is not needed, I think that if we arrive here //(if the string is not dynamic) there is only one element in the list //and it is the content of token /* StringBuffer buffer = new StringBuffer(); Iterator iter = list.iterator(); while (iter.hasNext()) { Object next = iter.next(); if (next instanceof StrNode) { buffer.append(((StrNode) next).getValue()); } else { yaccValue = list; return (func == '`') ? Token.tDXSTRING : Token.tDSTRING; } } yaccValue = buffer.toString(); */ yaccValue = token.getToken(); return (func == '`') ? Token.tXSTRING : Token.tSTRING; } | 46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/af104711597d4d5b2089320e2517b95b8df14492/RubyYaccLexer.java/buggy/org/jruby/lexer/yacc/RubyYaccLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
23659,
12,
474,
1326,
16,
509,
1746,
10257,
16,
509,
1696,
10257,
13,
288,
202,
202,
430,
261,
644,
422,
14118,
6134,
288,
1082,
202,
2463,
1109,
5281,
15919,
780,
12,
4412,
10257,
16,
1696,
10257,
1769,
202,
202,
97,
202,
202,
430,
261,
644,
422,
374,
13,
288,
1082,
202,
759,
855,
404,
980,
364,
22336,
329,
504,
1082,
202,
759,
300,
21,
364,
462,
20667,
1082,
202,
93,
8981,
620,
273,
2865,
18,
896,
1670,
5621,
1082,
202,
2463,
3155,
18,
88,
5804,
31,
202,
202,
97,
202,
202,
45,
1830,
2555,
1754,
273,
2865,
18,
588,
2555,
5621,
202,
202,
780,
1345,
1147,
273,
394,
514,
1345,
12,
13261,
16,
17227,
16,
1754,
1769,
202,
202,
45,
682,
907,
666,
273,
261,
644,
422,
6992,
6134,
692,
261,
45,
682,
907,
13,
394,
26634,
1585,
907,
12,
3276,
13,
294,
394,
463,
1585,
907,
12,
3276,
1769,
202,
202,
474,
15095,
273,
374,
31,
202,
202,
6494,
328,
10419,
273,
629,
31,
202,
202,
1884,
261,
3001,
276,
273,
2865,
18,
896,
5621,
276,
480,
1746,
10257,
747,
15095,
405,
374,
31,
276,
273,
2865,
18,
896,
10756,
288,
1082,
202,
9610,
261,
71,
13,
288,
9506,
202,
3593,
2337,
20,
11,
294,
6862,
202,
1636,
1503,
18,
4110,
668,
12,
45,
4229,
18,
31075,
900,
67,
3589,
16,
1754,
16,
4838,
18,
588,
780,
2932,
318,
29133,
67,
1080,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
23659,
12,
474,
1326,
16,
509,
1746,
10257,
16,
509,
1696,
10257,
13,
288,
202,
202,
430,
261,
644,
422,
14118,
6134,
288,
1082,
202,
2463,
1109,
5281,
15919,
780,
12,
4412,
10257,
16,
1696,
10257,
1769,
202,
202,
97,
202,
202,
430,
261,
644,
422,
374,
13,
288,
1082,
202,
759,
855,
404,
980,
364,
22336,
329,
504,
1082,
202,
759,
300,
21,
364,
462,
20667,
1082,
202,
93,
8981,
620,
273,
2865,
18,
896,
1670,
5621,
1082,
202,
2463,
3155,
18,
88,
5804,
31,
202,
202,
97,
202,
202,
45,
1830,
2555,
1754,
273,
2865,
18,
588,
2555,
5621,
202,
202,
780,
1345,
1147,
273,
394,
514,
1345,
12,
13261,
16,
17227,
16,
2
] |
List javaExceptionTypes) throws ClassNotFoundException { | List javaExceptionTypes) { | private void assertExceptionsExist(Method jniMethod, List jniExceptionTypes, List javaExceptionTypes) throws ClassNotFoundException { for (int j = 0; j < jniExceptionTypes.size(); j++) { boolean foundException = false; for (int k = 0; k < javaExceptionTypes.size(); k++) { if (translatedClass((Class) jniExceptionTypes.get(j)).equals( javaExceptionTypes.get(k))) { foundException = true; break; } } Assert.assertTrue("missing exception: method=" + jniMethod.getName() + "; " + jniExceptionTypes.get(j), foundException); } } | 52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/b43da597739d00f108684e8e6e06e2c63bf44191/ApiCompatibilityTest.java/buggy/test/quickfix/ApiCompatibilityTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
1815,
11416,
4786,
12,
1305,
525,
15834,
1305,
16,
987,
525,
15834,
503,
2016,
16,
7734,
987,
2252,
503,
2016,
13,
288,
5411,
364,
261,
474,
525,
273,
374,
31,
525,
411,
525,
15834,
503,
2016,
18,
1467,
5621,
525,
27245,
288,
7734,
1250,
1392,
503,
273,
629,
31,
7734,
364,
261,
474,
417,
273,
374,
31,
417,
411,
2252,
503,
2016,
18,
1467,
5621,
417,
27245,
288,
10792,
309,
261,
22899,
797,
12443,
797,
13,
525,
15834,
503,
2016,
18,
588,
12,
78,
13,
2934,
14963,
12,
18701,
2252,
503,
2016,
18,
588,
12,
79,
20349,
288,
13491,
1392,
503,
273,
638,
31,
13491,
898,
31,
10792,
289,
7734,
289,
7734,
5452,
18,
11231,
5510,
2932,
7337,
1520,
30,
707,
1546,
397,
525,
15834,
1305,
18,
17994,
1435,
397,
13636,
315,
13491,
397,
525,
15834,
503,
2016,
18,
588,
12,
78,
3631,
1392,
503,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
1815,
11416,
4786,
12,
1305,
525,
15834,
1305,
16,
987,
525,
15834,
503,
2016,
16,
7734,
987,
2252,
503,
2016,
13,
288,
5411,
364,
261,
474,
525,
273,
374,
31,
525,
411,
525,
15834,
503,
2016,
18,
1467,
5621,
525,
27245,
288,
7734,
1250,
1392,
503,
273,
629,
31,
7734,
364,
261,
474,
417,
273,
374,
31,
417,
411,
2252,
503,
2016,
18,
1467,
5621,
417,
27245,
288,
10792,
309,
261,
22899,
797,
12443,
797,
13,
525,
15834,
503,
2016,
18,
588,
12,
78,
13,
2934,
14963,
12,
18701,
2252,
503,
2016,
18,
588,
12,
79,
20349,
288,
13491,
1392,
503,
273,
638,
31,
13491,
898,
31,
10792,
289,
7734,
289,
7734,
5452,
18,
11231,
5510,
2
] |
SimpleSeqSimilaritySearchResult that = (SimpleSeqSimilaritySearchResult) o; | SimpleSeqSimilaritySearchResult that = (SimpleSeqSimilaritySearchResult) o; | public boolean equals(Object o) { if (o == this) return true; // if this class is a direct sub-class of Object: if (o == null) return false; if (!o.getClass().equals(this.getClass())) return false; SimpleSeqSimilaritySearchResult that = (SimpleSeqSimilaritySearchResult) o; // only compare fields of this class (not of super-classes): if (!ObjectUtil.equals(this.searcher, that.searcher)) return false; if (!ObjectUtil.equals(this.querySequence, that.querySequence)) return false; if (!ObjectUtil.equals(this.sequenceDB, that.sequenceDB)) return false; if (!ObjectUtil.equals(this.searchParameters, that.searchParameters)) return false; if (!ObjectUtil.equals(this.hits, that.hits)) return false; // this and that are identical if we made it 'til here return true; } | 50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/1e53e34b25e9b009c50460af0986e9449f82ece1/SimpleSeqSimilaritySearchResult.java/clean/src/org/biojava/bio/search/SimpleSeqSimilaritySearchResult.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
1606,
12,
921,
320,
13,
288,
565,
309,
261,
83,
422,
333,
13,
327,
638,
31,
3639,
368,
309,
333,
667,
353,
279,
2657,
720,
17,
1106,
434,
1033,
30,
565,
309,
261,
83,
422,
446,
13,
327,
629,
31,
565,
309,
16051,
83,
18,
588,
797,
7675,
14963,
12,
2211,
18,
588,
797,
1435,
3719,
327,
629,
31,
3639,
4477,
6926,
16891,
560,
24916,
716,
273,
261,
5784,
6926,
16891,
560,
24916,
13,
320,
31,
3639,
368,
1338,
3400,
1466,
434,
333,
667,
261,
902,
434,
2240,
17,
4701,
4672,
565,
309,
16051,
921,
1304,
18,
14963,
12,
2211,
18,
3072,
264,
16,
716,
18,
3072,
264,
3719,
327,
629,
31,
565,
309,
16051,
921,
1304,
18,
14963,
12,
2211,
18,
2271,
4021,
16,
716,
18,
2271,
4021,
3719,
327,
629,
31,
565,
309,
16051,
921,
1304,
18,
14963,
12,
2211,
18,
6178,
2290,
16,
716,
18,
6178,
2290,
3719,
327,
629,
31,
565,
309,
16051,
921,
1304,
18,
14963,
12,
2211,
18,
3072,
2402,
16,
716,
18,
3072,
2402,
3719,
327,
629,
31,
565,
309,
16051,
921,
1304,
18,
14963,
12,
2211,
18,
15173,
16,
716,
18,
15173,
3719,
327,
629,
31,
3639,
368,
333,
471,
716,
854,
12529,
309,
732,
7165,
518,
296,
1025,
2674,
565,
327,
638,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
1606,
12,
921,
320,
13,
288,
565,
309,
261,
83,
422,
333,
13,
327,
638,
31,
3639,
368,
309,
333,
667,
353,
279,
2657,
720,
17,
1106,
434,
1033,
30,
565,
309,
261,
83,
422,
446,
13,
327,
629,
31,
565,
309,
16051,
83,
18,
588,
797,
7675,
14963,
12,
2211,
18,
588,
797,
1435,
3719,
327,
629,
31,
3639,
4477,
6926,
16891,
560,
24916,
716,
273,
261,
5784,
6926,
16891,
560,
24916,
13,
320,
31,
3639,
368,
1338,
3400,
1466,
434,
333,
667,
261,
902,
434,
2240,
17,
4701,
4672,
565,
309,
16051,
921,
1304,
18,
14963,
12,
2211,
18,
3072,
264,
16,
716,
18,
3072,
264,
3719,
327,
629,
31,
565,
309,
16051,
921,
2
] |
} | public EventChannel getEventChannel() { if (thisRef_ == null) { synchronized (this) { if (thisRef_ == null) { thisRef_ = _this( applicationContext_.getOrb() ); } } } return thisRef_; } | 46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/16c06484cccb200d07338ea6f627db07caeed31a/EventChannelImpl.java/clean/src/org/jacorb/notification/EventChannelImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2587,
2909,
9832,
2909,
1435,
565,
288,
3639,
309,
261,
2211,
1957,
67,
422,
446,
13,
3639,
288,
5411,
3852,
261,
2211,
13,
5411,
288,
7734,
309,
261,
2211,
1957,
67,
422,
446,
13,
7734,
288,
10792,
333,
1957,
67,
273,
389,
2211,
12,
31775,
27799,
588,
1162,
70,
1435,
11272,
4766,
5411,
327,
333,
1957,
67,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2587,
2909,
9832,
2909,
1435,
565,
288,
3639,
309,
261,
2211,
1957,
67,
422,
446,
13,
3639,
288,
5411,
3852,
261,
2211,
13,
5411,
288,
7734,
309,
261,
2211,
1957,
67,
422,
446,
13,
7734,
288,
10792,
333,
1957,
67,
273,
389,
2211,
12,
31775,
27799,
588,
1162,
70,
1435,
11272,
4766,
5411,
327,
333,
1957,
67,
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
] | |
throw new TypeError(arg.getRuntime(), "argument not numeric"); | throw arg.getRuntime().newTypeError("argument not numeric"); | public static final RubyNumeric numericValue(IRubyObject arg) { if (!(arg instanceof RubyNumeric)) { throw new TypeError(arg.getRuntime(), "argument not numeric"); } return (RubyNumeric) arg; } | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyNumeric.java/buggy/src/org/jruby/RubyNumeric.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
19817,
9902,
6389,
620,
12,
7937,
10340,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
19817,
9902,
6389,
620,
12,
7937,
10340,
921,
1501,
13,
288,
3639,
309,
16051,
12,
3175,
1276,
19817,
9902,
3719,
288,
5411,
604,
1501,
18,
588,
5576,
7675,
2704,
19030,
2932,
3446,
486,
6389,
8863,
3639,
289,
3639,
327,
261,
54,
10340,
9902,
13,
1501,
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
] |
url.append("#").append(windowOfAction.getId()); | actionUrl.append("#"); actionUrl.append(windowOfAction.getId()); | public String getActionURL() { String baseActionURL; if ( nextState != null && nextState.equals(PortalContextProviderImpl.EXCLUSIVE) ) { baseActionURL = runtimeData.getBaseWorkerURL(UPFileSpec.FILE_DOWNLOAD_WORKER); } else { baseActionURL = runtimeData.getBaseActionURL(); } String encodedURLParams = encodeURLParameters(this.toString()); StringBuffer url = new StringBuffer((encodedURLParams.length()>0)? (UPFileSpec.PORTLET_PARAMS_DELIM_BEG+ java.net.URLEncoder.encode(encodedURLParams)+ UPFileSpec.PORTLET_PARAMS_DELIM_END+ UPFileSpec.PORTAL_URL_SEPARATOR+baseActionURL):baseActionURL); if (ChannelManager.isUseAnchors()) { url.append("#").append(windowOfAction.getId()); } return url.toString(); } | 1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/0323e87fe1f8c2f01e1833c8cf0ce9dede666305/PortletStateManager.java/clean/source/org/jasig/portal/container/services/information/PortletStateManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
12473,
1785,
1435,
288,
202,
202,
780,
1026,
1803,
1785,
31,
202,
202,
430,
261,
25509,
480,
446,
597,
25509,
18,
14963,
12,
24395,
1042,
2249,
2828,
18,
2294,
11686,
24870,
13,
262,
288,
1082,
565,
1026,
1803,
1785,
273,
3099,
751,
18,
588,
2171,
6671,
1785,
12,
3079,
812,
1990,
18,
3776,
67,
12711,
7783,
67,
10566,
654,
1769,
202,
202,
97,
540,
202,
202,
12107,
288,
1082,
565,
1026,
1803,
1785,
273,
3099,
751,
18,
588,
2171,
1803,
1785,
5621,
202,
202,
97,
540,
202,
202,
780,
3749,
1785,
1370,
273,
2017,
1785,
2402,
12,
2211,
18,
10492,
10663,
3639,
6674,
880,
273,
394,
6674,
12443,
10787,
1785,
1370,
18,
2469,
1435,
34,
20,
9945,
6862,
261,
3079,
812,
1990,
18,
6354,
15146,
67,
16785,
67,
31519,
67,
5948,
43,
15,
5375,
2252,
18,
2758,
18,
1785,
7204,
18,
3015,
12,
10787,
1785,
1370,
27921,
6862,
225,
7376,
812,
1990,
18,
6354,
15146,
67,
16785,
67,
31519,
67,
4415,
15,
6862,
225,
7376,
812,
1990,
18,
6354,
1013,
67,
1785,
67,
4550,
15,
1969,
1803,
1785,
4672,
1969,
1803,
1785,
1769,
7734,
309,
261,
2909,
1318,
18,
291,
3727,
979,
15482,
10756,
288,
5411,
1301,
1489,
18,
6923,
2932,
7,
8863,
1301,
1489,
18,
6923,
12,
5668,
951,
1803,
18,
26321,
10663,
3639,
289,
540,
202,
202,
2463,
880,
18,
10492,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
12473,
1785,
1435,
288,
202,
202,
780,
1026,
1803,
1785,
31,
202,
202,
430,
261,
25509,
480,
446,
597,
25509,
18,
14963,
12,
24395,
1042,
2249,
2828,
18,
2294,
11686,
24870,
13,
262,
288,
1082,
565,
1026,
1803,
1785,
273,
3099,
751,
18,
588,
2171,
6671,
1785,
12,
3079,
812,
1990,
18,
3776,
67,
12711,
7783,
67,
10566,
654,
1769,
202,
202,
97,
540,
202,
202,
12107,
288,
1082,
565,
1026,
1803,
1785,
273,
3099,
751,
18,
588,
2171,
1803,
1785,
5621,
202,
202,
97,
540,
202,
202,
780,
3749,
1785,
1370,
273,
2017,
1785,
2402,
12,
2211,
18,
10492,
10663,
3639,
6674,
880,
273,
394,
6674,
12443,
10787,
1785,
1370,
18,
2469,
1435,
34,
2
] |
advance(); return makeToken(ParserSym.QUOTE, "'"); | public Symbol next_token() throws IOException { StringBuffer id; boolean ampersandId = false; for (;;) { switch (nextChar) { case '.': switch (lookahead()) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': // We're looking at the '.' on the start of a number, // e.g. .1; fall through to parse a number. break; default: advance(); return makeToken(ParserSym.DOT, "."); } // fall through case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': // Parse a number. Valid examples include 1, 1.2, 0.1, .1, // 1e2, 1E2, 1e-2, 1e+2. Invalid examples include e2, 1.2.3, // 1e2e3, 1e2.3. // // Signs preceding numbers (e.g. -1, +1E-5) are valid, but are // handled by the parser. final int leftOfPoint = 0; final int rightOfPoint = 1; final int inExponent = 2; int n = 0, nDigits = 0, nSign = 0, exponent = 0; double mantissa = 0.0; int state = leftOfPoint; for (;;) { if (nextChar == '.') { if (state == leftOfPoint) { state = rightOfPoint; mantissa = n; n = nDigits = 0; nSign = 1; advance(); } else { // Error: we are seeing a point in the exponent // (e.g. 1E2.3 or 1.2E3.4) or a second point in the // mantissa (e.g. 1.2.3). Return what we've got // and let the parser raise the error. if (state == rightOfPoint) { mantissa += (n * java.lang.Math.pow( 10, -nDigits)); } else { exponent = n * nSign; } return makeNumber(mantissa, exponent); } } else if (nextChar == 'E' || nextChar == 'e') { if (state == inExponent) { // Error: we are seeing an 'e' in the exponent // (e.g. 1.2e3e4). Return what we've got and let // the parser raise the error. exponent = n * nSign; return makeNumber(mantissa, exponent); } else { if (state == leftOfPoint) { mantissa = n; } else { mantissa += (n * java.lang.Math.pow( 10, -nDigits)); } n = nDigits = 0; nSign = 1; advance(); state = inExponent; } } else if ((nextChar == '+' || nextChar == '-') && state == inExponent && nDigits == 0) { // We're looking at the sign after the 'e'. nSign = -nSign; advance(); } else if (nextChar >= '0' && nextChar <= '9') { n = n * 10 + (nextChar - '0'); nDigits++; advance(); } else { // Reached end of number. if (state == leftOfPoint) { mantissa = n; } else if (state == rightOfPoint) { mantissa += (n * java.lang.Math.pow(10, -nDigits)); } else { exponent = n * nSign; } return makeNumber(mantissa, exponent); } } case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': /* parse an identifier */ id = new StringBuffer(); for (;;) { id.append((char)nextChar); advance(); switch (nextChar) { case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u': case 'v': case 'w': case 'x': case 'y': case 'z': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': case 'Y': case 'Z': case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case '_': break; default: String strId = id.toString(); Integer i = (Integer) m_resWordsTable.get( strId.toUpperCase()); if (i == null) { // identifier return makeId(strId, false, false); } else { // reserved word return makeRes(i.intValue()); } } } case '&': advance(); if (nextChar == '[') { ampersandId = true; // fall through } else { return makeToken(ParserSym.UNKNOWN, "&"); } case '[': /* parse a delimited identifier */ id = new StringBuffer(); for (;;) { advance(); switch (nextChar) { case ']': advance(); if (nextChar == ']') { // ] escaped with ] - just take one id.append(']'); break; } else { // end of identifier if (ampersandId) { ampersandId = false; return makeId(id.toString(), true, true); } else { return makeId(id.toString(), true, false); } } case -1: if (ampersandId) { ampersandId = false; return makeId(id.toString(), true, true); } else { return makeId(id.toString(), true, false); } default: id.append((char)nextChar); } } case ':': advance(); return makeToken(ParserSym.COLON, ":"); case ',': advance(); return makeToken(ParserSym.COMMA, ","); case '=': advance(); return makeToken(ParserSym.EQ, "="); case '<': advance(); switch (nextChar) { case '>': advance(); return makeToken(ParserSym.NE, "<>"); case '=': advance(); return makeToken(ParserSym.LE, "<="); default: return makeToken(ParserSym.LT, "<"); } case '>': advance(); switch (nextChar) { case '=': advance(); return makeToken(ParserSym.GE, ">="); default: return makeToken(ParserSym.GT, ">"); } case '{': advance(); return makeToken(ParserSym.LBRACE, "{"); case '(': advance(); return makeToken(ParserSym.LPAREN, "("); case '}': advance(); return makeToken(ParserSym.RBRACE, "}"); case ')': advance(); return makeToken(ParserSym.RPAREN, ")"); case '+': advance(); return makeToken(ParserSym.PLUS, "+"); case '-': advance(); return makeToken(ParserSym.MINUS, "-"); case '*': advance(); return makeToken(ParserSym.ASTERISK, "*"); case '/': advance(); return makeToken(ParserSym.SOLIDUS, "/"); case '|': advance(); switch (nextChar) { case '|': advance(); return makeToken(ParserSym.CONCAT, "||"); default: return makeToken(ParserSym.UNKNOWN, "|"); } case '"': /* parse a double-quoted string */ id = new StringBuffer(); for (;;) { advance(); switch (nextChar) { case '"': advance(); if (nextChar == '"') { // " escaped with " id.append('"'); break; } else { // end of string return makeString(id.toString()); } case -1: return makeString(id.toString()); default: id.append((char)nextChar); } } case '\'': if (inFormula) { inFormula = false; advance(); return makeToken(ParserSym.QUOTE, "'"); } else if (previousSymbol == ParserSym.AS) { inFormula = true; advance(); return makeToken(ParserSym.QUOTE, "'"); } /* parse a single-quoted string */ id = new StringBuffer(); for (;;) { advance(); switch (nextChar) { case '\'': advance(); if (nextChar == '\'') { // " escaped with " id.append('\''); break; } else { // end of string return makeString(id.toString()); } case -1: return makeString(id.toString()); default: id.append((char)nextChar); } } case -1: // we're done return makeToken(ParserSym.EOF, "EOF"); default: /* ignore everything else */ iPrevChar = iChar; advance(); break; } } } | 51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/890f9606b9e09a1e7142dc5b4c809b3f9736f86a/Scanner.java/buggy/src/main/mondrian/olap/Scanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8565,
1024,
67,
2316,
1435,
1216,
1860,
288,
3639,
6674,
612,
31,
3639,
1250,
16946,
414,
464,
548,
273,
629,
31,
3639,
364,
261,
25708,
13,
288,
5411,
1620,
261,
4285,
2156,
13,
288,
5411,
648,
2611,
30,
7734,
1620,
261,
7330,
11617,
10756,
288,
7734,
648,
296,
20,
4278,
648,
296,
21,
4278,
648,
296,
22,
4278,
648,
296,
23,
4278,
648,
296,
24,
4278,
7734,
648,
296,
25,
4278,
648,
296,
26,
4278,
648,
296,
27,
4278,
648,
296,
28,
4278,
648,
296,
29,
4278,
10792,
368,
1660,
4565,
7849,
622,
326,
2611,
603,
326,
787,
434,
279,
1300,
16,
10792,
368,
425,
18,
75,
18,
263,
21,
31,
4159,
3059,
358,
1109,
279,
1300,
18,
10792,
898,
31,
7734,
805,
30,
10792,
8312,
5621,
10792,
327,
1221,
1345,
12,
2678,
11901,
18,
17591,
16,
4585,
1769,
7734,
289,
7734,
368,
4159,
3059,
5411,
648,
296,
20,
4278,
648,
296,
21,
4278,
648,
296,
22,
4278,
648,
296,
23,
4278,
648,
296,
24,
4278,
5411,
648,
296,
25,
4278,
648,
296,
26,
4278,
648,
296,
27,
4278,
648,
296,
28,
4278,
648,
296,
29,
4278,
7734,
368,
2884,
279,
1300,
18,
225,
2364,
10991,
2341,
404,
16,
404,
18,
22,
16,
374,
18,
21,
16,
263,
21,
16,
7734,
368,
404,
73,
22,
16,
404,
41,
22,
16,
404,
73,
17,
22,
16,
404,
73,
15,
22,
18,
225,
1962,
10991,
2341,
425,
22,
16,
404,
18,
22,
18,
23,
16,
7734,
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,
377,
1071,
8565,
1024,
67,
2316,
1435,
1216,
1860,
288,
3639,
6674,
612,
31,
3639,
1250,
16946,
414,
464,
548,
273,
629,
31,
3639,
364,
261,
25708,
13,
288,
5411,
1620,
261,
4285,
2156,
13,
288,
5411,
648,
2611,
30,
7734,
1620,
261,
7330,
11617,
10756,
288,
7734,
648,
296,
20,
4278,
648,
296,
21,
4278,
648,
296,
22,
4278,
648,
296,
23,
4278,
648,
296,
24,
4278,
7734,
648,
296,
25,
4278,
648,
296,
26,
4278,
648,
296,
27,
4278,
648,
296,
28,
4278,
648,
296,
29,
4278,
10792,
368,
1660,
4565,
7849,
622,
326,
2611,
603,
326,
787,
434,
279,
1300,
16,
10792,
368,
425,
18,
75,
18,
263,
21,
31,
4159,
3059,
358,
1109,
279,
1300,
2
] | |
Crystal crystal1 = new Crystal(); | Crystal crystal1 = builder.newCrystal(); | public void testClone_Axes() { Crystal crystal1 = new Crystal(); Vector3d axes = new Vector3d(1.0, 2.0, 3.0); crystal1.setA(axes); Crystal crystal2 = (Crystal)crystal1.clone(); // test cloning of axes crystal1.getA().x = 5.0; assertEquals(1.0, crystal2.getA().x, 0.001); } | 45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/d21f277c120791acd10319bbfe4f2deaa0db1306/CrystalTest.java/buggy/src/org/openscience/cdk/test/CrystalTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
10930,
67,
26494,
1435,
288,
3639,
14998,
31365,
4422,
31365,
21,
273,
2089,
18,
2704,
12893,
31365,
5621,
3639,
5589,
23,
72,
6515,
273,
394,
5589,
23,
72,
12,
21,
18,
20,
16,
576,
18,
20,
16,
890,
18,
20,
1769,
3639,
4422,
31365,
21,
18,
542,
37,
12,
10855,
1769,
3639,
14998,
31365,
4422,
31365,
22,
273,
261,
12893,
31365,
13,
3353,
31365,
21,
18,
14056,
5621,
3639,
368,
1842,
927,
22470,
434,
6515,
3639,
4422,
31365,
21,
18,
588,
37,
7675,
92,
273,
1381,
18,
20,
31,
3639,
1815,
8867,
12,
21,
18,
20,
16,
4422,
31365,
22,
18,
588,
37,
7675,
92,
16,
374,
18,
11664,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
1842,
10930,
67,
26494,
1435,
288,
3639,
14998,
31365,
4422,
31365,
21,
273,
2089,
18,
2704,
12893,
31365,
5621,
3639,
5589,
23,
72,
6515,
273,
394,
5589,
23,
72,
12,
21,
18,
20,
16,
576,
18,
20,
16,
890,
18,
20,
1769,
3639,
4422,
31365,
21,
18,
542,
37,
12,
10855,
1769,
3639,
14998,
31365,
4422,
31365,
22,
273,
261,
12893,
31365,
13,
3353,
31365,
21,
18,
14056,
5621,
3639,
368,
1842,
927,
22470,
434,
6515,
3639,
4422,
31365,
21,
18,
588,
37,
7675,
92,
273,
1381,
18,
20,
31,
3639,
1815,
8867,
12,
21,
18,
20,
16,
4422,
31365,
22,
18,
588,
37,
7675,
92,
16,
374,
18,
11664,
1769,
565,
289,
2,
-100,
-100,
-100
] |
/* * logeador.log(TolucaConstants.CLIENT_DEBUG_LOG_LEVEL, " Player cliente : " + * playerClient); */ | /*logeador.log(TolucaConstants.CLIENT_DEBUG_LOG_LEVEL, " Player cliente : " + playerClient);*/ | public void tirarCarta(TrucoEvent event) { /* * logeador.log(TolucaConstants.CLIENT_DEBUG_LOG_LEVEL, "Se quire tirar * carta table " + event.getTableNumber()); */ Table table = room.getTable(event.getTableNumber()); TrucoGameClient trucoGameClient = (TrucoGameClient) table.getTGame(); TrucoPlayer playerServer = event.getPlayer(); TrucoPlayer playerClient = room.getPlayer(playerServer.getName()); TrucoCard cartaServer = event.getCard(); TrucoCard cartaClient = trucoGameClient.getCard(cartaServer.getKind(), cartaServer.getValue()); /* * logeador.log(TolucaConstants.CLIENT_DEBUG_LOG_LEVEL, " Player cliente : " + * playerClient); */ // logeador.log(TolucaConstants.CLIENT_DEBUG_LOG_LEVEL, " carta cliente: // "+cartaClient); // logeador.log(TolucaConstants.CLIENT_DEBUG_LOG_LEVEL, "TrucoPlayer : // "+trucoPlayer); //TODO: ver por que no anda mas el tema del igual entre objetos como // era antes if (!trucoPlayer.getName().equals(playerClient.getName())) { //logeador.log(TolucaConstants.CLIENT_DEBUG_LOG_LEVEL, // getClass().getName()+"tirarCarta: playerCliente no es igual a // trucoPlayer"); //logeador.log(TolucaConstants.CLIENT_DEBUG_LOG_LEVEL, "Ejecuto // primero la jugada en el cliente!!!: " + // tp.getPlayer().getName()); TrucoPlay tp = new TrucoPlay(playerClient, TrucoPlay.JUGAR_CARTA, cartaClient); trucoGameClient.play(tp); } trucoGameClient.playResponse(playerClient, cartaClient); } | 1311 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1311/41d462eab04bb797582f1b0121ef6312af5ad55b/EventDispatcherClient.java/clean/py/edu/uca/fcyt/toluca/net/EventDispatcherClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
268,
481,
297,
13006,
69,
12,
1070,
89,
2894,
1133,
871,
13,
288,
3639,
1748,
540,
380,
613,
684,
280,
18,
1330,
12,
16557,
5286,
69,
2918,
18,
11935,
67,
9394,
67,
4842,
67,
10398,
16,
315,
1761,
719,
577,
268,
481,
297,
540,
380,
7035,
69,
1014,
315,
397,
871,
18,
588,
1388,
1854,
10663,
540,
1195,
3639,
3555,
1014,
273,
7725,
18,
588,
1388,
12,
2575,
18,
588,
1388,
1854,
10663,
3639,
840,
89,
2894,
12496,
1227,
433,
89,
2894,
12496,
1227,
273,
261,
1070,
89,
2894,
12496,
1227,
13,
1014,
18,
588,
56,
12496,
5621,
3639,
840,
89,
2894,
12148,
7291,
2081,
273,
871,
18,
588,
12148,
5621,
3639,
840,
89,
2894,
12148,
7291,
1227,
273,
7725,
18,
588,
12148,
12,
14872,
2081,
18,
17994,
10663,
3639,
840,
89,
2894,
6415,
7035,
69,
2081,
273,
871,
18,
588,
6415,
5621,
3639,
840,
89,
2894,
6415,
7035,
69,
1227,
273,
433,
89,
2894,
12496,
1227,
18,
588,
6415,
12,
11848,
69,
2081,
18,
588,
5677,
9334,
7734,
7035,
69,
2081,
18,
24805,
10663,
3639,
1748,
540,
380,
613,
684,
280,
18,
1330,
12,
16557,
5286,
69,
2918,
18,
11935,
67,
9394,
67,
4842,
67,
10398,
16,
315,
19185,
1004,
73,
294,
315,
397,
540,
380,
7291,
1227,
1769,
540,
1195,
3639,
368,
202,
202,
1330,
684,
280,
18,
1330,
12,
16557,
5286,
69,
2918,
18,
11935,
67,
9394,
67,
4842,
67,
10398,
16,
315,
7035,
69,
1004,
73,
30,
3639,
368,
13773,
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,
268,
481,
297,
13006,
69,
12,
1070,
89,
2894,
1133,
871,
13,
288,
3639,
1748,
540,
380,
613,
684,
280,
18,
1330,
12,
16557,
5286,
69,
2918,
18,
11935,
67,
9394,
67,
4842,
67,
10398,
16,
315,
1761,
719,
577,
268,
481,
297,
540,
380,
7035,
69,
1014,
315,
397,
871,
18,
588,
1388,
1854,
10663,
540,
1195,
3639,
3555,
1014,
273,
7725,
18,
588,
1388,
12,
2575,
18,
588,
1388,
1854,
10663,
3639,
840,
89,
2894,
12496,
1227,
433,
89,
2894,
12496,
1227,
273,
261,
1070,
89,
2894,
12496,
1227,
13,
1014,
18,
588,
56,
12496,
5621,
3639,
840,
89,
2894,
12148,
7291,
2081,
273,
871,
18,
588,
12148,
5621,
3639,
840,
89,
2894,
12148,
2
] |
{ return checking; } | { return rootPaneCheckingEnabled; } | protected boolean isRootPaneCheckingEnabled() { return checking; } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/49e488b8530051383b90b1357fa767c87c9ff7f5/J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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
225,
1250,
19371,
8485,
14294,
1526,
1435,
565,
288,
565,
327,
6728,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
rsp_list=_req.getResults(); if(rsp_list.size() == 0) { if(log.isWarnEnabled()) log.warn(" response list is empty"); return null; } if(rsp_list.size() > 1) if(log.isWarnEnabled()) log.warn("response list contains " + "more that 1 response; returning first response !"); rsp=(Rsp)rsp_list.elementAt(0); if(rsp.wasSuspected()) throw new SuspectedException(dest); if(!rsp.wasReceived()) throw new TimeoutException(); return rsp.getValue(); } | rsp_list = _req.getResults(); if (rsp_list.size() == 0) { if (log.isWarnEnabled()) { log.warn(" response list is empty"); } return null; } if (rsp_list.size() > 1) { if (log.isWarnEnabled()) { log.warn("response list contains " + "more that 1 response; returning first response !"); } } rsp = (Rsp) rsp_list.elementAt(0); if (rsp.wasSuspected()) { throw new SuspectedException(dest); } if (!rsp.wasReceived()) { throw new TimeoutException(); } return rsp.getValue(); } | public Object sendMessage(Message msg, int mode, long timeout) throws TimeoutException, SuspectedException { Vector mbrs=new Vector(); RspList rsp_list=null; Object dest=msg.getDest(); Rsp rsp; GroupRequest _req=null; if(dest == null) { if(log.isErrorEnabled()) log.error("the message's destination is null, " + "cannot send message"); return null; } mbrs.addElement(dest); // dummy membership (of destination address) _req=new GroupRequest(msg, corr, mbrs, mode, timeout, 0); _req.execute(); if(mode == GroupRequest.GET_NONE) return null; rsp_list=_req.getResults(); if(rsp_list.size() == 0) { if(log.isWarnEnabled()) log.warn(" response list is empty"); return null; } if(rsp_list.size() > 1) if(log.isWarnEnabled()) log.warn("response list contains " + "more that 1 response; returning first response !"); rsp=(Rsp)rsp_list.elementAt(0); if(rsp.wasSuspected()) throw new SuspectedException(dest); if(!rsp.wasReceived()) throw new TimeoutException(); return rsp.getValue(); } | 49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/1c1c7d103f9cfeff6928cd868bac88a3edc0eecf/MessageDispatcher.java/buggy/src/org/jgroups/blocks/MessageDispatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
15399,
12,
1079,
1234,
16,
509,
1965,
16,
1525,
2021,
13,
1216,
23334,
16,
348,
407,
1789,
503,
288,
3639,
5589,
3639,
312,
2848,
87,
33,
2704,
5589,
5621,
3639,
534,
1752,
682,
4202,
12049,
67,
1098,
33,
2011,
31,
3639,
1033,
3639,
1570,
33,
3576,
18,
588,
9378,
5621,
3639,
534,
1752,
6647,
12049,
31,
3639,
3756,
691,
225,
389,
3658,
33,
2011,
31,
3639,
309,
12,
10488,
422,
446,
13,
288,
5411,
309,
12,
1330,
18,
291,
668,
1526,
10756,
613,
18,
1636,
2932,
5787,
883,
1807,
2929,
353,
446,
16,
315,
397,
13491,
315,
12892,
1366,
883,
8863,
5411,
327,
446,
31,
3639,
289,
7734,
312,
2848,
87,
18,
1289,
1046,
12,
10488,
1769,
282,
368,
9609,
12459,
261,
792,
2929,
1758,
13,
7734,
389,
3658,
33,
2704,
3756,
691,
12,
3576,
16,
19480,
16,
312,
2848,
87,
16,
1965,
16,
2021,
16,
374,
1769,
3639,
389,
3658,
18,
8837,
5621,
3639,
309,
12,
3188,
422,
3756,
691,
18,
3264,
67,
9826,
13,
5411,
327,
446,
31,
3639,
12049,
67,
1098,
33,
67,
3658,
18,
588,
3447,
5621,
7734,
309,
12,
86,
1752,
67,
1098,
18,
1467,
1435,
422,
374,
13,
288,
5411,
309,
12,
1330,
18,
291,
3160,
1526,
10756,
613,
18,
8935,
2932,
766,
666,
353,
1008,
8863,
5411,
327,
446,
31,
10792,
289,
3639,
309,
12,
86,
1752,
67,
1098,
18,
1467,
1435,
405,
404,
13,
5411,
309,
12,
1330,
18,
291,
3160,
1526,
10756,
613,
18,
8935,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
15399,
12,
1079,
1234,
16,
509,
1965,
16,
1525,
2021,
13,
1216,
23334,
16,
348,
407,
1789,
503,
288,
3639,
5589,
3639,
312,
2848,
87,
33,
2704,
5589,
5621,
3639,
534,
1752,
682,
4202,
12049,
67,
1098,
33,
2011,
31,
3639,
1033,
3639,
1570,
33,
3576,
18,
588,
9378,
5621,
3639,
534,
1752,
6647,
12049,
31,
3639,
3756,
691,
225,
389,
3658,
33,
2011,
31,
3639,
309,
12,
10488,
422,
446,
13,
288,
5411,
309,
12,
1330,
18,
291,
668,
1526,
10756,
613,
18,
1636,
2932,
5787,
883,
1807,
2929,
353,
446,
16,
315,
397,
13491,
315,
12892,
1366,
883,
8863,
5411,
327,
446,
31,
3639,
289,
7734,
312,
2848,
87,
18,
1289,
1046,
12,
10488,
2
] |
return addImplementation(node, unique, matchEmail, nodePresent); | if (unique != null && !address.equals(node.emailPart)) unique.add(address); node = addImplementation(node, unique, matchEmail, nodePresent); if (!nodePresent && node != null) mCache.put(address, node); return node; | public CacheNode add(CacheNode externalNode, Set<String> unique, boolean matchEmail) { if (externalNode == null) return null; CacheNode node = null; if (externalNode.emailPart != null) node = mCache.get(externalNode.emailPart); boolean nodePresent = node != null; if (!nodePresent) node = new CacheNode(externalNode, mId++); return addImplementation(node, unique, matchEmail, nodePresent); } | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/0c9fab6c109d16c5d723fd25631e62949944518a/EmailElementCache.java/buggy/ZimbraServer/src/java/com/zimbra/cs/service/mail/EmailElementCache.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4379,
907,
527,
12,
1649,
907,
3903,
907,
16,
1000,
32,
780,
34,
3089,
16,
1250,
845,
4134,
13,
288,
3639,
309,
261,
9375,
907,
422,
446,
13,
5411,
327,
446,
31,
3639,
4379,
907,
756,
273,
446,
31,
3639,
309,
261,
9375,
907,
18,
3652,
1988,
480,
446,
13,
540,
202,
2159,
273,
312,
1649,
18,
588,
12,
9375,
907,
18,
3652,
1988,
1769,
3639,
1250,
756,
6351,
273,
756,
480,
446,
31,
3639,
309,
16051,
2159,
6351,
13,
5411,
756,
273,
394,
4379,
907,
12,
9375,
907,
16,
312,
548,
9904,
1769,
3639,
309,
261,
6270,
480,
446,
597,
401,
2867,
18,
14963,
12,
2159,
18,
3652,
1988,
3719,
3089,
18,
1289,
12,
2867,
1769,
756,
273,
527,
13621,
12,
2159,
16,
3089,
16,
845,
4134,
16,
756,
6351,
1769,
309,
16051,
2159,
6351,
597,
756,
480,
446,
13,
312,
1649,
18,
458,
12,
2867,
16,
756,
1769,
327,
756,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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4379,
907,
527,
12,
1649,
907,
3903,
907,
16,
1000,
32,
780,
34,
3089,
16,
1250,
845,
4134,
13,
288,
3639,
309,
261,
9375,
907,
422,
446,
13,
5411,
327,
446,
31,
3639,
4379,
907,
756,
273,
446,
31,
3639,
309,
261,
9375,
907,
18,
3652,
1988,
480,
446,
13,
540,
202,
2159,
273,
312,
1649,
18,
588,
12,
9375,
907,
18,
3652,
1988,
1769,
3639,
1250,
756,
6351,
273,
756,
480,
446,
31,
3639,
309,
16051,
2159,
6351,
13,
5411,
756,
273,
394,
4379,
907,
12,
9375,
907,
16,
312,
548,
9904,
1769,
3639,
309,
261,
6270,
480,
446,
597,
401,
2867,
18,
14963,
12,
2159,
18,
3652,
1988,
3719,
3089,
18,
1289,
12,
2867,
1769,
2
] |
if (pdom == null) { | if (index == null) { | protected void setUp() throws Exception { if (pdom == null) { project = createProject("includesTests"); pdom = CCorePlugin.getIndexManager().getIndex(project); } pdom.acquireReadLock(); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/d6d9ed6df05fa9a4d5efa12e7ef50e6fa2caec66/IncludesTests.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/pdom/tests/IncludesTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
24292,
1435,
1216,
1185,
288,
202,
202,
430,
261,
84,
9859,
422,
446,
13,
288,
1082,
202,
4406,
273,
752,
4109,
2932,
18499,
14650,
8863,
1082,
202,
84,
9859,
273,
385,
4670,
3773,
18,
588,
1016,
1318,
7675,
588,
1016,
12,
4406,
1769,
202,
202,
97,
202,
202,
84,
9859,
18,
1077,
1039,
1994,
2531,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
24292,
1435,
1216,
1185,
288,
202,
202,
430,
261,
84,
9859,
422,
446,
13,
288,
1082,
202,
4406,
273,
752,
4109,
2932,
18499,
14650,
8863,
1082,
202,
84,
9859,
273,
385,
4670,
3773,
18,
588,
1016,
1318,
7675,
588,
1016,
12,
4406,
1769,
202,
202,
97,
202,
202,
84,
9859,
18,
1077,
1039,
1994,
2531,
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
] |
IRubyObject mesg = backtrace.first(IRubyObject.NULL_ARRAY); | IRubyObject mesg = ((RubyArray) backtrace).first(IRubyObject.NULL_ARRAY); | public void printError(RubyException excp) { if (excp == null || excp.isNil()) { return; } ThreadContext tc = getCurrentContext(); RubyArray backtrace = (RubyArray) excp.callMethod(tc, "backtrace"); PrintStream errorStream = getErrorStream(); if (backtrace.isNil()) { if (tc.getSourceFile() != null) { errorStream.print(tc.getPosition()); } else { errorStream.print(tc.getSourceLine()); } } else if (backtrace.getLength() == 0) { printErrorPos(errorStream); } else { IRubyObject mesg = backtrace.first(IRubyObject.NULL_ARRAY); if (mesg.isNil()) { printErrorPos(errorStream); } else { errorStream.print(mesg); } } RubyClass type = excp.getMetaClass(); String info = excp.toString(); if (type == getClass("RuntimeError") && (info == null || info.length() == 0)) { errorStream.print(": unhandled exception\n"); } else { String path = type.getName(); if (info.length() == 0) { errorStream.print(": " + path + '\n'); } else { if (path.startsWith("#")) { path = null; } String tail = null; if (info.indexOf("\n") != -1) { tail = info.substring(info.indexOf("\n") + 1); info = info.substring(0, info.indexOf("\n")); } errorStream.print(": " + info); if (path != null) { errorStream.print(" (" + path + ")\n"); } if (tail != null) { errorStream.print(tail + '\n'); } } } if (!backtrace.isNil()) { excp.printBacktrace(errorStream); } } | 46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/fe628a940467ceda783730ea34173dec3d365fa4/Ruby.java/buggy/src/org/jruby/Ruby.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1172,
668,
12,
54,
10340,
503,
3533,
84,
13,
288,
202,
202,
430,
261,
338,
4057,
422,
446,
747,
3533,
84,
18,
291,
12616,
10756,
288,
5411,
327,
31,
3639,
289,
3639,
4884,
1042,
1715,
273,
5175,
1042,
5621,
3639,
19817,
1076,
13902,
273,
261,
54,
10340,
1076,
13,
3533,
84,
18,
1991,
1305,
12,
5111,
16,
315,
18728,
8863,
3639,
21677,
555,
1228,
273,
7926,
1228,
5621,
202,
202,
430,
261,
18728,
18,
291,
12616,
10756,
288,
13491,
309,
261,
5111,
18,
588,
31150,
1435,
480,
446,
13,
288,
7734,
555,
1228,
18,
1188,
12,
5111,
18,
588,
2555,
10663,
5411,
289,
469,
288,
7734,
555,
1228,
18,
1188,
12,
5111,
18,
588,
1830,
1670,
10663,
5411,
289,
3639,
289,
469,
309,
261,
18728,
18,
588,
1782,
1435,
422,
374,
13,
288,
5411,
1172,
668,
1616,
12,
1636,
1228,
1769,
3639,
289,
469,
288,
5411,
15908,
10340,
921,
15216,
75,
273,
14015,
54,
10340,
1076,
13,
13902,
2934,
3645,
12,
7937,
10340,
921,
18,
8560,
67,
8552,
1769,
5411,
309,
261,
26244,
75,
18,
291,
12616,
10756,
288,
7734,
1172,
668,
1616,
12,
1636,
1228,
1769,
5411,
289,
469,
288,
7734,
555,
1228,
18,
1188,
12,
26244,
75,
1769,
5411,
289,
3639,
289,
3639,
19817,
797,
618,
273,
3533,
84,
18,
588,
2781,
797,
5621,
3639,
514,
1123,
273,
3533,
84,
18,
10492,
5621,
3639,
309,
261,
723,
422,
2900,
2932,
5576,
668,
7923,
597,
261,
1376,
422,
446,
747,
1123,
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,
377,
1071,
918,
1172,
668,
12,
54,
10340,
503,
3533,
84,
13,
288,
202,
202,
430,
261,
338,
4057,
422,
446,
747,
3533,
84,
18,
291,
12616,
10756,
288,
5411,
327,
31,
3639,
289,
3639,
4884,
1042,
1715,
273,
5175,
1042,
5621,
3639,
19817,
1076,
13902,
273,
261,
54,
10340,
1076,
13,
3533,
84,
18,
1991,
1305,
12,
5111,
16,
315,
18728,
8863,
3639,
21677,
555,
1228,
273,
7926,
1228,
5621,
202,
202,
430,
261,
18728,
18,
291,
12616,
10756,
288,
13491,
309,
261,
5111,
18,
588,
31150,
1435,
480,
446,
13,
288,
7734,
555,
1228,
18,
1188,
12,
5111,
18,
588,
2555,
10663,
5411,
289,
469,
288,
7734,
555,
1228,
18,
1188,
12,
5111,
18,
588,
1830,
1670,
2
] |
public static DataBuffer createBufferFromData(int dataType, Object data, int size) { switch (dataType) { case DataBuffer.TYPE_BYTE : | public static DataBuffer createBufferFromData(int dataType, Object data, int size) { switch (dataType) { case DataBuffer.TYPE_BYTE: | public static DataBuffer createBufferFromData(int dataType, Object data, int size) { switch (dataType) { case DataBuffer.TYPE_BYTE : return new DataBufferByte((byte[]) data, size); case DataBuffer.TYPE_USHORT : return new DataBufferUShort((short[]) data, size); case DataBuffer.TYPE_INT : return new DataBufferInt((int[]) data, size); default : throw new UnsupportedOperationException(); } } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Buffers.java/buggy/core/src/classpath/gnu/gnu/java/awt/Buffers.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1910,
1892,
752,
1892,
1265,
751,
12,
474,
8891,
16,
1033,
501,
16,
509,
963,
13,
288,
202,
202,
9610,
261,
892,
559,
13,
288,
1082,
202,
3593,
1910,
1892,
18,
2399,
67,
15377,
294,
9506,
202,
2463,
394,
1910,
1892,
3216,
12443,
7229,
63,
5717,
501,
16,
963,
1769,
1082,
202,
3593,
1910,
1892,
18,
2399,
67,
57,
15993,
294,
9506,
202,
2463,
394,
1910,
1892,
57,
4897,
12443,
6620,
63,
5717,
501,
16,
963,
1769,
1082,
202,
3593,
1910,
1892,
18,
2399,
67,
3217,
294,
9506,
202,
2463,
394,
1910,
1892,
1702,
12443,
474,
63,
5717,
501,
16,
963,
1769,
1082,
202,
1886,
294,
9506,
202,
12849,
394,
13172,
5621,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1910,
1892,
752,
1892,
1265,
751,
12,
474,
8891,
16,
1033,
501,
16,
509,
963,
13,
288,
202,
202,
9610,
261,
892,
559,
13,
288,
1082,
202,
3593,
1910,
1892,
18,
2399,
67,
15377,
294,
9506,
202,
2463,
394,
1910,
1892,
3216,
12443,
7229,
63,
5717,
501,
16,
963,
1769,
1082,
202,
3593,
1910,
1892,
18,
2399,
67,
57,
15993,
294,
9506,
202,
2463,
394,
1910,
1892,
57,
4897,
12443,
6620,
63,
5717,
501,
16,
963,
1769,
1082,
202,
3593,
1910,
1892,
18,
2399,
67,
3217,
294,
9506,
202,
2463,
394,
1910,
1892,
1702,
12443,
474,
63,
5717,
501,
16,
963,
1769,
1082,
202,
1886,
294,
9506,
202,
12849,
394,
13172,
5621,
202,
202,
97,
2
] |
f = new USKFetcher(usk, this, ctx, parent, 3, false); | f = new USKFetcher(usk, this, ctx, parent, 3, false, keepLastData); | public synchronized USKFetcher getFetcher(USK usk, FetcherContext ctx, ClientGetter parent) { USKFetcher f = (USKFetcher) fetchersByUSK.get(usk); USK clear = usk.clearCopy(); if(temporaryBackgroundFetchersLRU.contains(clear)) temporaryBackgroundFetchersLRU.push(clear); if(f != null) { if((f.parent.priorityClass == parent.priorityClass) && f.ctx.equals(ctx)) return f; } f = new USKFetcher(usk, this, ctx, parent, 3, false); fetchersByUSK.put(usk, f); return f; } | 50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/ba61984610fbdc6ae89adf37e39660cc27c3f343/USKManager.java/buggy/src/freenet/client/async/USKManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
587,
11129,
16855,
2812,
1593,
264,
12,
3378,
47,
584,
79,
16,
8065,
264,
1042,
1103,
16,
1082,
202,
1227,
8461,
982,
13,
288,
202,
202,
3378,
47,
16855,
284,
273,
261,
3378,
47,
16855,
13,
2158,
414,
858,
3378,
47,
18,
588,
12,
407,
79,
1769,
202,
202,
3378,
47,
2424,
273,
584,
79,
18,
8507,
2951,
5621,
202,
202,
430,
12,
31143,
8199,
5005,
414,
16018,
57,
18,
12298,
12,
8507,
3719,
202,
202,
31143,
8199,
5005,
414,
16018,
57,
18,
6206,
12,
8507,
1769,
202,
202,
430,
12,
74,
480,
446,
13,
288,
1082,
202,
430,
12443,
74,
18,
2938,
18,
8457,
797,
422,
982,
18,
8457,
797,
13,
597,
284,
18,
5900,
18,
14963,
12,
5900,
3719,
9506,
202,
2463,
284,
31,
202,
202,
97,
202,
202,
74,
273,
394,
587,
11129,
16855,
12,
407,
79,
16,
333,
16,
1103,
16,
982,
16,
890,
16,
629,
1769,
202,
202,
5754,
414,
858,
3378,
47,
18,
458,
12,
407,
79,
16,
284,
1769,
202,
202,
2463,
284,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
587,
11129,
16855,
2812,
1593,
264,
12,
3378,
47,
584,
79,
16,
8065,
264,
1042,
1103,
16,
1082,
202,
1227,
8461,
982,
13,
288,
202,
202,
3378,
47,
16855,
284,
273,
261,
3378,
47,
16855,
13,
2158,
414,
858,
3378,
47,
18,
588,
12,
407,
79,
1769,
202,
202,
3378,
47,
2424,
273,
584,
79,
18,
8507,
2951,
5621,
202,
202,
430,
12,
31143,
8199,
5005,
414,
16018,
57,
18,
12298,
12,
8507,
3719,
202,
202,
31143,
8199,
5005,
414,
16018,
57,
18,
6206,
12,
8507,
1769,
202,
202,
430,
12,
74,
480,
446,
13,
288,
1082,
202,
430,
12443,
74,
18,
2938,
18,
8457,
797,
422,
982,
18,
8457,
797,
13,
597,
284,
18,
2
] |
in.seek(0); | in.reset(); | protected void initFile(String id) throws FormatException, IOException { close(); currentId = id; metadata = new Hashtable(); in = new RandomAccessFile(id, "r"); offsets = new Vector(); in.seek(200); // read a block of 8192 characters, looking for the "BigEndian" pattern byte[] buf = new byte[8192]; boolean found = false; while (!found) { if (in.getFilePointer() < in.length()) { in.read(buf, 9, 8183); String test = new String(buf); int ndx = test.indexOf("BigEndian"); if (ndx != -1) { found = true; String endian = test.substring(ndx + 11); if (endian.toLowerCase().startsWith("t")) littleEndian = false; else littleEndian = true; } } else { throw new FormatException("Pixel data not found."); } } //in.seek(200); in.seek(0); // look for the first BinData element found = false; buf = new byte[8192]; in.read(buf, 0, 14); while (!found) { if (in.getFilePointer() < in.length()) { int numRead = in.read(buf, 14, 8192-14); String test = new String(buf); int ndx = test.indexOf("<Bin"); if (ndx == -1) throw new FormatException("Pixel data not found"); while (!((ndx != -1) && (ndx != test.indexOf("<Bin:External")))) { ndx = test.indexOf("<Bin", ndx+1); } found = true; numRead += 14; offsets.add(new Integer((int) in.getFilePointer() - (numRead - ndx))); } else { throw new FormatException("Pixel data not found"); } } in.seek(0); buf = new byte[((Integer) offsets.get(0)).intValue()]; in.read(buf); String xml = new String(buf); xml += "</Pixels></Image></OME>"; // might lose some data this way ome = OMETools.createRoot(xml); int sizeX = 0; int sizeY = 0; int sizeZ = 0; int sizeC = 0; int sizeT = 0; if (ome == null) { throw new FormatException("To use this feature, please install the " + "org.openmicroscopy.xml package, available from " + "http://www.openmicroscopy.org/"); } String type = OMETools.getPixelType(ome); if (type.endsWith("16")) bpp = 2; else if (type.endsWith("32")) bpp = 4; else if (type.equals("float")) bpp = 8; sizeX = OMETools.getSizeX(ome).intValue(); sizeY = OMETools.getSizeY(ome).intValue(); sizeZ = OMETools.getSizeZ(ome).intValue(); sizeC = OMETools.getSizeC(ome).intValue(); sizeT = OMETools.getSizeT(ome).intValue(); // calculate the number of raw bytes of pixel data that we are expecting int expected = sizeX * sizeY * bpp; // find the compression type and adjust 'expected' accordingly in.seek(((Integer) offsets.get(0)).intValue()); buf = new byte[256]; in.read(buf); String data = new String(buf); int compressionStart = data.indexOf("Compression") + 13; int compressionEnd = data.indexOf("\"", compressionStart); if (compressionStart != -1 && compressionEnd != -1) { compression = data.substring(compressionStart, compressionEnd); } else compression = "none"; expected /= 2; searchForData(expected); numImages = offsets.size(); if (numImages < (sizeZ * sizeT * sizeC)) { searchForData(0); // hope this doesn't happen too often numImages = offsets.size(); } } | 11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/91859a26506b8a1d312b398da2c3ecd94e02fa60/OMEXMLReader.java/buggy/loci/formats/OMEXMLReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
1746,
5621,
565,
783,
548,
273,
612,
31,
565,
1982,
273,
394,
18559,
5621,
565,
316,
273,
394,
8072,
26933,
12,
350,
16,
315,
86,
8863,
565,
8738,
273,
394,
5589,
5621,
565,
316,
18,
16508,
12,
6976,
1769,
565,
368,
855,
279,
1203,
434,
26730,
3949,
16,
7849,
364,
326,
315,
9901,
7583,
6,
1936,
565,
1160,
8526,
1681,
273,
394,
1160,
63,
28,
15561,
15533,
565,
1250,
1392,
273,
629,
31,
565,
1323,
16051,
7015,
13,
288,
1377,
309,
261,
267,
18,
29925,
4926,
1435,
411,
316,
18,
2469,
10756,
288,
3639,
316,
18,
896,
12,
4385,
16,
2468,
16,
1725,
31672,
1769,
3639,
514,
1842,
273,
394,
514,
12,
4385,
1769,
3639,
509,
5346,
92,
273,
1842,
18,
31806,
2932,
9901,
7583,
8863,
3639,
309,
261,
4880,
92,
480,
300,
21,
13,
288,
1850,
1392,
273,
638,
31,
1850,
514,
14759,
273,
1842,
18,
28023,
12,
4880,
92,
397,
4648,
1769,
1850,
309,
261,
22910,
18,
869,
5630,
7675,
17514,
1190,
2932,
88,
6,
3719,
328,
10609,
273,
629,
31,
1850,
469,
328,
10609,
273,
638,
31,
3639,
289,
1377,
289,
1377,
469,
288,
3639,
604,
394,
4077,
503,
2932,
9037,
501,
486,
1392,
1199,
1769,
1377,
289,
565,
289,
565,
368,
267,
18,
16508,
12,
6976,
1769,
565,
316,
18,
6208,
5621,
377,
368,
2324,
364,
326,
1122,
16827,
751,
930,
565,
1392,
273,
629,
31,
565,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
1746,
5621,
565,
783,
548,
273,
612,
31,
565,
1982,
273,
394,
18559,
5621,
565,
316,
273,
394,
8072,
26933,
12,
350,
16,
315,
86,
8863,
565,
8738,
273,
394,
5589,
5621,
565,
316,
18,
16508,
12,
6976,
1769,
565,
368,
855,
279,
1203,
434,
26730,
3949,
16,
7849,
364,
326,
315,
9901,
7583,
6,
1936,
565,
1160,
8526,
1681,
273,
394,
1160,
63,
28,
15561,
15533,
565,
1250,
1392,
273,
629,
31,
565,
1323,
16051,
7015,
13,
288,
1377,
309,
261,
267,
18,
29925,
4926,
1435,
411,
316,
18,
2469,
10756,
288,
3639,
316,
18,
896,
12,
4385,
16,
2468,
16,
1725,
2
] |
warningLabel.setText("If you don't know what these are, don't change them"); | warningLabel .setText("If you don't know what these are, don't change them"); | private void initComponents() { warningLabel = new javax.swing.JLabel(); jPanel1 = new javax.swing.JPanel(); tpScene2Label = new javax.swing.JLabel(); tpScene2Field = new javax.swing.JTextField(); tpScene3Label = new javax.swing.JLabel(); tpScene3Field = new javax.swing.JTextField(); updateButton = new javax.swing.JButton(); cancelButton = new javax.swing.JButton(); setTitle("Teleport Address changer"); setName("teleportAddressChangerDialog"); setResizable(false); addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { closeDialog(evt); } }); warningLabel.setText("If you don't know what these are, don't change them"); getContentPane().add(warningLabel, java.awt.BorderLayout.NORTH); jPanel1.setLayout(new java.awt.GridLayout(0, 2, 5, 10)); tpScene2Label.setText("Scene 2 TP (0x96):"); jPanel1.add(tpScene2Label); tpScene2Field.setText( Integer.toString( scene2.getTeleportOffset(), 16 ) ); jPanel1.add(tpScene2Field); tpScene3Label.setText("Scene 3 TP (0x97):"); jPanel1.add(tpScene3Label); tpScene3Field.setText( Integer.toString( scene3.getTeleportOffset(), 16 ) ); jPanel1.add(tpScene3Field); updateButton.setText("Update"); jPanel1.add(updateButton); cancelButton.setText("Cancel"); jPanel1.add(cancelButton); getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER); pack(); cancelButton.addActionListener( this ); updateButton.addActionListener( this ); } | 3699 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3699/e3746491678a9f0bdee74ba64d785d53772c8516/FlyoverEditor.java/clean/src/net/starmen/pkhack/eb/FlyoverEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
1208,
7171,
1435,
540,
288,
5411,
3436,
2224,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224,
5621,
5411,
17871,
21,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
5411,
8071,
14370,
22,
2224,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224,
5621,
5411,
8071,
14370,
22,
974,
273,
394,
6863,
18,
5328,
310,
18,
46,
16157,
5621,
5411,
8071,
14370,
23,
2224,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224,
5621,
5411,
8071,
14370,
23,
974,
273,
394,
6863,
18,
5328,
310,
18,
46,
16157,
5621,
5411,
1089,
3616,
273,
394,
6863,
18,
5328,
310,
18,
46,
3616,
5621,
5411,
3755,
3616,
273,
394,
6863,
18,
5328,
310,
18,
46,
3616,
5621,
5411,
14109,
2932,
56,
19738,
5267,
9435,
264,
8863,
5411,
6788,
2932,
88,
19738,
1887,
782,
11455,
6353,
8863,
5411,
444,
607,
6934,
12,
5743,
1769,
5411,
527,
3829,
2223,
12,
2704,
2252,
18,
2219,
88,
18,
2575,
18,
3829,
4216,
1435,
288,
7734,
1071,
918,
2742,
15745,
12,
6290,
18,
2219,
88,
18,
2575,
18,
3829,
1133,
6324,
13,
288,
10792,
1746,
6353,
12,
73,
11734,
1769,
7734,
289,
5411,
15549,
5411,
3436,
2224,
263,
542,
1528,
2932,
2047,
1846,
2727,
1404,
5055,
4121,
4259,
854,
16,
2727,
1404,
2549,
2182,
8863,
5411,
5154,
8485,
7675,
1289,
12,
8551,
2224,
16,
2252,
18,
2219,
88,
18,
8107,
3744,
18,
50,
28212,
1769,
5411,
17871,
21,
18,
542,
3744,
12,
2704,
2252,
18,
2219,
88,
18,
6313,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
1208,
7171,
1435,
540,
288,
5411,
3436,
2224,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224,
5621,
5411,
17871,
21,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
5411,
8071,
14370,
22,
2224,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224,
5621,
5411,
8071,
14370,
22,
974,
273,
394,
6863,
18,
5328,
310,
18,
46,
16157,
5621,
5411,
8071,
14370,
23,
2224,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224,
5621,
5411,
8071,
14370,
23,
974,
273,
394,
6863,
18,
5328,
310,
18,
46,
16157,
5621,
5411,
1089,
3616,
273,
394,
6863,
18,
5328,
310,
18,
46,
3616,
5621,
5411,
3755,
3616,
273,
394,
6863,
18,
5328,
310,
18,
46,
3616,
2
] |
namespaceURI_ = namespaceURI; | if(namespaceURI == null) namespaceURI_ = ""; else namespaceURI_ = namespaceURI; | public QName(String localName, String namespaceURI, String prefix) { localName_ = localName; namespaceURI_ = namespaceURI; prefix_ = prefix; } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/5e842873242d5ae7b9bbb6cc77c54f6029667ea8/QName.java/clean/src/org/exist/dom/QName.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16723,
12,
780,
11927,
16,
514,
19421,
16,
514,
1633,
13,
288,
202,
202,
3729,
461,
67,
273,
11927,
31,
202,
202,
4937,
3098,
67,
273,
19421,
31,
202,
202,
3239,
67,
273,
1633,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16723,
12,
780,
11927,
16,
514,
19421,
16,
514,
1633,
13,
288,
202,
202,
3729,
461,
67,
273,
11927,
31,
202,
202,
4937,
3098,
67,
273,
19421,
31,
202,
202,
3239,
67,
273,
1633,
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
] |
log.error( sqle); | log.error("Error getting names by user ID from UP_USER", sqle); | private Map getUserNames() throws java.sql.SQLException{ Connection conn = null; Statement stmnt = null; Map userNames = new HashMap(); try { conn = RDBMServices.getConnection(); try { stmnt = conn.createStatement(); String sql = getSelectUserNamesSql(); log.debug( "ReferencePersonNameFinder.getUserNames(): " + sql); ResultSet rs = stmnt.executeQuery(sql); while (rs.next()) { String key = rs.getString(USER_NAME_COLUMN); userNames.put(key, key); } } finally { stmnt.close(); } } catch (SQLException sqle) { log.error( sqle); throw sqle; } finally { RDBMServices.releaseConnection(conn); } return userNames;} | 1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/08043273fa4afdbfed41d8831e4a2873036a8a54/ReferencePersonNameFinder.java/buggy/source/org/jasig/portal/groups/ReferencePersonNameFinder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
1635,
4735,
1557,
1435,
1216,
2252,
18,
4669,
18,
23116,
95,
565,
4050,
1487,
273,
446,
31,
565,
8056,
384,
21818,
273,
446,
31,
565,
1635,
729,
1557,
273,
394,
4317,
5621,
565,
775,
565,
288,
3639,
1487,
273,
534,
2290,
49,
5676,
18,
588,
1952,
5621,
3639,
775,
3639,
288,
5411,
384,
21818,
273,
1487,
18,
2640,
3406,
5621,
5411,
514,
1847,
273,
20182,
1299,
1557,
5101,
5621,
5411,
613,
18,
4148,
12,
315,
2404,
8346,
461,
8441,
18,
588,
1299,
1557,
13332,
315,
397,
1847,
1769,
5411,
10842,
3597,
273,
384,
21818,
18,
8837,
1138,
12,
4669,
1769,
5411,
1323,
261,
5453,
18,
4285,
10756,
5411,
288,
7734,
514,
498,
273,
3597,
18,
588,
780,
12,
4714,
67,
1985,
67,
11009,
1769,
7734,
729,
1557,
18,
458,
12,
856,
16,
498,
1769,
5411,
289,
3639,
289,
3639,
3095,
5411,
288,
384,
21818,
18,
4412,
5621,
289,
565,
289,
565,
1044,
261,
23116,
4744,
298,
13,
565,
288,
3639,
613,
18,
1636,
2932,
668,
8742,
1257,
635,
729,
1599,
628,
7376,
67,
4714,
3113,
4744,
298,
1769,
3639,
604,
4744,
298,
31,
565,
289,
565,
3095,
565,
288,
3639,
534,
2290,
49,
5676,
18,
9340,
1952,
12,
4646,
1769,
565,
289,
565,
327,
729,
1557,
31,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
1635,
4735,
1557,
1435,
1216,
2252,
18,
4669,
18,
23116,
95,
565,
4050,
1487,
273,
446,
31,
565,
8056,
384,
21818,
273,
446,
31,
565,
1635,
729,
1557,
273,
394,
4317,
5621,
565,
775,
565,
288,
3639,
1487,
273,
534,
2290,
49,
5676,
18,
588,
1952,
5621,
3639,
775,
3639,
288,
5411,
384,
21818,
273,
1487,
18,
2640,
3406,
5621,
5411,
514,
1847,
273,
20182,
1299,
1557,
5101,
5621,
5411,
613,
18,
4148,
12,
315,
2404,
8346,
461,
8441,
18,
588,
1299,
1557,
13332,
315,
397,
1847,
1769,
5411,
10842,
3597,
273,
384,
21818,
18,
8837,
1138,
12,
4669,
1769,
5411,
1323,
261,
5453,
18,
4285,
10756,
5411,
288,
7734,
514,
498,
273,
3597,
18,
588,
780,
12,
2
] |
_manager = createManagerFile(filePath); | _manager = createManagerFile(propPath); | public synchronized PersistenceManager createManager (String filePath) throws Exception { if (_manager == null) { if (checkDB(filePath)) _manager = createManagerDB(filePath); else _manager = createManagerFile(filePath); } return _manager; } | 50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/13de68466e3cf7fde6ee0bde0cee09a33e837e89/PersistenceFactory.java/buggy/src/org/jgroups/persistence/PersistenceFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
13381,
1318,
752,
1318,
261,
780,
4612,
13,
1216,
1185,
377,
288,
3639,
309,
261,
67,
4181,
422,
446,
13,
3639,
288,
5411,
309,
261,
1893,
2290,
12,
22787,
3719,
7734,
389,
4181,
273,
752,
1318,
2290,
12,
22787,
1769,
5411,
469,
7734,
389,
4181,
273,
752,
1318,
812,
12,
5986,
743,
1769,
3639,
289,
3639,
327,
389,
4181,
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,
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411,
469,
7734,
389,
4181,
273,
752,
1318,
812,
12,
5986,
743,
1769,
3639,
289,
3639,
327,
389,
4181,
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
] |
String type = "text/plain"; | String type = "text/plain"; | public DataHandler getDataHandler() throws MessagingException { if (data_handler==null) { String type = "text/plain"; //XXX lie to it... String[] content_types = getHeader("Content-Type"); if ((content_types!=null)&&(content_types.length>0)) { type = content_types[0]; } data_handler = new DataHandler(getContentAsString(),type); } return data_handler; } | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/b13c667b376deb4a8f2c235ffd847b57616d23c4/MessageBase.java/buggy/grendel/sources/grendel/storage/MessageBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1910,
1503,
4303,
1503,
1435,
1216,
23794,
503,
288,
565,
309,
261,
892,
67,
4176,
631,
2011,
13,
288,
1377,
514,
618,
273,
315,
955,
19,
7446,
14432,
225,
368,
15639,
328,
1385,
358,
518,
2777,
1377,
514,
8526,
913,
67,
2352,
273,
7911,
2932,
1350,
17,
559,
8863,
1377,
309,
14015,
1745,
67,
2352,
5,
33,
2011,
13,
10,
10,
12,
1745,
67,
2352,
18,
2469,
34,
20,
3719,
288,
3639,
618,
273,
913,
67,
2352,
63,
20,
15533,
1377,
289,
1377,
501,
67,
4176,
273,
394,
1910,
1503,
12,
588,
1350,
8092,
9334,
723,
1769,
565,
289,
565,
327,
501,
67,
4176,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1910,
1503,
4303,
1503,
1435,
1216,
23794,
503,
288,
565,
309,
261,
892,
67,
4176,
631,
2011,
13,
288,
1377,
514,
618,
273,
315,
955,
19,
7446,
14432,
225,
368,
15639,
328,
1385,
358,
518,
2777,
1377,
514,
8526,
913,
67,
2352,
273,
7911,
2932,
1350,
17,
559,
8863,
1377,
309,
14015,
1745,
67,
2352,
5,
33,
2011,
13,
10,
10,
12,
1745,
67,
2352,
18,
2469,
34,
20,
3719,
288,
3639,
618,
273,
913,
67,
2352,
63,
20,
15533,
1377,
289,
1377,
501,
67,
4176,
273,
394,
1910,
1503,
12,
588,
1350,
8092,
9334,
723,
1769,
565,
289,
565,
327,
501,
67,
4176,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return true; | public boolean execute(final Flags prefix, final Context context, final TokenSource source, final Typesetter typesetter) throws GeneralException { ensureVerticalMode(typesetter); typesetter.addGlue(FILL); return true; } | 9123 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9123/eb1aab511c6c3c43b19c0de86545f73f089e3526/Vfill.java/buggy/ExTeX/src/java/de/dante/extex/interpreter/primitives/typesetter/spacing/Vfill.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1836,
12,
6385,
10104,
1633,
16,
727,
1772,
819,
16,
5411,
727,
3155,
1830,
1084,
16,
727,
7658,
11214,
1953,
11214,
13,
5411,
1216,
9544,
503,
288,
3639,
3387,
15704,
2309,
12,
2352,
11214,
1769,
3639,
1953,
11214,
18,
1289,
21308,
344,
12,
29818,
1769,
6647,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1836,
12,
6385,
10104,
1633,
16,
727,
1772,
819,
16,
5411,
727,
3155,
1830,
1084,
16,
727,
7658,
11214,
1953,
11214,
13,
5411,
1216,
9544,
503,
288,
3639,
3387,
15704,
2309,
12,
2352,
11214,
1769,
3639,
1953,
11214,
18,
1289,
21308,
344,
12,
29818,
1769,
6647,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] | |
clickLinkWithText("Configure Bootstrappers"); clickLinkWithText("Configure cvsbootstrapper"); | gotoPage(CVS_URL); | public void testShouldAllowUsersToClearCVSBootstrapperAttributes() { String cvsroot = "/cvs/foo"; beginAt(CVS_URL); setWorkingForm("cvsbootstrapper-details"); setFormElement("cvsroot", cvsroot); submit(); assertTextPresent(cvsroot); clickLinkWithText("Configure Bootstrappers"); clickLinkWithText("Configure cvsbootstrapper"); assertTextPresent(cvsroot); setWorkingForm("cvsbootstrapper-details"); setFormElement("cvsroot", ""); submit(); assertTextNotPresent(cvsroot); clickLinkWithText("Configure Bootstrappers"); clickLinkWithText("Configure cvsbootstrapper"); assertTextNotPresent(cvsroot); } | 55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/3d59f4c3b67f79b9d449bc219ab8c7bae11c698e/BootstrapperDetailsWebTest.java/clean/webtest/net/sourceforge/cruisecontrol/BootstrapperDetailsWebTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
14309,
7009,
6588,
774,
9094,
39,
14640,
10445,
457,
2498,
1435,
288,
3639,
514,
276,
6904,
3085,
273,
2206,
71,
6904,
19,
11351,
14432,
3639,
2376,
861,
12,
39,
14640,
67,
1785,
1769,
3639,
444,
14836,
1204,
2932,
71,
6904,
12722,
457,
17,
6395,
8863,
3639,
28265,
1046,
2932,
71,
6904,
3085,
3113,
276,
6904,
3085,
1769,
3639,
4879,
5621,
3639,
1815,
1528,
6351,
12,
71,
6904,
3085,
1769,
3639,
4682,
2098,
1190,
1528,
2932,
11207,
26254,
701,
2910,
414,
8863,
3639,
4682,
2098,
1190,
1528,
2932,
11207,
276,
6904,
12722,
457,
8863,
3639,
1815,
1528,
6351,
12,
71,
6904,
3085,
1769,
3639,
444,
14836,
1204,
2932,
71,
6904,
12722,
457,
17,
6395,
8863,
3639,
28265,
1046,
2932,
71,
6904,
3085,
3113,
1408,
1769,
3639,
4879,
5621,
3639,
1815,
1528,
1248,
6351,
12,
71,
6904,
3085,
1769,
3639,
4682,
2098,
1190,
1528,
2932,
11207,
26254,
701,
2910,
414,
8863,
3639,
4682,
2098,
1190,
1528,
2932,
11207,
276,
6904,
12722,
457,
8863,
3639,
1815,
1528,
1248,
6351,
12,
71,
6904,
3085,
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,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
67,
1785,
1769,
3639,
444,
14836,
1204,
2932,
71,
6904,
12722,
457,
17,
6395,
8863,
3639,
28265,
1046,
2932,
71,
6904,
3085,
3113,
276,
6904,
3085,
1769,
3639,
4879,
5621,
3639,
1815,
1528,
6351,
12,
71,
6904,
3085,
1769,
3639,
4682,
2098,
1190,
1528,
2932,
11207,
26254,
701,
2910,
414,
8863,
3639,
4682,
2098,
1190,
1528,
2932,
11207,
276,
6904,
12722,
457,
8863,
3639,
1815,
1528,
6351,
12,
71,
6904,
3085,
1769,
3639,
444,
14836,
1204,
2932,
71,
6904,
12722,
457,
17,
6395,
8863,
3639,
2
] |
} catch(Exception e1) { e1.printStackTrace(); | } catch (Exception e1) { e1.printStackTrace(); | public void processFile(File f, boolean subdirectories) throws Exception { if ( f.isDirectory() && subdirectories) { // If f is a directory and the subdirectory flag is set, processDirectory(f); // import all the files in this directory } else { // Is this file a Jarfile? if( f.getName().endsWith(".jar")) { processJarFile(f); } else { if( f.getName().endsWith(".class")) { String fileName = f.getName(); try { parseFile(new FileInputStream(f), fileName); // Try to parse this file. } catch(Exception e1) { e1.printStackTrace(); _secondPassFiles.add(f); } } } } } | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/5cee6094c7b77e3bcf6338f68456e6e531e781b7/ClassfileImport.java/buggy/modules/classfile/src/org/argouml/uml/reveng/classfile/ClassfileImport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1207,
812,
12,
812,
284,
16,
1250,
31220,
13,
1216,
1185,
288,
540,
202,
430,
261,
284,
18,
291,
2853,
1435,
597,
31220,
13,
288,
565,
368,
971,
284,
353,
279,
1867,
471,
326,
29869,
2982,
353,
444,
16,
202,
565,
1207,
2853,
12,
74,
1769,
5397,
368,
1930,
777,
326,
1390,
316,
333,
1867,
202,
97,
469,
288,
202,
565,
368,
2585,
333,
585,
279,
15644,
768,
35,
202,
565,
309,
12,
284,
18,
17994,
7675,
5839,
1190,
2932,
18,
11930,
6,
3719,
288,
202,
202,
2567,
10813,
812,
12,
74,
1769,
202,
565,
289,
469,
288,
202,
202,
430,
12,
284,
18,
17994,
7675,
5839,
1190,
2932,
18,
1106,
6,
3719,
288,
10792,
514,
3968,
273,
284,
18,
17994,
5621,
1082,
565,
775,
288,
1082,
202,
2670,
812,
12,
2704,
11907,
12,
74,
3631,
3968,
1769,
282,
368,
6161,
358,
1109,
333,
585,
18,
1082,
565,
289,
1044,
12,
503,
425,
21,
13,
288,
9506,
425,
21,
18,
1188,
6332,
5621,
1082,
202,
67,
8538,
6433,
2697,
18,
1289,
12,
74,
1769,
1082,
565,
289,
202,
202,
97,
202,
565,
289,
202,
97,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1207,
812,
12,
812,
284,
16,
1250,
31220,
13,
1216,
1185,
288,
540,
202,
430,
261,
284,
18,
291,
2853,
1435,
597,
31220,
13,
288,
565,
368,
971,
284,
353,
279,
1867,
471,
326,
29869,
2982,
353,
444,
16,
202,
565,
1207,
2853,
12,
74,
1769,
5397,
368,
1930,
777,
326,
1390,
316,
333,
1867,
202,
97,
469,
288,
202,
565,
368,
2585,
333,
585,
279,
15644,
768,
35,
202,
565,
309,
12,
284,
18,
17994,
7675,
5839,
1190,
2932,
18,
11930,
6,
3719,
288,
202,
202,
2567,
10813,
812,
12,
74,
1769,
202,
565,
289,
469,
288,
202,
202,
430,
12,
284,
18,
17994,
7675,
5839,
1190,
2932,
18,
1106,
6,
3719,
288,
10792,
514,
2
] |
Log.log(Log.ERROR, MODULE, "resizeTo size should be integer numbers"); | Log.log(Log.LEVEL_ERROR, MODULE, "resizeTo size should be integer numbers"); | public void writeProperties(GalleryProperties props) { props.setBooleanProperty(RESIZE_BEFORE_UPLOAD, resizeBeforeUpload.isSelected()); if (resizeBeforeUpload.isSelected()) { Dimension d = null; if (resizeToDefault.isSelected()) { d = new Dimension(0,0); } else { try { d = new Dimension(Integer.parseInt(resizeToWidth.getText()), Integer.parseInt(resizeToHeight.getText())); } catch (Exception e) { Log.log(Log.ERROR, MODULE, "resizeTo size should be integer numbers"); } } if (d != null) { props.setDimensionProperty(RESIZE_TO, d); } } props.setBooleanProperty(SET_CAPTIONS_WITH_FILENAMES, setCaptionsWithFilenames.isSelected()); props.setBooleanProperty(CAPTION_STRIP_EXTENSION, captionStripExtension.isSelected()); props.setBooleanProperty(HTML_ESCAPE_CAPTIONS, ! htmlEscapeCaptionsNot.isSelected()); props.setBooleanProperty(EXIF_AUTOROTATE, exifAutorotate.isSelected()); } | 5431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5431/1faa1edcd69ba6f773ebcc5a8a21f029bd9e2263/UploadPanel.java/buggy/gallery_remote/com/gallery/GalleryRemote/prefs/UploadPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1045,
2297,
12,
18511,
2297,
3458,
13,
288,
202,
202,
9693,
18,
542,
5507,
1396,
12,
862,
4574,
67,
19152,
67,
23347,
16,
7041,
4649,
4777,
18,
291,
7416,
10663,
202,
202,
430,
261,
15169,
4649,
4777,
18,
291,
7416,
10756,
288,
1082,
202,
8611,
302,
273,
446,
31,
1082,
202,
430,
261,
15169,
774,
1868,
18,
291,
7416,
10756,
288,
9506,
202,
72,
273,
394,
13037,
12,
20,
16,
20,
1769,
1082,
202,
97,
469,
288,
9506,
202,
698,
288,
6862,
202,
72,
273,
394,
13037,
12,
4522,
18,
2670,
1702,
12,
15169,
774,
2384,
18,
588,
1528,
1435,
3631,
2144,
18,
2670,
1702,
12,
15169,
774,
2686,
18,
588,
1528,
1435,
10019,
9506,
202,
97,
1044,
261,
503,
425,
13,
288,
6862,
202,
1343,
18,
1330,
12,
1343,
18,
3589,
16,
14057,
16,
315,
15169,
774,
963,
1410,
506,
3571,
5600,
8863,
9506,
202,
97,
1082,
202,
97,
1082,
202,
430,
261,
72,
480,
446,
13,
288,
9506,
202,
9693,
18,
542,
8611,
1396,
12,
862,
4574,
67,
4296,
16,
302,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
9693,
18,
542,
5507,
1396,
12,
4043,
67,
3587,
3725,
55,
67,
9147,
67,
16080,
55,
16,
11440,
69,
573,
1190,
25579,
6809,
18,
291,
7416,
10663,
202,
202,
9693,
18,
542,
5507,
1396,
12,
3587,
3725,
67,
15765,
52,
67,
12796,
16,
11006,
16632,
3625,
18,
291,
7416,
10663,
202,
202,
9693,
18,
542,
5507,
1396,
12,
4870,
67,
24849,
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,
1045,
2297,
12,
18511,
2297,
3458,
13,
288,
202,
202,
9693,
18,
542,
5507,
1396,
12,
862,
4574,
67,
19152,
67,
23347,
16,
7041,
4649,
4777,
18,
291,
7416,
10663,
202,
202,
430,
261,
15169,
4649,
4777,
18,
291,
7416,
10756,
288,
1082,
202,
8611,
302,
273,
446,
31,
1082,
202,
430,
261,
15169,
774,
1868,
18,
291,
7416,
10756,
288,
9506,
202,
72,
273,
394,
13037,
12,
20,
16,
20,
1769,
1082,
202,
97,
469,
288,
9506,
202,
698,
288,
6862,
202,
72,
273,
394,
13037,
12,
4522,
18,
2670,
1702,
12,
15169,
774,
2384,
18,
588,
1528,
1435,
3631,
2144,
18,
2670,
1702,
12,
15169,
774,
2686,
18,
588,
1528,
1435,
10019,
9506,
2
] |
public void visitCRefNode(Node iVisited) { visit(iVisited); Node lNext = iVisited.getNextNode(); if (lNext != null) lNext.accept(this); leave(iVisited); } | public void visitCRefNode(Node iVisited) { visit(iVisited); Node lNext = iVisited.getNextNode(); if (lNext != null) { lNext.accept(this); } leave(iVisited); } | public void visitCRefNode(Node iVisited) { visit(iVisited); Node lNext = iVisited.getNextNode(); if (lNext != null) lNext.accept(this); leave(iVisited); } | 45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
39,
1957,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
907,
328,
2134,
273,
277,
30019,
18,
588,
2134,
907,
5621,
202,
202,
430,
261,
80,
2134,
480,
446,
13,
1082,
202,
80,
2134,
18,
9436,
12,
2211,
1769,
202,
202,
19574,
12,
77,
30019,
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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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
39,
1957,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
907,
328,
2134,
273,
277,
30019,
18,
588,
2134,
907,
5621,
202,
202,
430,
261,
80,
2134,
480,
446,
13,
1082,
202,
80,
2134,
18,
9436,
12,
2211,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (iSeries != null) { return iBinaryIndexSum(start, finish); } if (sSeries != null) { return sBinaryIndexSum(start, finish); } if (fSeries != null) { return fBinaryIndexSum(start, finish); } if (dSeries != null) { return dBinaryIndexSum(start, finish); } return 0; | if (iSeries != null) { return iBinaryIndexSum(start, finish); } if (sSeries != null) { return sBinaryIndexSum(start, finish); } if (fSeries != null) { return fBinaryIndexSum(start, finish); } if (dSeries != null) { return dBinaryIndexSum(start, finish); } throw new RuntimeException("All data arrays are null (int, short, float and double), This should never happen"); | public double binaryIndexSum(int start, int finish) { if (iSeries != null) { return iBinaryIndexSum(start, finish); } // end of if (iSeries != null) if (sSeries != null) { return sBinaryIndexSum(start, finish); } // end of if (sSeries != null) if (fSeries != null) { return fBinaryIndexSum(start, finish); } // end of if (fSeries != null) if (dSeries != null) { return dBinaryIndexSum(start, finish); } // end of if (dSeries != null) return 0; } | 52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/05e078356cbf684ec12612d15c6a53faa346f073/Statistics.java/buggy/src/edu/sc/seis/fissuresUtil/bag/Statistics.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1645,
3112,
1016,
3495,
12,
474,
787,
16,
509,
4076,
13,
288,
565,
309,
261,
77,
6485,
480,
446,
13,
288,
3639,
327,
277,
5905,
1016,
3495,
12,
1937,
16,
4076,
1769,
565,
289,
368,
679,
434,
309,
261,
77,
6485,
480,
446,
13,
565,
309,
261,
87,
6485,
480,
446,
13,
288,
3639,
327,
272,
5905,
1016,
3495,
12,
1937,
16,
4076,
1769,
565,
289,
368,
679,
434,
309,
261,
87,
6485,
480,
446,
13,
565,
309,
261,
74,
6485,
480,
446,
13,
288,
3639,
327,
284,
5905,
1016,
3495,
12,
1937,
16,
4076,
1769,
565,
289,
368,
679,
434,
309,
261,
74,
6485,
480,
446,
13,
565,
309,
261,
72,
6485,
480,
446,
13,
288,
3639,
327,
302,
5905,
1016,
3495,
12,
1937,
16,
4076,
1769,
565,
289,
368,
679,
434,
309,
261,
72,
6485,
480,
446,
13,
565,
327,
374,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1645,
3112,
1016,
3495,
12,
474,
787,
16,
509,
4076,
13,
288,
565,
309,
261,
77,
6485,
480,
446,
13,
288,
3639,
327,
277,
5905,
1016,
3495,
12,
1937,
16,
4076,
1769,
565,
289,
368,
679,
434,
309,
261,
77,
6485,
480,
446,
13,
565,
309,
261,
87,
6485,
480,
446,
13,
288,
3639,
327,
272,
5905,
1016,
3495,
12,
1937,
16,
4076,
1769,
565,
289,
368,
679,
434,
309,
261,
87,
6485,
480,
446,
13,
565,
309,
261,
74,
6485,
480,
446,
13,
288,
3639,
327,
284,
5905,
1016,
3495,
12,
1937,
16,
4076,
1769,
565,
289,
368,
679,
434,
309,
261,
74,
6485,
480,
446,
13,
565,
309,
261,
72,
6485,
480,
446,
13,
288,
2
] |
List subs = getSubFeatures(seq); Collections.sort(subs, Feature.byEmblOrder); | List subs = getSubFeatures(seq); Collections.sort(subs, Feature.byEmblOrder); | public static void getSeqIOEvents(Sequence seq, SeqIOListener listener) throws BioException { try { // Inform listener of sequence start listener.startSequence(); // Pass name to listener listener.setName(seq.getName()); // Pass URN to listener listener.setURI(seq.getURN()); // Pass sequence properties to listener Annotation a = seq.getAnnotation(); for (Iterator ai = a.keys().iterator(); ai.hasNext();) { Object key = ai.next(); listener.addSequenceProperty(key, a.getProperty(key)); } // Recurse through sub feature tree, flattening it for // EMBL List subs = getSubFeatures(seq); Collections.sort(subs, Feature.byEmblOrder); // Put the source features first for EMBL for (Iterator fi = subs.iterator(); fi.hasNext();) { // The template is required to call startFeature Feature.Template t = ((Feature) fi.next()).makeTemplate(); // Inform listener of feature start listener.startFeature(t); // Pass feature properties (i.e. qualifiers to // listener) List keys = new ArrayList(); keys.addAll(t.annotation.keys()); Collections.sort(keys); for (Iterator ki = keys.iterator(); ki.hasNext();) { Object key = ki.next(); if (key.equals(Feature.PROPERTY_DATA_KEY)) continue; listener.addFeatureProperty(key, t.annotation.getProperty(key)); } // Inform listener of feature end listener.endFeature(); } // Add symbols listener.addSymbols(seq.getAlphabet(), (Symbol []) seq.toList().toArray(new Symbol [0]), 0, seq.length()); // Inform listener of sequence end listener.endSequence(); } catch (IllegalAlphabetException iae) { // This should never happen as the alphabet is being used // by this Sequence instance throw new BioException(iae, "An internal error occurred processing symbols of " + seq.toString() + " into SeqIO events"); } catch (ParseException pe) { throw new BioException(pe, "An internal error occurred processing " + seq.toString() + " into SeqIO events"); } } | 50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/8dfcb8a9a7ad95d813441dc1c1c904bb2e267f57/SeqIOEventEmitter.java/clean/src/org/biojava/bio/seq/io/SeqIOEventEmitter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1322,
11253,
4294,
3783,
12,
4021,
1377,
3833,
16,
6862,
1377,
14367,
4294,
2223,
2991,
13,
202,
15069,
21209,
503,
565,
288,
202,
698,
202,
95,
202,
565,
368,
657,
687,
2991,
434,
3102,
787,
202,
565,
2991,
18,
1937,
4021,
5621,
202,
565,
368,
10311,
508,
358,
2991,
202,
565,
2991,
18,
542,
461,
12,
5436,
18,
17994,
10663,
202,
565,
368,
10311,
1618,
50,
358,
2991,
202,
565,
2991,
18,
542,
3098,
12,
5436,
18,
588,
8521,
10663,
202,
565,
368,
10311,
3102,
1790,
358,
2991,
202,
565,
6090,
279,
273,
3833,
18,
588,
3257,
5621,
202,
565,
364,
261,
3198,
14679,
273,
279,
18,
2452,
7675,
9838,
5621,
14679,
18,
5332,
2134,
5621,
13,
202,
565,
288,
202,
202,
921,
498,
273,
14679,
18,
4285,
5621,
202,
202,
12757,
18,
1289,
4021,
1396,
12,
856,
16,
279,
18,
588,
1396,
12,
856,
10019,
202,
565,
289,
202,
565,
368,
868,
17682,
3059,
720,
2572,
2151,
16,
5341,
310,
518,
364,
202,
565,
368,
7141,
14618,
202,
565,
987,
11630,
273,
7040,
8696,
12,
5436,
1769,
202,
565,
5737,
18,
3804,
12,
22284,
16,
7881,
18,
1637,
1514,
3083,
2448,
1769,
202,
565,
368,
4399,
326,
1084,
4467,
1122,
364,
7141,
14618,
202,
565,
364,
261,
3198,
7314,
273,
11630,
18,
9838,
5621,
7314,
18,
5332,
2134,
5621,
13,
202,
565,
288,
9506,
202,
759,
1021,
1542,
353,
1931,
358,
745,
787,
4595,
202,
202,
4595,
18,
2283,
268,
273,
14015,
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,
1322,
11253,
4294,
3783,
12,
4021,
1377,
3833,
16,
6862,
1377,
14367,
4294,
2223,
2991,
13,
202,
15069,
21209,
503,
565,
288,
202,
698,
202,
95,
202,
565,
368,
657,
687,
2991,
434,
3102,
787,
202,
565,
2991,
18,
1937,
4021,
5621,
202,
565,
368,
10311,
508,
358,
2991,
202,
565,
2991,
18,
542,
461,
12,
5436,
18,
17994,
10663,
202,
565,
368,
10311,
1618,
50,
358,
2991,
202,
565,
2991,
18,
542,
3098,
12,
5436,
18,
588,
8521,
10663,
202,
565,
368,
10311,
3102,
1790,
358,
2991,
202,
565,
6090,
279,
273,
3833,
18,
588,
3257,
5621,
202,
565,
364,
261,
3198,
14679,
273,
279,
18,
2452,
7675,
9838,
5621,
14679,
18,
5332,
2134,
2
] |
public org.quickfix.field.EncodedUnderlyingSecurityDescLen getEncodedUnderlyingSecurityDescLen() throws FieldNotFound { org.quickfix.field.EncodedUnderlyingSecurityDescLen value = new org.quickfix.field.EncodedUnderlyingSecurityDescLen(); | public quickfix.field.EncodedUnderlyingSecurityDescLen getEncodedUnderlyingSecurityDescLen() throws FieldNotFound { quickfix.field.EncodedUnderlyingSecurityDescLen value = new quickfix.field.EncodedUnderlyingSecurityDescLen(); | public org.quickfix.field.EncodedUnderlyingSecurityDescLen getEncodedUnderlyingSecurityDescLen() throws FieldNotFound { org.quickfix.field.EncodedUnderlyingSecurityDescLen value = new org.quickfix.field.EncodedUnderlyingSecurityDescLen(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/Confirmation.java/buggy/src/java/src/quickfix/fix44/Confirmation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
4368,
4217,
2891,
28799,
14655,
6291,
4368,
4217,
2891,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
4368,
4217,
2891,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
4368,
4217,
2891,
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,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
4368,
4217,
2891,
28799,
14655,
6291,
4368,
4217,
2891,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
4368,
4217,
2891,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
4368,
4217,
2891,
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
] |
|| DesignElement.VIEW_ACTION_PROP.equals( propName ) ) | || IDesignElementModel.VIEW_ACTION_PROP.equals( propName ) ) | public static void duplicateProperties( DesignElementHandle source, DesignElementHandle destination, boolean onlyFactoryProperty ) { assert source != null; assert destination != null; if ( !( ( source instanceof ReportDesignHandle ) && ( destination instanceof LibraryHandle ) ) ) assert destination.getDefn( ).getName( ).equalsIgnoreCase( source.getDefn( ).getName( ) ); if ( source.getDefn( ).allowsUserProperties( ) ) { PropertyHandle propHandle = source .getPropertyHandle( DesignElement.USER_PROPERTIES_PROP ); Object value = source.getElement( ).getUserProperties( ); Object valueToSet = null; if ( propHandle != null ) { valueToSet = ModelUtil.copyValue( propHandle.getDefn( ), value ); } if ( valueToSet != null ) { Iterator iter = ( (List) valueToSet ).iterator( ); while ( iter.hasNext( ) ) { UserPropertyDefn userPropDefn = (UserPropertyDefn) iter .next( ); destination.getElement( ) .addUserPropertyDefn( userPropDefn ); } } } if ( source.getElement( ) instanceof IExtendableElement ) duplicateExtensionIdentifier( source.getElement( ), destination .getElement( ), source.getModule( ) ); Iterator iter = source.getPropertyIterator( ); while ( iter.hasNext( ) ) { PropertyHandle propHandle = (PropertyHandle) iter.next( ); String propName = propHandle.getDefn( ).getName( ); // Style property and extends property will be removed. // The properties inherited from style or parent will be // flatten to new element. if ( StyledElement.STYLE_PROP.equals( propName ) || DesignElement.EXTENDS_PROP.equals( propName ) || DesignElement.USER_PROPERTIES_PROP.equals( propName ) || IOdaExtendableElementModel.EXTENSION_ID_PROP .equals( propName ) || IExtendedItemModel.EXTENSION_NAME_PROP.equals( propName ) || DesignElement.REF_TEMPLATE_PARAMETER_PROP .equals( propName ) || DesignElement.VIEW_ACTION_PROP.equals( propName ) ) continue; ElementPropertyDefn propDefn = destination.getElement( ) .getPropertyDefn( propName ); if ( propDefn == null ) continue; Object value = null; // the special case for the toc, pageBreakAfter and pageBreakBefore // properties on the group element // for toc the default value is the group expression. if ( propHandle.getElement( ) instanceof GroupElement && ( GroupElement.TOC_PROP.equals( propName ) || IStyleModel.PAGE_BREAK_AFTER_PROP .equals( propName ) || IStyleModel.PAGE_BREAK_BEFORE_PROP .equals( propName ) || IStyleModel.PAGE_BREAK_INSIDE_PROP .equals( propName ) ) ) value = propHandle.getElement( ).getLocalProperty( propHandle.getModule( ), propDefn ); else if ( onlyFactoryProperty ) value = propHandle.getElement( ).getFactoryProperty( propHandle.getModule( ), propDefn ); else if ( Module.IMAGES_PROP.equals( propName ) ) { // Copy the embedded images Iterator images = source.getPropertyHandle( Module.IMAGES_PROP ) .iterator( ); while ( images.hasNext( ) ) { StructureHandle image = (StructureHandle) images.next( ); try { ElementExportUtil.exportStructure( image, (LibraryHandle) destination, false ); } catch ( SemanticException e ) { assert false; } } continue; } else value = propHandle.getElement( ).getStrategy( ) .getPropertyExceptRomDefault( propHandle.getModule( ), propHandle.getElement( ), propDefn ); Object valueToSet = ModelUtil.copyValue( propHandle.getDefn( ), value ); destination.getElement( ).setProperty( propName, valueToSet ); } } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/d802c33711e0d111551ae23575895cd060f085b6/ModelUtil.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
6751,
2297,
12,
29703,
1046,
3259,
1084,
16,
1082,
202,
15478,
1046,
3259,
2929,
16,
1250,
1338,
1733,
1396,
262,
202,
95,
202,
202,
11231,
1084,
480,
446,
31,
202,
202,
11231,
2929,
480,
446,
31,
202,
202,
430,
261,
401,
12,
261,
1084,
1276,
8706,
15478,
3259,
262,
597,
261,
2929,
1276,
18694,
3259,
262,
262,
262,
1082,
202,
11231,
2929,
18,
588,
3262,
82,
12,
262,
18,
17994,
12,
262,
18,
14963,
5556,
12,
6862,
202,
3168,
18,
588,
3262,
82,
12,
262,
18,
17994,
12,
262,
11272,
202,
202,
430,
261,
1084,
18,
588,
3262,
82,
12,
262,
18,
5965,
87,
1299,
2297,
12,
262,
262,
202,
202,
95,
1082,
202,
1396,
3259,
2270,
3259,
273,
1084,
6862,
202,
18,
588,
1396,
3259,
12,
29703,
1046,
18,
4714,
67,
17421,
67,
15811,
11272,
1082,
202,
921,
460,
273,
1084,
18,
21336,
12,
262,
18,
588,
1299,
2297,
12,
11272,
1082,
202,
921,
460,
25208,
273,
446,
31,
1082,
202,
430,
261,
2270,
3259,
480,
446,
262,
1082,
202,
95,
9506,
202,
1132,
25208,
273,
3164,
1304,
18,
3530,
620,
12,
2270,
3259,
18,
588,
3262,
82,
12,
262,
16,
460,
11272,
1082,
202,
97,
1082,
202,
430,
261,
460,
25208,
480,
446,
262,
1082,
202,
95,
9506,
202,
3198,
1400,
273,
261,
261,
682,
13,
460,
25208,
262,
18,
9838,
12,
11272,
9506,
202,
17523,
261,
1400,
18,
5332,
2134,
12,
262,
262,
9506,
202,
95,
6862,
202,
1299,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
6751,
2297,
12,
29703,
1046,
3259,
1084,
16,
1082,
202,
15478,
1046,
3259,
2929,
16,
1250,
1338,
1733,
1396,
262,
202,
95,
202,
202,
11231,
1084,
480,
446,
31,
202,
202,
11231,
2929,
480,
446,
31,
202,
202,
430,
261,
401,
12,
261,
1084,
1276,
8706,
15478,
3259,
262,
597,
261,
2929,
1276,
18694,
3259,
262,
262,
262,
1082,
202,
11231,
2929,
18,
588,
3262,
82,
12,
262,
18,
17994,
12,
262,
18,
14963,
5556,
12,
6862,
202,
3168,
18,
588,
3262,
82,
12,
262,
18,
17994,
12,
262,
11272,
202,
202,
430,
261,
1084,
18,
588,
3262,
82,
12,
262,
18,
5965,
87,
1299,
2297,
12,
262,
262,
202,
202,
95,
1082,
202,
2
] |
category = argument; | categoryString = argument; else if (option.equals("-designation")) designationString = argument; | protected void handleOptionWithArgument(String option, String argument) throws IOException { if (option.equals("-priority")) { priority = parsePriority(argument); } else if (option.equals("-first")) firstAsString = argument; else if (option.equals("-last")) lastAsString = argument; else if (option.equals("-fixed")) fixedAsString = argument; else if (option.equals("-after")) afterAsString = argument; else if (option.equals("-before")) beforeAsString = argument; else if (option.equals("-present")) presentAsString = argument; else if (option.equals("-absent")) absentAsString = argument; else if (option.equals("-category")) category = argument; else if (option.equals("-class")) className = Pattern.compile(argument); else if (option.equals("-bugPattern")) bugPattern = Pattern.compile(argument); else if (option.equals("-annotation")) annotation = argument; else if (option.equals("-include")) { try { includeFilter = new edu.umd.cs.findbugs.filter.Filter(argument); } catch (FilterException e) { throw new IllegalArgumentException("Error processing include file: " + argument, e); } } else if (option.equals("-exclude")) { try { excludeFilter = new edu.umd.cs.findbugs.filter.Filter(argument); } catch (FilterException e) { throw new IllegalArgumentException("Error processing include file: " + argument, e); } } else throw new IllegalArgumentException("can't handle command line argument of " + option); } | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/f3bc4fd64fa6d192d32f7eb4a73680f0457905bf/Filter.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/workflow/Filter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
918,
1640,
1895,
1190,
1379,
12,
780,
1456,
16,
514,
1237,
13,
1216,
1860,
288,
1082,
202,
430,
261,
3482,
18,
14963,
2932,
17,
8457,
6,
3719,
288,
9506,
202,
8457,
273,
1109,
8183,
12,
3446,
1769,
1082,
202,
97,
25083,
202,
12107,
309,
261,
3482,
18,
14963,
2932,
17,
3645,
6,
3719,
4697,
202,
3645,
8092,
273,
1237,
31,
1082,
202,
12107,
309,
261,
3482,
18,
14963,
2932,
17,
2722,
6,
3719,
4697,
202,
2722,
8092,
273,
1237,
31,
1082,
202,
12107,
309,
261,
3482,
18,
14963,
2932,
17,
12429,
6,
3719,
4697,
202,
12429,
8092,
273,
1237,
31,
1082,
202,
12107,
309,
261,
3482,
18,
14963,
2932,
17,
5205,
6,
3719,
4697,
202,
5205,
8092,
273,
1237,
31,
1082,
202,
12107,
309,
261,
3482,
18,
14963,
2932,
17,
5771,
6,
3719,
4697,
202,
5771,
8092,
273,
1237,
31,
1082,
202,
12107,
309,
261,
3482,
18,
14963,
2932,
17,
6706,
6,
3719,
4697,
202,
6706,
8092,
273,
1237,
31,
1082,
202,
12107,
309,
261,
3482,
18,
14963,
2932,
17,
5113,
319,
6,
3719,
4697,
202,
5113,
319,
8092,
273,
1237,
31,
25083,
202,
12107,
309,
261,
3482,
18,
14963,
2932,
17,
4743,
6,
3719,
9506,
202,
4743,
273,
1237,
31,
1082,
202,
12107,
309,
261,
3482,
18,
14963,
2932,
17,
1106,
6,
3719,
6862,
202,
12434,
273,
6830,
18,
11100,
12,
3446,
1769,
1082,
202,
12107,
309,
261,
3482,
18,
14963,
2932,
17,
925,
3234,
6,
3719,
6862,
202,
925,
3234,
273,
6830,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
918,
1640,
1895,
1190,
1379,
12,
780,
1456,
16,
514,
1237,
13,
1216,
1860,
288,
1082,
202,
430,
261,
3482,
18,
14963,
2932,
17,
8457,
6,
3719,
288,
9506,
202,
8457,
273,
1109,
8183,
12,
3446,
1769,
1082,
202,
97,
25083,
202,
12107,
309,
261,
3482,
18,
14963,
2932,
17,
3645,
6,
3719,
4697,
202,
3645,
8092,
273,
1237,
31,
1082,
202,
12107,
309,
261,
3482,
18,
14963,
2932,
17,
2722,
6,
3719,
4697,
202,
2722,
8092,
273,
1237,
31,
1082,
202,
12107,
309,
261,
3482,
18,
14963,
2932,
17,
12429,
6,
3719,
4697,
202,
12429,
8092,
273,
1237,
31,
1082,
202,
12107,
309,
261,
3482,
18,
14963,
2932,
17,
5205,
6,
3719,
4697,
202,
5205,
2
] |
if (nloop.get(out.getNumber())) { | if (OPT_CFGTransformations.inLoop (out, nloop)) { | static OPT_BasicBlock[] makeSomeCopies (int unrollFactor, OPT_IR ir, OPT_BitVector nloop, int blocks, OPT_BasicBlock header, OPT_BasicBlock exitBlock, OPT_BasicBlock seqStart) { // make some copies of the original loop OPT_BasicBlock seqEnd = seqStart.nextBasicBlockInCodeOrder(); if (seqEnd != null) ir.cfg.breakCodeOrder(seqStart, seqEnd); OPT_BasicBlock seqLast = seqStart; OPT_BasicBlock firstHeader = null; OPT_BasicBlock lastHeader = null; OPT_BasicBlock lastExit = null; OPT_BasicBlock handles[] = new OPT_BasicBlock[2]; OPT_BasicBlock bCopy = null; OPT_BitVector loop = new OPT_BitVector (nloop); loop.clear(header.getNumber()); loop.clear(exitBlock.getNumber()); for (int i = 0; i < unrollFactor; ++i) { // copy header seqLast = copyAndLinkBlock(ir, seqLast, header); lastHeader = seqLast; if (i == 0) { firstHeader = seqLast; } else { // link copies by jumps OPT_CFGTransformations.removeYieldPoint(seqLast); lastExit.lastInstruction().insertBefore (Goto.create(GOTO, seqLast.makeJumpTarget())); lastExit.recomputeNormalOut(ir); } // copy body OPT_BasicBlockEnumeration bs = ir.getBasicBlocks (loop); while (bs.hasMoreElements()) { seqLast = copyAndLinkBlock (ir, seqLast, bs.next()); } // copy exit block if (exitBlock != header) { seqLast = copyAndLinkBlock (ir, seqLast, exitBlock); lastExit = seqLast; } else { lastExit = lastHeader; } // delete all branches in the copies of the exit block deleteBranches (lastExit); // redirect internal branches OPT_BasicBlock cb = seqLast; for (int j = 0; j < blocks; ++j) { cb.recomputeNormalOut(ir); OPT_BasicBlockEnumeration be = cb.getOut(); while (be.hasMoreElements()) { OPT_BasicBlock out = be.next(); if (nloop.get(out.getNumber())) { cb.redirectOuts (out, (OPT_BasicBlock) out.scratchObject, ir); } } cb.recomputeNormalOut(ir); cb = cb.prevBasicBlockInCodeOrder(); } } if (seqEnd != null) ir.cfg.linkInCodeOrder (seqLast, seqEnd); handles[0] = firstHeader; handles[1] = lastExit; return handles; } | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/ba9176ee0d2adcd87c3b329bd79a0d01eff8449f/OPT_LoopUnrolling.java/buggy/rvm/src/vm/compilers/optimizing/optimizations/control/OPT_LoopUnrolling.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
16456,
67,
8252,
1768,
8526,
1221,
17358,
15670,
261,
474,
640,
2693,
6837,
16,
16456,
67,
7937,
9482,
16,
25083,
225,
16456,
67,
5775,
5018,
290,
6498,
16,
25083,
225,
509,
4398,
16,
25083,
225,
16456,
67,
8252,
1768,
1446,
16,
25083,
225,
16456,
67,
8252,
1768,
2427,
1768,
16,
25083,
225,
16456,
67,
8252,
1768,
3833,
1685,
13,
225,
288,
565,
368,
1221,
2690,
13200,
434,
326,
2282,
2798,
565,
16456,
67,
8252,
1768,
3833,
1638,
273,
3833,
1685,
18,
4285,
8252,
1768,
382,
1085,
2448,
5621,
565,
309,
261,
5436,
1638,
480,
446,
13,
9482,
18,
7066,
18,
8820,
1085,
2448,
12,
5436,
1685,
16,
3833,
1638,
1769,
565,
16456,
67,
8252,
1768,
3833,
3024,
273,
3833,
1685,
31,
565,
16456,
67,
8252,
1768,
1122,
1864,
273,
446,
31,
565,
16456,
67,
8252,
1768,
1142,
1864,
273,
446,
31,
565,
16456,
67,
8252,
1768,
1142,
6767,
273,
446,
31,
565,
16456,
67,
8252,
1768,
7372,
8526,
273,
394,
16456,
67,
8252,
1768,
63,
22,
15533,
3639,
16456,
67,
8252,
1768,
324,
2951,
273,
446,
31,
565,
16456,
67,
5775,
5018,
2798,
273,
394,
16456,
67,
5775,
5018,
261,
82,
6498,
1769,
565,
2798,
18,
8507,
12,
3374,
18,
588,
1854,
10663,
565,
2798,
18,
8507,
12,
8593,
1768,
18,
588,
1854,
10663,
3639,
364,
261,
474,
277,
273,
374,
31,
225,
277,
411,
640,
2693,
6837,
31,
225,
965,
77,
13,
288,
1377,
368,
1610,
1446,
1377,
3833,
3024,
273,
1610,
1876,
2098,
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,
760,
16456,
67,
8252,
1768,
8526,
1221,
17358,
15670,
261,
474,
640,
2693,
6837,
16,
16456,
67,
7937,
9482,
16,
25083,
225,
16456,
67,
5775,
5018,
290,
6498,
16,
25083,
225,
509,
4398,
16,
25083,
225,
16456,
67,
8252,
1768,
1446,
16,
25083,
225,
16456,
67,
8252,
1768,
2427,
1768,
16,
25083,
225,
16456,
67,
8252,
1768,
3833,
1685,
13,
225,
288,
565,
368,
1221,
2690,
13200,
434,
326,
2282,
2798,
565,
16456,
67,
8252,
1768,
3833,
1638,
273,
3833,
1685,
18,
4285,
8252,
1768,
382,
1085,
2448,
5621,
565,
309,
261,
5436,
1638,
480,
446,
13,
9482,
18,
7066,
18,
8820,
1085,
2448,
12,
5436,
1685,
16,
3833,
1638,
1769,
565,
16456,
67,
8252,
1768,
3833,
3024,
2
] |
f[7] = new Field(connection, "BUFFER_LENGTH", iVarcharOid, 32); | f[7] = new Field(connection, "BUFFER_LENGTH", iVarcharOid, NAME_SIZE); | public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { Vector v = new Vector(); // The new ResultSet tuple stuff Field f[] = new Field[18]; // The field descriptors for the new ResultSet f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, 32); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, 32); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, 32); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, 32); f[4] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[5] = new Field(connection, "TYPE_NAME", iVarcharOid, 32); f[6] = new Field(connection, "COLUMN_SIZE", iInt4Oid, 4); f[7] = new Field(connection, "BUFFER_LENGTH", iVarcharOid, 32); f[8] = new Field(connection, "DECIMAL_DIGITS", iInt4Oid, 4); f[9] = new Field(connection, "NUM_PREC_RADIX", iInt4Oid, 4); f[10] = new Field(connection, "NULLABLE", iInt4Oid, 4); f[11] = new Field(connection, "REMARKS", iVarcharOid, 32); f[12] = new Field(connection, "COLUMN_DEF", iVarcharOid, 32); f[13] = new Field(connection, "SQL_DATA_TYPE", iInt4Oid, 4); f[14] = new Field(connection, "SQL_DATETIME_SUB", iInt4Oid, 4); f[15] = new Field(connection, "CHAR_OCTET_LENGTH", iVarcharOid, 32); f[16] = new Field(connection, "ORDINAL_POSITION", iInt4Oid, 4); f[17] = new Field(connection, "IS_NULLABLE", iVarcharOid, 32); StringBuffer sql = new StringBuffer(512); /* Build a >= 7.1 SQL statement to list all columns */ sql.append("select " + (connection.haveMinimumServerVersion("7.2") ? "a.attrelid, " : "a.oid, ") + " c.relname, " + " a.attname, " + " a.atttypid, " + " a.attnum, " + " a.attnotnull, " + " a.attlen, " + " a.atttypmod, " + " d.adsrc, " + " t.typname, " + /* Use the new col_description in 7.2 or an additional outer join in 7.1 */ (connection.haveMinimumServerVersion("7.2") ? "col_description(a.attrelid, a.attnum) " : "e.description ") + "from" + " (" + " (pg_class c inner join pg_attribute a on" + " (" + " a.attrelid=c.oid"); if ((tableNamePattern != null) && ! tableNamePattern.equals("%")) { sql.append(" and c.relname like \'" + tableNamePattern.toLowerCase() + "\'"); } if ((columnNamePattern != null) && ! columnNamePattern.equals("%")) { sql.append(" and a.attname like \'" + columnNamePattern.toLowerCase() + "\'"); } sql.append( " and a.attnum > 0" + " )" + " ) inner join pg_type t on" + " (" + " t.oid = a.atttypid" + " )" + " )" + " left outer join pg_attrdef d on" + " (" + " c.oid = d.adrelid" + " and a.attnum = d.adnum" + " ) "); if (!connection.haveMinimumServerVersion("7.2")) { /* Only for 7.1 */ sql.append( " left outer join pg_description e on" + " (" + " e.objoid = a.oid" + " ) "); } sql.append("order by" + " c.relname, a.attnum"); java.sql.ResultSet r = connection.ExecSQL(sql.toString()); while (r.next()) { byte[][] tuple = new byte[18][0]; String nullFlag = r.getString(6); String typname = r.getString(10); tuple[0] = null; // Catalog name, not supported tuple[1] = null; // Schema name, not supported tuple[2] = r.getBytes(2); // Table name tuple[3] = r.getBytes(3); // Column name tuple[4] = Integer.toString(connection.getSQLType(typname)).getBytes(); // Data type tuple[5] = typname.getBytes(); // Type name // Column size // Looking at the psql source, // I think the length of a varchar as specified when the table was created // should be extracted from atttypmod which contains this length + sizeof(int32) if (typname.equals("bpchar") || typname.equals("varchar")) { int atttypmod = r.getInt(8); tuple[6] = Integer.toString(atttypmod != -1 ? atttypmod - VARHDRSZ : 0).getBytes(); } else { tuple[6] = r.getBytes(7); } tuple[7] = null; // Buffer length // Decimal digits = scale // From the source (see e.g. backend/utils/adt/format_type.c, // function numeric()) the scale and precision can be calculated // from the typmod value. if (typname.equals("numeric") || typname.equals("decimal")) { int attypmod = r.getInt(8) - VARHDRSZ; tuple[8] = Integer.toString(attypmod & 0xffff).getBytes(); tuple[9] = Integer.toString( ( attypmod >> 16 ) & 0xffff ).getBytes(); } else { tuple[8] = "0".getBytes(); tuple[9] = "10".getBytes(); // Num Prec Radix - assume decimal } tuple[10] = Integer.toString(nullFlag.equals("f") ? java.sql.DatabaseMetaData.columnNullable : java.sql.DatabaseMetaData.columnNoNulls).getBytes(); // Nullable tuple[11] = r.getBytes(11); // Description (if any) tuple[12] = r.getBytes(9); // Column default tuple[13] = null; // sql data type (unused) tuple[14] = null; // sql datetime sub (unused) tuple[15] = tuple[6]; // char octet length tuple[16] = r.getBytes(5); // ordinal position tuple[17] = (nullFlag.equals("f") ? "YES" : "NO").getBytes(); // Is nullable v.addElement(tuple); } r.close(); return connection.getResultSet(null, f, v, "OK", 1); } | 46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/62da2fa0e1cb3cf1df8d633f785e391c35477f7e/AbstractJdbc1DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
14226,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
7578,
3234,
13,
1216,
6483,
202,
95,
202,
202,
5018,
331,
273,
394,
5589,
5621,
202,
202,
759,
1021,
394,
10842,
3193,
10769,
202,
202,
974,
284,
8526,
273,
394,
2286,
63,
2643,
15533,
202,
202,
759,
1021,
652,
14215,
364,
326,
394,
10842,
202,
202,
74,
63,
20,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
202,
202,
74,
63,
21,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
202,
202,
74,
63,
22,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
202,
202,
74,
63,
23,
65,
273,
394,
2286,
12,
4071,
16,
315,
11009,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
202,
202,
74,
63,
24,
65,
273,
394,
2286,
12,
4071,
16,
315,
4883,
67,
2399,
3113,
277,
1702,
22,
19105,
16,
576,
1769,
202,
202,
74,
63,
25,
65,
273,
394,
2286,
12,
4071,
16,
315,
2399,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
202,
202,
74,
63,
26,
65,
273,
394,
2286,
12,
4071,
16,
315,
11009,
67,
4574,
3113,
277,
1702,
24,
19105,
16,
1059,
1769,
202,
202,
74,
63,
27,
65,
273,
394,
2286,
12,
4071,
16,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
14226,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
7578,
3234,
13,
1216,
6483,
202,
95,
202,
202,
5018,
331,
273,
394,
5589,
5621,
202,
202,
759,
1021,
394,
10842,
3193,
10769,
202,
202,
974,
284,
8526,
273,
394,
2286,
63,
2643,
15533,
202,
202,
759,
1021,
652,
14215,
364,
326,
394,
10842,
202,
202,
74,
63,
20,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
202,
202,
74,
63,
21,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
202,
202,
74,
63,
2
] |
opcode = DataTools.bytesToInt(bytes, pt, 2, littleEndian); | opcode = DataTools.bytesToInt(bytes, pt, 2, little); | private boolean driveDecoder() throws FormatException { if (DEBUG) System.out.println("PictReader.driveDecoder"); int opcode, version; switch (pictState) { case INITIAL: int ret; int fileSize = DataTools.bytesToInt(bytes, pt, 2, littleEndian); pt += 2; // skip over frame pt += 8; int verOpcode = DataTools.bytesToInt(bytes, pt, 1, littleEndian); pt++; int verNumber = DataTools.bytesToInt(bytes, pt, 1, littleEndian); pt++; if (verOpcode == 0x11 && verNumber == 0x01) versionOne = true; else if (verOpcode == 0x00 && verNumber == 0x11) { versionOne = false; int verOpcode2 = 0x0011; int verNumber2 = DataTools.bytesToInt(bytes, pt, 2, littleEndian); pt += 2; if (verNumber2 != 0x02ff) { throw new FormatException("Invalid PICT file : " + verNumber2); } // skip over v2 header -- don't need it here pt += 26; } else throw new FormatException("Invalid PICT file"); pictState = STATE2; state |= INFOAVAIL; return true; case STATE2: if (versionOne) { opcode = DataTools.bytesToInt(bytes, pt, 1, littleEndian); pt++; } else { // if at odd boundary skip a byte for opcode in PICT v2 if ((pt & 0x1L) != 0) { pt++; } opcode = DataTools.bytesToInt(bytes, pt, 2, littleEndian); pt += 2; } return drivePictDecoder(opcode); } return true; } | 11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/4cf4a7ff76a166988d770aa51d298fa2f84c9e2c/PictReader.java/buggy/loci/formats/PictReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
14316,
7975,
1435,
1216,
4077,
503,
288,
565,
309,
261,
9394,
13,
2332,
18,
659,
18,
8222,
2932,
52,
933,
2514,
18,
25431,
7975,
8863,
565,
509,
11396,
16,
1177,
31,
565,
1620,
261,
84,
933,
1119,
13,
288,
1377,
648,
28226,
30,
3639,
509,
325,
31,
3639,
509,
18984,
273,
1910,
10348,
18,
3890,
17864,
12,
3890,
16,
5818,
16,
576,
16,
328,
10609,
1769,
3639,
5818,
1011,
576,
31,
3639,
368,
2488,
1879,
2623,
3639,
5818,
1011,
1725,
31,
3639,
509,
1924,
22808,
273,
1910,
10348,
18,
3890,
17864,
12,
3890,
16,
5818,
16,
404,
16,
328,
10609,
1769,
3639,
5818,
9904,
31,
3639,
509,
1924,
1854,
273,
1910,
10348,
18,
3890,
17864,
12,
3890,
16,
5818,
16,
404,
16,
328,
10609,
1769,
3639,
5818,
9904,
31,
3639,
309,
261,
502,
22808,
422,
374,
92,
2499,
597,
1924,
1854,
422,
374,
92,
1611,
13,
1177,
3335,
273,
638,
31,
3639,
469,
309,
261,
502,
22808,
422,
374,
92,
713,
597,
1924,
1854,
422,
374,
92,
2499,
13,
288,
1850,
1177,
3335,
273,
629,
31,
1850,
509,
1924,
22808,
22,
273,
374,
92,
713,
2499,
31,
1850,
509,
1924,
1854,
22,
273,
1910,
10348,
18,
3890,
17864,
12,
3890,
16,
5818,
16,
576,
16,
328,
10609,
1769,
1850,
5818,
1011,
576,
31,
1850,
309,
261,
502,
1854,
22,
480,
374,
92,
3103,
1403,
13,
288,
5411,
604,
394,
4077,
503,
2932,
1941,
7024,
1268,
585,
294,
315,
397,
1924,
1854,
22,
1769,
1850,
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,
1250,
14316,
7975,
1435,
1216,
4077,
503,
288,
565,
309,
261,
9394,
13,
2332,
18,
659,
18,
8222,
2932,
52,
933,
2514,
18,
25431,
7975,
8863,
565,
509,
11396,
16,
1177,
31,
565,
1620,
261,
84,
933,
1119,
13,
288,
1377,
648,
28226,
30,
3639,
509,
325,
31,
3639,
509,
18984,
273,
1910,
10348,
18,
3890,
17864,
12,
3890,
16,
5818,
16,
576,
16,
328,
10609,
1769,
3639,
5818,
1011,
576,
31,
3639,
368,
2488,
1879,
2623,
3639,
5818,
1011,
1725,
31,
3639,
509,
1924,
22808,
273,
1910,
10348,
18,
3890,
17864,
12,
3890,
16,
5818,
16,
404,
16,
328,
10609,
1769,
3639,
5818,
9904,
31,
3639,
509,
1924,
1854,
273,
1910,
10348,
18,
3890,
17864,
12,
2
] |
if (pl2 != null && pl.equals(pl2)) { | if (pl.equals(pl2)) { | public int getHeapObjectIndex(ProgramLocation pl) { Collection c = methodToVariables.getValues(pl.getMethod()); for (Iterator i = c.iterator(); i.hasNext(); ) { Node o = (Node) i.next(); if (o instanceof ConcreteTypeNode) { ConcreteTypeNode ctn = (ConcreteTypeNode) o; ProgramLocation pl2 = ctn.getLocation(); Assert._assert(pl2.getMethod() == pl.getMethod()); Assert._assert(pl.getClass() == pl2.getClass()); if (pl2 != null && pl.equals(pl2)) { return getHeapIndex(o); } } } return -1; } | 3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/b43e068069ef682f091dc7531466761863db32b6/CSPAResults.java/buggy/joeq_core/joeq/Compiler/Analysis/IPA/CSPAResults.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
336,
15648,
921,
1016,
12,
9459,
2735,
886,
13,
288,
3639,
2200,
276,
273,
707,
774,
6158,
18,
588,
1972,
12,
412,
18,
588,
1305,
10663,
3639,
364,
261,
3198,
277,
273,
276,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
288,
5411,
2029,
320,
273,
261,
907,
13,
277,
18,
4285,
5621,
5411,
309,
261,
83,
1276,
735,
6883,
559,
907,
13,
288,
7734,
735,
6883,
559,
907,
276,
5088,
273,
261,
25845,
559,
907,
13,
320,
31,
7734,
13586,
2735,
886,
22,
273,
276,
5088,
18,
588,
2735,
5621,
7734,
5452,
6315,
11231,
12,
412,
22,
18,
588,
1305,
1435,
422,
886,
18,
588,
1305,
10663,
7734,
5452,
6315,
11231,
12,
412,
18,
588,
797,
1435,
422,
886,
22,
18,
588,
797,
10663,
7734,
309,
261,
412,
18,
14963,
12,
412,
22,
3719,
288,
10792,
327,
336,
15648,
1016,
12,
83,
1769,
7734,
289,
5411,
289,
3639,
289,
3639,
327,
300,
21,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
336,
15648,
921,
1016,
12,
9459,
2735,
886,
13,
288,
3639,
2200,
276,
273,
707,
774,
6158,
18,
588,
1972,
12,
412,
18,
588,
1305,
10663,
3639,
364,
261,
3198,
277,
273,
276,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
288,
5411,
2029,
320,
273,
261,
907,
13,
277,
18,
4285,
5621,
5411,
309,
261,
83,
1276,
735,
6883,
559,
907,
13,
288,
7734,
735,
6883,
559,
907,
276,
5088,
273,
261,
25845,
559,
907,
13,
320,
31,
7734,
13586,
2735,
886,
22,
273,
276,
5088,
18,
588,
2735,
5621,
7734,
5452,
6315,
11231,
12,
412,
22,
18,
588,
1305,
1435,
422,
886,
18,
588,
1305,
10663,
7734,
5452,
6315,
11231,
12,
412,
18,
2
] |
return reservedWords.contains(s.toUpperCase()); } | return reservedWords.contains(s.toUpperCase()); } | public boolean isReserved(String s) { return reservedWords.contains(s.toUpperCase()); } | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/BuiltinFunTable.java/buggy/src/main/mondrian/olap/fun/BuiltinFunTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
10435,
12,
780,
272,
13,
288,
202,
202,
2463,
8735,
7363,
18,
12298,
12,
87,
18,
869,
8915,
10663,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
10435,
12,
780,
272,
13,
288,
202,
202,
2463,
8735,
7363,
18,
12298,
12,
87,
18,
869,
8915,
10663,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
IProject project = (IProject)owner; | public String getOutputFlag(String outputExt) { IProject project = (IProject)owner; // Treat null extension as an empty string String ext = outputExt == null ? new String() : outputExt; // Get all the tools for the current config String flags = new String(); IConfiguration config = getDefaultConfiguration(getDefaultTarget()); ITool[] tools = config.getFilteredTools(project); for (int index = 0; index < tools.length; index++) { ITool tool = tools[index]; // It's OK if (tool.producesFileType(ext)) { flags = tool.getOutputFlag(); } } return flags; } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/5c9fe1859cabfbd4618959eb71f6e54c1222ce0d/ManagedBuildInfo.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ManagedBuildInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
11062,
4678,
12,
780,
876,
2482,
13,
288,
202,
202,
45,
4109,
1984,
273,
261,
45,
4109,
13,
8443,
31,
202,
202,
759,
26564,
446,
2710,
487,
392,
1008,
533,
202,
202,
780,
1110,
273,
876,
2482,
422,
446,
692,
394,
514,
1435,
294,
876,
2482,
31,
9506,
202,
759,
968,
777,
326,
8513,
364,
326,
783,
642,
202,
202,
780,
2943,
273,
394,
514,
5621,
202,
202,
45,
1750,
642,
273,
4829,
1750,
12,
588,
1868,
2326,
10663,
202,
202,
45,
6364,
8526,
8513,
273,
642,
18,
588,
14478,
10348,
12,
4406,
1769,
202,
202,
1884,
261,
474,
770,
273,
374,
31,
770,
411,
8513,
18,
2469,
31,
770,
27245,
288,
1082,
202,
45,
6364,
5226,
273,
8513,
63,
1615,
15533,
1082,
202,
759,
2597,
1807,
7791,
1082,
202,
430,
261,
6738,
18,
11776,
764,
28941,
12,
408,
3719,
288,
9506,
202,
7133,
273,
5226,
18,
588,
1447,
4678,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
2943,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,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,
482,
514,
11062,
4678,
12,
780,
876,
2482,
13,
288,
202,
202,
45,
4109,
1984,
273,
261,
45,
4109,
13,
8443,
31,
202,
202,
759,
26564,
446,
2710,
487,
392,
1008,
533,
202,
202,
780,
1110,
273,
876,
2482,
422,
446,
692,
394,
514,
1435,
294,
876,
2482,
31,
9506,
202,
759,
968,
777,
326,
8513,
364,
326,
783,
642,
202,
202,
780,
2943,
273,
394,
514,
5621,
202,
202,
45,
1750,
642,
273,
4829,
1750,
12,
588,
1868,
2326,
10663,
202,
202,
45,
6364,
8526,
8513,
273,
642,
18,
588,
14478,
10348,
12,
4406,
1769,
202,
202,
1884,
261,
474,
770,
273,
374,
31,
770,
411,
8513,
18,
2469,
31,
770,
27245,
288,
1082,
202,
45,
2
] | |
int jtype = getType(datatypes[i][2]); if (pass == 1) cstmt.setObject(1,null,jtype,10); if (jtype == java.sql.Types.NUMERIC || jtype == java.sql.Types.DECIMAL) { cstmt.registerOutParameter(1, jtype, 10); if (pass == 0) cstmt.setObject(1,datatypes[i][2],jtype,10); } else if (jtype == java.sql.Types.VARCHAR) { cstmt.registerOutParameter(1, jtype, 255); if (pass == 0) cstmt.setObject(1,datatypes[i][2]); } else { cstmt.registerOutParameter(1, jtype); if (pass == 0) cstmt.setObject(1,datatypes[i][2]); } | int jtype = getType(datatypes[i][2]); if (pass == 1) cstmt.setObject(1, null, jtype, 10); if (jtype == java.sql.Types.NUMERIC || jtype == java.sql.Types.DECIMAL) { cstmt.registerOutParameter(1, jtype, 10); if (pass == 0) cstmt.setObject(1, datatypes[i][2], jtype, 10); } else if (jtype == java.sql.Types.VARCHAR) { cstmt.registerOutParameter(1, jtype, 255); if (pass == 0) cstmt.setObject(1, datatypes[i][2]); } else { cstmt.registerOutParameter(1, jtype); if (pass == 0) cstmt.setObject(1, datatypes[i][2]); } | public void testOutputParams() throws Exception { Statement stmt = con.createStatement(); dropProcedure("#jtds_outputTest"); Object[][] datatypes = getDatatypes(); for (int i = 0; i < datatypes.length; i++) { String valueToAssign; boolean bImage = datatypes[i][0].equals("image"); if( bImage ) valueToAssign = ""; else valueToAssign = " = " + datatypes[i][1]; String sql = "create procedure #jtds_outputTest " + "@a1 " + datatypes[i][0] + " = null out " + "as select @a1" + valueToAssign; stmt.executeUpdate(sql); for( int pass=0; (pass<2 && !bImage) || pass<1; pass++ ) { CallableStatement cstmt = con.prepareCall("{call #jtds_outputTest(?)}"); int jtype = getType(datatypes[i][2]); if (pass == 1) cstmt.setObject(1,null,jtype,10); if (jtype == java.sql.Types.NUMERIC || jtype == java.sql.Types.DECIMAL) { cstmt.registerOutParameter(1, jtype, 10); if (pass == 0) cstmt.setObject(1,datatypes[i][2],jtype,10); } else if (jtype == java.sql.Types.VARCHAR) { cstmt.registerOutParameter(1, jtype, 255); if (pass == 0) cstmt.setObject(1,datatypes[i][2]); } else { cstmt.registerOutParameter(1, jtype); if (pass == 0) cstmt.setObject(1,datatypes[i][2]); } if( !bImage ) assertTrue(!cstmt.execute()); while(cstmt.getUpdateCount() != -1 && cstmt.getMoreResults()); if (jtype == java.sql.Types.VARBINARY) { assertTrue(compareBytes(cstmt.getBytes(1), (byte[])datatypes[i][2]) == 0); } else if (datatypes[i][2] instanceof Number) { Number n = (Number)cstmt.getObject(1); assertEquals("Failed on " + datatypes[i][0], ((Number)cstmt.getObject(1)).doubleValue(), ((Number)datatypes[i][2]).doubleValue(),0.001); } else { assertEquals("Failed on " + datatypes[i][0], cstmt.getObject(1), datatypes[i][2]); } } // for (pass stmt.executeUpdate(" drop procedure #jtds_outputTest"); } // for (int } | 439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/082f6b97f424e9550bf490d66efbe1c288b8df9b/TimestampTest.java/clean/trunk/jtds/src/test/net/sourceforge/jtds/test/TimestampTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1447,
1370,
1435,
1216,
1185,
565,
288,
3639,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
3639,
3640,
17213,
2932,
7,
78,
88,
2377,
67,
2844,
4709,
8863,
3639,
1033,
63,
6362,
65,
14760,
273,
24211,
13373,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
14760,
18,
2469,
31,
277,
27245,
3639,
288,
5375,
514,
30605,
4910,
31,
5375,
1250,
324,
2040,
273,
14760,
63,
77,
6362,
20,
8009,
14963,
2932,
2730,
8863,
5375,
309,
12,
324,
2040,
262,
10792,
30605,
4910,
273,
1408,
31,
5375,
469,
10792,
30605,
4910,
273,
315,
273,
315,
397,
14760,
63,
77,
6362,
21,
15533,
5375,
514,
1847,
273,
315,
2640,
12131,
468,
78,
88,
2377,
67,
2844,
4709,
315,
12900,
397,
8787,
69,
21,
315,
397,
14760,
63,
77,
6362,
20,
65,
397,
315,
273,
446,
596,
315,
12900,
397,
315,
345,
2027,
632,
69,
21,
6,
397,
30605,
4910,
31,
5375,
3480,
18,
8837,
1891,
12,
4669,
1769,
5375,
364,
12,
509,
1342,
33,
20,
31,
261,
5466,
32,
22,
597,
401,
70,
2040,
13,
747,
1342,
32,
21,
31,
1342,
9904,
262,
5375,
288,
10792,
10464,
3406,
276,
10589,
273,
356,
18,
9366,
1477,
2932,
95,
1991,
468,
78,
88,
2377,
67,
2844,
4709,
3680,
23778,
1769,
10792,
509,
525,
723,
273,
3130,
12,
3404,
13373,
63,
77,
6362,
22,
19226,
10792,
309,
261,
5466,
422,
404,
13,
8227,
276,
10589,
18,
542,
921,
12,
21,
16,
2011,
16,
78,
723,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1447,
1370,
1435,
1216,
1185,
565,
288,
3639,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
3639,
3640,
17213,
2932,
7,
78,
88,
2377,
67,
2844,
4709,
8863,
3639,
1033,
63,
6362,
65,
14760,
273,
24211,
13373,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
14760,
18,
2469,
31,
277,
27245,
3639,
288,
5375,
514,
30605,
4910,
31,
5375,
1250,
324,
2040,
273,
14760,
63,
77,
6362,
20,
8009,
14963,
2932,
2730,
8863,
5375,
309,
12,
324,
2040,
262,
10792,
30605,
4910,
273,
1408,
31,
5375,
469,
10792,
30605,
4910,
273,
315,
273,
315,
397,
14760,
63,
77,
6362,
21,
15533,
5375,
514,
1847,
273,
315,
2640,
12131,
468,
78,
88,
2377,
2
] |
pilotRolls.addElement(roll); | if (roll != null) { pilotRolls.addElement(roll); } | private void doEntityDisplacement(Entity entity, Coords src, Coords dest, PilotingRollData roll) { final Hex srcHex = game.board.getHex(src); final Hex destHex = game.board.getHex(dest); final int direction = src.direction(dest); int fallElevation = srcHex.getElevation() - destHex.getElevation(); Entity target = game.getEntity(dest); // can't fall upwards if (fallElevation < 0) { fallElevation = 0; } // if destination is empty, this could be easy... if (target == null || target.equals(entity)) { if (fallElevation < 2) { // no cliff: move and roll normally phaseReport.append(entity.getDisplayName() + " is displaced into hex " + dest.getBoardNum() + ".\n"); entity.setPosition(dest); pilotRolls.addElement(roll); return; } else { // cliff: fall off it, deal damage, prone immediately phaseReport.append(entity.getDisplayName() + " falls " + fallElevation + " levels into hex " + dest.getBoardNum() + ".\n"); doEntityFall(entity, dest, fallElevation, PilotingRollData.AUTOMATIC_FALL); return; } } // okay, destination occupied. hmmm... System.err.println("server.doEntityDisplacement: destination occupied"); if (fallElevation < 2) { // domino effect: move & displace target phaseReport.append(entity.getDisplayName() + " is displaced into hex " + dest.getBoardNum() + ", occupied by " + target.getDisplayName() + ".\n"); entity.setPosition(dest); pilotRolls.addElement(roll); doEntityDisplacement(target, dest, dest.translated(direction), new PilotingRollData(target.getId(), 0, "domino effect")); return; } else { // accidental fall from above: havoc! phaseReport.append(entity.getDisplayName() + " falls " + fallElevation + " levels into hex " + dest.getBoardNum() + ", occupied by " + target.getDisplayName() + ".\n"); // determine to-hit number ToHitData toHit = new ToHitData(7, "7 (base)"); toHit.append(Compute.getTargetMovementModifier(game, target.getId())); toHit.append(Compute.getTargetTerrainModifier(game, target.getId())); // roll dice final int diceRoll = Compute.d6(2); phaseReport.append("Collision occurs on a " + toHit.getValue() + " or greater. Rolls " + diceRoll); if (diceRoll >= toHit.getValue()) { phaseReport.append(", hits!\n"); // deal damage to target int damage = (int)Math.ceil(entity.getWeight() / 10); phaseReport.append(target.getDisplayName() + " takes " + damage + " from the collision."); while (damage > 0) { int cluster = Math.min(5, damage); HitData hit = entity.rollHitLocation(ToHitData.HIT_PUNCH, ToHitData.SIDE_FRONT); phaseReport.append(damageEntity(target, hit, cluster)); damage -= cluster; } phaseReport.append("\n"); // attacker falls as normal, on his back doEntityFall(entity, dest, fallElevation, 3, PilotingRollData.AUTOMATIC_FALL); // defender pushed away, or destroyed Coords targetDest = Compute.getValidDisplacement(game, target.getId(), dest, direction); if (targetDest != null) { doEntityDisplacement(target, dest, targetDest, new PilotingRollData(target.getId(), 2, "fallen on")); } else { // ack! automatic death! phaseReport.append("*** " + target.getDisplayName() + " DESTROYED due to impossible displacement! ***"); target.setDoomed(true); } } else { phaseReport.append(", misses.\n"); //TODO: this is not quite how the rules go Coords targetDest = Compute.getValidDisplacement(game, entity.getId(), dest, direction); if (targetDest != null) { doEntityDisplacement(entity, src, targetDest, new PilotingRollData(entity.getId(), PilotingRollData.AUTOMATIC_FALL, "pushed off a cliff")); } else { // ack! automatic death! phaseReport.append("*** " + entity.getDisplayName() + " DESTROYED due to impossible displacement! ***"); entity.setDoomed(true); } } return; } } | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/5d7060a84e551cee325465adbbecc6a4d05d7cd9/Server.java/buggy/megamek/src/megamek/server/Server.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
1943,
1669,
15917,
12,
1943,
1522,
16,
10320,
87,
1705,
16,
10320,
87,
1570,
16,
4766,
1377,
453,
330,
17128,
24194,
751,
5824,
13,
288,
3639,
727,
15734,
1705,
7037,
273,
7920,
18,
3752,
18,
588,
7037,
12,
4816,
1769,
3639,
727,
15734,
1570,
7037,
273,
7920,
18,
3752,
18,
588,
7037,
12,
10488,
1769,
3639,
727,
509,
4068,
273,
1705,
18,
9855,
12,
10488,
1769,
3639,
509,
4159,
17274,
7112,
273,
1705,
7037,
18,
588,
17274,
7112,
1435,
300,
1570,
7037,
18,
588,
17274,
7112,
5621,
3639,
3887,
1018,
273,
7920,
18,
588,
1943,
12,
10488,
1769,
3639,
368,
848,
1404,
4159,
731,
6397,
3639,
309,
261,
25602,
17274,
7112,
411,
374,
13,
288,
5411,
4159,
17274,
7112,
273,
374,
31,
3639,
289,
3639,
368,
309,
2929,
353,
1008,
16,
333,
3377,
506,
12779,
2777,
3639,
309,
261,
3299,
422,
446,
747,
1018,
18,
14963,
12,
1096,
3719,
288,
5411,
309,
261,
25602,
17274,
7112,
411,
576,
13,
288,
7734,
368,
1158,
927,
3048,
30,
3635,
471,
5824,
15849,
7734,
6855,
4820,
18,
6923,
12,
1096,
18,
588,
20524,
1435,
21821,
397,
315,
353,
1015,
28238,
1368,
3827,
315,
21821,
397,
1570,
18,
588,
22233,
2578,
1435,
397,
3552,
64,
82,
8863,
7734,
1522,
18,
542,
2555,
12,
10488,
1769,
7734,
309,
261,
2693,
480,
446,
13,
288,
293,
22797,
4984,
3251,
18,
1289,
1046,
12,
2693,
1769,
289,
7734,
327,
31,
5411,
289,
469,
288,
7734,
368,
927,
3048,
30,
4159,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
1943,
1669,
15917,
12,
1943,
1522,
16,
10320,
87,
1705,
16,
10320,
87,
1570,
16,
4766,
1377,
453,
330,
17128,
24194,
751,
5824,
13,
288,
3639,
727,
15734,
1705,
7037,
273,
7920,
18,
3752,
18,
588,
7037,
12,
4816,
1769,
3639,
727,
15734,
1570,
7037,
273,
7920,
18,
3752,
18,
588,
7037,
12,
10488,
1769,
3639,
727,
509,
4068,
273,
1705,
18,
9855,
12,
10488,
1769,
3639,
509,
4159,
17274,
7112,
273,
1705,
7037,
18,
588,
17274,
7112,
1435,
300,
1570,
7037,
18,
588,
17274,
7112,
5621,
3639,
3887,
1018,
273,
7920,
18,
588,
1943,
12,
10488,
1769,
3639,
368,
848,
1404,
4159,
731,
6397,
3639,
309,
261,
25602,
17274,
7112,
411,
374,
13,
288,
2
] |
super(position); | super(position, NodeTypes.ITERNODE); | public IterNode(ISourcePosition position, Node varNode, Node bodyNode, Node iterNode) { super(position); this.varNode = varNode; this.bodyNode = bodyNode; this.iterNode = iterNode; } | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/6e15491217631472c05c6928672f9c7064a978b3/IterNode.java/buggy/src/org/jruby/ast/IterNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3016,
907,
12,
45,
1830,
2555,
1754,
16,
2029,
569,
907,
16,
2029,
1417,
907,
16,
2029,
1400,
907,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
11844,
8744,
1769,
3639,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3016,
907,
12,
45,
1830,
2555,
1754,
16,
2029,
569,
907,
16,
2029,
1417,
907,
16,
2029,
1400,
907,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
11844,
8744,
1769,
3639,
333,
18,
1401,
907,
273,
569,
907,
31,
3639,
333,
18,
3432,
907,
273,
1417,
907,
31,
3639,
333,
18,
2165,
907,
273,
1400,
907,
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
] |
TransformationUtil.ORIGINAL_METHOD_PREFIX) ) { | TransformationUtil.ORIGINAL_METHOD_PREFIX) && !declaredMethods[i].getName().startsWith( TransformationUtil.CLASS_LOOKUP_METHOD)) { | public DefaultIntroductionContainerStrategy(final Class implClass) { if (implClass == null) return; // we have an interface only introduction m_implClass = implClass; synchronized (m_methods) { Method[] declaredMethods = m_implClass.getDeclaredMethods(); // sort the list so that we can enshure that the indexes are in synch // see AddImplementationTransformer#addIntroductions List toSort = new ArrayList(); for (int i = 0; i < declaredMethods.length; i++) { // remove the getUuid, ___hidden$getMetaData, ___hidden$addMetaData methods // A the added proxy methods before sorting the method list if (!declaredMethods[i].getName().equals( TransformationUtil.GET_UUID_METHOD) && !declaredMethods[i].getName().equals( TransformationUtil.GET_META_DATA_METHOD) && !declaredMethods[i].getName().equals( TransformationUtil.SET_META_DATA_METHOD) && !declaredMethods[i].getName().startsWith( TransformationUtil.ORIGINAL_METHOD_PREFIX) ) { toSort.add(declaredMethods[i]); } } Collections.sort(toSort, MethodComparator. getInstance(MethodComparator.NORMAL_METHOD)); m_methods = new Method[toSort.size()]; for (int i = 0; i < m_methods.length; i++) { m_methods[i] = (Method)toSort.get(i); } } } | 7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/d9b3f661aacc3e348ee4dac22844889c35fdbb2d/DefaultIntroductionContainerStrategy.java/buggy/aspectwerkz/src/main/org/codehaus/aspectwerkz/xmldef/introduction/DefaultIntroductionContainerStrategy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2989,
1702,
303,
2544,
349,
2170,
4525,
12,
6385,
1659,
9380,
797,
13,
288,
3639,
309,
261,
11299,
797,
422,
446,
13,
327,
31,
368,
732,
1240,
392,
1560,
1338,
16658,
349,
3639,
312,
67,
11299,
797,
273,
9380,
797,
31,
3639,
3852,
261,
81,
67,
5163,
13,
288,
5411,
2985,
8526,
7886,
4712,
273,
312,
67,
11299,
797,
18,
588,
18888,
4712,
5621,
5411,
368,
1524,
326,
666,
1427,
716,
732,
848,
570,
674,
594,
716,
326,
5596,
854,
316,
272,
2515,
5411,
368,
2621,
1436,
13621,
8319,
7,
1289,
1702,
303,
2544,
349,
87,
5411,
987,
358,
4416,
273,
394,
2407,
5621,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7886,
4712,
18,
2469,
31,
277,
27245,
288,
7734,
368,
1206,
326,
17303,
16,
19608,
6345,
8,
588,
6998,
16,
19608,
6345,
8,
1289,
6998,
2590,
7734,
368,
432,
326,
3096,
2889,
2590,
1865,
9602,
326,
707,
666,
7734,
309,
16051,
16571,
4712,
63,
77,
8009,
17994,
7675,
14963,
12,
13491,
21274,
1304,
18,
3264,
67,
5562,
67,
5327,
13,
597,
13491,
401,
16571,
4712,
63,
77,
8009,
17994,
7675,
14963,
12,
27573,
21274,
1304,
18,
3264,
67,
19294,
67,
4883,
67,
5327,
13,
597,
13491,
401,
16571,
4712,
63,
77,
8009,
17994,
7675,
14963,
12,
27573,
21274,
1304,
18,
4043,
67,
19294,
67,
4883,
67,
5327,
13,
597,
13491,
401,
16571,
4712,
63,
77,
8009,
17994,
7675,
17514,
1190,
12,
27573,
21274,
1304,
18,
24685,
1013,
67,
5327,
67,
6307,
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,
2989,
1702,
303,
2544,
349,
2170,
4525,
12,
6385,
1659,
9380,
797,
13,
288,
3639,
309,
261,
11299,
797,
422,
446,
13,
327,
31,
368,
732,
1240,
392,
1560,
1338,
16658,
349,
3639,
312,
67,
11299,
797,
273,
9380,
797,
31,
3639,
3852,
261,
81,
67,
5163,
13,
288,
5411,
2985,
8526,
7886,
4712,
273,
312,
67,
11299,
797,
18,
588,
18888,
4712,
5621,
5411,
368,
1524,
326,
666,
1427,
716,
732,
848,
570,
674,
594,
716,
326,
5596,
854,
316,
272,
2515,
5411,
368,
2621,
1436,
13621,
8319,
7,
1289,
1702,
303,
2544,
349,
87,
5411,
987,
358,
4416,
273,
394,
2407,
5621,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7886,
4712,
18,
2
] |
if (saveMode != SaveMode.NONE && !userNameStore.containsUserName(name) && name != null && !name.trim().equals("")) { userNameStore.addUserName(name); userNameStore.saveUserNames(); } if (saveCB.isSelected() && (saveMode == SaveMode.BOTH || saveMode == SaveMode.PASSWORD)) { passwordStore.set(name, loginService.getServer(), password); } | protected void startLogin() { oldCursor = getCursor(); try { setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); progressMessageLabel.setText("Please wait, logging in....");//TODO i18n String name = getUserName(); char[] password = getPassword(); loginService.startAuthentication(name, password, null); if (saveMode != SaveMode.NONE && !userNameStore.containsUserName(name) && name != null && !name.trim().equals("")) { userNameStore.addUserName(name); userNameStore.saveUserNames(); } if (saveCB.isSelected() && (saveMode == SaveMode.BOTH || saveMode == SaveMode.PASSWORD)) { passwordStore.set(name, loginService.getServer(), password); } } catch(Exception ex) { //The status is set via the loginService listener, so no need to set //the status here. Just log the error. LOG.log(Level.WARNING, "Authentication exception while logging in", ex); } finally { setCursor(oldCursor); } } | 47551 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47551/7b32917796a9cf07505425bd2d1905236a817274/JXLoginPanel.java/clean/src/java/org/jdesktop/swingx/JXLoginPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
787,
5358,
1435,
288,
3639,
1592,
6688,
273,
14135,
2467,
5621,
3639,
775,
288,
5411,
444,
6688,
12,
6688,
18,
588,
1386,
2178,
6688,
12,
6688,
18,
19046,
67,
7509,
55,
916,
10019,
5411,
4007,
1079,
2224,
18,
542,
1528,
2932,
8496,
2529,
16,
2907,
316,
6265,
8863,
759,
6241,
277,
2643,
82,
5411,
514,
508,
273,
30456,
5621,
5411,
1149,
8526,
2201,
273,
17397,
5621,
5411,
3925,
1179,
18,
1937,
6492,
12,
529,
16,
2201,
16,
446,
1769,
5411,
309,
261,
5688,
2309,
480,
7074,
2309,
18,
9826,
10792,
597,
401,
1355,
461,
2257,
18,
12298,
15296,
12,
529,
13,
10792,
597,
508,
480,
446,
597,
401,
529,
18,
5290,
7675,
14963,
2932,
6,
3719,
288,
7734,
12065,
2257,
18,
1289,
15296,
12,
529,
1769,
7734,
12065,
2257,
18,
5688,
1299,
1557,
5621,
5411,
289,
5411,
309,
261,
5688,
8876,
18,
291,
7416,
1435,
597,
261,
5688,
2309,
422,
7074,
2309,
18,
38,
18307,
747,
1923,
2309,
422,
7074,
2309,
18,
13784,
3719,
288,
7734,
2201,
2257,
18,
542,
12,
529,
16,
3925,
1179,
18,
588,
2081,
9334,
2201,
1769,
5411,
289,
3639,
289,
1044,
12,
503,
431,
13,
288,
202,
565,
368,
1986,
1267,
353,
444,
3970,
326,
3925,
1179,
2991,
16,
1427,
1158,
1608,
358,
444,
202,
565,
368,
5787,
1267,
2674,
18,
12526,
613,
326,
555,
18,
202,
565,
2018,
18,
1330,
12,
2355,
18,
9511,
16,
315,
6492,
1520,
1323,
2907,
316,
3113,
431,
1769,
3639,
289,
3095,
288,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
787,
5358,
1435,
288,
3639,
1592,
6688,
273,
14135,
2467,
5621,
3639,
775,
288,
5411,
444,
6688,
12,
6688,
18,
588,
1386,
2178,
6688,
12,
6688,
18,
19046,
67,
7509,
55,
916,
10019,
5411,
4007,
1079,
2224,
18,
542,
1528,
2932,
8496,
2529,
16,
2907,
316,
6265,
8863,
759,
6241,
277,
2643,
82,
5411,
514,
508,
273,
30456,
5621,
5411,
1149,
8526,
2201,
273,
17397,
5621,
5411,
3925,
1179,
18,
1937,
6492,
12,
529,
16,
2201,
16,
446,
1769,
5411,
309,
261,
5688,
2309,
480,
7074,
2309,
18,
9826,
10792,
597,
401,
1355,
461,
2257,
18,
12298,
15296,
12,
529,
13,
10792,
597,
508,
480,
446,
597,
401,
529,
18,
5290,
7675,
14963,
2932,
6,
3719,
2
] | |
String msg = "The interactions window was terminated by a call " + "to System.exit(" + status + ").\n" + "The interactions window will now be restarted."; String title = "Interactions terminated by System.exit(" + status + ")"; ConfirmCheckBoxDialog dialog = new ConfirmCheckBoxDialog(MainFrame.this, title, msg, "Do not show this message again", JOptionPane.INFORMATION_MESSAGE, JOptionPane.DEFAULT_OPTION); if (dialog.show() == JOptionPane.OK_OPTION && dialog.getCheckBoxValue()) { DrJava.getConfig().setSetting(INTERACTIONS_EXIT_PROMPT, Boolean.FALSE); | try { showTab(_javadocErrorPanel); _javadocAllAction.setEnabled(true); _javadocCurrentAction.setEnabled(true); _javadocErrorPanel.reset(); } finally { hourglassOff(); } if (success) { String className; try { className = _model.getActiveDocument().getQualifiedClassName(); className = className.replace('.', File.separatorChar); } catch (ClassNameNotFoundException cnf) { className = ""; } try { String filename = (allDocs || className.equals("")) ? "index.html" : (className + ".html"); File index = new File(destDir, filename); URL address = index.getAbsoluteFile().toURL(); if (!PlatformFactory.ONLY.openURL(address)) { JavadocFrame _javadocFrame = new JavadocFrame(destDir, className, allDocs); _javadocFrame.setVisible(true); } } catch (MalformedURLException me) { throw new UnexpectedException(me); } catch (IllegalStateException ise) { String msg = "Javadoc completed successfully, but did not produce any HTML files.\n" + "Please ensure that your access level in Preferences is appropriate."; JOptionPane.showMessageDialog(MainFrame.this, msg, "No output to display.", JOptionPane.INFORMATION_MESSAGE); | public void run() { String msg = "The interactions window was terminated by a call " + "to System.exit(" + status + ").\n" + "The interactions window will now be restarted."; String title = "Interactions terminated by System.exit(" + status + ")"; ConfirmCheckBoxDialog dialog = new ConfirmCheckBoxDialog(MainFrame.this, title, msg, "Do not show this message again", JOptionPane.INFORMATION_MESSAGE, JOptionPane.DEFAULT_OPTION); if (dialog.show() == JOptionPane.OK_OPTION && dialog.getCheckBoxValue()) { DrJava.getConfig().setSetting(INTERACTIONS_EXIT_PROMPT, Boolean.FALSE); } } | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/0912ab7ed35ec7cfa4a9c45641294748135ef6a8/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
6647,
1071,
918,
1086,
1435,
288,
5411,
514,
1234,
273,
315,
1986,
23877,
2742,
1703,
14127,
635,
279,
745,
315,
397,
2868,
315,
869,
2332,
18,
8593,
2932,
397,
1267,
397,
315,
2934,
64,
82,
6,
397,
2868,
315,
1986,
23877,
2742,
903,
2037,
506,
28893,
1199,
31,
13491,
514,
2077,
273,
315,
2465,
4905,
14127,
635,
2332,
18,
8593,
2932,
397,
1267,
397,
7310,
31,
13491,
17580,
19174,
6353,
6176,
273,
2868,
394,
17580,
19174,
6353,
12,
6376,
3219,
18,
2211,
16,
2077,
16,
1234,
16,
4766,
3639,
315,
3244,
486,
2405,
333,
883,
3382,
3113,
4766,
3639,
804,
1895,
8485,
18,
706,
23805,
67,
8723,
16,
4766,
3639,
804,
1895,
8485,
18,
5280,
67,
7425,
1769,
5411,
309,
261,
12730,
18,
4500,
1435,
422,
804,
1895,
8485,
18,
3141,
67,
7425,
597,
6176,
18,
588,
19174,
620,
10756,
288,
2868,
11473,
5852,
18,
588,
809,
7675,
542,
5568,
12,
9125,
12249,
55,
67,
28682,
67,
3373,
49,
1856,
16,
3411,
18,
21053,
1769,
5411,
289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585,
326,
22398,
316,
326,
981,
30,
6647,
1071,
918,
1086,
1435,
288,
5411,
514,
1234,
273,
315,
1986,
23877,
2742,
1703,
14127,
635,
279,
745,
315,
397,
2868,
315,
869,
2332,
18,
8593,
2932,
397,
1267,
397,
315,
2934,
64,
82,
6,
397,
2868,
315,
1986,
23877,
2742,
903,
2037,
506,
28893,
1199,
31,
13491,
514,
2077,
273,
315,
2465,
4905,
14127,
635,
2332,
18,
8593,
2932,
397,
1267,
397,
7310,
31,
13491,
17580,
19174,
6353,
6176,
273,
2868,
394,
17580,
19174,
6353,
12,
6376,
3219,
18,
2211,
16,
2077,
16,
1234,
16,
4766,
3639,
315,
3244,
486,
2405,
333,
883,
3382,
3113,
4766,
3639,
804,
1895,
8485,
18,
706,
23805,
67,
8723,
16,
4766,
3639,
804,
1895,
8485,
18,
5280,
67,
7425,
1769,
5411,
2
] |
if (filterProcessesUrl.equals(httpRequest.getServletPath())) { | if (httpRequest.getRequestURL().toString().endsWith(httpRequest .getContextPath() + filterProcessesUrl)) { | public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { if (!(request instanceof HttpServletRequest)) { throw new ServletException("Can only process HttpServletRequest"); } if (!(response instanceof HttpServletResponse)) { throw new ServletException("Can only process HttpServletResponse"); } HttpServletRequest httpRequest = (HttpServletRequest) request; HttpServletResponse httpResponse = (HttpServletResponse) response; if (filterProcessesUrl.equals(httpRequest.getServletPath())) { if (logger.isDebugEnabled()) { logger.debug("Request is to process authentication"); } Authentication authResult; try { authResult = attemptAuthentication(httpRequest); } catch (AuthenticationException failed) { // Authentication failed if (logger.isDebugEnabled()) { logger.debug("Authentication request failed: " + failed.toString()); } httpRequest.getSession().setAttribute(ACEGI_SECURITY_LAST_EXCEPTION_KEY, failed); httpRequest.getSession().setAttribute(HttpSessionIntegrationFilter.ACEGI_SECURITY_AUTHENTICATION_KEY, null); httpResponse.sendRedirect(httpResponse.encodeRedirectURL(httpRequest .getContextPath() + authenticationFailureUrl)); return; } // Authentication success if (logger.isDebugEnabled()) { logger.debug("Authentication success: " + authResult.toString()); } httpRequest.getSession().setAttribute(HttpSessionIntegrationFilter.ACEGI_SECURITY_AUTHENTICATION_KEY, authResult); String targetUrl = (String) httpRequest.getSession().getAttribute(ACEGI_SECURITY_TARGET_URL_KEY); httpRequest.getSession().setAttribute(ACEGI_SECURITY_TARGET_URL_KEY, null); if (targetUrl == null) { targetUrl = httpRequest.getContextPath() + defaultTargetUrl; } if (logger.isDebugEnabled()) { logger.debug( "Redirecting to target URL from HTTP Session (or default): " + targetUrl); } httpResponse.sendRedirect(httpResponse.encodeRedirectURL(targetUrl)); return; } chain.doFilter(request, response); } | 29994 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29994/04dea9e403b981adf695a9d98e6e057aff2eeb00/AbstractProcessingFilter.java/buggy/core/src/main/java/org/acegisecurity/ui/AbstractProcessingFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
1586,
12,
18572,
590,
16,
7971,
1064,
766,
16,
3639,
4008,
3893,
2687,
13,
1216,
1860,
16,
16517,
288,
3639,
309,
16051,
12,
2293,
1276,
9984,
3719,
288,
5411,
604,
394,
16517,
2932,
2568,
1338,
1207,
9984,
8863,
3639,
289,
3639,
309,
16051,
12,
2740,
1276,
12446,
3719,
288,
5411,
604,
394,
16517,
2932,
2568,
1338,
1207,
12446,
8863,
3639,
289,
3639,
9984,
12189,
273,
261,
2940,
18572,
13,
590,
31,
3639,
12446,
15001,
273,
261,
2940,
29910,
13,
766,
31,
3639,
309,
261,
2505,
691,
18,
588,
691,
1785,
7675,
10492,
7675,
5839,
1190,
12,
2505,
691,
263,
29120,
743,
1435,
397,
1034,
10599,
1489,
3719,
288,
5411,
309,
261,
4901,
18,
291,
2829,
1526,
10756,
288,
7734,
1194,
18,
4148,
2932,
691,
353,
358,
1207,
5107,
8863,
5411,
289,
5411,
8665,
1357,
1253,
31,
5411,
775,
288,
7734,
1357,
1253,
273,
4395,
6492,
12,
2505,
691,
1769,
5411,
289,
1044,
261,
6492,
503,
2535,
13,
288,
7734,
368,
8665,
2535,
7734,
309,
261,
4901,
18,
291,
2829,
1526,
10756,
288,
10792,
1194,
18,
4148,
2932,
6492,
590,
2535,
30,
315,
13491,
397,
2535,
18,
10492,
10663,
7734,
289,
7734,
12189,
18,
588,
2157,
7675,
542,
1499,
12,
6312,
13797,
67,
29209,
67,
14378,
67,
12658,
67,
3297,
16,
10792,
2535,
1769,
7734,
12189,
18,
588,
2157,
7675,
542,
1499,
12,
2940,
2157,
15372,
1586,
18,
6312,
13797,
67,
29209,
67,
25114,
2689,
67,
3297,
16,
10792,
446,
1769,
7734,
15001,
18,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
1586,
12,
18572,
590,
16,
7971,
1064,
766,
16,
3639,
4008,
3893,
2687,
13,
1216,
1860,
16,
16517,
288,
3639,
309,
16051,
12,
2293,
1276,
9984,
3719,
288,
5411,
604,
394,
16517,
2932,
2568,
1338,
1207,
9984,
8863,
3639,
289,
3639,
309,
16051,
12,
2740,
1276,
12446,
3719,
288,
5411,
604,
394,
16517,
2932,
2568,
1338,
1207,
12446,
8863,
3639,
289,
3639,
9984,
12189,
273,
261,
2940,
18572,
13,
590,
31,
3639,
12446,
15001,
273,
261,
2940,
29910,
13,
766,
31,
3639,
309,
261,
2505,
691,
18,
588,
691,
1785,
7675,
10492,
7675,
5839,
1190,
12,
2505,
691,
263,
29120,
743,
1435,
397,
1034,
10599,
1489,
3719,
288,
5411,
309,
261,
4901,
18,
291,
2829,
2
] |
protected void switchTo( String sSubtaskPath ) | public void switchTo( String sSubtaskPath ) | protected void switchTo( String sSubtaskPath ) { if ( getCurrentSubtask( ) != null ) { getCurrentSubtask( ).onHide( ); } if ( containSubtask( sSubtaskPath ) ) { sCurrentTaskSheet = getSubtask( sSubtaskPath ); this.sCurrentSubtask = sSubtaskPath; } getCurrentSubtask( ).onShow( context, container ); } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/037a987c5947853949a14c2cf99272d0b29ee449/CompoundTask.java/buggy/core/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/frameworks/taskwizard/CompoundTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1620,
774,
12,
514,
272,
1676,
4146,
743,
262,
202,
95,
202,
202,
430,
261,
5175,
1676,
4146,
12,
262,
480,
446,
262,
202,
202,
95,
1082,
202,
588,
3935,
1676,
4146,
12,
262,
18,
265,
15690,
12,
11272,
202,
202,
97,
202,
202,
430,
261,
912,
1676,
4146,
12,
272,
1676,
4146,
743,
262,
262,
202,
202,
95,
1082,
202,
87,
3935,
2174,
8229,
273,
7040,
4146,
12,
272,
1676,
4146,
743,
11272,
1082,
202,
2211,
18,
87,
3935,
1676,
4146,
273,
272,
1676,
4146,
743,
31,
202,
202,
97,
202,
202,
588,
3935,
1676,
4146,
12,
262,
18,
265,
5706,
12,
819,
16,
1478,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1620,
774,
12,
514,
272,
1676,
4146,
743,
262,
202,
95,
202,
202,
430,
261,
5175,
1676,
4146,
12,
262,
480,
446,
262,
202,
202,
95,
1082,
202,
588,
3935,
1676,
4146,
12,
262,
18,
265,
15690,
12,
11272,
202,
202,
97,
202,
202,
430,
261,
912,
1676,
4146,
12,
272,
1676,
4146,
743,
262,
262,
202,
202,
95,
1082,
202,
87,
3935,
2174,
8229,
273,
7040,
4146,
12,
272,
1676,
4146,
743,
11272,
1082,
202,
2211,
18,
87,
3935,
1676,
4146,
273,
272,
1676,
4146,
743,
31,
202,
202,
97,
202,
202,
588,
3935,
1676,
4146,
12,
262,
18,
265,
5706,
12,
819,
16,
1478,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100
] |
retValue.append("<input type=\"radio\" name=\"copymode\" value=\"" + I_CmsConstants.C_COPY_PRESERVE_SIBLING + "\""); | retValue.append("<input type=\"radio\" name=\"copymode\" value=\"" + I_CmsConstants.C_COPY_PRESERVE_SIBLING + "\""); | public String buildRadioCopyMode() { StringBuffer retValue = new StringBuffer(256); // check if the current resource is a folder boolean isFolder = false; try { CmsResource curRes = getCms().readResource(getParamResource(), CmsResourceFilter.ALL); if (curRes.isFolder()) { isFolder = true; } } catch (CmsException e) { // can usually be ignored if (LOG.isInfoEnabled()) { LOG.info(e.getLocalizedMessage()); } } String checkedAttr = " checked=\"checked\""; if (isFolder) { // for folders, show an additional option "preserve links" int defaultMode = getSettings().getUserSettings().getDialogCopyFolderMode(); retValue.append("<input type=\"radio\" name=\"copymode\" value=\"" + I_CmsConstants.C_COPY_AS_SIBLING + "\""); if (defaultMode == I_CmsConstants.C_COPY_AS_SIBLING) { retValue.append(checkedAttr); } retValue.append("> "); retValue.append(key("messagebox.option.folder.assibling.copy") + "<br>\n"); retValue.append("<input type=\"radio\" name=\"copymode\" value=\"" + I_CmsConstants.C_COPY_PRESERVE_SIBLING + "\""); if (defaultMode == I_CmsConstants.C_COPY_PRESERVE_SIBLING) { retValue.append(checkedAttr); } retValue.append("> "); retValue.append(key("messagebox.option.folder.preserve.copy") + "<br>\n"); retValue.append("<input type=\"radio\" name=\"copymode\" value=\"" + I_CmsConstants.C_COPY_AS_NEW + "\""); if (defaultMode == I_CmsConstants.C_COPY_AS_NEW) { retValue.append(checkedAttr); } retValue.append("> "); retValue.append(key("messagebox.option.folder.asnewresource.copy") + "<br>\n"); } else { // for files, show copy option "copy as sibling" and "copy as new resource" int defaultMode = getSettings().getUserSettings().getDialogCopyFileMode(); retValue.append("<input type=\"radio\" name=\"copymode\" value=\"" + I_CmsConstants.C_COPY_AS_SIBLING + "\""); if (defaultMode == I_CmsConstants.C_COPY_AS_SIBLING) { retValue.append(checkedAttr); } retValue.append("> "); retValue.append(key("messagebox.option.file.assibling.copy") + "<br>\n"); retValue.append("<input type=\"radio\" name=\"copymode\" value=\"" + I_CmsConstants.C_COPY_AS_NEW + "\""); if (defaultMode == I_CmsConstants.C_COPY_AS_NEW) { retValue.append(checkedAttr); } retValue.append("> "); retValue.append(key("messagebox.option.file.asnewresource.copy") + "<br>\n"); } return retValue.toString(); } | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/2fa0efcae8f9aa5971c7763269a3b033e9256d4b/CmsCopy.java/buggy/src/org/opencms/workplace/commons/CmsCopy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1361,
19984,
2951,
2309,
1435,
288,
3639,
6674,
21236,
273,
394,
6674,
12,
5034,
1769,
7734,
368,
866,
309,
326,
783,
1058,
353,
279,
3009,
3639,
1250,
31137,
273,
629,
31,
3639,
775,
288,
5411,
7630,
662,
607,
273,
14413,
7675,
896,
1420,
12,
588,
786,
1420,
9334,
21082,
18,
4685,
1769,
5411,
309,
261,
1397,
607,
18,
291,
3899,
10756,
288,
7734,
31137,
273,
638,
31,
10792,
289,
3639,
289,
1044,
261,
4747,
503,
425,
13,
288,
5411,
368,
848,
11234,
506,
5455,
5411,
309,
261,
4842,
18,
291,
966,
1526,
10756,
288,
7734,
2018,
18,
1376,
12,
73,
18,
588,
2042,
1235,
1079,
10663,
5411,
289,
3639,
289,
3639,
514,
5950,
3843,
273,
315,
5950,
5189,
4532,
8530,
31,
7734,
309,
261,
291,
3899,
13,
288,
5411,
368,
364,
9907,
16,
2405,
392,
3312,
1456,
315,
27297,
4716,
6,
5411,
509,
805,
2309,
273,
18283,
7675,
588,
1299,
2628,
7675,
588,
6353,
2951,
3899,
2309,
5621,
5411,
21236,
18,
6923,
2932,
32,
2630,
618,
5189,
17006,
2412,
508,
5189,
3530,
3188,
2412,
460,
13186,
397,
467,
67,
4747,
2918,
18,
39,
67,
24875,
67,
3033,
67,
9894,
26789,
397,
11143,
1769,
5411,
309,
261,
1886,
2309,
422,
467,
67,
4747,
2918,
18,
39,
67,
24875,
67,
3033,
67,
9894,
26789,
13,
288,
7734,
21236,
18,
6923,
12,
4532,
3843,
1769,
5411,
289,
5411,
21236,
18,
6923,
2932,
34,
315,
1769,
5411,
21236,
18,
6923,
12,
856,
2932,
2150,
2147,
18,
3482,
18,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1361,
19984,
2951,
2309,
1435,
288,
3639,
6674,
21236,
273,
394,
6674,
12,
5034,
1769,
7734,
368,
866,
309,
326,
783,
1058,
353,
279,
3009,
3639,
1250,
31137,
273,
629,
31,
3639,
775,
288,
5411,
7630,
662,
607,
273,
14413,
7675,
896,
1420,
12,
588,
786,
1420,
9334,
21082,
18,
4685,
1769,
5411,
309,
261,
1397,
607,
18,
291,
3899,
10756,
288,
7734,
31137,
273,
638,
31,
10792,
289,
3639,
289,
1044,
261,
4747,
503,
425,
13,
288,
5411,
368,
848,
11234,
506,
5455,
5411,
309,
261,
4842,
18,
291,
966,
1526,
10756,
288,
7734,
2018,
18,
1376,
12,
73,
18,
588,
2042,
1235,
1079,
10663,
5411,
289,
3639,
289,
3639,
514,
5950,
3843,
273,
315,
2
] |
AST __t1911 = _t; | AST __t1912 = _t; | public final void recordphrase(AST _t) throws RecognitionException { AST recordphrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1911 = _t; AST tmp1714_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: case FIELDS: { record_fields(_t); _t = _retTree; break; } case 3: case LEXDATE: case NUMBER: case QSTRING: case BIGENDIAN: case EXCLUSIVELOCK: case FALSE_KW: case FINDCASESENSITIVE: case FINDGLOBAL: case FINDNEXTOCCURRENCE: case FINDPREVOCCURRENCE: case FINDSELECT: case FINDWRAPAROUND: case HOSTBYTEORDER: case LEFT: case LITTLEENDIAN: case NO: case NOERROR_KW: case NOLOCK: case NOPREFETCH: case NOWAIT: case NULL_KW: case OF: case OUTERJOIN: case READAVAILABLE: case READEXACTNUM: case SEARCHSELF: case SEARCHTARGET: case SHARELOCK: case TODAY: case TRUE_KW: case USEINDEX: case USING: case WHERE: case WINDOWDELAYEDMINIMIZE: case WINDOWMAXIMIZED: case WINDOWMINIMIZED: case WINDOWNORMAL: case YES: case UNKNOWNVALUE: case FUNCTIONCALLTYPE: case GETATTRCALLTYPE: case PROCEDURECALLTYPE: case SAXCOMPLETE: case SAXPARSERERROR: case SAXRUNNING: case SAXUNINITIALIZED: case SETATTRCALLTYPE: case ROWUNMODIFIED: case ROWDELETED: case ROWMODIFIED: case ROWCREATED: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; if ((_t.getType()==TODAY)) { AST tmp1715_AST_in = (AST)_t; match(_t,TODAY); _t = _t.getNextSibling(); } else if ((_tokenSet_32.member(_t.getType()))) { constant(_t); _t = _retTree; } else if ((_tokenSet_33.member(_t.getType()))) { } else { throw new NoViableAltException(_t); } } { _loop1923: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LEFT: { AST __t1915 = _t; AST tmp1716_AST_in = (AST)_t; match(_t,LEFT); _t = _t.getFirstChild(); AST tmp1717_AST_in = (AST)_t; match(_t,OUTERJOIN); _t = _t.getNextSibling(); _t = __t1915; _t = _t.getNextSibling(); break; } case OUTERJOIN: { AST tmp1718_AST_in = (AST)_t; match(_t,OUTERJOIN); _t = _t.getNextSibling(); break; } case OF: { AST __t1916 = _t; AST tmp1719_AST_in = (AST)_t; match(_t,OF); _t = _t.getFirstChild(); AST tmp1720_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); _t = __t1916; _t = _t.getNextSibling(); break; } case WHERE: { AST __t1917 = _t; AST tmp1721_AST_in = (AST)_t; match(_t,WHERE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; } else if ((_t.getType()==3)) { } else { throw new NoViableAltException(_t); } } _t = __t1917; _t = _t.getNextSibling(); break; } case USEINDEX: { AST __t1919 = _t; AST tmp1722_AST_in = (AST)_t; match(_t,USEINDEX); _t = _t.getFirstChild(); AST tmp1723_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); _t = __t1919; _t = _t.getNextSibling(); break; } case USING: { AST __t1920 = _t; AST tmp1724_AST_in = (AST)_t; match(_t,USING); _t = _t.getFirstChild(); field(_t); _t = _retTree; { _loop1922: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==AND)) { AST tmp1725_AST_in = (AST)_t; match(_t,AND); _t = _t.getNextSibling(); field(_t); _t = _retTree; } else { break _loop1922; } } while (true); } _t = __t1920; _t = _t.getNextSibling(); break; } case EXCLUSIVELOCK: case NOLOCK: case SHARELOCK: { lockhow(_t); _t = _retTree; break; } case NOWAIT: { AST tmp1726_AST_in = (AST)_t; match(_t,NOWAIT); _t = _t.getNextSibling(); break; } case NOPREFETCH: { AST tmp1727_AST_in = (AST)_t; match(_t,NOPREFETCH); _t = _t.getNextSibling(); break; } case NOERROR_KW: { AST tmp1728_AST_in = (AST)_t; match(_t,NOERROR_KW); _t = _t.getNextSibling(); break; } default: { break _loop1923; } } } while (true); } _t = __t1911; _t = _t.getNextSibling(); _retTree = _t; } | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser03.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1409,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1409,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
3657,
2499,
273,
389,
88,
31,
202,
202,
9053,
1853,
4033,
3461,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
22261,
67,
1985,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
5675,
14514,
30,
202,
202,
3593,
4011,
11608,
30,
202,
202,
95,
1082,
202,
3366,
67,
2821,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
890,
30,
202,
202,
3593,
511,
2294,
4594,
30,
202,
202,
3593,
15532,
30,
202,
202,
3593,
2238,
5804,
30,
202,
202,
3593,
18855,
30597,
30,
202,
202,
3593,
5675,
11686,
24870,
6589,
30,
202,
202,
3593,
4934,
67,
30134,
30,
202,
202,
3593,
28934,
13415,
26753,
16325,
30,
202,
202,
3593,
28934,
20402,
30,
202,
202,
3593,
28934,
25539,
51,
6743,
1099,
24296,
1441,
30,
202,
202,
3593,
28934,
3670,
16169,
6743,
1099,
24296,
1441,
30,
202,
202,
3593,
28934,
4803,
30,
202,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1409,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1409,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
3657,
2499,
273,
389,
88,
31,
202,
202,
9053,
1853,
4033,
3461,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
22261,
67,
1985,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
2
] |
path = PathUtil.removeLeadingSlash(path); | public SVNExternalInfo[] addExternals(SVNDirectory directory, String externals) throws SVNException { if (externals == null) { return null; } Collection result = new ArrayList(); for(StringTokenizer lines = new StringTokenizer(externals, "\n\r"); lines.hasMoreTokens();) { String line = lines.nextToken().trim(); if (line.length() == 0 || line.startsWith("#")) { continue; } String url = null; String path = null; long rev = -1; List parts = new ArrayList(4); for(StringTokenizer tokens = new StringTokenizer(line, " \t"); tokens.hasMoreTokens();) { String token = tokens.nextToken().trim(); parts.add(token); } if (parts.size() < 2) { continue; } path = PathUtil.append(directory.getPath(), (String) parts.get(0)); path = PathUtil.removeLeadingSlash(path); if (parts.size() == 2) { url = (String) parts.get(1); } else if (parts.size() == 3 && parts.get(1).toString().startsWith("-r")) { String revStr = parts.get(1).toString(); revStr = revStr.substring("-r".length()); if (!"HEAD".equals(revStr)) { try { rev = Long.parseLong(revStr); } catch (NumberFormatException nfe) { continue; } } url = (String) parts.get(2); } else if (parts.size() == 4 && "-r".equals(parts.get(1))) { String revStr = parts.get(2).toString(); if (!"HEAD".equals(revStr)) { try { rev = Long.parseLong(revStr); } catch (NumberFormatException nfe) { continue; } } url = (String) parts.get(4); } if (path!= null && url != null) { SVNExternalInfo info = addExternal(path, url, rev); result.add(info); } } return (SVNExternalInfo[]) result.toArray(new SVNExternalInfo[result.size()]); } | 2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/35c4eff3cdefe26dc93ca64dd0977a77801e7b74/SVNWCAccess.java/clean/javasvn/src/org/tmatesoft/svn/core/internal/ws/log/SVNWCAccess.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
29537,
50,
6841,
966,
8526,
527,
29764,
1031,
12,
23927,
50,
2853,
1867,
16,
514,
18885,
1031,
13,
1216,
29537,
50,
503,
288,
3639,
309,
261,
338,
798,
1031,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
2200,
563,
273,
394,
2407,
5621,
3639,
364,
12,
780,
10524,
2362,
273,
394,
16370,
12,
338,
798,
1031,
16,
1548,
82,
64,
86,
8863,
2362,
18,
5332,
7417,
5157,
5621,
13,
288,
5411,
514,
980,
273,
2362,
18,
4285,
1345,
7675,
5290,
5621,
5411,
309,
261,
1369,
18,
2469,
1435,
422,
374,
747,
980,
18,
17514,
1190,
2932,
17133,
3719,
288,
7734,
1324,
31,
5411,
289,
5411,
514,
880,
273,
446,
31,
5411,
514,
589,
273,
446,
31,
5411,
1525,
5588,
273,
300,
21,
31,
5411,
987,
2140,
273,
394,
2407,
12,
24,
1769,
2398,
364,
12,
780,
10524,
2430,
273,
394,
16370,
12,
1369,
16,
315,
521,
88,
8863,
2430,
18,
5332,
7417,
5157,
5621,
13,
288,
7734,
514,
1147,
273,
2430,
18,
4285,
1345,
7675,
5290,
5621,
7734,
2140,
18,
1289,
12,
2316,
1769,
5411,
289,
5411,
309,
261,
6019,
18,
1467,
1435,
411,
576,
13,
288,
7734,
1324,
31,
5411,
289,
5411,
589,
273,
2666,
1304,
18,
6923,
12,
5149,
18,
588,
743,
9334,
261,
780,
13,
2140,
18,
588,
12,
20,
10019,
15604,
309,
261,
6019,
18,
1467,
1435,
422,
576,
13,
288,
7734,
880,
273,
261,
780,
13,
2140,
18,
588,
12,
21,
1769,
5411,
289,
469,
309,
261,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
29537,
50,
6841,
966,
8526,
527,
29764,
1031,
12,
23927,
50,
2853,
1867,
16,
514,
18885,
1031,
13,
1216,
29537,
50,
503,
288,
3639,
309,
261,
338,
798,
1031,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
2200,
563,
273,
394,
2407,
5621,
3639,
364,
12,
780,
10524,
2362,
273,
394,
16370,
12,
338,
798,
1031,
16,
1548,
82,
64,
86,
8863,
2362,
18,
5332,
7417,
5157,
5621,
13,
288,
5411,
514,
980,
273,
2362,
18,
4285,
1345,
7675,
5290,
5621,
5411,
309,
261,
1369,
18,
2469,
1435,
422,
374,
747,
980,
18,
17514,
1190,
2932,
17133,
3719,
288,
7734,
1324,
31,
5411,
289,
5411,
514,
880,
273,
446,
31,
5411,
514,
589,
273,
2
] | |
MenuItem newItem = new MenuItem(parent, SWT.PUSH, index); newItem.setData(this); newItem.setEnabled(isEnabled()); String text = label; if (mnemonic != null) { } newItem.setText(text); if (icon != null) { LocalResourceManager m = new LocalResourceManager(JFaceResources .getResources()); newItem.setImage(icon == null ? null : m.createImage(icon)); disposeOldImages(); localResourceManager = m; | if (widget != null || parent == null) { return; | public void fill(Menu parent, int index) { if (command == null) { return; } MenuItem newItem = new MenuItem(parent, SWT.PUSH, index); newItem.setData(this); newItem.setEnabled(isEnabled()); String text = label; if (mnemonic != null) { // convert label to have mnemonic } newItem.setText(text); if (icon != null) { LocalResourceManager m = new LocalResourceManager(JFaceResources .getResources()); newItem.setImage(icon == null ? null : m.createImage(icon)); disposeOldImages(); localResourceManager = m; } newItem.addListener(SWT.Dispose, getItemListener()); newItem.addListener(SWT.Selection, getItemListener()); widget = newItem; } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e84e7542be845f078b8e4aade9254de24aa21b6a/CommandContributionItem.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/menus/CommandContributionItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3636,
12,
4599,
982,
16,
509,
770,
13,
288,
202,
202,
430,
261,
3076,
422,
446,
13,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
12958,
26536,
273,
394,
25085,
12,
2938,
16,
348,
8588,
18,
30348,
16,
770,
1769,
202,
202,
2704,
1180,
18,
542,
751,
12,
2211,
1769,
202,
202,
2704,
1180,
18,
542,
1526,
12,
291,
1526,
10663,
202,
202,
780,
977,
273,
1433,
31,
202,
202,
430,
261,
13607,
20918,
480,
446,
13,
288,
1082,
202,
759,
1765,
1433,
358,
1240,
12883,
20918,
202,
202,
97,
202,
202,
2704,
1180,
18,
542,
1528,
12,
955,
1769,
202,
202,
430,
261,
3950,
480,
446,
13,
288,
1082,
202,
2042,
1420,
1318,
312,
273,
394,
3566,
1420,
1318,
12,
46,
11824,
3805,
6862,
202,
18,
588,
3805,
10663,
1082,
202,
2704,
1180,
18,
542,
2040,
12,
3950,
422,
446,
692,
446,
294,
312,
18,
2640,
2040,
12,
3950,
10019,
1082,
202,
2251,
4150,
7617,
8946,
5621,
1082,
202,
3729,
1420,
1318,
273,
312,
31,
202,
202,
97,
202,
202,
2704,
1180,
18,
1289,
2223,
12,
55,
8588,
18,
1669,
4150,
16,
8143,
2223,
10663,
202,
202,
2704,
1180,
18,
1289,
2223,
12,
55,
8588,
18,
6233,
16,
8143,
2223,
10663,
202,
202,
6587,
273,
26536,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3636,
12,
4599,
982,
16,
509,
770,
13,
288,
202,
202,
430,
261,
3076,
422,
446,
13,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
12958,
26536,
273,
394,
25085,
12,
2938,
16,
348,
8588,
18,
30348,
16,
770,
1769,
202,
202,
2704,
1180,
18,
542,
751,
12,
2211,
1769,
202,
202,
2704,
1180,
18,
542,
1526,
12,
291,
1526,
10663,
202,
202,
780,
977,
273,
1433,
31,
202,
202,
430,
261,
13607,
20918,
480,
446,
13,
288,
1082,
202,
759,
1765,
1433,
358,
1240,
12883,
20918,
202,
202,
97,
202,
202,
2704,
1180,
18,
542,
1528,
12,
955,
1769,
202,
202,
430,
261,
3950,
480,
446,
13,
288,
1082,
202,
2042,
1420,
2
] |
return this.pendingTokens[this.pendingTokensPtr--]; | int nextToken = this.pendingTokens[this.pendingTokensPtr--]; if(nextToken == TerminalTokens.TokenNameIdentifier){ this.fakeTokenSource = FAKE_IDENTIFIER; } else { this.fakeTokenSource = CharOperation.NO_CHAR; } return nextToken; | public int getNextToken() throws InvalidInputException { if(this.pendingTokensPtr > -1) { return this.pendingTokens[this.pendingTokensPtr--]; } this.fakeTokenSource = null; this.precededByRemoved = false; if(this.data.insertedTokens != null) { for (int i = 0; i <= this.data.insertedTokensPtr; i++) { if(this.data.insertedTokensPosition[i] == this.currentPosition - 1 && i > skipNextInsertedTokens) { this.data.insertedTokenUsed[i] = true; this.pendingTokens = this.data.insertedTokens[i]; this.pendingTokensPtr = this.data.insertedTokens[i].length - 1; this.fakeTokenSource = CharOperation.NO_CHAR; this.isInserted = true; this.startPosition = this.currentPosition; this.skipNextInsertedTokens = i; return this.pendingTokens[this.pendingTokensPtr--]; } } this.skipNextInsertedTokens = -1; } int previousLocation = this.currentPosition; int currentToken = super.getNextToken(); if(this.data.replacedTokens != null) { for (int i = 0; i <= this.data.replacedTokensPtr; i++) { if(this.data.replacedTokensStart[i] >= previousLocation && this.data.replacedTokensStart[i] <= this.startPosition && this.data.replacedTokensEnd[i] >= this.currentPosition - 1) { this.data.replacedTokenUsed[i] = true; this.pendingTokens = this.data.replacedTokens[i]; this.pendingTokensPtr = this.data.replacedTokens[i].length - 1; this.fakeTokenSource = CharOperation.NO_CHAR; this.isInserted = false; this.currentPosition = this.data.replacedTokensEnd[i] + 1; return this.pendingTokens[this.pendingTokensPtr--]; } } } if(this.data.removedTokensStart != null) { for (int i = 0; i <= this.data.removedTokensPtr; i++) { if(this.data.removedTokensStart[i] >= previousLocation && this.data.removedTokensStart[i] <= this.startPosition && this.data.removedTokensEnd[i] >= this.currentPosition - 1) { this.data.removedTokenUsed[i] = true; this.currentPosition = this.data.removedTokensEnd[i] + 1; this.precededByRemoved = false; return getNextToken(); } } } return currentToken; } | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/b62ba1f827cf4ea86ca5f1a1ddb9504a62920662/RecoveryScanner.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveryScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
22616,
1435,
1216,
31989,
288,
202,
202,
430,
12,
2211,
18,
9561,
5157,
5263,
405,
300,
21,
13,
288,
1082,
202,
2463,
333,
18,
9561,
5157,
63,
2211,
18,
9561,
5157,
5263,
413,
15533,
202,
202,
97,
9506,
202,
2211,
18,
28395,
1345,
1830,
273,
446,
31,
202,
202,
2211,
18,
1484,
311,
785,
858,
10026,
273,
629,
31,
9506,
202,
430,
12,
2211,
18,
892,
18,
6387,
329,
5157,
480,
446,
13,
288,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
1648,
333,
18,
892,
18,
6387,
329,
5157,
5263,
31,
277,
27245,
288,
9506,
202,
430,
12,
2211,
18,
892,
18,
6387,
329,
5157,
2555,
63,
77,
65,
422,
333,
18,
2972,
2555,
300,
404,
597,
277,
405,
2488,
2134,
27329,
5157,
13,
288,
6862,
202,
2211,
18,
892,
18,
6387,
329,
1345,
6668,
63,
77,
65,
273,
638,
31,
6862,
202,
2211,
18,
9561,
5157,
273,
333,
18,
892,
18,
6387,
329,
5157,
63,
77,
15533,
6862,
202,
2211,
18,
9561,
5157,
5263,
273,
333,
18,
892,
18,
6387,
329,
5157,
63,
77,
8009,
2469,
300,
404,
31,
6862,
202,
2211,
18,
28395,
1345,
1830,
273,
3703,
2988,
18,
3417,
67,
7305,
31,
6862,
202,
2211,
18,
291,
27329,
273,
638,
31,
6862,
202,
2211,
18,
1937,
2555,
273,
333,
18,
2972,
2555,
31,
6862,
202,
2211,
18,
7457,
2134,
27329,
5157,
273,
277,
31,
6862,
202,
2463,
333,
18,
9561,
5157,
63,
2211,
18,
9561,
5157,
5263,
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,
509,
22616,
1435,
1216,
31989,
288,
202,
202,
430,
12,
2211,
18,
9561,
5157,
5263,
405,
300,
21,
13,
288,
1082,
202,
2463,
333,
18,
9561,
5157,
63,
2211,
18,
9561,
5157,
5263,
413,
15533,
202,
202,
97,
9506,
202,
2211,
18,
28395,
1345,
1830,
273,
446,
31,
202,
202,
2211,
18,
1484,
311,
785,
858,
10026,
273,
629,
31,
9506,
202,
430,
12,
2211,
18,
892,
18,
6387,
329,
5157,
480,
446,
13,
288,
1082,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
1648,
333,
18,
892,
18,
6387,
329,
5157,
5263,
31,
277,
27245,
288,
9506,
202,
430,
12,
2211,
18,
892,
18,
6387,
329,
5157,
2555,
63,
77,
65,
422,
333,
18,
2
] |
new EditFrameShower(new File(unitlabelDir, basename+".unitlab")).display(); | new EditFrameShower(new File( db.unitLabDirName() + basename + db.unitLabExt() )).display(); | private void editUnitLabels(String basename) throws IOException { new EditFrameShower(new File(unitlabelDir, basename+".unitlab")).display(); } | 24259 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24259/863a435e1e81a31023f567a49dc521436d84df27/LabelFeatureAligner.java/buggy/java/de/dfki/lt/mary/unitselection/voiceimport_reorganized/LabelFeatureAligner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3874,
2802,
5888,
12,
780,
4882,
13,
1216,
1860,
565,
288,
3639,
394,
15328,
3219,
1555,
2085,
12,
2704,
1387,
12,
1319,
18,
4873,
14506,
28780,
1435,
397,
4882,
397,
1319,
18,
4873,
14506,
2482,
1435,
262,
2934,
5417,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3874,
2802,
5888,
12,
780,
4882,
13,
1216,
1860,
565,
288,
3639,
394,
15328,
3219,
1555,
2085,
12,
2704,
1387,
12,
1319,
18,
4873,
14506,
28780,
1435,
397,
4882,
397,
1319,
18,
4873,
14506,
2482,
1435,
262,
2934,
5417,
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
] |
return (ICPPScope) dtor.getName().resolveBinding().getScope(); | IBinding binding = dtor.getName().resolveBinding(); if( !(binding instanceof IProblemBinding) ) scope = binding.getScope(); } else { scope = CPPVisitor.getContainingScope( name ); | static private ICPPScope getLookupScope( IASTName name ) throws DOMException{ IASTNode parent = name.getParent(); if( parent instanceof ICPPASTBaseSpecifier ) { ICPPASTCompositeTypeSpecifier compSpec = (ICPPASTCompositeTypeSpecifier) parent.getParent(); IASTName n = compSpec.getName(); if( n instanceof ICPPASTQualifiedName ){ IASTName [] ns = ((ICPPASTQualifiedName)n).getNames(); n = ns[ ns.length - 1 ]; } return (ICPPScope) CPPVisitor.getContainingScope( n ); } else if( parent instanceof ICPPASTConstructorChainInitializer ){ ICPPASTConstructorChainInitializer initializer = (ICPPASTConstructorChainInitializer) parent; IASTFunctionDeclarator dtor = (IASTFunctionDeclarator) initializer.getParent(); return (ICPPScope) dtor.getName().resolveBinding().getScope(); } return (ICPPScope) CPPVisitor.getContainingScope( name ); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/609f1f0233b996fe185c5541fe3e1bdb427dda5d/CPPSemantics.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPSemantics.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
3238,
467,
4258,
52,
3876,
336,
6609,
3876,
12,
467,
9053,
461,
508,
262,
1216,
4703,
503,
95,
202,
565,
467,
9053,
907,
982,
273,
508,
18,
588,
3054,
5621,
202,
540,
202,
430,
12,
982,
1276,
467,
4258,
4066,
882,
2171,
21416,
262,
288,
377,
202,
565,
467,
4258,
4066,
882,
9400,
559,
21416,
1161,
1990,
273,
261,
2871,
52,
4066,
882,
9400,
559,
21416,
13,
982,
18,
588,
3054,
5621,
377,
202,
565,
467,
9053,
461,
290,
273,
1161,
1990,
18,
17994,
5621,
377,
202,
565,
309,
12,
290,
1276,
467,
4258,
4066,
882,
12345,
262,
95,
377,
202,
3639,
467,
9053,
461,
5378,
3153,
273,
14015,
2871,
52,
4066,
882,
12345,
13,
82,
2934,
588,
1557,
5621,
377,
202,
3639,
290,
273,
3153,
63,
3153,
18,
2469,
300,
404,
308,
31,
377,
202,
565,
289,
377,
202,
377,
202,
3639,
327,
261,
2871,
6584,
3876,
13,
5181,
52,
7413,
18,
588,
24344,
3876,
12,
290,
11272,
202,
565,
289,
469,
309,
12,
982,
1276,
467,
4258,
4066,
882,
6293,
3893,
14729,
262,
95,
202,
377,
202,
2871,
52,
4066,
882,
6293,
3893,
14729,
12562,
273,
261,
2871,
52,
4066,
882,
6293,
3893,
14729,
13,
982,
31,
202,
377,
202,
45,
9053,
2083,
31419,
3681,
280,
273,
261,
45,
9053,
2083,
31419,
13,
12562,
18,
588,
3054,
5621,
202,
377,
202,
2463,
261,
2871,
6584,
3876,
13,
3681,
280,
18,
17994,
7675,
10828,
5250,
7675,
588,
3876,
5621,
202,
377,
1082,
565,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
3238,
467,
4258,
52,
3876,
336,
6609,
3876,
12,
467,
9053,
461,
508,
262,
1216,
4703,
503,
95,
202,
565,
467,
9053,
907,
982,
273,
508,
18,
588,
3054,
5621,
202,
540,
202,
430,
12,
982,
1276,
467,
4258,
4066,
882,
2171,
21416,
262,
288,
377,
202,
565,
467,
4258,
4066,
882,
9400,
559,
21416,
1161,
1990,
273,
261,
2871,
52,
4066,
882,
9400,
559,
21416,
13,
982,
18,
588,
3054,
5621,
377,
202,
565,
467,
9053,
461,
290,
273,
1161,
1990,
18,
17994,
5621,
377,
202,
565,
309,
12,
290,
1276,
467,
4258,
4066,
882,
12345,
262,
95,
377,
202,
3639,
467,
9053,
461,
5378,
3153,
273,
14015,
2871,
52,
4066,
882,
12345,
13,
82,
2
] |
View copy=new View(view.getVid(), new Vector(view.getMembers())); Vector members=copy.getMembers(); | Vector members=new Vector(view.getMembers()); | private View generateServiceView(List hosts) { View copy=new View(view.getVid(), new Vector(view.getMembers())); Vector members=copy.getMembers(); members.retainAll(hosts); return copy; } | 49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/9b6839e6b4fd1e5468397fff7d713fef86820db7/Multiplexer.java/buggy/src/org/jgroups/mux/Multiplexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4441,
2103,
1179,
1767,
12,
682,
7206,
13,
288,
3639,
4441,
1610,
33,
2704,
4441,
12,
1945,
18,
588,
58,
350,
9334,
394,
5589,
12,
1945,
18,
588,
6918,
1435,
10019,
3639,
5589,
4833,
33,
3530,
18,
588,
6918,
5621,
3639,
4833,
18,
1349,
530,
1595,
12,
11588,
1769,
3639,
327,
1610,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
3238,
4441,
2103,
1179,
1767,
12,
682,
7206,
13,
288,
3639,
4441,
1610,
33,
2704,
4441,
12,
1945,
18,
588,
58,
350,
9334,
394,
5589,
12,
1945,
18,
588,
6918,
1435,
10019,
3639,
5589,
4833,
33,
3530,
18,
588,
6918,
5621,
3639,
4833,
18,
1349,
530,
1595,
12,
11588,
1769,
3639,
327,
1610,
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
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.