rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
ExceptionHandler.handle( e1 );
|
try { startTrans( "" ); DataSetHandle dataSet = null; if ( value != null ) { dataSet = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .findDataSet( value ); } inputElement.setDataSet( dataSet ); generateBindingColumns( ); getPropertyHandle( ).setStringValue( null ); commit( ); } catch ( SemanticException e ) { rollback( ); ExceptionHandler.handle( e ); } } else { combo.setText( getDataSetName( ) );
|
public void widgetSelected( SelectionEvent e ) { try { generateBindingColumns( ); } catch ( SemanticException e1 ) { ExceptionHandler.handle( e1 ); } }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/15c85b1d34fa941f42090cb349b973e1e1d52ce4/ColumnBindingDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ColumnBindingDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
12,
12977,
1133,
425,
262,
1082,
202,
95,
9506,
202,
698,
9506,
202,
95,
6862,
202,
7163,
5250,
3380,
12,
11272,
9506,
202,
97,
9506,
202,
14683,
261,
24747,
503,
425,
21,
262,
9506,
202,
95,
6862,
202,
18894,
18,
4110,
12,
425,
21,
11272,
9506,
202,
97,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1875,
202,
482,
918,
3604,
7416,
12,
12977,
1133,
425,
262,
1082,
202,
95,
9506,
202,
698,
9506,
202,
95,
6862,
202,
7163,
5250,
3380,
12,
11272,
9506,
202,
97,
9506,
202,
14683,
261,
24747,
503,
425,
21,
262,
9506,
202,
95,
6862,
202,
18894,
18,
4110,
12,
425,
21,
11272,
9506,
202,
97,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
removePkChange.apply(currentModel);
|
removePkChange.apply(currentModel, getPlatform().isDelimitedIdentifierModeOn());
|
protected void processTableStructureChanges(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) throws IOException { // First we drop primary keys as necessary for (Iterator changeIt = changes.iterator(); changeIt.hasNext();) { TableChange change = (TableChange)changeIt.next(); if (change instanceof RemovePrimaryKeyChange) { processChange(currentModel, desiredModel, (RemovePrimaryKeyChange)change); change.apply(currentModel); changeIt.remove(); } else if (change instanceof PrimaryKeyChange) { PrimaryKeyChange pkChange = (PrimaryKeyChange)change; RemovePrimaryKeyChange removePkChange = new RemovePrimaryKeyChange(pkChange.getChangedTable(), pkChange.getOldPrimaryKeyColumns()); processChange(currentModel, desiredModel, removePkChange); removePkChange.apply(currentModel); } } HashMap columnChanges = new HashMap(); // Next we add/remove columns for (Iterator changeIt = changes.iterator(); changeIt.hasNext();) { TableChange change = (TableChange)changeIt.next(); if (change instanceof AddColumnChange) { AddColumnChange addColumnChange = (AddColumnChange)change; // Oracle can only add not insert columns if (addColumnChange.isAtEnd()) { processChange(currentModel, desiredModel, addColumnChange); change.apply(currentModel); changeIt.remove(); } } else if (change instanceof RemoveColumnChange) { processChange(currentModel, desiredModel, (RemoveColumnChange)change); change.apply(currentModel); changeIt.remove(); } else if (change instanceof ColumnAutoIncrementChange) { // Sybase has no way of adding or removing an IDENTITY constraint // Thus we have to rebuild the table anyway and can ignore all the other // column changes columnChanges = null; } else if ((change instanceof ColumnChange) && (columnChanges != null)) { // we gather all changed columns because we can use the ALTER TABLE ALTER COLUMN // statement for them ColumnChange columnChange = (ColumnChange)change; ArrayList changesPerColumn = (ArrayList)columnChanges.get(columnChange.getChangedColumn()); if (changesPerColumn == null) { changesPerColumn = new ArrayList(); columnChanges.put(columnChange.getChangedColumn(), changesPerColumn); } changesPerColumn.add(change); } } if (columnChanges != null) { for (Iterator changesPerColumnIt = columnChanges.entrySet().iterator(); changesPerColumnIt.hasNext();) { Map.Entry entry = (Map.Entry)changesPerColumnIt.next(); Column sourceColumn = (Column)entry.getKey(); ArrayList changesPerColumn = (ArrayList)entry.getValue(); // Sybase does not like us to use the ALTER TABLE ALTER statement if we don't actually // change the datatype or the required constraint but only the default value // Thus, if we only have to change the default, we use a different handler if ((changesPerColumn.size() == 1) && (changesPerColumn.get(0) instanceof ColumnDefaultValueChange)) { processChange(currentModel, desiredModel, (ColumnDefaultValueChange)changesPerColumn.get(0)); } else { Column targetColumn = targetTable.findColumn(sourceColumn.getName(), getPlatform().isDelimitedIdentifierModeOn()); processColumnChange(sourceTable, targetTable, sourceColumn, targetColumn); } for (Iterator changeIt = changesPerColumn.iterator(); changeIt.hasNext();) { ((ColumnChange)changeIt.next()).apply(currentModel); } } } // Finally we add primary keys for (Iterator changeIt = changes.iterator(); changeIt.hasNext();) { TableChange change = (TableChange)changeIt.next(); if (change instanceof AddPrimaryKeyChange) { processChange(currentModel, desiredModel, (AddPrimaryKeyChange)change); change.apply(currentModel); changeIt.remove(); } else if (change instanceof PrimaryKeyChange) { PrimaryKeyChange pkChange = (PrimaryKeyChange)change; AddPrimaryKeyChange addPkChange = new AddPrimaryKeyChange(pkChange.getChangedTable(), pkChange.getNewPrimaryKeyColumns()); processChange(currentModel, desiredModel, addPkChange); addPkChange.apply(currentModel); changeIt.remove(); } } }
|
1224 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1224/371723165faaa6129c3209f2639ecd38c6a3c2fd/SybaseBuilder.java/buggy/src/java/org/apache/ddlutils/platform/sybase/SybaseBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1207,
1388,
6999,
7173,
12,
4254,
783,
1488,
16,
4766,
7734,
5130,
6049,
1488,
16,
4766,
7734,
3555,
565,
1084,
1388,
16,
4766,
7734,
3555,
565,
1018,
1388,
16,
4766,
7734,
1635,
1377,
1472,
16,
4766,
7734,
987,
377,
3478,
13,
1216,
1860,
565,
288,
3639,
368,
5783,
732,
3640,
3354,
1311,
487,
4573,
3639,
364,
261,
3198,
2549,
7193,
273,
3478,
18,
9838,
5621,
2549,
7193,
18,
5332,
2134,
5621,
13,
3639,
288,
5411,
3555,
3043,
2549,
273,
261,
1388,
3043,
13,
3427,
7193,
18,
4285,
5621,
5411,
309,
261,
3427,
1276,
3581,
11575,
3043,
13,
5411,
288,
7734,
1207,
3043,
12,
2972,
1488,
16,
6049,
1488,
16,
261,
3288,
11575,
3043,
13,
3427,
1769,
7734,
2549,
18,
9010,
12,
2972,
1488,
1769,
7734,
2549,
7193,
18,
4479,
5621,
5411,
289,
5411,
469,
309,
261,
3427,
1276,
15884,
653,
3043,
13,
5411,
288,
7734,
15884,
653,
3043,
4202,
2365,
3043,
4202,
273,
261,
11575,
3043,
13,
3427,
31,
7734,
3581,
11575,
3043,
1206,
7789,
3043,
273,
394,
3581,
11575,
3043,
12,
5465,
3043,
18,
588,
5033,
1388,
9334,
28524,
10402,
2365,
3043,
18,
588,
7617,
11575,
3380,
10663,
7734,
1207,
3043,
12,
2972,
1488,
16,
6049,
1488,
16,
1206,
7789,
3043,
1769,
7734,
1206,
7789,
3043,
18,
9010,
12,
2972,
1488,
16,
24921,
7675,
291,
23531,
329,
3004,
2309,
1398,
10663,
5411,
289,
3639,
289,
3639,
4317,
1057,
7173,
273,
394,
4317,
5621,
3639,
368,
4804,
732,
527,
19,
4479,
2168,
3639,
364,
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,
1207,
1388,
6999,
7173,
12,
4254,
783,
1488,
16,
4766,
7734,
5130,
6049,
1488,
16,
4766,
7734,
3555,
565,
1084,
1388,
16,
4766,
7734,
3555,
565,
1018,
1388,
16,
4766,
7734,
1635,
1377,
1472,
16,
4766,
7734,
987,
377,
3478,
13,
1216,
1860,
565,
288,
3639,
368,
5783,
732,
3640,
3354,
1311,
487,
4573,
3639,
364,
261,
3198,
2549,
7193,
273,
3478,
18,
9838,
5621,
2549,
7193,
18,
5332,
2134,
5621,
13,
3639,
288,
5411,
3555,
3043,
2549,
273,
261,
1388,
3043,
13,
3427,
7193,
18,
4285,
5621,
5411,
309,
261,
3427,
1276,
3581,
11575,
3043,
13,
5411,
288,
7734,
1207,
3043,
12,
2972,
1488,
16,
6049,
1488,
16,
261,
3288,
11575,
3043,
13,
3427,
1769,
2
] |
recv.getRuntime().getRuntime().setTraceFunction((RubyProc) trace_func);
|
public static IRubyObject set_trace_func(IRubyObject recv, IRubyObject trace_func) { if (trace_func.isNil()) { recv.getRuntime().getRuntime().setTraceFunction(null); } else if (!(trace_func instanceof RubyProc)) { throw new TypeError(recv.getRuntime(), "trace_func needs to be Proc."); } recv.getRuntime().getRuntime().setTraceFunction((RubyProc) trace_func); return trace_func; }
|
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/7b41d102019836c9a5ec6884b2d9b9380f9853a7/KernelModule.java/buggy/org/jruby/KernelModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
444,
67,
5129,
67,
644,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
2606,
67,
644,
13,
288,
3639,
309,
261,
5129,
67,
644,
18,
291,
12616,
10756,
288,
5411,
10665,
18,
588,
5576,
7675,
588,
5576,
7675,
542,
3448,
2083,
12,
2011,
1769,
3639,
289,
469,
309,
16051,
12,
5129,
67,
644,
1276,
19817,
15417,
3719,
288,
5411,
604,
394,
3580,
12,
18334,
18,
588,
5576,
9334,
315,
5129,
67,
644,
4260,
358,
506,
18470,
1199,
1769,
3639,
289,
9079,
327,
2606,
67,
644,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
444,
67,
5129,
67,
644,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
2606,
67,
644,
13,
288,
3639,
309,
261,
5129,
67,
644,
18,
291,
12616,
10756,
288,
5411,
10665,
18,
588,
5576,
7675,
588,
5576,
7675,
542,
3448,
2083,
12,
2011,
1769,
3639,
289,
469,
309,
16051,
12,
5129,
67,
644,
1276,
19817,
15417,
3719,
288,
5411,
604,
394,
3580,
12,
18334,
18,
588,
5576,
9334,
315,
5129,
67,
644,
4260,
358,
506,
18470,
1199,
1769,
3639,
289,
9079,
327,
2606,
67,
644,
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
] |
|
rs.updateNull(2);
|
rs.updateObject(2, null);
|
public void testBlobSetNull10() throws Exception { Statement stmt = con.createStatement(); stmt.execute("CREATE TABLE #blobsetnull10 (id NUMERIC IDENTITY, data IMAGE, " + "CONSTRAINT pk_blobsetnull10 PRIMARY KEY CLUSTERED (id))"); stmt.close(); stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); ResultSet rs = stmt.executeQuery("SELECT id, data FROM #blobsetnull10"); rs.moveToInsertRow(); // Test ResultSet.updateNull() rs.updateNull(2); rs.insertRow(); stmt.close(); rs.close(); Statement stmt2 = con.createStatement(); ResultSet rs2 = stmt2.executeQuery("SELECT data FROM #blobsetnull10"); assertTrue(rs2.next()); // Test ResultSet.getBinaryStream() assertTrue(rs2.getBinaryStream(1) == null); assertTrue(rs2.wasNull()); // Test ResultSet.getBlob() assertTrue(rs2.getBlob(1) == null); assertTrue(rs2.wasNull()); // Test ResultSet.getBytes() assertTrue(rs2.getBytes(1) == null); assertTrue(rs2.wasNull()); // Test ResultSet.getObject() assertTrue(rs2.getObject(1) == null); assertTrue(rs2.wasNull()); assertTrue(!rs2.next()); stmt2.close(); rs2.close(); }
|
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/7853f833efd6459adefa1047fa954e26689a0006/LOBTest.java/buggy/src/test/net/sourceforge/jtds/test/LOBTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
9405,
694,
2041,
2163,
1435,
1216,
1185,
288,
3639,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
3639,
3480,
18,
8837,
2932,
9344,
7567,
468,
10721,
542,
2011,
2163,
261,
350,
31288,
1599,
11101,
16,
501,
10757,
16,
315,
5397,
397,
315,
15199,
2365,
67,
10721,
542,
2011,
2163,
20058,
5311,
14934,
23069,
2056,
261,
350,
30743,
1769,
3639,
3480,
18,
4412,
5621,
3639,
3480,
273,
356,
18,
2640,
3406,
12,
13198,
18,
2399,
67,
2312,
14555,
67,
26753,
16325,
16,
10842,
18,
2248,
7509,
67,
3079,
11102,
2782,
1769,
3639,
10842,
3597,
273,
3480,
18,
8837,
1138,
2932,
4803,
612,
16,
501,
4571,
468,
10721,
542,
2011,
2163,
8863,
3639,
3597,
18,
8501,
774,
4600,
1999,
5621,
3639,
368,
7766,
10842,
18,
2725,
2041,
1435,
3639,
3597,
18,
2725,
921,
12,
22,
16,
225,
446,
1769,
3639,
3597,
18,
6387,
1999,
5621,
3639,
3480,
18,
4412,
5621,
3639,
3597,
18,
4412,
5621,
3639,
8056,
3480,
22,
273,
356,
18,
2640,
3406,
5621,
3639,
10842,
3597,
22,
273,
3480,
22,
18,
8837,
1138,
2932,
4803,
501,
4571,
468,
10721,
542,
2011,
2163,
8863,
3639,
1815,
5510,
12,
5453,
22,
18,
4285,
10663,
3639,
368,
7766,
10842,
18,
588,
5905,
1228,
1435,
3639,
1815,
5510,
12,
5453,
22,
18,
588,
5905,
1228,
12,
21,
13,
422,
446,
1769,
3639,
1815,
5510,
12,
5453,
22,
18,
17416,
2041,
10663,
3639,
368,
7766,
10842,
18,
588,
9405,
1435,
3639,
1815,
5510,
12,
5453,
22,
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,
1842,
9405,
694,
2041,
2163,
1435,
1216,
1185,
288,
3639,
8056,
3480,
273,
356,
18,
2640,
3406,
5621,
3639,
3480,
18,
8837,
2932,
9344,
7567,
468,
10721,
542,
2011,
2163,
261,
350,
31288,
1599,
11101,
16,
501,
10757,
16,
315,
5397,
397,
315,
15199,
2365,
67,
10721,
542,
2011,
2163,
20058,
5311,
14934,
23069,
2056,
261,
350,
30743,
1769,
3639,
3480,
18,
4412,
5621,
3639,
3480,
273,
356,
18,
2640,
3406,
12,
13198,
18,
2399,
67,
2312,
14555,
67,
26753,
16325,
16,
10842,
18,
2248,
7509,
67,
3079,
11102,
2782,
1769,
3639,
10842,
3597,
273,
3480,
18,
8837,
1138,
2932,
4803,
612,
16,
501,
4571,
468,
10721,
542,
2011,
2163,
8863,
3639,
3597,
18,
8501,
774,
2
] |
} else { attribute = new Attribute(line); String nameReadAhead = addAttributeAndCheck(attribute);
|
else { attribute.addContinuation( line ); } } else { attribute = new Attribute( line ); String nameReadAhead = addAttributeAndCheck( attribute );
|
public String read(BufferedReader reader) throws ManifestException, IOException { Attribute attribute = null; while (true) { String line = reader.readLine(); if (line == null || line.length() == 0) { return null; } if (line.charAt(0) == ' ') { // continuation line if (attribute == null) { if (name != null) { // a continuation on the first line is a // continuation of the name - concatenate this // line and the name name += line.substring(1); } else { throw new ManifestException("Can't start an " + "attribute with a continuation line " + line); } } else { attribute.addContinuation(line); } } else { attribute = new Attribute(line); String nameReadAhead = addAttributeAndCheck(attribute); // refresh attribute in case of multivalued attributes. attribute = getAttribute(attribute.getKey()); if (nameReadAhead != null) { return nameReadAhead; } } } }
|
10884 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10884/8348e0b29d34f62b8f140a99598373fb0cbf7fcb/Manifest.java/clean/src/main/java/org/codehaus/plexus/archiver/jar/Manifest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
855,
12,
17947,
2514,
2949,
13,
2398,
1216,
15443,
503,
16,
1860,
288,
5411,
3601,
1566,
273,
446,
31,
5411,
1323,
261,
3767,
13,
288,
7734,
514,
980,
273,
2949,
18,
896,
1670,
5621,
7734,
309,
261,
1369,
422,
446,
747,
980,
18,
2469,
1435,
422,
374,
13,
288,
10792,
327,
446,
31,
7734,
289,
7734,
309,
261,
1369,
18,
3001,
861,
12,
20,
13,
422,
296,
8624,
288,
10792,
368,
17378,
980,
10792,
309,
261,
4589,
422,
446,
13,
288,
13491,
309,
261,
529,
480,
446,
13,
288,
18701,
368,
279,
17378,
603,
326,
1122,
980,
353,
279,
18701,
368,
17378,
434,
326,
508,
300,
11361,
333,
18701,
368,
980,
471,
326,
508,
18701,
508,
1011,
980,
18,
28023,
12,
21,
1769,
13491,
289,
469,
288,
18701,
604,
394,
15443,
503,
2932,
2568,
1404,
787,
392,
315,
27573,
397,
315,
4589,
598,
279,
17378,
980,
315,
397,
980,
1769,
13491,
289,
10792,
289,
469,
288,
13491,
1566,
18,
1289,
660,
23946,
12,
1369,
1769,
10792,
289,
7734,
289,
469,
288,
10792,
1566,
273,
394,
3601,
12,
1369,
1769,
10792,
514,
508,
1994,
24250,
273,
10759,
31151,
12,
4589,
1769,
10792,
368,
4460,
1566,
316,
648,
434,
1778,
427,
15730,
1677,
18,
10792,
1566,
273,
4061,
12,
4589,
18,
588,
653,
10663,
10792,
309,
261,
529,
1994,
24250,
480,
446,
13,
288,
13491,
327,
508,
1994,
24250,
31,
10792,
289,
7734,
289,
5411,
289,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
855,
12,
17947,
2514,
2949,
13,
2398,
1216,
15443,
503,
16,
1860,
288,
5411,
3601,
1566,
273,
446,
31,
5411,
1323,
261,
3767,
13,
288,
7734,
514,
980,
273,
2949,
18,
896,
1670,
5621,
7734,
309,
261,
1369,
422,
446,
747,
980,
18,
2469,
1435,
422,
374,
13,
288,
10792,
327,
446,
31,
7734,
289,
7734,
309,
261,
1369,
18,
3001,
861,
12,
20,
13,
422,
296,
8624,
288,
10792,
368,
17378,
980,
10792,
309,
261,
4589,
422,
446,
13,
288,
13491,
309,
261,
529,
480,
446,
13,
288,
18701,
368,
279,
17378,
603,
326,
1122,
980,
353,
279,
18701,
368,
17378,
434,
326,
508,
300,
11361,
333,
18701,
368,
980,
471,
326,
508,
18701,
508,
2
] |
private void handleStringComparison( JavaClass jclass, MethodGen methodGen, RefComparisonTypeFrameModelingVisitor visitor, List<WarningWithProperties> stringComparisonList, Location location, Type lhsType, Type rhsType) { if (DEBUG) System.out.println("String/String comparison at " + location.getHandle()); // Compute the priority: // - two static strings => do not report // - dynamic string and anything => high // - static string and unknown => medium // - all other cases => low // System.out.println("Compare " + lhsType + " == " + rhsType); byte type1 = lhsType.getType(); byte type2 = rhsType.getType(); // T1 T2 result // S S no-op // D ? high // ? D high // S ? normal // ? S normal WarningPropertySet propertySet = new WarningPropertySet(); if (type1 == T_STATIC_STRING && type2 == T_STATIC_STRING) { //priority = LOW_PRIORITY + 1; propertySet.addProperty(RefComparisonWarningProperty.COMPARE_STATIC_STRINGS); } else if (type1 == T_DYNAMIC_STRING || type2 == T_DYNAMIC_STRING) { //priority = HIGH_PRIORITY; propertySet.addProperty(RefComparisonWarningProperty.DYNAMIC_AND_UNKNOWN); } else if (type1 == T_STATIC_STRING || type2 == T_STATIC_STRING) { //priority = LOW_PRIORITY; propertySet.addProperty(RefComparisonWarningProperty.STATIC_AND_UNKNOWN); } else if (visitor.sawStringIntern()) { //priority = LOW_PRIORITY; propertySet.addProperty(RefComparisonWarningProperty.SAW_INTERN); } String sourceFile = jclass.getSourceFileName(); BugInstance instance = new BugInstance(this, "ES_COMPARING_STRINGS_WITH_EQ", NORMAL_PRIORITY) .addClassAndMethod(methodGen, sourceFile) .addClass("java.lang.String").describe("CLASS_REFTYPE") .addSourceLine(this.classContext, methodGen, sourceFile, location.getHandle()); WarningWithProperties warn = new WarningWithProperties(instance, propertySet, location); stringComparisonList.add(warn); }
|
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/2ae4f96b031ff2a3d72ed2072699c289549cb751/FindRefComparison.java/clean/findbugs/src/java/edu/umd/cs/findbugs/detect/FindRefComparison.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6459,
4110,
780,
16059,
12,
1082,
202,
5852,
797,
78,
1106,
16,
1082,
202,
1305,
7642,
2039,
7642,
16,
1082,
202,
1957,
16059,
559,
3219,
1488,
310,
7413,
3516,
1811,
16,
1082,
202,
682,
32,
6210,
1190,
2297,
34,
1080,
16059,
682,
16,
1082,
202,
2735,
3562,
16,
1082,
202,
18488,
292,
4487,
559,
16,
1082,
202,
56,
8300,
4487,
559,
15329,
202,
202,
430,
12,
9394,
13,
3163,
18,
659,
18,
8222,
2932,
780,
19,
780,
23050,
270,
6,
15,
3562,
18,
588,
3259,
10663,
202,
202,
759,
7703,
546,
881,
2959,
30,
202,
202,
759,
17,
11246,
669,
2126,
10219,
9207,
19752,
352,
6006,
202,
202,
759,
17,
14507,
1080,
464,
2273,
4274,
9207,
8766,
202,
202,
759,
17,
3845,
1080,
464,
8172,
9207,
19011,
202,
202,
759,
17,
454,
3011,
22186,
9207,
821,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
8583,
6,
15,
80,
4487,
559,
9078,
31713,
15,
86,
4487,
559,
1769,
202,
202,
1637,
88,
5872,
21,
33,
80,
4487,
559,
18,
588,
559,
5621,
202,
202,
1637,
88,
5872,
22,
33,
86,
4487,
559,
18,
588,
559,
5621,
9506,
202,
759,
56,
21,
56,
22,
2088,
202,
202,
759,
1260,
2135,
17,
556,
202,
202,
759,
40,
35,
8766,
202,
202,
759,
35,
40,
8766,
202,
202,
759,
55,
35,
6130,
202,
202,
759,
35,
55,
6130,
202,
202,
6210,
1396,
694,
4468,
694,
33,
2704,
6210,
1396,
694,
5621,
202,
202,
430,
12,
723,
21,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6459,
4110,
780,
16059,
12,
1082,
202,
5852,
797,
78,
1106,
16,
1082,
202,
1305,
7642,
2039,
7642,
16,
1082,
202,
1957,
16059,
559,
3219,
1488,
310,
7413,
3516,
1811,
16,
1082,
202,
682,
32,
6210,
1190,
2297,
34,
1080,
16059,
682,
16,
1082,
202,
2735,
3562,
16,
1082,
202,
18488,
292,
4487,
559,
16,
1082,
202,
56,
8300,
4487,
559,
15329,
202,
202,
430,
12,
9394,
13,
3163,
18,
659,
18,
8222,
2932,
780,
19,
780,
23050,
270,
6,
15,
3562,
18,
588,
3259,
10663,
202,
202,
759,
7703,
546,
881,
2959,
30,
202,
202,
759,
17,
11246,
669,
2126,
10219,
9207,
19752,
352,
6006,
202,
202,
759,
17,
14507,
1080,
464,
2273,
4274,
9207,
2
] |
||
public void addWarning(String msg) { DriverManager.println(msg); // Add the warning to the chain if(firstWarning!=null) firstWarning.setNextWarning(new SQLWarning(msg)); else firstWarning = new SQLWarning(msg); // Now check for some specific messages // This is obsolete in 6.5, but I've left it in here so if we need to use this // technique again, we'll know where to place it. // // This is generated by the SQL "show datestyle" //if(msg.startsWith("NOTICE:") && msg.indexOf("DateStyle")>0) { //// 13 is the length off "DateStyle is " //msg = msg.substring(msg.indexOf("DateStyle is ")+13); // //for(int i=0;i<dateStyles.length;i+=2) //if(msg.startsWith(dateStyles[i])) //currentDateStyle=i+1; // this is the index of the format //} }
|
45497 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45497/45b5d792afa60ae24d57cdceaaec0e03cf6abb2a/Connection.java/buggy/src/interfaces/jdbc/org/postgresql/Connection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
6210,
12,
780,
1234,
13,
565,
288,
202,
4668,
1318,
18,
8222,
12,
3576,
1769,
202,
202,
759,
1436,
326,
3436,
358,
326,
2687,
202,
430,
12,
3645,
6210,
5,
33,
2011,
13,
202,
565,
1122,
6210,
18,
542,
2134,
6210,
12,
2704,
3063,
6210,
12,
3576,
10019,
202,
12107,
202,
565,
1122,
6210,
273,
394,
3063,
6210,
12,
3576,
1769,
202,
202,
759,
4494,
866,
364,
2690,
2923,
2743,
202,
202,
759,
1220,
353,
27191,
316,
1666,
18,
25,
16,
1496,
467,
8081,
2002,
518,
316,
2674,
1427,
309,
732,
1608,
358,
999,
333,
202,
759,
17734,
2161,
3382,
16,
732,
5614,
5055,
1625,
358,
3166,
518,
18,
202,
759,
202,
759,
1220,
353,
4374,
635,
326,
3063,
315,
4500,
1150,
19706,
6,
202,
759,
430,
12,
3576,
18,
17514,
1190,
2932,
20559,
2773,
13,
597,
1234,
18,
31806,
2932,
1626,
2885,
7923,
34,
20,
13,
288,
202,
1307,
5958,
353,
326,
769,
3397,
315,
1626,
2885,
353,
315,
202,
759,
3576,
273,
1234,
18,
28023,
12,
3576,
18,
31806,
2932,
1626,
2885,
353,
9369,
15,
3437,
1769,
202,
759,
282,
202,
759,
1884,
12,
474,
277,
33,
20,
31,
77,
32,
712,
9725,
18,
2469,
31,
77,
15,
33,
22,
13,
202,
759,
430,
12,
3576,
18,
17514,
1190,
12,
712,
9725,
63,
77,
22643,
202,
759,
2972,
1626,
2885,
33,
77,
15,
21,
31,
368,
333,
353,
326,
770,
434,
326,
740,
202,
759,
97,
565,
289,
2,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
6210,
12,
780,
1234,
13,
565,
288,
202,
4668,
1318,
18,
8222,
12,
3576,
1769,
202,
202,
759,
1436,
326,
3436,
358,
326,
2687,
202,
430,
12,
3645,
6210,
5,
33,
2011,
13,
202,
565,
1122,
6210,
18,
542,
2134,
6210,
12,
2704,
3063,
6210,
12,
3576,
10019,
202,
12107,
202,
565,
1122,
6210,
273,
394,
3063,
6210,
12,
3576,
1769,
202,
202,
759,
4494,
866,
364,
2690,
2923,
2743,
202,
202,
759,
1220,
353,
27191,
316,
1666,
18,
25,
16,
1496,
467,
8081,
2002,
518,
316,
2674,
1427,
309,
732,
1608,
358,
999,
333,
202,
759,
17734,
2161,
3382,
16,
732,
5614,
5055,
1625,
358,
3166,
518,
18,
202,
759,
202,
759,
1220,
353,
2
] |
||
assertEquals( callback.getReferences().size(), 1 ); Iterator references =callback.getReferences().iterator(); assertEquals( ((IASTReference)references.next()).getReferencedElement(), foo2 ); assertFalse( references.hasNext() );
|
assertAllReferences( 1, createTaskList( new Task( foo2 )));
|
public void testUnaryMinusCastExpression() throws Exception { Iterator i = parse( "void foo(); int foo( int ); int x = foo( -5 );").getDeclarations(); IASTFunction foo = (IASTFunction)i.next(); IASTFunction foo2 = (IASTFunction)i.next(); IASTVariable x = (IASTVariable)i.next(); assertFalse( i.hasNext() ); assertEquals( callback.getReferences().size(), 1 ); Iterator references =callback.getReferences().iterator(); assertEquals( ((IASTReference)references.next()).getReferencedElement(), foo2 ); assertFalse( references.hasNext() ); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/02c194aaf46b86d6f7a904d6f531e535d47002ba/CompleteParseASTExpressionTest.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/CompleteParseASTExpressionTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
15972,
18434,
9735,
2300,
1435,
1216,
1185,
288,
3196,
202,
3198,
277,
273,
1109,
12,
315,
6459,
8431,
5621,
509,
8431,
12,
509,
11272,
509,
619,
273,
8431,
12,
300,
25,
262,
4868,
2934,
588,
21408,
5621,
202,
202,
45,
9053,
2083,
8431,
273,
261,
45,
9053,
2083,
13,
77,
18,
4285,
5621,
202,
202,
45,
9053,
2083,
8431,
22,
273,
261,
45,
9053,
2083,
13,
77,
18,
4285,
5621,
3196,
202,
45,
9053,
3092,
619,
273,
261,
45,
9053,
3092,
13,
77,
18,
4285,
5621,
202,
202,
11231,
8381,
12,
277,
18,
5332,
2134,
1435,
11272,
202,
202,
11231,
8867,
12,
1348,
18,
588,
8221,
7675,
1467,
9334,
404,
11272,
202,
202,
3198,
5351,
273,
3394,
18,
588,
8221,
7675,
9838,
5621,
202,
202,
11231,
8867,
12,
14015,
45,
9053,
2404,
13,
14353,
18,
4285,
1435,
2934,
588,
22344,
1046,
9334,
8431,
22,
11272,
3196,
202,
11231,
8381,
12,
5351,
18,
5332,
2134,
1435,
11272,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
15972,
18434,
9735,
2300,
1435,
1216,
1185,
288,
3196,
202,
3198,
277,
273,
1109,
12,
315,
6459,
8431,
5621,
509,
8431,
12,
509,
11272,
509,
619,
273,
8431,
12,
300,
25,
262,
4868,
2934,
588,
21408,
5621,
202,
202,
45,
9053,
2083,
8431,
273,
261,
45,
9053,
2083,
13,
77,
18,
4285,
5621,
202,
202,
45,
9053,
2083,
8431,
22,
273,
261,
45,
9053,
2083,
13,
77,
18,
4285,
5621,
3196,
202,
45,
9053,
3092,
619,
273,
261,
45,
9053,
3092,
13,
77,
18,
4285,
5621,
202,
202,
11231,
8381,
12,
277,
18,
5332,
2134,
1435,
11272,
202,
202,
11231,
8867,
12,
1348,
18,
588,
8221,
7675,
1467,
9334,
404,
11272,
202,
202,
3198,
2
] |
stack[stackTop] = DBL_MRK;
|
stack[stackTop] = UniqueTag.DOUBLE_MARK;
|
private static void do_add(Object[] stack, double[] sDbl, int stackTop, Context cx) { Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; double d; boolean leftRightOrder; if (rhs == DBL_MRK) { d = sDbl[stackTop + 1]; if (lhs == DBL_MRK) { sDbl[stackTop] += d; return; } leftRightOrder = true; // fallthrough to object + number code } else if (lhs == DBL_MRK) { d = sDbl[stackTop]; lhs = rhs; leftRightOrder = false; // fallthrough to object + number code } else { if (lhs instanceof Scriptable || rhs instanceof Scriptable) { stack[stackTop] = ScriptRuntime.add(lhs, rhs, cx); } else if (lhs instanceof String) { String lstr = (String)lhs; String rstr = ScriptRuntime.toString(rhs); stack[stackTop] = lstr.concat(rstr); } else if (rhs instanceof String) { String lstr = ScriptRuntime.toString(lhs); String rstr = (String)rhs; stack[stackTop] = lstr.concat(rstr); } else { double lDbl = (lhs instanceof Number) ? ((Number)lhs).doubleValue() : ScriptRuntime.toNumber(lhs); double rDbl = (rhs instanceof Number) ? ((Number)rhs).doubleValue() : ScriptRuntime.toNumber(rhs); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl + rDbl; } return; } // handle object(lhs) + number(d) code if (lhs instanceof Scriptable) { rhs = ScriptRuntime.wrapNumber(d); if (!leftRightOrder) { Object tmp = lhs; lhs = rhs; rhs = tmp; } stack[stackTop] = ScriptRuntime.add(lhs, rhs, cx); } else if (lhs instanceof String) { String lstr = (String)lhs; String rstr = ScriptRuntime.toString(d); if (leftRightOrder) { stack[stackTop] = lstr.concat(rstr); } else { stack[stackTop] = rstr.concat(lstr); } } else { double lDbl = (lhs instanceof Number) ? ((Number)lhs).doubleValue() : ScriptRuntime.toNumber(lhs); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl + d; } }
|
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/bef182034b96d54a2938fe141217e83b8644cf25/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
741,
67,
1289,
12,
921,
8526,
2110,
16,
1645,
8526,
272,
40,
3083,
16,
509,
2110,
3401,
16,
17311,
1772,
9494,
13,
565,
288,
3639,
1033,
7711,
273,
2110,
63,
3772,
3401,
397,
404,
15533,
3639,
1033,
8499,
273,
2110,
63,
3772,
3401,
15533,
3639,
1645,
302,
31,
3639,
1250,
2002,
4726,
2448,
31,
3639,
309,
261,
86,
4487,
422,
2383,
48,
67,
23464,
47,
13,
288,
5411,
302,
273,
272,
40,
3083,
63,
3772,
3401,
397,
404,
15533,
5411,
309,
261,
80,
4487,
422,
2383,
48,
67,
23464,
47,
13,
288,
7734,
272,
40,
3083,
63,
3772,
3401,
65,
1011,
302,
31,
7734,
327,
31,
5411,
289,
5411,
2002,
4726,
2448,
273,
638,
31,
5411,
368,
13103,
358,
733,
397,
1300,
981,
3639,
289,
469,
309,
261,
80,
4487,
422,
2383,
48,
67,
23464,
47,
13,
288,
5411,
302,
273,
272,
40,
3083,
63,
3772,
3401,
15533,
5411,
8499,
273,
7711,
31,
5411,
2002,
4726,
2448,
273,
629,
31,
5411,
368,
13103,
358,
733,
397,
1300,
981,
3639,
289,
469,
288,
5411,
309,
261,
80,
4487,
1276,
22780,
747,
7711,
1276,
22780,
13,
288,
7734,
2110,
63,
3772,
3401,
65,
273,
7739,
5576,
18,
1289,
12,
80,
4487,
16,
7711,
16,
9494,
1769,
5411,
289,
469,
309,
261,
80,
4487,
1276,
514,
13,
288,
7734,
514,
328,
701,
273,
261,
780,
13,
80,
4487,
31,
7734,
514,
436,
701,
273,
7739,
5576,
18,
10492,
12,
86,
4487,
1769,
7734,
2110,
63,
3772,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
741,
67,
1289,
12,
921,
8526,
2110,
16,
1645,
8526,
272,
40,
3083,
16,
509,
2110,
3401,
16,
17311,
1772,
9494,
13,
565,
288,
3639,
1033,
7711,
273,
2110,
63,
3772,
3401,
397,
404,
15533,
3639,
1033,
8499,
273,
2110,
63,
3772,
3401,
15533,
3639,
1645,
302,
31,
3639,
1250,
2002,
4726,
2448,
31,
3639,
309,
261,
86,
4487,
422,
2383,
48,
67,
23464,
47,
13,
288,
5411,
302,
273,
272,
40,
3083,
63,
3772,
3401,
397,
404,
15533,
5411,
309,
261,
80,
4487,
422,
2383,
48,
67,
23464,
47,
13,
288,
7734,
272,
40,
3083,
63,
3772,
3401,
65,
1011,
302,
31,
7734,
327,
31,
5411,
289,
5411,
2002,
4726,
2448,
273,
638,
31,
2
] |
public void testInnerGapDelete() { insertGap(model1, 8); assertEquals("#0.0", 8, model1.absOffset()); model1.move(-6); assertEquals("#0.0", 2, model1.absOffset()); model1.delete(3); assertEquals("#1.0", 2, model1.absOffset()); assertEquals("#1.1", 5, model1.currentToken().getSize()); model1.move(3); assertEquals("#2.0", 5, model1.absOffset()); }
|
public void testInnerGapDelete() { insertGap(model1, 8); assertEquals("#0.0", 8, model1.absOffset()); model1.move(-6); assertEquals("#0.0", 2, model1.absOffset()); model1.delete(3); assertEquals("#1.0", 2, model1.absOffset()); assertEquals("#1.1", 5, model1.currentToken().getSize()); model1.move(3); assertEquals("#2.0", 5, model1.absOffset()); }
|
public void testInnerGapDelete() { insertGap(model1, 8); assertEquals("#0.0", 8, model1.absOffset()); model1.move(-6); assertEquals("#0.0", 2, model1.absOffset()); model1.delete(3); assertEquals("#1.0", 2, model1.absOffset()); assertEquals("#1.1", 5, model1.currentToken().getSize()); model1.move(3); assertEquals("#2.0", 5, model1.absOffset()); }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/847a8a14da81b32fde69840fb03b98064ba862eb/ReducedModelDeleteTest.java/clean/drjava/src/edu/rice/cs/drjava/model/definitions/reducedmodel/ReducedModelDeleteTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
2857,
14001,
2613,
1435,
202,
202,
95,
1082,
202,
6387,
14001,
12,
2284,
21,
16,
1725,
1769,
1082,
202,
11231,
8867,
2932,
7,
20,
18,
20,
3113,
1725,
16,
938,
21,
18,
5113,
2335,
10663,
1082,
202,
2284,
21,
18,
8501,
19236,
26,
1769,
1082,
202,
11231,
8867,
2932,
7,
20,
18,
20,
3113,
576,
16,
938,
21,
18,
5113,
2335,
10663,
1082,
202,
2284,
21,
18,
3733,
12,
23,
1769,
1082,
225,
202,
11231,
8867,
2932,
7,
21,
18,
20,
3113,
576,
16,
938,
21,
18,
5113,
2335,
10663,
1082,
202,
11231,
8867,
2932,
7,
21,
18,
21,
3113,
1381,
16,
938,
21,
18,
2972,
1345,
7675,
588,
1225,
10663,
1082,
202,
2284,
21,
18,
8501,
12,
23,
1769,
1082,
202,
11231,
8867,
2932,
7,
22,
18,
20,
3113,
1381,
16,
938,
21,
18,
5113,
2335,
10663,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
2857,
14001,
2613,
1435,
202,
202,
95,
1082,
202,
6387,
14001,
12,
2284,
21,
16,
1725,
1769,
1082,
202,
11231,
8867,
2932,
7,
20,
18,
20,
3113,
1725,
16,
938,
21,
18,
5113,
2335,
10663,
1082,
202,
2284,
21,
18,
8501,
19236,
26,
1769,
1082,
202,
11231,
8867,
2932,
7,
20,
18,
20,
3113,
576,
16,
938,
21,
18,
5113,
2335,
10663,
1082,
202,
2284,
21,
18,
3733,
12,
23,
1769,
1082,
225,
202,
11231,
8867,
2932,
7,
21,
18,
20,
3113,
576,
16,
938,
21,
18,
5113,
2335,
10663,
1082,
202,
11231,
8867,
2932,
7,
21,
18,
21,
3113,
1381,
16,
938,
21,
18,
2972,
1345,
7675,
588,
1225,
10663,
1082,
202,
2284,
2
] |
if (handle != null && fullpath != null) {
|
protected void doDSGet(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { Bitstream bitstream = null; // Get the ID from the URL String idString = request.getPathInfo(); String filename = ""; String handle = ""; if (idString != null) { // Remove leading slash if (idString.startsWith("/")) { idString = idString.substring(1); } // Get filename int slashIndex = idString.lastIndexOf('/'); if (slashIndex != -1) { filename = idString.substring(slashIndex + 1); filename = URLDecoder.decode(filename, Constants.DEFAULT_ENCODING); handle = idString.substring(0, slashIndex); } // If there's still a second slash, remove it and anything after it, // it might be a relative directory name slashIndex = handle.indexOf('/'); slashIndex = handle.indexOf('/', slashIndex + 1); if (slashIndex != -1) { handle = handle.substring(0, slashIndex); } /* Get entire relative path after handle, in case it * is actually the bitstream name. e.g. for item * with handle 1234.56/13, the URL for an item could be: * .../dspace/1234.56/13/sub1/sub2/foo.html * so return relative path: "sub1/sub2/foo.html" * Also translate any encoded slashes, etc. to match bitstream name. */ String relPath = null; slashIndex = idString.indexOf('/'); if (slashIndex != -1) { slashIndex = idString.indexOf('/', slashIndex + 1); if (slashIndex != -1) relPath = URLDecoder.decode(idString.substring(slashIndex + 1), Constants.DEFAULT_ENCODING); } // Find the corresponding bitstream try { boolean found = false; Item item = null; /* * If the original item doesn't have a Handle yet (because it's * in the workflow) what we actually have is a fake Handle in * the form: db-id/1234 where 1234 is the database ID of the * item. */ if (handle.startsWith("db-id")) { String dbIDString = handle .substring(handle.indexOf('/') + 1); int dbID = Integer.parseInt(dbIDString); item = Item.find(context, dbID); } else { item = (Item) HandleManager .resolveToObject(context, handle); } if (item == null) { log.info(LogManager.getHeader(context, "invalid_id", "path=" + handle)); JSPManager .showInvalidIDError(request, response, handle, -1); return; } if (relPath == null || (bitstream = getItemBitstreamByName(item, relPath)) == null) bitstream = getItemBitstreamByName(item, filename); } catch (NumberFormatException nfe) { // Invalid ID - this will be dealt with below } } // Did we get a bitstream? if (bitstream != null) { log.info(LogManager.getHeader(context, "view_bitstream", "bitstream_id=" + bitstream.getID())); // Set the response MIME type response.setContentType(bitstream.getFormat().getMIMEType()); // Response length response.setHeader("Content-Length", String.valueOf(bitstream .getSize())); // Pipe the bits InputStream is = bitstream.retrieve(); Utils.bufferedCopy(is, response.getOutputStream()); is.close(); response.getOutputStream().flush(); } else { // No bitstream - we got an invalid ID log.info(LogManager.getHeader(context, "view_bitstream", "invalid_bitstream_id=" + idString)); JSPManager.showInvalidIDError(request, response, idString, Constants.BITSTREAM); } }
|
31338 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31338/ef51d8b9a3e079c3f34f02104b02f987adc796a0/HTMLServlet.java/buggy/dspace/src/org/dspace/app/webui/servlet/HTMLServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
4750,
430,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
918,
430,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
741,
3948,
967,
12,
1042,
430,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
819,
16,
430,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
9984,
430,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
590,
16,
430,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
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,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
309,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
4750,
430,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
918,
430,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
741,
3948,
967,
12,
1042,
430,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
819,
16,
430,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
9984,
430,
261,
4110,
480,
446,
597,
15170,
480,
446,
13,
288,
225,
590,
2
] |
|
if(!targetFolder.exists( ))
|
if ( !targetFolder.exists( ) )
|
public void setDefaultResourcePreference( ) { String metaPath = Platform.getStateLocation( ReportPlugin.getDefault( ).getBundle( )).toOSString( ); if(! metaPath.endsWith( File.separator )) { metaPath = metaPath + File.separator; } metaPath = metaPath + BIRT_RESOURCE; File targetFolder = new File( metaPath ); if(!targetFolder.exists( )) { targetFolder.mkdirs( ); } getPreferenceStore( ).setDefault( RESOURCE_PREFERENCE, metaPath ); //$NON-NLS-1$ }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/c52ea9984fb73632934c9b06093951ed1acf25a0/ReportPlugin.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/ReportPlugin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
9277,
1420,
9624,
12,
262,
202,
95,
202,
202,
780,
2191,
743,
273,
11810,
18,
588,
1119,
2735,
12,
8706,
3773,
18,
588,
1868,
12,
262,
18,
588,
3405,
12,
262,
2934,
869,
4618,
780,
12,
11272,
202,
202,
430,
12,
5,
2191,
743,
18,
5839,
1190,
12,
1387,
18,
11287,
8623,
202,
202,
95,
1082,
202,
3901,
743,
273,
2191,
743,
397,
1387,
18,
11287,
31,
6862,
202,
97,
202,
202,
3901,
743,
273,
2191,
743,
397,
605,
7937,
56,
67,
11395,
31,
202,
202,
812,
1018,
3899,
273,
394,
1387,
12,
2191,
743,
11272,
202,
202,
430,
12,
5,
3299,
3899,
18,
1808,
12,
8623,
202,
202,
95,
1082,
202,
3299,
3899,
18,
24816,
8291,
12,
11272,
202,
202,
97,
202,
202,
588,
9624,
2257,
12,
262,
18,
542,
1868,
12,
12653,
67,
3670,
10830,
16,
2191,
743,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
9277,
1420,
9624,
12,
262,
202,
95,
202,
202,
780,
2191,
743,
273,
11810,
18,
588,
1119,
2735,
12,
8706,
3773,
18,
588,
1868,
12,
262,
18,
588,
3405,
12,
262,
2934,
869,
4618,
780,
12,
11272,
202,
202,
430,
12,
5,
2191,
743,
18,
5839,
1190,
12,
1387,
18,
11287,
8623,
202,
202,
95,
1082,
202,
3901,
743,
273,
2191,
743,
397,
1387,
18,
11287,
31,
6862,
202,
97,
202,
202,
3901,
743,
273,
2191,
743,
397,
605,
7937,
56,
67,
11395,
31,
202,
202,
812,
1018,
3899,
273,
394,
1387,
12,
2191,
743,
11272,
202,
202,
430,
12,
5,
3299,
3899,
18,
1808,
12,
8623,
202,
202,
95,
1082,
202,
3299,
3899,
18,
2
] |
debugger.debuggerLocalDidRun(success, inputText);
|
if(success) success = generateGlueCode(); if(success) success = launchRemoteParser(); } debugger.debuggerLocalDidRun(success);
|
public void run() { progress.close(); //@todo use interface here if(build) success = askUserForInputText(); debugger.debuggerLocalDidRun(success, inputText); }
|
51505 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51505/dc79ce0a7a65ef3f5bf611245e37c5ed763f5add/DebuggerLocal.java/clean/src/org/antlr/works/debugger/DebuggerLocal.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1086,
1435,
288,
7734,
4007,
18,
4412,
5621,
7734,
23834,
9012,
999,
1560,
2674,
7734,
309,
12,
3510,
13,
10792,
2216,
273,
6827,
1299,
1290,
1210,
1528,
5621,
7734,
309,
12,
4768,
13,
2216,
273,
2103,
21308,
344,
1085,
5621,
309,
12,
4768,
13,
2216,
273,
8037,
5169,
2678,
5621,
289,
19977,
18,
4148,
693,
2042,
18250,
1997,
12,
4768,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1086,
1435,
288,
7734,
4007,
18,
4412,
5621,
7734,
23834,
9012,
999,
1560,
2674,
7734,
309,
12,
3510,
13,
10792,
2216,
273,
6827,
1299,
1290,
1210,
1528,
5621,
7734,
309,
12,
4768,
13,
2216,
273,
2103,
21308,
344,
1085,
5621,
309,
12,
4768,
13,
2216,
273,
8037,
5169,
2678,
5621,
289,
19977,
18,
4148,
693,
2042,
18250,
1997,
12,
4768,
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
] |
IQualifiedTypeName parentName = fQualifiedName.getEnclosingTypeName(); if (parentName != null) { ITypeInfo[] types = fTypeCache.getTypes(parentName); for (int i = 0; i < types.length; ++i) { ITypeInfo info = types[i]; if (info.isQualifierType()) { enclosingType = info; break; } else if (info.isUndefinedType()) { enclosingType = info; } } }
|
return fTypeCache.getEnclosingType(this, kinds);
|
public ITypeInfo getEnclosingType() { ITypeInfo enclosingType = null; if (fTypeCache != null) { IQualifiedTypeName parentName = fQualifiedName.getEnclosingTypeName(); if (parentName != null) { ITypeInfo[] types = fTypeCache.getTypes(parentName); for (int i = 0; i < types.length; ++i) { ITypeInfo info = types[i]; if (info.isQualifierType()) { enclosingType = info; break; } else if (info.isUndefinedType()) { enclosingType = info; // don't break, in case we can still find a defined type } } } } return enclosingType; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/ccfe7d8f5fb16ffce595bc26621d085f534ba238/TypeInfo.java/buggy/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/core/browser/TypeInfo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
17305,
336,
21594,
559,
1435,
288,
202,
202,
45,
17305,
16307,
559,
273,
446,
31,
202,
202,
430,
261,
74,
559,
1649,
480,
446,
13,
288,
1082,
202,
45,
8708,
7947,
26119,
273,
284,
12345,
18,
588,
21594,
7947,
5621,
1082,
202,
430,
261,
2938,
461,
480,
446,
13,
288,
9506,
202,
45,
17305,
8526,
1953,
273,
284,
559,
1649,
18,
588,
2016,
12,
2938,
461,
1769,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1953,
18,
2469,
31,
965,
77,
13,
288,
6862,
202,
45,
17305,
1123,
273,
1953,
63,
77,
15533,
6862,
202,
430,
261,
1376,
18,
291,
16185,
559,
10756,
288,
25083,
202,
1331,
10910,
559,
273,
1123,
31,
25083,
202,
8820,
31,
6862,
202,
97,
469,
309,
261,
1376,
18,
291,
10317,
559,
10756,
288,
25083,
202,
1331,
10910,
559,
273,
1123,
31,
25083,
202,
759,
2727,
1404,
898,
16,
316,
648,
732,
848,
4859,
1104,
279,
2553,
618,
6862,
202,
97,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
16307,
559,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
17305,
336,
21594,
559,
1435,
288,
202,
202,
45,
17305,
16307,
559,
273,
446,
31,
202,
202,
430,
261,
74,
559,
1649,
480,
446,
13,
288,
1082,
202,
45,
8708,
7947,
26119,
273,
284,
12345,
18,
588,
21594,
7947,
5621,
1082,
202,
430,
261,
2938,
461,
480,
446,
13,
288,
9506,
202,
45,
17305,
8526,
1953,
273,
284,
559,
1649,
18,
588,
2016,
12,
2938,
461,
1769,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1953,
18,
2469,
31,
965,
77,
13,
288,
6862,
202,
45,
17305,
1123,
273,
1953,
63,
77,
15533,
6862,
202,
430,
261,
1376,
18,
291,
16185,
559,
10756,
288,
25083,
202,
1331,
10910,
559,
273,
1123,
31,
2
] |
}
|
} else { IRubyObject currentObject = begin; String compareMethod = (isExclusive ? "<" : "<="); while (currentObject.callMethod(compareMethod, end).isTrue()) { size++; if (currentObject.equals(end)) { break; } currentObject = currentObject.callMethod("succ"); } }
|
public RubyFixnum length() { long size = 0; if (begin.callMethod(">", end).isTrue()) { return RubyFixnum.newFixnum(getRuntime(), 0); } if (begin instanceof RubyFixnum && end instanceof RubyFixnum) { size = ((RubyNumeric) end).getLongValue() - ((RubyNumeric) begin).getLongValue(); if (!isExclusive) { size++; } } return RubyFixnum.newFixnum(getRuntime(), size); }
|
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/6b9214ce7eddbf977e000b96568d509d3c875c17/RubyRange.java/clean/src/org/jruby/RubyRange.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
8585,
2107,
769,
1435,
288,
3639,
1525,
963,
273,
374,
31,
3639,
309,
261,
10086,
18,
1991,
1305,
2932,
2984,
16,
679,
2934,
291,
5510,
10756,
288,
5411,
327,
19817,
8585,
2107,
18,
2704,
8585,
2107,
12,
588,
5576,
9334,
374,
1769,
3639,
289,
469,
288,
15908,
10340,
921,
27138,
273,
2376,
31,
514,
3400,
1305,
273,
261,
291,
17075,
692,
18165,
294,
3532,
1546,
1769,
225,
1323,
261,
2972,
921,
18,
1991,
1305,
12,
9877,
1305,
16,
679,
2934,
291,
5510,
10756,
288,
963,
9904,
31,
309,
261,
2972,
921,
18,
14963,
12,
409,
3719,
288,
898,
31,
289,
27138,
273,
27138,
18,
1991,
1305,
2932,
26560,
952,
8863,
289,
289,
3639,
309,
261,
10086,
1276,
19817,
8585,
2107,
597,
679,
1276,
19817,
8585,
2107,
13,
288,
5411,
963,
273,
14015,
54,
10340,
9902,
13,
679,
2934,
588,
3708,
620,
1435,
300,
14015,
54,
10340,
9902,
13,
2376,
2934,
588,
3708,
620,
5621,
5411,
309,
16051,
291,
17075,
13,
288,
7734,
963,
9904,
31,
5411,
289,
469,
288,
15908,
10340,
921,
27138,
273,
2376,
31,
514,
3400,
1305,
273,
261,
291,
17075,
692,
18165,
294,
3532,
1546,
1769,
225,
1323,
261,
2972,
921,
18,
1991,
1305,
12,
9877,
1305,
16,
679,
2934,
291,
5510,
10756,
288,
963,
9904,
31,
309,
261,
2972,
921,
18,
14963,
12,
409,
3719,
288,
898,
31,
289,
27138,
273,
27138,
18,
1991,
1305,
2932,
26560,
952,
8863,
289,
289,
3639,
289,
469,
288,
15908,
10340,
921,
27138,
273,
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,
19817,
8585,
2107,
769,
1435,
288,
3639,
1525,
963,
273,
374,
31,
3639,
309,
261,
10086,
18,
1991,
1305,
2932,
2984,
16,
679,
2934,
291,
5510,
10756,
288,
5411,
327,
19817,
8585,
2107,
18,
2704,
8585,
2107,
12,
588,
5576,
9334,
374,
1769,
3639,
289,
469,
288,
15908,
10340,
921,
27138,
273,
2376,
31,
514,
3400,
1305,
273,
261,
291,
17075,
692,
18165,
294,
3532,
1546,
1769,
225,
1323,
261,
2972,
921,
18,
1991,
1305,
12,
9877,
1305,
16,
679,
2934,
291,
5510,
10756,
288,
963,
9904,
31,
309,
261,
2972,
921,
18,
14963,
12,
409,
3719,
288,
898,
31,
289,
27138,
273,
27138,
18,
1991,
1305,
2932,
26560,
952,
8863,
289,
289,
3639,
309,
261,
10086,
2
] |
setBounds((Bounds)newValue);
|
setBounds((Bounds) newValue);
|
public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature)) { case LayoutPackage.PLOT__CHILDREN: getChildren().clear(); getChildren().addAll((Collection)newValue); return; case LayoutPackage.PLOT__BOUNDS: setBounds((Bounds)newValue); return; case LayoutPackage.PLOT__ANCHOR: setAnchor((Anchor)newValue); return; case LayoutPackage.PLOT__STRETCH: setStretch((Stretch)newValue); return; case LayoutPackage.PLOT__INSETS: setInsets((Insets)newValue); return; case LayoutPackage.PLOT__ROW: setRow(((Integer)newValue).intValue()); return; case LayoutPackage.PLOT__COLUMN: setColumn(((Integer)newValue).intValue()); return; case LayoutPackage.PLOT__ROWSPAN: setRowspan(((Integer)newValue).intValue()); return; case LayoutPackage.PLOT__COLUMNSPAN: setColumnspan(((Integer)newValue).intValue()); return; case LayoutPackage.PLOT__MIN_SIZE: setMinSize((Size)newValue); return; case LayoutPackage.PLOT__OUTLINE: setOutline((LineAttributes)newValue); return; case LayoutPackage.PLOT__BACKGROUND: setBackground((Fill)newValue); return; case LayoutPackage.PLOT__VISIBLE: setVisible(((Boolean)newValue).booleanValue()); return; case LayoutPackage.PLOT__TRIGGERS: getTriggers().clear(); getTriggers().addAll((Collection)newValue); return; case LayoutPackage.PLOT__HORIZONTAL_SPACING: setHorizontalSpacing(((Integer)newValue).intValue()); return; case LayoutPackage.PLOT__VERTICAL_SPACING: setVerticalSpacing(((Integer)newValue).intValue()); return; case LayoutPackage.PLOT__CLIENT_AREA: setClientArea((ClientArea)newValue); return; } eDynamicSet(eFeature, newValue); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/PlotImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/PlotImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20199,
12,
41,
14372,
4595,
425,
4595,
16,
1033,
6129,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
9995,
2261,
18,
20485,
56,
972,
27043,
24296,
30,
7734,
10268,
7675,
8507,
5621,
7734,
10268,
7675,
1289,
1595,
12443,
2532,
13,
2704,
620,
1769,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
20485,
56,
972,
5315,
2124,
3948,
30,
7734,
444,
5694,
12443,
5694,
13,
6129,
1769,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
20485,
56,
972,
20360,
916,
30,
7734,
444,
11605,
12443,
11605,
13,
2704,
620,
1769,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
20485,
56,
972,
882,
10238,
1792,
30,
7734,
444,
510,
20783,
12443,
510,
20783,
13,
2704,
620,
1769,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
20485,
56,
972,
706,
28092,
30,
7734,
444,
382,
4424,
12443,
382,
4424,
13,
2704,
620,
1769,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
20485,
56,
972,
11226,
30,
7734,
444,
1999,
12443,
12,
4522,
13,
2704,
620,
2934,
474,
620,
10663,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
20485,
56,
972,
11009,
30,
7734,
25918,
12443,
12,
4522,
13,
2704,
620,
2934,
474,
620,
10663,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
20485,
56,
972,
28402,
30819,
30,
7734,
444,
1999,
3969,
12443,
12,
4522,
13,
2704,
620,
2934,
474,
620,
10663,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
20485,
56,
972,
11009,
3118,
1258,
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,
20199,
12,
41,
14372,
4595,
425,
4595,
16,
1033,
6129,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
9995,
2261,
18,
20485,
56,
972,
27043,
24296,
30,
7734,
10268,
7675,
8507,
5621,
7734,
10268,
7675,
1289,
1595,
12443,
2532,
13,
2704,
620,
1769,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
20485,
56,
972,
5315,
2124,
3948,
30,
7734,
444,
5694,
12443,
5694,
13,
6129,
1769,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
20485,
56,
972,
20360,
916,
30,
7734,
444,
11605,
12443,
11605,
13,
2704,
620,
1769,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
20485,
56,
972,
882,
10238,
1792,
30,
7734,
2
] |
defaultConstraints.insets = anInsets; }
|
defaultConstraints.insets = anInsets; }
|
public void setInsets(Insets anInsets) { defaultConstraints.insets = anInsets; }
|
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/b723a0ed6d31e14b737f03996f1e35c7db8d7236/ToolBarLayout.java/buggy/grendel/ui/ToolBarLayout.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
382,
4424,
12,
382,
4424,
392,
382,
4424,
13,
288,
4202,
805,
4878,
18,
267,
4424,
273,
392,
382,
4424,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
382,
4424,
12,
382,
4424,
392,
382,
4424,
13,
288,
4202,
805,
4878,
18,
267,
4424,
273,
392,
382,
4424,
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
] |
myOrganization = aOrganization; }
|
id.setOrganisation(aOrganization); }
|
public void setOrganization(String aOrganization) { myOrganization = aOrganization; }
|
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/b13c667b376deb4a8f2c235ffd847b57616d23c4/IdentityStructure.java/clean/grendel/sources/grendel/prefs/base/IdentityStructure.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
8113,
12,
780,
279,
8113,
13,
288,
565,
3399,
8113,
273,
279,
8113,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
282,
1071,
918,
444,
8113,
12,
780,
279,
8113,
13,
288,
565,
3399,
8113,
273,
279,
8113,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 sendDirect(component, null, payload, messageProperties);
|
return sendDirect(component, null, message);
|
public Object call() throws Exception { return sendDirect(component, null, payload, messageProperties); }
|
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/c0d9d5d65d7bf4ed43ec051204ed36db715d40bb/MuleClient.java/clean/mule-extras/client/src/java/org/mule/extras/client/MuleClient.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
745,
1435,
1216,
1185,
5411,
288,
7734,
327,
1366,
5368,
12,
4652,
16,
446,
16,
883,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
745,
1435,
1216,
1185,
5411,
288,
7734,
327,
1366,
5368,
12,
4652,
16,
446,
16,
883,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
.append("-")
|
.append('-')
|
public FreenetURI composeUploadKey(int index) throws MalformedURLException { FreenetURI key; if (board.isWriteAccessBoard()) { key = new FreenetURI( new StringBuffer() .append(board.getPrivateKey()) .append("/") .append(board.getName()) .append("/") .append(this.getDateStr(false)) .append("-") .append(index) .append(".xml") .toString()); } else { key = new FreenetURI("KSK", new StringBuffer() .append("frost|message|") .append(this.getMessageBase()) .append("|") .append(this.getDateStr(false)) .append("-") .append(board.getName()) .append("-") .append(index) .append(".xml") .toString()); } System.err.println("FIN -> Key is " + key.toString()); return key; }
|
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/62fd59041864b4ed1f43adc676de6bfb5ea977f3/FrostMessage.java/clean/src/freenet/frost/message/FrostMessage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
478,
2842,
278,
3098,
11458,
4777,
653,
12,
474,
770,
13,
1216,
20710,
288,
3639,
478,
2842,
278,
3098,
498,
31,
3639,
309,
261,
3752,
18,
291,
3067,
1862,
22233,
10756,
288,
5411,
498,
273,
394,
478,
2842,
278,
3098,
12,
2398,
202,
202,
2704,
6674,
1435,
10792,
263,
6923,
12,
3752,
18,
588,
10824,
10756,
10792,
263,
6923,
2932,
4898,
13,
10792,
263,
6923,
12,
3752,
18,
17994,
10756,
10792,
263,
6923,
2932,
4898,
13,
10792,
263,
6923,
12,
2211,
18,
588,
1626,
1585,
12,
5743,
3719,
10792,
263,
6923,
2668,
17,
6134,
10792,
263,
6923,
12,
1615,
13,
10792,
263,
6923,
2932,
18,
2902,
7923,
10792,
263,
10492,
10663,
3639,
289,
469,
288,
5411,
498,
273,
394,
478,
2842,
278,
3098,
2932,
47,
11129,
3113,
2398,
202,
202,
2704,
6674,
1435,
10792,
263,
6923,
2932,
74,
303,
334,
96,
2150,
96,
7923,
10792,
263,
6923,
12,
2211,
18,
24906,
2171,
10756,
10792,
263,
6923,
2932,
96,
7923,
10792,
263,
6923,
12,
2211,
18,
588,
1626,
1585,
12,
5743,
3719,
10792,
263,
6923,
2668,
17,
6134,
10792,
263,
6923,
12,
3752,
18,
17994,
10756,
10792,
263,
6923,
2668,
17,
6134,
10792,
263,
6923,
12,
1615,
13,
10792,
263,
6923,
2932,
18,
2902,
7923,
10792,
263,
10492,
10663,
3639,
289,
7734,
2332,
18,
370,
18,
8222,
2932,
7263,
317,
1929,
353,
225,
315,
397,
498,
18,
10492,
10663,
3639,
327,
498,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
478,
2842,
278,
3098,
11458,
4777,
653,
12,
474,
770,
13,
1216,
20710,
288,
3639,
478,
2842,
278,
3098,
498,
31,
3639,
309,
261,
3752,
18,
291,
3067,
1862,
22233,
10756,
288,
5411,
498,
273,
394,
478,
2842,
278,
3098,
12,
2398,
202,
202,
2704,
6674,
1435,
10792,
263,
6923,
12,
3752,
18,
588,
10824,
10756,
10792,
263,
6923,
2932,
4898,
13,
10792,
263,
6923,
12,
3752,
18,
17994,
10756,
10792,
263,
6923,
2932,
4898,
13,
10792,
263,
6923,
12,
2211,
18,
588,
1626,
1585,
12,
5743,
3719,
10792,
263,
6923,
2668,
17,
6134,
10792,
263,
6923,
12,
1615,
13,
10792,
263,
6923,
2932,
18,
2902,
7923,
10792,
263,
10492,
10663,
3639,
289,
469,
288,
5411,
498,
2
] |
}
|
public static IKeyPairCodec getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairCodec result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equals(Registry.DSS_KPG)) { result = new DSSKeyPairRawCodec(); } else if (name.equalsIgnoreCase(Registry.RSA_KPG)) { result = new RSAKeyPairRawCodec(); } else if (name.equalsIgnoreCase(Registry.DH_KPG)) { result = makeInstance ("gnu.javax.crypto.key.dh.DHKeyPairRawCodec"); } else if (name.equalsIgnoreCase(Registry.SRP_KPG)) { result = makeInstance ("gnu.javax.crypto.key.srp6.SRPKeyPairRawCodec"); } return result; }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/KeyPairCodecFactory.java/buggy/core/src/classpath/gnu/gnu/java/security/key/KeyPairCodecFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
467,
15099,
11008,
3694,
12,
780,
508,
13,
225,
288,
565,
309,
261,
529,
422,
446,
13,
1377,
288,
3639,
327,
446,
31,
540,
508,
273,
508,
18,
5290,
5621,
565,
467,
15099,
11008,
563,
273,
446,
31,
565,
309,
261,
529,
18,
14963,
5556,
12,
4243,
18,
19748,
67,
47,
18679,
13,
3639,
747,
508,
18,
14963,
12,
4243,
18,
40,
1260,
67,
47,
18679,
3719,
1377,
288,
3639,
563,
273,
394,
463,
1260,
15099,
4809,
11008,
5621,
540,
469,
309,
261,
529,
18,
14963,
5556,
12,
4243,
18,
15248,
67,
47,
18679,
3719,
1377,
288,
3639,
563,
273,
394,
13470,
15099,
4809,
11008,
5621,
540,
469,
309,
261,
529,
18,
14963,
5556,
12,
4243,
18,
16501,
67,
47,
18679,
3719,
1377,
288,
3639,
563,
273,
24016,
7566,
1600,
89,
18,
28384,
18,
18489,
18,
856,
18,
19153,
18,
16501,
15099,
4809,
11008,
8863,
540,
469,
309,
261,
529,
18,
14963,
5556,
12,
4243,
18,
10090,
52,
67,
47,
18679,
3719,
1377,
288,
3639,
563,
273,
24016,
7566,
1600,
89,
18,
28384,
18,
18489,
18,
856,
18,
11254,
84,
26,
18,
10090,
52,
15099,
4809,
11008,
8863,
540,
327,
563,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
467,
15099,
11008,
3694,
12,
780,
508,
13,
225,
288,
565,
309,
261,
529,
422,
446,
13,
1377,
288,
3639,
327,
446,
31,
540,
508,
273,
508,
18,
5290,
5621,
565,
467,
15099,
11008,
563,
273,
446,
31,
565,
309,
261,
529,
18,
14963,
5556,
12,
4243,
18,
19748,
67,
47,
18679,
13,
3639,
747,
508,
18,
14963,
12,
4243,
18,
40,
1260,
67,
47,
18679,
3719,
1377,
288,
3639,
563,
273,
394,
463,
1260,
15099,
4809,
11008,
5621,
540,
469,
309,
261,
529,
18,
14963,
5556,
12,
4243,
18,
15248,
67,
47,
18679,
3719,
1377,
288,
3639,
563,
273,
394,
13470,
15099,
4809,
11008,
5621,
540,
469,
309,
261,
529,
18,
14963,
5556,
12,
4243,
2
] |
|
gnu.java.security.provider.DSAParameters.class.getName());
|
"gnu.java.security.provider.DSAParameters");
|
public Gnu() { super( "GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA"); // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSASignature.class.getName()); put("Alg.Alias.Signature.DSS", "SHA1withDSA"); put("Alg.Alias.Signature.DSA", "SHA1withDSA"); put("Alg.Alias.Signature.SHAwithDSA", "SHA1withDSA"); put("Alg.Alias.Signature.DSAwithSHA", "SHA1withDSA"); put("Alg.Alias.Signature.DSAwithSHA1", "SHA1withDSA"); put("Alg.Alias.Signature.SHA/DSA", "SHA1withDSA"); put("Alg.Alias.Signature.SHA-1/DSA", "SHA1withDSA"); put("Alg.Alias.Signature.SHA1/DSA", "SHA1withDSA"); put("Alg.Alias.Signature.OID.1.2.840.10040.4.3", "SHA1withDSA"); put("Alg.Alias.Signature.1.2.840.10040.4.3", "SHA1withDSA"); put("Alg.Alias.Signature.1.3.14.3.2.13", "SHA1withDSA"); put("Alg.Alias.Signature.1.3.14.3.2.27", "SHA1withDSA"); // Key Pair Generator put("KeyPairGenerator.DSA", gnu.java.security.provider.DSAKeyPairGenerator.class.getName()); put("Alg.Alias.KeyPairGenerator.OID.1.2.840.10040.4.1", "DSA"); put("Alg.Alias.KeyPairGenerator.1.2.840.10040.4.1", "DSA"); put("Alg.Alias.KeyPairGenerator.1.3.14.3.2.12", "DSA"); // Message Digests put("MessageDigest.SHA", gnu.java.security.provider.SHA.class.getName()); put("MessageDigest.MD5", gnu.java.security.provider.MD5.class.getName()); // Format "Alias", "Actual Name" put("Alg.Alias.MessageDigest.SHA1", "SHA"); put("Alg.Alias.MessageDigest.SHA-1", "SHA"); // Algorithm Parameters put("AlgorithmParameters.DSA", gnu.java.security.provider.DSAParameters.class.getName()); // Algorithm Parameter Generator put("AlgorithmParameterGenerator.DSA", gnu.java.security.provider.DSAParameterGenerator.class.getName()); // SecureRandom put("SecureRandom.SHA1PRNG", gnu.java.security.provider.SHA1PRNG.class.getName()); }
|
45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/f0fa0d7593a4096ea9c1b26389ec4bb1431e5631/Gnu.java/clean/libjava/gnu/java/security/provider/Gnu.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
611,
13053,
1435,
225,
288,
565,
2240,
12,
315,
8318,
57,
3113,
404,
18,
20,
16,
315,
8318,
57,
2893,
331,
21,
18,
20,
19981,
9777,
17,
21,
16,
10852,
25,
16,
463,
5233,
8863,
565,
368,
3609,
716,
777,
4471,
667,
1257,
854,
8042,
635,
1450,
565,
368,
1659,
18,
17994,
7675,
12466,
4031,
1347,
732,
760,
715,
1692,
326,
611,
13053,
2893,
565,
368,
732,
6635,
336,
777,
326,
4471,
3318,
18,
565,
368,
9249,
565,
1378,
2932,
5374,
18,
8325,
21,
1918,
19748,
3113,
202,
1600,
89,
18,
6290,
18,
7462,
18,
6778,
18,
19748,
5374,
18,
1106,
18,
17994,
10663,
565,
1378,
2932,
21883,
18,
2936,
18,
5374,
18,
40,
1260,
3113,
315,
8325,
21,
1918,
19748,
8863,
565,
1378,
2932,
21883,
18,
2936,
18,
5374,
18,
19748,
3113,
315,
8325,
21,
1918,
19748,
8863,
565,
1378,
2932,
21883,
18,
2936,
18,
5374,
18,
8325,
1918,
19748,
3113,
315,
8325,
21,
1918,
19748,
8863,
565,
1378,
2932,
21883,
18,
2936,
18,
5374,
18,
19748,
1918,
8325,
3113,
315,
8325,
21,
1918,
19748,
8863,
565,
1378,
2932,
21883,
18,
2936,
18,
5374,
18,
19748,
1918,
8325,
21,
3113,
315,
8325,
21,
1918,
19748,
8863,
565,
1378,
2932,
21883,
18,
2936,
18,
5374,
18,
8325,
19,
19748,
3113,
315,
8325,
21,
1918,
19748,
8863,
565,
1378,
2932,
21883,
18,
2936,
18,
5374,
18,
8325,
17,
21,
19,
19748,
3113,
315,
8325,
21,
1918,
19748,
8863,
565,
1378,
2932,
21883,
18,
2936,
18,
5374,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
611,
13053,
1435,
225,
288,
565,
2240,
12,
315,
8318,
57,
3113,
404,
18,
20,
16,
315,
8318,
57,
2893,
331,
21,
18,
20,
19981,
9777,
17,
21,
16,
10852,
25,
16,
463,
5233,
8863,
565,
368,
3609,
716,
777,
4471,
667,
1257,
854,
8042,
635,
1450,
565,
368,
1659,
18,
17994,
7675,
12466,
4031,
1347,
732,
760,
715,
1692,
326,
611,
13053,
2893,
565,
368,
732,
6635,
336,
777,
326,
4471,
3318,
18,
565,
368,
9249,
565,
1378,
2932,
5374,
18,
8325,
21,
1918,
19748,
3113,
202,
1600,
89,
18,
6290,
18,
7462,
18,
6778,
18,
19748,
5374,
18,
1106,
18,
17994,
10663,
565,
1378,
2932,
21883,
18,
2936,
18,
5374,
18,
40,
1260,
3113,
315,
2
] |
if ( entity instanceof Mech && entity.infernos.isStillBurning() && curHex.levelOf(Terrain.WATER) >= 1 ) { washInferno(entity, curPos); }
|
checkForWashedInfernos(entity, curPos);
|
private void processMovement(Entity entity, MovementData md) { // check for fleeing if (md.contains(MovementData.STEP_FLEE)) { // Unit has fled the battlefield. phaseReport.append("\n" ).append( entity.getDisplayName() ).append( " flees the battlefield.\n"); // Is the unit carrying passengers? final Vector passengers = entity.getLoadedUnits(); if ( !passengers.isEmpty() ) { final Enumeration iter = passengers.elements(); while ( iter.hasMoreElements() ) { final Entity passenger = (Entity) iter.nextElement(); // Unit has fled the battlefield. phaseReport.append( " It carries " ) .append( passenger.getDisplayName() ) .append( " with it.\n" ); game.removeEntity( passenger.getId(), Entity.REMOVE_IN_RETREAT ); send( createRemoveEntityPacket(passenger.getId(), Entity.REMOVE_IN_RETREAT) ); } } // Is the unit being swarmed? final int swarmerId = entity.getSwarmAttackerId(); if ( Entity.NONE != swarmerId ) { final Entity swarmer = game.getEntity( swarmerId ); // Has the swarmer taken a turn? if ( !swarmer.isDone() ) { // Dead entities don't take turns. game.removeTurnFor(swarmer); send(createTurnVectorPacket()); } // End swarmer-still-to-move // Unit has fled the battlefield. swarmer.setSwarmTargetId( Entity.NONE ); entity.setSwarmAttackerId( Entity.NONE ); phaseReport.append( " It takes " ) .append( swarmer.getDisplayName() ) .append( " with it.\n" ); game.removeEntity( swarmerId, Entity.REMOVE_IN_RETREAT ); send( createRemoveEntityPacket(swarmerId, Entity.REMOVE_IN_RETREAT) ); } game.removeEntity( entity.getId(), Entity.REMOVE_IN_RETREAT ); send( createRemoveEntityPacket(entity.getId(), Entity.REMOVE_IN_RETREAT) ); return; } if (md.contains(MovementData.STEP_EJECT)) { phaseReport.append("\n" ).append( entity.getDisplayName()).append( " ejects.\n"); phaseReport.append(destroyEntity(entity, "ejection")); game.removeEntity( entity.getId(), Entity.REMOVE_SALVAGEABLE ); send(createRemoveEntityPacket(entity.getId(), Entity.REMOVE_SALVAGEABLE)); return; } // okay, proceed with movement calculations Coords lastPos = entity.getPosition(); Coords curPos = entity.getPosition(); int curFacing = entity.getFacing(); int distance = 0; int mpUsed = 0; int moveType = Entity.MOVE_NONE; int overallMoveType = Entity.MOVE_NONE; boolean firstStep; boolean wasProne; boolean fellDuringMovement; int prevFacing = curFacing; Hex prevHex = null; final boolean isInfantry = (entity instanceof Infantry); AttackAction charge = null; // Compile the move Compute.compile(game, entity.getId(), md); // check for MASC failure if (entity instanceof Mech) { if (((Mech)entity).checkForMASCFailure(phaseReport,md)) { // no movement after that return; } } // get last step's movement type for (final Enumeration i = md.getSteps(); i.hasMoreElements();) { final MovementData.Step step = (MovementData.Step)i.nextElement(); if (step.getMovementType() == Entity.MOVE_ILLEGAL) { break; } else { overallMoveType = step.getMovementType(); } } // iterate through steps firstStep = true; fellDuringMovement = false; MovementData.Step prevStep = null; for (final Enumeration i = md.getSteps(); i.hasMoreElements();) { final MovementData.Step step = (MovementData.Step)i.nextElement(); wasProne = entity.isProne(); boolean isPavementStep = step.isOnPavement(); // stop for illegal movement if (step.getMovementType() == Entity.MOVE_ILLEGAL) { break; } // check piloting skill for getting up if (step.getType() == MovementData.STEP_GET_UP) { entity.heatBuildup += 1; entity.setProne(false); wasProne = false; doSkillCheckInPlace(entity, new PilotingRollData(entity.getId(), 0, "getting up"), true); } else if (firstStep) { // running with destroyed hip or gyro needs a check if (overallMoveType == Entity.MOVE_RUN && !entity.isProne() && (entity.getDestroyedCriticals(CriticalSlot.TYPE_SYSTEM, Mech.SYSTEM_GYRO,Mech.LOC_CT) > 0 || entity.hasHipCrit())) { doSkillCheckInPlace(entity, new PilotingRollData(entity.getId(), 0, "running with damaged hip actuator or gyro"), false); } firstStep = false; } // did the entity just fall? if (!wasProne && entity.isProne()) { moveType = step.getMovementType(); curFacing = entity.getFacing(); curPos = entity.getPosition(); mpUsed = step.getMpUsed(); fellDuringMovement = true; break; } if (step.getType() == MovementData.STEP_UNJAM_RAC) { entity.setUnjammingRAC(true); game.addAction(new UnjamAction(entity.getId())); break; } // set most step parameters moveType = step.getMovementType(); distance = step.getDistance(); mpUsed = step.getMpUsed(); // check for charge if (step.getType() == MovementData.STEP_CHARGE) { Targetable target = step.getTarget( game ); ChargeAttackAction caa = new ChargeAttackAction(entity.getId(), target.getTargetType(), target.getTargetId(), target.getPosition()); entity.setDisplacementAttack(caa); game.addCharge(caa); charge = caa; break; } // check for dfa if (step.getType() == MovementData.STEP_DFA) { Targetable target = step.getTarget( game ); DfaAttackAction daa = new DfaAttackAction(entity.getId(), target.getTargetType(), target.getTargetId(), target.getPosition()); entity.setDisplacementAttack(daa); game.addCharge(daa); charge = daa; break; } // set last step parameters curPos = step.getPosition(); curFacing = step.getFacing(); final Hex curHex = game.board.getHex(curPos); // Check for skid. if ( moveType != Entity.MOVE_JUMP && prevHex != null && prevStep.isOnPavement() && overallMoveType == Entity.MOVE_RUN && prevFacing != curFacing && !lastPos.equals(curPos) && !isInfantry ) { // Have an entity-meaningful PSR message. boolean psrPassed = true; PilotingRollData psr = null; if ( entity instanceof Mech ) { psr = new PilotingRollData (entity.getId(), getMovementPSRModifier(distance), "running & turning on pavement"); psrPassed = doSkillCheckWhileMoving( entity, lastPos, lastPos, psr ); } else { psr = new PilotingRollData (entity.getId(), getMovementPSRModifier(distance), "reckless driving on pavement"); psrPassed = doSkillCheckWhileMoving( entity, lastPos, lastPos, psr, false ); } // Does the entity skid? if ( !psrPassed ){ curPos = lastPos; Coords nextPos = curPos; Hex nextHex = null; int skidDistance = 0; Enumeration targets = null; Entity target = null; int curElevation; int nextElevation; // All charge damage is based upon // the pre-skid move distance. entity.delta_distance = distance-1; // Attacks against a skidding target have additional +2. moveType = Entity.MOVE_SKID; // What is the first hex in the skid? nextPos = curPos.translated( prevFacing ); nextHex = game.board.getHex( nextPos ); // Move the entity a number hexes from curPos in the // prevFacing direction equal to half the distance moved // this turn (rounded up), unless something intervenes. for ( skidDistance = 0; skidDistance < (int) Math.ceil(entity.delta_distance / 2.0); skidDistance++ ) { // Is the next hex off the board? if ( !game.board.contains(nextPos) ) { // Can the entity skid off the map? if ( game.getOptions().booleanOption("push_off_board") ) { // Yup. One dead entity. game.removeEntity(entity.getId(), Entity.REMOVE_IN_RETREAT); send(createRemoveEntityPacket(entity.getId(), Entity.REMOVE_IN_RETREAT)); phaseReport.append("*** " ) .append( entity.getDisplayName() ) .append( " has skidded off the field. ***\n"); // The entity's movement is completed. return; } else { // Nope. Update the report. phaseReport.append( " Can't skid off the field.\n" ); } // Stay in the current hex and stop skidding. break; } // Can the skiding entity enter the next hex from this? // N.B. can skid along roads. if ( ( entity.isHexProhibited(curHex) || entity.isHexProhibited(nextHex) ) && !Compute.canMoveOnPavement(game, curPos, nextPos) ) { // Update report. phaseReport.append( " Can't skid into hex " ) .append( nextPos.getBoardNum() ) .append( ".\n" ); // N.B. the BMRr pg. 22 says that the unit // "crashes" into the terrain but it doesn't // mention any damage. // Stay in the current hex and stop skidding. break; } // Hovercraft can "skid" over water. // TODO: allow entities to occupy different levels of // buildings. curElevation = curHex.floor(); nextElevation = nextHex.floor(); if ( entity instanceof Tank && entity.getMovementType() == Entity.MovementType.HOVER ) { Terrain land = curHex. getTerrain(Terrain.WATER); if ( land != null ) { curElevation += land.getLevel(); } land = nextHex.getTerrain(Terrain.WATER); if ( land != null ) { nextElevation += land.getLevel(); } } // BMRr pg. 22 - Can't skid uphill, // but can skid downhill. if ( curElevation < nextElevation ) { phaseReport.append ( " Can not skid uphill into hex " + nextPos.getBoardNum() ).append( ".\n" ); // Stay in the current hex and stop skidding. break; } // Have skidding units suffer falls. else if ( curElevation > nextElevation + 1 ) { doEntityFallsInto( entity, curPos, nextPos, Compute.getBasePilotingRoll (game, entity.getId()) ); // Stay in the current hex and stop skidding. break; } // Get any building in the hex. Building bldg = game.board.getBuildingAt(nextPos); boolean bldgSuffered = false; // Does the next hex contain an entities? // ASSUMPTION: hurt EVERYONE in the hex. // TODO: allow entities to occupy different levels of // buildings, and only skid into a single level. boolean stopTheSkid = false; targets = game.getEntities( nextPos ); while ( targets.hasMoreElements() ) { target = (Entity) targets.nextElement(); // TODO : allow ready targets to move out of way // Mechs and vehicles get charged. if ( !(target instanceof Infantry) ) { // Update report. phaseReport.append( " Skids into " + target.getShortName() + " in hex " + nextPos.getBoardNum() + "... " ); // Resolve a charge against the target. // ASSUMPTION: buildings block damage for // *EACH* entity charged. ToHitData toHit = new ToHitData(); // Calculate hit location. if ( entity instanceof Tank && entity.getMovementType() == Entity.MovementType.HOVER && 0 < nextHex.levelOf(Terrain.WATER) ) { if ( 2 <= nextHex.levelOf(Terrain.WATER) || target.isProne() ) { // Hovercraft can't hit the Mek. continue; } else { toHit.setHitTable(ToHitData.HIT_PUNCH); } } else if ( entity.getHeight() < target.getHeight() ) { toHit.setHitTable(ToHitData.HIT_KICK); } else { toHit.setHitTable(ToHitData.HIT_NORMAL); } // Resolve the hit. toHit.setSideTable (Compute.targetSideTable(entity, target)); resolveChargeDamage (entity, target, toHit, prevFacing); bldgSuffered = true; // The skid ends here if the target lives. // TODO : we should keep skiding if the target // is pushed off the board as it has // been "destroyed" according to the // MegaMek interpretation of the rules. if ( !target.isDoomed() && !target.isDestroyed() ) { stopTheSkid = true; } } // Resolve "move-through" damage on infantry. // Infantry inside of a building don't get a // move-through, but suffer "bleed through" // from the building. else if ( bldg != null ) { // Update report. phaseReport.append( " Skids through " + target.getShortName() + " in hex " + nextPos.getBoardNum() + "... " ); // Infantry don't have different // tables for punches and kicks HitData hit = target.rollHitLocation( ToHitData.HIT_NORMAL, Compute.targetSideTable(entity, target) ); // Damage equals tonnage, divided by 5. // ASSUMPTION: damage is applied in one hit. phaseReport.append( damageEntity(target, hit, (int)Math.round(entity.getWeight()/5)) ); phaseReport.append( "\n" ); } // End handle-infantry // Has the target been destroyed? if ( target.isDoomed() ) { // Has the target taken a turn? if ( !target.isDone() ) { // Dead entities don't take turns. game.removeTurnFor(target); send(createTurnVectorPacket()); } // End target-still-to-move // Clean out the entity. target.setDestroyed(true); game.moveToGraveyard(target.getId()); send(createRemoveEntityPacket(target.getId())); } // Update the target's position, // unless it is off the game map. if ( !game.isOutOfGame(target) ) { entityUpdate( target.getId() ); } } // Check the next entity in the hex. // Handle the building in the hex. // TODO : BMRr pg. 22, only count buildings that are // higher than our starting terrain height. // TODO: allow units to skid on top of buildings. if ( bldg != null ) { // Report that the entity has entered the bldg. phaseReport.append( " Skids into " ) .append( bldg.getName() ) .append( " in hex " ) .append( nextPos.getBoardNum() ) .append( ".\n" ); // If the building hasn't already suffered // damage, then apply charge damage to the // building and displace the entity inside. // ASSUMPTION: you don't charge the building // if Tanks or Mechs were charged. int chargeDamage = Compute.getChargeDamageFor ( entity ); if ( !bldgSuffered ) { phaseReport.append( " " ) .append( damageBuilding( bldg, chargeDamage ) ); // Apply damage to the attacker. int toAttacker = Compute.getChargeDamageTakenBy ( entity, bldg ); HitData hit = entity.rollHitLocation( ToHitData.HIT_NORMAL, Compute.targetSideTable(curPos, nextPos, entity.getFacing(), false) ); phaseReport.append( this.damageEntity( entity, hit, toAttacker ) ) .append( "\n" ); curPos = nextPos; entity.setPosition( curPos ); } // End buildings-suffer-too // Any infantry in the building take damage // equal to the building being charged. // ASSUMPTION: infantry take no damage from the // building absorbing damage from // Tanks and Mechs being charged. damageInfantryIn( bldg, chargeDamage ); // If a building still stands, then end the skid, // and add it to the list of affected buildings. if ( bldg.getCurrentCF() > 0 ) { stopTheSkid = true; this.addAffectedBldg( bldg, false ); } } // End handle-building. // Do we stay in the current hex and stop skidding? if ( stopTheSkid ) { break; } // Update the position and keep skidding. curPos = nextPos; entity.setPosition( curPos ); phaseReport.append( " Skids into hex " ).append( curPos.getBoardNum() ).append( ".\n" ); // Get the next hex in the skid? nextPos = nextPos.translated( prevFacing ); nextHex = game.board.getHex( nextPos ); } // Handle the next skid hex. // If the skidding entity violates stacking, // displace targets until it doesn't. curPos = entity.getPosition(); target = Compute.stackingViolation (game, entity.getId(), curPos); while (target != null) { nextPos = Compute.getValidDisplacement (game, target.getId(), target.getPosition(), prevFacing); // ASSUMPTION // There should always be *somewhere* that // the target can go... last skid hex if // nothing else is available. if ( null == nextPos ) { // But I don't trust the assumption fully. // Report the error and try to continue. System.err.println( "The skid of " + entity.getShortName() + " should displace " + target.getShortName() + " in hex " + curPos.getBoardNum() + " but there is nowhere to go." ); break; } phaseReport.append( " " ); // indent displacement doEntityDisplacement(target, curPos, nextPos, null); target = Compute.stackingViolation( game, entity.getId(), curPos ); } // Mechs suffer damage for every hex skidded. if ( entity instanceof Mech ) { // Calculate one half falling damage times skid length. int damage = skidDistance * (int) Math.ceil(Math.round(entity.getWeight() / 10.0) / 2.0); // report skid damage phaseReport.append(" " ).append( entity.getDisplayName() ).append( " suffers " ).append( damage ).append( " damage from the skid."); // standard damage loop // All skid damage is to the front. while (damage > 0) { int cluster = Math.min(5, damage); HitData hit = entity.rollHitLocation(ToHitData.HIT_NORMAL, ToHitData.SIDE_FRONT); phaseReport.append(damageEntity(entity, hit, cluster)); damage -= cluster; } phaseReport.append( "\n" ); } // Clean up the entity if it has been destroyed. if ( entity.isDoomed() ) { entity.setDestroyed(true); game.moveToGraveyard(entity.getId()); send(createRemoveEntityPacket(entity.getId())); // The entity's movement is completed. return; } // Let the player know the ordeal is over. phaseReport.append( " Skid ends.\n" ); // set entity parameters curFacing = entity.getFacing(); curPos = entity.getPosition(); entity.setSecondaryFacing( curFacing ); mpUsed = entity.getRunMP(); // skid consumes all movement entity.moved = moveType; fellDuringMovement = true; distance = entity.delta_distance; break; } // End failed-skid-psr } // End need-skid-psr // check if we've moved into rubble if (!lastPos.equals(curPos) && step.getMovementType() != Entity.MOVE_JUMP && curHex.levelOf(Terrain.RUBBLE) > 0) { doSkillCheckWhileMoving(entity, lastPos, curPos, new PilotingRollData(entity.getId(), 0, "entering Rubble")); } // check to see if we've moved OUT of fire and we are a mech if (!lastPos.equals(curPos) && step.getMovementType() != Entity.MOVE_JUMP && game.board.getHex(lastPos).contains(Terrain.FIRE)) { if (entity instanceof Mech) { entity.heatBuildup+=2; phaseReport.append("\n" ).append( entity.getDisplayName() ).append( " passes through a fire. It will generate 2 more heat this round.\n"); } } // check to see if we've moved INTO fire and we are not a mech if (!lastPos.equals(curPos) && step.getMovementType() != Entity.MOVE_JUMP && game.board.getHex(curPos).contains(Terrain.FIRE)) { if (!(entity instanceof Mech)) { doFlamingDeath(entity); } } // check if we've moved into water if (!lastPos.equals(curPos) && step.getMovementType() != Entity.MOVE_JUMP && curHex.levelOf(Terrain.WATER) > 0 && entity.getMovementType() != Entity.MovementType.HOVER && !isPavementStep) { if (curHex.levelOf(Terrain.WATER) == 1) { doSkillCheckWhileMoving(entity, lastPos, curPos, new PilotingRollData(entity.getId(), -1, "entering Depth 1 Water")); } else if (curHex.levelOf(Terrain.WATER) == 2) { doSkillCheckWhileMoving(entity, lastPos, curPos, new PilotingRollData(entity.getId(), 0, "entering Depth 2 Water")); // Any swarming infantry will be destroyed. final int swarmerId = entity.getSwarmAttackerId(); if ( Entity.NONE != swarmerId ) { final Entity swarmer = game.getEntity( swarmerId ); swarmer.setSwarmTargetId( Entity.NONE ); entity.setSwarmAttackerId( Entity.NONE ); swarmer.setPosition( curPos ); phaseReport.append( " The swarming unit, " ) .append( swarmer.getShortName() ) .append( ", drowns!\n" ) .append( destroyEntity(swarmer, "a watery grave", false) ); entityUpdate( swarmerId ); } } else { doSkillCheckWhileMoving(entity, lastPos, curPos, new PilotingRollData(entity.getId(), 1, "entering Depth 3+ Water")); // Any swarming infantry will be destroyed. final int swarmerId = entity.getSwarmAttackerId(); if ( Entity.NONE != swarmerId ) { final Entity swarmer = game.getEntity( swarmerId ); swarmer.setSwarmTargetId( Entity.NONE ); entity.setSwarmAttackerId( Entity.NONE ); swarmer.setPosition( curPos ); phaseReport.append( " The swarming unit, " ) .append( swarmer.getShortName() ) .append( ", drowns!\n" ) .append( destroyEntity(swarmer, "a watery grave", false) ); entityUpdate( swarmerId ); } } // Mech on fire with infernos can wash them off. // Check if enterning depth 2 water or prone in depth 1. if ( entity instanceof Mech && entity.infernos.isStillBurning() ) { if ( ( 1 == curHex.levelOf(Terrain.WATER) && entity.isProne() ) || ( 2 <= curHex.levelOf(Terrain.WATER) ) ) { washInferno(entity, curPos); } } } // Handle loading units. if ( step.getType() == MovementData.STEP_LOAD ) { // Find the unit being loaded. Entity loaded = null; Enumeration entities = game.getEntities( curPos ); while ( entities.hasMoreElements() ) { // Is the other unit friendly and not the current entity? loaded = (Entity)entities.nextElement(); if ( entity.getOwner() == loaded.getOwner() && !entity.equals(loaded) ) { // The moving unit should be able to load the other // unit and the other should be able to have a turn. if ( !entity.canLoad(loaded) || !loaded.isSelectable() ) { // Something is fishy in Denmark. System.err.println( entity.getShortName() + " can not load " + loaded.getShortName() ); loaded = null; } else { // Have the deployed unit load the indicated unit. this.loadUnit( entity, loaded ); // Stop looking. break; } } else { // Nope. Discard it. loaded = null; } } // Handle the next entity in this hex. // We were supposed to find someone to load. if ( loaded == null ) { System.err.println( "Could not find unit for " + entity.getShortName() + " to load in " + curPos ); } } // End STEP_LOAD // Handle unloading units. if ( step.getType() == MovementData.STEP_UNLOAD ) { Targetable unloaded = step.getTarget( game ); if ( !this.unloadUnit( entity, unloaded, curPos, curFacing ) ) { System.err.println( "Error! Server was told to unload " + unloaded.getDisplayName() + " from " + entity.getDisplayName() + " into " + curPos.getBoardNum() ); } } // Handle non-infantry moving into a building. if ( !lastPos.equals(curPos) && step.getMovementType() != Entity.MOVE_JUMP && ( curHex.contains(Terrain.BUILDING) || (prevHex != null && prevHex.contains(Terrain.BUILDING)) ) && !(entity instanceof Infantry) ) { // Get the building being exited. // TODO: allow units to climb on top of buildings. Building bldgExited = game.board.getBuildingAt( lastPos ); // Get the building being entered. // TODO: allow units to climb on top of buildings. Building bldgEntered = game.board.getBuildingAt( curPos ); // If we're not leaving a building, just handle the "entered". boolean collapsed = false; if ( bldgExited == null ) { collapsed = passBuildingWall( entity, bldgEntered, lastPos, curPos, distance, "entering" ); this.addAffectedBldg( bldgEntered, collapsed ); } // If we're moving withing the same building, just handle // the "within". else if ( bldgExited.equals( bldgEntered ) ) { collapsed = passBuildingWall( entity, bldgEntered, lastPos, curPos, distance, "moving in" ); this.addAffectedBldg( bldgEntered, collapsed ); } // If we have different buildings, roll for each. else if ( bldgExited != null && bldgEntered != null ) { collapsed = passBuildingWall( entity, bldgExited, lastPos, curPos, distance, "exiting" ); this.addAffectedBldg( bldgExited, collapsed ); collapsed = passBuildingWall( entity, bldgEntered, lastPos, curPos, distance, "entering" ); this.addAffectedBldg( bldgEntered, collapsed ); } // Otherwise, just handle the "exited". else { collapsed = passBuildingWall( entity, bldgExited, lastPos, curPos, distance, "exiting" ); this.addAffectedBldg( bldgExited, collapsed ); } // Clean up the entity if it has been destroyed. if ( entity.isDoomed() ) { entity.setDestroyed(true); game.moveToGraveyard(entity.getId()); send(createRemoveEntityPacket(entity.getId())); // The entity's movement is completed. return; } // TODO: what if a building collapses into rubble? } // did the entity just fall? if (!wasProne && entity.isProne()) { curFacing = entity.getFacing(); curPos = entity.getPosition(); mpUsed = step.getMpUsed(); fellDuringMovement = true; break; } // dropping prone intentionally? if (step.getType() == MovementData.STEP_GO_PRONE) { mpUsed = step.getMpUsed(); entity.setProne(true); // check to see if we washed off infernos if ( entity instanceof Mech && entity.infernos.isStillBurning() && curHex.levelOf(Terrain.WATER) >= 1 ) { washInferno(entity, curPos); } break; } // update lastPos, prevStep, prevFacing & prevHex lastPos = new Coords(curPos); prevStep = step; if (!curHex.equals(prevHex)) { prevFacing = curFacing; } prevHex = curHex; } // set entity parameters entity.setPosition(curPos); entity.setFacing(curFacing); entity.setSecondaryFacing(curFacing); entity.delta_distance = distance; entity.moved = moveType; entity.mpUsed = mpUsed; // but the danger isn't over yet! landing from a jump can be risky! if (overallMoveType == Entity.MOVE_JUMP && !entity.isMakingDfa()) { // check for damaged criticals if (entity.getDestroyedCriticals(CriticalSlot.TYPE_SYSTEM, Mech.SYSTEM_GYRO,Mech.LOC_CT) > 0 || entity.hasLegActuatorCrit()) { doSkillCheckInPlace(entity, new PilotingRollData(entity.getId(), 0, "landing with damaged leg actuator or gyro"), false); } // jumped into water? int waterLevel = game.board.getHex(curPos).levelOf(Terrain.WATER); if (waterLevel == 1) { doSkillCheckInPlace(entity, new PilotingRollData(entity.getId(), -1, "entering Depth 1 Water"), false); } else if (waterLevel == 2) { doSkillCheckInPlace(entity, new PilotingRollData(entity.getId(), 0, "entering Depth 2 Water"), false); // Any swarming infantry will be destroyed. final int swarmerId = entity.getSwarmAttackerId(); if ( Entity.NONE != swarmerId ) { final Entity swarmer = game.getEntity( swarmerId ); swarmer.setSwarmTargetId( Entity.NONE ); entity.setSwarmAttackerId( Entity.NONE ); swarmer.setPosition( curPos ); phaseReport.append( " The swarming unit, " ) .append( swarmer.getShortName() ) .append( ", drowns!\n" ) .append( destroyEntity(swarmer, "a watery grave", false) ); entityUpdate( swarmerId ); } } else if (waterLevel >= 3) { doSkillCheckInPlace(entity, new PilotingRollData(entity.getId(), 1, "entering Depth 3+ Water"), false); // Any swarming infantry will be destroyed. final int swarmerId = entity.getSwarmAttackerId(); if ( Entity.NONE != swarmerId ) { final Entity swarmer = game.getEntity( swarmerId ); swarmer.setSwarmTargetId( Entity.NONE ); entity.setSwarmAttackerId( Entity.NONE ); swarmer.setPosition( curPos ); phaseReport.append( " The swarming unit, " ) .append( swarmer.getShortName() ) .append( ", drowns!\n" ) .append( destroyEntity(swarmer, "a watery grave", false) ); entityUpdate( swarmerId ); } } // If the entity is being swarmed, jumping may dislodge the fleas. final int swarmerId = entity.getSwarmAttackerId(); if ( Entity.NONE != swarmerId ) { final Entity swarmer = game.getEntity( swarmerId ); final PilotingRollData roll = Compute.getBasePilotingRoll(game, entity.getId()); // Add a +4 modifier. roll.addModifier( 4, "dislodge swarming infantry" ); // If the swarmer has Assault claws, give a 1 modifier. // We can stop looking when we find our first match. for ( Enumeration iter = swarmer.getMisc(); iter.hasMoreElements(); ) { Mounted mount = (Mounted) iter.nextElement(); EquipmentType equip = mount.getType(); if ( BattleArmor.ASSAULT_CLAW.equals (equip.getInternalName()) ) { roll.addModifier( 1, "swarmer has assault claws" ); break; } } // okay, print the info phaseReport.append("\n") .append( entity.getDisplayName() ) .append( " tries to dislodge swarming infantry.\n" ); // roll final int diceRoll = Compute.d6(2); phaseReport.append("Needs " ).append( roll.getValueAsString() ).append( " [" ).append( roll.getDesc() ).append( "]" ).append( ", rolls " ).append( diceRoll ).append( " : "); if (diceRoll < roll.getValue()) { phaseReport.append("fails.\n"); } else { phaseReport.append("succeeds.\n"); entity.setSwarmAttackerId( Entity.NONE ); swarmer.setSwarmTargetId( Entity.NONE ); // Did the infantry fall into water? final Hex curHex = game.board.getHex(curPos); if ( curHex.levelOf(Terrain.WATER) > 0 ) { // Swarming infantry die. swarmer.setPosition( curPos ); phaseReport.append(" ") .append(swarmer.getDisplayName()) .append(" is dislodged and drowns!") .append(destroyEntity(swarmer, "a watery grave", false)); } else { // Swarming infantry take an 11 point hit. // ASSUMPTION : damage should not be doubled. phaseReport.append(" ") .append(swarmer.getDisplayName()) .append(" is dislodged and suffers 11 damage.") .append( damageEntity(swarmer, swarmer.rollHitLocation(ToHitData.HIT_NORMAL, ToHitData.SIDE_FRONT), 11) ) .append( "\n" ); swarmer.setPosition( curPos ); } entityUpdate( swarmerId ); } // End successful-PSR } // End try-to-dislodge-swarmers } // End entity-is-jumping // should we give another turn to the entity to keep moving? if (fellDuringMovement && entity.mpUsed < entity.getRunMP() && entity.isSelectable() && !entity.isDoomed()) { entity.applyDamage(); entity.setDone(false); GameTurn newTurn = new GameTurn.SpecificEntityTurn(entity.getOwner().getId(), entity.getId()); game.insertTurn(newTurn); // brief everybody on the turn update send(createTurnVectorPacket()); } else { entity.setDone(true); } // If the entity is being swarmed, update the attacker's position. final int swarmerId = entity.getSwarmAttackerId(); if ( Entity.NONE != swarmerId ) { final Entity swarmer = game.getEntity( swarmerId ); swarmer.setPosition( curPos ); // If the hex is on fire, and the swarming infantry is // *not* Battle Armor, it drops off. if ( !(swarmer instanceof BattleArmor) && game.board.getHex(curPos).contains(Terrain.FIRE) ) { swarmer.setSwarmTargetId( Entity.NONE ); entity.setSwarmAttackerId( Entity.NONE ); phaseReport.append( "\n " ) .append( swarmer.getShortName() ) .append( " can't stand the fire's heat and drops off.\n" ); } entityUpdate( swarmerId ); } // Update the entitiy's position, // unless it is off the game map. if ( !game.isOutOfGame(entity) ) { entityUpdate( entity.getId() ); } // if using double blind, update the player on new units he might see if (doBlind()) { send(entity.getOwner().getId(), createFilteredEntitiesPacket(entity.getOwner())); } // if we generated a charge attack, report it now if (charge != null) { send(createAttackPacket(charge, true)); } }
|
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/847b90ee06194625453dd0febda6b8fe9ae66e24/Server.java/clean/megamek/src/megamek/server/Server.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
49,
26140,
12,
1943,
1522,
16,
490,
26140,
751,
3481,
13,
288,
3639,
368,
866,
364,
284,
11182,
310,
3639,
309,
261,
1264,
18,
12298,
12,
49,
26140,
751,
18,
26951,
67,
42,
900,
41,
3719,
288,
5411,
368,
8380,
711,
284,
1259,
326,
324,
4558,
298,
1518,
18,
5411,
6855,
4820,
18,
6923,
31458,
82,
6,
262,
18,
6923,
12,
1522,
18,
588,
20524,
1435,
5411,
262,
18,
6923,
12,
315,
284,
298,
281,
326,
324,
4558,
298,
1518,
8403,
82,
8863,
5411,
368,
2585,
326,
2836,
9331,
310,
1342,
275,
6215,
35,
5411,
727,
5589,
1342,
275,
6215,
273,
1522,
18,
588,
8835,
7537,
5621,
5411,
309,
261,
401,
5466,
275,
6215,
18,
291,
1921,
1435,
262,
288,
7734,
727,
13864,
1400,
273,
1342,
275,
6215,
18,
6274,
5621,
7734,
1323,
261,
1400,
18,
5332,
7417,
3471,
1435,
262,
288,
10792,
727,
3887,
1342,
14348,
273,
261,
1943,
13,
1400,
18,
4285,
1046,
5621,
10792,
368,
8380,
711,
284,
1259,
326,
324,
4558,
298,
1518,
18,
10792,
6855,
4820,
18,
6923,
12,
315,
282,
2597,
5926,
566,
281,
315,
262,
13491,
263,
6923,
12,
1342,
14348,
18,
588,
20524,
1435,
262,
13491,
263,
6923,
12,
315,
598,
518,
8403,
82,
6,
11272,
10792,
7920,
18,
4479,
1943,
12,
1342,
14348,
18,
26321,
9334,
4766,
4202,
3887,
18,
22122,
67,
706,
67,
10238,
862,
789,
11272,
10792,
1366,
12,
752,
3288,
1943,
6667,
12,
5466,
14348,
18,
26321,
9334,
4766,
10402,
3887,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
49,
26140,
12,
1943,
1522,
16,
490,
26140,
751,
3481,
13,
288,
3639,
368,
866,
364,
284,
11182,
310,
3639,
309,
261,
1264,
18,
12298,
12,
49,
26140,
751,
18,
26951,
67,
42,
900,
41,
3719,
288,
5411,
368,
8380,
711,
284,
1259,
326,
324,
4558,
298,
1518,
18,
5411,
6855,
4820,
18,
6923,
31458,
82,
6,
262,
18,
6923,
12,
1522,
18,
588,
20524,
1435,
5411,
262,
18,
6923,
12,
315,
284,
298,
281,
326,
324,
4558,
298,
1518,
8403,
82,
8863,
5411,
368,
2585,
326,
2836,
9331,
310,
1342,
275,
6215,
35,
5411,
727,
5589,
1342,
275,
6215,
273,
1522,
18,
588,
8835,
7537,
5621,
5411,
309,
261,
401,
5466,
275,
6215,
18,
2
] |
return new MetalComboBoxButton(comboBox, new MetalComboBoxIcon(),
|
JButton button = new MetalComboBoxButton(comboBox, new MetalComboBoxIcon(),
|
protected JButton createArrowButton() { return new MetalComboBoxButton(comboBox, new MetalComboBoxIcon(), new CellRendererPane(), listBox); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/MetalComboBoxUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
28804,
752,
18691,
3616,
1435,
225,
288,
565,
28804,
3568,
273,
394,
21604,
287,
22199,
3616,
12,
25053,
3514,
16,
394,
21604,
287,
22199,
5554,
9334,
2398,
394,
8614,
6747,
8485,
9334,
666,
3514,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
28804,
752,
18691,
3616,
1435,
225,
288,
565,
28804,
3568,
273,
394,
21604,
287,
22199,
3616,
12,
25053,
3514,
16,
394,
21604,
287,
22199,
5554,
9334,
2398,
394,
8614,
6747,
8485,
9334,
666,
3514,
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
] |
public void constructorChainElementId( Object element );
|
public Object constructorChainElementId( Object element );
|
public void constructorChainElementId( Object element );
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/44aad85270fb48dbc04906626c769076958182ca/IParserCallback.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/IParserCallback.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
202,
202,
12316,
3893,
1046,
548,
12,
1033,
930,
11272,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
202,
202,
12316,
3893,
1046,
548,
12,
1033,
930,
11272,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
EventObject restartEvent = editor.getRestartEditingEvent();
|
restartEvent = editor.getRestartEditingEvent();
|
public void actionPerformed(ActionEvent e) { if (disableEditing) return; // Get a "restart editing" event from the cell editor. EventObject restartEvent = editor.getRestartEditingEvent(); // ask what column we're editing. (for our purposes, it's always // going to be column 0, but lets be more robust.) editingColumn = WBSJTable.this.editingColumn; editingRow = WBSJTable.this.editingRow; // find out what node is currently being edited. WBSNode editingNode = (WBSNode) editor.getCellEditorValue(); // stop the current editing session. if (editingNode != null) editor.stopCellEditing(); UndoList.stopCellEditing(WBSJTable.this); // do something. doAction(e); // restart editing. restartEditing(editingColumn, editingNode, restartEvent); }
|
5494 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5494/2ca4db52f13459ce955e145d189a57c87aa9df5b/WBSJTable.java/clean/teamdash/src/teamdash/wbs/WBSJTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
5411,
309,
261,
8394,
28029,
13,
7734,
327,
31,
5411,
368,
968,
279,
315,
19164,
15755,
6,
871,
628,
326,
2484,
4858,
18,
5411,
7870,
1133,
273,
4858,
18,
588,
15057,
28029,
1133,
5621,
5411,
368,
6827,
4121,
1057,
732,
4565,
15755,
18,
261,
1884,
3134,
13694,
16,
518,
1807,
3712,
5411,
368,
8554,
358,
506,
1057,
374,
16,
1496,
14557,
506,
1898,
27920,
12998,
5411,
15755,
1494,
273,
678,
12692,
46,
1388,
18,
2211,
18,
4619,
310,
1494,
31,
5411,
15755,
1999,
565,
273,
678,
12692,
46,
1388,
18,
2211,
18,
4619,
310,
1999,
31,
5411,
368,
1104,
596,
4121,
756,
353,
4551,
3832,
18532,
18,
5411,
678,
12692,
907,
15755,
907,
273,
261,
59,
12692,
907,
13,
4858,
18,
588,
4020,
6946,
620,
5621,
5411,
368,
2132,
326,
783,
15755,
1339,
18,
5411,
309,
261,
4619,
310,
907,
480,
446,
13,
4858,
18,
5681,
4020,
28029,
5621,
5411,
1351,
2896,
682,
18,
5681,
4020,
28029,
12,
59,
12692,
46,
1388,
18,
2211,
1769,
5411,
368,
741,
5943,
18,
5411,
741,
1803,
12,
73,
1769,
5411,
368,
7870,
15755,
18,
5411,
7870,
28029,
12,
4619,
310,
1494,
16,
15755,
907,
16,
7870,
1133,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
5411,
309,
261,
8394,
28029,
13,
7734,
327,
31,
5411,
368,
968,
279,
315,
19164,
15755,
6,
871,
628,
326,
2484,
4858,
18,
5411,
7870,
1133,
273,
4858,
18,
588,
15057,
28029,
1133,
5621,
5411,
368,
6827,
4121,
1057,
732,
4565,
15755,
18,
261,
1884,
3134,
13694,
16,
518,
1807,
3712,
5411,
368,
8554,
358,
506,
1057,
374,
16,
1496,
14557,
506,
1898,
27920,
12998,
5411,
15755,
1494,
273,
678,
12692,
46,
1388,
18,
2211,
18,
4619,
310,
1494,
31,
5411,
15755,
1999,
565,
273,
678,
12692,
46,
1388,
18,
2211,
18,
4619,
310,
1999,
31,
5411,
368,
1104,
596,
4121,
756,
353,
4551,
3832,
18532,
18,
5411,
678,
2
] |
private static boolean conditionUsesInitializer(PsiForStatement statement) {
|
private static boolean conditionUsesInitializer(PsiForStatement statement){
|
private static boolean conditionUsesInitializer(PsiForStatement statement) { final PsiStatement initialization = statement.getInitialization(); final PsiExpression condition = statement.getCondition(); if (initialization == null) { return true; } if (condition == null) { return true; } if (!(initialization instanceof PsiDeclarationStatement)) { return true; } final PsiDeclarationStatement declaration = (PsiDeclarationStatement) initialization; final PsiElement[] declaredElements = declaration.getDeclaredElements(); if (declaredElements == null || declaredElements.length != 1) { return true; } if (declaredElements[0] == null || !(declaredElements[0] instanceof PsiLocalVariable)) { return true; } final PsiLocalVariable localVar = (PsiLocalVariable) declaredElements[0]; return expressionUsesVariable(condition, localVar); }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/ForLoopThatDoesntUseLoopVariableInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/bugs/ForLoopThatDoesntUseLoopVariableInspection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
2269,
15128,
14729,
12,
52,
7722,
1290,
3406,
3021,
15329,
3639,
727,
453,
7722,
3406,
10313,
273,
3021,
18,
588,
17701,
5621,
3639,
727,
453,
7722,
2300,
2269,
273,
3021,
18,
588,
3418,
5621,
3639,
309,
261,
6769,
1588,
422,
446,
13,
288,
5411,
327,
638,
31,
3639,
289,
3639,
309,
261,
4175,
422,
446,
13,
288,
5411,
327,
638,
31,
3639,
289,
3639,
309,
16051,
12,
6769,
1588,
1276,
453,
7722,
6094,
3406,
3719,
288,
5411,
327,
638,
31,
3639,
289,
3639,
727,
453,
7722,
6094,
3406,
8266,
273,
261,
52,
7722,
6094,
3406,
13,
10313,
31,
3639,
727,
453,
7722,
1046,
8526,
7886,
3471,
273,
8266,
18,
588,
18888,
3471,
5621,
3639,
309,
261,
16571,
3471,
422,
446,
747,
7886,
3471,
18,
2469,
480,
404,
13,
288,
5411,
327,
638,
31,
3639,
289,
3639,
309,
261,
16571,
3471,
63,
20,
65,
422,
446,
747,
401,
12,
16571,
3471,
63,
20,
65,
1276,
453,
7722,
2042,
3092,
3719,
288,
5411,
327,
638,
31,
3639,
289,
3639,
727,
453,
7722,
2042,
3092,
9935,
273,
261,
52,
7722,
2042,
3092,
13,
7886,
3471,
63,
20,
15533,
3639,
327,
2652,
15128,
3092,
12,
4175,
16,
9935,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
2269,
15128,
14729,
12,
52,
7722,
1290,
3406,
3021,
15329,
3639,
727,
453,
7722,
3406,
10313,
273,
3021,
18,
588,
17701,
5621,
3639,
727,
453,
7722,
2300,
2269,
273,
3021,
18,
588,
3418,
5621,
3639,
309,
261,
6769,
1588,
422,
446,
13,
288,
5411,
327,
638,
31,
3639,
289,
3639,
309,
261,
4175,
422,
446,
13,
288,
5411,
327,
638,
31,
3639,
289,
3639,
309,
16051,
12,
6769,
1588,
1276,
453,
7722,
6094,
3406,
3719,
288,
5411,
327,
638,
31,
3639,
289,
3639,
727,
453,
7722,
6094,
3406,
8266,
273,
261,
52,
7722,
6094,
3406,
13,
10313,
31,
3639,
727,
453,
7722,
1046,
8526,
7886,
3471,
273,
8266,
18,
588,
18888,
3471,
5621,
3639,
309,
2
] |
if (group instanceof FilterGroup && ( (FilterGroup) group).containsUIFilterDescription(internalName)) { lastFilt = ( (FilterGroup) group).getUIFilterDescriptionByName(internalName);
|
if (group instanceof FilterGroup && ((FilterGroup) group).containsUIFilterDescription(internalName)) { lastFilt = ((FilterGroup) group).getUIFilterDescriptionByName(internalName);
|
public boolean containsUIFilterDescription(String internalName) { boolean found = false; if (lastFilt == null){ for (Iterator iter = (Iterator) filterGroups.keySet().iterator(); iter.hasNext();) { Object group = filterGroups.get((Integer) iter.next()); if (group instanceof FilterGroup && ( (FilterGroup) group).containsUIFilterDescription(internalName)) { lastFilt = ( (FilterGroup) group).getUIFilterDescriptionByName(internalName); found = true; break; } } } else { String lastIntName; if (lastFilt instanceof UIFilterDescription) lastIntName = ( (UIFilterDescription) lastFilt).getInternalName(); else if (lastFilt instanceof UIDSFilterDescription) lastIntName = ( (UIDSFilterDescription) lastFilt).getInternalName(); else lastIntName = ""; // should not get here if ( lastIntName.equals(internalName) ) found = true; else { lastFilt = null; found = containsUIFilterDescription(internalName); } } return found; }
|
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/7049c3a96031c5d234998f81c8877e104b49b3bd/FilterPage.java/clean/src/java/org/ensembl/mart/lib/config/FilterPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1914,
5370,
1586,
3291,
12,
780,
2713,
461,
13,
288,
202,
202,
6494,
1392,
273,
629,
31,
202,
202,
430,
261,
2722,
42,
4526,
422,
446,
15329,
1082,
202,
1884,
261,
3198,
1400,
273,
261,
3198,
13,
1034,
3621,
18,
856,
694,
7675,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
9506,
202,
921,
1041,
273,
1034,
3621,
18,
588,
12443,
4522,
13,
1400,
18,
4285,
10663,
6862,
9506,
202,
430,
261,
1655,
1276,
4008,
1114,
597,
261,
261,
1586,
1114,
13,
1041,
2934,
12298,
5370,
1586,
3291,
12,
7236,
461,
3719,
288,
6862,
202,
2722,
42,
4526,
273,
261,
261,
1586,
1114,
13,
1041,
2934,
588,
5370,
1586,
3291,
5911,
12,
7236,
461,
1769,
6862,
202,
7015,
273,
638,
31,
6862,
202,
8820,
31,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
288,
1082,
202,
780,
1142,
1702,
461,
31,
1082,
202,
430,
261,
2722,
42,
4526,
1276,
6484,
1586,
3291,
13,
9506,
202,
2722,
1702,
461,
273,
261,
261,
5370,
1586,
3291,
13,
1142,
42,
4526,
2934,
588,
3061,
461,
5621,
1082,
202,
12107,
309,
261,
2722,
42,
4526,
1276,
10034,
55,
1586,
3291,
13,
9506,
202,
2722,
1702,
461,
273,
261,
261,
3060,
55,
1586,
3291,
13,
1142,
42,
4526,
2934,
588,
3061,
461,
5621,
1082,
202,
12107,
9506,
202,
2722,
1702,
461,
273,
1408,
31,
368,
1410,
486,
336,
2674,
9506,
26924,
202,
430,
261,
1142,
1702,
461,
18,
14963,
12,
7236,
461,
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,
225,
202,
482,
1250,
1914,
5370,
1586,
3291,
12,
780,
2713,
461,
13,
288,
202,
202,
6494,
1392,
273,
629,
31,
202,
202,
430,
261,
2722,
42,
4526,
422,
446,
15329,
1082,
202,
1884,
261,
3198,
1400,
273,
261,
3198,
13,
1034,
3621,
18,
856,
694,
7675,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
9506,
202,
921,
1041,
273,
1034,
3621,
18,
588,
12443,
4522,
13,
1400,
18,
4285,
10663,
6862,
9506,
202,
430,
261,
1655,
1276,
4008,
1114,
597,
261,
261,
1586,
1114,
13,
1041,
2934,
12298,
5370,
1586,
3291,
12,
7236,
461,
3719,
288,
6862,
202,
2722,
42,
4526,
273,
261,
261,
1586,
1114,
13,
1041,
2934,
588,
5370,
1586,
3291,
5911,
12,
7236,
461,
2
] |
Thread t1 = new Thread(new Watchdog(), "PacketSender watchdog"); t1.setDaemon(true); t1.start();
|
PacketSender(Node node) { resendPackets = new LinkedList(); timedJobsByTime = new TreeMap(); this.node = node; myThread = new Thread(this, "PacketSender thread for "+node.portNumber); myThread.setDaemon(true); lastTimeInSeconds = (int) (System.currentTimeMillis() / 1000); // Necessary because of sun JVM bugs when NPTL is enabled. Write once, debug everywhere! Thread t1 = new Thread(new Watchdog(), "PacketSender watchdog"); t1.setDaemon(true); t1.start(); }
|
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/fc1107153611521b8802dc2e6ed37430b0f7d687/PacketSender.java/buggy/src/freenet/node/PacketSender.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
11114,
12021,
12,
907,
756,
13,
288,
3639,
31972,
27328,
273,
394,
10688,
5621,
3639,
7491,
7276,
858,
950,
273,
394,
16381,
5621,
3639,
333,
18,
2159,
273,
756,
31,
3639,
3399,
3830,
273,
394,
4884,
12,
2211,
16,
315,
6667,
12021,
2650,
364,
13773,
2159,
18,
655,
1854,
1769,
3639,
3399,
3830,
18,
542,
12858,
12,
3767,
1769,
3639,
31323,
17840,
273,
261,
474,
13,
261,
3163,
18,
2972,
28512,
1435,
342,
4336,
1769,
3639,
368,
423,
4128,
2724,
434,
13887,
14131,
22398,
1347,
423,
1856,
48,
353,
3696,
18,
2598,
3647,
16,
1198,
3614,
6051,
5,
3639,
4884,
268,
21,
273,
394,
4884,
12,
2704,
9736,
20330,
9334,
315,
6667,
12021,
4267,
20330,
8863,
3639,
268,
21,
18,
542,
12858,
12,
3767,
1769,
3639,
268,
21,
18,
1937,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
11114,
12021,
12,
907,
756,
13,
288,
3639,
31972,
27328,
273,
394,
10688,
5621,
3639,
7491,
7276,
858,
950,
273,
394,
16381,
5621,
3639,
333,
18,
2159,
273,
756,
31,
3639,
3399,
3830,
273,
394,
4884,
12,
2211,
16,
315,
6667,
12021,
2650,
364,
13773,
2159,
18,
655,
1854,
1769,
3639,
3399,
3830,
18,
542,
12858,
12,
3767,
1769,
3639,
31323,
17840,
273,
261,
474,
13,
261,
3163,
18,
2972,
28512,
1435,
342,
4336,
1769,
3639,
368,
423,
4128,
2724,
434,
13887,
14131,
22398,
1347,
423,
1856,
48,
353,
3696,
18,
2598,
3647,
16,
1198,
3614,
6051,
5,
3639,
4884,
268,
21,
273,
394,
4884,
12,
2704,
9736,
20330,
9334,
315,
6667,
12021,
4267,
20330,
8863,
3639,
268,
2
] |
|
} else if (protocol.equals("jar")) {
|
} else if (protocol.equals("jar") || protocol.equals("wsjar")) {
|
protected static URLHandler getDefault(URL url) { String protocol = url.getProtocol(); if (protocol.equals("file")) { return new FileURLHandler(url); } else if (protocol.equals("jar")) { return new JarURLHandler(url); } else { return null; } }
|
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/8e1227487de322c28855496e48b788bdb3b737d5/URLHandler.java/clean/icu4j/src/com/ibm/icu/impl/URLHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
1976,
1503,
4829,
12,
1785,
880,
13,
288,
202,
780,
1771,
273,
880,
18,
588,
5752,
5621,
202,
430,
261,
8373,
18,
14963,
2932,
768,
6,
3719,
288,
202,
565,
327,
394,
1387,
1785,
1503,
12,
718,
1769,
202,
97,
469,
309,
261,
8373,
18,
14963,
2932,
11930,
6,
3719,
288,
202,
565,
327,
394,
15644,
1785,
1503,
12,
718,
1769,
202,
97,
469,
288,
202,
565,
327,
446,
31,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
1976,
1503,
4829,
12,
1785,
880,
13,
288,
202,
780,
1771,
273,
880,
18,
588,
5752,
5621,
202,
430,
261,
8373,
18,
14963,
2932,
768,
6,
3719,
288,
202,
565,
327,
394,
1387,
1785,
1503,
12,
718,
1769,
202,
97,
469,
309,
261,
8373,
18,
14963,
2932,
11930,
6,
3719,
288,
202,
565,
327,
394,
15644,
1785,
1503,
12,
718,
1769,
202,
97,
469,
288,
202,
565,
327,
446,
31,
202,
97,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
log( "Filesize: " + file.length() ); String filename = mp.getFilename( "file" ); log( filename );
|
String filename = request.getParameterFileItem( REQUEST_PARAMETER__FILE ).getName();
|
public void doPost( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { ImcmsServices imcref = Imcms.getServices(); UserDomainObject user = Utility.getLoggedOnUser( req ); if ( !user.isSuperAdmin() ) { Utility.redirectToStartDocument( req, res ); return; } int length = req.getContentLength(); PrintWriter out = res.getWriter(); ServletInputStream in = req.getInputStream(); byte[] buffer = new byte[length]; int bytes_read = 0; while ( bytes_read < length ) { bytes_read += in.read( buffer, bytes_read, length - bytes_read ); } String contentType = req.getContentType(); // Min klass tar emot datan och plockar ut det som r intressant... MultipartFormdataParser mp = new MultipartFormdataParser( buffer, contentType ); if ( mp.getParameter( "cancel" ) != null ) { res.sendRedirect( "TemplateAdmin" ); return; } // Plocka ut sprket, s vi vet vilket vi editerar... String lang = mp.getParameter( "language" ); boolean demo = mp.getParameter( "demo" ) != null; String template = null; String simple_name = null; if ( demo ) { template = mp.getParameter( "template" ); if ( template == null || template.equals( "" ) ) { Vector vec = new Vector(); vec.add( "#language#" ); vec.add( lang ); String htmlStr = imcref.getAdminTemplate( "templatedemo_upload_template_blank.html", user, vec ); Utility.setDefaultHtmlContentType( res ); out.print( htmlStr ); return; // ************************* DELETE DEMO } else if ( mp.getParameter( "delete_demo" ) != null ) { imcref.deleteDemoTemplate( Integer.parseInt( template ) ); String[] list; list = imcref.getDemoTemplateIds(); String[] temp; temp = imcref.getDatabase().executeArrayQuery( "select template_id, simple_name from templates where lang_prefix = ? order by simple_name", new String[] {lang} ); Vector vec = new Vector(); vec.add( "#language#" ); vec.add( lang ); String htmlStr; if ( temp.length > 0 ) { String temps = ""; for ( int i = 0; i < temp.length; i += 2 ) { int tmp = Integer.parseInt( temp[i] ); for ( int j = 0; j < list.length; j++ ) { if ( Integer.parseInt( list[j] ) == tmp ) { temp[i + 1] = "*" + temp[i + 1]; break; } } temps += "<option value=\"" + temp[i] + "\">" + temp[i + 1] + "</option>"; } vec.add( "#templates#" ); vec.add( temps ); htmlStr = imcref.getAdminTemplate( "templatedemo_upload.html", user, vec ); } else { htmlStr = imcref.getAdminTemplate( "template_no_langtemplates.html", user, vec ); } Utility.setDefaultHtmlContentType( res ); out.print( htmlStr ); return; // ************************** VIEW DEMO // Updated DefaultImcmsServices + interface, IMCServiceRMI : Now returns Object[] filesuffix, byteStream } else if ( mp.getParameter( "view_demo" ) != null ) { Object[] suffixAndStream = imcref.getDemoTemplate( Integer.parseInt( template ) ); String htmlStr; Utility.setDefaultHtmlContentType( res ); if ( suffixAndStream == null ) { htmlStr = imcref.getAdminTemplate( "no_demotemplate.html", user, null ); out.print( htmlStr ); return; } else { byte[] temp = (byte[])suffixAndStream[1]; if ( temp == null ) { htmlStr = imcref.getAdminTemplate( "no_demotemplate.html", user, null ); out.print( htmlStr ); return; } else { htmlStr = new String( temp, "8859_1" ); //res.setContentType(mimeType) ; String redirect = ( "TemplateAdd?action=noCacheImageView&template=" + template + "&bogus=" + (int)( 1000 * Math.random() ) ); // create frameset with topframe containing return-button // and the main-frame doing a redirect //FIXME: What The Fawk is this? Put it in a template, or suffer the consequences! out.print( "<html><head><title></title></head>" + "<frameset rows=\"80,*\" frameborder=\"NO\" border=\"0\" framespacing=\"0\">" + "<frame name=\"topFrame\" scrolling=\"NO\" noresize src=\"TemplateAdd?action=return\">" + "<frame name=\"mainFrame\" src=\"" + redirect + "\">" + "</frameset>" + "<noframes><body>" + redirect + "</body></noframes></html>" ); } } } } else { simple_name = mp.getParameter( "name" ); if ( simple_name == null || simple_name.equals( "" ) ) { Vector vec = new Vector(); vec.add( "#language#" ); vec.add( lang ); String htmlStr = imcref.getAdminTemplate( "template_upload_name_blank.html", user, vec ); Utility.setDefaultHtmlContentType( res ); out.print( htmlStr ); return; } } String file = mp.getParameter( "file" ); if ( file == null || file.length() == 0 ) { Vector vec = new Vector(); vec.add( "#language#" ); vec.add( lang ); String htmlStr; if ( demo ) { htmlStr = imcref.getAdminTemplate( "templatedemo_upload_file_blank.html", user, vec ); } else { htmlStr = imcref.getAdminTemplate( "template_upload_file_blank.html", user, vec ); } Utility.setDefaultHtmlContentType( res ); out.print( htmlStr ); return; } log( "Filesize: " + file.length() ); String filename = mp.getFilename( "file" ); log( filename ); File fn = new File( filename ); filename = fn.getName(); boolean overwrite = ( mp.getParameter( "overwrite" ) != null ); String htmlStr; // ********************************** OK if ( demo ) { // get the suffix log( "*** TEMPLATE_ADD *** FILENAME = " + filename + " | SUFFIX = " + filename.substring( filename.lastIndexOf( '.' ) + 1 ) ); String suffix = filename.substring( filename.lastIndexOf( '.' ) + 1 ); if ( filename.lastIndexOf( "." ) == -1 ) { suffix = ""; } Vector vec = new Vector(); if ( !suffix.equals( "jpg" ) && !suffix.equals( "jpeg" ) && !suffix.equals( "png" ) && !suffix.equals( "gif" ) && !suffix.equals( "htm" ) && !suffix.equals( "html" ) ) { vec.add( "#language#" ); vec.add( lang ); htmlStr = imcref.getAdminTemplate( "templatedemo_upload_done.html", user, vec ); } else { vec.add( "#language#" ); vec.add( lang ); try { imcref.saveDemoTemplate( Integer.parseInt( template ), file.getBytes( "8859_1" ), suffix ); htmlStr = imcref.getAdminTemplate( "templatedemo_upload_done.html", user, vec ); } catch ( IOException ex ) { htmlStr = imcref.getAdminTemplate( "templatedemo_upload_error.html", user, vec ); } } } else { int result = imcref.saveTemplate( simple_name, filename, file.getBytes( "8859_1" ), overwrite, lang ); if ( result == -2 ) { Vector vec = new Vector(); vec.add( "#language#" ); vec.add( lang ); htmlStr = imcref.getAdminTemplate( "template_upload_error.html", user, vec ); } else if ( result == -1 ) { Vector vec = new Vector(); vec.add( "#language#" ); vec.add( lang ); htmlStr = imcref.getAdminTemplate( "template_upload_file_exists.html", user, vec ); } else { String t_id = imcref.getDatabase().executeStringQuery( "select template_id from templates where simple_name = ?", new String[] {simple_name} ); String[] temp = mp.getParameterValues( "templategroup" ); if ( temp != null ) { for ( int foo = 0; foo < temp.length; foo++ ) { String sqlStr = "delete from templates_cref where group_id = ? and template_id = ?\n" + "insert into templates_cref (group_id, template_id) values(?,?)\n"; imcref.getDatabase().executeUpdateQuery( sqlStr, new String[] {temp[foo], t_id, temp[foo], t_id} ); } } Vector vec = new Vector(); vec.add( "#language#" ); vec.add( lang ); htmlStr = imcref.getAdminTemplate( "template_upload_done.html", user, vec ); } } Utility.setDefaultHtmlContentType( res ); out.print( htmlStr ); return; }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/e5c56826e052da882fd637db26e8d74de6ceef44/TemplateAdd.java/clean/server/src/com/imcode/imcms/servlet/superadmin/TemplateAdd.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
3639,
2221,
6851,
5676,
709,
71,
1734,
273,
2221,
6851,
18,
588,
5676,
5621,
3639,
2177,
3748,
921,
729,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
1111,
11272,
3639,
309,
261,
401,
1355,
18,
291,
8051,
4446,
1435,
262,
288,
5411,
13134,
18,
7590,
28939,
2519,
12,
1111,
16,
400,
11272,
5411,
327,
31,
3639,
289,
3639,
509,
769,
273,
1111,
18,
588,
1350,
1782,
5621,
3639,
14071,
596,
273,
400,
18,
588,
2289,
5621,
3639,
7971,
4348,
316,
273,
1111,
18,
588,
4348,
5621,
3639,
1160,
8526,
1613,
273,
394,
1160,
63,
2469,
15533,
3639,
509,
1731,
67,
896,
273,
374,
31,
3639,
1323,
261,
1731,
67,
896,
411,
769,
262,
288,
5411,
1731,
67,
896,
1011,
316,
18,
896,
12,
1613,
16,
1731,
67,
896,
16,
769,
300,
1731,
67,
896,
11272,
3639,
289,
3639,
514,
5064,
273,
1111,
18,
588,
8046,
5621,
3639,
368,
5444,
7352,
8232,
801,
352,
1150,
304,
320,
343,
293,
739,
297,
5218,
3023,
4737,
436,
509,
663,
970,
2777,
3639,
19919,
1204,
892,
2678,
6749,
273,
394,
19919,
1204,
892,
2678,
12,
1613,
16,
5064,
11272,
3639,
309,
261,
6749,
18,
588,
1662,
12,
315,
10996,
6,
262,
480,
446,
262,
288,
5411,
400,
18,
4661,
5961,
12,
315,
2283,
4446,
6,
11272,
5411,
327,
31,
3639,
289,
3639,
368,
453,
739,
69,
5218,
272,
683,
79,
278,
16,
272,
13206,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
3639,
2221,
6851,
5676,
709,
71,
1734,
273,
2221,
6851,
18,
588,
5676,
5621,
3639,
2177,
3748,
921,
729,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
1111,
11272,
3639,
309,
261,
401,
1355,
18,
291,
8051,
4446,
1435,
262,
288,
5411,
13134,
18,
7590,
28939,
2519,
12,
1111,
16,
400,
11272,
5411,
327,
31,
3639,
289,
3639,
509,
769,
273,
1111,
18,
588,
1350,
1782,
5621,
3639,
14071,
596,
273,
400,
18,
588,
2289,
5621,
3639,
7971,
4348,
316,
273,
1111,
18,
588,
4348,
5621,
3639,
1160,
8526,
1613,
273,
394,
1160,
63,
2469,
15533,
3639,
509,
1731,
67,
896,
273,
2
] |
public void addFileset(FileSet fileset) { filesets.add(fileset); }
|
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/bcf54ee9560f4fd9a0ff083d3f0ea7c829a28aea/EnhMatchingTask.java/buggy/contrib/tag-doc/src/java/org/apache/struts/taskdefs/EnhMatchingTask.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
1289,
2697,
278,
12,
812,
694,
2354,
278,
15329,
202,
202,
2354,
2413,
18,
1289,
12,
2354,
278,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
1289,
2697,
278,
12,
812,
694,
2354,
278,
15329,
202,
202,
2354,
2413,
18,
1289,
12,
2354,
278,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
return current < 2;
|
return current >= 2;
|
public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public void next() { current++; } public int currentSegment(float[] coords) { if (current == 0) { coords[0] = (float) getX1(); coords[1] = (float) getY1(); if (at != null) at.transform(coords, 0, coords, 0, 1); return SEG_MOVETO; } if (current == 1) { coords[0] = (float) getCtrlX1(); coords[1] = (float) getCtrlY1(); coords[2] = (float) getCtrlX2(); coords[3] = (float) getCtrlY2(); coords[4] = (float) getX2(); coords[5] = (float) getY2(); if (at != null) at.transform(coords, 0, coords, 0, 3); return SEG_CUBICTO; } throw new NoSuchElementException("cubic iterator out of bounds"); } public int currentSegment(double[] coords) { if (current == 0) { coords[0] = getX1(); coords[1] = getY1(); if (at != null) at.transform(coords, 0, coords, 0, 1); return SEG_MOVETO; } if (current == 1) { coords[0] = getCtrlX1(); coords[1] = getCtrlY1(); coords[2] = getCtrlX2(); coords[3] = getCtrlY2(); coords[4] = getX2(); coords[5] = getY2(); if (at != null) at.transform(coords, 0, coords, 0, 3); return SEG_CUBICTO; } throw new NoSuchElementException("cubic iterator out of bounds"); } }; }
|
1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/2913d162bf68d5a5063adcb98f0707cc3df9abee/CubicCurve2D.java/buggy/libjava/java/awt/geom/CubicCurve2D.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2666,
3198,
4339,
3198,
12,
6385,
23906,
558,
4059,
622,
13,
225,
288,
565,
327,
394,
2666,
3198,
1435,
565,
288,
1377,
1783,
6562,
7799,
18,
1195,
1377,
3238,
509,
783,
31,
1377,
1071,
509,
13876,
728,
310,
2175,
1435,
1377,
288,
3639,
327,
24482,
67,
3993,
67,
24968,
31,
1377,
289,
1377,
1071,
1250,
28874,
1435,
1377,
288,
3639,
327,
783,
1545,
576,
31,
1377,
289,
1377,
1071,
918,
1024,
1435,
1377,
288,
3639,
783,
9904,
31,
1377,
289,
1377,
1071,
509,
783,
4131,
12,
5659,
8526,
6074,
13,
1377,
288,
3639,
309,
261,
2972,
422,
374,
13,
1850,
288,
5411,
6074,
63,
20,
65,
273,
261,
5659,
13,
6538,
21,
5621,
5411,
6074,
63,
21,
65,
273,
261,
5659,
13,
10448,
21,
5621,
5411,
309,
261,
270,
480,
446,
13,
2868,
622,
18,
6547,
12,
9076,
16,
374,
16,
6074,
16,
374,
16,
404,
1769,
5411,
327,
26167,
67,
5980,
58,
1584,
51,
31,
1850,
289,
3639,
309,
261,
2972,
422,
404,
13,
1850,
288,
5411,
6074,
63,
20,
65,
273,
261,
5659,
13,
1927,
5170,
60,
21,
5621,
5411,
6074,
63,
21,
65,
273,
261,
5659,
13,
1927,
5170,
61,
21,
5621,
5411,
6074,
63,
22,
65,
273,
261,
5659,
13,
1927,
5170,
60,
22,
5621,
5411,
6074,
63,
23,
65,
273,
261,
5659,
13,
1927,
5170,
61,
22,
5621,
5411,
6074,
63,
24,
65,
273,
261,
5659,
13,
6538,
22,
5621,
5411,
6074,
63,
25,
65,
273,
261,
5659,
13,
10448,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2666,
3198,
4339,
3198,
12,
6385,
23906,
558,
4059,
622,
13,
225,
288,
565,
327,
394,
2666,
3198,
1435,
565,
288,
1377,
1783,
6562,
7799,
18,
1195,
1377,
3238,
509,
783,
31,
1377,
1071,
509,
13876,
728,
310,
2175,
1435,
1377,
288,
3639,
327,
24482,
67,
3993,
67,
24968,
31,
1377,
289,
1377,
1071,
1250,
28874,
1435,
1377,
288,
3639,
327,
783,
1545,
576,
31,
1377,
289,
1377,
1071,
918,
1024,
1435,
1377,
288,
3639,
783,
9904,
31,
1377,
289,
1377,
1071,
509,
783,
4131,
12,
5659,
8526,
6074,
13,
1377,
288,
3639,
309,
261,
2972,
422,
374,
13,
1850,
288,
5411,
6074,
63,
20,
65,
273,
261,
5659,
13,
6538,
21,
5621,
5411,
6074,
63,
21,
2
] |
parse(buffer.toString(), ParserLanguage.CPP, false, false);
|
parse(buffer.toString(), ParserLanguage.CPP, false, 0);
|
public void test14_8_2s1() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("void f(Array<dcomplex>& cv, Array<int>& ci)\n"); //$NON-NLS-1$ buffer.append("{\n"); //$NON-NLS-1$ buffer.append("sort(cv); //call sort(Array<dcomplex>&)\n"); //$NON-NLS-1$ buffer.append("sort(ci); //call sort(Array<int>&)\n"); //$NON-NLS-1$ buffer.append("}\n"); //$NON-NLS-1$ buffer.append("void g(double d)\n"); //$NON-NLS-1$ buffer.append("{\n"); //$NON-NLS-1$ buffer.append("int i = convert<int>(d); // call convert<int,double>(double)\n"); //$NON-NLS-1$ buffer.append("int c = convert<char>(d); // call convert<char,double>(double)\n"); //$NON-NLS-1$ buffer.append("}\n"); //$NON-NLS-1$ parse(buffer.toString(), ParserLanguage.CPP, false, false); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/7d7fa374bfd169ce8924a5c15bd01444e6e6e445/AST2CPPSpecTest.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2CPPSpecTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3461,
67,
28,
67,
22,
87,
21,
1435,
1216,
1185,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
4106,
18,
6923,
2932,
6459,
284,
12,
1076,
32,
72,
14259,
22393,
8951,
16,
1510,
32,
474,
22393,
9039,
5153,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
23241,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
3804,
12,
19774,
1769,
368,
1991,
1524,
12,
1076,
32,
72,
14259,
22393,
5153,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
3804,
12,
8450,
1769,
368,
1991,
1524,
12,
1076,
32,
474,
22393,
5153,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
6280,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
6459,
314,
12,
9056,
302,
5153,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
23241,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
474,
277,
273,
1765,
32,
474,
34,
12,
72,
1769,
368,
745,
1765,
32,
474,
16,
9056,
34,
12,
9056,
5153,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
474,
276,
273,
1765,
32,
3001,
34,
12,
72,
1769,
368,
745,
1765,
32,
3001,
16,
9056,
34,
12,
9056,
5153,
82,
8863,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3461,
67,
28,
67,
22,
87,
21,
1435,
1216,
1185,
288,
202,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
202,
202,
4106,
18,
6923,
2932,
6459,
284,
12,
1076,
32,
72,
14259,
22393,
8951,
16,
1510,
32,
474,
22393,
9039,
5153,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
23241,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
3804,
12,
19774,
1769,
368,
1991,
1524,
12,
1076,
32,
72,
14259,
22393,
5153,
82,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4106,
18,
6923,
2932,
3804,
12,
8450,
1769,
368,
1991,
1524,
12,
1076,
32,
474,
22393,
2
] |
public org.quickfix.field.SecurityDesc getSecurityDesc() throws FieldNotFound { org.quickfix.field.SecurityDesc value = new org.quickfix.field.SecurityDesc();
|
public quickfix.field.SecurityDesc getSecurityDesc() throws FieldNotFound { quickfix.field.SecurityDesc value = new quickfix.field.SecurityDesc();
|
public org.quickfix.field.SecurityDesc getSecurityDesc() throws FieldNotFound { org.quickfix.field.SecurityDesc value = new org.quickfix.field.SecurityDesc(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/IndicationofInterest.java/clean/src/java/src/quickfix/fix40/IndicationofInterest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
4217,
19288,
4217,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
4217,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
4217,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
4217,
19288,
4217,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
4217,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
4217,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (targetResource.getType() == IResource.FOLDER && resourceData != null) { for (int i = 0; i < resourceData.length; i++) { if (targetResource.equals(resourceData[i])) return false;
|
if (resourceData != null) { if (isLinked(resourceData) && targetResource.getType() != IResource.PROJECT) return false; if (targetResource.getType() == IResource.FOLDER) { for (int i = 0; i < resourceData.length; i++) { if (targetResource.equals(resourceData[i])) return false; }
|
protected boolean updateSelection(IStructuredSelection selection) { if (!super.updateSelection(selection)) return false; // clipboard must have resources or files ResourceTransfer resTransfer = ResourceTransfer.getInstance(); IResource[] resourceData = (IResource[])clipboard.getContents(resTransfer); FileTransfer fileTransfer = FileTransfer.getInstance(); String[] fileData = (String[])clipboard.getContents(fileTransfer); if (resourceData == null && fileData == null) return false; // can paste open projects regardless of selection boolean isProjectRes = resourceData != null && resourceData.length > 0 && resourceData[0].getType() == IResource.PROJECT; if (isProjectRes) { for (int i = 0; i < resourceData.length; i++) { // make sure all resource data are open projects if (resourceData[i].getType() != IResource.PROJECT || ((IProject) resourceData[i]).isOpen() == false) return false; } return true; } // can paste files and folders to a single selection (project must be open) // or multiple file selection with the same parent if (getSelectedNonResources().size() > 0) return false; List selectedResources = getSelectedResources(); IResource targetResource = getTarget(); // targetResource is null if no valid target is selected or // selection is empty if (targetResource == null) return false; // linked resources can only be pasted into projects if (isLinked(resourceData) && targetResource.getType() != IResource.PROJECT) return false; if (selectedResources.size() > 1) { // if more than one resource is selected the selection has // to be all files with the same parent for (int i = 0; i < selectedResources.size(); i++) { IResource resource = (IResource)selectedResources.get(i); if (resource.getType() != IResource.FILE) return false; if (!targetResource.equals(resource.getParent())) return false; } } if (targetResource.getType() == IResource.FOLDER && resourceData != null) { // don't try to copy folder to self for (int i = 0; i < resourceData.length; i++) { if (targetResource.equals(resourceData[i])) return false; } } return true;}
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e30426dca631df5cc633df34b1d19cc27948dda3/PasteAction.java/clean/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/PasteAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
1250,
1089,
6233,
12,
45,
30733,
6233,
4421,
13,
288,
202,
430,
16051,
9565,
18,
2725,
6233,
12,
10705,
3719,
3196,
202,
2463,
629,
31,
202,
202,
759,
20304,
1297,
1240,
2703,
578,
1390,
202,
1420,
5912,
400,
5912,
273,
2591,
5912,
18,
588,
1442,
5621,
202,
45,
1420,
8526,
1058,
751,
273,
261,
45,
1420,
63,
5717,
14161,
3752,
18,
588,
6323,
12,
455,
5912,
1769,
202,
812,
5912,
585,
5912,
273,
1387,
5912,
18,
588,
1442,
5621,
202,
780,
8526,
23111,
273,
261,
780,
63,
5717,
14161,
3752,
18,
588,
6323,
12,
768,
5912,
1769,
202,
430,
261,
3146,
751,
422,
446,
597,
23111,
422,
446,
13,
202,
202,
2463,
629,
31,
202,
759,
848,
19401,
1696,
10137,
15255,
434,
4421,
202,
6494,
353,
4109,
607,
273,
1058,
751,
480,
446,
202,
202,
10,
10,
1058,
751,
18,
2469,
405,
374,
202,
202,
10,
10,
1058,
751,
63,
20,
8009,
588,
559,
1435,
422,
467,
1420,
18,
17147,
31,
202,
430,
261,
291,
4109,
607,
13,
288,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1058,
751,
18,
2469,
31,
277,
27245,
288,
1082,
202,
759,
1221,
3071,
777,
1058,
501,
854,
1696,
10137,
1082,
202,
430,
261,
3146,
751,
63,
77,
8009,
588,
559,
1435,
480,
467,
1420,
18,
17147,
747,
14015,
45,
4109,
13,
1058,
751,
63,
77,
65,
2934,
291,
3678,
1435,
422,
629,
13,
9506,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
2463,
638,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
1250,
1089,
6233,
12,
45,
30733,
6233,
4421,
13,
288,
202,
430,
16051,
9565,
18,
2725,
6233,
12,
10705,
3719,
3196,
202,
2463,
629,
31,
202,
202,
759,
20304,
1297,
1240,
2703,
578,
1390,
202,
1420,
5912,
400,
5912,
273,
2591,
5912,
18,
588,
1442,
5621,
202,
45,
1420,
8526,
1058,
751,
273,
261,
45,
1420,
63,
5717,
14161,
3752,
18,
588,
6323,
12,
455,
5912,
1769,
202,
812,
5912,
585,
5912,
273,
1387,
5912,
18,
588,
1442,
5621,
202,
780,
8526,
23111,
273,
261,
780,
63,
5717,
14161,
3752,
18,
588,
6323,
12,
768,
5912,
1769,
202,
430,
261,
3146,
751,
422,
446,
597,
23111,
422,
446,
13,
202,
202,
2463,
629,
31,
202,
759,
848,
19401,
2
] |
public boolean supportsSchemasInPrivilegeDefinitions() throws SQLException { // XXX needs to be checked for Sybase return true; }
|
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/fc8f6e853a96f5fa5be3f951446510f9af5bed40/JtdsDatabaseMetaData.java/clean/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/JtdsDatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
6146,
16749,
382,
24308,
7130,
1435,
1216,
6483,
288,
3639,
368,
11329,
4260,
358,
506,
5950,
364,
16455,
1969,
3639,
327,
638,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
6146,
16749,
382,
24308,
7130,
1435,
1216,
6483,
288,
3639,
368,
11329,
4260,
358,
506,
5950,
364,
16455,
1969,
3639,
327,
638,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
public void create(Composite parent) { Assert.isTrue(control == null); control = createControl(parent); // See 1GD5CA6: ITPUI:ALL - TaskView.setSelection does not work // Control is created with isVisible()==true by default. // This causes composite.setFocus() to work incorrectly. // The cell editor's control grabs focus instead, even if it is not active. // Make the control invisible here by default. deactivate(); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/eca017304fe94dc4225f8712bce72873a68618f3/CellEditor.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/CellEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
12,
9400,
982,
13,
288,
3639,
5452,
18,
291,
5510,
12,
7098,
422,
446,
1769,
3639,
3325,
273,
752,
3367,
12,
2938,
1769,
3639,
368,
2164,
404,
27338,
25,
3587,
26,
30,
467,
11130,
5370,
30,
4685,
300,
3837,
1767,
18,
542,
6233,
1552,
486,
1440,
3639,
368,
8888,
353,
2522,
598,
20453,
1435,
631,
3767,
635,
805,
18,
3639,
368,
1220,
14119,
9635,
18,
542,
9233,
1435,
358,
1440,
25621,
18,
3639,
368,
1021,
2484,
4858,
1807,
3325,
3087,
2038,
7155,
3560,
16,
5456,
309,
518,
353,
486,
2695,
18,
3639,
368,
4344,
326,
3325,
24697,
2674,
635,
805,
18,
3639,
18790,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
12,
9400,
982,
13,
288,
3639,
5452,
18,
291,
5510,
12,
7098,
422,
446,
1769,
3639,
3325,
273,
752,
3367,
12,
2938,
1769,
3639,
368,
2164,
404,
27338,
25,
3587,
26,
30,
467,
11130,
5370,
30,
4685,
300,
3837,
1767,
18,
542,
6233,
1552,
486,
1440,
3639,
368,
8888,
353,
2522,
598,
20453,
1435,
631,
3767,
635,
805,
18,
3639,
368,
1220,
14119,
9635,
18,
542,
9233,
1435,
358,
1440,
25621,
18,
3639,
368,
1021,
2484,
4858,
1807,
3325,
3087,
2038,
7155,
3560,
16,
5456,
309,
518,
353,
486,
2695,
18,
3639,
368,
4344,
326,
3325,
24697,
2674,
635,
805,
18,
3639,
18790,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
stack, sDbl, calleeArgShft, count,
|
stack, sDbl, calleeArgShft, indexReg,
|
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScriptException { if (cx.interpreterSecurityDomain != idata.securityDomain) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); } SecurityController sc = idata.securityController; Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = idata.securityDomain; try { return sc.callWithDomain(idata.securityDomain, cx, fnOrScript, scope, thisObj, args); } finally { cx.interpreterSecurityDomain = savedDomain; } } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int VAR_SHFT = 0; final int maxVars = idata.itsMaxVars; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Kit.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int withDepth = 0; int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[VAR_SHFT + i] = arg; if (arg == DBL_MRK) { sDbl[VAR_SHFT + i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } DebugFrame debuggerFrame = null; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); } if (idata.itsFunctionType != 0) { InterpretedFunction f = (InterpretedFunction)fnOrScript; if (!idata.useDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } } else { ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Kit.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { createFunction(cx, scope, fdata, idata.itsFromEvalCode); } } } // Wrapped regexps for functions are stored in InterpretedFunction // but for script which should not contain references to scope // the regexps re-wrapped during each script execution Scriptable[] scriptRegExps = null; boolean useActivationVars = false; if (debuggerFrame != null) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) { useActivationVars = true; scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } InterpreterData savedData = cx.interpreterData; cx.interpreterData = idata; Object result = undefined; // If javaException != null on exit, it will be throw instead of // normal return Throwable javaException = null; int exceptionPC = -1; byte[] iCode = idata.itsICode; int pc = 0; int pcPrevBranch = 0; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; String[] strings = idata.itsStringTable; String stringReg = null; Loop: for (;;) { int pcJump; try { int op = 0xFF & iCode[pc++]; switch (op) { // Back indent to ease imlementation reading case Icode_CATCH: { // The following code should be executed inside try/catch inside main // loop, not in the loop catch block itself to deal with exceptions // from observeInstructionCount. A special bytecode is used only to // simplify logic. if (javaException == null) Kit.codeBug(); pcJump = -1; boolean doCatch = false; int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { final int SCRIPT_CAN_CATCH = 0, ONLY_FINALLY = 1, OTHER = 2; int exType; if (javaException instanceof JavaScriptException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EcmaError) { // an offical ECMA error object, exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EvaluatorException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof RuntimeException) { exType = ONLY_FINALLY; } else { // Error instance exType = OTHER; } if (exType != OTHER) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script if (exType == SCRIPT_CAN_CATCH) { // Allow JS to catch only JavaScriptException and // EcmaError pcJump = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pcJump >= 0) { // Has catch block doCatch = true; } } if (pcJump < 0) { pcJump = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pcJump < 0) { break Loop; } // We caught an exception // restore scope at try point int tryWithDepth = idata.itsExceptionTable[ handlerOffset + EXCEPTION_WITH_DEPTH_SLOT]; while (tryWithDepth != withDepth) { if (scope == null) Kit.codeBug(); scope = ScriptRuntime.leaveWith(scope); --withDepth; } if (doCatch) { stackTop = STACK_SHFT - 1; int exLocal = idata.itsExceptionTable[ handlerOffset + EXCEPTION_LOCAL_SLOT]; stack[LOCAL_SHFT + exLocal] = ScriptRuntime.getCatchObject( cx, scope, javaException); } else { stackTop = STACK_SHFT; // Call finally handler with javaException on stack top to // distinguish from normal invocation through GOSUB // which would contain DBL_MRK on the stack stack[stackTop] = javaException; } // clear exception javaException = null; // go to generic jump code break; } case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int sourceLine = getShort(iCode, pc); throw new JavaScriptException(value, idata.itsSourceFile, sourceLine); } case Token.GE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl <= lDbl); } else { valBln = ScriptRuntime.cmp_LE(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.LE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl <= rDbl); } else { valBln = ScriptRuntime.cmp_LE(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.GT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl < lDbl); } else { valBln = ScriptRuntime.cmp_LT(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl < rDbl); } else { valBln = ScriptRuntime.cmp_LT(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.IFNE : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { pc += 2; continue Loop; } pcJump = getTarget(iCode, pc); break; } case Token.IFEQ : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { pc += 2; continue Loop; } pcJump = getTarget(iCode, pc); break; } case Icode_IFEQ_POP : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { pc += 2; continue Loop; } stack[stackTop] = null; --stackTop; pcJump = getTarget(iCode, pc); break; } case Token.GOTO : pcJump = getTarget(iCode, pc); break; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 2; pcJump = getTarget(iCode, pc); break; case Icode_RETSUB : { int slot = (iCode[pc] & 0xFF); Object value = stack[LOCAL_SHFT + slot]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc - 1; pcJump = getJavaCatchPC(iCode); } else { // Normal return from GOSUB pcJump = (int)sDbl[LOCAL_SHFT + slot]; } break; } case Token.POP : stack[stackTop] = null; stackTop--; continue Loop; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; continue Loop; case Icode_DUPSECOND : { stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stackTop++; continue Loop; } case Icode_SWAP : { Object o = stack[stackTop]; stack[stackTop] = stack[stackTop - 1]; stack[stackTop - 1] = o; double d = sDbl[stackTop]; sDbl[stackTop] = sDbl[stackTop - 1]; sDbl[stackTop - 1] = d; continue Loop; } case Token.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; continue Loop; case Token.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Token.RETURN_POPV : break Loop; case Icode_RETUNDEF : result = undefined; break Loop; case Token.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; continue Loop; } case Token.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; continue Loop; } case Token.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; continue Loop; } case Token.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; continue Loop; } case Token.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; continue Loop; } case Token.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; continue Loop; } case Token.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; continue Loop; } case Token.ADD : --stackTop; do_add(stack, sDbl, stackTop); continue Loop; case Token.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; continue Loop; } case Token.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; continue Loop; } case Token.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; continue Loop; } case Token.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; continue Loop; } case Token.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; continue Loop; } case Token.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; continue Loop; } case Token.NOT : { stack[stackTop] = stack_boolean(stack, sDbl, stackTop) ? Boolean.FALSE : Boolean.TRUE; continue Loop; } case Icode_LOAD_STR1: stringReg = strings[0xFF & iCode[pc]]; ++pc; continue Loop; case Icode_LOAD_STR2: stringReg = strings[getIndex(iCode, pc)]; pc += 2; continue Loop; case Icode_LOAD_STR4: stringReg = strings[getInt(iCode, pc)]; pc += 4; continue Loop; case Token.BINDNAME : stack[++stackTop] = ScriptRuntime.bind(scope, stringReg); continue Loop; case Token.SETNAME : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, stringReg); continue Loop; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs); continue Loop; } case Token.GETPROP : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); continue Loop; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); continue Loop; } case Token.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; continue Loop; case Token.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; continue Loop; case Icode_PROPINC : case Icode_PROPDEC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecr(lhs, name, scope, op == Icode_PROPINC); continue Loop; } case Icode_ELEMINC : case Icode_ELEMDEC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecrElem(lhs, rhs, scope, op == Icode_ELEMINC); continue Loop; } case Token.LOCAL_SAVE : { int slot = (iCode[pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; --stackTop; ++pc; continue Loop; } case Token.LOCAL_LOAD : { int slot = (iCode[pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; ++pc; continue Loop; } case Icode_CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int sourceLine = getShort(iCode, pc + 2); int count = getIndex(iCode, pc + 4); stackTop -= count; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, count); Object functionThis; if (isNew) { functionThis = null; } else { functionThis = stack[stackTop]; if (functionThis == DBL_MRK) { functionThis = doubleWrap(sDbl[stackTop]); } --stackTop; } Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, function, isNew, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); instructionCount = cx.instructionCount; pc += 6; continue Loop; } case Token.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc); stackTop -= count; int calleeArgShft = stackTop + 1; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; Scriptable calleeScope = scope; if (idata.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } Scriptable calleeThis; if (rhs instanceof Scriptable || rhs == null) { calleeThis = (Scriptable)rhs; } else { calleeThis = ScriptRuntime.toObject(cx, calleeScope, rhs); } if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; stack[stackTop] = interpret(cx, calleeScope, calleeThis, stack, sDbl, calleeArgShft, count, f, f.itsData); } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.call(cx, calleeScope, calleeThis, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = stringReg; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 2; continue Loop; } case Token.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc); stackTop -= count; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, count, f, f.itsData); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = stringReg; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 2; continue Loop; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); continue Loop; } case Icode_TYPEOFNAME : stack[++stackTop] = ScriptRuntime.typeofName(scope, stringReg); continue Loop; case Icode_NAME_AND_THIS : { boolean skipGetThis = (0 != iCode[pc]); stackTop = do_nameAndThis(stack, stackTop, scope, stringReg, skipGetThis); ++pc; continue Loop; } case Token.STRING : stack[++stackTop] = stringReg; continue Loop; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc); pc += 2; continue Loop; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc); pc += 4; continue Loop; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[getIndex(iCode, pc)]; pc += 2; continue Loop; case Token.NAME : stack[++stackTop] = ScriptRuntime.name(scope, stringReg); continue Loop; case Icode_NAMEINC : case Icode_NAMEDEC : stack[++stackTop] = ScriptRuntime.postIncrDecr(scope, stringReg, op == Icode_NAMEINC); continue Loop; case Token.SETVAR : { int slot = (iCode[pc] & 0xFF); if (!useActivationVars) { stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, slot, val); } ++pc; continue Loop; } case Token.GETVAR : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; } else { stack[stackTop] = activationGet(fnOrScript, scope, slot); } ++pc; continue Loop; } case Icode_VARINC : case Icode_VARDEC : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { Object val = stack[VAR_SHFT + slot]; stack[stackTop] = val; double d; if (val == DBL_MRK) { d = sDbl[VAR_SHFT + slot]; sDbl[stackTop] = d; } else { d = ScriptRuntime.toNumber(val); } stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = (op == Icode_VARINC) ? d + 1.0 : d - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; double d = ScriptRuntime.toNumber(val); val = doubleWrap((op == Icode_VARINC) ? d + 1.0 : d - 1.0); activationPut(fnOrScript, scope, slot, val); } ++pc; continue Loop; } case Token.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; continue Loop; case Token.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; continue Loop; case Token.NULL : stack[++stackTop] = null; continue Loop; case Token.THIS : stack[++stackTop] = thisObj; continue Loop; case Token.THISFN : stack[++stackTop] = fnOrScript; continue Loop; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; continue Loop; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; continue Loop; case Token.UNDEFINED : stack[++stackTop] = Undefined.instance; continue Loop; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); ++withDepth; continue Loop; } case Token.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); --withDepth; continue Loop; case Token.CATCH_SCOPE : stack[stackTop] = ScriptRuntime.newCatchScope(stringReg, stack[stackTop]); continue Loop; case Token.ENUM_INIT : { int slot = (iCode[pc] & 0xFF); Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.enumInit(lhs, scope); ++pc; continue Loop; } case Token.ENUM_NEXT : case Token.ENUM_ID : { int slot = (iCode[pc] & 0xFF); Object val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val); ++pc; continue Loop; } case Icode_PUSH_PARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[++stackTop] = ScriptRuntime.getParent(lhs); continue Loop; } case Icode_GETPROTO : case Icode_GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_GETPROTO) { val = ScriptRuntime.getProto(lhs, scope); } else { val = ScriptRuntime.getParent(lhs, scope); } stack[stackTop] = val; continue Loop; } case Icode_SETPROTO : case Icode_SETPARENT : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_SETPROTO) { val = ScriptRuntime.setProto(lhs, rhs, scope); } else { val = ScriptRuntime.setParent(lhs, rhs, scope); } stack[stackTop] = val; continue Loop; } case Icode_SCOPE : stack[++stackTop] = scope; continue Loop; case Icode_CLOSURE : { int i = getIndex(iCode, pc); InterpreterData closureData = idata.itsNestedFunctions[i]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); pc += 2; continue Loop; } case Token.REGEXP : { int i = getIndex(iCode, pc); Scriptable regexp; if (idata.itsFunctionType != 0) { regexp = ((InterpretedFunction)fnOrScript).itsRegExps[i]; } else { if (scriptRegExps == null) { scriptRegExps = wrapRegExps(cx, scope, idata); } regexp = scriptRegExps[i]; } stack[++stackTop] = regexp; pc += 2; continue Loop; } case Icode_LITERAL_NEW : { int i = getInt(iCode, pc); ++stackTop; stack[stackTop] = new Object[i]; sDbl[stackTop] = 0; pc += 4; continue Loop; } case Icode_LITERAL_SET : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int i = (int)sDbl[stackTop]; ((Object[])stack[stackTop])[i] = value; sDbl[stackTop] = i + 1; continue Loop; } case Token.ARRAYLIT : case Token.OBJECTLIT : { int offset = getInt(iCode, pc); Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.ARRAYLIT) { int[] skipIndexces = null; if (offset >= 0) { skipIndexces = (int[])idata.literalIds[offset]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, scope); } else { Object[] ids = (Object[])idata.literalIds[offset]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, scope); } stack[stackTop] = val; pc += 4; continue Loop; } case Icode_LINE : { cx.interpreterLineIndex = pc; if (debuggerFrame != null) { int line = getShort(iCode, pc); debuggerFrame.onLineChange(cx, line); } pc += 2; continue Loop; } default : { dumpICode(idata); throw new RuntimeException("Unknown icode : "+op+" @ pc : "+(pc-1)); } } // end of interpreter switch // This should be reachable only for jump implementation if (instructionThreshold != 0) { instructionCount += pc - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } pcPrevBranch = pcJump; } pc = pcJump; continue Loop; } // end of interpreter try catch (Throwable ex) { pcJump = getJavaCatchPC(iCode); if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } pcPrevBranch = pcJump; } javaException = ex; exceptionPC = pc - 1; pc = pcJump; continue Loop; } } // end of interpreter loop cx.interpreterData = savedData; if (debuggerFrame != null) { if (javaException != null) { debuggerFrame.onExit(cx, true, javaException); } else { debuggerFrame.onExit(cx, false, result); } } if (idata.itsNeedsActivation || debuggerFrame != null) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } if (javaException != null) { if (javaException instanceof JavaScriptException) { throw (JavaScriptException)javaException; } else if (javaException instanceof RuntimeException) { throw (RuntimeException)javaException; } else { // Must be instance of Error or code bug throw (Error)javaException; } } return result; }
|
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/e88881f3a6bd2c7e5dc034fb562e82c4759ceacb/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701,
16717,
2083,
2295,
1162,
3651,
16,
18701,
5294,
11599,
751,
612,
396,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
71,
92,
18,
2761,
11599,
4368,
3748,
480,
612,
396,
18,
7462,
3748,
13,
288,
5411,
309,
261,
1968,
40,
3083,
480,
446,
13,
288,
7734,
833,
273,
30169,
1076,
12,
1968,
16,
833,
40,
3083,
16,
1501,
10544,
16,
1501,
1380,
1769,
5411,
289,
5411,
6036,
2933,
888,
273,
612,
396,
18,
7462,
2933,
31,
5411,
1033,
5198,
3748,
273,
9494,
18,
2761,
11599,
4368,
3748,
31,
5411,
9494,
18,
2761,
11599,
4368,
3748,
273,
612,
396,
18,
7462,
3748,
31,
5411,
775,
288,
7734,
327,
888,
18,
1991,
1190,
3748,
12,
350,
396,
18,
7462,
3748,
16,
9494,
16,
2295,
1162,
3651,
16,
29159,
2146,
16,
15261,
16,
833,
1769,
5411,
289,
3095,
288,
7734,
9494,
18,
2761,
11599,
4368,
3748,
273,
5198,
3748,
31,
5411,
289,
3639,
289,
3639,
727,
1033,
2383,
48,
67,
23464,
47,
273,
5294,
11599,
18,
2290,
48,
67,
23464,
47,
31,
3639,
727,
22780,
3109,
273,
22243,
18,
1336,
31,
3639,
727,
509,
8350,
67,
2664,
4464,
273,
374,
31,
3639,
727,
509,
943,
5555,
273,
612,
396,
18,
1282,
2747,
5555,
31,
3639,
727,
509,
15234,
67,
2664,
4464,
273,
8350,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701,
16717,
2083,
2295,
1162,
3651,
16,
18701,
5294,
11599,
751,
612,
396,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
71,
92,
18,
2761,
11599,
4368,
3748,
480,
612,
396,
18,
7462,
3748,
13,
288,
5411,
309,
261,
1968,
40,
3083,
480,
446,
13,
288,
7734,
833,
273,
30169,
1076,
12,
1968,
16,
833,
40,
3083,
16,
1501,
10544,
16,
1501,
1380,
1769,
5411,
289,
5411,
6036,
2933,
888,
273,
612,
396,
18,
7462,
2933,
31,
5411,
1033,
5198,
3748,
273,
9494,
2
] |
if (!label.isOpaque()) {
|
Component source = e.getComponent(); if (!source.isOpaque()) {
|
public void mouseEntered(MouseEvent e) { if (!label.isOpaque()) { labelBorder.setLineColor(Color.BLACK); SwingUtil.repaint(label); } }
|
51282 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51282/891f8a051ade70db2a9802e23e48f2f3190d5385/ScrollToolBarArrowUI.java/buggy/mydoggy-plaf/src/main/java/org/noos/xing/mydoggy/plaf/ui/ScrollToolBarArrowUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
7644,
10237,
329,
12,
9186,
1133,
425,
13,
288,
5411,
5435,
1084,
273,
425,
18,
588,
1841,
5621,
309,
16051,
3168,
18,
291,
3817,
14886,
10756,
288,
7734,
1433,
8107,
18,
542,
1670,
2957,
12,
2957,
18,
14618,
3649,
1769,
7734,
26145,
1304,
18,
14462,
1598,
12,
1925,
1769,
5411,
289,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
540,
1071,
918,
7644,
10237,
329,
12,
9186,
1133,
425,
13,
288,
5411,
5435,
1084,
273,
425,
18,
588,
1841,
5621,
309,
16051,
3168,
18,
291,
3817,
14886,
10756,
288,
7734,
1433,
8107,
18,
542,
1670,
2957,
12,
2957,
18,
14618,
3649,
1769,
7734,
26145,
1304,
18,
14462,
1598,
12,
1925,
1769,
5411,
289,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (List.class.isAssignableFrom((Class) ptype.getRawType())) { actualType = ptype.getActualTypeArguments()[0]; } else if (Map.class.isAssignableFrom((Class) ptype.getRawType())) { actualType = ptype.getActualTypeArguments()[1]; } if (actualType instanceof Class) { propertyClass = (Class) actualType; }
|
if (List.class.isAssignableFrom((Class) ptype.getRawType())) { actualType = ptype.getActualTypeArguments()[0]; } else if (Map.class.isAssignableFrom((Class) ptype.getRawType())) { actualType = ptype.getActualTypeArguments()[1];
|
public static Class getPropertyClass(String property, Object root) throws OgnlException, IntrospectionException { Class propertyClass = null; int propertyIndex = propertySplit(property); if (propertyIndex > 0) { // foo.bar.baz.splat => parent: "foo.bar.baz" and child: "splat" String parentProperty = property.substring(0,propertyIndex); String childProperty = property.substring(propertyIndex+1); // We need to handle the case where the last chunk of the expression references // a List or a Map int listIndexPosition = childProperty.indexOf("["); if (listIndexPosition > 0) { Object newRoot = getValue(parentProperty, root, true); Method method = OgnlRuntime.getGetMethod(createContext(), newRoot.getClass(), childProperty.substring(0, listIndexPosition)); Type returnType = method.getGenericReturnType(); if (returnType instanceof ParameterizedType) { ParameterizedType ptype = (ParameterizedType) returnType; Type actualType = null; // Get the right type parameter for List<X> and Map<?,X> if (List.class.isAssignableFrom((Class) ptype.getRawType())) { actualType = ptype.getActualTypeArguments()[0]; } else if (Map.class.isAssignableFrom((Class) ptype.getRawType())) { actualType = ptype.getActualTypeArguments()[1]; } if (actualType instanceof Class) { propertyClass = (Class) actualType; } } // If we can't figure it out, let's try String! if (propertyClass == null) { propertyClass = String.class; } } else { Object newRoot = getValue(parentProperty,root, true); Method method = OgnlRuntime.getGetMethod(createContext(), newRoot.getClass(), childProperty); if (method == null) { throw new NoSuchPropertyException(root,property); } propertyClass = method.getReturnType(); } } else { Method method = OgnlRuntime.getGetMethod(createContext(), root.getClass(), property); if (method == null) { throw new NoSuchPropertyException(root,property); } propertyClass = method.getReturnType(); } return propertyClass; }
|
9306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9306/52587539eb8659cd0d6fe7284e88b41375fe185c/OgnlUtil.java/clean/stripes/src/net/sourceforge/stripes/util/OgnlUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1659,
3911,
797,
12,
780,
1272,
16,
1033,
1365,
13,
1216,
531,
1600,
80,
503,
16,
28524,
2868,
3094,
26362,
503,
288,
3639,
1659,
1272,
797,
273,
446,
31,
3639,
509,
1272,
1016,
273,
1272,
5521,
12,
4468,
1769,
3639,
309,
261,
4468,
1016,
405,
374,
13,
288,
5411,
368,
8431,
18,
3215,
18,
70,
1561,
18,
13106,
270,
516,
982,
30,
315,
11351,
18,
3215,
18,
70,
1561,
6,
471,
1151,
30,
315,
13106,
270,
6,
5411,
514,
982,
1396,
273,
1272,
18,
28023,
12,
20,
16,
4468,
1016,
1769,
5411,
514,
1151,
1396,
273,
1272,
18,
28023,
12,
4468,
1016,
15,
21,
1769,
5411,
368,
1660,
1608,
358,
1640,
326,
648,
1625,
326,
1142,
2441,
434,
326,
2652,
5351,
5411,
368,
279,
987,
578,
279,
1635,
5411,
509,
666,
1016,
2555,
273,
1151,
1396,
18,
31806,
2932,
63,
8863,
5411,
309,
261,
1098,
1016,
2555,
405,
374,
13,
288,
7734,
1033,
394,
2375,
273,
2366,
12,
2938,
1396,
16,
1365,
16,
638,
1769,
7734,
2985,
707,
273,
531,
1600,
80,
5576,
18,
588,
967,
1305,
12,
2640,
1042,
9334,
4766,
7682,
394,
2375,
18,
588,
797,
9334,
4766,
7682,
1151,
1396,
18,
28023,
12,
20,
16,
666,
1016,
2555,
10019,
7734,
1412,
9424,
273,
707,
18,
588,
7014,
9102,
5621,
7734,
309,
261,
2463,
559,
1276,
17141,
13,
288,
10792,
17141,
24203,
273,
261,
1662,
13091,
13,
9424,
31,
10792,
1412,
3214,
559,
273,
446,
31,
10792,
368,
968,
326,
2145,
618,
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,
1659,
3911,
797,
12,
780,
1272,
16,
1033,
1365,
13,
1216,
531,
1600,
80,
503,
16,
28524,
2868,
3094,
26362,
503,
288,
3639,
1659,
1272,
797,
273,
446,
31,
3639,
509,
1272,
1016,
273,
1272,
5521,
12,
4468,
1769,
3639,
309,
261,
4468,
1016,
405,
374,
13,
288,
5411,
368,
8431,
18,
3215,
18,
70,
1561,
18,
13106,
270,
516,
982,
30,
315,
11351,
18,
3215,
18,
70,
1561,
6,
471,
1151,
30,
315,
13106,
270,
6,
5411,
514,
982,
1396,
273,
1272,
18,
28023,
12,
20,
16,
4468,
1016,
1769,
5411,
514,
1151,
1396,
273,
1272,
18,
28023,
12,
4468,
1016,
15,
21,
1769,
5411,
368,
1660,
1608,
358,
1640,
326,
648,
1625,
326,
1142,
2
] |
System.out.println("edgeFlag");
|
edgeFlagCalled = true;
|
public void edgeFlag(boolean flag, Object polygonData) { System.out.println("edgeFlag"); }
|
12777 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12777/1945d7288d5feafc1cfa38f5cf1794787e1facfe/TessVertex.java/clean/trunk/YAJOGLB/DIR/tests/TessVertex.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3591,
4678,
12,
6494,
2982,
16,
1033,
7154,
751,
13,
288,
565,
3591,
4678,
8185,
273,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3591,
4678,
12,
6494,
2982,
16,
1033,
7154,
751,
13,
288,
565,
3591,
4678,
8185,
273,
638,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 (!rv.getFilename().equals(filename)) { if (!filename.equals("*start*")) { buf.append("</file>"); } filename = rv.getFilename(); buf.append("<file name=\"" + filename + "\">"); buf.append( lineSep ); } buf.append("<violation "); buf.append("line=\"" + Integer.toString( rv.getLine() ) + "\" "); buf.append("rule=\"" + rv.getRule().getName() + "\">" ); buf.append( lineSep ); buf.append(rv.getDescription()); buf.append( lineSep );
|
if (!rv.getFilename().equals(filename)) { if (!filename.equals("*start*")) { buf.append("</file>"); } filename = rv.getFilename(); buf.append("<file name=\"" + filename + "\">"); buf.append(lineSep); } buf.append("<violation "); buf.append("line=\"" + Integer.toString(rv.getLine()) + "\" "); buf.append("rule=\"" + rv.getRule().getName() + "\">"); buf.append(lineSep); String d = rv.getDescription(); d = replaceString(d, '&', "&"); d = replaceString(d, '<', "<"); d = replaceString(d, '>', ">"); buf.append(d); buf.append(lineSep);
|
public String render(Report report) { StringBuffer buf = new StringBuffer("<?xml version=\"1.0\"?><pmd>" + EOL); String filename = "*start*"; String lineSep = EOL; for (Iterator i = report.iterator(); i.hasNext();) { RuleViolation rv = (RuleViolation) i.next(); if (!rv.getFilename().equals(filename)) { // New File if (!filename.equals("*start*")) { buf.append("</file>"); } filename = rv.getFilename(); buf.append("<file name=\"" + filename + "\">"); buf.append( lineSep ); } buf.append("<violation "); buf.append("line=\"" + Integer.toString( rv.getLine() ) + "\" "); buf.append("rule=\"" + rv.getRule().getName() + "\">" ); buf.append( lineSep ); buf.append(rv.getDescription()); buf.append( lineSep ); buf.append("</violation>"); buf.append( lineSep ); } if (!filename.equals("*start*")) { buf.append("</file>"); } buf.append("</pmd>"); return buf.toString(); }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/4d17923c1e55d25a2db5e2fa96f62312bc1e97bb/XMLRenderer.java/buggy/pmd/src/net/sourceforge/pmd/renderers/XMLRenderer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1743,
12,
4820,
2605,
13,
288,
3639,
6674,
1681,
273,
394,
6674,
2932,
12880,
2902,
1177,
5189,
21,
18,
20,
2412,
35,
4438,
84,
1264,
2984,
397,
19995,
1769,
202,
780,
1544,
273,
15902,
1937,
7388,
31,
202,
780,
980,
5097,
273,
19995,
31,
3639,
364,
261,
3198,
277,
273,
2605,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
5411,
6781,
11683,
5633,
273,
261,
2175,
11683,
13,
277,
18,
4285,
5621,
202,
565,
309,
16051,
4962,
18,
588,
5359,
7675,
14963,
12,
3459,
3719,
288,
368,
1166,
1387,
202,
202,
430,
16051,
3459,
18,
14963,
2932,
14,
1937,
7388,
3719,
288,
1082,
565,
1681,
18,
6923,
2932,
1757,
768,
2984,
1769,
202,
202,
97,
202,
202,
3459,
273,
5633,
18,
588,
5359,
5621,
202,
202,
4385,
18,
6923,
2932,
32,
768,
508,
13186,
397,
1544,
397,
7023,
2984,
1769,
202,
202,
4385,
18,
6923,
12,
980,
5097,
11272,
202,
565,
289,
9506,
565,
1681,
18,
6923,
2932,
32,
522,
12255,
315,
1769,
202,
565,
1681,
18,
6923,
2932,
1369,
13186,
397,
2144,
18,
10492,
12,
5633,
18,
588,
1670,
1435,
262,
397,
7023,
315,
1769,
202,
565,
1681,
18,
6923,
2932,
5345,
13186,
397,
5633,
18,
588,
2175,
7675,
17994,
1435,
397,
7023,
2984,
11272,
202,
565,
1681,
18,
6923,
12,
980,
5097,
11272,
5411,
1681,
18,
6923,
12,
4962,
18,
588,
3291,
10663,
202,
565,
1681,
18,
6923,
12,
980,
5097,
11272,
5411,
1681,
18,
6923,
2932,
1757,
522,
12255,
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,
1743,
12,
4820,
2605,
13,
288,
3639,
6674,
1681,
273,
394,
6674,
2932,
12880,
2902,
1177,
5189,
21,
18,
20,
2412,
35,
4438,
84,
1264,
2984,
397,
19995,
1769,
202,
780,
1544,
273,
15902,
1937,
7388,
31,
202,
780,
980,
5097,
273,
19995,
31,
3639,
364,
261,
3198,
277,
273,
2605,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
5411,
6781,
11683,
5633,
273,
261,
2175,
11683,
13,
277,
18,
4285,
5621,
202,
565,
309,
16051,
4962,
18,
588,
5359,
7675,
14963,
12,
3459,
3719,
288,
368,
1166,
1387,
202,
202,
430,
16051,
3459,
18,
14963,
2932,
14,
1937,
7388,
3719,
288,
1082,
565,
1681,
18,
6923,
2932,
1757,
768,
2984,
1769,
202,
202,
2
] |
public static void boot() throws Exception, VM_PragmaLogicallyUninterruptible { VM.writingBootImage = false; VM.runningVM = true; VM.runningAsSubsystem = false; if (verbose >= 1) VM.sysWriteln("Booting"); // Set up the current VM_Processor object. The bootstrap program // has placed a pointer to the current VM_Processor in a special // register. if (verbose >= 1) VM.sysWriteln("Setting up current VM_Processor"); VM_ProcessorLocalState.boot(); // Finish thread initialization that couldn't be done in boot image. // The "stackLimit" must be set before any method calls, // because it's accessed by compiler-generated stack overflow checks. // if (verbose >= 1) VM.sysWriteln("Doing thread initialization"); VM_Thread currentThread = VM_Scheduler.threads[VM_Magic.getThreadId() >>> VM_ThinLockConstants.TL_THREAD_ID_SHIFT]; currentThread.stackLimit = VM_Magic.objectAsAddress(currentThread.stack).add(STACK_SIZE_GUARD); VM_Processor.getCurrentProcessor().activeThreadStackLimit = currentThread.stackLimit; // get pthread_id from OS and store into vm_processor field // if (!BuildForSingleVirtualProcessor) VM_Processor.getCurrentProcessor().pthread_id = VM.sysCall0(VM_BootRecord.the_boot_record.sysPthreadSelfIP); VM.TraceClassLoading = (VM_BootRecord.the_boot_record.traceClassLoading == 1); // Initialize memory manager's write barrier. // This must happen before any putfield or arraystore of object refs // because the buffer is accessed by compiler-generated write barrier code. // if (verbose >= 1) VM.sysWriteln("Setting up write barrier"); VM_Interface.setupProcessor( VM_Processor.getCurrentProcessor() ); // Initialize memory manager. // This must happen before any uses of "new". // if (verbose >= 1) VM.sysWriteln("Setting up memory manager: bootrecord = ", VM_Magic.objectAsAddress(VM_BootRecord.the_boot_record)); VM_Interface.boot(VM_BootRecord.the_boot_record); // Reset the options for the baseline compiler to avoid carrying them over from // bootimage writing time. // VM_BaselineCompiler.initOptions(); // Create class objects for static synchronized methods in the bootimage. // This must happen before any bootimage static synchronized methods // can be invoked. if (verbose >= 1) VM.sysWriteln("Creating class objects for static synchronized methods"); createClassObjects(); // Fetch arguments from program command line. // if (verbose >= 1) VM.sysWriteln("Fetching command-line arguments"); VM_CommandLineArgs.fetchCommandLineArguments(); // Initialize class loader. // if (verbose >= 1) VM.sysWriteln("Initializing class loader"); String vmClasses = VM_CommandLineArgs.getVMClasses(); VM_ClassLoader.boot(vmClasses); VM_SystemClassLoader.boot(); // // At this point the virtual machine is running as a single thread // that can perform dynamic compilation and linking (by compiler/linker // that's part of boot image). All that remains is to initialize the // java class libraries, start up the thread subsystem, and launch // the user level "main" thread. // // Initialize statics that couldn't be placed in bootimage, either // because they refer to external state (open files), or because they // appear in fields that are unique to RVM implementation of // standard class library (not part of standard jdk). // We discover the latter by observing "host has no field" and // "object not part of bootimage" messages printed out by bootimage // writer. // if (verbose >= 1) VM.sysWriteln("Running various class initializers"); //-#if RVM_WITH_GNU_CLASSPATH java.lang.ref.JikesRVMSupport.setReferenceLock( new Object() ); //-#else runClassInitializer("java.io.FileDescriptor"); runClassInitializer("java.io.File"); //-#endif runClassInitializer("java.lang.Runtime"); //-#if RVM_WITH_GNU_CLASSPATH runClassInitializer("java.io.FileDescriptor"); runClassInitializer("java.lang.System"); runClassInitializer("java.io.File"); //-#else runClassInitializer("java.lang.System"); System.boot(); //-#endif runClassInitializer("java.lang.Boolean"); runClassInitializer("java.lang.Byte"); runClassInitializer("java.lang.Short"); //-#if RVM_WITH_GNU_CLASSPATH runClassInitializer("java.lang.Number"); //-#endif runClassInitializer("java.lang.Integer"); runClassInitializer("java.lang.Long"); runClassInitializer("java.lang.Float"); // needs jni with classpath, so done later // runClassInitializer("java.lang.Double"); runClassInitializer("java.lang.Character"); //-#if RVM_WITH_GNU_CLASSPATH //-#else runClassInitializer("com.ibm.oti.io.CharacterConverter"); runClassInitializer("java.util.Hashtable"); runClassInitializer("java.lang.String"); //-#endif //-#if RVM_WITH_GNU_CLASSPATH runClassInitializer("gnu.java.io.EncodingManager"); runClassInitializer("java.lang.Thread"); runClassInitializer("java.lang.ThreadGroup"); runClassInitializer("java.io.PrintWriter"); runClassInitializer("gnu.java.lang.SystemClassLoader"); runClassInitializer("java.lang.String"); runClassInitializer("gnu.java.security.provider.DefaultPolicy"); runClassInitializer("java.security.Policy"); //-#endif runClassInitializer("java.lang.ClassLoader"); runClassInitializer("com.ibm.JikesRVM.librarySupport.ReflectionSupport"); runClassInitializer("java.lang.Math"); //-#if RVM_WITH_GNU_CLASSPATH //-#else runClassInitializer("java.lang.RuntimePermission"); //-#endif runClassInitializer("java.util.TimeZone"); runClassInitializer("java.util.Locale"); runClassInitializer("java.util.Calendar"); runClassInitializer("java.util.GregorianCalendar"); runClassInitializer("java.util.ResourceBundle"); runClassInitializer("java.util.zip.ZipEntry"); runClassInitializer("java.util.zip.Inflater"); runClassInitializer("java.util.zip.DeflaterHuffman"); runClassInitializer("java.util.zip.InflaterDynHeader"); runClassInitializer("java.util.zip.InflaterHuffmanTree"); //-#if RVM_WITH_GNU_CLASSPATH runClassInitializer("java.util.Date"); //-#endif //-#if RVM_WITH_ALL_CLASSES runClassInitializer("java.util.jar.Attributes$Name"); //-#endif // Process virtual machine directives. // if (verbose >= 1) VM.sysWriteln("Processing VM directives"); String[] applicationArguments = VM_CommandLineArgs.processCommandLineArguments(); if (applicationArguments.length == 0) { VM.sysWrite("vm: please specify a class to execute\n"); VM.sysExit(1); } // Now that we've processed the command line arguments, // enable HPM if the command lines indicate that we should VM_HardwarePerformanceMonitors.boot(); // Allow Baseline compiler to respond to command line arguments // The baseline compiler ignores command line arguments until all are processed // otherwise printing may occur because of compilations ahead of processing the // method_to_print restriction // if (verbose >= 1) VM.sysWriteln("Compiler processing rest of boot options"); VM_BaselineCompiler.postBootOptions(); // Allow Collector to respond to command line arguments // if (verbose >= 1) VM.sysWriteln("Collector processing rest of boot options"); VM_Interface.postBoot(); VM_Lock.boot(); // Begin multiprocessing. // VM_Scheduler.boot(applicationArguments); if (VM.VerifyAssertions) VM._assert(VM.NOT_REACHED); }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/03013ac3195b74dda1a8e85c547ceb6979f8b1cb/VM.java/buggy/rvm/src/vm/VM.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
6459,
7137,
1435,
15069,
503,
16,
7397,
67,
2050,
9454,
1343,
6478,
984,
31847,
1523,
95,
7397,
18,
14345,
15817,
2040,
33,
5743,
31,
7397,
18,
8704,
7397,
33,
3767,
31,
7397,
18,
8704,
1463,
28150,
33,
5743,
31,
430,
12,
11369,
34,
33,
21,
13,
7397,
18,
9499,
4913,
292,
82,
2932,
15817,
310,
8863,
759,
694,
89,
2397,
557,
3761,
7397,
67,
5164,
1612,
18,
1986,
12722,
12890,
759,
5332,
964,
6223,
2480,
3307,
76,
557,
3761,
7397,
67,
5164,
267,
345,
705,
649,
759,
4861,
18,
430,
12,
11369,
34,
33,
21,
13,
7397,
18,
9499,
4913,
292,
82,
2932,
5568,
416,
2972,
7397,
67,
5164,
8863,
7397,
67,
5164,
2042,
1119,
18,
7137,
5621,
759,
11641,
5930,
6769,
1588,
19056,
15195,
82,
1404,
2992,
476,
267,
7137,
2730,
18,
759,
1986,
6,
3772,
3039,
6,
11926,
70,
281,
278,
5771,
2273,
2039,
12550,
16,
759,
26274,
305,
1807,
1077,
3692,
1637,
9576,
17,
11168,
20672,
12366,
18,
759,
430,
12,
11369,
34,
33,
21,
13,
7397,
18,
9499,
4913,
292,
82,
2932,
3244,
310,
5930,
6769,
1588,
8863,
7397,
67,
3830,
2972,
3830,
33,
7397,
67,
11870,
18,
12495,
63,
7397,
67,
19289,
18,
588,
3830,
548,
1435,
23012,
7397,
67,
1315,
267,
2531,
2918,
18,
5967,
67,
21730,
67,
734,
67,
23191,
15533,
2972,
3830,
18,
3772,
3039,
33,
7397,
67,
19289,
18,
1612,
1463,
1887,
12,
2972,
3830,
18,
3772,
2934,
1289,
12,
21971,
67,
4574,
67,
30673,
8085,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
6459,
7137,
1435,
15069,
503,
16,
7397,
67,
2050,
9454,
1343,
6478,
984,
31847,
1523,
95,
7397,
18,
14345,
15817,
2040,
33,
5743,
31,
7397,
18,
8704,
7397,
33,
3767,
31,
7397,
18,
8704,
1463,
28150,
33,
5743,
31,
430,
12,
11369,
34,
33,
21,
13,
7397,
18,
9499,
4913,
292,
82,
2932,
15817,
310,
8863,
759,
694,
89,
2397,
557,
3761,
7397,
67,
5164,
1612,
18,
1986,
12722,
12890,
759,
5332,
964,
6223,
2480,
3307,
76,
557,
3761,
7397,
67,
5164,
267,
345,
705,
649,
759,
4861,
18,
430,
12,
11369,
34,
33,
21,
13,
7397,
18,
9499,
4913,
292,
82,
2932,
5568,
416,
2972,
7397,
67,
5164,
8863,
7397,
67,
5164,
2042,
1119,
18,
7137,
2
] |
||
switch (symbol.kind) {
|
switch (symbol.kind) {
|
public String getSymbolKeyword(Symbol symbol) { if (symbol.isParameter()) return null; switch (symbol.kind) { case Kinds.ERROR: case Kinds.NONE: return null; case Kinds.CLASS: if (symbol.isTrait()) return "trait"; return "class"; case Kinds.TYPE: case Kinds.ALIAS: return "type"; case Kinds.VAL: if (symbol.isVariable()) return "var"; if (symbol.isModule()) return "object"; if (symbol.isInitializedMethod()) return "def"; return "val"; default: throw Debug.abort("unknown kind " + symbol.kind); } }
|
10130 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10130/947684fb220e97d2187319c1fa1807e4663dc75d/SymbolTablePrinter.java/clean/sources/scalac/symtab/SymbolTablePrinter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
18712,
8736,
12,
5335,
3273,
13,
288,
3639,
309,
261,
7175,
18,
291,
1662,
10756,
327,
446,
31,
202,
9610,
261,
7175,
18,
9224,
13,
288,
3639,
648,
5851,
87,
18,
3589,
30,
3639,
648,
5851,
87,
18,
9826,
30,
5411,
327,
446,
31,
3639,
648,
5851,
87,
18,
5237,
30,
5411,
309,
261,
7175,
18,
291,
15525,
10756,
327,
315,
22513,
14432,
5411,
327,
315,
1106,
14432,
202,
3593,
5851,
87,
18,
2399,
30,
3639,
648,
5851,
87,
18,
23784,
30,
5411,
327,
315,
723,
14432,
3639,
648,
5851,
87,
18,
2669,
30,
202,
565,
309,
261,
7175,
18,
291,
3092,
10756,
327,
315,
1401,
14432,
202,
565,
309,
261,
7175,
18,
291,
3120,
10756,
327,
315,
1612,
14432,
202,
565,
309,
261,
7175,
18,
291,
11459,
1305,
10756,
327,
315,
536,
14432,
202,
565,
327,
315,
1125,
14432,
202,
1886,
30,
5411,
604,
4015,
18,
18623,
2932,
8172,
3846,
315,
397,
3273,
18,
9224,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
18712,
8736,
12,
5335,
3273,
13,
288,
3639,
309,
261,
7175,
18,
291,
1662,
10756,
327,
446,
31,
202,
9610,
261,
7175,
18,
9224,
13,
288,
3639,
648,
5851,
87,
18,
3589,
30,
3639,
648,
5851,
87,
18,
9826,
30,
5411,
327,
446,
31,
3639,
648,
5851,
87,
18,
5237,
30,
5411,
309,
261,
7175,
18,
291,
15525,
10756,
327,
315,
22513,
14432,
5411,
327,
315,
1106,
14432,
202,
3593,
5851,
87,
18,
2399,
30,
3639,
648,
5851,
87,
18,
23784,
30,
5411,
327,
315,
723,
14432,
3639,
648,
5851,
87,
18,
2669,
30,
202,
565,
309,
261,
7175,
18,
291,
3092,
10756,
327,
315,
1401,
14432,
202,
565,
309,
261,
7175,
18,
291,
3120,
10756,
2
] |
throw new LockNotGrantedException( write ? "persist.writeLockTimeout" : "persist.readLockTimeout" );
|
throw new LockNotGrantedExceptionImpl( write ? "persist.writeLockTimeout" : "persist.readLockTimeout" );
|
synchronized Object acquire( TransactionContext tx, boolean write, int timeout ) throws LockNotGrantedException, ObjectDeletedWaitingForLockException { // Note: This method must succeed even if an exception is thrown // in the middle. An exception may be thrown by a Thread.stop(). // Must make sure not to lose consistency. while ( true ) { // Repeat forever until lock is acquired or timeout if ( _writeLock == tx ) { // Already have write lock, can acquire object return _object; } else if ( _readLock == null && _writeLock == null ) { // No locks, can acquire immediately if ( write ) _writeLock = tx; else _readLock = new LinkedTx( tx, null ); return _object; } else if ( write && _writeLock == null && _readLock.tx == tx && _readLock.next == null ) { // Upgrading from read to write, no other locks, can upgrade // Order is important in case thread is stopped in the middle _readLock = null; _writeLock = tx; return _object; } else if ( ! write && _writeLock == null ) { // Looking for read lock and no write locks, can acquire // Make sure we do not wait twice for the same lock LinkedTx read; read = _readLock; while ( read != null ) { if ( read.tx == tx ) return _object; read = read.next; } _readLock = new LinkedTx( tx, _readLock ); return _object; } else { // Don't wait if timeout is zero if ( timeout == 0 ) throw new LockNotGrantedException( write ? "persist.writeLockTimeout" : "persist.readLockTimeout" ); try { // Detect possibility of dead-lock. Must remain in wait-on-lock // position until lock is granted or exception thrown. tx.setWaitOnLock( this ); detectDeadlock( tx ); // Must wait for lock and then attempt to reacquire if ( write ) _writeWaiting = new LinkedTx( tx, _writeWaiting ); else _readWaiting = new LinkedTx( tx, _readWaiting ); // Wait until notified or timeout elapses. Must detect // when notified but object deleted (i.e. locks released) // All waiting transactions are notified at once, but once // notified a race condition starts to acquire new lock long clock = System.currentTimeMillis(); try { wait( timeout * 1000 ); } catch ( InterruptedException except ) { // If the thread is interrupted, come out with the proper message throw new LockNotGrantedException( write ? "persist.writeLockTimeout" : "persist.readLockTimeout" ); } if ( _object == null ) { // If object has been deleted while waiting for lock, report deletion. throw new ObjectDeletedWaitingForLockException(); } // Try to re-acquire lock, this time less timeout, // eventually timeout of zero will either succeed or fail // without blocking. timeout -= ( System.currentTimeMillis() - clock ); if ( timeout < 0 ) timeout = 0; removeWaiting( tx ); tx.setWaitOnLock( null ); } finally { // Must always remove waiting transaction. removeWaiting( tx ); tx.setWaitOnLock( null ); } } } }
|
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/1c25d26649f41f3ec3ce6840448dd341b447271b/ObjectLock.java/clean/trunk/castor-2002/castor/src/main/org/exolab/castor/persist/ObjectLock.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
1033,
10533,
12,
5947,
1042,
2229,
16,
1250,
1045,
16,
509,
2021,
262,
3639,
1216,
3488,
1248,
14570,
503,
16,
1033,
7977,
15946,
1290,
2531,
503,
565,
288,
202,
759,
3609,
30,
1220,
707,
1297,
12897,
5456,
309,
392,
1520,
353,
6718,
202,
759,
316,
326,
7689,
18,
1922,
1520,
2026,
506,
6718,
635,
279,
4884,
18,
5681,
7675,
202,
759,
6753,
1221,
3071,
486,
358,
29612,
14297,
18,
202,
377,
202,
17523,
261,
638,
262,
288,
202,
565,
368,
20742,
21238,
3180,
2176,
353,
20598,
578,
2021,
202,
565,
309,
261,
389,
2626,
2531,
422,
2229,
262,
288,
202,
202,
759,
17009,
1240,
1045,
2176,
16,
848,
10533,
733,
202,
202,
2463,
389,
1612,
31,
202,
565,
289,
469,
309,
261,
389,
896,
2531,
422,
446,
597,
389,
2626,
2531,
422,
446,
262,
288,
202,
202,
759,
2631,
13046,
16,
848,
10533,
7636,
202,
202,
430,
261,
1045,
262,
1082,
565,
389,
2626,
2531,
273,
2229,
31,
202,
202,
12107,
1082,
565,
389,
896,
2531,
273,
394,
6546,
4188,
12,
2229,
16,
446,
11272,
202,
202,
2463,
389,
1612,
31,
202,
565,
289,
469,
309,
261,
1045,
597,
389,
2626,
2531,
422,
446,
597,
1082,
202,
67,
896,
2531,
18,
978,
422,
2229,
597,
389,
896,
2531,
18,
4285,
422,
446,
262,
288,
202,
202,
759,
1948,
15210,
628,
855,
358,
1045,
16,
1158,
1308,
13046,
16,
848,
8400,
202,
202,
759,
4347,
353,
10802,
316,
648,
2650,
353,
9627,
316,
326,
7689,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
1033,
10533,
12,
5947,
1042,
2229,
16,
1250,
1045,
16,
509,
2021,
262,
3639,
1216,
3488,
1248,
14570,
503,
16,
1033,
7977,
15946,
1290,
2531,
503,
565,
288,
202,
759,
3609,
30,
1220,
707,
1297,
12897,
5456,
309,
392,
1520,
353,
6718,
202,
759,
316,
326,
7689,
18,
1922,
1520,
2026,
506,
6718,
635,
279,
4884,
18,
5681,
7675,
202,
759,
6753,
1221,
3071,
486,
358,
29612,
14297,
18,
202,
377,
202,
17523,
261,
638,
262,
288,
202,
565,
368,
20742,
21238,
3180,
2176,
353,
20598,
578,
2021,
202,
565,
309,
261,
389,
2626,
2531,
422,
2229,
262,
288,
202,
202,
759,
17009,
1240,
1045,
2176,
16,
848,
10533,
733,
202,
202,
2463,
389,
1612,
31,
202,
2
] |
private void centerV(){
|
private void centerV() {
|
private void centerV(){ Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); Dimension frameSize = getSize(); setLocation((int)getLocation().getX(), (screenSize.height - frameSize.height) / 2); }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/35da9b77b7d75aca3d6277e27e3ba3dc86f3eaa9/RecentDocFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/RecentDocFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
4617,
58,
1435,
288,
565,
13037,
5518,
1225,
273,
13288,
8691,
18,
588,
1868,
6364,
8691,
7675,
588,
7956,
1225,
5621,
565,
13037,
2623,
1225,
273,
9950,
5621,
565,
21751,
12443,
474,
13,
588,
2735,
7675,
588,
60,
9334,
261,
9252,
1225,
18,
4210,
300,
2623,
1225,
18,
4210,
13,
342,
576,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
4617,
58,
1435,
288,
565,
13037,
5518,
1225,
273,
13288,
8691,
18,
588,
1868,
6364,
8691,
7675,
588,
7956,
1225,
5621,
565,
13037,
2623,
1225,
273,
9950,
5621,
565,
21751,
12443,
474,
13,
588,
2735,
7675,
588,
60,
9334,
261,
9252,
1225,
18,
4210,
300,
2623,
1225,
18,
4210,
13,
342,
576,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
case 589 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); }
|
case 590 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); }
|
protected void consumeRule(int act) { switch ( act ) { case 26 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ consumePrimitiveType(); break; case 40 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeReferenceType(); break; case 44 : if (DEBUG) { System.out.println("ClassOrInterface ::= Name"); } //$NON-NLS-1$ consumeClassOrInterfaceName(); break; case 45 : if (DEBUG) { System.out.println("ClassOrInterface ::= ClassOrInterface TypeArguments DOT"); } //$NON-NLS-1$ consumeClassOrInterface(); break; case 46 : if (DEBUG) { System.out.println("ArrayTypeWithTypeArgumentsName ::= ClassOrInterface..."); } //$NON-NLS-1$ consumeArrayTypeWithTypeArgumentsName(); break; case 47 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ consumePrimitiveArrayType(); break; case 48 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ consumeNameArrayType(); break; case 49 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ consumeGenericTypeNameArrayType(); break; case 50 : if (DEBUG) { System.out.println("ArrayType ::= ClassOrInterface TypeArguments Dims"); } //$NON-NLS-1$ consumeGenericTypeArrayType(); break; case 55 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ consumeQualifiedName(); break; case 56 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ consumeCompilationUnit(); break; case 57 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 58 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 59 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 60 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 61 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 62 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 63 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 64 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ consumeEmptyInternalCompilationUnit(); break; case 65 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ consumeReduceImports(); break; case 66 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ consumeEnterCompilationUnit(); break; case 77 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeCatchHeader(); break; case 79 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeImportDeclarations(); break; case 81 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ consumeTypeDeclarations(); break; case 82 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ consumePackageDeclaration(); break; case 83 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ consumePackageDeclarationNameWithModifiers(); break; case 84 : if (DEBUG) { System.out.println("PackageDeclarationName ::= package Name"); } //$NON-NLS-1$ consumePackageDeclarationName(); break; case 89 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 90 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ consumeSingleTypeImportDeclarationName(); break; case 91 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 92 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ consumeTypeImportOnDemandDeclarationName(); break; case 95 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyTypeDeclaration(); break; case 99 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ consumeModifiers2(); break; case 112 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ consumeClassDeclaration(); break; case 113 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ consumeClassHeader(); break; case 114 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 116 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ consumeClassHeaderName1(); break; case 117 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ consumeClassHeaderExtends(); break; case 118 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ consumeClassHeaderImplements(); break; case 120 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ consumeInterfaceTypeList(); break; case 121 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeInterfaceType(); break; case 124 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ consumeClassBodyDeclarations(); break; case 128 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 129 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ consumeDiet(); break; case 130 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 136 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyClassMemberDeclaration(); break; case 139 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFieldDeclaration(); break; case 141 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ consumeVariableDeclarators(); break; case 144 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ consumeEnterVariable(); break; case 145 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithInitialization(); break; case 146 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithoutInitialization(); break; case 147 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ consumeForceNoDiet(); break; case 148 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ consumeRestoreDiet(); break; case 153 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ // set to true to consume a method with a body consumeMethodDeclaration(true); break; case 154 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ // set to false to consume a method without body consumeMethodDeclaration(false); break; case 155 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ consumeMethodHeader(); break; case 156 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(); break; case 157 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ consumeMethodHeaderName(); break; case 158 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ consumeMethodHeaderRightParen(); break; case 159 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeMethodHeaderExtendedDims(); break; case 160 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ consumeMethodHeaderThrowsClause(); break; case 161 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ consumeConstructorHeader(); break; case 162 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ consumeConstructorHeaderNameWithTypeParameters(); break; case 163 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ consumeConstructorHeaderName(); break; case 165 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ consumeFormalParameterList(); break; case 166 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFormalParameter(false); break; case 167 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ consumeFormalParameter(true); break; case 169 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ consumeClassTypeList(); break; case 170 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ consumeClassTypeElt(); break; case 171 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ consumeMethodBody(); break; case 172 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ consumeNestedMethod(); break; case 173 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ consumeStaticInitializer(); break; case 174 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ consumeStaticOnly(); break; case 175 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ consumeConstructorDeclaration() ; break; case 176 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration() ; break; case 177 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,ExplicitConstructorCall.This); break; case 178 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,ExplicitConstructorCall.This); break; case 179 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,ExplicitConstructorCall.Super); break; case 180 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,ExplicitConstructorCall.Super); break; case 181 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, ExplicitConstructorCall.Super); break; case 182 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, ExplicitConstructorCall.Super); break; case 183 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, ExplicitConstructorCall.Super); break; case 184 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, ExplicitConstructorCall.Super); break; case 185 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, ExplicitConstructorCall.This); break; case 186 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, ExplicitConstructorCall.This); break; case 187 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, ExplicitConstructorCall.This); break; case 188 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, ExplicitConstructorCall.This); break; case 189 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ consumeInterfaceDeclaration(); break; case 190 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ consumeInterfaceHeader(); break; case 191 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 193 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ consumeInterfaceHeaderName1(); break; case 195 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ consumeInterfaceHeaderExtends(); break; case 198 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarations(); break; case 199 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclaration(); break; case 202 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= InvalidMethodDeclaration"); } //$NON-NLS-1$ ignoreMethodBody(); break; case 203 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(true); break; case 204 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(false); break; case 210 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ consumePushLeftBrace(); break; case 211 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ consumeEmptyArrayInitializer(); break; case 212 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 213 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 215 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ consumeVariableInitializers(); break; case 216 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ consumeBlock(); break; case 217 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ consumeOpenBlock() ; break; case 219 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ consumeBlockStatements() ; break; case 223 : if (DEBUG) { System.out.println("BlockStatement ::= InvalidInterfaceDeclaration"); } //$NON-NLS-1$ ignoreInterfaceDeclaration(); break; case 224 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ consumeLocalVariableDeclarationStatement(); break; case 225 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 226 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 227 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ consumePushModifiers(); break; case 228 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ consumePushRealModifiers(); break; case 254 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyStatement(); break; case 255 : if (DEBUG) { System.out.println("LabeledStatement ::= Identifier COLON Statement"); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 256 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Identifier COLON..."); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 257 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ consumeExpressionStatement(); break; case 266 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfNoElse(); break; case 267 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 268 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 269 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementSwitch() ; break; case 270 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ consumeEmptySwitchBlock() ; break; case 273 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlock() ; break; case 275 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlockStatements() ; break; case 276 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ consumeSwitchBlockStatement() ; break; case 278 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ consumeSwitchLabels() ; break; case 279 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ consumeCaseLabel(); break; case 280 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ consumeDefaultLabel(); break; case 281 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 282 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 283 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementDo() ; break; case 284 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 285 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 286 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ consumeForInit() ; break; case 290 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ consumeStatementExpressionList() ; break; case 291 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ consumeSimpleAssertStatement() ; break; case 292 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ consumeAssertStatement() ; break; case 293 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreak() ; break; case 294 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreakWithLabel() ; break; case 295 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinue() ; break; case 296 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinueWithLabel() ; break; case 297 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ consumeStatementReturn() ; break; case 298 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ consumeStatementThrow(); break; case 299 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ consumeStatementSynchronized(); break; case 300 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ consumeOnlySynchronized(); break; case 301 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ consumeStatementTry(false); break; case 302 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ consumeStatementTry(true); break; case 304 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ consumeExitTryBlock(); break; case 306 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ consumeCatches(); break; case 307 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeStatementCatch() ; break; case 309 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ consumeLeftParen(); break; case 310 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ consumeRightParen(); break; case 315 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayThis(); break; case 316 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ consumePrimaryNoNewArray(); break; case 317 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ consumePrimaryNoNewArrayWithName(); break; case 320 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameThis(); break; case 321 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameSuper(); break; case 322 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayName(); break; case 323 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayArrayType(); break; case 324 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveArrayType(); break; case 325 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveType(); break; case 328 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ consumeAllocationHeader(); break; case 329 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionWithTypeArguments(); break; case 330 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ consumeClassInstanceCreationExpression(); break; case 331 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 332 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 333 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 334 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 335 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionName() ; break; case 336 : if (DEBUG) { System.out.println("ClassBodyopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 338 : if (DEBUG) { System.out.println("ClassBodySimpleNameopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 340 : if (DEBUG) { System.out.println("EnterAnonymousClassBodySimpleName ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBodySimpleName(); break; case 341 : if (DEBUG) { System.out.println("EnterAnonymousClassBody ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBody(); break; case 343 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ consumeArgumentList(); break; case 344 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 345 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 346 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 347 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 348 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 349 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 351 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ consumeDimWithOrWithOutExprs(); break; case 353 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeDimWithOrWithOutExpr(); break; case 354 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ consumeDims(); break; case 357 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeOneDimLoop(); break; case 358 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(false); break; case 359 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(true); break; case 360 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeMethodInvocationName(); break; case 361 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationNameWithTypeArguments(); break; case 362 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationPrimaryWithTypeArguments(); break; case 363 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationPrimary(); break; case 364 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationSuperWithTypeArguments(); break; case 365 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationSuper(); break; case 366 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ consumeArrayAccess(true); break; case 367 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 368 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 370 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ consumePostfixExpression(); break; case 373 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,true); break; case 374 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,true); break; case 375 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ consumePushPosition(); break; case 378 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 379 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 381 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,false); break; case 382 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,false); break; case 384 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 385 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 387 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ consumeCastExpressionWithPrimitiveType(); break; case 388 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithGenericsArray(); break; case 389 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithQualifiedGenericsArray(); break; case 390 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionLL1(); break; case 391 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionWithNameArray(); break; case 392 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ consumeOnlyTypeArgumentsForCastExpression(); break; case 393 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ consumeInsideCastExpression(); break; case 394 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ consumeInsideCastExpressionLL1(); break; case 395 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ consumeInsideCastExpressionWithQualifiedGenerics(); break; case 397 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 398 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 399 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 401 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 402 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 404 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 405 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 406 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 408 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 409 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 410 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 411 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 413 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 415 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 416 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 418 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 420 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 422 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 424 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 426 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 428 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 431 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ consumeAssignment(); break; case 433 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ ignoreExpressionAssignment(); break; case 434 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(EQUAL); break; case 435 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MULTIPLY); break; case 436 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(DIVIDE); break; case 437 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(REMAINDER); break; case 438 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(PLUS); break; case 439 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MINUS); break; case 440 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(LEFT_SHIFT); break; case 441 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(RIGHT_SHIFT); break; case 442 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break; case 443 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(AND); break; case 444 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(XOR); break; case 445 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(OR); break; case 449 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ consumeEmptyExpression(); break; case 454 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyClassBodyDeclarationsopt(); break; case 455 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeClassBodyDeclarationsopt(); break; case 456 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ consumeDefaultModifiers(); break; case 457 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ consumeModifiers(); break; case 458 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ consumeEmptyBlockStatementsopt(); break; case 460 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ consumeEmptyDimsopt(); break; case 462 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ consumeEmptyArgumentListopt(); break; case 466 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ consumeFormalParameterListopt(); break; case 470 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclarationsopt(); break; case 471 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarationsopt(); break; case 472 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ consumeNestedType(); break; case 473 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ consumeEmptyForInitopt(); break; case 475 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ consumeEmptyForUpdateopt(); break; case 479 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ consumeEmptyCatchesopt(); break; case 481 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader ClassHeaderImplementsopt"); } //$NON-NLS-1$ consumeEnumDeclaration(); break; case 482 : if (DEBUG) { System.out.println("EnumHeader ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ consumeEnumHeader(); break; case 483 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 484 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 485 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 486 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 488 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ consumeEnumConstants(); break; case 489 : if (DEBUG) { System.out.println("EnumConstantHeader ::= Identifier Argumentsopt"); } //$NON-NLS-1$ consumeEnumConstantHeader(); break; case 490 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ClassBody"); } //$NON-NLS-1$ consumeEnumConstantWithClassBody(); break; case 491 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ consumeEnumConstantNoClassBody(); break; case 492 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeArguments(); break; case 493 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ consumeEmptyArguments(); break; case 496 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyEnumDeclarations(); break; case 498 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 499 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 500 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Type..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(false); break; case 501 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Modifiers Type"); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(true); break; case 502 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 503 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ consumeSingleStaticImportDeclarationName(); break; case 504 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 505 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ consumeStaticImportOnDemandDeclarationName(); break; case 506 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeTypeArguments(); break; case 507 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeOnlyTypeArguments(); break; case 509 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList1(); break; case 511 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ consumeTypeArgumentList(); break; case 512 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ consumeTypeArgument(); break; case 516 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ consumeReferenceType1(); break; case 517 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType1(); break; case 519 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList2(); break; case 522 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType2(); break; case 523 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType2(); break; case 525 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList3(); break; case 528 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType3(); break; case 529 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ consumeWildcard(); break; case 530 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ consumeWildcardWithBounds(); break; case 531 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsExtends(); break; case 532 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsSuper(); break; case 533 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ consumeWildcard1(); break; case 534 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ consumeWildcard1WithBounds(); break; case 535 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Extends(); break; case 536 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Super(); break; case 537 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard2(); break; case 538 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ consumeWildcard2WithBounds(); break; case 539 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Extends(); break; case 540 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Super(); break; case 541 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard3(); break; case 542 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ consumeWildcard3WithBounds(); break; case 543 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Extends(); break; case 544 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Super(); break; case 545 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ consumeTypeParameterHeader(); break; case 546 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ consumeTypeParameters(); break; case 548 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList(); break; case 550 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtends(); break; case 551 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtendsAndBounds(); break; case 553 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList(); break; case 554 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ consumeAdditionalBound(); break; case 556 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList1(); break; case 557 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ consumeTypeParameter1(); break; case 558 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtends(); break; case 559 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtendsAndBounds(); break; case 561 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList1(); break; case 562 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ consumeAdditionalBound1(); break; case 568 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 569 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 572 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 573 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 576 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 577 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); break; case 578 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 579 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.DIVIDE); break; case 580 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 581 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.REMAINDER); break; case 583 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 584 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.PLUS); break; case 585 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 586 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MINUS); break; case 588 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 589 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); break; case 590 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 591 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); break; case 592 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 593 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 595 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 596 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS); break; case 597 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 598 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER); break; case 599 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 600 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); break; case 601 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 602 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); break; case 604 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ consumeInstanceOfExpressionWithName(OperatorIds.INSTANCEOF); break; case 605 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 607 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 608 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); break; case 609 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 610 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); break; case 612 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 613 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND); break; case 615 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 616 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.XOR); break; case 618 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 619 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR); break; case 621 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 622 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND_AND); break; case 624 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 625 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR_OR); break; case 627 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 628 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; break; case 632 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= Modifiers AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 633 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= AT PushModifiers..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 634 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclaration() ; break; case 636 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyAnnotationTypeMemberDeclarationsopt() ; break; case 639 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarations() ; break; case 640 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationHeader ::= Modifiersopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarationHeader() ; break; case 641 : if (DEBUG) { System.out.println("AnnotationTypeMemberHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberHeaderExtendedDims() ; break; case 642 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclaration() ; break; case 645 : if (DEBUG) { System.out.println("DefaultValueopt ::="); } //$NON-NLS-1$ consumeEmptyDefaultValue() ; break; case 651 : if (DEBUG) { System.out.println("NormalAnnotation ::= AT Name LPAREN MemberValuePairsopt"); } //$NON-NLS-1$ consumeNormalAnnotation() ; break; case 652 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ consumeEmptyMemberValuePairsopt() ; break; case 655 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ consumeMemberValuePairs() ; break; case 656 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL MemberValue"); } //$NON-NLS-1$ consumeMemberValuePair() ; break; case 660 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 661 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 662 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 663 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 665 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ consumeMemberValues() ; break; case 666 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AT Name"); } //$NON-NLS-1$ consumeMarkerAnnotation() ; break; case 667 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AT Name LPAREN MemberValue..."); } //$NON-NLS-1$ consumeSingleMemberAnnotation() ; break; }}
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/dbf6159f53c99cb12512816667012e5ec1fdc250/Parser.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
10659,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
9840,
559,
5621,
26924,
202,
8820,
31,
377,
648,
8063,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
31,
377,
648,
13291,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
1770,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
797,
1162,
24730,
5621,
565,
1082,
202,
8820,
31,
377,
648,
12292,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
1659,
1162,
1358,
1412,
4628,
15772,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
797,
1162,
1358,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17077,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
27182,
1190,
23690,
461,
493,
33,
1659,
1162,
1358,
7070,
1769,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
27182,
1190,
23690,
461,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17495,
294,
309,
261,
9394,
13,
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,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
10659,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
9840,
559,
5621,
26924,
202,
8820,
31,
377,
648,
8063,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
31,
377,
648,
13291,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
2
] |
return factory.isExpandEntityReferences(); }
|
return factory.isExpandEntityReferences(); }
|
public final boolean isExpandEntityReferences() { return factory.isExpandEntityReferences(); }
|
54650 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54650/6bd2ebaee285c6f6b453c7922ff159b5685bae8d/DOMTest.java/buggy/java/org/w3c/domts/DOMTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
1250,
353,
12271,
1943,
8221,
1435,
288,
1377,
327,
3272,
18,
291,
12271,
1943,
8221,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
1250,
353,
12271,
1943,
8221,
1435,
288,
1377,
327,
3272,
18,
291,
12271,
1943,
8221,
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,
-100,
-100,
-100,
-100,
-100,
-100
] |
iVisited.accept(_Payload);
|
_Payload.visitFalseNode(iVisited);
|
public void visitFalseNode(FalseNode iVisited) { iVisited.accept(_Payload); }
|
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/043fa4419ad506aa6f8843684eb8114b226fe4b5/DefaultIteratorVisitor.java/buggy/org/jruby/nodes/visitor/DefaultIteratorVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
8381,
907,
12,
8381,
907,
277,
30019,
13,
288,
202,
202,
77,
30019,
18,
9436,
24899,
6110,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
8381,
907,
12,
8381,
907,
277,
30019,
13,
288,
202,
202,
77,
30019,
18,
9436,
24899,
6110,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
aboutToUpdateTitleImage = false;
|
public void updatedTitleImage(Image image) { if(aboutToUpdateTitleImage) { // only let us update the image (fix for 105299) super.updatedTitleImage(image); aboutToUpdateTitleImage = false; } }
|
13558 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13558/f4bdb7969a7ce4fe57b5199d315ffd2f0aff1f53/AspectJEditor.java/clean/org.eclipse.ajdt.ui/src/org/eclipse/ajdt/internal/ui/editor/AspectJEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3526,
4247,
2040,
12,
2040,
1316,
13,
288,
202,
202,
430,
12,
21071,
21267,
4247,
2040,
13,
288,
368,
1338,
2231,
584,
1089,
326,
1316,
261,
904,
364,
1728,
9401,
2733,
13,
1082,
202,
9565,
18,
7007,
4247,
2040,
12,
2730,
1769,
1082,
202,
21071,
21267,
4247,
2040,
273,
629,
31,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3526,
4247,
2040,
12,
2040,
1316,
13,
288,
202,
202,
430,
12,
21071,
21267,
4247,
2040,
13,
288,
368,
1338,
2231,
584,
1089,
326,
1316,
261,
904,
364,
1728,
9401,
2733,
13,
1082,
202,
9565,
18,
7007,
4247,
2040,
12,
2730,
1769,
1082,
202,
21071,
21267,
4247,
2040,
273,
629,
31,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
abstract public ObjectReference traceObject(TraceLocal trace, ObjectReference object);
|
abstract public ObjectReference traceObject(TraceLocal trace, ObjectReference object);
|
abstract public ObjectReference traceObject(TraceLocal trace, ObjectReference object);
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/30524c62fa391922d51289c03075f714c772951c/Space.java/buggy/MMTk/src/org/mmtk/policy/Space.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
8770,
1071,
31321,
2606,
921,
12,
3448,
2042,
2606,
16,
4766,
9079,
31321,
733,
1769,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
8770,
1071,
31321,
2606,
921,
12,
3448,
2042,
2606,
16,
4766,
9079,
31321,
733,
1769,
225,
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
] |
/* return stepped property */ return result.toString();
|
/* parent reference will have a dot on the end. Leave it off */ if (result.charAt(result.length()-1) == '.') { return result.substring(0,result.length()-1); } else { return result.toString(); }
|
private static String getRelativeProperty(String property, String parent) { /* Special case... reference my parent's nested property. Otherwise impossible for things like indexed properties */ if ("./".equals(property) || "this/".equals(property)) { return parent; } /* remove the stepping from the property */ String stepping; /* isolate a parent reference */ if (property.endsWith("/")) { stepping = property; property = ""; } else { stepping = property.substring(0,property.lastIndexOf('/')+1); /* isolate the property */ property = property.substring(property.lastIndexOf('/')+1,property.length()); } if (stepping.startsWith("/")) { /* return from root */ return property; } else { /* tokenize the nested property */ StringTokenizer proT = new StringTokenizer(parent, "."); int propCount = proT.countTokens(); /* tokenize the stepping */ StringTokenizer strT = new StringTokenizer(stepping, "/"); int count = strT.countTokens(); if (count >= propCount) { /* return from root */ return property; } else { /* append the tokens up to the token difference */ count = propCount - count; StringBuffer result = new StringBuffer(); for (int i = 0; i < count; i++) { result.append(proT.nextToken()); /* don't place dot if there's no property to append afterwards (for parent referencing) */ if ((i == (count-1)) && (property.length() > 0)) { result.append('.'); } } result.append(property); /* return stepped property */ return result.toString(); } } }
|
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/7561663f3f32928f8ab09c68a572b13fd93268bb/NestedPropertyHelper.java/clean/src/share/org/apache/struts/taglib/nested/NestedPropertyHelper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
514,
336,
8574,
1396,
12,
780,
1272,
16,
514,
982,
13,
288,
3639,
1748,
13409,
648,
2777,
2114,
3399,
982,
1807,
4764,
1272,
18,
4202,
5272,
23343,
364,
9198,
3007,
8808,
1790,
1195,
565,
309,
7566,
18,
4898,
18,
14963,
12,
4468,
13,
747,
315,
2211,
4898,
18,
14963,
12,
4468,
3719,
288,
1377,
327,
982,
31,
565,
289,
565,
1748,
1206,
326,
2235,
1382,
628,
326,
1272,
1195,
565,
514,
2235,
1382,
31,
3639,
1748,
30630,
279,
982,
2114,
1195,
565,
309,
261,
4468,
18,
5839,
1190,
2932,
4898,
3719,
288,
1377,
2235,
1382,
273,
1272,
31,
1377,
1272,
273,
1408,
31,
565,
289,
469,
288,
1377,
2235,
1382,
273,
1272,
18,
28023,
12,
20,
16,
4468,
18,
2722,
31985,
2668,
2473,
27921,
21,
1769,
1377,
1748,
30630,
326,
1272,
1195,
1377,
1272,
273,
1272,
18,
28023,
12,
4468,
18,
2722,
31985,
2668,
2473,
27921,
21,
16,
4468,
18,
2469,
10663,
565,
289,
3639,
309,
261,
4119,
1382,
18,
17514,
1190,
2932,
4898,
3719,
288,
1377,
1748,
327,
628,
1365,
1195,
1377,
327,
1272,
31,
565,
289,
469,
288,
1377,
1748,
13672,
326,
4764,
1272,
1195,
1377,
16370,
450,
56,
273,
394,
16370,
12,
2938,
16,
4585,
1769,
1377,
509,
2270,
1380,
273,
450,
56,
18,
1883,
5157,
5621,
1377,
1748,
13672,
326,
2235,
1382,
1195,
1377,
16370,
609,
56,
273,
394,
16370,
12,
4119,
1382,
16,
4016,
1769,
1377,
509,
1056,
273,
609,
56,
18,
1883,
5157,
5621,
5411,
309,
261,
1883,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
514,
336,
8574,
1396,
12,
780,
1272,
16,
514,
982,
13,
288,
3639,
1748,
13409,
648,
2777,
2114,
3399,
982,
1807,
4764,
1272,
18,
4202,
5272,
23343,
364,
9198,
3007,
8808,
1790,
1195,
565,
309,
7566,
18,
4898,
18,
14963,
12,
4468,
13,
747,
315,
2211,
4898,
18,
14963,
12,
4468,
3719,
288,
1377,
327,
982,
31,
565,
289,
565,
1748,
1206,
326,
2235,
1382,
628,
326,
1272,
1195,
565,
514,
2235,
1382,
31,
3639,
1748,
30630,
279,
982,
2114,
1195,
565,
309,
261,
4468,
18,
5839,
1190,
2932,
4898,
3719,
288,
1377,
2235,
1382,
273,
1272,
31,
1377,
1272,
273,
1408,
31,
565,
289,
469,
288,
1377,
2235,
1382,
273,
1272,
18,
28023,
12,
20,
2
] |
private Map<String, String> getCharacterLevelHashMap(final int maxCharacterLevel)
|
private Map<String, String> getCharacterLevelHashMap( final int maxCharacterLevel)
|
private Map<String, String> getCharacterLevelHashMap(final int maxCharacterLevel) { final Map<String, String> lvlMap = new HashMap<String, String>(); int characterLevels=0; for (int i = 0; i < getLevelInfoSize(); ++i) { final String classKeyName = getLevelInfoClassKeyName(i); final PCClass aClass = Globals.getClassKeyed(classKeyName); if (aClass.isMonster() || characterLevels<maxCharacterLevel) { // we can use this class level if it is a monster level, or if // we have not yet hit our maximum number of characterLevels String val = lvlMap.get(classKeyName); if (val == null) { val = "0"; } val = String.valueOf(Integer.parseInt(val) + 1); lvlMap.put(classKeyName, val); } if (!aClass.isMonster()) { // If the class level was not a monster level then it counts // towards the total number of character levels characterLevels++; } } return lvlMap; }
|
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/376816acf8bf134fa77bd6ea5c602dbe9af9bfbd/PlayerCharacter.java/clean/code/src/java/pcgen/core/PlayerCharacter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1635,
32,
780,
16,
514,
34,
31306,
2355,
8658,
12,
6385,
509,
943,
7069,
2355,
13,
202,
95,
202,
202,
6385,
1635,
32,
780,
16,
514,
34,
14864,
863,
273,
394,
4317,
32,
780,
16,
514,
34,
5621,
202,
202,
474,
3351,
12240,
33,
20,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
17236,
966,
1225,
5621,
965,
77,
13,
202,
202,
95,
1082,
202,
6385,
514,
667,
13987,
273,
17236,
966,
797,
13987,
12,
77,
1769,
1082,
202,
6385,
26300,
797,
20148,
273,
18901,
1031,
18,
588,
797,
653,
329,
12,
1106,
13987,
1769,
1082,
202,
430,
261,
69,
797,
18,
291,
11415,
8190,
1435,
747,
3351,
12240,
32,
1896,
7069,
2355,
13,
288,
9506,
202,
759,
732,
848,
999,
333,
667,
1801,
309,
518,
353,
279,
6921,
8190,
1801,
16,
578,
309,
9506,
202,
759,
732,
1240,
486,
4671,
6800,
3134,
4207,
1300,
434,
3351,
12240,
9506,
202,
780,
1244,
273,
14864,
863,
18,
588,
12,
1106,
13987,
1769,
9506,
202,
430,
261,
1125,
422,
446,
13,
9506,
202,
95,
6862,
202,
1125,
273,
315,
20,
14432,
9506,
202,
97,
9506,
202,
1125,
273,
514,
18,
1132,
951,
12,
4522,
18,
2670,
1702,
12,
1125,
13,
397,
404,
1769,
9506,
202,
25748,
863,
18,
458,
12,
1106,
13987,
16,
1244,
1769,
1082,
202,
97,
1082,
202,
430,
16051,
69,
797,
18,
291,
11415,
8190,
10756,
288,
9506,
202,
759,
971,
326,
667,
1801,
1703,
486,
279,
6921,
8190,
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,
1635,
32,
780,
16,
514,
34,
31306,
2355,
8658,
12,
6385,
509,
943,
7069,
2355,
13,
202,
95,
202,
202,
6385,
1635,
32,
780,
16,
514,
34,
14864,
863,
273,
394,
4317,
32,
780,
16,
514,
34,
5621,
202,
202,
474,
3351,
12240,
33,
20,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
17236,
966,
1225,
5621,
965,
77,
13,
202,
202,
95,
1082,
202,
6385,
514,
667,
13987,
273,
17236,
966,
797,
13987,
12,
77,
1769,
1082,
202,
6385,
26300,
797,
20148,
273,
18901,
1031,
18,
588,
797,
653,
329,
12,
1106,
13987,
1769,
1082,
202,
430,
261,
69,
797,
18,
291,
11415,
8190,
1435,
747,
3351,
12240,
32,
1896,
7069,
2
] |
LiteralResolver literalResolver = LiteralResolver.getResolver(); return literalResolver.getDefinition(TokenTypes.LITERAL_BOOLEAN);
|
return LiteralResolver.getDefinition(TokenTypes.LITERAL_BOOLEAN);
|
private IClass resolveInstanceOf( SymTabAST expression, Scope location, IClass context, boolean referencePhase) { SymTabAST leftNode = (SymTabAST) (expression.getFirstChild()); SymTabAST rightNode = (SymTabAST) (leftNode.getNextSibling()); resolveExpression(leftNode, location, context, referencePhase); SymTabAST classNameNode = (SymTabAST) (rightNode.getFirstChild()); resolveClass(classNameNode, location, context, referencePhase); LiteralResolver literalResolver = LiteralResolver.getResolver(); return literalResolver.getDefinition(TokenTypes.LITERAL_BOOLEAN); }
|
50482 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50482/4ba6c36f0448ccc1c0a252e5455d97f8f872a02b/Resolver.java/buggy/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/Resolver.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
467,
797,
2245,
1442,
951,
12,
3639,
10042,
5661,
9053,
2652,
16,
3639,
5468,
2117,
16,
3639,
467,
797,
819,
16,
3639,
1250,
2114,
11406,
13,
288,
3639,
10042,
5661,
9053,
2002,
907,
273,
261,
11901,
5661,
9053,
13,
261,
8692,
18,
588,
3759,
1763,
10663,
3639,
10042,
5661,
9053,
2145,
907,
273,
261,
11901,
5661,
9053,
13,
261,
4482,
907,
18,
588,
2134,
10291,
10663,
3639,
2245,
2300,
12,
4482,
907,
16,
2117,
16,
819,
16,
2114,
11406,
1769,
3639,
10042,
5661,
9053,
2658,
907,
273,
261,
11901,
5661,
9053,
13,
261,
4083,
907,
18,
588,
3759,
1763,
10663,
3639,
2245,
797,
12,
12434,
907,
16,
2117,
16,
819,
16,
2114,
11406,
1769,
3639,
14392,
4301,
7158,
4301,
273,
14392,
4301,
18,
588,
4301,
5621,
3639,
327,
7158,
4301,
18,
588,
1852,
12,
1345,
2016,
18,
23225,
67,
17900,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
467,
797,
2245,
1442,
951,
12,
3639,
10042,
5661,
9053,
2652,
16,
3639,
5468,
2117,
16,
3639,
467,
797,
819,
16,
3639,
1250,
2114,
11406,
13,
288,
3639,
10042,
5661,
9053,
2002,
907,
273,
261,
11901,
5661,
9053,
13,
261,
8692,
18,
588,
3759,
1763,
10663,
3639,
10042,
5661,
9053,
2145,
907,
273,
261,
11901,
5661,
9053,
13,
261,
4482,
907,
18,
588,
2134,
10291,
10663,
3639,
2245,
2300,
12,
4482,
907,
16,
2117,
16,
819,
16,
2114,
11406,
1769,
3639,
10042,
5661,
9053,
2658,
907,
273,
261,
11901,
5661,
9053,
13,
261,
4083,
907,
18,
588,
3759,
1763,
10663,
3639,
2245,
797,
12,
12434,
907,
16,
2117,
16,
819,
16,
2114,
11406,
1769,
3639,
14392,
4301,
2
] |
Logger.trace("StendhalClient::StendhalPerceptionListener::onDeleted","D","Object("+object.getID()+") added to Static Objects container");
|
Logger.trace("StendhalClient::StendhalPerceptionListener::onDeleted","D","Object("+object.getID()+") removed from Static Objects container");
|
public boolean onDeleted(RPObject object) { try { Logger.trace("StendhalClient::StendhalPerceptionListener::onDeleted","D","Object("+object.getID()+") added to Static Objects container"); gameObjects.remove(object.getID()); } catch(Exception e) { Logger.thrown("StendhalClient::StendhalPerceptionListener::onDeleted","X",e); } return false; }
|
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/569d373814eefd5cf94a332749c854d57df7d2a7/StendhalClient.java/clean/src/games/stendhal/client/StendhalClient.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
603,
7977,
12,
54,
52,
921,
733,
13,
1377,
288,
1377,
775,
3639,
288,
3639,
4242,
18,
5129,
2932,
510,
409,
22314,
1227,
2866,
510,
409,
22314,
2173,
472,
2223,
2866,
265,
7977,
15937,
40,
15937,
921,
2932,
15,
1612,
18,
588,
734,
1435,
15,
7923,
3723,
628,
10901,
8487,
1478,
8863,
3639,
7920,
4710,
18,
4479,
12,
1612,
18,
588,
734,
10663,
3639,
289,
1377,
1044,
12,
503,
425,
13,
3639,
288,
3639,
4242,
18,
12849,
82,
2932,
510,
409,
22314,
1227,
2866,
510,
409,
22314,
2173,
472,
2223,
2866,
265,
7977,
15937,
60,
3113,
73,
1769,
3639,
289,
1377,
327,
629,
31,
1377,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
603,
7977,
12,
54,
52,
921,
733,
13,
1377,
288,
1377,
775,
3639,
288,
3639,
4242,
18,
5129,
2932,
510,
409,
22314,
1227,
2866,
510,
409,
22314,
2173,
472,
2223,
2866,
265,
7977,
15937,
40,
15937,
921,
2932,
15,
1612,
18,
588,
734,
1435,
15,
7923,
3723,
628,
10901,
8487,
1478,
8863,
3639,
7920,
4710,
18,
4479,
12,
1612,
18,
588,
734,
10663,
3639,
289,
1377,
1044,
12,
503,
425,
13,
3639,
288,
3639,
4242,
18,
12849,
82,
2932,
510,
409,
22314,
1227,
2866,
510,
409,
22314,
2173,
472,
2223,
2866,
265,
7977,
15937,
60,
3113,
73,
1769,
3639,
289,
1377,
327,
629,
31,
1377,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} else if ( "right".equals( imageDomainObject.getAlign() ) ) {
|
} else if ( "right".equals( image.getAlign() ) ) {
|
public void doGet( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { String metaIdStr = req.getParameter( "meta_id" ); int meta_id = Integer.parseInt( metaIdStr ); UserDomainObject user = Utility.getLoggedOnUser( req ); // Check if user has write rights IMCServiceInterface imcref = ApplicationServer.getIMCServiceInterface(); if ( !imcref.checkDocAdminRights( meta_id, user ) ) { Utility.redirectToStartDocument( req, res ); return; } int widthFromFile = 0; int heightFromFile = 0; DocumentMapper documentMapper = imcref.getDocumentMapper() ; ImageDomainObject imageDomainObject = documentMapper.getDocumentImage( meta_id, getImageNumberParam( req ) ); String imageFileDocumentId = "dummy text"; if( null != imageDomainObject && ImageDomainObject.FILE_DOCUMENT_IMAGE_TYPE == imageDomainObject.getType() ) { imageFileDocumentId = imageDomainObject.getUrl(); } boolean fileImageDocumentChoosen = false; REQUEST_PARAM__TO_FROM_IMAGE_ARCHIVE = imagArchiveToFrom = "GotoImageArchive"; String toFromImageArchive = req.getParameter( imagArchiveToFrom ); if( null != toFromImageArchive ) { ImageArchive imageArhive = (ImageArchive) ImageArchive.getInstance( req ); if ( !imageArhive.isImageSelected() ) { imageArhive.setForwardReturnUrl( "ChangeImage?meta_id=" + req.getParameter("meta_id") + "&img=" + getImageNumberParam(req) + "&label=" + req.getParameter( "label" ) + "&" + REQUEST_PARAM__TO_FROM_IMAGE_ARCHIVE + "=" + toFromImageArchive ); imageArhive.forward( req, res ); } else { FileDocumentDomainObject imageFileDocument = imageArhive.getSelectedImage(); if( null != imageFileDocument ) { fileImageDocumentChoosen = true; imageFileDocumentId = ""+imageFileDocument.getId(); ImageFileMetaData imageFileMetaData = new ImageFileMetaData( imageFileDocument.getInputStreamSource().getInputStream(), imageFileDocument.getFilename() ); widthFromFile = imageFileMetaData.getWidth(); heightFromFile = imageFileMetaData.getHeight(); } } } File image_path = Utility.getDomainPrefPath( "image_path" ); List imageFolders = GetImages.getImageFolders( image_path, true ); imageFolders.add( 0, image_path ); HttpSession session = req.getSession( true ); StringBuffer folderOptions = createImageFolderOptionList(imageFolders,image_path); session.setAttribute( "imageFolderOptionList", folderOptions.toString() ); String browsedImageUrl = getChoosenImageFromImageBrowse( req ); String imageUrl = ( "".equals( browsedImageUrl ) && null != imageDomainObject ? imageDomainObject.getUrl() : browsedImageUrl ); // selected OPTION or "" File imageFile = new File( image_path, imageUrl ); if (imageFile.isFile()) { ImageFileMetaData imageFileMetaData = new ImageFileMetaData( new FileInputStream(imageFile), imageUrl ); widthFromFile = imageFileMetaData.getWidth(); heightFromFile = imageFileMetaData.getHeight(); } Vector vec = new Vector(); boolean useFileData = null == imageDomainObject; if ( useFileData ) { vec.add( "#imgName#" ); vec.add( "" ); vec.add( "#imgRef#" ); vec.add( imageUrl ); vec.add( "#imgWidth#" ); vec.add( "" + widthFromFile ); vec.add( "#imgHeight#" ); vec.add( "" + heightFromFile ); vec.add( "#origW#" ); vec.add( "" + widthFromFile ); vec.add( "#origH#" ); vec.add( "" + heightFromFile ); vec.add( "#imgBorder#" ); vec.add( "0" ); vec.add( "#imgVerticalSpace#" ); vec.add( "0" ); vec.add( "#imgHorizontalSpace#" ); vec.add( "0" ); vec.add( "#target_name#" ); vec.add( "" ); vec.add( "#self_checked#" ); vec.add( "selected" ); vec.add( "#top_selected#" ); vec.add( "selected" ); vec.add( "#imgAltText#" ); vec.add( "" ); vec.add( "#imgLowScr#" ); vec.add( "" ); vec.add( "#imgRefLink#" ); vec.add( "" ); } else { int current_width = 0; try { current_width = "".equals( browsedImageUrl ) ? imageDomainObject.getWidth() : widthFromFile; } catch ( NumberFormatException ex ) { } int current_height = 0; try { current_height = "".equals( browsedImageUrl ) ? imageDomainObject.getHeight() : heightFromFile; } catch ( NumberFormatException ex ) { } int aspect = 0; if ( current_width * current_height != 0 ) { aspect = 100 * current_width / current_height; } String keepAspect = "checked"; if ( widthFromFile * heightFromFile != 0 && aspect != ( 100 * widthFromFile / heightFromFile ) ) { keepAspect = ""; } vec.add( "#imgName#" ); vec.add( HTMLConv.toHTMLSpecial(imageDomainObject.getName())); vec.add( "#imgRef#" ); vec.add( HTMLConv.toHTMLSpecial(imageUrl)); vec.add( "#imgWidth#" ); vec.add( current_width != 0 ? "" + current_width : "" + widthFromFile ); vec.add( "#origW#" ); // original imageWidth vec.add( "" + widthFromFile ); vec.add( "#imgHeight#" ); vec.add( current_height != 0 ? "" + current_height : "" + heightFromFile ); vec.add( "#origH#" ); vec.add( "" + heightFromFile ); // original imageHeight vec.add( "#keep_aspect#" ); vec.add( keepAspect ); vec.add( "#imgBorder#" ); vec.add( ""+imageDomainObject.getBorder() ); vec.add( "#imgVerticalSpace#" ); vec.add( ""+imageDomainObject.getVerticalSpace() ); vec.add( "#imgHorizontalSpace#" ); vec.add( ""+imageDomainObject.getHorizontalSpace() ); if ( "_top".equals( imageDomainObject.getTarget() ) ) { vec.add( "#target_name#" ); vec.add( "" ); vec.add( "#top_checked#" ); } else if ( "_self".equals( imageDomainObject.getTarget() ) ) { vec.add( "#target_name#" ); vec.add( "" ); vec.add( "#self_checked#" ); } else if ( "_blank".equals( imageDomainObject.getTarget() ) ) { vec.add( "#target_name#" ); vec.add( "" ); vec.add( "#blank_checked#" ); } else if ( "_parent".equals( imageDomainObject.getTarget() ) ) { vec.add( "#target_name#" ); vec.add( "" ); vec.add( "#blank_checked#" ); } else { vec.add( "#target_name#" ); vec.add( imageDomainObject.getTarget() ); vec.add( "#other_checked#" ); } vec.add( "selected" ); if ( "baseline".equals( imageDomainObject.getAlign() ) ) { vec.add( "#baseline_selected#" ); } else if ( "top".equals( imageDomainObject.getAlign() ) ) { vec.add( "#top_selected#" ); } else if ( "middle".equals( imageDomainObject.getAlign() ) ) { vec.add( "#middle_selected#" ); } else if ( "bottom".equals( imageDomainObject.getAlign() ) ) { vec.add( "#bottom_selected#" ); } else if ( "texttop".equals( imageDomainObject.getAlign() ) ) { vec.add( "#texttop_selected#" ); } else if ( "absmiddle".equals( imageDomainObject.getAlign() ) ) { vec.add( "#absmiddle_selected#" ); } else if ( "absbottom".equals( imageDomainObject.getAlign() ) ) { vec.add( "#absbottom_selected#" ); } else if ( "left".equals( imageDomainObject.getAlign() ) ) { vec.add( "#left_selected#" ); } else if ( "right".equals( imageDomainObject.getAlign() ) ) { vec.add( "#right_selected#" ); } else { vec.add( "#none_selected#" ); } vec.add( "selected" ); vec.add( "#imgAltText#" ); vec.add( imageDomainObject.getAlternateText()); vec.add( "#imgLowScr#" ); vec.add( imageDomainObject.getLowResolutionUrl() ); vec.add( "#imgRefLink#" ); vec.add( imageDomainObject.getLinkUrl() ); } vec.add( "#imgUrl#" ); vec.add( imcref.getImageUrl() ); vec.add( "#getMetaId#" ); vec.add( String.valueOf( meta_id ) ); vec.add( "#img_no#" ); vec.add( String.valueOf( getImageNumberParam( req ) ) ); vec.add( "#folders#" ); vec.add( folderOptions.toString() ); vec.add( "#label#" ); vec.add( getLabelParam( req ) ); vec.add( "#"+REQUEST_PARAM__IMAGE_FILE_DOCUMENT_ID+"#" ); vec.add( imageFileDocumentId ); String htmlStr = imcref.getAdminTemplate( "change_img.html", user, vec ); Utility.setDefaultHtmlContentType( res ); PrintWriter out = res.getWriter(); out.print( htmlStr ); }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/b24fc78e5c2dd9532c7e22c62b4f1d46bc95b744/ChangeImage.java/clean/server/src/com/imcode/imcms/servlet/admin/ChangeImage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23611,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
3639,
514,
2191,
548,
1585,
273,
1111,
18,
588,
1662,
12,
315,
3901,
67,
350,
6,
11272,
3639,
509,
2191,
67,
350,
273,
2144,
18,
2670,
1702,
12,
2191,
548,
1585,
11272,
3639,
2177,
3748,
921,
729,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
1111,
11272,
3639,
368,
2073,
309,
729,
711,
1045,
14989,
3639,
6246,
39,
18348,
709,
71,
1734,
273,
4257,
2081,
18,
588,
3445,
39,
18348,
5621,
3639,
309,
261,
401,
381,
71,
1734,
18,
1893,
1759,
4446,
18464,
12,
2191,
67,
350,
16,
729,
262,
262,
288,
5411,
13134,
18,
7590,
28939,
2519,
12,
1111,
16,
400,
11272,
5411,
327,
31,
3639,
289,
3639,
509,
1835,
13087,
273,
374,
31,
3639,
509,
2072,
13087,
273,
374,
31,
3639,
4319,
4597,
1668,
4597,
273,
709,
71,
1734,
18,
588,
2519,
4597,
1435,
274,
3639,
3421,
3748,
921,
1316,
3748,
921,
273,
1668,
4597,
18,
588,
2519,
2040,
12,
2191,
67,
350,
16,
10567,
1854,
786,
12,
1111,
262,
11272,
3639,
514,
31146,
2519,
548,
273,
315,
21050,
977,
14432,
3639,
309,
12,
446,
480,
1316,
3748,
921,
597,
3421,
3748,
921,
18,
3776,
67,
18450,
67,
13603,
67,
2399,
422,
1316,
3748,
921,
18,
588,
559,
1435,
262,
288,
5411,
31146,
2519,
548,
273,
1316,
3748,
921,
18,
588,
1489,
5621,
3639,
289,
3639,
1250,
585,
2040,
2519,
9636,
8918,
273,
629,
31,
3639,
12492,
67,
8388,
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,
23611,
12,
9984,
1111,
16,
12446,
400,
262,
1216,
16517,
16,
1860,
288,
3639,
514,
2191,
548,
1585,
273,
1111,
18,
588,
1662,
12,
315,
3901,
67,
350,
6,
11272,
3639,
509,
2191,
67,
350,
273,
2144,
18,
2670,
1702,
12,
2191,
548,
1585,
11272,
3639,
2177,
3748,
921,
729,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
1111,
11272,
3639,
368,
2073,
309,
729,
711,
1045,
14989,
3639,
6246,
39,
18348,
709,
71,
1734,
273,
4257,
2081,
18,
588,
3445,
39,
18348,
5621,
3639,
309,
261,
401,
381,
71,
1734,
18,
1893,
1759,
4446,
18464,
12,
2191,
67,
350,
16,
729,
262,
262,
288,
5411,
13134,
18,
7590,
28939,
2519,
12,
1111,
16,
400,
11272,
2
] |
Location result = (Location) ((ResultsRow) cl.findLocations(Chromosome.class, Contig.class).next()).get(2);
|
Iterator chrContigIter = CalculateLocations.findLocations(osw.getObjectStore(), Chromosome.class, Contig.class); Location result = (Location) ((ResultsRow) chrContigIter.next()).get(2);
|
public void testContigToSupercontig() throws Exception { Set toStore = new HashSet(Arrays.asList(new Object[] {getChromosome(), getChromosomeBand(), getBandOnChr()})); Supercontig sc = (Supercontig) DynamicUtil.createObject(Collections.singleton(Supercontig.class)); Contig c = (Contig) DynamicUtil.createObject(Collections.singleton(Contig.class)); sc.setId(new Integer(104)); c.setId(new Integer(105)); Location scOnChr = createLocation(getChromosome(), sc, 1, 1201, 1600); Location contigOnSc = createLocation(sc, c, 1, 101, 350); toStore.add(sc); toStore.add(c); toStore.add(scOnChr); toStore.add(contigOnSc); //Source source = iw.getMainSource("genomic-test"); //Source skelSource = iw.getSkeletonSource("genomic-test"); Iterator i = toStore.iterator(); while (i.hasNext()) { osw.store((InterMineObject) i.next()); } CalculateLocations cl = new CalculateLocations(osw); cl.createLocations(); // test contig location on chromosome Location expected = createLocation(getChromosome(), c, 1, 1301, 1550); expected.setId(new Integer(0)); Item expItem = FullRenderer.toItem(expected, model); Location result = (Location) ((ResultsRow) cl.findLocations(Chromosome.class, Contig.class).next()).get(2); Item resItem = FullRenderer.toItem(result, model); resItem.setIdentifier("0"); assertEquals(expItem, resItem); // test contig location on ChromosomeBand expected = createLocation(getChromosomeBand(), c, 1, 301, 550); expected.setId(new Integer(0)); expItem = FullRenderer.toItem(expected, model); result = (Location) ((ResultsRow) cl.findLocations(ChromosomeBand.class, Contig.class).next()).get(2); resItem = FullRenderer.toItem(result, model); resItem.setIdentifier("0"); assertEquals(expItem, resItem); }
|
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/29227f0ba7639e148be613907fd5e8178603c022/CalculateLocationsTest.java/clean/flymine/model/genomic/src/test/org/flymine/postprocess/CalculateLocationsTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
660,
360,
774,
8051,
26075,
1435,
1216,
1185,
288,
3639,
1000,
358,
2257,
273,
394,
6847,
12,
12726,
18,
345,
682,
12,
2704,
1033,
8526,
288,
588,
30761,
16958,
9334,
336,
30761,
16958,
14231,
9334,
2882,
464,
1398,
782,
86,
1435,
6792,
1769,
3639,
14845,
26075,
888,
273,
261,
8051,
26075,
13,
12208,
1304,
18,
2640,
921,
12,
15150,
18,
24487,
12,
8051,
26075,
18,
1106,
10019,
3639,
1816,
360,
276,
273,
261,
660,
360,
13,
12208,
1304,
18,
2640,
921,
12,
15150,
18,
24487,
12,
660,
360,
18,
1106,
10019,
3639,
888,
18,
542,
548,
12,
2704,
2144,
12,
21869,
10019,
3639,
276,
18,
542,
548,
12,
2704,
2144,
12,
21661,
10019,
3639,
7050,
888,
1398,
782,
86,
273,
752,
2735,
12,
588,
30761,
16958,
9334,
888,
16,
404,
16,
2593,
1611,
16,
2872,
713,
1769,
3639,
7050,
15872,
1398,
1541,
273,
752,
2735,
12,
1017,
16,
276,
16,
404,
16,
13822,
16,
890,
3361,
1769,
3639,
358,
2257,
18,
1289,
12,
1017,
1769,
3639,
358,
2257,
18,
1289,
12,
71,
1769,
3639,
358,
2257,
18,
1289,
12,
1017,
1398,
782,
86,
1769,
3639,
358,
2257,
18,
1289,
12,
26075,
1398,
1541,
1769,
3639,
368,
1830,
1084,
273,
25522,
18,
588,
6376,
1830,
2932,
4507,
24721,
17,
3813,
8863,
3639,
368,
1830,
4343,
292,
1830,
273,
25522,
18,
588,
28070,
1830,
2932,
4507,
24721,
17,
3813,
8863,
3639,
4498,
277,
273,
358,
2257,
18,
9838,
5621,
3639,
1323,
261,
77,
18,
5332,
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,
660,
360,
774,
8051,
26075,
1435,
1216,
1185,
288,
3639,
1000,
358,
2257,
273,
394,
6847,
12,
12726,
18,
345,
682,
12,
2704,
1033,
8526,
288,
588,
30761,
16958,
9334,
336,
30761,
16958,
14231,
9334,
2882,
464,
1398,
782,
86,
1435,
6792,
1769,
3639,
14845,
26075,
888,
273,
261,
8051,
26075,
13,
12208,
1304,
18,
2640,
921,
12,
15150,
18,
24487,
12,
8051,
26075,
18,
1106,
10019,
3639,
1816,
360,
276,
273,
261,
660,
360,
13,
12208,
1304,
18,
2640,
921,
12,
15150,
18,
24487,
12,
660,
360,
18,
1106,
10019,
3639,
888,
18,
542,
548,
12,
2704,
2144,
12,
21869,
10019,
3639,
276,
18,
542,
548,
12,
2704,
2144,
12,
21661,
10019,
3639,
7050,
2
] |
Entry[] dictEntries = dictDB.getDictionaryEntry("qsar-descriptors");
|
Entry[] dictEntries = dict.getEntries();
|
public String[] getDictionaryClass(String identifier) { Entry[] dictEntries = dictDB.getDictionaryEntry("qsar-descriptors"); String specRef = null; // see if we got a descriptors java class name for (int i = 0; i < classNames.size(); i++) { String className = (String) classNames.get(i); if (className.equals(identifier)) { Descriptor descriptor = (Descriptor) descriptors.get(i); DescriptorSpecification descSpecification = descriptor.getSpecification(); specRef = descSpecification.getSpecificationReference(); } } // if we are here and specRef==null we have a SpecificationReference if (specRef == null) { String[] tmp = identifier.split(":"); specRef = tmp[2]; } List dictClasses = new ArrayList(); for (int j = 0; j < dictEntries.length; j++) { if (dictEntries[j].getID().equals(specRef.toLowerCase())) { Vector metaData = dictEntries[j].getDescriptorMetadata(); for (Iterator iter = metaData.iterator(); iter.hasNext();) { String[] values = ((String) iter.next()).split("/"); if (values.length != 2) continue; if (!values[0].startsWith("qsar-descriptors-metadata") || !values[1].startsWith("qsar-descriptors-metadata")) continue; String[] dictRef = values[0].split(":"); String[] content = values[1].split(":"); if (dictRef[1].equals("descriptorClass")) dictClasses.add(content[1]); } } } if (dictClasses.size() == 0) return null; else return (String[]) dictClasses.toArray(new String[]{}); }
|
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/90380ea944ebec04e11a1f3fdf790dfa621c90fd/DescriptorEngine.java/clean/src/org/openscience/cdk/qsar/DescriptorEngine.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
2343,
3192,
797,
12,
780,
2756,
13,
288,
4202,
3841,
8526,
2065,
5400,
273,
2065,
18,
588,
5400,
5621,
3639,
514,
857,
1957,
273,
446,
31,
3639,
368,
2621,
309,
732,
2363,
279,
14215,
2252,
667,
508,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
19407,
18,
1467,
5621,
277,
27245,
288,
5411,
514,
2658,
273,
261,
780,
13,
19407,
18,
588,
12,
77,
1769,
5411,
309,
261,
12434,
18,
14963,
12,
5644,
3719,
288,
7734,
12823,
4950,
273,
261,
3187,
13,
14215,
18,
588,
12,
77,
1769,
7734,
12823,
8615,
3044,
8615,
273,
4950,
18,
588,
8615,
5621,
7734,
857,
1957,
273,
3044,
8615,
18,
588,
8615,
2404,
5621,
5411,
289,
3639,
289,
3639,
368,
309,
732,
854,
2674,
471,
857,
1957,
631,
2011,
732,
1240,
279,
20000,
2404,
3639,
309,
261,
2793,
1957,
422,
446,
13,
288,
5411,
514,
8526,
1853,
273,
2756,
18,
4939,
2932,
2773,
1769,
5411,
857,
1957,
273,
1853,
63,
22,
15533,
3639,
289,
3639,
987,
2065,
4818,
273,
394,
2407,
5621,
3639,
364,
261,
474,
525,
273,
374,
31,
525,
411,
2065,
5400,
18,
2469,
31,
525,
27245,
288,
5411,
309,
261,
1576,
5400,
63,
78,
8009,
588,
734,
7675,
14963,
12,
2793,
1957,
18,
869,
5630,
1435,
3719,
288,
7734,
5589,
11651,
273,
2065,
5400,
63,
78,
8009,
588,
3187,
2277,
5621,
7734,
364,
261,
3198,
1400,
273,
11651,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
10792,
514,
8526,
924,
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,
8526,
2343,
3192,
797,
12,
780,
2756,
13,
288,
4202,
3841,
8526,
2065,
5400,
273,
2065,
18,
588,
5400,
5621,
3639,
514,
857,
1957,
273,
446,
31,
3639,
368,
2621,
309,
732,
2363,
279,
14215,
2252,
667,
508,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
19407,
18,
1467,
5621,
277,
27245,
288,
5411,
514,
2658,
273,
261,
780,
13,
19407,
18,
588,
12,
77,
1769,
5411,
309,
261,
12434,
18,
14963,
12,
5644,
3719,
288,
7734,
12823,
4950,
273,
261,
3187,
13,
14215,
18,
588,
12,
77,
1769,
7734,
12823,
8615,
3044,
8615,
273,
4950,
18,
588,
8615,
5621,
7734,
857,
1957,
273,
3044,
8615,
18,
588,
8615,
2404,
5621,
5411,
289,
3639,
2
] |
public static Timestamp toTimestamp(String s, ResultSet resultSet) throws SQLException { if (s == null) return null; boolean subsecond; //if string contains a '.' we have fractional seconds if (s.indexOf('.') == -1) { subsecond = false; } else { subsecond = true; } //here we are modifying the string from ISO format to a format java can understand //java expects timezone info as 'GMT-08:00' instead of '-08' in postgres ISO format //and java expects three digits if fractional seconds are present instead of two for postgres //so this code strips off timezone info and adds on the GMT+/-... //as well as adds a third digit for partial seconds if necessary synchronized (resultSet) { // We must be synchronized here incase more theads access the ResultSet // bad practice but possible. Anyhow this is to protect sbuf and // SimpleDateFormat objects // First time? if (resultSet.sbuf == null) resultSet.sbuf = new StringBuffer(); resultSet.sbuf.setLength(0); resultSet.sbuf.append(s); //we are looking to see if the backend has appended on a timezone. //currently postgresql will return +/-HH:MM or +/-HH for timezone offset //(i.e. -06, or +06:30, note the expectation of the leading zero for the //hours, and the use of the : for delimiter between hours and minutes) //if the backend ISO format changes in the future this code will //need to be changed as well char sub = resultSet.sbuf.charAt(resultSet.sbuf.length() - 3); if (sub == '+' || sub == '-') { //we have found timezone info of format +/-HH resultSet.sbuf.setLength(resultSet.sbuf.length() - 3); if (subsecond) { resultSet.sbuf.append('0').append("GMT").append(s.substring(s.length() - 3)).append(":00"); } else { resultSet.sbuf.append("GMT").append(s.substring(s.length() - 3)).append(":00"); } } else if (sub == ':') { //we may have found timezone info of format +/-HH:MM, or there is no //timezone info at all and this is the : preceding the seconds char sub2 = resultSet.sbuf.charAt(resultSet.sbuf.length() - 5); if (sub2 == '+' || sub2 == '-') { //we have found timezone info of format +/-HH:MM resultSet.sbuf.setLength(resultSet.sbuf.length() - 5); if (subsecond) { resultSet.sbuf.append('0').append("GMT").append(s.substring(s.length() - 5)); } else { resultSet.sbuf.append("GMT").append(s.substring(s.length() - 5)); } } else if (subsecond) { resultSet.sbuf.append('0'); } } else if (subsecond) { resultSet.sbuf.append('0'); } // could optimize this a tad to remove too many object creations... SimpleDateFormat df = null; if (resultSet.sbuf.length() > 23 && subsecond) { df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSSzzzzzzzzz"); } else if (resultSet.sbuf.length() > 23 && !subsecond) { df = new SimpleDateFormat("yyyy-MM-dd HH:mm:sszzzzzzzzz"); } else if (resultSet.sbuf.length() > 10 && subsecond) { df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); } else if (resultSet.sbuf.length() > 10 && !subsecond) { df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); } else { df = new SimpleDateFormat("yyyy-MM-dd"); } try { return new Timestamp(df.parse(resultSet.sbuf.toString()).getTime()); } catch (ParseException e) { throw new PSQLException("postgresql.res.badtimestamp", new Integer(e.getErrorOffset()), s); } } }
|
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/3dd85bcb08440bae6210114124aa0002a83c957c/ResultSet.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
282,
760,
282,
8159,
282,
358,
4921,
12,
780,
282,
272,
16,
282,
10842,
282,
12168,
13,
282,
1216,
282,
6483,
202,
95,
202,
202,
430,
282,
261,
87,
282,
422,
282,
446,
13,
1082,
202,
2463,
282,
446,
31,
202,
202,
6494,
282,
720,
8538,
31,
202,
202,
759,
430,
282,
533,
282,
1914,
282,
279,
282,
2611,
282,
732,
282,
1240,
282,
20462,
282,
3974,
202,
202,
430,
282,
261,
87,
18,
31806,
2668,
1093,
13,
282,
422,
282,
300,
21,
13,
202,
202,
95,
1082,
202,
1717,
8538,
282,
273,
282,
629,
31,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
1717,
8538,
282,
273,
282,
638,
31,
202,
202,
97,
202,
202,
759,
14852,
282,
732,
282,
854,
282,
21920,
282,
326,
282,
533,
282,
628,
282,
9351,
282,
740,
282,
358,
282,
279,
282,
740,
282,
2252,
282,
848,
282,
22413,
202,
202,
759,
6290,
282,
10999,
282,
6371,
282,
1123,
282,
487,
282,
296,
25315,
17,
6840,
30,
713,
11,
282,
3560,
282,
434,
282,
2400,
6840,
11,
282,
316,
282,
1603,
14107,
282,
9351,
282,
740,
202,
202,
759,
464,
282,
2252,
282,
10999,
282,
8925,
282,
6815,
282,
309,
282,
20462,
282,
3974,
282,
854,
282,
3430,
282,
3560,
282,
434,
282,
2795,
282,
364,
282,
1603,
14107,
202,
202,
759,
2048,
282,
333,
282,
981,
282,
2569,
87,
282,
3397,
282,
6371,
282,
1123,
282,
471,
282,
4831,
282,
603,
282,
326,
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,
282,
760,
282,
8159,
282,
358,
4921,
12,
780,
282,
272,
16,
282,
10842,
282,
12168,
13,
282,
1216,
282,
6483,
202,
95,
202,
202,
430,
282,
261,
87,
282,
422,
282,
446,
13,
1082,
202,
2463,
282,
446,
31,
202,
202,
6494,
282,
720,
8538,
31,
202,
202,
759,
430,
282,
533,
282,
1914,
282,
279,
282,
2611,
282,
732,
282,
1240,
282,
20462,
282,
3974,
202,
202,
430,
282,
261,
87,
18,
31806,
2668,
1093,
13,
282,
422,
282,
300,
21,
13,
202,
202,
95,
1082,
202,
1717,
8538,
282,
273,
282,
629,
31,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
1717,
8538,
282,
273,
282,
638,
31,
202,
202,
2
] |
||
return new LazyItemIterator(this, childIds);
|
*/ return new LazyItemIterator(this, parentState.getChildNodeEntries());
|
public synchronized NodeIterator getChildNodes(NodeId parentId) throws ItemNotFoundException, AccessDeniedException, RepositoryException { // check sanity of session session.checkIsAlive(); ItemState state = getItemState(parentId); if (!state.isNode()) { String msg = "can't list child nodes of property " + parentId; log.debug(msg); throw new RepositoryException(msg); } NodeState nodeState = (NodeState) state; ArrayList childIds = new ArrayList(); Iterator iter = nodeState.getChildNodeEntries().iterator(); while (iter.hasNext()) { ChildNodeEntry entry = (ChildNodeEntry) iter.next(); NodeId id = entry.getId(); // check read access if (session.getAccessManager().canRead(id)) { childIds.add(id); } } return new LazyItemIterator(this, childIds); }
|
48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/206660c09d3bf7815a84c9debbaa760eb284ce3d/ItemManagerImpl.java/buggy/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/ItemManagerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
2029,
3198,
23895,
12,
15883,
11582,
13,
5411,
1216,
4342,
3990,
16,
21665,
16,
13367,
288,
3639,
368,
866,
16267,
434,
1339,
3639,
1339,
18,
1893,
2520,
10608,
5621,
3639,
4342,
1119,
919,
273,
8143,
1119,
12,
2938,
548,
1769,
3639,
309,
16051,
2019,
18,
291,
907,
10756,
288,
5411,
514,
1234,
273,
315,
4169,
1404,
666,
1151,
2199,
434,
1272,
315,
397,
11582,
31,
5411,
613,
18,
4148,
12,
3576,
1769,
5411,
604,
394,
13367,
12,
3576,
1769,
3639,
289,
3639,
2029,
1119,
756,
1119,
273,
261,
907,
1119,
13,
919,
31,
3639,
2407,
1151,
2673,
273,
394,
2407,
5621,
3639,
4498,
1400,
273,
756,
1119,
18,
588,
25550,
5400,
7675,
9838,
5621,
3639,
1323,
261,
2165,
18,
5332,
2134,
10756,
288,
5411,
7451,
907,
1622,
1241,
273,
261,
25550,
1622,
13,
1400,
18,
4285,
5621,
5411,
2029,
548,
612,
273,
1241,
18,
26321,
5621,
5411,
368,
866,
855,
2006,
5411,
309,
261,
3184,
18,
588,
1862,
1318,
7675,
4169,
1994,
12,
350,
3719,
288,
7734,
1151,
2673,
18,
1289,
12,
350,
1769,
5411,
289,
3639,
289,
4202,
1195,
327,
394,
12805,
1180,
3198,
12,
2211,
16,
982,
1119,
18,
588,
25550,
5400,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
2029,
3198,
23895,
12,
15883,
11582,
13,
5411,
1216,
4342,
3990,
16,
21665,
16,
13367,
288,
3639,
368,
866,
16267,
434,
1339,
3639,
1339,
18,
1893,
2520,
10608,
5621,
3639,
4342,
1119,
919,
273,
8143,
1119,
12,
2938,
548,
1769,
3639,
309,
16051,
2019,
18,
291,
907,
10756,
288,
5411,
514,
1234,
273,
315,
4169,
1404,
666,
1151,
2199,
434,
1272,
315,
397,
11582,
31,
5411,
613,
18,
4148,
12,
3576,
1769,
5411,
604,
394,
13367,
12,
3576,
1769,
3639,
289,
3639,
2029,
1119,
756,
1119,
273,
261,
907,
1119,
13,
919,
31,
3639,
2407,
1151,
2673,
273,
394,
2407,
5621,
3639,
4498,
1400,
273,
756,
1119,
18,
588,
25550,
5400,
7675,
9838,
5621,
3639,
1323,
2
] |
WorkbenchPlugin.log("Unhandled Exception", new Status(IStatus.ERROR, "org.eclipse.ui", 0, "Unhandled Exception", exception));
|
WorkbenchPlugin.log("Unhandled Exception", new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID, 0, "Unhandled Exception", exception));
|
private void startPlugins() { Runnable work = new Runnable() { IPreferenceStore store = getPreferenceStore(); final String pref = store.getString(IPreferenceConstants.PLUGINS_NOT_ACTIVATED_ON_STARTUP); public void run() { IPluginDescriptor descriptors[] = getEarlyActivatedPlugins(); for (int i = 0; i < descriptors.length; i++) { final IPluginDescriptor pluginDescriptor = descriptors[i]; SafeRunnable code = new SafeRunnable() { public void run() throws Exception { String id = pluginDescriptor.getUniqueIdentifier() + IPreferenceConstants.SEPARATOR; if (pref.indexOf(id) < 0) { Plugin plugin = pluginDescriptor.getPlugin(); IStartup startup = (IStartup) plugin; startup.earlyStartup(); } } public void handleException(Throwable exception) { WorkbenchPlugin.log("Unhandled Exception", new Status(IStatus.ERROR, "org.eclipse.ui", 0, "Unhandled Exception", exception)); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ } }; Platform.run(code); } } }; Thread thread = new Thread(work); thread.start(); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/277bca9d9360ac6289e816d382f93cb4d776b9b2/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
787,
9461,
1435,
288,
202,
202,
20013,
1440,
273,
394,
10254,
1435,
288,
1082,
202,
45,
9624,
2257,
1707,
273,
336,
9624,
2257,
5621,
1082,
202,
6385,
514,
11307,
273,
1707,
18,
588,
780,
12,
45,
9624,
2918,
18,
19415,
55,
67,
4400,
67,
22271,
6344,
67,
673,
67,
7570,
3079,
1769,
1082,
202,
482,
918,
1086,
1435,
288,
9506,
202,
45,
3773,
3187,
14215,
8526,
273,
4774,
20279,
28724,
9461,
5621,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
14215,
18,
2469,
31,
277,
27245,
288,
6862,
202,
6385,
467,
3773,
3187,
1909,
3187,
273,
14215,
63,
77,
15533,
6862,
202,
9890,
20013,
981,
273,
394,
14060,
20013,
1435,
288,
25083,
202,
482,
918,
1086,
1435,
1216,
1185,
288,
6862,
1082,
202,
780,
612,
273,
1909,
3187,
18,
588,
6303,
3004,
1435,
397,
467,
9624,
2918,
18,
4550,
31,
6862,
1082,
202,
430,
261,
25724,
18,
31806,
12,
350,
13,
411,
374,
13,
288,
6862,
9506,
202,
3773,
1909,
273,
1909,
3187,
18,
588,
3773,
5621,
6862,
9506,
202,
45,
22178,
11850,
273,
261,
45,
22178,
13,
1909,
31,
6862,
9506,
202,
23939,
18,
2091,
715,
22178,
5621,
6862,
1082,
202,
97,
25083,
202,
97,
25083,
202,
482,
918,
20879,
12,
15155,
1520,
13,
288,
6862,
1082,
202,
2421,
22144,
3773,
18,
1330,
2932,
26952,
1185,
3113,
394,
2685,
12,
45,
1482,
18,
3589,
16,
11810,
5370,
18,
19415,
67,
734,
16,
374,
16,
315,
26952,
1185,
3113,
1520,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
787,
9461,
1435,
288,
202,
202,
20013,
1440,
273,
394,
10254,
1435,
288,
1082,
202,
45,
9624,
2257,
1707,
273,
336,
9624,
2257,
5621,
1082,
202,
6385,
514,
11307,
273,
1707,
18,
588,
780,
12,
45,
9624,
2918,
18,
19415,
55,
67,
4400,
67,
22271,
6344,
67,
673,
67,
7570,
3079,
1769,
1082,
202,
482,
918,
1086,
1435,
288,
9506,
202,
45,
3773,
3187,
14215,
8526,
273,
4774,
20279,
28724,
9461,
5621,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
14215,
18,
2469,
31,
277,
27245,
288,
6862,
202,
6385,
467,
3773,
3187,
1909,
3187,
273,
14215,
63,
77,
15533,
6862,
202,
9890,
20013,
981,
273,
394,
14060,
20013,
1435,
288,
25083,
2
] |
public NameValuePair[] get_members() throws InvalidValue
|
public NameValuePair[] get_members() throws InvalidValue
|
public NameValuePair[] get_members() throws InvalidValue { if (isNull) throw new InvalidValue(ISNULL); else return super.gnu_get_members(); }
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/0c6db14fe37c570414a6f9d9ea41538675363ecc/gnuDynValue.java/buggy/gnu/CORBA/DynAn/gnuDynValue.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1770,
20337,
8526,
336,
67,
7640,
1435,
17311,
1216,
1962,
620,
225,
288,
565,
309,
261,
291,
2041,
13,
1377,
604,
394,
1962,
620,
12,
5127,
8560,
1769,
565,
469,
1377,
327,
2240,
18,
1600,
89,
67,
588,
67,
7640,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
1770,
20337,
8526,
336,
67,
7640,
1435,
17311,
1216,
1962,
620,
225,
288,
565,
309,
261,
291,
2041,
13,
1377,
604,
394,
1962,
620,
12,
5127,
8560,
1769,
565,
469,
1377,
327,
2240,
18,
1600,
89,
67,
588,
67,
7640,
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
] |
throws TransformerConfigurationException {
|
throws TransformerConfigurationException {
|
public XMLFilter newXMLFilter(Source src) throws TransformerConfigurationException { Templates templates = newTemplates(src); if (templates == null ) return null; return newXMLFilter(templates); }
|
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/9fa52c94bb58eefc8b27b300e34d85f640d7f869/TransformerFactoryImpl.java/clean/src/org/apache/xalan/xsltc/trax/TransformerFactoryImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3167,
1586,
394,
4201,
1586,
12,
1830,
1705,
13,
225,
202,
15069,
11519,
10737,
288,
202,
8218,
5539,
273,
394,
8218,
12,
4816,
1769,
202,
430,
261,
8502,
422,
446,
262,
327,
446,
31,
225,
202,
2463,
394,
4201,
1586,
12,
8502,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3167,
1586,
394,
4201,
1586,
12,
1830,
1705,
13,
225,
202,
15069,
11519,
10737,
288,
202,
8218,
5539,
273,
394,
8218,
12,
4816,
1769,
202,
430,
261,
8502,
422,
446,
262,
327,
446,
31,
225,
202,
2463,
394,
4201,
1586,
12,
8502,
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
] |
ExceptionHandlerGUI exceptionHandlerGUI = new ExceptionHandlerGUI(message, e); return exceptionHandlerGUI;
|
ExceptionHandlerGUI exceptionHandlerGUI = new ExceptionHandlerGUI(message, e); return exceptionHandlerGUI;
|
public static ExceptionHandlerGUI getExceptionHandlerGUI(String message, Throwable e) { ExceptionHandlerGUI exceptionHandlerGUI = new ExceptionHandlerGUI(message, e); return exceptionHandlerGUI; }
|
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/a738f7dde30707da2d3ec160b500f00006922f28/ExceptionHandlerGUI.java/clean/src/edu/sc/seis/fissuresUtil/exceptionHandlerGUI/ExceptionHandlerGUI.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1185,
1503,
43,
5370,
17669,
1503,
43,
5370,
12,
780,
883,
16,
4206,
425,
13,
288,
202,
18894,
43,
5370,
1520,
1503,
43,
5370,
273,
394,
1185,
1503,
43,
5370,
12,
2150,
16,
425,
1769,
202,
2463,
1520,
1503,
43,
5370,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1185,
1503,
43,
5370,
17669,
1503,
43,
5370,
12,
780,
883,
16,
4206,
425,
13,
288,
202,
18894,
43,
5370,
1520,
1503,
43,
5370,
273,
394,
1185,
1503,
43,
5370,
12,
2150,
16,
425,
1769,
202,
2463,
1520,
1503,
43,
5370,
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
] |
Modification mod2 = new Modification(); mod2.type = "modified"; mod2.fileName = "build.xml"; mod2.folderName = "main";
|
Modification mod2 = new Modification("cvs"); Modification.ModifiedFile mod2file = mod2.createModifiedFile("build.xml", null); mod2file.action = "modified";
|
public void testParseStream() throws IOException, ParseException { CVS cvs = new CVS(); Hashtable emailAliases = new Hashtable(); emailAliases.put("alden", "alden@users.sourceforge.net"); emailAliases.put("tim", "tim@tim.net"); cvs.setMailAliases(emailAliases); BufferedInputStream input = new BufferedInputStream(loadTestLog("cvslog1-11.txt")); List modifications = cvs.parseStream(input); input.close(); Collections.sort(modifications); assertEquals( "Should have returned 5 modifications.", 5, modifications.size()); Modification mod1 = new Modification(); mod1.type = "modified"; mod1.fileName = "log4j.properties"; mod1.folderName = ""; mod1.revision = "1.2"; mod1.modifiedTime = createDate("2002/03/13 13:45:50 GMT-6:00"); mod1.userName = "alden"; mod1.comment = "Shortening ConversionPattern so we don't use up all of the available screen space."; mod1.emailAddress = "alden@users.sourceforge.net"; Modification mod2 = new Modification(); mod2.type = "modified"; mod2.fileName = "build.xml"; mod2.folderName = "main"; mod2.revision = "1.41"; mod2.modifiedTime = createDate("2002/03/13 19:56:34 GMT-6:00"); mod2.userName = "alden"; mod2.comment = "Added target to clean up test results."; mod2.emailAddress = "alden@users.sourceforge.net"; Modification mod3 = new Modification(); mod3.type = "modified"; mod3.fileName = "build.xml"; mod3.folderName = "main"; mod3.revision = "1.42"; mod3.modifiedTime = createDate("2002/03/15 13:20:28 GMT-6:00"); mod3.userName = "alden"; mod3.comment = "enabled debug info when compiling tests."; mod3.emailAddress = "alden@users.sourceforge.net"; Modification mod4 = new Modification(); mod4.type = "deleted"; mod4.fileName = "kungfu.xml"; mod4.folderName = "main"; mod4.revision = "1.2"; mod4.modifiedTime = createDate("2002/03/13 13:45:42 GMT-6:00"); mod4.userName = "alden"; mod4.comment = "Hey, look, a deleted file."; mod4.emailAddress = "alden@users.sourceforge.net"; Modification mod5 = new Modification(); mod5.type = "deleted"; mod5.fileName = "stuff.xml"; mod5.folderName = "main"; mod5.revision = "1.4"; mod5.modifiedTime = createDate("2002/03/13 13:38:42 GMT-6:00"); mod5.userName = "alden"; mod5.comment = "Hey, look, another deleted file."; mod5.emailAddress = "alden@users.sourceforge.net"; assertEquals(mod5, modifications.get(0)); assertEquals(mod4, modifications.get(1)); assertEquals(mod1, modifications.get(2)); assertEquals(mod2, modifications.get(3)); assertEquals(mod3, modifications.get(4)); }
|
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/6c388b514a0547682989734ceba9679338747a3a/CVSTest.java/clean/main/test/net/sourceforge/cruisecontrol/sourcecontrols/CVSTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3201,
1228,
1435,
1216,
1860,
16,
10616,
288,
3639,
385,
14640,
276,
6904,
273,
394,
385,
14640,
5621,
3639,
18559,
2699,
9667,
273,
394,
18559,
5621,
3639,
2699,
9667,
18,
458,
2932,
287,
13002,
3113,
315,
287,
13002,
36,
5577,
18,
3168,
1884,
908,
18,
2758,
8863,
3639,
2699,
9667,
18,
458,
2932,
8584,
3113,
315,
8584,
36,
8584,
18,
2758,
8863,
3639,
276,
6904,
18,
542,
6759,
9667,
12,
3652,
9667,
1769,
3639,
24742,
810,
273,
7734,
394,
24742,
12,
945,
4709,
1343,
2932,
71,
6904,
1330,
21,
17,
2499,
18,
5830,
7923,
1769,
3639,
987,
17953,
273,
276,
6904,
18,
2670,
1228,
12,
2630,
1769,
3639,
810,
18,
4412,
5621,
3639,
5737,
18,
3804,
12,
1711,
6640,
1769,
3639,
1815,
8867,
12,
7734,
315,
14309,
1240,
2106,
1381,
17953,
1199,
16,
7734,
1381,
16,
7734,
17953,
18,
1467,
10663,
3639,
3431,
1480,
681,
21,
273,
394,
3431,
1480,
5621,
3639,
681,
21,
18,
723,
273,
315,
7342,
14432,
3639,
681,
21,
18,
17812,
273,
315,
1330,
24,
78,
18,
4738,
14432,
3639,
681,
21,
18,
5609,
461,
273,
1408,
31,
3639,
681,
21,
18,
13057,
273,
315,
21,
18,
22,
14432,
3639,
681,
21,
18,
7342,
950,
273,
752,
1626,
2932,
6976,
22,
19,
4630,
19,
3437,
5958,
30,
7950,
30,
3361,
21706,
17,
26,
30,
713,
8863,
3639,
681,
21,
18,
1355,
461,
273,
315,
287,
13002,
14432,
3639,
681,
21,
18,
3469,
273,
7734,
315,
4897,
275,
310,
16401,
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,
3201,
1228,
1435,
1216,
1860,
16,
10616,
288,
3639,
385,
14640,
276,
6904,
273,
394,
385,
14640,
5621,
3639,
18559,
2699,
9667,
273,
394,
18559,
5621,
3639,
2699,
9667,
18,
458,
2932,
287,
13002,
3113,
315,
287,
13002,
36,
5577,
18,
3168,
1884,
908,
18,
2758,
8863,
3639,
2699,
9667,
18,
458,
2932,
8584,
3113,
315,
8584,
36,
8584,
18,
2758,
8863,
3639,
276,
6904,
18,
542,
6759,
9667,
12,
3652,
9667,
1769,
3639,
24742,
810,
273,
7734,
394,
24742,
12,
945,
4709,
1343,
2932,
71,
6904,
1330,
21,
17,
2499,
18,
5830,
7923,
1769,
3639,
987,
17953,
273,
276,
6904,
18,
2670,
1228,
12,
2630,
1769,
3639,
810,
18,
4412,
5621,
3639,
5737,
18,
2
] |
public void testCase06() throws Exception{ String newUserName = "anotherNewUser06"; User newUser = userDatabase.createUser(newUserName); newUser.setPassword("pass1"); newUser.setFromAddress("fromAddress1"); newUser.setReplyToAddress("replyToAddress1"); User user6 = userDatabase.findUser("user6"); assertTrue("Check username", "user6".equals(user6.getUsername())); assertTrue("Check fromAddress", "fromAddress6".equals(user6.getFromAddress())); assertTrue("Check fullName", "fullName6".equals(user6.getFullName())); assertTrue("Check password", "password6".equals(user6.getPassword())); assertNull("Check replyToAddress", user6.getReplyToAddress()); }
|
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/1c9701ef0df49c47648fb6bcf65f7575186571d3/BaseTestUserDatabase.java/buggy/mailreader-dao/src/test/java/org/apache/struts/apps/mailreader/dao/BaseTestUserDatabase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2449,
7677,
1435,
1216,
1185,
95,
3639,
514,
394,
15296,
273,
315,
304,
3011,
1908,
1299,
7677,
14432,
7734,
2177,
394,
1299,
273,
729,
4254,
18,
2640,
1299,
12,
2704,
15296,
1769,
3639,
394,
1299,
18,
542,
3913,
2932,
5466,
21,
8863,
3639,
394,
1299,
18,
542,
1265,
1887,
2932,
2080,
1887,
21,
8863,
3639,
394,
1299,
18,
542,
7817,
774,
1887,
2932,
10629,
774,
1887,
21,
8863,
7734,
2177,
729,
26,
273,
729,
4254,
18,
4720,
1299,
2932,
1355,
26,
8863,
3639,
1815,
5510,
2932,
1564,
2718,
3113,
315,
1355,
26,
9654,
14963,
12,
1355,
26,
18,
588,
8575,
1435,
10019,
3639,
1815,
5510,
2932,
1564,
628,
1887,
3113,
315,
2080,
1887,
26,
9654,
14963,
12,
1355,
26,
18,
588,
1265,
1887,
1435,
10019,
3639,
1815,
5510,
2932,
1564,
12424,
3113,
315,
2854,
461,
26,
9654,
14963,
12,
1355,
26,
18,
588,
19223,
1435,
10019,
3639,
1815,
5510,
2932,
1564,
2201,
3113,
315,
3664,
26,
9654,
14963,
12,
1355,
26,
18,
588,
3913,
1435,
10019,
3639,
1815,
2041,
2932,
1564,
30934,
1887,
3113,
729,
26,
18,
588,
7817,
774,
1887,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2449,
7677,
1435,
1216,
1185,
95,
3639,
514,
394,
15296,
273,
315,
304,
3011,
1908,
1299,
7677,
14432,
7734,
2177,
394,
1299,
273,
729,
4254,
18,
2640,
1299,
12,
2704,
15296,
1769,
3639,
394,
1299,
18,
542,
3913,
2932,
5466,
21,
8863,
3639,
394,
1299,
18,
542,
1265,
1887,
2932,
2080,
1887,
21,
8863,
3639,
394,
1299,
18,
542,
7817,
774,
1887,
2932,
10629,
774,
1887,
21,
8863,
7734,
2177,
729,
26,
273,
729,
4254,
18,
4720,
1299,
2932,
1355,
26,
8863,
3639,
1815,
5510,
2932,
1564,
2718,
3113,
315,
1355,
26,
9654,
14963,
12,
1355,
26,
18,
588,
8575,
1435,
10019,
3639,
1815,
5510,
2932,
1564,
628,
1887,
3113,
315,
2080,
1887,
26,
9654,
2
] |
||
++curPos; if ((i = jjnewStateCnt) == (startsAt = 30 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch (java.io.IOException e) { return curPos;
|
} while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { default : break;
|
static private final int jjMoveNfa_2(int startState, int curPos) { int[] nextStates; int startsAt = 0; jjnewStateCnt = 30; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch (jjstateSet[--i]) { case 0: if ((0x3ff0c1800000000L & l) != 0L) { if (kind > 65) kind = 65; jjCheckNAddStates(22, 26); } else if (curChar == 46) jjCheckNAddStates(27, 29); else if (curChar == 33) { if (kind > 62) kind = 62; } break; case 30: if ((0x3ff0c1800000000L & l) != 0L) jjCheckNAddStates(30, 32); else if (curChar == 46) jjCheckNAddStates(33, 35); if ((0x3ff0c1800000000L & l) != 0L) { if (kind > 65) kind = 65; jjCheckNAddTwoStates(14, 15); } else if (curChar == 46) jjCheckNAddStates(36, 38); break; case 8: if ((0x3ff0c1800000000L & l) == 0L) break; if (kind > 63) kind = 63; jjCheckNAddTwoStates(8, 9); break; case 9: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 10; break; case 10: if (curChar != 46) break; if (kind > 63) kind = 63; jjCheckNAddTwoStates(8, 9); break; case 11: if (curChar == 46) jjCheckNAddStates(27, 29); break; case 12: if (curChar == 46 && kind > 7) kind = 7; break; case 13: if (curChar != 46) break; if (kind > 65) kind = 65; jjCheckNAddTwoStates(14, 15); break; case 14: if ((0x3ff0c1800000000L & l) == 0L) break; if (kind > 65) kind = 65; jjCheckNAddTwoStates(14, 15); break; case 15: if (curChar == 46) jjCheckNAddStates(33, 35); break; case 16: if ((0x3ff0c1800000000L & l) == 0L) break; if (kind > 65) kind = 65; jjCheckNAddTwoStates(16, 17); break; case 17: if (curChar == 46) jjCheckNAddStates(39, 41); break; case 18: if (curChar == 46) jjCheckNAdd(19); break; case 19: if (curChar != 46) break; if (kind > 65) kind = 65; jjCheckNAddTwoStates(16, 17); break; case 20: if (curChar == 46) jjCheckNAddStates(30, 32); break; case 21: if ((0x3ff0c1800000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 24: if (curChar == 46) jjCheckNAddStates(36, 38); break; case 25: if ((0x3ff0c1800000000L & l) != 0L) jjCheckNAddStates(42, 44); break; case 26: if (curChar == 46) jjCheckNAddStates(45, 47); break; case 27: if (curChar == 46) jjCheckNAdd(28); break; case 28: if (curChar == 46) jjCheckNAddStates(42, 44); break; case 29: if ((0x3ff0c1800000000L & l) == 0L) break; if (kind > 65) kind = 65; jjCheckNAddStates(22, 26); break; default: break; } } while (i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch (jjstateSet[--i]) { case 0: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 65) kind = 65; jjCheckNAddStates(22, 26); } else if (curChar == 64) jjCheckNAddTwoStates(8, 9); if (curChar == 78) jjstateSet[jjnewStateCnt++] = 5; else if (curChar == 110) jjstateSet[jjnewStateCnt++] = 2; break; case 30: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddStates(30, 32); else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 22; if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 65) kind = 65; jjCheckNAddTwoStates(14, 15); } break; case 1: if (curChar == 116 && kind > 62) kind = 62; break; case 2: if (curChar == 111) jjstateSet[jjnewStateCnt++] = 1; break; case 3: if (curChar == 110) jjstateSet[jjnewStateCnt++] = 2; break; case 4: if (curChar == 84 && kind > 62) kind = 62; break; case 5: if (curChar == 79) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if (curChar == 78) jjstateSet[jjnewStateCnt++] = 5; break; case 7: if (curChar == 64) jjCheckNAddTwoStates(8, 9); break; case 8: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 63) kind = 63; jjCheckNAddTwoStates(8, 9); break; case 14: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 65) kind = 65; jjCheckNAddTwoStates(14, 15); break; case 16: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 65) kind = 65; jjAddStates(48, 49); break; case 21: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddStates(30, 32); break; case 22: if (curChar != 93) break; kind = 66; jjCheckNAdd(23); break; case 23: if (curChar == 91) jjstateSet[jjnewStateCnt++] = 22; break; case 25: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddStates(42, 44); break; case 29: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 65) kind = 65; jjCheckNAddStates(22, 26); break; default: break; } } while (i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch (jjstateSet[--i]) { default: break; } } while (i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 30 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch (java.io.IOException e) { return curPos; } } }
|
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/3cbef97c5dee07422d7e9cdf6b2f9304448a9eee/ExpressionParserTokenManager.java/clean/aspectwerkz3/src/main/org/codehaus/aspectwerkz/expression/ast/ExpressionParserTokenManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
3238,
727,
509,
10684,
7607,
50,
507,
67,
22,
12,
474,
787,
1119,
16,
509,
662,
1616,
13,
288,
3639,
509,
8526,
1024,
7629,
31,
3639,
509,
2542,
861,
273,
374,
31,
3639,
10684,
2704,
1119,
11750,
273,
5196,
31,
3639,
509,
277,
273,
404,
31,
3639,
10684,
2019,
694,
63,
20,
65,
273,
787,
1119,
31,
3639,
509,
525,
16,
3846,
273,
374,
92,
27,
18217,
74,
31,
3639,
364,
261,
25708,
13,
288,
5411,
309,
261,
9904,
78,
78,
2260,
422,
374,
92,
27,
18217,
74,
13,
7734,
868,
2570,
54,
9284,
5621,
5411,
309,
261,
1397,
2156,
411,
5178,
13,
288,
7734,
1525,
328,
273,
404,
48,
2296,
662,
2156,
31,
7734,
4639,
6452,
30,
741,
288,
10792,
1620,
261,
78,
78,
2019,
694,
63,
413,
77,
5717,
288,
13491,
648,
374,
30,
18701,
309,
14015,
20,
92,
23,
1403,
20,
71,
2643,
12648,
48,
473,
328,
13,
480,
374,
48,
13,
288,
27573,
309,
261,
9224,
405,
15892,
13,
4766,
565,
3846,
273,
15892,
31,
27573,
10684,
1564,
50,
986,
7629,
12,
3787,
16,
10659,
1769,
18701,
289,
469,
309,
261,
1397,
2156,
422,
17077,
13,
27573,
10684,
1564,
50,
986,
7629,
12,
5324,
16,
12899,
1769,
18701,
469,
309,
261,
1397,
2156,
422,
13159,
13,
288,
27573,
309,
261,
9224,
405,
22684,
13,
4766,
565,
3846,
273,
22684,
31,
18701,
289,
18701,
898,
31,
13491,
648,
5196,
30,
18701,
309,
14015,
20,
92,
23,
1403,
20,
71,
2643,
12648,
48,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
3238,
727,
509,
10684,
7607,
50,
507,
67,
22,
12,
474,
787,
1119,
16,
509,
662,
1616,
13,
288,
3639,
509,
8526,
1024,
7629,
31,
3639,
509,
2542,
861,
273,
374,
31,
3639,
10684,
2704,
1119,
11750,
273,
5196,
31,
3639,
509,
277,
273,
404,
31,
3639,
10684,
2019,
694,
63,
20,
65,
273,
787,
1119,
31,
3639,
509,
525,
16,
3846,
273,
374,
92,
27,
18217,
74,
31,
3639,
364,
261,
25708,
13,
288,
5411,
309,
261,
9904,
78,
78,
2260,
422,
374,
92,
27,
18217,
74,
13,
7734,
868,
2570,
54,
9284,
5621,
5411,
309,
261,
1397,
2156,
411,
5178,
13,
288,
7734,
1525,
328,
273,
404,
48,
2296,
662,
2156,
31,
7734,
4639,
6452,
2
] |
System.out.println( "Editor returning '" + l_textField.getText() + "'" );
|
if (log.isDebugEnabled()) log.debug( "Editor returning '" + l_textField.getText() + "'" );
|
private void setUpEditor( JTable l_table ) { //Set up the editor for the integer cells. final JTextField l_textField = new JTextField(); DefaultCellEditor l_textEditor = new DefaultCellEditor( l_textField ) { private static final long serialVersionUID = 3256727286014554675L; //Override DefaultCellEditor's getCellEditorValue method //to return an Integer, not a String: public Object getCellEditorValue() { System.out.println( "Editor returning '" + l_textField.getText() + "'" ); return l_textField.getText(); } }; l_table.setDefaultEditor( String.class, l_textEditor ); }
|
17035 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17035/826c73c9482eb435ca4a3fa0dc997f4d9b6ab88f/AddEntryDialog.java/clean/core/src/main/java/org/apache/ldap/server/partition/impl/btree/gui/AddEntryDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
24292,
6946,
12,
804,
1388,
328,
67,
2121,
262,
377,
288,
3639,
368,
694,
731,
326,
4858,
364,
326,
3571,
5983,
18,
3639,
727,
804,
16157,
328,
67,
955,
974,
273,
394,
804,
16157,
5621,
7734,
2989,
4020,
6946,
328,
67,
955,
6946,
273,
2398,
394,
2989,
4020,
6946,
12,
328,
67,
955,
974,
262,
540,
288,
5411,
3238,
760,
727,
1525,
30244,
273,
890,
5034,
27,
5324,
22,
14181,
24,
2539,
8749,
5877,
48,
31,
5411,
368,
6618,
2989,
4020,
6946,
1807,
16458,
6946,
620,
707,
5411,
368,
869,
327,
392,
2144,
16,
486,
279,
514,
30,
5411,
1071,
1033,
16458,
6946,
620,
1435,
2398,
288,
7734,
2332,
18,
659,
18,
8222,
12,
315,
6946,
5785,
2119,
397,
328,
67,
955,
974,
18,
588,
1528,
1435,
10792,
397,
5862,
11272,
7734,
327,
328,
67,
955,
974,
18,
588,
1528,
5621,
5411,
289,
3639,
289,
31,
7734,
328,
67,
2121,
18,
542,
1868,
6946,
12,
514,
18,
1106,
16,
328,
67,
955,
6946,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
24292,
6946,
12,
804,
1388,
328,
67,
2121,
262,
377,
288,
3639,
368,
694,
731,
326,
4858,
364,
326,
3571,
5983,
18,
3639,
727,
804,
16157,
328,
67,
955,
974,
273,
394,
804,
16157,
5621,
7734,
2989,
4020,
6946,
328,
67,
955,
6946,
273,
2398,
394,
2989,
4020,
6946,
12,
328,
67,
955,
974,
262,
540,
288,
5411,
3238,
760,
727,
1525,
30244,
273,
890,
5034,
27,
5324,
22,
14181,
24,
2539,
8749,
5877,
48,
31,
5411,
368,
6618,
2989,
4020,
6946,
1807,
16458,
6946,
620,
707,
5411,
368,
869,
327,
392,
2144,
16,
486,
279,
514,
30,
5411,
1071,
1033,
16458,
6946,
620,
1435,
2398,
288,
7734,
2332,
18,
659,
18,
8222,
12,
315,
6946,
2
] |
Logger.minor(this, "Raw headers: "+headers.length+" bytes, hash "+Fields.hashCode(headers)); Logger.minor(this, "Headers: "+headerLen+" bytes, hash "+Fields.hashCode(headers)); Logger.minor(this, "Data: "+data.length+" bytes, hash "+Fields.hashCode(data));
|
public CHKBlock fetch(NodeCHK chk) throws IOException { byte[] data = dataStore.getDataForBlock(chk); if(data == null) { if(headersStore.getDataForBlock(chk) != null) { Logger.normal(this, "Deleting: "+chk+" headers, no data"); headersStore.delete(chk); } return null; } byte[] headers = headersStore.getDataForBlock(chk); if(headers == null) { // No headers, delete Logger.normal(this, "Deleting: "+chk+" data, no headers"); dataStore.delete(chk); } // Decode int headerLen = ((headers[0] & 0xff) << 8) + (headers[1] & 0xff); if(headerLen > HEADER_BLOCK_SIZE-2 || headerLen < 0) { Logger.normal(this, "Invalid header data on "+chk+", deleting"); dataStore.delete(chk); headersStore.delete(chk); return null; } byte[] buf = new byte[headerLen]; System.arraycopy(headers, 2, buf, 0, headerLen);// Logger.minor(this, "Raw headers: "+headers.length+" bytes, hash "+Fields.hashCode(headers));// Logger.minor(this, "Headers: "+headerLen+" bytes, hash "+Fields.hashCode(headers));// Logger.minor(this, "Data: "+data.length+" bytes, hash "+Fields.hashCode(data)); try { return new CHKBlock(data, buf, chk); } catch (CHKVerifyException e) { Logger.normal(this, "Does not verify, deleting: "+chk); dataStore.delete(chk); headersStore.delete(chk); return null; } }
|
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/52fadbe4420bc8c2fb61a8e805e65feb1b7e21db/BaseFreenetStore.java/clean/src/freenet/store/BaseFreenetStore.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4242,
18,
17364,
12,
2211,
16,
315,
4809,
1607,
30,
13773,
2485,
18,
2469,
9078,
1731,
16,
1651,
13773,
2314,
18,
2816,
1085,
12,
2485,
10019,
4242,
18,
17364,
12,
2211,
16,
315,
3121,
30,
13773,
3374,
2891,
9078,
1731,
16,
1651,
13773,
2314,
18,
2816,
1085,
12,
2485,
10019,
4242,
18,
17364,
12,
2211,
16,
315,
751,
30,
13773,
892,
18,
2469,
9078,
1731,
16,
1651,
13773,
2314,
18,
2816,
1085,
12,
892,
10019,
225,
1071,
6469,
47,
1768,
2158,
12,
907,
1792,
47,
15000,
13,
1216,
1860,
288,
3328,
18,
17364,
12,
2211,
16,
315,
4809,
1607,
30,
13773,
2485,
18,
2469,
9078,
1731,
16,
1651,
13773,
2314,
18,
2816,
1085,
12,
2485,
10019,
4242,
18,
17364,
12,
2211,
16,
315,
3121,
30,
13773,
3374,
2891,
9078,
1731,
16,
1651,
13773,
2314,
18,
2816,
1085,
12,
2485,
10019,
4242,
18,
17364,
12,
2211,
16,
315,
751,
30,
13773,
892,
18,
2469,
9078,
1731,
16,
1651,
13773,
2314,
18,
2816,
1085,
12,
892,
10019,
4242,
18,
17364,
12,
2211,
16,
315,
4809,
1607,
30,
13773,
2485,
18,
2469,
9078,
1731,
16,
1651,
13773,
2314,
18,
2816,
1085,
12,
2485,
10019,
4242,
18,
17364,
12,
2211,
16,
315,
3121,
30,
13773,
3374,
2891,
9078,
1731,
16,
1651,
13773,
2314,
18,
2816,
1085,
12,
2485,
10019,
4242,
18,
17364,
12,
2211,
16,
315,
751,
30,
13773,
892,
18,
2469,
9078,
1731,
16,
1651,
13773,
2314,
18,
2816,
1085,
12,
892,
10019,
282,
1160,
8526,
501,
273,
31927,
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,
4242,
18,
17364,
12,
2211,
16,
315,
4809,
1607,
30,
13773,
2485,
18,
2469,
9078,
1731,
16,
1651,
13773,
2314,
18,
2816,
1085,
12,
2485,
10019,
4242,
18,
17364,
12,
2211,
16,
315,
3121,
30,
13773,
3374,
2891,
9078,
1731,
16,
1651,
13773,
2314,
18,
2816,
1085,
12,
2485,
10019,
4242,
18,
17364,
12,
2211,
16,
315,
751,
30,
13773,
892,
18,
2469,
9078,
1731,
16,
1651,
13773,
2314,
18,
2816,
1085,
12,
892,
10019,
225,
1071,
6469,
47,
1768,
2158,
12,
907,
1792,
47,
15000,
13,
1216,
1860,
288,
3328,
18,
17364,
12,
2211,
16,
315,
4809,
1607,
30,
13773,
2485,
18,
2469,
9078,
1731,
16,
1651,
13773,
2314,
18,
2816,
1085,
12,
2485,
10019,
4242,
18,
17364,
2
] |
|
public CmsFile createFile(A_CmsUser user, A_CmsProject project, String filename, int flags, byte[] contents, A_CmsResourceType resourceType)
|
public CmsFile createFile(A_CmsUser user, A_CmsProject project, A_CmsProject onlineProject, String filename, int flags, byte[] contents, A_CmsResourceType resourceType)
|
public CmsFile createFile(A_CmsUser user, A_CmsProject project, String filename, int flags, byte[] contents, A_CmsResourceType resourceType) throws CmsException;
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/95a9c02f06acd3100278d024929b4b0d15ba4341/I_CmsAccessFile.java/buggy/src/com/opencms/file/I_CmsAccessFile.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
1071,
28118,
21266,
12,
37,
67,
4747,
1299,
729,
16,
432,
67,
4747,
4109,
1984,
16,
27573,
514,
1544,
16,
509,
2943,
16,
6862,
9506,
202,
7229,
8526,
2939,
16,
432,
67,
4747,
15631,
14110,
13,
3639,
1216,
11228,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
1071,
28118,
21266,
12,
37,
67,
4747,
1299,
729,
16,
432,
67,
4747,
4109,
1984,
16,
27573,
514,
1544,
16,
509,
2943,
16,
6862,
9506,
202,
7229,
8526,
2939,
16,
432,
67,
4747,
15631,
14110,
13,
3639,
1216,
11228,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
protected void editorContextMenuAboutToShow(IMenuManager menu) { super.editorContextMenuAboutToShow(menu); addAction(menu, ITextEditorActionConstants.GROUP_EDIT, ITextEditorActionConstants.SHIFT_RIGHT); addAction(menu, ITextEditorActionConstants.GROUP_EDIT, ITextEditorActionConstants.SHIFT_LEFT); String label= TextEditorMessages.getString("Editor.AddMenu.label"); //$NON-NLS-1$ MenuManager submenu= new MenuManager(label, ITextEditorActionConstants.GROUP_ADD); addAction(submenu, ITextEditorActionConstants.BOOKMARK); addAction(submenu, ITextEditorActionConstants.ADD_TASK); menu.appendToGroup(ITextEditorActionConstants.GROUP_ADD, submenu); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/545d50c36738a91c3cfcd9167e5c928eb3d7d03e/TextEditor.java/buggy/bundles/org.eclipse.ui/Eclipse UI Text Editor/org/eclipse/ui/editors/text/TextEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
90,
11359,
785,
1811,
27315,
24813,
774,
5706,
12,
3445,
2104,
49,
940,
1035,
2104,
15329,
9506,
202,
9565,
18,
9177,
27315,
24813,
774,
5706,
12,
5414,
1769,
9506,
202,
1289,
1803,
12,
5414,
16,
1285,
408,
6946,
1803,
2918,
18,
8468,
67,
10776,
16,
1285,
408,
6946,
1803,
2918,
18,
23191,
67,
11847,
1769,
202,
202,
1289,
1803,
12,
5414,
16,
1285,
408,
6946,
1803,
2918,
18,
8468,
67,
10776,
16,
1285,
408,
6946,
1803,
2918,
18,
23191,
67,
10066,
1769,
9506,
202,
780,
1925,
33,
1528,
6946,
5058,
18,
588,
780,
2932,
6946,
18,
986,
4599,
18,
1925,
8863,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
4599,
17570,
373,
5414,
33,
2704,
4599,
1318,
12,
1925,
16,
1285,
408,
6946,
1803,
2918,
18,
8468,
67,
8355,
1769,
202,
202,
1289,
1803,
12,
1717,
5414,
16,
1285,
408,
6946,
1803,
2918,
18,
28163,
12693,
1769,
202,
202,
1289,
1803,
12,
1717,
5414,
16,
1285,
408,
6946,
1803,
2918,
18,
8355,
67,
15580,
1769,
202,
202,
5414,
18,
6923,
774,
1114,
12,
1285,
408,
6946,
1803,
2918,
18,
8468,
67,
8355,
16,
1717,
5414,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
90,
11359,
785,
1811,
27315,
24813,
774,
5706,
12,
3445,
2104,
49,
940,
1035,
2104,
15329,
9506,
202,
9565,
18,
9177,
27315,
24813,
774,
5706,
12,
5414,
1769,
9506,
202,
1289,
1803,
12,
5414,
16,
1285,
408,
6946,
1803,
2918,
18,
8468,
67,
10776,
16,
1285,
408,
6946,
1803,
2918,
18,
23191,
67,
11847,
1769,
202,
202,
1289,
1803,
12,
5414,
16,
1285,
408,
6946,
1803,
2918,
18,
8468,
67,
10776,
16,
1285,
408,
6946,
1803,
2918,
18,
23191,
67,
10066,
1769,
9506,
202,
780,
1925,
33,
1528,
6946,
5058,
18,
588,
780,
2932,
6946,
18,
986,
4599,
18,
1925,
8863,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
4599,
17570,
373,
5414,
33,
2
] |
||
private boolean addRealFeat(final Ability aFeat) { //return abilityStore.addCategorisable(aFeat) return featList.add(aFeat); }
|
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/376816acf8bf134fa77bd6ea5c602dbe9af9bfbd/PlayerCharacter.java/clean/code/src/java/pcgen/core/PlayerCharacter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
527,
6955,
11667,
12,
6385,
9771,
1889,
279,
11667,
13,
202,
95,
202,
202,
759,
2463,
7123,
2257,
18,
1289,
39,
20252,
291,
429,
12,
69,
11667,
13,
202,
202,
2463,
11002,
682,
18,
1289,
12,
69,
11667,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
1152,
1250,
527,
6955,
11667,
12,
6385,
9771,
1889,
279,
11667,
13,
202,
95,
202,
202,
759,
2463,
7123,
2257,
18,
1289,
39,
20252,
291,
429,
12,
69,
11667,
13,
202,
202,
2463,
11002,
682,
18,
1289,
12,
69,
11667,
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
] |
||
String commentStart = buffer.getStringProperty("commentStart"); String commentEnd = buffer.getStringProperty("commentEnd");
|
String commentStart = buffer.getContextSensitiveProperty(caret,"commentStart"); String commentEnd = buffer.getContextSensitiveProperty(caret,"commentEnd");
|
public void rangeComment() { String commentStart = buffer.getStringProperty("commentStart"); String commentEnd = buffer.getStringProperty("commentEnd"); if(!buffer.isEditable() || commentStart == null || commentEnd == null || commentStart.length() == 0 || commentEnd.length() == 0) { getToolkit().beep(); return; } commentStart = commentStart + ' '; commentEnd = ' ' + commentEnd; try { buffer.beginCompoundEdit(); Selection[] selection = getSelection(); if(selection.length == 0) { int oldCaret = caret; buffer.insert(caret, commentStart); buffer.insert(caret, commentEnd); setCaretPosition(oldCaret + commentStart.length()); } for(int i = 0; i < selection.length; i++) { Selection s = selection[i]; if(s instanceof Selection.Range) { buffer.insert(s.start, commentStart); buffer.insert(s.end, commentEnd); } else if(s instanceof Selection.Rect) { for(int j = s.startLine; j <= s.endLine; j++) { buffer.insert(s.getStart(buffer,j), commentStart); int end = s.getEnd(buffer,j) + (j == s.endLine ? 0 : commentStart.length()); buffer.insert(end,commentEnd); } } } selectNone(); } finally { buffer.endCompoundEdit(); } } //}}}
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/13168fa7577466c5b01ad958d75ece97ed20b547/JEditTextArea.java/clean/org/gjt/sp/jedit/textarea/JEditTextArea.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1048,
4469,
1435,
202,
95,
202,
202,
780,
2879,
1685,
273,
1613,
18,
588,
780,
1396,
2932,
3469,
1685,
8863,
202,
202,
780,
2879,
1638,
273,
1613,
18,
588,
780,
1396,
2932,
3469,
1638,
8863,
202,
202,
430,
12,
5,
4106,
18,
291,
15470,
1435,
747,
2879,
1685,
422,
446,
747,
2879,
1638,
422,
446,
1082,
202,
20081,
2879,
1685,
18,
2469,
1435,
422,
374,
747,
2879,
1638,
18,
2469,
1435,
422,
374,
13,
202,
202,
95,
1082,
202,
588,
6364,
8691,
7675,
2196,
881,
5621,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
3469,
1685,
273,
2879,
1685,
397,
296,
12386,
202,
202,
3469,
1638,
273,
296,
296,
397,
2879,
1638,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
4106,
18,
10086,
16835,
4666,
5621,
1082,
202,
6233,
8526,
4421,
273,
23204,
5621,
1082,
202,
430,
12,
10705,
18,
2469,
422,
374,
13,
1082,
202,
95,
9506,
202,
474,
1592,
39,
20731,
273,
21683,
31,
9506,
202,
4106,
18,
6387,
12,
71,
20731,
16,
6862,
202,
3469,
1685,
1769,
9506,
202,
4106,
18,
6387,
12,
71,
20731,
16,
6862,
202,
3469,
1638,
1769,
9506,
202,
542,
39,
20731,
2555,
12,
1673,
39,
20731,
397,
2879,
1685,
18,
2469,
10663,
1082,
202,
97,
1082,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
4421,
18,
2469,
31,
277,
27245,
1082,
202,
95,
9506,
202,
6233,
272,
273,
4421,
63,
77,
15533,
9506,
202,
430,
12,
87,
1276,
12977,
18,
2655,
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,
1048,
4469,
1435,
202,
95,
202,
202,
780,
2879,
1685,
273,
1613,
18,
588,
780,
1396,
2932,
3469,
1685,
8863,
202,
202,
780,
2879,
1638,
273,
1613,
18,
588,
780,
1396,
2932,
3469,
1638,
8863,
202,
202,
430,
12,
5,
4106,
18,
291,
15470,
1435,
747,
2879,
1685,
422,
446,
747,
2879,
1638,
422,
446,
1082,
202,
20081,
2879,
1685,
18,
2469,
1435,
422,
374,
747,
2879,
1638,
18,
2469,
1435,
422,
374,
13,
202,
202,
95,
1082,
202,
588,
6364,
8691,
7675,
2196,
881,
5621,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
3469,
1685,
273,
2879,
1685,
397,
296,
12386,
202,
202,
3469,
1638,
273,
296,
296,
397,
2879,
1638,
31,
202,
2
] |
mCurrentChange.setIndexedItem(msg, pm);
|
mCurrentChange.addIndexedItem(msg, pm);
|
private synchronized Message addMessageInternal(OperationContext octxt, ParsedMessage pm, int folderId, boolean noICal, int flags, String tagStr, int conversationId, String rcptEmail, Message.DraftInfo dinfo, SharedDeliveryContext sharedDeliveryCtxt) throws IOException, ServiceException { if (pm == null) throw ServiceException.INVALID_REQUEST("null ParsedMessage when adding message to mailbox " + mId, null); boolean debug = ZimbraLog.mailbox.isDebugEnabled(); byte[] data; String digest; int msgSize; try { data = pm.getRawData(); digest = pm.getRawDigest(); msgSize = pm.getRawSize(); } catch (MessagingException me) { throw MailServiceException.MESSAGE_PARSE_ERROR(me); } if (conversationId <= HIGHEST_SYSTEM_ID) conversationId = ID_AUTO_INCREMENT; CreateMessage redoPlayer = (octxt == null ? null : (CreateMessage) octxt.player); // quick check to make sure we don't deliver 5 copies of the same message String msgidHeader = pm.getMessageID(); boolean isSent = ((flags & Flag.BITMASK_FROM_ME) != 0); boolean checkDuplicates = (redoPlayer == null && msgidHeader != null); if (checkDuplicates && !isSent && mSentMessageIDs.containsKey(msgidHeader)) { Integer sentMsgID = (Integer) mSentMessageIDs.get(msgidHeader); // if the rules say to drop this duplicated incoming message, return null now if (dedupe(pm.getMimeMessage(), sentMsgID)) return null; // if we're not dropping the new message, see if it goes in the same conversation as the old sent message if (conversationId == ID_AUTO_INCREMENT) { conversationId = getConversationIdFromReferent(pm.getMimeMessage(), sentMsgID.intValue()); if (debug) ZimbraLog.mailbox.debug(" duplicate detected but not deduped (" + msgidHeader + "); " + "will try to slot into conversation " + conversationId); } } CreateMessage redoRecorder = new CreateMessage(mId, rcptEmail, sharedDeliveryCtxt.getShared(), digest, msgSize, folderId, noICal, flags, tagStr); StoreIncomingBlob storeRedoRecorder = null; // Strip out unread flag for internal storage. // This should not be done earlier than redoRecorder initialization. boolean unread = (flags & Flag.BITMASK_UNREAD) > 0; flags = flags & ~Flag.BITMASK_UNREAD; boolean isSpam = folderId == ID_FOLDER_SPAM; boolean isDraft = ((flags & Flag.BITMASK_DRAFT) != 0); Message msg = null; Blob blob = null; MailboxBlob mboxBlob = null; boolean success = false; try { beginTransaction("addMessage", octxt, redoRecorder); if (redoPlayer != null) rcptEmail = redoPlayer.getRcptEmail(); // the caller can specify the received date via redo recorder, ParsedMessge constructor, or X-Zimbra-Received header long timestamp = getOperationTimestampMillis(); // "having attachments" is currently tracked via flags if (pm.hasAttachments()) flags |= Flag.BITMASK_ATTACHED; else flags &= ~Flag.BITMASK_ATTACHED; Folder folder = getFolderById(folderId); String subject = pm.getNormalizedSubject(); long tags = Tag.tagsToBitmask(tagStr); // step 1: get an ID assigned for the new message int messageId = getNextItemId(redoPlayer == null ? ID_AUTO_INCREMENT : redoPlayer.getMessageId()); if (redoPlayer != null) conversationId = redoPlayer.getConversationId(); // step 2: figure out where the message belongs Conversation conv = null; String hash = null; if (!DebugConfig.disableConversation) { if (conversationId != ID_AUTO_INCREMENT) { try { conv = getConversationById(conversationId); if (debug) ZimbraLog.mailbox.debug(" fetched explicitly-specified conversation " + conv.getId()); } catch (ServiceException e) { if (e.getCode() != MailServiceException.NO_SUCH_CONV) throw e; if (debug) ZimbraLog.mailbox.debug(" could not find explicitly-specified conversation " + conversationId); } } else if (!isSpam && !isDraft && pm.isReply()) { conv = getConversationByHash(hash = getHash(subject)); if (debug) ZimbraLog.mailbox.debug(" found conversation " + (conv == null ? -1 : conv.getId()) + " for hash: " + hash); if (conv != null && timestamp > conv.getDate() + ONE_MONTH_MILLIS) { conv = null; if (debug) ZimbraLog.mailbox.debug(" but rejected it because it's too old"); } } } // step 3: create the message and update the cache // and if the message is also an invite, deal with the appointment Conversation convTarget = (conv instanceof VirtualConversation ? null : conv); if (convTarget != null && debug) ZimbraLog.mailbox.debug(" placing message in existing conversation " + convTarget.getId()); short volumeId = redoPlayer == null ? Volume.getCurrentMessageVolume().getId() : redoPlayer.getVolumeId(); ZVCalendar iCal = pm.getiCalendar(); msg = Message.create(messageId, folder, convTarget, pm, msgSize, digest, volumeId, unread, flags, tags, dinfo, noICal, iCal); redoRecorder.setMessageId(msg.getId()); // step 4: create a conversation for the message, if necessary if (!DebugConfig.disableConversation && convTarget == null) { if (conv == null && conversationId == ID_AUTO_INCREMENT) { conv = VirtualConversation.create(this, msg); if (debug) ZimbraLog.mailbox.debug(" placed message " + msg.getId() + " in vconv " + conv.getId()); } else { VirtualConversation vconv = (VirtualConversation) conv; Message[] contents = (conv == null ? new Message[] { msg } : new Message[] { vconv.getMessage(), msg }); conv = createConversation(contents, conversationId); if (vconv != null) { if (debug) ZimbraLog.mailbox.debug(" removed vconv " + vconv.getId()); vconv.removeChild(vconv.getMessage()); } } if (!isSpam && !isDraft) openConversation(conv, hash); } redoRecorder.setConversationId(conv != null && !(conv instanceof VirtualConversation) ? conv.getId() : -1); // step 5: store the blob // TODO: Add partition support. Need to store as many times as there // are unique partitions in the set of recipient mailboxes. blob = sharedDeliveryCtxt.getBlob(); StoreManager sm = StoreManager.getInstance(); if (blob == null) { // This mailbox is the only recipient, or it is the first // of multiple recipients. Save message to incoming directory. if (redoPlayer == null) blob = sm.storeIncoming(data, digest, null, msg.getVolumeId()); else blob = sm.storeIncoming(data, digest, redoPlayer.getPath(), redoPlayer.getVolumeId()); String blobPath = blob.getPath(); short blobVolumeId = blob.getVolumeId(); if (sharedDeliveryCtxt.getShared()) { markOtherItemDirty(blob); // Log entry in redolog for blob save. Blob bytes are // logged in StoreToIncoming entry. storeRedoRecorder = new StoreIncomingBlob( digest, msgSize, sharedDeliveryCtxt.getMailboxIdList()); storeRedoRecorder.start(timestamp); storeRedoRecorder.setBlobBodyInfo(data, blobPath, blobVolumeId); storeRedoRecorder.log(); // Create a link in mailbox directory and leave the incoming // copy alone, so other recipients can link to it later. redoRecorder.setMessageLinkInfo(blobPath, blobVolumeId, msg.getVolumeId()); mboxBlob = sm.link(blob, this, messageId, msg.getSavedSequence(), msg.getVolumeId()); } else { // If the only recipient, move the incoming copy into // mailbox directory. This is more efficient than // creating a link in mailbox directory and deleting // incoming copy. mboxBlob = sm.renameTo(blob, this, messageId, msg.getSavedSequence(), msg.getVolumeId()); // In single-recipient case the blob bytes are logged in // CreateMessage entry, to avoid having to write two // redolog entries for a single delivery. redoRecorder.setMessageBodyInfo(data, blobPath, blobVolumeId); } } else { String srcPath; Blob srcBlob; MailboxBlob srcMboxBlob = sharedDeliveryCtxt.getMailboxBlob(); if (srcMboxBlob != null && srcMboxBlob.getMailbox().getId() == mId) { // With filter rules, a message can be copied to one or // more folders and optionally kept in Inbox, meaning // one delivery can result in multiple deliveries. But // the first copy delivered will not know there are copies // coming, and if there was only one recipient for the // message, we will end up doing the rename case above. // Second and later copies cannot link to the blob file // in incoming directory because it was renamed out. // Instead they have to link to the MailboxBlob file of // the previous delivery. (Bug 2283) srcPath = srcMboxBlob.getPath(); srcBlob = srcMboxBlob.getBlob(); } else { // Second or later recipient in multi-recipient message. // Link to blob in incoming directory. srcPath = blob.getPath(); srcBlob = blob; } redoRecorder.setMessageLinkInfo(srcPath, srcBlob.getVolumeId(), msg.getVolumeId()); mboxBlob = sm.link(srcBlob, this, messageId, msg.getSavedSequence(), msg.getVolumeId()); } markOtherItemDirty(mboxBlob); mCurrentChange.setIndexedItem(msg, pm); success = true; } finally { if (storeRedoRecorder != null) { if (success) storeRedoRecorder.commit(); else storeRedoRecorder.abort(); } endTransaction(success); if (success) { // Everything worked. Update the blob field in ParsedMessage // so the next recipient in the multi-recipient case will link // to this blob as opposed to saving its own copy. sharedDeliveryCtxt.setBlob(blob); sharedDeliveryCtxt.setMailboxBlob(mboxBlob); } } // step 6: remember the Message-ID header so that we can avoid receiving duplicates if (isSent && checkDuplicates) mSentMessageIDs.put(msgidHeader, new Integer(msg.getId())); if (msg != null && ZimbraLog.mailbox.isInfoEnabled()) ZimbraLog.mailbox.info("Added message id=" + msg.getId() + " digest=" + digest + " mailbox=" + getId() + " rcpt=" + rcptEmail); return msg; }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/f10ba7974d00f1b4c21022892fecda9262ef0735/Mailbox.java/clean/ZimbraServer/src/java/com/zimbra/cs/mailbox/Mailbox.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
2350,
16487,
3061,
12,
2988,
1042,
320,
20364,
16,
19244,
1079,
7430,
16,
509,
31996,
16,
7734,
1250,
1158,
2871,
287,
16,
509,
2943,
16,
514,
1047,
1585,
16,
509,
10039,
548,
16,
1171,
514,
4519,
337,
4134,
16,
2350,
18,
12714,
966,
302,
1376,
16,
7734,
10314,
8909,
1042,
5116,
8909,
28866,
13,
565,
1216,
1860,
16,
16489,
288,
3639,
309,
261,
7755,
422,
446,
13,
5411,
604,
16489,
18,
9347,
67,
5519,
2932,
2011,
19244,
1079,
1347,
6534,
883,
358,
14187,
315,
397,
312,
548,
16,
446,
1769,
3639,
1250,
1198,
273,
2285,
381,
15397,
1343,
18,
4408,
2147,
18,
291,
2829,
1526,
5621,
3639,
1160,
8526,
501,
31,
3639,
514,
5403,
31,
3639,
509,
1234,
1225,
31,
3639,
775,
288,
5411,
501,
273,
7430,
18,
588,
31733,
5621,
225,
5403,
273,
7430,
18,
588,
4809,
9568,
5621,
225,
1234,
1225,
273,
7430,
18,
588,
4809,
1225,
5621,
3639,
289,
1044,
261,
23389,
503,
1791,
13,
288,
5411,
604,
11542,
15133,
18,
8723,
67,
21045,
67,
3589,
12,
3501,
1769,
3639,
289,
3639,
309,
261,
25131,
548,
1648,
670,
3047,
3900,
882,
67,
14318,
67,
734,
13,
5411,
10039,
548,
273,
1599,
67,
18909,
67,
29836,
31,
3639,
1788,
1079,
24524,
12148,
273,
261,
83,
20364,
422,
446,
692,
446,
294,
261,
1684,
1079,
13,
320,
20364,
18,
14872,
1769,
3639,
368,
9549,
866,
358,
1221,
3071,
732,
2727,
1404,
11795,
1381,
13200,
434,
326,
1967,
883,
3639,
514,
24389,
1864,
273,
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,
3852,
2350,
16487,
3061,
12,
2988,
1042,
320,
20364,
16,
19244,
1079,
7430,
16,
509,
31996,
16,
7734,
1250,
1158,
2871,
287,
16,
509,
2943,
16,
514,
1047,
1585,
16,
509,
10039,
548,
16,
1171,
514,
4519,
337,
4134,
16,
2350,
18,
12714,
966,
302,
1376,
16,
7734,
10314,
8909,
1042,
5116,
8909,
28866,
13,
565,
1216,
1860,
16,
16489,
288,
3639,
309,
261,
7755,
422,
446,
13,
5411,
604,
16489,
18,
9347,
67,
5519,
2932,
2011,
19244,
1079,
1347,
6534,
883,
358,
14187,
315,
397,
312,
548,
16,
446,
1769,
3639,
1250,
1198,
273,
2285,
381,
15397,
1343,
18,
4408,
2147,
18,
291,
2829,
1526,
5621,
3639,
1160,
8526,
501,
31,
3639,
514,
5403,
31,
3639,
2
] |
public void install(JEditorPane c) { // FIXME: Anything else to do here? super.install(c); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a7c2bfad7a98617f9973c753d7b20b1d8612d7b9/HTMLEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/html/HTMLEditorKit.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
5425,
12,
46,
6946,
4069,
557,
15329,
759,
25810,
30,
2961,
4274,
292,
542,
7370,
14852,
35,
9565,
18,
5425,
12,
71,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1071,
6459,
5425,
12,
46,
6946,
4069,
557,
15329,
759,
25810,
30,
2961,
4274,
292,
542,
7370,
14852,
35,
9565,
18,
5425,
12,
71,
1769,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
setupLex(Parser.PARENCLOSE);
|
setupLex(Parser.BRACECLOSE);
|
public void testStaticBlock() throws Exception { // setup values setupLex(Parser.CLASS); setupLex(Parser.IDENTIFIER, "MyClass"); setupLex(Parser.PARENOPEN); setupLex(Parser.STATIC); setupLex(Parser.CODEBLOCK); setupLex(Parser.PARENCLOSE); setupLex(0); // execute Parser parser = new Parser(lexer, builder); parser.parse(); // verify builder.verify(); }
|
5818 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5818/965f3f001c3ba451603c4915ad20ae6271dac0ef/ParserTest.java/buggy/src/test/com/thoughtworks/qdox/parser/ParserTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
5788,
1768,
1435,
1216,
1185,
288,
202,
202,
759,
3875,
924,
202,
202,
8401,
14756,
12,
2678,
18,
5237,
1769,
202,
202,
8401,
14756,
12,
2678,
18,
16606,
16,
315,
12062,
797,
8863,
202,
202,
8401,
14756,
12,
2678,
18,
11713,
3417,
52,
1157,
1769,
202,
202,
8401,
14756,
12,
2678,
18,
22741,
1769,
202,
202,
8401,
14756,
12,
2678,
18,
5572,
11403,
1769,
202,
202,
8401,
14756,
12,
2678,
18,
11713,
10346,
9320,
1769,
202,
202,
8401,
14756,
12,
20,
1769,
202,
202,
759,
1836,
202,
202,
2678,
2082,
273,
394,
6783,
12,
31731,
16,
2089,
1769,
202,
202,
4288,
18,
2670,
5621,
202,
202,
759,
3929,
202,
202,
9574,
18,
8705,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
1842,
5788,
1768,
1435,
1216,
1185,
288,
202,
202,
759,
3875,
924,
202,
202,
8401,
14756,
12,
2678,
18,
5237,
1769,
202,
202,
8401,
14756,
12,
2678,
18,
16606,
16,
315,
12062,
797,
8863,
202,
202,
8401,
14756,
12,
2678,
18,
11713,
3417,
52,
1157,
1769,
202,
202,
8401,
14756,
12,
2678,
18,
22741,
1769,
202,
202,
8401,
14756,
12,
2678,
18,
5572,
11403,
1769,
202,
202,
8401,
14756,
12,
2678,
18,
11713,
10346,
9320,
1769,
202,
202,
8401,
14756,
12,
20,
1769,
202,
202,
759,
1836,
202,
202,
2678,
2082,
273,
394,
6783,
12,
31731,
16,
2089,
1769,
202,
202,
4288,
18,
2670,
5621,
202,
202,
759,
3929,
202,
202,
9574,
18,
8705,
5621,
2
] |
public ProtomechPhysicalAttackAction(int entityId, int targetType, int targetId) { super(entityId, targetType, targetId);
|
public ProtomechPhysicalAttackAction(int entityId, int targetId) { super(entityId, targetId);
|
public ProtomechPhysicalAttackAction(int entityId, int targetType, int targetId) { super(entityId, targetType, targetId); }
|
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/3cd174f9bbb391899df2ff256c62d7fe57ec7cc9/ProtomechPhysicalAttackAction.java/clean/megamek/src/megamek/common/actions/ProtomechPhysicalAttackAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1186,
88,
1742,
343,
18136,
3075,
484,
1803,
12,
474,
15052,
16,
509,
16065,
16,
509,
27729,
13,
288,
3639,
2240,
12,
1096,
548,
16,
16065,
16,
27729,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1186,
88,
1742,
343,
18136,
3075,
484,
1803,
12,
474,
15052,
16,
509,
16065,
16,
509,
27729,
13,
288,
3639,
2240,
12,
1096,
548,
16,
16065,
16,
27729,
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
] |
log.info("test- isc_dsql_free_statement");
|
if (log!=null) log.info("test- isc_dsql_free_statement");
|
public void testCreateAndWriteBlobStreamInStreamPieces() throws Exception { byte[] a = new String("a").getBytes(); byte[] testbuf = new byte[4096];//2030]; int reps = 10;//10000; Arrays.fill(testbuf, a[0]); log.info("test- testCreateAndWriteBlobInStreamPieces"); db1 = setupTable2(); t1 = startTransaction(db1); isc_blob_handle_impl blob1 = (isc_blob_handle_impl)gds.get_new_isc_blob_handle(); Clumplet bpb = GDSFactory.newClumplet(GDS.isc_bpb_type, GDS.isc_bpb_type_stream); //Clumplet bpb = GDSFactory.newClumplet(GDS.isc_bpb_type, GDS.isc_bpb_type_segmented); gds.isc_create_blob2(db1, t1, blob1, bpb); log.info("test- new blob_id: " + blob1.blob_id); for (int i = 0; i< reps; i++) { gds.isc_put_segment(blob1, testbuf); } log.info("test- wrote bytes: " + (100 * testbuf.length)); XSQLDA xsqlda = new XSQLDA(2); XSQLVAR xsqlvar = new XSQLVAR(); xsqlvar.sqltype = GDS.SQL_SHORT; xsqlvar.sqllen = 2; xsqlvar.sqldata = new Short((short) 3); xsqlda.sqlvar[0] = xsqlvar; xsqlvar = new XSQLVAR(); xsqlvar.sqltype = GDS.SQL_BLOB; xsqlvar.sqllen = 8; xsqlvar.sqldata = new Long(blob1.blob_id); xsqlda.sqlvar[1] = xsqlvar; gds.isc_close_blob(blob1); log.info("test- isc_dsql_exec_immed2"); gds.isc_dsql_exec_immed2(db1, t1, "INSERT INTO R2 VALUES (?, ?)", GDS.SQL_DIALECT_CURRENT, xsqlda, null); isc_stmt_handle stmt1 = gds.get_new_isc_stmt_handle(); log.info("test- isc_dsql_allocate_statement"); gds.isc_dsql_allocate_statement(db1, stmt1); XSQLDA out_xsqlda = gds.isc_dsql_prepare(t1, stmt1, "SELECT COL1, COL2 FROM R2", GDS.SQL_DIALECT_CURRENT); log.info("test- isc_dsql_execute2"); gds.isc_dsql_execute2(t1, stmt1, 1, null, null); isc_blob_handle_impl blob2 = (isc_blob_handle_impl)gds.get_new_isc_blob_handle(); while (gds.isc_dsql_fetch(stmt1, 1, out_xsqlda) != null) { String out = ""; for (int i = 0; i < out_xsqlda.sqld; i++) { Object data = out_xsqlda.sqlvar[i].sqldata; out += "column: " + i + ", value: " + data; } log.info(out); blob2.blob_id =((Long) out_xsqlda.sqlvar[1].sqldata).longValue(); // blob2.rbl_buffer_length = 10;//1024; gds.isc_open_blob2(db1, t1, blob2, bpb); int readcount = 0; do { byte[] answer = gds.isc_get_segment(blob2, 1052);// 1050) readcount += answer.length; } while (!blob2.isEof()); log.info("test- read bytes: " + readcount); if (readcount != (reps * testbuf.length)) { throw new Exception("Retrieved wrong size"); } gds.isc_close_blob(blob2); } log.info("test- isc_dsql_free_statement"); gds.isc_dsql_free_statement(stmt1, GDS.DSQL_drop); commit(t1); teardownTable2(db1); // dropDatabase(db1); }
|
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/d551c5302d9d5f52860ad5a47b9cbab3e036a621/TestGds.java/clean/src/org/firebirdsql/jgds/TestGds.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1684,
1876,
3067,
9405,
1228,
382,
1228,
16539,
8610,
1435,
1216,
1185,
288,
3639,
1160,
8526,
279,
273,
394,
514,
2932,
69,
20387,
588,
2160,
5621,
3639,
1160,
8526,
1842,
4385,
273,
394,
1160,
63,
24,
5908,
26,
15533,
759,
3462,
5082,
15533,
3639,
509,
283,
1121,
273,
1728,
31,
759,
23899,
31,
3639,
5647,
18,
5935,
12,
3813,
4385,
16,
279,
63,
20,
19226,
3639,
613,
18,
1376,
2932,
3813,
17,
1842,
1684,
1876,
3067,
9405,
382,
1228,
16539,
8610,
8863,
3639,
1319,
21,
273,
3875,
1388,
22,
5621,
3639,
268,
21,
273,
787,
3342,
12,
1966,
21,
1769,
565,
353,
71,
67,
10721,
67,
4110,
67,
11299,
4795,
21,
273,
261,
291,
71,
67,
10721,
67,
4110,
67,
11299,
13,
75,
2377,
18,
588,
67,
2704,
67,
291,
71,
67,
10721,
67,
4110,
5621,
565,
3905,
379,
1469,
324,
5733,
273,
611,
3948,
1733,
18,
2704,
2009,
379,
1469,
12,
43,
3948,
18,
291,
71,
67,
70,
5733,
67,
723,
16,
611,
3948,
18,
291,
71,
67,
70,
5733,
67,
723,
67,
3256,
1769,
565,
368,
2009,
379,
1469,
324,
5733,
273,
611,
3948,
1733,
18,
2704,
2009,
379,
1469,
12,
43,
3948,
18,
291,
71,
67,
70,
5733,
67,
723,
16,
611,
3948,
18,
291,
71,
67,
70,
5733,
67,
723,
67,
9273,
329,
1769,
565,
314,
2377,
18,
291,
71,
67,
2640,
67,
10721,
22,
12,
1966,
21,
16,
268,
21,
16,
4795,
21,
16,
324,
5733,
1769,
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,
377,
1071,
918,
1842,
1684,
1876,
3067,
9405,
1228,
382,
1228,
16539,
8610,
1435,
1216,
1185,
288,
3639,
1160,
8526,
279,
273,
394,
514,
2932,
69,
20387,
588,
2160,
5621,
3639,
1160,
8526,
1842,
4385,
273,
394,
1160,
63,
24,
5908,
26,
15533,
759,
3462,
5082,
15533,
3639,
509,
283,
1121,
273,
1728,
31,
759,
23899,
31,
3639,
5647,
18,
5935,
12,
3813,
4385,
16,
279,
63,
20,
19226,
3639,
613,
18,
1376,
2932,
3813,
17,
1842,
1684,
1876,
3067,
9405,
382,
1228,
16539,
8610,
8863,
3639,
1319,
21,
273,
3875,
1388,
22,
5621,
3639,
268,
21,
273,
787,
3342,
12,
1966,
21,
1769,
565,
353,
71,
67,
10721,
67,
4110,
67,
11299,
4795,
21,
273,
261,
291,
71,
2
] |
private static String readLine(FSDataInputStream in) throws IOException { StringBuffer buffer = new StringBuffer();
|
public static long readLine(InputStream in, OutputStream out) throws IOException { long bytes = 0;
|
private static String readLine(FSDataInputStream in) throws IOException { StringBuffer buffer = new StringBuffer(); while (true) { int b = in.read(); if (b == -1) break; char c = (char)b; // bug: this assumes eight-bit characters. if (c == '\n') break; if (c == '\r') { long curPos = in.getPos(); char nextC = (char)in.read(); if (nextC != '\n') { in.seek(curPos); } break; } buffer.append(c); } return buffer.toString(); }
|
53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/48264173e88fdcd9b42c4d801117c3b7cb289242/TextInputFormat.java/buggy/src/java/org/apache/hadoop/mapred/TextInputFormat.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
514,
12273,
12,
4931,
751,
4348,
316,
13,
1216,
1860,
288,
565,
6674,
1613,
273,
394,
6674,
5621,
565,
1323,
261,
3767,
13,
288,
1377,
509,
324,
273,
316,
18,
896,
5621,
1377,
309,
261,
70,
422,
300,
21,
13,
3639,
898,
31,
1377,
1149,
276,
273,
261,
3001,
13,
70,
31,
2868,
368,
7934,
30,
333,
13041,
425,
750,
17,
3682,
3949,
18,
1377,
309,
261,
71,
422,
2337,
82,
6134,
3639,
898,
31,
2868,
309,
261,
71,
422,
2337,
86,
6134,
288,
9079,
1525,
662,
1616,
273,
316,
18,
588,
1616,
5621,
3639,
1149,
1024,
39,
273,
261,
3001,
13,
267,
18,
896,
5621,
3639,
309,
261,
4285,
39,
480,
2337,
82,
6134,
288,
1850,
316,
18,
16508,
12,
1397,
1616,
1769,
3639,
289,
3639,
898,
31,
1377,
289,
1377,
1613,
18,
6923,
12,
71,
1769,
565,
289,
3639,
327,
1613,
18,
10492,
5621,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
514,
12273,
12,
4931,
751,
4348,
316,
13,
1216,
1860,
288,
565,
6674,
1613,
273,
394,
6674,
5621,
565,
1323,
261,
3767,
13,
288,
1377,
509,
324,
273,
316,
18,
896,
5621,
1377,
309,
261,
70,
422,
300,
21,
13,
3639,
898,
31,
1377,
1149,
276,
273,
261,
3001,
13,
70,
31,
2868,
368,
7934,
30,
333,
13041,
425,
750,
17,
3682,
3949,
18,
1377,
309,
261,
71,
422,
2337,
82,
6134,
3639,
898,
31,
2868,
309,
261,
71,
422,
2337,
86,
6134,
288,
9079,
1525,
662,
1616,
273,
316,
18,
588,
1616,
5621,
3639,
1149,
1024,
39,
273,
261,
3001,
13,
267,
18,
896,
5621,
3639,
309,
261,
4285,
39,
480,
2337,
82,
6134,
288,
2
] |
SVGAnimatedNumberList result; if (valuesReference == null || (result = (SVGAnimatedNumberList)valuesReference.get()) == null) { DefaultAttributeValueProducer davp; davp = new DefaultAttributeValueProducer() { public String getDefaultAttributeValue() { String s = getAttributeNS(null, SVG_TYPE_ATTRIBUTE); if (s.equals(SVG_MATRIX_VALUE)) { return "1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"; } else if (s.equals(SVG_SATURATE_VALUE)) { return "1"; } else if (s.equals(SVG_HUE_ROTATE_VALUE)) { return "0"; } else { return ""; } } }; result = new SVGOMAnimatedNumberList(this, null, SVG_VALUES_ATTRIBUTE, davp); valuesReference = new WeakReference(result); } return result;
|
throw new RuntimeException("!!! TODO: getValues()");
|
public SVGAnimatedNumberList getValues() { SVGAnimatedNumberList result; if (valuesReference == null || (result = (SVGAnimatedNumberList)valuesReference.get()) == null) { DefaultAttributeValueProducer davp; davp = new DefaultAttributeValueProducer() { public String getDefaultAttributeValue() { String s = getAttributeNS(null, SVG_TYPE_ATTRIBUTE); if (s.equals(SVG_MATRIX_VALUE)) { return "1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"; } else if (s.equals(SVG_SATURATE_VALUE)) { return "1"; } else if (s.equals(SVG_HUE_ROTATE_VALUE)) { return "0"; } else { return ""; } } }; result = new SVGOMAnimatedNumberList(this, null, SVG_VALUES_ATTRIBUTE, davp); valuesReference = new WeakReference(result); } return result; }
|
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/c91b2fb5364b1bf541875570f744ed45f27d936e/SVGOMFEColorMatrixElement.java/buggy/sources/org/apache/batik/dom/svg/SVGOMFEColorMatrixElement.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11281,
979,
17275,
1854,
682,
13500,
1435,
288,
202,
26531,
979,
17275,
1854,
682,
563,
31,
202,
430,
261,
2372,
2404,
422,
446,
747,
202,
565,
261,
2088,
273,
261,
26531,
979,
17275,
1854,
682,
13,
2372,
2404,
18,
588,
10756,
422,
446,
13,
288,
5411,
2989,
14942,
12140,
302,
842,
84,
31,
5411,
302,
842,
84,
273,
394,
2989,
14942,
12140,
1435,
288,
7734,
1071,
514,
4829,
14942,
1435,
288,
10792,
514,
272,
273,
4061,
3156,
12,
2011,
16,
11281,
67,
2399,
67,
11616,
1769,
10792,
309,
261,
87,
18,
14963,
12,
26531,
67,
29107,
67,
4051,
3719,
288,
13491,
327,
315,
21,
374,
374,
374,
374,
225,
374,
404,
374,
374,
374,
225,
374,
374,
404,
374,
374,
225,
374,
374,
374,
404,
374,
14432,
10792,
289,
469,
309,
261,
87,
18,
14963,
12,
26531,
67,
55,
789,
1099,
1777,
67,
4051,
3719,
288,
13491,
327,
315,
21,
14432,
10792,
289,
469,
309,
261,
87,
18,
14963,
12,
26531,
67,
44,
1821,
67,
1457,
56,
1777,
67,
4051,
3719,
288,
13491,
327,
315,
20,
14432,
10792,
289,
469,
288,
13491,
327,
1408,
31,
10792,
289,
7734,
289,
5411,
289,
31,
202,
565,
563,
273,
394,
11281,
1872,
979,
17275,
1854,
682,
12,
2211,
16,
446,
16,
11281,
67,
16386,
67,
11616,
16,
302,
842,
84,
1769,
202,
565,
924,
2404,
273,
394,
23632,
2404,
12,
2088,
1769,
202,
97,
202,
2463,
563,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11281,
979,
17275,
1854,
682,
13500,
1435,
288,
202,
26531,
979,
17275,
1854,
682,
563,
31,
202,
430,
261,
2372,
2404,
422,
446,
747,
202,
565,
261,
2088,
273,
261,
26531,
979,
17275,
1854,
682,
13,
2372,
2404,
18,
588,
10756,
422,
446,
13,
288,
5411,
2989,
14942,
12140,
302,
842,
84,
31,
5411,
302,
842,
84,
273,
394,
2989,
14942,
12140,
1435,
288,
7734,
1071,
514,
4829,
14942,
1435,
288,
10792,
514,
272,
273,
4061,
3156,
12,
2011,
16,
11281,
67,
2399,
67,
11616,
1769,
10792,
309,
261,
87,
18,
14963,
12,
26531,
67,
29107,
67,
4051,
3719,
288,
13491,
327,
315,
21,
374,
374,
374,
374,
225,
374,
404,
374,
374,
374,
225,
374,
374,
2
] |
private void insertTextDocumentIncludes(TextDocumentDomainObject textDocument) {
|
private void insertTextDocumentIncludes( TextDocumentDomainObject textDocument ) {
|
private void insertTextDocumentIncludes(TextDocumentDomainObject textDocument) { Map includes = textDocument.getIncludes(); for (Iterator iterator = includes.keySet().iterator(); iterator.hasNext();) { Integer includeIndex = (Integer) iterator.next(); Integer includedDocumentId = (Integer) includes.get(includeIndex); sqlInsertTextDocumentInclude(textDocument, includeIndex, includedDocumentId); } }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/f203f6fc91c9ae8d2fcd69e28ea9f0981a4ee690/DocumentMapper.java/buggy/server/src/imcode/server/document/DocumentMapper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2243,
1528,
2519,
16815,
12,
3867,
2519,
3748,
921,
977,
2519,
262,
288,
3639,
1635,
6104,
273,
977,
2519,
18,
588,
16815,
5621,
3639,
364,
261,
3198,
2775,
273,
6104,
18,
856,
694,
7675,
9838,
5621,
2775,
18,
5332,
2134,
5621,
13,
288,
5411,
2144,
2341,
1016,
273,
261,
4522,
13,
2775,
18,
4285,
5621,
5411,
2144,
5849,
2519,
548,
273,
261,
4522,
13,
6104,
18,
588,
12,
6702,
1016,
1769,
5411,
1847,
4600,
1528,
2519,
8752,
12,
955,
2519,
16,
2341,
1016,
16,
5849,
2519,
548,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2243,
1528,
2519,
16815,
12,
3867,
2519,
3748,
921,
977,
2519,
262,
288,
3639,
1635,
6104,
273,
977,
2519,
18,
588,
16815,
5621,
3639,
364,
261,
3198,
2775,
273,
6104,
18,
856,
694,
7675,
9838,
5621,
2775,
18,
5332,
2134,
5621,
13,
288,
5411,
2144,
2341,
1016,
273,
261,
4522,
13,
2775,
18,
4285,
5621,
5411,
2144,
5849,
2519,
548,
273,
261,
4522,
13,
6104,
18,
588,
12,
6702,
1016,
1769,
5411,
1847,
4600,
1528,
2519,
8752,
12,
955,
2519,
16,
2341,
1016,
16,
5849,
2519,
548,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
IProject project = target.getContainer().getProject(); ProjectTargets projectTargets = (ProjectTargets)projectMap.get(project);
|
ProjectTargets projectTargets = (ProjectTargets)projectMap.get(target.getProject());
|
public void removeTarget(IMakeTarget target) throws CoreException { IProject project = target.getContainer().getProject(); ProjectTargets projectTargets = (ProjectTargets)projectMap.get(project); if (projectTargets == null) { projectTargets = readTargets(project); } if (projectTargets.remove((MakeTarget) target)) { try { writeTargets(projectTargets); } catch (CoreException e) { projectTargets.add((MakeTarget) target); throw e; } notifyListeners(new MakeTargetEvent(this, MakeTargetEvent.TARGET_REMOVED, target)); } }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/bcf69885a2954f37381ed63c03100b1f89da3310/MakeTargetManager.java/clean/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/internal/core/MakeTargetManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1206,
2326,
12,
3445,
911,
2326,
1018,
13,
1216,
30015,
288,
202,
202,
45,
4109,
1984,
273,
1018,
18,
588,
2170,
7675,
588,
4109,
5621,
202,
202,
4109,
9432,
1984,
9432,
273,
261,
4109,
9432,
13,
4406,
863,
18,
588,
12,
4406,
1769,
202,
202,
430,
261,
4406,
9432,
422,
446,
13,
288,
1082,
202,
4406,
9432,
273,
855,
9432,
12,
4406,
1769,
202,
202,
97,
202,
202,
430,
261,
4406,
9432,
18,
4479,
12443,
6464,
2326,
13,
1018,
3719,
288,
1082,
202,
698,
288,
9506,
202,
2626,
9432,
12,
4406,
9432,
1769,
1082,
202,
97,
1044,
261,
25341,
425,
13,
288,
9506,
202,
4406,
9432,
18,
1289,
12443,
6464,
2326,
13,
1018,
1769,
9506,
202,
12849,
425,
31,
1082,
202,
97,
1082,
202,
12336,
5583,
12,
2704,
4344,
2326,
1133,
12,
2211,
16,
4344,
2326,
1133,
18,
16374,
67,
11122,
12135,
16,
1018,
10019,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1206,
2326,
12,
3445,
911,
2326,
1018,
13,
1216,
30015,
288,
202,
202,
45,
4109,
1984,
273,
1018,
18,
588,
2170,
7675,
588,
4109,
5621,
202,
202,
4109,
9432,
1984,
9432,
273,
261,
4109,
9432,
13,
4406,
863,
18,
588,
12,
4406,
1769,
202,
202,
430,
261,
4406,
9432,
422,
446,
13,
288,
1082,
202,
4406,
9432,
273,
855,
9432,
12,
4406,
1769,
202,
202,
97,
202,
202,
430,
261,
4406,
9432,
18,
4479,
12443,
6464,
2326,
13,
1018,
3719,
288,
1082,
202,
698,
288,
9506,
202,
2626,
9432,
12,
4406,
9432,
1769,
1082,
202,
97,
1044,
261,
25341,
425,
13,
288,
9506,
202,
4406,
9432,
18,
1289,
12443,
6464,
2326,
13,
1018,
1769,
9506,
2
] |
sb.append(" TC");
|
sb.append(" TC");
|
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("ID=" + id + "\n"); if (qr) { sb.append(" QR"); } sb.append(" OPCODE=" + opCode); if (aa) { sb.append(" AA"); } if (tc) { sb.append(" TC"); } if (rd) { sb.append(" RD"); } if (ra) { sb.append(" RA"); } sb.append(" RCODE=" + rCode); sb.append("\n"); sb.append("QDCOUNT=" + qdCount); for (int i = 0; i < questionRecords.size(); i++) { sb.append("\n"); sb.append(questionRecords.elementAt(i).toString()); } sb.append("\n"); sb.append(" ANCOUNT=" + anCount); for (int i = 0; i < answerRRs.size(); i++) { sb.append("\n"); sb.append(answerRRs.elementAt(i).toString()); } sb.append("\n"); sb.append(" NSCOUNT=" + nsCount); for (int i = 0; i < authorityRRs.size(); i++) { sb.append("\n"); sb.append(authorityRRs.elementAt(i).toString()); } sb.append("\n"); sb.append(" ARCOUNT=" + arCount); for (int i = 0; i < additionalRRs.size(); i++) { sb.append("\n"); sb.append(additionalRRs.elementAt(i).toString()); } return sb.toString(); }
|
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/a019071d67c658acaf59b3bed874ed07bb31de07/Message.java/clean/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/dns/Message.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
288,
3639,
6674,
2393,
273,
394,
6674,
5621,
3639,
2393,
18,
6923,
2932,
734,
1546,
397,
612,
397,
1548,
82,
8863,
3639,
309,
261,
27401,
13,
288,
5411,
2393,
18,
6923,
2932,
18055,
8863,
3639,
289,
3639,
2393,
18,
6923,
2932,
531,
3513,
2712,
1546,
397,
1061,
1085,
1769,
3639,
309,
261,
7598,
13,
288,
5411,
2393,
18,
6923,
2932,
27343,
8863,
3639,
289,
3639,
309,
261,
5111,
13,
288,
5411,
2393,
18,
6923,
2932,
23718,
8863,
3639,
289,
3639,
309,
261,
13623,
13,
288,
5411,
2393,
18,
6923,
2932,
534,
40,
8863,
3639,
289,
3639,
309,
261,
354,
13,
288,
5411,
2393,
18,
6923,
2932,
26880,
8863,
3639,
289,
3639,
2393,
18,
6923,
2932,
534,
5572,
1546,
397,
436,
1085,
1769,
3639,
2393,
18,
6923,
31458,
82,
8863,
3639,
2393,
18,
6923,
2932,
53,
40,
7240,
1546,
397,
1043,
72,
1380,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5073,
6499,
18,
1467,
5621,
277,
27245,
288,
5411,
2393,
18,
6923,
31458,
82,
8863,
5411,
2393,
18,
6923,
12,
4173,
6499,
18,
2956,
861,
12,
77,
2934,
10492,
10663,
3639,
289,
3639,
2393,
18,
6923,
31458,
82,
8863,
3639,
2393,
18,
6923,
2932,
8175,
7240,
1546,
397,
392,
1380,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5803,
17950,
87,
18,
1467,
5621,
277,
27245,
288,
5411,
2393,
18,
6923,
31458,
82,
8863,
5411,
2393,
18,
6923,
12,
13490,
17950,
87,
18,
2956,
861,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
288,
3639,
6674,
2393,
273,
394,
6674,
5621,
3639,
2393,
18,
6923,
2932,
734,
1546,
397,
612,
397,
1548,
82,
8863,
3639,
309,
261,
27401,
13,
288,
5411,
2393,
18,
6923,
2932,
18055,
8863,
3639,
289,
3639,
2393,
18,
6923,
2932,
531,
3513,
2712,
1546,
397,
1061,
1085,
1769,
3639,
309,
261,
7598,
13,
288,
5411,
2393,
18,
6923,
2932,
27343,
8863,
3639,
289,
3639,
309,
261,
5111,
13,
288,
5411,
2393,
18,
6923,
2932,
23718,
8863,
3639,
289,
3639,
309,
261,
13623,
13,
288,
5411,
2393,
18,
6923,
2932,
534,
40,
8863,
3639,
289,
3639,
309,
261,
354,
13,
288,
5411,
2393,
18,
6923,
2932,
26880,
8863,
3639,
289,
3639,
2393,
18,
6923,
2
] |
});
|
} );
|
protected void fireSelectionChanged( ) { Display.getCurrent( ).asyncExec( new Runnable( ) { public void run( ) { ReportRequest request = new ReportRequest(DeferredGraphicalViewer.this); List list = new ArrayList(); if(getSelection() instanceof IStructuredSelection) { list = ((IStructuredSelection)getSelection()).toList(); } request.setSelectionObject(list); request.setType(ReportRequest.SELECTION); request.setRequestConvert(new EditorReportRequestConvert()); //SessionHandleAdapter.getInstance().getMediator().pushState(); SessionHandleAdapter.getInstance().getMediator().notifyRequest(request); DeferredGraphicalViewer.super.fireSelectionChanged( ); //SessionHandleAdapter.getInstance().getMediator().popState(); } }); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/879c6e2a73c9076aeeed74591c18318a1397dcd3/DeferredGraphicalViewer.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/parts/DeferredGraphicalViewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4452,
6233,
5033,
12,
262,
202,
95,
9506,
202,
4236,
18,
588,
3935,
12,
262,
18,
3810,
1905,
12,
394,
10254,
12,
262,
288,
1082,
202,
482,
918,
1086,
12,
262,
1082,
202,
95,
9506,
202,
4820,
691,
590,
273,
394,
8706,
691,
12,
16886,
4137,
1706,
18415,
18,
2211,
1769,
9506,
202,
682,
666,
273,
394,
2407,
5621,
9506,
202,
430,
12,
588,
6233,
1435,
1276,
467,
30733,
6233,
13,
9506,
202,
95,
6862,
202,
1098,
273,
14015,
45,
30733,
6233,
13,
588,
6233,
1435,
2934,
869,
682,
5621,
9506,
202,
97,
9506,
202,
2293,
18,
542,
6233,
921,
12,
1098,
1769,
9506,
202,
2293,
18,
542,
559,
12,
4820,
691,
18,
1090,
15445,
1769,
6862,
9506,
202,
2293,
18,
542,
691,
2723,
12,
2704,
18451,
4820,
691,
2723,
10663,
9506,
202,
759,
2157,
3259,
4216,
18,
588,
1442,
7675,
588,
13265,
10620,
7675,
6206,
1119,
5621,
9506,
202,
2157,
3259,
4216,
18,
588,
1442,
7675,
588,
13265,
10620,
7675,
12336,
691,
12,
2293,
1769,
6862,
9506,
202,
16886,
4137,
1706,
18415,
18,
9565,
18,
12179,
6233,
5033,
12,
11272,
9506,
202,
759,
2157,
3259,
4216,
18,
588,
1442,
7675,
588,
13265,
10620,
7675,
5120,
1119,
5621,
1082,
202,
97,
6862,
202,
22938,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4452,
6233,
5033,
12,
262,
202,
95,
9506,
202,
4236,
18,
588,
3935,
12,
262,
18,
3810,
1905,
12,
394,
10254,
12,
262,
288,
1082,
202,
482,
918,
1086,
12,
262,
1082,
202,
95,
9506,
202,
4820,
691,
590,
273,
394,
8706,
691,
12,
16886,
4137,
1706,
18415,
18,
2211,
1769,
9506,
202,
682,
666,
273,
394,
2407,
5621,
9506,
202,
430,
12,
588,
6233,
1435,
1276,
467,
30733,
6233,
13,
9506,
202,
95,
6862,
202,
1098,
273,
14015,
45,
30733,
6233,
13,
588,
6233,
1435,
2934,
869,
682,
5621,
9506,
202,
97,
9506,
202,
2293,
18,
542,
6233,
921,
12,
1098,
1769,
9506,
202,
2293,
18,
542,
559,
12,
4820,
691,
18,
1090,
15445,
2
] |
public ISolution getSolution(IUniqueId id) throws PlatformException { ISolution solution = this.createSolution(); // loading plugin information // building query SQLSelect select = new SQLSelect(); select.addTable(SolutionInfo.TABLE_NAME); select.addCondition("solution_id =", id.getId()); ResultSet resultSet = null; try { resultSet = _dbManager.select(select); resultSet.next(); // loading solution ((Solution) solution).getInfo().load(resultSet); // one row should be found, if found more, the first is got if (resultSet.next()) { LOGGER.warn("TOO MANY ROWS"); } resultSet.close(); } catch (Exception e) { LOGGER.fatal("", e); throw new DBException(e.getLocalizedMessage()); } LOGGER.debug("solution: " + solution); LOGGER.info("Solution successfully loaded."); try{ // forcing connecting do external data base solution.getDataEngine(); } catch (Exception e) { LOGGER.fatal("", e); Utils.showErrorMessage("Cannot connect to database"); throw new DBException(e.getLocalizedMessage()); } LOGGER.info("Connected to external data base"); // setting current solution _currentSolution = solution; return _currentSolution; }
|
12741 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12741/c6e0d80f0e9b696ca275787b4040c335b5a24483/SolutionManager.java/clean/salomon/platform/trunk/src/salomon/engine/solution/SolutionManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4437,
5889,
1322,
5889,
12,
45,
24174,
612,
13,
1216,
11810,
503,
202,
95,
202,
202,
5127,
5889,
6959,
273,
333,
18,
2640,
16135,
5621,
202,
202,
759,
7153,
1909,
1779,
202,
202,
759,
10504,
843,
202,
202,
3997,
3391,
2027,
273,
394,
3063,
3391,
5621,
202,
202,
4025,
18,
1289,
1388,
12,
16135,
966,
18,
7775,
67,
1985,
1769,
202,
202,
4025,
18,
1289,
3418,
2932,
13385,
67,
350,
273,
3113,
612,
18,
26321,
10663,
202,
202,
13198,
12168,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
2088,
694,
273,
389,
1966,
1318,
18,
4025,
12,
4025,
1769,
1082,
202,
2088,
694,
18,
4285,
5621,
1082,
202,
759,
7153,
6959,
1082,
202,
12443,
16135,
13,
6959,
2934,
588,
966,
7675,
945,
12,
2088,
694,
1769,
25083,
202,
759,
1245,
1027,
1410,
506,
1392,
16,
309,
1392,
1898,
16,
326,
1122,
353,
2363,
1082,
202,
430,
261,
2088,
694,
18,
4285,
10756,
288,
9506,
202,
8757,
18,
8935,
2932,
4296,
51,
490,
15409,
6525,
2651,
8863,
1082,
202,
97,
1082,
202,
2088,
694,
18,
4412,
5621,
202,
202,
97,
1044,
261,
503,
425,
13,
288,
1082,
202,
8757,
18,
30709,
2932,
3113,
425,
1769,
1082,
202,
12849,
394,
23495,
12,
73,
18,
588,
2042,
1235,
1079,
10663,
202,
202,
97,
9506,
202,
8757,
18,
4148,
2932,
13385,
30,
315,
397,
6959,
1769,
202,
202,
8757,
18,
1376,
2932,
16135,
4985,
4203,
1199,
1769,
9506,
202,
698,
95,
1082,
202,
759,
364,
2822,
14244,
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,
4437,
5889,
1322,
5889,
12,
45,
24174,
612,
13,
1216,
11810,
503,
202,
95,
202,
202,
5127,
5889,
6959,
273,
333,
18,
2640,
16135,
5621,
202,
202,
759,
7153,
1909,
1779,
202,
202,
759,
10504,
843,
202,
202,
3997,
3391,
2027,
273,
394,
3063,
3391,
5621,
202,
202,
4025,
18,
1289,
1388,
12,
16135,
966,
18,
7775,
67,
1985,
1769,
202,
202,
4025,
18,
1289,
3418,
2932,
13385,
67,
350,
273,
3113,
612,
18,
26321,
10663,
202,
202,
13198,
12168,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
2088,
694,
273,
389,
1966,
1318,
18,
4025,
12,
4025,
1769,
1082,
202,
2088,
694,
18,
4285,
5621,
1082,
202,
759,
7153,
6959,
1082,
202,
12443,
16135,
2
] |
||
};
|
}
|
public void widgetSelected (SelectionEvent event) { setWidgetMinimum (); };
|
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/c2ce437a63d3b60125a283c15cfca323c2e2ec7b/RangeTab.java/clean/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/RangeTab.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
261,
6233,
1133,
871,
13,
288,
9506,
202,
542,
4609,
13042,
261,
1769,
1082,
202,
20451,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
261,
6233,
1133,
871,
13,
288,
9506,
202,
542,
4609,
13042,
261,
1769,
1082,
202,
20451,
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
] |
return e.getVersion();
|
String version = e.getVersion(); return version == null ? "" : version;
|
public String getColumnText(Object o, int columnIndex) { SelectedBundleElement e = (SelectedBundleElement) o; switch (columnIndex) { case 0: // Name return e.getName(); /* if (e.getType() == SelectedBundleElement.TYPE_BUNDLE) { return e.getName(); } else { return e.getPath()+ " ("+e.getName()+")"; } */ case 1: // Version return e.getVersion(); case 2: // Start level return Integer.toString(e.getLaunchInfo().getStartLevel()); case 3: // Mode return BundleLaunchInfo.MODES[e.getLaunchInfo().getMode()]; case 4: // Error String error = e.getError(); return error == null ? "" : error; default: return ""; } }
|
14547 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14547/c47a7f2616c12043b7d9877aa33aae915c4e72ef/SelectedBundlesLabelProvider.java/clean/org.knopflerfish.eclipse.core.ui/src/org/knopflerfish/eclipse/core/ui/launcher/bundle/SelectedBundlesLabelProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
6716,
1528,
12,
921,
320,
16,
509,
14882,
13,
288,
565,
4352,
828,
3405,
1046,
425,
273,
261,
7416,
3405,
1046,
13,
320,
31,
565,
1620,
261,
2827,
1016,
13,
288,
1377,
648,
374,
30,
3639,
368,
1770,
3639,
327,
425,
18,
17994,
5621,
3639,
1748,
3639,
309,
261,
73,
18,
588,
559,
1435,
422,
4352,
828,
3405,
1046,
18,
2399,
67,
30245,
13,
288,
1850,
327,
425,
18,
17994,
5621,
540,
289,
469,
288,
1850,
327,
425,
18,
588,
743,
1435,
15,
315,
7566,
15,
73,
18,
17994,
1435,
9078,
2225,
31,
540,
289,
3639,
1195,
1377,
648,
404,
30,
3639,
368,
4049,
3639,
514,
1177,
273,
425,
18,
588,
1444,
5621,
327,
1177,
422,
446,
692,
1408,
294,
1177,
31,
1377,
648,
576,
30,
3639,
368,
3603,
1801,
3639,
327,
2144,
18,
10492,
12,
73,
18,
588,
9569,
966,
7675,
588,
1685,
2355,
10663,
1377,
648,
890,
30,
3639,
368,
8126,
3639,
327,
8539,
9569,
966,
18,
7038,
55,
63,
73,
18,
588,
9569,
966,
7675,
588,
2309,
1435,
15533,
1377,
648,
1059,
30,
3639,
368,
1068,
3639,
514,
555,
273,
425,
18,
588,
668,
5621,
3639,
327,
555,
422,
446,
692,
1408,
294,
555,
31,
1377,
805,
30,
3639,
327,
1408,
31,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
6716,
1528,
12,
921,
320,
16,
509,
14882,
13,
288,
565,
4352,
828,
3405,
1046,
425,
273,
261,
7416,
3405,
1046,
13,
320,
31,
565,
1620,
261,
2827,
1016,
13,
288,
1377,
648,
374,
30,
3639,
368,
1770,
3639,
327,
425,
18,
17994,
5621,
3639,
1748,
3639,
309,
261,
73,
18,
588,
559,
1435,
422,
4352,
828,
3405,
1046,
18,
2399,
67,
30245,
13,
288,
1850,
327,
425,
18,
17994,
5621,
540,
289,
469,
288,
1850,
327,
425,
18,
588,
743,
1435,
15,
315,
7566,
15,
73,
18,
17994,
1435,
9078,
2225,
31,
540,
289,
3639,
1195,
1377,
648,
404,
30,
3639,
368,
4049,
3639,
514,
1177,
273,
425,
18,
588,
1444,
5621,
327,
1177,
422,
2
] |
printMessage("recorded 1 frame (" + numBytesRead + ") bytes");
|
if (tracing) { printMessage( "recorded 1 frame (" + numBytesRead + ") bytes"); }
|
public void run() { if (audioLine != null && audioLine.isOpen()) { Utterance currentUtterance = new Utterance ("Microphone", getContext()); utteranceList.add(currentUtterance); audioLine.start(); printMessage("started recording"); while (getRecording() && !getClosed()) { // Read the next chunk of data from the TargetDataLine. byte[] data = new byte[frameSizeInBytes]; int numBytesRead = audioLine.read(data, 0, data.length); if (numBytesRead == frameSizeInBytes) { currentUtterance.add(data); } else { numBytesRead = (numBytesRead % 2 == 0) ? numBytesRead + 2 : numBytesRead + 3; byte[] shrinked = new byte[numBytesRead]; System.arraycopy(data, 0, shrinked, 0, numBytesRead); currentUtterance.add(shrinked); } printMessage("recorded 1 frame (" + numBytesRead + ") bytes"); } audioLine.stop(); audioLine.close(); printMessage("stopped recording"); } else { printMessage("Unable to open line"); } }
|
47105 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47105/16e6acc325a5d864972e9c075375ea964abafc98/Microphone.java/clean/sphinx4/edu/cmu/sphinx/frontend/util/Microphone.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
13491,
309,
261,
11509,
1670,
480,
446,
597,
7447,
1670,
18,
291,
3678,
10756,
288,
27573,
587,
88,
387,
1359,
783,
57,
88,
387,
1359,
273,
394,
587,
88,
387,
1359,
10792,
7566,
13617,
10540,
3113,
6474,
10663,
7734,
31297,
682,
18,
1289,
12,
2972,
57,
88,
387,
1359,
1769,
27573,
7447,
1670,
18,
1937,
5621,
7734,
1172,
1079,
2932,
14561,
14949,
8863,
4766,
7734,
1323,
261,
588,
21037,
1435,
597,
401,
588,
7395,
10756,
288,
4766,
18701,
368,
2720,
326,
1024,
2441,
434,
501,
628,
326,
5916,
751,
1670,
18,
10792,
1160,
8526,
501,
273,
394,
1160,
63,
3789,
1225,
16144,
15533,
10792,
509,
18633,
1994,
273,
7447,
1670,
18,
896,
12,
892,
16,
374,
16,
501,
18,
2469,
1769,
4766,
3639,
309,
261,
2107,
2160,
1994,
422,
2623,
1225,
16144,
13,
288,
13491,
783,
57,
88,
387,
1359,
18,
1289,
12,
892,
1769,
10792,
289,
469,
288,
13491,
18633,
1994,
273,
261,
2107,
2160,
1994,
738,
576,
422,
374,
13,
692,
18701,
18633,
1994,
397,
576,
294,
18633,
1994,
397,
890,
31,
4766,
7734,
1160,
8526,
17697,
329,
273,
394,
1160,
63,
2107,
2160,
1994,
15533,
13491,
2332,
18,
1126,
3530,
12,
892,
16,
374,
16,
17697,
329,
16,
374,
16,
18633,
1994,
1769,
13491,
783,
57,
88,
387,
1359,
18,
1289,
12,
674,
12334,
329,
1769,
10792,
289,
4766,
3639,
309,
261,
20187,
13,
288,
1172,
1079,
12,
315,
266,
3850,
785,
404,
2623,
7566,
397,
18633,
1994,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
13491,
309,
261,
11509,
1670,
480,
446,
597,
7447,
1670,
18,
291,
3678,
10756,
288,
27573,
587,
88,
387,
1359,
783,
57,
88,
387,
1359,
273,
394,
587,
88,
387,
1359,
10792,
7566,
13617,
10540,
3113,
6474,
10663,
7734,
31297,
682,
18,
1289,
12,
2972,
57,
88,
387,
1359,
1769,
27573,
7447,
1670,
18,
1937,
5621,
7734,
1172,
1079,
2932,
14561,
14949,
8863,
4766,
7734,
1323,
261,
588,
21037,
1435,
597,
401,
588,
7395,
10756,
288,
4766,
18701,
368,
2720,
326,
1024,
2441,
434,
501,
628,
326,
5916,
751,
1670,
18,
10792,
1160,
8526,
501,
273,
394,
1160,
63,
3789,
1225,
16144,
15533,
10792,
509,
18633,
1994,
273,
7447,
1670,
18,
896,
12,
2
] |
protected int[] getTypesInt() { return m_typesInt; }
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/332d87a4507ea84a05602410389902e16f82b5e4/CmsChacc.java/clean/src/org/opencms/workplace/commons/CmsChacc.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
8526,
20780,
1702,
1435,
288,
7734,
327,
312,
67,
2352,
1702,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
8526,
20780,
1702,
1435,
288,
7734,
327,
312,
67,
2352,
1702,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
return clsDesc.getTableName() + "." + field.getSQLName();
|
return _queryExpr.encodeColumn( clsDesc.getTableName(), field.getSQLName() );
|
private String getSQLExpr(ParseTreeNode exprTree) { StringBuffer sb = null; int tokenType = exprTree.getToken().getTokenType(); switch (tokenType) { //Parens passed through from where clause in SQL case LPAREN: return "( " + getSQLExpr( exprTree.getChild(0) ) + " )"; //(possible) unary operators case PLUS: case MINUS: case KEYWORD_ABS: case KEYWORD_NOT: if ( exprTree.getChildCount() == 1 ) return exprTree.getToken().getTokenValue() + " " + getSQLExpr( exprTree.getChild(0) ); else //this was binary PLUS or MINUS return getSQLExpr( exprTree.getChild(0) ) + " " + exprTree.getToken().getTokenValue() + " " + getSQLExpr( exprTree.getChild(1) ); //binary operators case KEYWORD_AND: case KEYWORD_OR: case EQUAL: case NOT_EQUAL: case CONCAT: case GT: case GTE: case LT: case LTE: case TIMES: case DIVIDE: case KEYWORD_MOD: case KEYWORD_LIKE: case KEYWORD_IN: return getSQLExpr( exprTree.getChild(0) ) + " " + exprTree.getToken().getTokenValue() + " " + getSQLExpr( exprTree.getChild(1) ); //tertiary BETWEEN operator case KEYWORD_BETWEEN: return getSQLExpr( exprTree.getChild(0) ) + " " + exprTree.getToken().getTokenValue() + " " + getSQLExpr( exprTree.getChild(1) ) + " AND " + getSQLExpr( exprTree.getChild(2) ); //built in functions case KEYWORD_IS_DEFINED: return getSQLExpr( exprTree.getChild(0) ) + " IS NOT NULL "; case KEYWORD_IS_UNDEFINED: return getSQLExpr( exprTree.getChild(0) ) + " IS NULL "; case KEYWORD_COUNT: if ( exprTree.getChild(0).getToken().getTokenType() == TIMES ) return " COUNT(*) "; else return " COUNT(" + getSQLExpr(exprTree.getChild(0)) +") "; case KEYWORD_SUM: case KEYWORD_MIN: case KEYWORD_MAX: case KEYWORD_AVG: return " " + exprTree.getToken().getTokenValue() + "(" + getSQLExpr(exprTree.getChild(0)) + ") "; //List creation case KEYWORD_LIST: sb = new StringBuffer("( "); for (Enumeration e = exprTree.children(); e.hasMoreElements(); ) sb.append( getSQLExpr( (ParseTreeNode) e.nextElement() ) ) .append(" , "); //replace final comma space with close paren. sb.replace(sb.length() - 2, sb.length() - 1, " )").append(" "); return sb.toString(); //fields or SQL functions case IDENTIFIER: case DOT: if ( exprTree.getChildCount() > 0 && exprTree.getChild(1).getToken().getTokenType() == LPAREN ) { //An SQL function sb = new StringBuffer(exprTree.getToken().getTokenValue()) .append("("); int paramCount = 0; for (Enumeration e = exprTree.children(); e.hasMoreElements(); ) { sb.append( getSQLExpr( (ParseTreeNode) e.nextElement() ) ) .append(" , "); paramCount++; } if ( paramCount > 0 ) //replace final comma space with close paren. sb.replace(sb.length() - 2, sb.length() - 1, " )").append(" "); else //there were no parameters, so no commas. sb.append(") "); return sb.toString(); } else { //a field if ( tokenType == DOT ) addJoinsForPathExpression( (Vector) _pathInfo.get(exprTree) ); JDOFieldDescriptor field = (JDOFieldDescriptor) _fieldInfo.get(exprTree); JDOClassDescriptor clsDesc = (JDOClassDescriptor) field.getClassDescriptor(); if ( clsDesc == null ) clsDesc = _clsDesc; return clsDesc.getTableName() + "." + field.getSQLName(); } //parameters case DOLLAR: //return a question mark with the parameter number. The calling function //will do a mapping return "?" + exprTree.getChild(exprTree.getChildCount() - 1) .getToken().getTokenValue(); //literals which need no modification case BOOLEAN_LITERAL: case LONG_LITERAL: case DOUBLE_LITERAL: case CHAR_LITERAL: return exprTree.getToken().getTokenValue(); //String literals: change \" to "" case STRING_LITERAL: //char replace function should really be somewhere else //first change \" to " sb = new StringBuffer(); String copy = new String(exprTree.getToken().getTokenValue()); int pos = copy.indexOf("\\\"", 1); while ( pos != -1 ) { sb.append(copy.substring(0, pos)).append("\"\""); copy = copy.substring(pos + 2); pos = copy.indexOf("\\\""); } sb.append(copy); //Then change surrounding double quotes to single quotes, and change //' to '' copy = sb.deleteCharAt(0).toString(); sb.setLength(0); sb.append("'"); pos = copy.indexOf("'", 1); while ( pos != -1 ) { sb.append(copy.substring(0, pos)).append("''"); copy = copy.substring(pos + 1); pos = copy.indexOf("'"); } sb.append(copy); //replace final double quote with single quote sb.replace(sb.length() - 1, sb.length(), "'"); return sb.toString(); //Date, time and timestamp literals...strip off keyword (?is that all?) case DATE_LITERAL: case TIME_LITERAL: //date and time both 4 chars long. return exprTree.getToken().getTokenValue().substring(5); case TIMESTAMP_LITERAL: return exprTree.getToken().getTokenValue().substring(10); case KEYWORD_NIL: case KEYWORD_UNDEFINED: return " NULL "; } return ""; }
|
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/4c6fefafaea415658b957b98f4370ad50dcdb7a0/ParseTreeWalker.java/buggy/trunk/castor-2002/castor/src/main/org/exolab/castor/jdo/oql/ParseTreeWalker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
514,
21708,
4742,
12,
3201,
12513,
3065,
2471,
13,
288,
377,
6674,
2393,
273,
446,
31,
565,
509,
22302,
273,
225,
3065,
2471,
18,
588,
1345,
7675,
588,
28675,
5621,
565,
1620,
261,
2316,
559,
13,
288,
1850,
368,
52,
21660,
2275,
3059,
628,
1625,
6591,
316,
3063,
1377,
648,
511,
15111,
30,
3639,
327,
7751,
315,
397,
21708,
4742,
12,
3065,
2471,
18,
588,
1763,
12,
20,
13,
262,
397,
315,
262,
14432,
1850,
368,
12,
12708,
13,
19017,
12213,
1377,
648,
22443,
3378,
30,
648,
6989,
3378,
30,
648,
30191,
67,
2090,
55,
30,
648,
30191,
67,
4400,
30,
3639,
309,
261,
3065,
2471,
18,
588,
1763,
1380,
1435,
422,
404,
262,
1850,
327,
3065,
2471,
18,
588,
1345,
7675,
588,
1345,
620,
1435,
397,
315,
315,
5375,
397,
21708,
4742,
12,
3065,
2471,
18,
588,
1763,
12,
20,
13,
11272,
3639,
469,
1850,
368,
2211,
1703,
3112,
22443,
3378,
578,
6989,
3378,
1850,
327,
21708,
4742,
12,
3065,
2471,
18,
588,
1763,
12,
20,
13,
262,
397,
315,
315,
7734,
397,
3065,
2471,
18,
588,
1345,
7675,
588,
1345,
620,
1435,
397,
315,
315,
9079,
397,
21708,
4742,
12,
3065,
2471,
18,
588,
1763,
12,
21,
13,
11272,
15604,
368,
8578,
12213,
1377,
648,
30191,
67,
4307,
30,
648,
30191,
67,
916,
30,
4202,
648,
18231,
30,
648,
4269,
67,
12853,
30,
648,
3492,
14130,
30,
4202,
648,
19688,
30,
648,
611,
1448,
30,
648,
11807,
30,
648,
511,
1448,
30,
4202,
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,
514,
21708,
4742,
12,
3201,
12513,
3065,
2471,
13,
288,
377,
6674,
2393,
273,
446,
31,
565,
509,
22302,
273,
225,
3065,
2471,
18,
588,
1345,
7675,
588,
28675,
5621,
565,
1620,
261,
2316,
559,
13,
288,
1850,
368,
52,
21660,
2275,
3059,
628,
1625,
6591,
316,
3063,
1377,
648,
511,
15111,
30,
3639,
327,
7751,
315,
397,
21708,
4742,
12,
3065,
2471,
18,
588,
1763,
12,
20,
13,
262,
397,
315,
262,
14432,
1850,
368,
12,
12708,
13,
19017,
12213,
1377,
648,
22443,
3378,
30,
648,
6989,
3378,
30,
648,
30191,
67,
2090,
55,
30,
648,
30191,
67,
4400,
30,
3639,
309,
261,
3065,
2471,
18,
588,
1763,
1380,
1435,
422,
404,
262,
1850,
327,
3065,
2
] |
int bufSize = destRowBytes * destHeight;
|
int bufSize = destRowBytes * destHeight;
|
static int putImage(ImageData image, int screenDepth, int[] transparentPixel, int drawable) { int srcX= 0, srcY= 0; int srcWidth= image.width, srcHeight= image.height; int destX= srcX, destY= srcY, destWidth= srcWidth, destHeight= srcHeight; PaletteData palette = image.palette; if (!(((image.depth == 1 || image.depth == 2 || image.depth == 4 || image.depth == 8) && !palette.isDirect) || ((image.depth == 8) || (image.depth == 16 || image.depth == 24 || image.depth == 32) && palette.isDirect))) return SWT.ERROR_UNSUPPORTED_DEPTH; boolean flipX = destWidth < 0; boolean flipY = destHeight < 0; if (flipX) { destWidth = -destWidth; destX = destX - destWidth; } if (flipY) { destHeight = -destHeight; destY = destY - destHeight; } byte[] srcReds = null, srcGreens = null, srcBlues = null; if (!palette.isDirect) { RGB[] rgbs = palette.getRGBs(); int length = rgbs.length; srcReds = new byte[length]; srcGreens = new byte[length]; srcBlues = new byte[length]; for (int i = 0; i < rgbs.length; i++) { RGB rgb = rgbs[i]; if (rgb == null) continue; srcReds[i] = (byte)rgb.red; srcGreens[i] = (byte)rgb.green; srcBlues[i] = (byte)rgb.blue; } } byte[] destReds = null, destGreens = null, destBlues = null; int destRedMask = 0, destGreenMask = 0, destBlueMask = 0; final boolean screenDirect; if (screenDepth <= 8) { destReds = new byte[srcReds.length]; destGreens = new byte[srcGreens.length]; destBlues = new byte[srcBlues.length]; for (int i = 0; i < srcReds.length; i++) { destReds[i] = srcReds[i]; destGreens[i] = srcGreens[i]; destBlues[i] = srcBlues[i]; } setColorTable(drawable, destReds, destGreens, destBlues); screenDirect = false; } else { destRedMask = getRedMask(screenDepth); destGreenMask = getGreenMask(screenDepth); destBlueMask = getBlueMask(screenDepth); screenDirect = true; } if (transparentPixel != null) { int transRed = 0, transGreen = 0, transBlue = 0; if (palette.isDirect) { RGB rgb = palette.getRGB(transparentPixel[0]); transRed = rgb.red; transGreen = rgb.green; transBlue = rgb.blue; } else { RGB[] rgbs = palette.getRGBs(); if (transparentPixel[0] < rgbs.length) { RGB rgb = rgbs[transparentPixel[0]]; transRed = rgb.red; transGreen = rgb.green; transBlue = rgb.blue; } } transparentPixel[0] = ImageData.closestMatch(screenDepth, (byte)transRed, (byte)transGreen, (byte)transBlue, destRedMask, destGreenMask, destBlueMask, destReds, destGreens, destBlues); } int destDepth= screenDepth; // Device.getDeviceDepth(OS.GetMainDevice()); int destBitsPerPixel= destDepth; int dest_red_mask= getRedMask(destBitsPerPixel); int dest_green_mask= getGreenMask(destBitsPerPixel); int dest_blue_mask= getBlueMask(destBitsPerPixel); int destRowBytes= rowBytes(destWidth, destDepth); int bufSize = destRowBytes * destHeight; byte[] buf = new byte[bufSize]; int srcOrder = image.getByteOrder(); if (palette.isDirect) { if (screenDirect) { ImageData.blit(ImageData.BLIT_SRC, image.data, image.depth, image.bytesPerLine, srcOrder, srcX, srcY, srcWidth, srcHeight, palette.redMask, palette.greenMask, palette.blueMask, ImageData.ALPHA_OPAQUE, null, 0, srcX, srcY, buf, destBitsPerPixel, destRowBytes, ImageData.MSB_FIRST, 0, 0, destWidth, destHeight, dest_red_mask, dest_green_mask, dest_blue_mask, flipX, flipY); } else { ImageData.blit(ImageData.BLIT_SRC, image.data, image.depth, image.bytesPerLine, srcOrder, srcX, srcY, srcWidth, srcHeight, palette.redMask, palette.greenMask, palette.blueMask, ImageData.ALPHA_OPAQUE, null, 0, srcX, srcY, buf, destBitsPerPixel, destRowBytes, ImageData.MSB_FIRST, 0, 0, destWidth, destHeight, destReds, destGreens, destBlues, flipX, flipY); } } else { if (screenDirect) { ImageData.blit(ImageData.BLIT_SRC, image.data, image.depth, image.bytesPerLine, srcOrder, srcX, srcY, srcWidth, srcHeight, srcReds, srcGreens, srcBlues, ImageData.ALPHA_OPAQUE, null, 0, srcX, srcY, buf, destBitsPerPixel, destRowBytes, ImageData.MSB_FIRST, 0, 0, destWidth, destHeight, dest_red_mask, dest_green_mask, dest_blue_mask, flipX, flipY); } else { ImageData.blit(ImageData.BLIT_SRC, image.data, image.depth, image.bytesPerLine, srcOrder, srcX, srcY, srcWidth, srcHeight, srcReds, srcGreens, srcBlues, ImageData.ALPHA_OPAQUE, null, 0, srcX, srcY, buf, destBitsPerPixel, destRowBytes, ImageData.MSB_FIRST, 0, 0, destWidth, destHeight, destReds, destGreens, destBlues, flipX, flipY); } } setPixMapData(drawable, buf); return 0;}
|
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/9d55940214dd65b869b66fbd78328ac944c2a750/Image.java/clean/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Image.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
760,
509,
1378,
2040,
12,
2040,
751,
1316,
16,
509,
5518,
6148,
16,
509,
8526,
17270,
9037,
16,
509,
19021,
13,
288,
202,
202,
474,
1705,
60,
33,
374,
16,
1705,
61,
33,
374,
31,
202,
474,
1705,
2384,
33,
1316,
18,
2819,
16,
1705,
2686,
33,
1316,
18,
4210,
31,
202,
474,
1570,
60,
33,
1705,
60,
16,
1570,
61,
33,
1705,
61,
16,
1570,
2384,
33,
1705,
2384,
16,
1570,
2686,
33,
1705,
2686,
31,
9506,
202,
25863,
751,
12127,
273,
1316,
18,
26474,
31,
202,
430,
16051,
12443,
12,
2730,
18,
5979,
422,
404,
747,
1316,
18,
5979,
422,
576,
747,
1316,
18,
5979,
422,
1059,
747,
1316,
18,
5979,
422,
1725,
13,
597,
401,
26474,
18,
291,
5368,
13,
747,
202,
202,
12443,
2730,
18,
5979,
422,
1725,
13,
747,
261,
2730,
18,
5979,
422,
2872,
747,
1316,
18,
5979,
422,
4248,
747,
1316,
18,
5979,
422,
3847,
13,
597,
12127,
18,
291,
5368,
20349,
1082,
202,
2463,
348,
8588,
18,
3589,
67,
2124,
21134,
67,
27479,
31,
9506,
202,
6494,
9668,
60,
273,
1570,
2384,
411,
374,
31,
202,
6494,
9668,
61,
273,
1570,
2686,
411,
374,
31,
202,
430,
261,
12357,
60,
13,
288,
202,
202,
10488,
2384,
273,
300,
10488,
2384,
31,
202,
202,
10488,
60,
273,
1570,
60,
300,
1570,
2384,
31,
202,
97,
202,
430,
261,
12357,
61,
13,
288,
202,
202,
10488,
2686,
273,
300,
10488,
2686,
31,
202,
202,
10488,
61,
273,
1570,
61,
300,
1570,
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,
760,
509,
1378,
2040,
12,
2040,
751,
1316,
16,
509,
5518,
6148,
16,
509,
8526,
17270,
9037,
16,
509,
19021,
13,
288,
202,
202,
474,
1705,
60,
33,
374,
16,
1705,
61,
33,
374,
31,
202,
474,
1705,
2384,
33,
1316,
18,
2819,
16,
1705,
2686,
33,
1316,
18,
4210,
31,
202,
474,
1570,
60,
33,
1705,
60,
16,
1570,
61,
33,
1705,
61,
16,
1570,
2384,
33,
1705,
2384,
16,
1570,
2686,
33,
1705,
2686,
31,
9506,
202,
25863,
751,
12127,
273,
1316,
18,
26474,
31,
202,
430,
16051,
12443,
12,
2730,
18,
5979,
422,
404,
747,
1316,
18,
5979,
422,
576,
747,
1316,
18,
5979,
422,
1059,
747,
1316,
18,
5979,
422,
1725,
13,
597,
401,
26474,
2
] |
RubyModule kernelModule = getRuntime().getClasses().getKernelModule();
|
RubyModule kernelModule = getRuntime().getModule("Kernel");
|
private void pollReceivedExceptions() { if (receivedException != null) { RubyModule kernelModule = getRuntime().getClasses().getKernelModule(); kernelModule.callMethod("raise", receivedException); } }
|
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/ca6b16e996ea9af83ce593594b9c69b9364a9924/RubyThread.java/clean/src/org/jruby/RubyThread.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
7672,
8872,
11416,
1435,
288,
3639,
309,
261,
15213,
503,
480,
446,
13,
288,
5411,
19817,
3120,
5536,
3120,
273,
18814,
7675,
588,
3120,
2932,
11286,
8863,
5411,
5536,
3120,
18,
1991,
1305,
2932,
11628,
3113,
5079,
503,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
7672,
8872,
11416,
1435,
288,
3639,
309,
261,
15213,
503,
480,
446,
13,
288,
5411,
19817,
3120,
5536,
3120,
273,
18814,
7675,
588,
3120,
2932,
11286,
8863,
5411,
5536,
3120,
18,
1991,
1305,
2932,
11628,
3113,
5079,
503,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
add(updownPanel);
|
JPanel centerRightPanel = new JPanel(); centerRightPanel.setLayout( new BoxLayout(centerRightPanel, BoxLayout.X_AXIS)); centerRightPanel.setBorder(BorderFactory.createEtchedBorder()); centerRightPanel.add(updownPanel);
|
public ColorPanel( final RuleColorizer colorizer, final FilterModel filterModel) { super(); setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); this.colorizer = colorizer; final JColorChooser chooser = new JColorChooser(); listModel = new DefaultListModel(); final JList list = new JList(listModel); final JScrollPane scrollPane = new JScrollPane(list); scrollPane.setPreferredSize(new Dimension(400, 400)); //apply a set of defaults for now, (eventually color rules will be loaded from disk) listModel.addElement( new ColorRuleHolder( "level == FATAL", new ColorRule( EqualsRule.getRule("level", "FATAL"), new Color(147, 22, 0), Color.white))); listModel.addElement( new ColorRuleHolder( "level == ERROR", new ColorRule( EqualsRule.getRule("level", "ERROR"), new Color(147, 22, 0), Color.white))); listModel.addElement( new ColorRuleHolder( "level == WARN", new ColorRule( EqualsRule.getRule("level", "WARN"), Color.yellow.brighter()))); applyRules(); JPanel leftPanel = new JPanel(new BorderLayout()); JPanel leftCenterPanel = new JPanel(); leftCenterPanel.setLayout( new BoxLayout(leftCenterPanel, BoxLayout.Y_AXIS)); JPanel expressionClearPanel = new JPanel(); expressionClearPanel.setLayout( new BoxLayout(expressionClearPanel, BoxLayout.Y_AXIS)); JPanel expressionPanel = new JPanel(); expressionPanel.setLayout(new FlowLayout(FlowLayout.LEFT)); leftPanel.add(new JLabel("Rule:"), BorderLayout.NORTH); final JTextField expression = new JTextField(30); final Color defaultExpressionBackground = expression.getBackground(); final Color defaultExpressionForeground = expression.getForeground(); expression.addKeyListener( new ExpressionRuleContext(filterModel, expression)); expressionPanel.add(expression); JPanel addUpdatePanel = new JPanel(); addUpdatePanel.setLayout(new BoxLayout(addUpdatePanel, BoxLayout.X_AXIS)); addUpdatePanel.add(new JLabel(" ")); final JButton addUpdateButton = new JButton(ADD_TEXT); addUpdatePanel.add(addUpdateButton); expressionPanel.add(addUpdatePanel); expressionClearPanel.add(expressionPanel); JPanel clearPanel = new JPanel(new FlowLayout(FlowLayout.LEFT)); JButton clearButton = new JButton("Clear"); clearPanel.add(clearButton); clearButton.addActionListener( new AbstractAction() { public void actionPerformed(ActionEvent evt) { addMode = true; expression.setText(""); addUpdateButton.setText(ADD_TEXT); expression.setBackground(defaultExpressionBackground); expression.setForeground(defaultExpressionForeground); list.getSelectionModel().clearSelection(); } }); expressionClearPanel.add(clearPanel); leftCenterPanel.add(expressionClearPanel); JPanel chooserPanel = new JPanel(); chooserPanel.add(chooser); chooser.getSelectionModel().addChangeListener( new ChangeListener() { public void stateChanged(ChangeEvent evt) { expression.setBackground(chooser.getColor()); } }); leftCenterPanel.add(chooserPanel); leftPanel.add(leftCenterPanel); add(leftPanel); JPanel updownPanel = new JPanel(); updownPanel.setLayout(new GridLayout(6, 1)); JPanel removePanel = new JPanel(); final JButton removeButton = new JButton("Remove"); removeButton.addActionListener( new AbstractAction() { public void actionPerformed(ActionEvent evt) { int index = list.getSelectionModel().getMaxSelectionIndex(); if (index > -1) { ColorRuleHolder holder = (ColorRuleHolder) listModel.get(index); listModel.remove(index); if (index > 0) { index = index - 1; } addUpdateButton.setText(ADD_TEXT); addMode = true; if (listModel.getSize() > 0) { list.getSelectionModel().setSelectionInterval(index, index); } } } }); removePanel.add(removeButton); updownPanel.add(new JLabel(" ")); updownPanel.add(new JLabel(" ")); final JButton upButton = new JButton("Move Up"); final JButton downButton = new JButton("Move Down"); JPanel upPanel = new JPanel(); updownPanel.add(removePanel); upPanel.add(upButton); JPanel downPanel = new JPanel(); downPanel.add(downButton); updownPanel.add(upPanel); JPanel updownLabelPanel = new JPanel(); updownLabelPanel.add(new JLabel("Move rule")); updownPanel.add(updownLabelPanel); updownPanel.add(downPanel); add(updownPanel); upButton.addActionListener( new AbstractAction() { public void actionPerformed(ActionEvent evt) { int index = list.getSelectionModel().getMaxSelectionIndex(); if (index > 0) { ColorRuleHolder holder = (ColorRuleHolder) listModel.get(index); listModel.remove(index); index = index - 1; listModel.add(index, holder); list.getSelectionModel().setSelectionInterval(index, index); } } }); downButton.addActionListener( new AbstractAction() { public void actionPerformed(ActionEvent evt) { int index = list.getSelectionModel().getMaxSelectionIndex(); if ((index > -1) && (index < (listModel.getSize() - 1))) { ColorRuleHolder holder = (ColorRuleHolder) listModel.get(index); listModel.remove(index); index = index + 1; listModel.add(index, holder); list.getSelectionModel().setSelectionInterval(index, index); } } }); list.setCellRenderer(new ColorRenderer()); list.getSelectionModel().addListSelectionListener( new ListSelectionListener() { public void valueChanged(ListSelectionEvent e) { if (!e.getValueIsAdjusting()) { int index = list.getSelectionModel().getMaxSelectionIndex(); if (index > -1) { addMode = false; addUpdateButton.setText(UPDATE_TEXT); ColorRuleHolder holder = (ColorRuleHolder) listModel.get(index); expression.setText(holder.ruleText); expression.setBackground(holder.colorRule.getBackgroundColor()); expression.setForeground(holder.colorRule.getForegroundColor()); chooser.setColor(holder.colorRule.getBackgroundColor()); } if (index < 0) { removeButton.setEnabled(false); downButton.setEnabled(false); upButton.setEnabled(false); } else if ((index == 0) && (listModel.getSize() == 1)) { removeButton.setEnabled(true); downButton.setEnabled(false); upButton.setEnabled(false); } else if ((index == 0) && (listModel.getSize() > 1)) { removeButton.setEnabled(true); downButton.setEnabled(true); upButton.setEnabled(false); } else if (index == (listModel.getSize() - 1)) { removeButton.setEnabled(true); downButton.setEnabled(false); upButton.setEnabled(true); } else { removeButton.setEnabled(true); downButton.setEnabled(true); upButton.setEnabled(true); } } } }); addUpdateButton.addActionListener( new AbstractAction() { public void actionPerformed(ActionEvent evt) { ColorRuleHolder holder = new ColorRuleHolder( expression.getText(), new ColorRule( ExpressionRule.getRule(expression.getText()), chooser.getColor())); if (addMode) { listModel.addElement(holder); } else { int index = list.getSelectionModel().getMaxSelectionIndex(); listModel.remove(index); listModel.add(index, holder); } int index = listModel.indexOf(holder); list.getSelectionModel().setSelectionInterval(index, index); } }); JPanel rightPanel = new JPanel(new BorderLayout()); rightPanel.add(new JLabel("Rules:"), BorderLayout.NORTH); rightPanel.add(scrollPane, BorderLayout.CENTER); JPanel applyPanel = new JPanel(); JButton apply = new JButton("Apply"); applyPanel.add(apply); rightPanel.add(applyPanel, BorderLayout.SOUTH); apply.addActionListener( new AbstractAction() { public void actionPerformed(ActionEvent evt) { applyRules(); } }); add(rightPanel); }
|
45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/cdd6838957383c1410371f83f937b90b450af7de/ColorPanel.java/clean/src/java/org/apache/log4j/chainsaw/color/ColorPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5563,
5537,
12,
565,
727,
6781,
2957,
1824,
2036,
1824,
16,
727,
4008,
1488,
1034,
1488,
13,
288,
565,
2240,
5621,
565,
18479,
12,
2704,
8549,
3744,
12,
2211,
16,
8549,
3744,
18,
60,
67,
25614,
10019,
565,
333,
18,
3266,
1824,
273,
2036,
1824,
31,
565,
727,
804,
2957,
17324,
5011,
13164,
273,
394,
804,
2957,
17324,
5621,
565,
666,
1488,
273,
394,
2989,
682,
1488,
5621,
565,
727,
804,
682,
666,
273,
394,
804,
682,
12,
1098,
1488,
1769,
565,
727,
804,
26360,
5532,
8485,
273,
394,
804,
26360,
12,
1098,
1769,
565,
5532,
8485,
18,
542,
16028,
1225,
12,
2704,
13037,
12,
16010,
16,
7409,
10019,
565,
368,
9010,
279,
444,
434,
3467,
364,
2037,
16,
261,
2575,
3452,
2036,
2931,
903,
506,
4203,
628,
4234,
13,
565,
666,
1488,
18,
1289,
1046,
12,
1377,
394,
5563,
2175,
6064,
12,
3639,
315,
2815,
422,
478,
21226,
3113,
3639,
394,
5563,
2175,
12,
1850,
19344,
2175,
18,
588,
2175,
2932,
2815,
3113,
315,
29891,
6,
3631,
394,
5563,
12,
29488,
16,
11201,
16,
374,
3631,
1850,
5563,
18,
14739,
3719,
1769,
565,
666,
1488,
18,
1289,
1046,
12,
1377,
394,
5563,
2175,
6064,
12,
3639,
315,
2815,
422,
5475,
3113,
3639,
394,
5563,
2175,
12,
1850,
19344,
2175,
18,
588,
2175,
2932,
2815,
3113,
315,
3589,
6,
3631,
394,
5563,
12,
29488,
16,
11201,
16,
374,
3631,
1850,
5563,
18,
14739,
3719,
1769,
565,
666,
1488,
18,
1289,
1046,
12,
1377,
394,
5563,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5563,
5537,
12,
565,
727,
6781,
2957,
1824,
2036,
1824,
16,
727,
4008,
1488,
1034,
1488,
13,
288,
565,
2240,
5621,
565,
18479,
12,
2704,
8549,
3744,
12,
2211,
16,
8549,
3744,
18,
60,
67,
25614,
10019,
565,
333,
18,
3266,
1824,
273,
2036,
1824,
31,
565,
727,
804,
2957,
17324,
5011,
13164,
273,
394,
804,
2957,
17324,
5621,
565,
666,
1488,
273,
394,
2989,
682,
1488,
5621,
565,
727,
804,
682,
666,
273,
394,
804,
682,
12,
1098,
1488,
1769,
565,
727,
804,
26360,
5532,
8485,
273,
394,
804,
26360,
12,
1098,
1769,
565,
5532,
8485,
18,
542,
16028,
1225,
12,
2704,
13037,
12,
16010,
16,
7409,
10019,
565,
368,
9010,
279,
444,
434,
3467,
364,
2
] |
/*gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 3; gridBagConstraints.gridwidth = 2; gridBagConstraints.insets = new Insets(10, 20, 4, 38); scene1Panel.add(textPointer1Label, gridBagConstraints);*/
|
/* * gridBagConstraints = new GridBagConstraints(); * gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 3; * gridBagConstraints.gridwidth = 2; gridBagConstraints.insets = new * Insets(10, 20, 4, 38); scene1Panel.add(textPointer1Label, * gridBagConstraints); */
|
protected void init() { GridBagConstraints gridBagConstraints; mainWindow = createBaseWindow(this); mainWindow.setTitle(this.getDescription()); //mainWindow.setIconImage(((ImageIcon) this.getIcon()).getImage()); mainWindow.setSize(210, 450); mainWindow.setResizable(false); mainPanel = new JPanel(); numberFormatButtonGroup = new ButtonGroup(); flyoverPanel = new JTabbedPane(); scene1Panel = new JPanel(); startLabel1 = new JLabel(); xScene1Label = new JLabel(); yScene1Label = new JLabel(); directionScene1Combo = new JComboBox( directions ); directionScene1Label = new JLabel(); xScene1Field = new JTextField(); yScene1Field = new JTextField(); textPointer1Label = new JLabel(); textPointer1Field = new JTextField(); textPointer1UpdateButton = new JButton(); originalSizeLabel1 = new JLabel(); currentSizeLabel1 = new JLabel(); originalSizeScene1Field = new JTextField(); currentSizeScene1Field = new JTextField(); scene1Area = new JTextArea(); scene2Panel = new JPanel(); startLabel2 = new JLabel(); xScene2Label = new JLabel(); yScene2Label = new JLabel(); directionScene2Combo = new JComboBox( directions ); directionScene2Label = new JLabel(); xScene2Field = new JTextField(); yScene2Field = new JTextField(); textPointer2Label = new JLabel(); textPointer2Field = new JTextField(); textPointer2UpdateButton = new JButton(); originalSizeLabel2 = new JLabel(); currentSizeLabel2 = new JLabel(); originalSizeScene2Field = new JTextField(); currentSizeScene2Field = new JTextField(); scene2Area = new JTextArea(); scene3Panel = new JPanel(); startAndEndLabel = new JLabel(); xScene3Label = new JLabel(); yScene3Label = new JLabel(); xScene3Field = new JTextField(); yScene3Field = new JTextField(); textPointer3Label = new JLabel(); textPointer3Field = new JTextField(); textPointer3UpdateButton = new JButton(); originalSizeLabel3 = new JLabel(); currentSizeLabel3 = new JLabel(); originalSizeScene3Field = new JTextField(); currentSizeScene3Field = new JTextField(); scene3Area = new JTextArea(); y2Scene3Field = new JTextField(); y2Scene3Label = new JLabel(); x2Scene3Field = new JTextField(); x2Scene3Label = new JLabel(); flyoverMenu = new JMenuBar(); optionsMenu = new JMenu(); preventOverwritesCheckBox = new JCheckBoxMenuItem(); hexTextCheckBox = new JCheckBoxMenuItem(); jSeparator1 = new JSeparator(); numberStandardRadio = new JRadioButtonMenuItem(); number8ppuRadio = new JRadioButtonMenuItem(); number1ppuRadio = new JRadioButtonMenuItem(); jSeparator2 = new JSeparator(); teleportMenuItem = new JMenuItem(); helpMenu = new JMenu(); blueFlyoverTutorialMenuItem = new JMenuItem(); aboutFlyoverMenuItem = new JMenuItem(); jSeparator = new JSeparator(); restoreValuesMenuItem = new JMenuItem(); scene1BPanel = new JPanel(); scene2BPanel = new JPanel(); scene3BPanel = new JPanel(); flyoverPanel.setFont(new Font("Dialog", 1, 10)); scene1Panel.setLayout(new GridBagLayout()); scene1Panel.setFont(new Font("Dialog", 0, 10)); startLabel1.setText("Start Coordinates & Movement:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.gridwidth = 4; gridBagConstraints.insets = new Insets(10, 10, 0, 8); scene1Panel.add(startLabel1, gridBagConstraints); xScene1Label.setText("x:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.insets = new Insets(4, 20, 0, 44); scene1Panel.add(xScene1Label, gridBagConstraints); yScene1Label.setText(" y:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; gridBagConstraints.ipadx = 8; gridBagConstraints.insets = new Insets(4, 36, 0, 0); scene1Panel.add(yScene1Label, gridBagConstraints); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 2; gridBagConstraints.gridwidth = 2; gridBagConstraints.ipadx = 9; gridBagConstraints.ipady = -5; gridBagConstraints.insets = new Insets(14, 6, 0, 0); scene1Panel.add(directionScene1Combo, gridBagConstraints); directionScene1Label.setText("Direction:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; gridBagConstraints.insets = new Insets(14, 20, 4, 0); scene1Panel.add(directionScene1Label, gridBagConstraints); xScene1Field.setText("0000"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.gridwidth = 2; gridBagConstraints.gridheight = 2; gridBagConstraints.ipadx = 18; gridBagConstraints.insets = new Insets(4, 40, 30, 40); scene1Panel.add(xScene1Field, gridBagConstraints); yScene1Field.setText("0000"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 1; gridBagConstraints.gridheight = 2; gridBagConstraints.ipadx = 18; gridBagConstraints.insets = new Insets(4, 0, 30, 0); scene1Panel.add(yScene1Field, gridBagConstraints); textPointer1Label.setText("Text Pointer:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; gridBagConstraints.gridwidth = 2; gridBagConstraints.insets = new Insets(10, 20, 4, 38); scene1Panel.add(textPointer1Label, gridBagConstraints); textPointer1Field.setText("000000"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 3; gridBagConstraints.gridwidth = 2; gridBagConstraints.ipadx = 34; gridBagConstraints.insets = new Insets(10, 26, 0, 0); scene1Panel.add(textPointer1Field, gridBagConstraints); textPointer1UpdateButton.setText("Update Text from Pointer"); //mainWindow.getContentPane().add( textPointer1UpdateButton , BorderLayout.SOUTH ); textPointer2UpdateButton.setText("Update Text from Pointer"); textPointer3UpdateButton.setText("Update Text from Pointer"); /*gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 3; gridBagConstraints.gridwidth = 2; gridBagConstraints.insets = new Insets(10, 20, 4, 38); scene1Panel.add(textPointer1Label, gridBagConstraints);*/ originalSizeLabel1.setText("Original Size:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 4; gridBagConstraints.gridwidth = 2; gridBagConstraints.insets = new Insets(10, 20, 0, 36); scene1Panel.add(originalSizeLabel1, gridBagConstraints); currentSizeLabel1.setText("Current Size:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 5; gridBagConstraints.gridwidth = 2; gridBagConstraints.insets = new Insets(4, 20, 4, 37); scene1Panel.add(currentSizeLabel1, gridBagConstraints); originalSizeScene1Field.setEditable(false); originalSizeScene1Field.setText("0"); originalSizeScene1Field.setBorder(null); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 4; gridBagConstraints.ipadx = 23; gridBagConstraints.insets = new Insets(10, 26, 0, 0); scene1Panel.add(originalSizeScene1Field, gridBagConstraints); currentSizeScene1Field.setEditable(false); currentSizeScene1Field.setText("0"); currentSizeScene1Field.setBorder(null); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 5; gridBagConstraints.ipadx = 23; gridBagConstraints.ipady = 4; gridBagConstraints.insets = new Insets(4, 26, 0, 0); scene1Panel.add(currentSizeScene1Field, gridBagConstraints); scene1Area.setColumns(20); scene1Area.setLineWrap(true); scene1Area.setWrapStyleWord(true); scene1Area.setTabSize(0); scene1Area.setBorder(new LineBorder(new Color(0, 0, 0))); scene1Area.setRows(8); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 6; gridBagConstraints.gridwidth = 3; //gridBagConstraints.ipadx = -62; //gridBagConstraints.ipady = 102; gridBagConstraints.insets = new Insets(0, 20, 14, 0); scene1Panel.add(scene1Area, gridBagConstraints); scene1BPanel.setLayout( new BorderLayout() ); scene1BPanel.add( scene1Panel, BorderLayout.CENTER ); scene1BPanel.add( textPointer1UpdateButton, BorderLayout.SOUTH ); flyoverPanel.addTab("Scene 1", scene1BPanel); scene2Panel.setLayout(new GridBagLayout()); scene2Panel.setFont(new Font("Dialog", 0, 10)); startLabel2.setText("Start Coordinates & Movement:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.gridwidth = 4; gridBagConstraints.insets = new Insets(10, 10, 0, 8); scene2Panel.add(startLabel2, gridBagConstraints); xScene2Label.setText("x:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.insets = new Insets(4, 20, 0, 44); scene2Panel.add(xScene2Label, gridBagConstraints); yScene2Label.setText(" y:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; gridBagConstraints.ipadx = 8; gridBagConstraints.insets = new Insets(4, 36, 0, 0); scene2Panel.add(yScene2Label, gridBagConstraints); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 2; gridBagConstraints.gridwidth = 2; gridBagConstraints.ipadx = 9; gridBagConstraints.ipady = -5; gridBagConstraints.insets = new Insets(14, 6, 0, 0); scene2Panel.add(directionScene2Combo, gridBagConstraints); directionScene2Label.setText("Direction:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; gridBagConstraints.insets = new Insets(14, 20, 4, 0); scene2Panel.add(directionScene2Label, gridBagConstraints); xScene2Field.setText("0000"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.gridwidth = 2; gridBagConstraints.gridheight = 2; gridBagConstraints.ipadx = 18; gridBagConstraints.insets = new Insets(4, 40, 30, 40); scene2Panel.add(xScene2Field, gridBagConstraints); yScene2Field.setText("0000"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 1; gridBagConstraints.gridheight = 2; gridBagConstraints.ipadx = 18; gridBagConstraints.insets = new Insets(4, 0, 30, 0); scene2Panel.add(yScene2Field, gridBagConstraints); textPointer2Label.setText("Text Pointer:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; gridBagConstraints.gridwidth = 2; gridBagConstraints.insets = new Insets(10, 20, 4, 38); scene2Panel.add(textPointer2Label, gridBagConstraints); textPointer2Field.setText("000000"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 3; gridBagConstraints.gridwidth = 2; gridBagConstraints.ipadx = 34; gridBagConstraints.insets = new Insets(10, 26, 0, 0); scene2Panel.add(textPointer2Field, gridBagConstraints); originalSizeLabel2.setText("Original Size:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 4; gridBagConstraints.gridwidth = 2; gridBagConstraints.insets = new Insets(10, 20, 0, 36); scene2Panel.add(originalSizeLabel2, gridBagConstraints); currentSizeLabel2.setText("Current Size:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 5; gridBagConstraints.gridwidth = 2; gridBagConstraints.insets = new Insets(4, 20, 4, 37); scene2Panel.add(currentSizeLabel2, gridBagConstraints); originalSizeScene2Field.setEditable(false); originalSizeScene2Field.setText("0"); originalSizeScene2Field.setBorder(null); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 4; gridBagConstraints.ipadx = 23; gridBagConstraints.insets = new Insets(10, 26, 0, 0); scene2Panel.add(originalSizeScene2Field, gridBagConstraints); currentSizeScene2Field.setEditable(false); currentSizeScene2Field.setText("0"); currentSizeScene2Field.setBorder(null); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 5; gridBagConstraints.ipadx = 23; gridBagConstraints.ipady = 4; gridBagConstraints.insets = new Insets(4, 26, 0, 0); scene2Panel.add(currentSizeScene2Field, gridBagConstraints); scene2Area.setColumns(20); scene2Area.setLineWrap(true); scene2Area.setWrapStyleWord(true); scene2Area.setTabSize(0); scene2Area.setBorder(new LineBorder(new Color(0, 0, 0))); scene2Area.setRows(8); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 6; gridBagConstraints.gridwidth = 3; //gridBagConstraints.ipadx = -62; //gridBagConstraints.ipady = 102; gridBagConstraints.insets = new Insets(0, 20, 14, 0); scene2Panel.add(scene2Area, gridBagConstraints); scene2BPanel.setLayout( new BorderLayout() ); scene2BPanel.add( scene2Panel, BorderLayout.CENTER ); scene2BPanel.add( textPointer2UpdateButton, BorderLayout.SOUTH ); flyoverPanel.addTab("Scene 2", scene2BPanel); scene3Panel.setLayout(new GridBagLayout()); scene3Panel.setFont(new Font("Dialog", 0, 10)); startAndEndLabel.setText("Start & End Coordinates:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.gridwidth = 4; gridBagConstraints.insets = new Insets(10, 10, 0, 46); scene3Panel.add(startAndEndLabel, gridBagConstraints); xScene3Label.setText("x:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.insets = new Insets(4, 20, 0, 0); scene3Panel.add(xScene3Label, gridBagConstraints); yScene3Label.setText(" y:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 1; gridBagConstraints.ipadx = 8; gridBagConstraints.insets = new Insets(4, 20, 0, 0); scene3Panel.add(yScene3Label, gridBagConstraints); xScene3Field.setText("0000"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 1; gridBagConstraints.gridheight = 2; gridBagConstraints.ipadx = 18; gridBagConstraints.insets = new Insets(4, 10, 26, 0); scene3Panel.add(xScene3Field, gridBagConstraints); yScene3Field.setText("0000"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 3; gridBagConstraints.gridy = 1; gridBagConstraints.gridheight = 2; gridBagConstraints.ipadx = 18; gridBagConstraints.insets = new Insets(4, 0, 26, 15); scene3Panel.add(yScene3Field, gridBagConstraints); textPointer3Label.setText("Text Pointer:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; gridBagConstraints.gridwidth = 3; gridBagConstraints.insets = new Insets(14, 20, 4, 38); scene3Panel.add(textPointer3Label, gridBagConstraints); textPointer3Field.setText("000000"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 3; gridBagConstraints.gridwidth = 2; gridBagConstraints.ipadx = 34; gridBagConstraints.insets = new Insets(14, 10, 0, 15); scene3Panel.add(textPointer3Field, gridBagConstraints); originalSizeLabel3.setText("Original Size:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 4; gridBagConstraints.gridwidth = 3; gridBagConstraints.insets = new Insets(10, 20, 0, 36); scene3Panel.add(originalSizeLabel3, gridBagConstraints); currentSizeLabel3.setText("Current Size:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 5; gridBagConstraints.gridwidth = 3; gridBagConstraints.insets = new Insets(4, 20, 4, 37); scene3Panel.add(currentSizeLabel3, gridBagConstraints); originalSizeScene3Field.setEditable(false); originalSizeScene3Field.setText("0"); originalSizeScene3Field.setBorder(null); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 4; gridBagConstraints.ipadx = 23; gridBagConstraints.insets = new Insets(10, 10, 0, 0); scene3Panel.add(originalSizeScene3Field, gridBagConstraints); currentSizeScene3Field.setEditable(false); currentSizeScene3Field.setText("0"); currentSizeScene3Field.setBorder(null); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 5; gridBagConstraints.ipadx = 23; gridBagConstraints.ipady = 4; gridBagConstraints.insets = new Insets(4, 10, 0, 0); scene3Panel.add(currentSizeScene3Field, gridBagConstraints); scene3Area.setColumns(20); scene3Area.setLineWrap(true); scene3Area.setWrapStyleWord(true); scene3Area.setTabSize(0); scene3Area.setBorder(new LineBorder(new Color(0, 0, 0))); scene3Area.setRows(8); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 6; gridBagConstraints.gridwidth = 4; //gridBagConstraints.ipadx = -62; //gridBagConstraints.ipady = 102; gridBagConstraints.insets = new Insets(0, 20, 14, 15); scene3Panel.add(scene3Area, gridBagConstraints); y2Scene3Field.setText("0000"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 3; gridBagConstraints.gridy = 2; gridBagConstraints.gridheight = 2; gridBagConstraints.ipadx = 18; gridBagConstraints.insets = new Insets(14, 0, 30, 15); scene3Panel.add(y2Scene3Field, gridBagConstraints); y2Scene3Label.setText(" y2:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 2; gridBagConstraints.ipadx = 1; gridBagConstraints.insets = new Insets(14, 20, 0, 0); scene3Panel.add(y2Scene3Label, gridBagConstraints); x2Scene3Field.setText("0000"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 2; gridBagConstraints.gridheight = 2; gridBagConstraints.ipadx = 18; gridBagConstraints.insets = new Insets(14, 10, 30, 0); scene3Panel.add(x2Scene3Field, gridBagConstraints); x2Scene3Label.setText("x2:"); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; gridBagConstraints.gridwidth = 2; gridBagConstraints.insets = new Insets(14, 20, 0, 53); scene3Panel.add(x2Scene3Label, gridBagConstraints); scene3BPanel.setLayout( new BorderLayout() ); scene3BPanel.add( scene3Panel, BorderLayout.CENTER ); scene3BPanel.add( textPointer3UpdateButton, BorderLayout.SOUTH ); flyoverPanel.addTab("Scene 3", scene3BPanel); gridBagConstraints = new GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.insets = new Insets(0, 0, 30, 2); mainPanel.add(flyoverPanel, gridBagConstraints); optionsMenu.setText("Options"); restoreValuesMenuItem.setText( "Restore Values" ); optionsMenu.add( restoreValuesMenuItem ); optionsMenu.add( jSeparator ); preventOverwritesCheckBox.setSelected(true); preventOverwritesCheckBox.setText("Prevent Overwrites"); optionsMenu.add(preventOverwritesCheckBox); hexTextCheckBox.setText("Hex Text"); optionsMenu.add(hexTextCheckBox); optionsMenu.add(jSeparator1); numberStandardRadio.setSelected(true); numberStandardRadio.setText("Standard Number Format"); numberFormatButtonGroup.add(numberStandardRadio); optionsMenu.add(numberStandardRadio); number8ppuRadio.setText("8ppu Number Format"); numberFormatButtonGroup.add(number8ppuRadio); optionsMenu.add(number8ppuRadio); number1ppuRadio.setText("1ppu Number Format"); numberFormatButtonGroup.add(number1ppuRadio); optionsMenu.add(number1ppuRadio); optionsMenu.add(jSeparator2); teleportMenuItem.setText("Change Teleport Links"); //teleportMenuItem.setEnabled(false); optionsMenu.add(teleportMenuItem); flyoverMenu.add(optionsMenu); helpMenu.setText("Help"); blueFlyoverTutorialMenuItem.setText("BA's Flyover Tutorial"); helpMenu.add(blueFlyoverTutorialMenuItem); aboutFlyoverMenuItem.setText("My Simple Guide"); helpMenu.add(aboutFlyoverMenuItem); flyoverMenu.add(helpMenu); mainWindow.getContentPane().add( flyoverMenu, BorderLayout.NORTH ); mainWindow.getContentPane().add( mainPanel, BorderLayout.CENTER ); //listeners hexTextCheckBox.addItemListener( this ); numberStandardRadio.addActionListener( this ); number1ppuRadio.addActionListener( this ); number8ppuRadio.addActionListener( this ); teleportMenuItem.addActionListener( this ); scene1Area.getDocument().addDocumentListener( this ); scene2Area.getDocument().addDocumentListener( this ); scene3Area.getDocument().addDocumentListener( this ); restoreValuesMenuItem.addActionListener( this ); textPointer1UpdateButton.addActionListener( this ); textPointer2UpdateButton.addActionListener( this ); textPointer3UpdateButton.addActionListener( this ); preventOverwritesCheckBox.addItemListener( this ); blueFlyoverTutorialMenuItem.addActionListener( this ); aboutFlyoverMenuItem.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,
377,
4750,
918,
1208,
1435,
565,
288,
3639,
13075,
8747,
31,
3639,
2774,
3829,
273,
752,
2171,
3829,
12,
2211,
1769,
202,
5254,
3829,
18,
542,
4247,
12,
2211,
18,
588,
3291,
10663,
202,
759,
5254,
3829,
18,
542,
5554,
2040,
12443,
12,
2040,
5554,
13,
333,
18,
588,
5554,
1435,
2934,
588,
2040,
10663,
202,
5254,
3829,
18,
542,
1225,
12,
22,
2163,
16,
1059,
3361,
1769,
202,
5254,
3829,
18,
542,
607,
6934,
12,
5743,
1769,
27573,
2774,
5537,
273,
394,
24048,
5621,
7734,
28239,
3616,
1114,
273,
394,
12569,
1114,
5621,
3639,
21434,
1643,
5537,
273,
394,
804,
5661,
2992,
8485,
5621,
3639,
9065,
21,
5537,
273,
394,
24048,
5621,
3639,
787,
2224,
21,
273,
394,
21403,
5621,
3639,
619,
14370,
21,
2224,
273,
394,
21403,
5621,
3639,
677,
14370,
21,
2224,
273,
394,
21403,
5621,
3639,
4068,
14370,
21,
16156,
273,
394,
804,
22199,
12,
18558,
11272,
3639,
4068,
14370,
21,
2224,
273,
394,
21403,
5621,
3639,
619,
14370,
21,
974,
273,
394,
804,
16157,
5621,
3639,
677,
14370,
21,
974,
273,
394,
804,
16157,
5621,
3639,
977,
4926,
21,
2224,
273,
394,
21403,
5621,
3639,
977,
4926,
21,
974,
273,
394,
804,
16157,
5621,
3639,
977,
4926,
21,
1891,
3616,
273,
394,
28804,
5621,
3639,
2282,
1225,
2224,
21,
273,
394,
21403,
5621,
3639,
783,
1225,
2224,
21,
273,
394,
21403,
5621,
3639,
2282,
1225,
14370,
21,
974,
273,
394,
804,
16157,
5621,
3639,
783,
1225,
14370,
21,
974,
273,
394,
804,
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,
1208,
1435,
565,
288,
3639,
13075,
8747,
31,
3639,
2774,
3829,
273,
752,
2171,
3829,
12,
2211,
1769,
202,
5254,
3829,
18,
542,
4247,
12,
2211,
18,
588,
3291,
10663,
202,
759,
5254,
3829,
18,
542,
5554,
2040,
12443,
12,
2040,
5554,
13,
333,
18,
588,
5554,
1435,
2934,
588,
2040,
10663,
202,
5254,
3829,
18,
542,
1225,
12,
22,
2163,
16,
1059,
3361,
1769,
202,
5254,
3829,
18,
542,
607,
6934,
12,
5743,
1769,
27573,
2774,
5537,
273,
394,
24048,
5621,
7734,
28239,
3616,
1114,
273,
394,
12569,
1114,
5621,
3639,
21434,
1643,
5537,
273,
394,
804,
5661,
2992,
8485,
5621,
3639,
9065,
21,
5537,
273,
394,
24048,
5621,
3639,
787,
2224,
21,
273,
394,
2
] |
private final static File findInstallDir()
|
private static final File findInstallDir()
|
private final static File findInstallDir() throws Exception { final String classpath = System.getProperty( "java.class.path" ); final String pathSeparator = System.getProperty( "path.separator" ); final StringTokenizer tokenizer = new StringTokenizer( classpath, pathSeparator ); while( tokenizer.hasMoreTokens() ) { final String element = tokenizer.nextToken(); if( element.endsWith( "myrmidon-launcher.jar" ) ) { File file = ( new File( element ) ).getAbsoluteFile(); file = file.getParentFile(); if( null != file ) { file = file.getParentFile(); } return file; } } throw new Exception( "Unable to locate ant.jar in classpath" ); }
|
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/8ce1de2178a0422105fa437c327b49fb5637ff28/Main.java/clean/proposal/myrmidon/src/java/org/apache/myrmidon/launcher/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
727,
1387,
1104,
6410,
1621,
1435,
3639,
1216,
1185,
565,
288,
3639,
727,
514,
10006,
273,
2332,
18,
588,
1396,
12,
315,
6290,
18,
1106,
18,
803,
6,
11272,
3639,
727,
514,
589,
6581,
273,
2332,
18,
588,
1396,
12,
315,
803,
18,
11287,
6,
11272,
3639,
727,
16370,
10123,
273,
394,
16370,
12,
10006,
16,
589,
6581,
11272,
3639,
1323,
12,
10123,
18,
5332,
7417,
5157,
1435,
262,
3639,
288,
5411,
727,
514,
930,
273,
10123,
18,
4285,
1345,
5621,
5411,
309,
12,
930,
18,
5839,
1190,
12,
315,
4811,
8864,
350,
265,
17,
20738,
264,
18,
11930,
6,
262,
262,
5411,
288,
7734,
1387,
585,
273,
261,
394,
1387,
12,
930,
262,
262,
18,
588,
10368,
812,
5621,
7734,
585,
273,
585,
18,
588,
3054,
812,
5621,
7734,
309,
12,
446,
480,
585,
262,
7734,
288,
10792,
585,
273,
585,
18,
588,
3054,
812,
5621,
7734,
289,
7734,
327,
585,
31,
5411,
289,
3639,
289,
3639,
604,
394,
1185,
12,
315,
3370,
358,
10627,
17841,
18,
11930,
316,
10006,
6,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
727,
1387,
1104,
6410,
1621,
1435,
3639,
1216,
1185,
565,
288,
3639,
727,
514,
10006,
273,
2332,
18,
588,
1396,
12,
315,
6290,
18,
1106,
18,
803,
6,
11272,
3639,
727,
514,
589,
6581,
273,
2332,
18,
588,
1396,
12,
315,
803,
18,
11287,
6,
11272,
3639,
727,
16370,
10123,
273,
394,
16370,
12,
10006,
16,
589,
6581,
11272,
3639,
1323,
12,
10123,
18,
5332,
7417,
5157,
1435,
262,
3639,
288,
5411,
727,
514,
930,
273,
10123,
18,
4285,
1345,
5621,
5411,
309,
12,
930,
18,
5839,
1190,
12,
315,
4811,
8864,
350,
265,
17,
20738,
264,
18,
11930,
6,
262,
262,
5411,
288,
7734,
1387,
585,
273,
261,
394,
1387,
12,
930,
262,
262,
18,
2
] |
public MavenProject getProject( File project ) throws ProjectBuildingException
|
public MavenProject getProject( File project ) throws ProjectBuildingException
|
public MavenProject getProject( File project ) throws ProjectBuildingException { if ( project.exists() ) { if ( project.length() == 0 ) { throw new ProjectBuildingException( i18n.format( "empty.descriptor.error", project.getName() ) ); } } return projectBuilder.build( project, getLocalRepository() ); }
|
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/a949eb66dedc63459e4897d50c37374814750c66/DefaultMaven.java/clean/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
17176,
4109,
11080,
12,
1387,
1984,
262,
3639,
1216,
5420,
16713,
503,
565,
288,
3639,
309,
261,
1984,
18,
1808,
1435,
262,
3639,
288,
5411,
309,
261,
1984,
18,
2469,
1435,
422,
374,
262,
5411,
288,
7734,
604,
394,
5420,
16713,
503,
12,
277,
2643,
82,
18,
2139,
12,
315,
5531,
18,
12628,
18,
1636,
3113,
1984,
18,
17994,
1435,
262,
11272,
5411,
289,
3639,
289,
3639,
327,
1984,
1263,
18,
3510,
12,
1984,
16,
6993,
3305,
1435,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
17176,
4109,
11080,
12,
1387,
1984,
262,
3639,
1216,
5420,
16713,
503,
565,
288,
3639,
309,
261,
1984,
18,
1808,
1435,
262,
3639,
288,
5411,
309,
261,
1984,
18,
2469,
1435,
422,
374,
262,
5411,
288,
7734,
604,
394,
5420,
16713,
503,
12,
277,
2643,
82,
18,
2139,
12,
315,
5531,
18,
12628,
18,
1636,
3113,
1984,
18,
17994,
1435,
262,
11272,
5411,
289,
3639,
289,
3639,
327,
1984,
1263,
18,
3510,
12,
1984,
16,
6993,
3305,
1435,
11272,
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
] |
com.liferay.portal.model.Group returnValue = GroupServiceUtil.addGroup(className, classPK, name, friendlyURL);
|
com.liferay.portal.model.Group returnValue = GroupServiceUtil.addGroup(name, friendlyURL);
|
public static com.liferay.portal.model.GroupModel addGroup( java.lang.String className, java.lang.String classPK, java.lang.String name, java.lang.String friendlyURL) throws RemoteException { try { com.liferay.portal.model.Group returnValue = GroupServiceUtil.addGroup(className, classPK, name, friendlyURL); return returnValue; } catch (Exception e) { String stackTrace = StackTraceUtil.getStackTrace(e); _log.error(stackTrace); throw new RemoteException(stackTrace); } }
|
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f3ad9fb1651cda52873ea772c3df0bb9bd03b52f/GroupServiceSoap.java/clean/portal-ejb/src/com/liferay/portal/service/http/GroupServiceSoap.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
532,
18,
10256,
15164,
18,
24386,
18,
2284,
18,
1114,
1488,
18899,
12,
202,
202,
6290,
18,
4936,
18,
780,
2658,
16,
2252,
18,
4936,
18,
780,
25978,
16,
202,
202,
6290,
18,
4936,
18,
780,
508,
16,
2252,
18,
4936,
18,
780,
13118,
1785,
13,
202,
202,
15069,
18361,
288,
202,
202,
698,
288,
1082,
202,
832,
18,
10256,
15164,
18,
24386,
18,
2284,
18,
1114,
7750,
273,
3756,
1179,
1304,
18,
1289,
1114,
12,
12434,
16,
6862,
202,
1106,
8784,
16,
508,
16,
13118,
1785,
1769,
1082,
202,
2463,
7750,
31,
202,
202,
97,
202,
202,
14683,
261,
503,
425,
13,
288,
1082,
202,
780,
22327,
273,
22164,
1304,
18,
588,
6332,
12,
73,
1769,
1082,
202,
67,
1330,
18,
1636,
12,
3772,
3448,
1769,
1082,
202,
12849,
394,
18361,
12,
3772,
3448,
1769,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
532,
18,
10256,
15164,
18,
24386,
18,
2284,
18,
1114,
1488,
18899,
12,
202,
202,
6290,
18,
4936,
18,
780,
2658,
16,
2252,
18,
4936,
18,
780,
25978,
16,
202,
202,
6290,
18,
4936,
18,
780,
508,
16,
2252,
18,
4936,
18,
780,
13118,
1785,
13,
202,
202,
15069,
18361,
288,
202,
202,
698,
288,
1082,
202,
832,
18,
10256,
15164,
18,
24386,
18,
2284,
18,
1114,
7750,
273,
3756,
1179,
1304,
18,
1289,
1114,
12,
12434,
16,
6862,
202,
1106,
8784,
16,
508,
16,
13118,
1785,
1769,
1082,
202,
2463,
7750,
31,
202,
202,
97,
202,
202,
14683,
261,
503,
425,
13,
288,
1082,
202,
780,
22327,
273,
22164,
1304,
18,
588,
6332,
12,
2
] |
if ((order == 0) || (pipeline == null)) { return translateFromPreviousFilter(row);
|
int mappedRow = row; if ((order != 0) && (pipeline != null)) { Filter filter = (order > 0) ? pipeline.previous(this) : pipeline.last(); if (filter != null) { mappedRow = filter.convertRowIndexToView(mappedRow); }
|
public int convertRowIndexToView(int row) { if ((order == 0) || (pipeline == null)) { return translateFromPreviousFilter(row); } else { return translateFromPreviousFilter(pipeline.convertRowIndexToView(this, row)); } }
|
47551 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47551/4e811a7e4b99716ab31f9ddc09902707a00d6a7c/Filter.java/buggy/src/java/org/jdesktop/swingx/decorator/Filter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
1765,
21769,
774,
1767,
12,
474,
1027,
13,
288,
3639,
309,
14015,
1019,
422,
374,
13,
747,
261,
14511,
422,
446,
3719,
288,
5411,
327,
4204,
1265,
8351,
1586,
12,
492,
1769,
3639,
289,
3639,
469,
288,
5411,
327,
4204,
1265,
8351,
1586,
12,
14511,
18,
6283,
21769,
774,
1767,
12,
2211,
16,
1027,
10019,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1765,
21769,
774,
1767,
12,
474,
1027,
13,
288,
3639,
309,
14015,
1019,
422,
374,
13,
747,
261,
14511,
422,
446,
3719,
288,
5411,
327,
4204,
1265,
8351,
1586,
12,
492,
1769,
3639,
289,
3639,
469,
288,
5411,
327,
4204,
1265,
8351,
1586,
12,
14511,
18,
6283,
21769,
774,
1767,
12,
2211,
16,
1027,
10019,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
System.err.println("Empty config file "+f);
|
System.err.println("Empty config file "+filename+" (end of file)");
|
public FilePersistentConfig(File f) throws IOException { this.filename = f; this.tempFilename = new File(f.getPath()+".tmp"); boolean filenameExists = f.exists(); boolean tempFilenameExists = tempFilename.exists(); if(filenameExists && !filename.canWrite()) { Logger.error(this, "Warning: Cannot write to config file: "+filename); System.err.println("Warning: Cannot write to config file: "+filename); } if(tempFilenameExists && !tempFilename.canWrite()) { Logger.error(this, "Warning: Cannot write to config tempfile: "+tempFilename); System.err.println("Warning: Cannot write to config tempfile: "+tempFilename); } if(filenameExists) { if(f.canRead()) { try { initialLoad(filename); return; } catch (FileNotFoundException e) { System.err.println("No config file found, creating new: "+f); } catch (EOFException e) { System.err.println("Empty config file "+f); } // Other IOE's indicate a more serious problem. } else { throw new IOException("Cannot read config file"); } } if(tempFilename.exists()) { if(tempFilename.canRead()) { try { initialLoad(tempFilename); } catch (FileNotFoundException e) { System.err.println("No config file found, creating new: "+f); } // Other IOE's indicate a more serious problem. } else { throw new IOException("Cannot read config file"); } } else { System.err.println("No config file found, creating new: "+f); } }
|
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/8ab204955a98e7d52599fbcf20f449e9bc1f96d4/FilePersistentConfig.java/buggy/src/freenet/config/FilePersistentConfig.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1387,
11906,
809,
12,
812,
284,
13,
1216,
1860,
288,
202,
202,
2211,
18,
3459,
273,
284,
31,
202,
202,
2211,
18,
5814,
5359,
273,
394,
1387,
12,
74,
18,
588,
743,
1435,
9078,
18,
5645,
8863,
202,
202,
6494,
1544,
4002,
273,
284,
18,
1808,
5621,
202,
202,
6494,
1906,
5359,
4002,
273,
1906,
5359,
18,
1808,
5621,
202,
202,
430,
12,
3459,
4002,
597,
401,
3459,
18,
4169,
3067,
10756,
288,
1082,
202,
3328,
18,
1636,
12,
2211,
16,
315,
6210,
30,
14143,
1045,
358,
642,
585,
30,
13773,
3459,
1769,
1082,
202,
3163,
18,
370,
18,
8222,
2932,
6210,
30,
14143,
1045,
358,
642,
585,
30,
13773,
3459,
1769,
202,
202,
97,
202,
202,
430,
12,
5814,
5359,
4002,
597,
401,
5814,
5359,
18,
4169,
3067,
10756,
288,
1082,
202,
3328,
18,
1636,
12,
2211,
16,
315,
6210,
30,
14143,
1045,
358,
642,
13275,
30,
13773,
5814,
5359,
1769,
1082,
202,
3163,
18,
370,
18,
8222,
2932,
6210,
30,
14143,
1045,
358,
642,
13275,
30,
13773,
5814,
5359,
1769,
202,
202,
97,
202,
202,
430,
12,
3459,
4002,
13,
288,
1082,
202,
430,
12,
74,
18,
4169,
1994,
10756,
288,
9506,
202,
698,
288,
6862,
202,
6769,
2563,
12,
3459,
1769,
6862,
202,
2463,
31,
9506,
202,
97,
1044,
261,
812,
3990,
425,
13,
288,
6862,
202,
3163,
18,
370,
18,
8222,
2932,
2279,
642,
585,
1392,
16,
4979,
394,
30,
13773,
74,
1769,
9506,
202,
97,
1044,
261,
12706,
503,
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,
1387,
11906,
809,
12,
812,
284,
13,
1216,
1860,
288,
202,
202,
2211,
18,
3459,
273,
284,
31,
202,
202,
2211,
18,
5814,
5359,
273,
394,
1387,
12,
74,
18,
588,
743,
1435,
9078,
18,
5645,
8863,
202,
202,
6494,
1544,
4002,
273,
284,
18,
1808,
5621,
202,
202,
6494,
1906,
5359,
4002,
273,
1906,
5359,
18,
1808,
5621,
202,
202,
430,
12,
3459,
4002,
597,
401,
3459,
18,
4169,
3067,
10756,
288,
1082,
202,
3328,
18,
1636,
12,
2211,
16,
315,
6210,
30,
14143,
1045,
358,
642,
585,
30,
13773,
3459,
1769,
1082,
202,
3163,
18,
370,
18,
8222,
2932,
6210,
30,
14143,
1045,
358,
642,
585,
30,
13773,
3459,
1769,
202,
202,
97,
202,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.