rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
if (interceptors == null) { interceptors = new ClientInterceptorHandler (orb, ros, self, this, piorOriginal, connection); }
|
localInterceptors.set(interceptors);
|
private org.omg.CORBA.portable.InputStream invoke_internal ( org.omg.CORBA.Object self, org.omg.CORBA.portable.OutputStream os, org.omg.Messaging.ReplyHandler replyHandler, boolean async ) throws ApplicationException, RemarshalException { RequestOutputStream ros = (RequestOutputStream)os; ReplyReceiver receiver = null; if (interceptors == null) { interceptors = new ClientInterceptorHandler (orb, ros, self, this, piorOriginal, connection); } interceptors.handle_send_request(); try { if ( !ros.response_expected() ) // oneway op { invoke_oneway (ros, interceptors); return null; } // response expected, synchronous or asynchronous receiver = new ReplyReceiver(this, ros.operation(), ros.getReplyEndTime(), interceptors, replyHandler); // Store the receiver in pending_replies, so in the // case of a LocationForward a RemarshalException can // be thrown to *all* waiting threads. synchronized (pending_replies) { pending_replies.add(receiver); } synchronized (bind_sync) { if (ros.getConnection() == connection) { // RequestOutputStream has been created for // exactly this connection connection.sendRequest(ros, receiver, ros.requestId(), true); // response // expected } else { if (logger.isDebugEnabled()) logger.debug("invoke: RemarshalException"); // RequestOutputStream has been created for // another connection, so try again throw new RemarshalException(); } } } catch ( org.omg.CORBA.SystemException cfe ) { if (logger.isDebugEnabled()) logger.debug("invoke: SystemException"); if( !async ) { // Remove ReplyReceiver to break up reference cycle // Otherwise gc will not detect this Delegate and // will never finalize it. synchronized (pending_replies) { pending_replies.remove (receiver); } } interceptors.handle_receive_exception ( cfe ); if ( cfe instanceof org.omg.CORBA.TRANSIENT ) { // The exception is a TRANSIENT, so try rebinding. if ( try_rebind() ) { throw new RemarshalException(); } } throw cfe; } finally { interceptors = null; } if ( !async && receiver != null ) { // Synchronous invocation, response expected. // This call blocks until the reply arrives. org.omg.CORBA.portable.InputStream is = receiver.getReply(); return is; } return null; }
|
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/c2a374f14d1794026aa25b328b3daae725172a20/Delegate.java/buggy/src/org/jacorb/orb/Delegate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2358,
18,
362,
75,
18,
9428,
12536,
18,
655,
429,
18,
4348,
4356,
67,
7236,
1171,
9079,
261,
2358,
18,
362,
75,
18,
9428,
12536,
18,
921,
365,
16,
4766,
2358,
18,
362,
75,
18,
9428,
12536,
18,
655,
429,
18,
4632,
1140,
16,
4766,
2358,
18,
362,
75,
18,
23389,
18,
7817,
1503,
4332,
1503,
16,
4766,
1250,
4326,
262,
3639,
1216,
28816,
16,
2663,
2237,
503,
565,
288,
3639,
1567,
4632,
721,
87,
1377,
273,
261,
691,
4632,
13,
538,
31,
3639,
16202,
12952,
4202,
5971,
273,
446,
31,
3639,
309,
261,
27481,
1383,
422,
446,
13,
3639,
288,
5411,
18496,
273,
394,
2445,
10281,
1503,
7734,
261,
16640,
16,
721,
87,
16,
365,
16,
333,
16,
4790,
280,
8176,
16,
1459,
1769,
3639,
289,
3639,
18496,
18,
4110,
67,
4661,
67,
2293,
5621,
3639,
775,
3639,
288,
5411,
309,
261,
401,
6973,
18,
2740,
67,
3825,
1435,
262,
225,
368,
603,
359,
528,
1061,
5411,
288,
7734,
4356,
67,
265,
359,
528,
261,
6973,
16,
18496,
1769,
7734,
327,
446,
31,
5411,
289,
5411,
368,
766,
2665,
16,
12209,
578,
9007,
5411,
5971,
273,
394,
16202,
12952,
12,
2211,
16,
721,
87,
18,
7624,
9334,
721,
87,
18,
588,
7817,
25255,
9334,
10792,
18496,
16,
4332,
1503,
1769,
5411,
368,
4994,
326,
5971,
316,
4634,
67,
266,
5259,
16,
1427,
316,
326,
5411,
368,
648,
434,
279,
7050,
8514,
279,
2663,
2237,
503,
848,
5411,
368,
506,
6718,
358,
380,
454,
14,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2358,
18,
362,
75,
18,
9428,
12536,
18,
655,
429,
18,
4348,
4356,
67,
7236,
1171,
9079,
261,
2358,
18,
362,
75,
18,
9428,
12536,
18,
921,
365,
16,
4766,
2358,
18,
362,
75,
18,
9428,
12536,
18,
655,
429,
18,
4632,
1140,
16,
4766,
2358,
18,
362,
75,
18,
23389,
18,
7817,
1503,
4332,
1503,
16,
4766,
1250,
4326,
262,
3639,
1216,
28816,
16,
2663,
2237,
503,
565,
288,
3639,
1567,
4632,
721,
87,
1377,
273,
261,
691,
4632,
13,
538,
31,
3639,
16202,
12952,
4202,
5971,
273,
446,
31,
3639,
309,
261,
27481,
1383,
422,
446,
13,
3639,
288,
5411,
18496,
273,
394,
2445,
10281,
1503,
7734,
261,
16640,
16,
721,
87,
16,
365,
16,
2
] |
return connection.getResultSet(null, f, v, "OK", 1);
|
return ((AbstractJdbc1Statement)connection.createStatement()).createResultSet(f, v, "OK", 1, 0, false);
|
public java.sql.ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException { Field f[] = new Field[7]; Vector v = new Vector(); f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, getMaxNameLength()); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, getMaxNameLength()); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, getMaxNameLength()); f[3] = new Field(connection, "GRANTOR", iVarcharOid, getMaxNameLength()); f[4] = new Field(connection, "GRANTEE", iVarcharOid, getMaxNameLength()); f[5] = new Field(connection, "PRIVILEGE", iVarcharOid, getMaxNameLength()); f[6] = new Field(connection, "IS_GRANTABLE", iVarcharOid, getMaxNameLength()); String sql; if (connection.haveMinimumServerVersion("7.3")) { sql = "SELECT n.nspname,c.relname,u.usename,c.relacl "+ " FROM pg_catalog.pg_namespace n, pg_catalog.pg_class c, pg_catalog.pg_user u "+ " WHERE c.relnamespace = n.oid "+ " AND u.usesysid = c.relowner "+ " AND c.relkind = 'r' "; if (schemaPattern != null && !"".equals(schemaPattern)) { sql += " AND n.nspname LIKE '"+escapeQuotes(schemaPattern)+"' "; } } else { sql = "SELECT NULL::text AS nspname,c.relname,u.usename,c.relacl "+ "FROM pg_class c, pg_user u "+ " WHERE u.usesysid = c.relowner "+ " AND c.relkind = 'r' "; } if (tableNamePattern != null && !"".equals(tableNamePattern)) { sql += " AND c.relname LIKE '"+escapeQuotes(tableNamePattern)+"' "; } sql += " ORDER BY nspname, relname "; ResultSet rs = connection.createStatement().executeQuery(sql); while (rs.next()) { byte schema[] = rs.getBytes("nspname"); byte table[] = rs.getBytes("relname"); String owner = rs.getString("usename"); String acl = rs.getString("relacl"); Hashtable permissions = parseACL(acl); String permNames[] = new String[permissions.size()]; Enumeration e = permissions.keys(); int i=0; while (e.hasMoreElements()) { permNames[i++] = (String)e.nextElement(); } sortStringArray(permNames); for (i=0; i<permNames.length; i++) { byte[] privilege = permNames[i].getBytes(); Vector grantees = (Vector)permissions.get(permNames[i]); for (int j=0; j<grantees.size(); j++) { String grantee = (String)grantees.elementAt(j); String grantable = owner.equals(grantee) ? "YES" : "NO"; byte[][] tuple = new byte[7][]; tuple[0] = null; tuple[1] = schema; tuple[2] = table; tuple[3] = owner.getBytes(); tuple[4] = grantee.getBytes(); tuple[5] = privilege; tuple[6] = grantable.getBytes(); v.addElement(tuple); } } } rs.close(); return connection.getResultSet(null, f, v, "OK", 1); }
|
46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/16a30346c86590fbdcd83cacd2a0a9dbd2cd00dc/AbstractJdbc1DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
5638,
27692,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
13,
1216,
6483,
202,
95,
202,
202,
974,
284,
8526,
273,
394,
2286,
63,
27,
15533,
202,
202,
5018,
331,
273,
394,
5589,
5621,
202,
202,
74,
63,
20,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
21,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
22,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
23,
65,
273,
394,
2286,
12,
4071,
16,
315,
6997,
6856,
916,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
24,
65,
273,
394,
2286,
12,
4071,
16,
315,
6997,
1258,
1448,
41,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
25,
65,
273,
394,
2286,
12,
4071,
16,
315,
7698,
4136,
900,
7113,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
26,
65,
273,
394,
2286,
12,
4071,
16,
315,
5127,
67,
6997,
6856,
2782,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
780,
1847,
31,
202,
202,
430,
261,
4071,
18,
21516,
13042,
2081,
1444,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
5638,
27692,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
13,
1216,
6483,
202,
95,
202,
202,
974,
284,
8526,
273,
394,
2286,
63,
27,
15533,
202,
202,
5018,
331,
273,
394,
5589,
5621,
202,
202,
74,
63,
20,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
21,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
7288,
461,
1782,
10663,
202,
202,
74,
63,
22,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
1985,
3113,
277,
58,
22483,
19105,
2
] |
GridData gd = new GridData( GridData.FILL_BOTH ); Canvas cCenter = new Canvas( sh, SWT.NONE ); cCenter.setLayoutData( gd ); cCenter.addPaintListener( dcViewer );
|
Display display = Display.getDefault( ); Shell shell = new Shell( display ); shell.setSize( 600, 400 ); shell.setLayout( new GridLayout( ) );
|
public static void main( String[] args ) { DialChartViewer dcViewer = new DialChartViewer( ); GridLayout gl = new GridLayout( ); gl.numColumns = 1; Display d = Display.getDefault( ); Shell sh = new Shell( d ); sh.setSize( 600, 400 ); sh.setLayout( gl ); sh.setText( dcViewer.getClass( ).getName( ) + " [device="//$NON-NLS-1$ + dcViewer.idr.getClass( ).getName( ) + "]" );//$NON-NLS-1$ GridData gd = new GridData( GridData.FILL_BOTH ); Canvas cCenter = new Canvas( sh, SWT.NONE ); cCenter.setLayoutData( gd ); cCenter.addPaintListener( dcViewer ); Composite choicePanel = new Composite( sh, SWT.NONE ); gd = new GridData( GridData.FILL_HORIZONTAL ); choicePanel.setLayoutData( gd ); choicePanel.setLayout( new RowLayout( ) ); Label la = new Label( choicePanel, SWT.NONE ); la.setText( "Choose: " );//$NON-NLS-1$ Combo cbType = new Combo( choicePanel, SWT.DROP_DOWN | SWT.READ_ONLY ); cbType.add( "Single Dial, Multi Regions" );//$NON-NLS-1$ cbType.add( "Multi Dials, Multi Regions" );//$NON-NLS-1$ cbType.add( "Single Dial, Single Region" );//$NON-NLS-1$ cbType.add( "Multi Dials, Single Region" );//$NON-NLS-1$ cbType.select( 0 ); Button btn = new Button( choicePanel, SWT.NONE ); btn.setText( "Update" );//$NON-NLS-1$ btn.addSelectionListener( dcViewer ); dcViewer.cb = cbType; dcViewer.ca = cCenter; sh.open( ); while ( !sh.isDisposed( ) ) { if ( !d.readAndDispatch( ) ) { d.sleep( ); } } }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/ef9ad0cebcee59b4b447430acdbf2355afecf441/DialChartViewer.java/buggy/chart/org.eclipse.birt.chart.examples/src/org/eclipse/birt/chart/examples/api/viewer/DialChartViewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
514,
8526,
833,
262,
202,
95,
202,
202,
11885,
7984,
18415,
6744,
18415,
273,
394,
9402,
7984,
18415,
12,
11272,
202,
202,
6313,
3744,
5118,
273,
394,
7145,
3744,
12,
11272,
202,
202,
7043,
18,
2107,
3380,
273,
404,
31,
202,
202,
4236,
302,
273,
9311,
18,
588,
1868,
12,
11272,
202,
202,
13220,
699,
273,
394,
19433,
12,
302,
11272,
202,
202,
674,
18,
542,
1225,
12,
14707,
16,
7409,
11272,
202,
202,
674,
18,
542,
3744,
12,
5118,
11272,
202,
202,
674,
18,
542,
1528,
12,
6744,
18415,
18,
588,
797,
12,
262,
18,
17994,
12,
262,
397,
315,
306,
5964,
1546,
759,
8,
3993,
17,
5106,
17,
21,
8,
9506,
202,
15,
6744,
18415,
18,
350,
86,
18,
588,
797,
12,
262,
18,
17994,
12,
262,
397,
9870,
11272,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
6313,
751,
15551,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
38,
18307,
11272,
202,
202,
12971,
276,
8449,
273,
394,
20966,
12,
699,
16,
348,
8588,
18,
9826,
11272,
202,
202,
71,
8449,
18,
542,
3744,
751,
12,
15551,
11272,
202,
202,
71,
8449,
18,
1289,
12699,
2223,
12,
6744,
18415,
11272,
202,
202,
9400,
6023,
5537,
273,
394,
14728,
12,
699,
16,
348,
8588,
18,
9826,
11272,
202,
202,
19016,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
11272,
202,
202,
11569,
5537,
18,
542,
3744,
751,
12,
15551,
11272,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
514,
8526,
833,
262,
202,
95,
202,
202,
11885,
7984,
18415,
6744,
18415,
273,
394,
9402,
7984,
18415,
12,
11272,
202,
202,
6313,
3744,
5118,
273,
394,
7145,
3744,
12,
11272,
202,
202,
7043,
18,
2107,
3380,
273,
404,
31,
202,
202,
4236,
302,
273,
9311,
18,
588,
1868,
12,
11272,
202,
202,
13220,
699,
273,
394,
19433,
12,
302,
11272,
202,
202,
674,
18,
542,
1225,
12,
14707,
16,
7409,
11272,
202,
202,
674,
18,
542,
3744,
12,
5118,
11272,
202,
202,
674,
18,
542,
1528,
12,
6744,
18415,
18,
588,
797,
12,
262,
18,
17994,
12,
262,
397,
315,
306,
5964,
1546,
759,
8,
3993,
17,
5106,
17,
21,
8,
2
] |
void updateStores() {
|
synchronized void updateStores() {
|
void updateStores() { if (fSession == null) { getSession(); } Preferences prefs = PreferencesFactory.Get(); Vector resVector = new Vector(); String defStore = ""; if (!prefs.getString("mail.directory","").equals("")) { defStore = "berkeley"; } String storelist = prefs.getString("mail.storelist", defStore); StringTokenizer st = new StringTokenizer(storelist, " ,;"); while (st.hasMoreTokens()) { String storename = st.nextToken().trim(); ViewedStore viewedStore = null; viewedStore = findStore(storename); if (viewedStore == null) { viewedStore = createStore(storename); System.out.println("created " + viewedStore); } else { System.out.println("recycled " + viewedStore); } if (viewedStore != null) { resVector.addElement(viewedStore); } } fStores = new ViewedStore[resVector.size()]; resVector.copyInto(fStores); }
|
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/a68603a587d888fea8830279322b976573337634/StoreFactory.java/buggy/grendel/ui/StoreFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3852,
918,
1089,
13125,
1435,
288,
565,
309,
261,
74,
2157,
422,
446,
13,
288,
1377,
7183,
5621,
565,
289,
565,
28310,
15503,
273,
28310,
1733,
18,
967,
5621,
565,
5589,
400,
5018,
273,
394,
5589,
5621,
565,
514,
1652,
2257,
273,
1408,
31,
565,
309,
16051,
1484,
2556,
18,
588,
780,
2932,
4408,
18,
5149,
3113,
3660,
2934,
14963,
2932,
6,
3719,
288,
1377,
1652,
2257,
273,
315,
744,
79,
292,
402,
14432,
565,
289,
565,
514,
1707,
1098,
273,
15503,
18,
588,
780,
2932,
4408,
18,
2233,
1098,
3113,
1652,
2257,
1769,
565,
16370,
384,
273,
394,
16370,
12,
2233,
1098,
16,
315,
269,
4868,
1769,
565,
1323,
261,
334,
18,
5332,
7417,
5157,
10756,
288,
1377,
514,
1707,
529,
273,
384,
18,
4285,
1345,
7675,
5290,
5621,
1377,
4441,
329,
2257,
1476,
329,
2257,
273,
446,
31,
1377,
1476,
329,
2257,
273,
1104,
2257,
12,
2233,
529,
1769,
1377,
309,
261,
1945,
329,
2257,
422,
446,
13,
288,
3639,
1476,
329,
2257,
273,
752,
2257,
12,
2233,
529,
1769,
3639,
2332,
18,
659,
18,
8222,
2932,
4824,
315,
397,
1476,
329,
2257,
1769,
1377,
289,
469,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
266,
2431,
71,
1259,
315,
397,
1476,
329,
2257,
1769,
1377,
289,
1377,
309,
261,
1945,
329,
2257,
480,
446,
13,
288,
3639,
400,
5018,
18,
1289,
1046,
12,
1945,
329,
2257,
1769,
1377,
289,
565,
289,
565,
284,
13125,
273,
394,
4441,
329,
2257,
63,
455,
5018,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3852,
918,
1089,
13125,
1435,
288,
565,
309,
261,
74,
2157,
422,
446,
13,
288,
1377,
7183,
5621,
565,
289,
565,
28310,
15503,
273,
28310,
1733,
18,
967,
5621,
565,
5589,
400,
5018,
273,
394,
5589,
5621,
565,
514,
1652,
2257,
273,
1408,
31,
565,
309,
16051,
1484,
2556,
18,
588,
780,
2932,
4408,
18,
5149,
3113,
3660,
2934,
14963,
2932,
6,
3719,
288,
1377,
1652,
2257,
273,
315,
744,
79,
292,
402,
14432,
565,
289,
565,
514,
1707,
1098,
273,
15503,
18,
588,
780,
2932,
4408,
18,
2233,
1098,
3113,
1652,
2257,
1769,
565,
16370,
384,
273,
394,
16370,
12,
2233,
1098,
16,
315,
269,
4868,
1769,
565,
1323,
261,
334,
18,
5332,
7417,
5157,
10756,
288,
2
] |
ArtifactMetadata metadata = new ArtifactRepositoryMetadata( artifact );
|
ArtifactMetadata metadata = null; if ( artifact.isSnapshot() ) { metadata = new ArtifactRepositoryMetadata( artifact ); } else { metadata = new SnapshotArtifactRepositoryMetadata( artifact ); }
|
protected String resolveVersion( Artifact artifact, ArtifactRepository localRepository, List remoteRepositories ) throws ArtifactMetadataRetrievalException { // TODO: can we improve on this? ArtifactMetadata metadata = new ArtifactRepositoryMetadata( artifact ); repositoryMetadataManager.resolve( metadata, remoteRepositories, localRepository );/* // TODO: can this go directly into the manager? At least share with DefaultPluginMappingManager // TODO: use this, cache the output, select from that list instead of the next set Versioning versioning = new Versioning(); for ( Iterator i = remoteRepositories.iterator(); i.hasNext(); ) { ArtifactRepository repository = (ArtifactRepository) i.next(); mergeVersioning( versioning, loadVersioningInformation( metadata, repository, localRepository ) ); } mergeVersioning( versioning, loadVersioningInformation( metadata, localRepository, localRepository ) ); String version = selectVersion( versioning, artifact.getVersion() );*/ ArtifactRepositoryMetadata localMetadata = null; for ( Iterator i = remoteRepositories.iterator(); i.hasNext(); ) { ArtifactRepository repository = (ArtifactRepository) i.next(); localMetadata = loadVersioningInformation( metadata, repository, localRepository, artifact ); if ( localMetadata != null ) { artifact.setRepository( repository ); // TODO: merge instead (see above) break; } } ArtifactRepositoryMetadata m = loadVersioningInformation( metadata, localRepository, localRepository, artifact ); if ( m != null ) { localMetadata = m; // TODO: figure out way to avoid duplicated message if ( getLogger().isDebugEnabled() /*&& !alreadyResolved*/ ) { // Locally installed file is newer, don't use the resolved version getLogger().debug( artifact.getArtifactId() + ": using locally installed snapshot" ); } } String version = null; if ( localMetadata != null ) { version = constructVersion( localMetadata ); } if ( version == null ) { version = resolveLegacyVersion( artifact, localRepository, remoteRepositories ); if ( version == null ) { version = artifact.getVersion(); } } // TODO: also do this logging for other metadata? if ( getLogger().isDebugEnabled() ) { if ( version != null && !version.equals( artifact.getBaseVersion() ) ) { String message = artifact.getArtifactId() + ": resolved to version " + version; if ( artifact.getRepository() != null ) { message += " from repository " + artifact.getRepository().getId(); } else { message += " from local repository"; } getLogger().debug( message ); } } return version; }
|
1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/cb2370199b6cf0c1c62bf36d568ac386780ff12f/AbstractVersionTransformation.java/buggy/maven-artifact-manager/src/main/java/org/apache/maven/artifact/transform/AbstractVersionTransformation.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
2245,
1444,
12,
14022,
6462,
16,
14022,
3305,
1191,
3305,
16,
987,
2632,
18429,
262,
3639,
1216,
14022,
2277,
27356,
503,
565,
288,
3639,
368,
2660,
30,
848,
732,
21171,
603,
333,
35,
3639,
14022,
2277,
1982,
273,
446,
31,
309,
261,
6462,
18,
291,
4568,
1435,
262,
288,
1982,
273,
394,
14022,
3305,
2277,
12,
6462,
11272,
289,
469,
288,
1982,
273,
394,
10030,
7581,
3305,
2277,
12,
6462,
11272,
289,
3639,
3352,
2277,
1318,
18,
10828,
12,
1982,
16,
2632,
18429,
16,
1191,
3305,
11272,
20308,
3639,
368,
2660,
30,
848,
333,
1960,
5122,
1368,
326,
3301,
35,
2380,
4520,
7433,
598,
2989,
3773,
3233,
1318,
3639,
368,
2660,
30,
999,
333,
16,
1247,
326,
876,
16,
2027,
628,
716,
666,
3560,
434,
326,
1024,
444,
3639,
4049,
310,
1177,
310,
273,
394,
4049,
310,
5621,
3639,
364,
261,
4498,
277,
273,
2632,
18429,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
3639,
288,
5411,
14022,
3305,
3352,
273,
261,
7581,
3305,
13,
277,
18,
4285,
5621,
5411,
2691,
1444,
310,
12,
1177,
310,
16,
1262,
1444,
310,
5369,
12,
1982,
16,
3352,
16,
1191,
3305,
262,
11272,
3639,
289,
3639,
2691,
1444,
310,
12,
1177,
310,
16,
1262,
1444,
310,
5369,
12,
1982,
16,
1191,
3305,
16,
1191,
3305,
262,
11272,
3639,
514,
1177,
273,
2027,
1444,
12,
1177,
310,
16,
6462,
18,
588,
1444,
1435,
11272,
5549,
3639,
14022,
3305,
2277,
1191,
2277,
273,
446,
31,
3639,
364,
261,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
2245,
1444,
12,
14022,
6462,
16,
14022,
3305,
1191,
3305,
16,
987,
2632,
18429,
262,
3639,
1216,
14022,
2277,
27356,
503,
565,
288,
3639,
368,
2660,
30,
848,
732,
21171,
603,
333,
35,
3639,
14022,
2277,
1982,
273,
446,
31,
309,
261,
6462,
18,
291,
4568,
1435,
262,
288,
1982,
273,
394,
14022,
3305,
2277,
12,
6462,
11272,
289,
469,
288,
1982,
273,
394,
10030,
7581,
3305,
2277,
12,
6462,
11272,
289,
3639,
3352,
2277,
1318,
18,
10828,
12,
1982,
16,
2632,
18429,
16,
1191,
3305,
11272,
20308,
3639,
368,
2660,
30,
848,
333,
1960,
5122,
1368,
326,
3301,
35,
2380,
4520,
7433,
598,
2989,
3773,
3233,
1318,
3639,
368,
2660,
30,
999,
333,
16,
1247,
2
] |
"You must manually delete the plugin directory."); continue;
|
"Will attempt again momentarily."); Thread.sleep(5000);
|
public void run() { try { File [] jars = pluginDirectory.listFiles(new FileFilter() { public boolean accept(File pathname) { return pathname.getName().toLowerCase().endsWith(".jar"); } }); for (int i=0; i<jars.length; i++) { File jarFile = jars[i]; String pluginName = jarFile.getName().substring( 0, jarFile.getName().length()-4).toLowerCase(); // See if the JAR has already been exploded. File dir = new File(pluginDirectory, pluginName); // If the JAR hasn't been exploded, do so. if (!dir.exists()) { unzipPlugin(pluginName, jarFile, dir); } // See if the JAR is newer than the directory. If so, the plugin // needs to be unloaded and then reloaded. else if (jarFile.lastModified() > dir.lastModified()) { unloadPlugin(pluginName); if (!deleteDir(dir)) { Log.error("Error unloading plugin " + pluginName + ". " + "You must manually delete the plugin directory."); continue; } // Now unzip the plugin. unzipPlugin(pluginName, jarFile, dir); } } File [] dirs = pluginDirectory.listFiles(new FileFilter() { public boolean accept(File pathname) { return pathname.isDirectory(); } }); // Sort the list of directories so that the "admin" plugin is always // first in the list. Arrays.sort(dirs, new Comparator<File>() { public int compare(File file1, File file2) { if (file1.getName().equals("admin")) { return -1; } else if (file2.getName().equals("admin")) { return 1; } else return file1.compareTo(file2); } }); for (int i=0; i<dirs.length; i++) { File dirFile = dirs[i]; // If the plugin hasn't already been started, start it. if (!plugins.containsKey(dirFile.getName())) { loadPlugin(dirFile); } } // Finally see if any currently running plugins need to be unloaded // due to its JAR file being deleted (ignore admin plugin). if (plugins.size() > jars.length + 1) { for (String pluginName : plugins.keySet()) { if (pluginName.equals("admin")) { continue; } File file = new File(pluginDirectory, pluginName + ".jar"); if (!file.exists()) { unloadPlugin(pluginName); if (!deleteDir(new File(pluginDirectory, pluginName))) { Log.error("Error unloading plugin " + pluginName + ". " + "You must manually delete the plugin directory."); continue; } } } } } catch (Exception e) { Log.error(e); } }
|
6312 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6312/38d88152c1285a7d533d12c3e4179563123bc756/PluginManager.java/clean/src/java/org/jivesoftware/messenger/container/PluginManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
775,
288,
7734,
1387,
5378,
28838,
273,
1909,
2853,
18,
1098,
2697,
12,
2704,
1387,
1586,
1435,
288,
10792,
1071,
1250,
2791,
12,
812,
9806,
13,
288,
13491,
327,
9806,
18,
17994,
7675,
869,
5630,
7675,
5839,
1190,
2932,
18,
11930,
8863,
10792,
289,
7734,
15549,
7734,
364,
261,
474,
277,
33,
20,
31,
277,
32,
78,
5913,
18,
2469,
31,
277,
27245,
288,
10792,
1387,
22588,
273,
28838,
63,
77,
15533,
10792,
514,
15909,
273,
22588,
18,
17994,
7675,
28023,
12,
18701,
374,
16,
22588,
18,
17994,
7675,
2469,
1435,
17,
24,
2934,
869,
5630,
5621,
10792,
368,
2164,
309,
326,
24728,
711,
1818,
2118,
22676,
18,
10792,
1387,
1577,
273,
394,
1387,
12,
4094,
2853,
16,
15909,
1769,
10792,
368,
971,
326,
24728,
13342,
1404,
2118,
22676,
16,
741,
1427,
18,
10792,
309,
16051,
1214,
18,
1808,
10756,
288,
13491,
20259,
3773,
12,
4094,
461,
16,
22588,
16,
1577,
1769,
10792,
289,
10792,
368,
2164,
309,
326,
24728,
353,
16069,
2353,
326,
1867,
18,
971,
1427,
16,
326,
1909,
10792,
368,
4260,
358,
506,
640,
4230,
471,
1508,
283,
4230,
18,
10792,
469,
309,
261,
11930,
812,
18,
2722,
4575,
1435,
405,
1577,
18,
2722,
4575,
10756,
288,
13491,
27060,
3773,
12,
4094,
461,
1769,
13491,
309,
16051,
3733,
1621,
12,
1214,
3719,
288,
18701,
1827,
18,
1636,
2932,
668,
640,
15174,
1909,
315,
397,
15909,
397,
3552,
315,
397,
4766,
565,
315,
6225,
1297,
10036,
1430,
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,
540,
1071,
918,
1086,
1435,
288,
5411,
775,
288,
7734,
1387,
5378,
28838,
273,
1909,
2853,
18,
1098,
2697,
12,
2704,
1387,
1586,
1435,
288,
10792,
1071,
1250,
2791,
12,
812,
9806,
13,
288,
13491,
327,
9806,
18,
17994,
7675,
869,
5630,
7675,
5839,
1190,
2932,
18,
11930,
8863,
10792,
289,
7734,
15549,
7734,
364,
261,
474,
277,
33,
20,
31,
277,
32,
78,
5913,
18,
2469,
31,
277,
27245,
288,
10792,
1387,
22588,
273,
28838,
63,
77,
15533,
10792,
514,
15909,
273,
22588,
18,
17994,
7675,
28023,
12,
18701,
374,
16,
22588,
18,
17994,
7675,
2469,
1435,
17,
24,
2934,
869,
5630,
5621,
10792,
368,
2164,
309,
326,
24728,
711,
1818,
2118,
22676,
18,
10792,
1387,
1577,
273,
2
] |
if (east != null)
|
if (east != null) {
|
private void writePaging(Device d, SScrollPaneLayout layout) throws IOException { SContainer container = layout.getContainer(); Map components = layout.getComponents(); SComponent north = (SComponent) components.get(SScrollPaneLayout.NORTH); SComponent east = (SComponent) components.get(SScrollPaneLayout.EAST); SComponent center = (SComponent) components.get(SScrollPaneLayout.VIEWPORT); SComponent west = (SComponent) components.get(SScrollPaneLayout.WEST); SComponent south = (SComponent) components.get(SScrollPaneLayout.SOUTH); d.print("\n<table class=\"SScrollPaneLayout\""); Utils.printCSSInlinePreferredSize(d, container.getPreferredSize()); d.print("><tbody>"); if (north != null) { d.print("<tr height=\"0%\">"); if (west != null) d.print("<td width=\"0%\"></td>"); d.print("<td width=\"100%\">"); writeComponent(d, north); d.print("</td>"); if (east != null) d.print("<td width=\"0%\"></td>"); d.print("</tr>\n"); } d.print("<tr height=\"100%\">"); if (west != null) { d.print("<td width=\"0%\">"); writeComponent(d, west); d.print("</td>"); } if (center != null) { d.print("<td width=\"100%\">"); writeComponent(d, center); d.print("</td>"); } if (east != null) { d.print("<td width=\"0%\">"); writeComponent(d, east); d.print("</td>"); } d.print("</tr>\n"); if (south != null) { d.print("<tr height=\"0%\">"); if (west != null) d.print("<td width=\"0%\"></td>"); d.print("<td width=\"100%\">"); writeComponent(d, south); d.print("</td>"); if (east != null) d.print("<td width=\"0%\"></td>"); d.print("</tr>\n"); } d.print("</tbody></table>\n"); }
|
3911 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3911/3c1c3978e98a96f34ebd6cad77fdcd9b19263adf/ScrollPaneLayoutCG.java/buggy/wings2/src/java/org/wings/plaf/css/ScrollPaneLayoutCG.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
52,
5755,
12,
3654,
302,
16,
348,
26360,
3744,
3511,
13,
1216,
1860,
288,
3639,
348,
2170,
1478,
273,
3511,
18,
588,
2170,
5621,
3639,
1635,
4085,
273,
3511,
18,
588,
7171,
5621,
3639,
348,
1841,
21435,
273,
261,
55,
1841,
13,
4085,
18,
588,
12,
1260,
71,
2693,
8485,
3744,
18,
50,
28212,
1769,
3639,
348,
1841,
19720,
273,
261,
55,
1841,
13,
4085,
18,
588,
12,
1260,
71,
2693,
8485,
3744,
18,
41,
9053,
1769,
3639,
348,
1841,
4617,
273,
261,
55,
1841,
13,
4085,
18,
588,
12,
1260,
71,
2693,
8485,
3744,
18,
12145,
6354,
1769,
3639,
348,
1841,
27697,
273,
261,
55,
1841,
13,
4085,
18,
588,
12,
1260,
71,
2693,
8485,
3744,
18,
31285,
1769,
3639,
348,
1841,
24516,
273,
261,
55,
1841,
13,
4085,
18,
588,
12,
1260,
71,
2693,
8485,
3744,
18,
3584,
5844,
1769,
3639,
302,
18,
1188,
31458,
82,
32,
2121,
667,
5189,
1260,
71,
2693,
8485,
3744,
8530,
1769,
3639,
6091,
18,
1188,
10276,
10870,
16028,
1225,
12,
72,
16,
1478,
18,
588,
16028,
1225,
10663,
3639,
302,
18,
1188,
2932,
4438,
20779,
2984,
1769,
3639,
309,
261,
82,
7825,
480,
446,
13,
288,
5411,
302,
18,
1188,
2932,
32,
313,
2072,
5189,
20,
9,
21121,
1769,
5411,
309,
261,
31092,
480,
446,
13,
7734,
302,
18,
1188,
2932,
32,
4465,
1835,
5189,
20,
9,
2412,
4695,
4465,
2984,
1769,
5411,
302,
18,
1188,
2932,
32,
4465,
1835,
5189,
6625,
9,
21121,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
52,
5755,
12,
3654,
302,
16,
348,
26360,
3744,
3511,
13,
1216,
1860,
288,
3639,
348,
2170,
1478,
273,
3511,
18,
588,
2170,
5621,
3639,
1635,
4085,
273,
3511,
18,
588,
7171,
5621,
3639,
348,
1841,
21435,
273,
261,
55,
1841,
13,
4085,
18,
588,
12,
1260,
71,
2693,
8485,
3744,
18,
50,
28212,
1769,
3639,
348,
1841,
19720,
273,
261,
55,
1841,
13,
4085,
18,
588,
12,
1260,
71,
2693,
8485,
3744,
18,
41,
9053,
1769,
3639,
348,
1841,
4617,
273,
261,
55,
1841,
13,
4085,
18,
588,
12,
1260,
71,
2693,
8485,
3744,
18,
12145,
6354,
1769,
3639,
348,
1841,
27697,
273,
261,
55,
1841,
13,
4085,
18,
588,
12,
1260,
71,
2693,
2
] |
public Result(int nr)
|
public Result()
|
public Result(int nr) { this(); this.entryNr=nr; }
|
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/7c984c1036acf7de170cc22a1c655bf8336a4a8b/Result.java/buggy/kettle/src/be/ibridge/kettle/core/Result.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3438,
12,
474,
9884,
13,
202,
95,
202,
202,
2211,
5621,
202,
202,
2211,
18,
4099,
18726,
33,
11611,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3438,
12,
474,
9884,
13,
202,
95,
202,
202,
2211,
5621,
202,
202,
2211,
18,
4099,
18726,
33,
11611,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
{ return createPaletteAdapter(); }
|
{ return createPaletteAdapter(); }
|
public Object casePalette(Palette object) { return createPaletteAdapter(); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/AttributeAdapterFactory.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/util/AttributeAdapterFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
648,
25863,
12,
25863,
733,
13,
5411,
288,
7734,
327,
752,
25863,
4216,
5621,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
648,
25863,
12,
25863,
733,
13,
5411,
288,
7734,
327,
752,
25863,
4216,
5621,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
running=true;
|
synchronized void resume() { running=true; if(m_upProcessingThread == null) { startProcessingThreads(); } m_upLatch.unlock(); m_upProcessingThread.interrupt(); }
|
47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/4829963e18fa74e6d717d749737cd68118993115/MessageDispatcher.java/buggy/src/org/jgroups/blocks/MessageDispatcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3852,
918,
10774,
1435,
288,
15604,
309,
12,
81,
67,
416,
7798,
3830,
422,
446,
13,
288,
7734,
787,
7798,
13233,
5621,
5411,
289,
5411,
312,
67,
416,
23463,
18,
26226,
5621,
5411,
312,
67,
416,
7798,
3830,
18,
31847,
5621,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3852,
918,
10774,
1435,
288,
15604,
309,
12,
81,
67,
416,
7798,
3830,
422,
446,
13,
288,
7734,
787,
7798,
13233,
5621,
5411,
289,
5411,
312,
67,
416,
23463,
18,
26226,
5621,
5411,
312,
67,
416,
7798,
3830,
18,
31847,
5621,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
public String getDescription() { return "XML files (*.xml)"; } });
|
public String getDescription() { return "XML files (*.xml)"; } });
|
public void actionPerformed(ActionEvent e) { String name = ""; URL url = null; if (!remoteURL) { if (chooser == null) { chooser = new JFileChooser(); } chooser.setDialogTitle("Load Events from XML file..."); chooser.setAcceptAllFileFilterUsed(true); chooser.setFileFilter( new FileFilter() { public boolean accept(File f) { return (f.getName().toLowerCase().endsWith(".xml") || f.isDirectory()); } public String getDescription() { return "XML files (*.xml)"; } }); int i = chooser.showOpenDialog(parent); if(i != JFileChooser.APPROVE_OPTION) { return; } File selectedFile = chooser.getSelectedFile(); try { url = selectedFile.toURL(); name = selectedFile.getName(); } catch (Exception ex) { // TODO: handle exception } } else { String urltext = JOptionPane.showInputDialog( parent, "<html>Please type in the <b>complete</b> URL to the remote XML source.</html>"); if (urltext != null) { try { url = new URL(urltext); } catch (Exception ex) { JOptionPane.showMessageDialog( parent, "'" + urltext + "' is not a valid URL."); } } } if (url != null) { Map additionalProperties = new HashMap(); additionalProperties.put(Constants.HOSTNAME_KEY, "file"); additionalProperties.put(Constants.APPLICATION_KEY, name); decoder.setAdditionalProperties(additionalProperties); final URL urlToUse = url; new Thread( new Runnable() { public void run() { try { Vector events = decoder.decode(urlToUse); Iterator iter = events.iterator(); while (iter.hasNext()) { parent.handler.append((LoggingEvent)iter.next()); } } catch (IOException e1) { // TODO Handle the error with a nice msg LOG.error(e1); } } }).start(); } }
|
45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/d8530a7ba0a823db98022edabcc018e5864ab2a5/FileLoadAction.java/clean/src/java/org/apache/log4j/chainsaw/FileLoadAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
565,
514,
508,
273,
1408,
31,
565,
1976,
880,
273,
446,
31,
565,
309,
16051,
7222,
1785,
13,
288,
1377,
309,
261,
2599,
13164,
422,
446,
13,
288,
3639,
5011,
13164,
273,
394,
804,
812,
17324,
5621,
1377,
289,
1377,
5011,
13164,
18,
542,
6353,
4247,
2932,
2563,
9043,
628,
3167,
585,
7070,
1769,
1377,
5011,
13164,
18,
542,
5933,
1595,
29837,
6668,
12,
3767,
1769,
1377,
5011,
13164,
18,
542,
29837,
12,
3639,
394,
1387,
1586,
1435,
288,
1850,
1071,
1250,
2791,
12,
812,
284,
13,
288,
5411,
327,
261,
74,
18,
17994,
7675,
869,
5630,
7675,
5839,
1190,
2932,
18,
2902,
7923,
5411,
747,
284,
18,
291,
2853,
10663,
1850,
289,
1850,
1071,
514,
11056,
1435,
288,
5411,
327,
315,
4201,
1390,
261,
11146,
2902,
2225,
31,
1850,
289,
3639,
15549,
1377,
509,
277,
273,
5011,
13164,
18,
4500,
3678,
6353,
12,
2938,
1769,
1377,
309,
12,
77,
480,
804,
812,
17324,
18,
2203,
3373,
3412,
67,
7425,
13,
288,
4202,
327,
31,
4202,
289,
1377,
1387,
3170,
812,
273,
5011,
13164,
18,
588,
7416,
812,
5621,
5411,
775,
288,
3639,
880,
273,
3170,
812,
18,
869,
1785,
5621,
3639,
508,
273,
3170,
812,
18,
17994,
5621,
1377,
289,
1044,
261,
503,
431,
13,
288,
3639,
368,
2660,
30,
1640,
1520,
1377,
289,
565,
289,
469,
288,
1377,
514,
880,
955,
273,
3639,
804,
1895,
8485,
18,
4500,
1210,
6353,
12,
1850,
982,
16,
1850,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
565,
514,
508,
273,
1408,
31,
565,
1976,
880,
273,
446,
31,
565,
309,
16051,
7222,
1785,
13,
288,
1377,
309,
261,
2599,
13164,
422,
446,
13,
288,
3639,
5011,
13164,
273,
394,
804,
812,
17324,
5621,
1377,
289,
1377,
5011,
13164,
18,
542,
6353,
4247,
2932,
2563,
9043,
628,
3167,
585,
7070,
1769,
1377,
5011,
13164,
18,
542,
5933,
1595,
29837,
6668,
12,
3767,
1769,
1377,
5011,
13164,
18,
542,
29837,
12,
3639,
394,
1387,
1586,
1435,
288,
1850,
1071,
1250,
2791,
12,
812,
284,
13,
288,
5411,
327,
261,
74,
18,
17994,
7675,
869,
5630,
7675,
5839,
1190,
2932,
18,
2902,
7923,
5411,
747,
284,
18,
291,
2
] |
if (offset == 0)
|
if (Context.check && offset == 0 && !hitEOF) Context.codeBug(); if (offset == 0)
|
void unread() { if (offset == 0) // We can get here when we're asked to unread() an // implicit EOF_CHAR. // This would also be wrong behavior in the general case, // because a peek() could map a buffer.length offset to 0 // in the process of a fill(), and leave it there. But // the scanner never calls peek() or a failed match() // followed by unread()... this would violate 1-character // lookahead. So we're OK. return; offset--; if ((buffer[offset] & '\ufff0') == 0 && (buffer[offset] == '\r' || buffer[offset] == '\n')) { // back off from the line start we presumably just registered... lineStart = prevStart; lineno--; } }
|
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/b5141d614d4ae3c0a7455df83312be1a30e1b2e6/LineBuffer.java/buggy/js/rhino/src/org/mozilla/javascript/LineBuffer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
19541,
1435,
288,
1171,
309,
261,
1042,
18,
1893,
597,
1384,
422,
374,
597,
401,
15989,
12706,
13,
1772,
18,
710,
19865,
5621,
225,
309,
261,
3348,
422,
374,
13,
282,
368,
1660,
848,
336,
2674,
1347,
732,
4565,
19279,
358,
19541,
1435,
392,
5411,
368,
10592,
6431,
67,
7305,
18,
13491,
368,
1220,
4102,
2546,
506,
7194,
6885,
316,
326,
7470,
648,
16,
5411,
368,
2724,
279,
8032,
1435,
3377,
852,
279,
1613,
18,
2469,
1384,
358,
374,
5411,
368,
316,
326,
1207,
434,
279,
3636,
9334,
471,
8851,
518,
1915,
18,
225,
12484,
5411,
368,
326,
7683,
5903,
4097,
8032,
1435,
578,
279,
2535,
845,
1435,
5411,
368,
10860,
635,
19541,
1435,
2777,
333,
4102,
12471,
340,
404,
17,
11560,
5411,
368,
16029,
18,
225,
6155,
732,
4565,
7791,
18,
5411,
327,
31,
3639,
1384,
413,
31,
3639,
309,
14015,
4106,
63,
3348,
65,
473,
2337,
696,
1403,
20,
6134,
422,
374,
5411,
597,
261,
4106,
63,
3348,
65,
422,
2337,
86,
11,
747,
1613,
63,
3348,
65,
422,
2337,
82,
26112,
288,
5411,
368,
1473,
3397,
628,
326,
980,
787,
732,
4075,
379,
6906,
2537,
4104,
2777,
5411,
29208,
273,
2807,
1685,
31,
5411,
7586,
413,
31,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
19541,
1435,
288,
1171,
309,
261,
1042,
18,
1893,
597,
1384,
422,
374,
597,
401,
15989,
12706,
13,
1772,
18,
710,
19865,
5621,
225,
309,
261,
3348,
422,
374,
13,
282,
368,
1660,
848,
336,
2674,
1347,
732,
4565,
19279,
358,
19541,
1435,
392,
5411,
368,
10592,
6431,
67,
7305,
18,
13491,
368,
1220,
4102,
2546,
506,
7194,
6885,
316,
326,
7470,
648,
16,
5411,
368,
2724,
279,
8032,
1435,
3377,
852,
279,
1613,
18,
2469,
1384,
358,
374,
5411,
368,
316,
326,
1207,
434,
279,
3636,
9334,
471,
8851,
518,
1915,
18,
225,
12484,
5411,
368,
326,
7683,
5903,
4097,
8032,
1435,
578,
279,
2535,
845,
1435,
5411,
368,
10860,
635,
19541,
1435,
2777,
333,
4102,
2
] |
int index = Integer.parseInt(e.getActionCommand());
|
int index = -1;
|
public void actionPerformed(ActionEvent e) { int index = Integer.parseInt(e.getActionCommand()); try { switch (index) { case SAVE: saveDisplayOptions(); break; case RESET_DEFAULTS: resetDefaults(); break; case GREY: case RGB: case HSB: activateRenderingModel(index); break; } } catch(NumberFormatException nfe) { throw new Error("Invalid Action ID "+index, nfe); } }
|
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/821d4f7a003d25f9dccd2eaf7e886336cbdefc95/RenderingAgtCtrl.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/RenderingAgtCtrl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
565,
288,
3639,
509,
770,
273,
300,
21,
31,
3639,
775,
288,
6647,
1620,
261,
1615,
13,
288,
1171,
648,
17127,
3412,
30,
10792,
1923,
4236,
1320,
5621,
898,
31,
7734,
648,
25901,
67,
5280,
55,
30,
10792,
2715,
7019,
5621,
898,
31,
7734,
648,
611,
862,
61,
30,
7734,
648,
11510,
30,
7734,
648,
670,
14541,
30,
10792,
10235,
14261,
1488,
12,
1615,
1769,
10792,
898,
31,
1171,
289,
3639,
289,
1044,
12,
1854,
9291,
25386,
13,
288,
9079,
604,
394,
1068,
2932,
1941,
4382,
1599,
13773,
1615,
16,
25386,
1769,
3639,
289,
377,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
565,
288,
3639,
509,
770,
273,
300,
21,
31,
3639,
775,
288,
6647,
1620,
261,
1615,
13,
288,
1171,
648,
17127,
3412,
30,
10792,
1923,
4236,
1320,
5621,
898,
31,
7734,
648,
25901,
67,
5280,
55,
30,
10792,
2715,
7019,
5621,
898,
31,
7734,
648,
611,
862,
61,
30,
7734,
648,
11510,
30,
7734,
648,
670,
14541,
30,
10792,
10235,
14261,
1488,
12,
1615,
1769,
10792,
898,
31,
1171,
289,
3639,
289,
1044,
12,
1854,
9291,
25386,
13,
288,
9079,
604,
394,
1068,
2932,
1941,
4382,
1599,
13773,
1615,
16,
25386,
1769,
3639,
289,
377,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
assertEqual(t.toString(), expecting);
|
assertEquals(t.toString(), expecting);
|
public void testIndentOfMultipleBlankLines() throws Exception { String templates = "group test;" +newline+ "list(names) ::= <<" + " $names$"+newline+ ">>"+newline; StringTemplateErrorListener errors = new ErrorBuffer(); StringTemplateGroup group = new StringTemplateGroup(new StringReader(templates), DefaultTemplateLexer.class, errors); StringTemplate t = group.getInstanceOf("list"); t.setAttribute("names", "Terence\n\nis a maniac"); String expecting = " Terence"+newline+ ""+newline+ // no indent on blank line " is a maniac"; assertEqual(t.toString(), expecting); }
|
51898 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51898/0c15a856afe727f6355e53ebf153d3bf274ab655/TestStringTemplate.java/buggy/java/main/src/org/antlr/stringtemplate/test/TestStringTemplate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
7790,
951,
8438,
7796,
5763,
1435,
1082,
202,
15069,
1185,
202,
95,
202,
202,
780,
5539,
273,
9506,
202,
6,
1655,
1842,
4868,
397,
22861,
15,
9506,
202,
6,
1098,
12,
1973,
13,
493,
33,
2296,
6,
397,
9506,
202,
6,
225,
271,
1973,
12911,
15,
22861,
15,
9506,
202,
6441,
2984,
15,
22861,
31,
202,
202,
780,
2283,
668,
2223,
1334,
273,
394,
1068,
1892,
5621,
202,
202,
780,
2283,
1114,
1041,
273,
9506,
202,
2704,
514,
2283,
1114,
12,
2704,
26227,
12,
8502,
3631,
6862,
25083,
202,
1868,
2283,
13356,
18,
1106,
16,
6862,
25083,
202,
4324,
1769,
202,
202,
780,
2283,
268,
273,
1041,
18,
588,
1442,
951,
2932,
1098,
8863,
202,
202,
88,
18,
542,
1499,
2932,
1973,
3113,
315,
56,
264,
802,
64,
82,
64,
82,
291,
279,
3161,
77,
1077,
8863,
202,
202,
780,
17012,
273,
9506,
202,
6,
225,
28991,
802,
6,
15,
22861,
15,
9506,
202,
3660,
15,
22861,
15,
368,
1158,
3504,
603,
7052,
980,
9506,
202,
6,
225,
353,
279,
3161,
77,
1077,
14432,
202,
202,
11231,
5812,
12,
88,
18,
10492,
9334,
17012,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
7790,
951,
8438,
7796,
5763,
1435,
1082,
202,
15069,
1185,
202,
95,
202,
202,
780,
5539,
273,
9506,
202,
6,
1655,
1842,
4868,
397,
22861,
15,
9506,
202,
6,
1098,
12,
1973,
13,
493,
33,
2296,
6,
397,
9506,
202,
6,
225,
271,
1973,
12911,
15,
22861,
15,
9506,
202,
6441,
2984,
15,
22861,
31,
202,
202,
780,
2283,
668,
2223,
1334,
273,
394,
1068,
1892,
5621,
202,
202,
780,
2283,
1114,
1041,
273,
9506,
202,
2704,
514,
2283,
1114,
12,
2704,
26227,
12,
8502,
3631,
6862,
25083,
202,
1868,
2283,
13356,
18,
1106,
16,
6862,
25083,
202,
4324,
1769,
202,
202,
780,
2283,
268,
273,
1041,
18,
588,
1442,
951,
2932,
1098,
8863,
2
] |
if (antLibCurrentTypeTable != null && ProjectHelper.ANT_CURRENT_URI.equals( ProjectHelper.extractUriFromComponentName(componentName))) { ret = antLibCurrentTypeTable.getDefinition(componentName); } if (ret == null) { ret = antTypeTable.getDefinition(componentName); }
|
ret = antTypeTable.getDefinition(componentName);
|
public AntTypeDefinition getDefinition(String componentName) { checkNamespace(componentName); AntTypeDefinition ret = null; if (antLibCurrentTypeTable != null && ProjectHelper.ANT_CURRENT_URI.equals( ProjectHelper.extractUriFromComponentName(componentName))) { ret = antLibCurrentTypeTable.getDefinition(componentName); } if (ret == null) { ret = antTypeTable.getDefinition(componentName); } return ret; }
|
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/99b22a7da3308ae6800e2b6d95ec3827b54c852f/ComponentHelper.java/buggy/src/main/org/apache/tools/ant/ComponentHelper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
18830,
559,
1852,
12762,
12,
780,
20577,
13,
288,
3639,
866,
3402,
12,
4652,
461,
1769,
3639,
18830,
559,
1852,
325,
273,
446,
31,
3639,
309,
261,
970,
5664,
3935,
559,
1388,
480,
446,
5411,
597,
5420,
2276,
18,
6856,
67,
15487,
67,
3098,
18,
14963,
12,
7734,
5420,
2276,
18,
8004,
3006,
1265,
1841,
461,
12,
4652,
461,
20349,
288,
5411,
325,
273,
17841,
5664,
3935,
559,
1388,
18,
588,
1852,
12,
4652,
461,
1769,
3639,
289,
3639,
309,
261,
1349,
422,
446,
13,
288,
5411,
325,
273,
17841,
559,
1388,
18,
588,
1852,
12,
4652,
461,
1769,
3639,
289,
3639,
327,
325,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18830,
559,
1852,
12762,
12,
780,
20577,
13,
288,
3639,
866,
3402,
12,
4652,
461,
1769,
3639,
18830,
559,
1852,
325,
273,
446,
31,
3639,
309,
261,
970,
5664,
3935,
559,
1388,
480,
446,
5411,
597,
5420,
2276,
18,
6856,
67,
15487,
67,
3098,
18,
14963,
12,
7734,
5420,
2276,
18,
8004,
3006,
1265,
1841,
461,
12,
4652,
461,
20349,
288,
5411,
325,
273,
17841,
5664,
3935,
559,
1388,
18,
588,
1852,
12,
4652,
461,
1769,
3639,
289,
3639,
309,
261,
1349,
422,
446,
13,
288,
5411,
325,
273,
17841,
559,
1388,
18,
588,
1852,
12,
4652,
461,
1769,
3639,
289,
3639,
327,
325,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public float getLayoutAlignmentY(Container target) { return 0.0f; }
|
public float getLayoutAlignmentY (Container target) { return Component.CENTER_ALIGNMENT; }
|
public float getLayoutAlignmentY(Container target) { return 0.0f; }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/GridBagLayout.java/clean/core/src/classpath/java/java/awt/GridBagLayout.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1431,
17670,
11535,
61,
12,
2170,
1018,
13,
225,
288,
565,
327,
374,
18,
20,
74,
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
] |
[
1,
1,
1,
1,
1,
1,
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,
1431,
17670,
11535,
61,
12,
2170,
1018,
13,
225,
288,
565,
327,
374,
18,
20,
74,
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
] |
public void testSynchChangedReports() throws Exception { init222(); BugzillaTask task4 = generateLocalTaskAndDownload("4"); assertNotNull(task4); MylarTaskListPlugin.getTaskListManager().getTaskList().moveToRoot(task4); assertTrue(task4.isDownloaded()); assertEquals(4, task4.getTaskData().getId()); String taskNumber5 = "5"; BugzillaTask task5 = (BugzillaTask) client.createTaskFromExistingKey(repository, taskNumber5); assertNotNull(task5); MylarTaskListPlugin.getTaskListManager().getTaskList().moveToRoot(task5); assertTrue(task5.isDownloaded()); assertEquals(5, task5.getTaskData().getId()); Set<AbstractRepositoryTask> tasks = new HashSet<AbstractRepositoryTask>(); tasks.add(task4); tasks.add(task5); client.synchronize(task4, true, null); client.synchronize(task5, true, null); assertEquals(task4.getSyncState(), RepositoryTaskSyncState.SYNCHRONIZED); assertEquals(task5.getSyncState(), RepositoryTaskSyncState.SYNCHRONIZED); MylarTaskListPlugin.getRepositoryManager().setSyncTime(repository, null); client.synchronizeChanged(repository); // synchronizeChanged uses the date stamp from the most recent task returned so // this should always result in 1 task being returned (the most recently modified task). Set<AbstractRepositoryTask> changedTasks = client.getChangedSinceLastSync(repository, tasks); assertEquals(1, changedTasks.size()); String priority4 = null; if (task4.getPriority().equals("P1")) { priority4 = "P2"; task4.getTaskData().setAttributeValue(BugzillaReportElement.PRIORITY.getKeyString(), priority4); } else { priority4 = "P1"; task4.getTaskData().setAttributeValue(BugzillaReportElement.PRIORITY.getKeyString(), priority4); } String priority5 = null; if (task5.getPriority().equals("P1")) { priority5 = "P2"; task5.getTaskData().setAttributeValue(BugzillaReportElement.PRIORITY.getKeyString(), priority5); } else { priority5 = "P1"; task5.getTaskData().setAttributeValue(BugzillaReportElement.PRIORITY.getKeyString(), priority5); } assertNotNull(repository.getUserName()); assertNotNull(repository.getPassword()); BugzillaReportSubmitForm bugzillaReportSubmitForm; for (AbstractRepositoryTask task : tasks) { bugzillaReportSubmitForm = makeExistingBugPost(task.getTaskData()); bugzillaReportSubmitForm.submitReportToRepository(); } assertEquals("Changed reports expected ", 2, client.getChangedSinceLastSync(repository, tasks).size()); synchAndAssertState(tasks, RepositoryTaskSyncState.INCOMING); synchAndAssertState(tasks, RepositoryTaskSyncState.SYNCHRONIZED); assertEquals(priority4, task4.getPriority()); assertEquals(priority5, task5.getPriority()); }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/023b020e6475fd7c2a063929ba3aa24d621f0692/BugzillaRepositoryConnectorTest.java/buggy/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
55,
2515,
5033,
18631,
1435,
1216,
1185,
288,
9506,
202,
2738,
28855,
5621,
202,
202,
19865,
15990,
2174,
1562,
24,
273,
2103,
2042,
2174,
1876,
7109,
2932,
24,
8863,
202,
202,
11231,
5962,
12,
4146,
24,
1769,
202,
202,
12062,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2174,
682,
7675,
8501,
774,
2375,
12,
4146,
24,
1769,
202,
202,
11231,
5510,
12,
4146,
24,
18,
291,
4164,
4230,
10663,
202,
202,
11231,
8867,
12,
24,
16,
1562,
24,
18,
588,
2174,
751,
7675,
26321,
10663,
202,
202,
780,
1562,
1854,
25,
273,
315,
25,
14432,
202,
202,
19865,
15990,
2174,
1562,
25,
273,
261,
19865,
15990,
2174,
13,
1004,
18,
2640,
2174,
1265,
9895,
653,
12,
9071,
16,
1562,
1854,
25,
1769,
202,
202,
11231,
5962,
12,
4146,
25,
1769,
202,
202,
12062,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2174,
682,
7675,
8501,
774,
2375,
12,
4146,
25,
1769,
202,
202,
11231,
5510,
12,
4146,
25,
18,
291,
4164,
4230,
10663,
202,
202,
11231,
8867,
12,
25,
16,
1562,
25,
18,
588,
2174,
751,
7675,
26321,
10663,
202,
202,
694,
32,
7469,
3305,
2174,
34,
4592,
273,
394,
6847,
32,
7469,
3305,
2174,
34,
5621,
202,
202,
9416,
18,
1289,
12,
4146,
24,
1769,
202,
202,
9416,
18,
1289,
12,
4146,
25,
1769,
202,
202,
2625,
18,
87,
2600,
554,
12,
4146,
24,
16,
638,
16,
446,
1769,
202,
202,
2625,
18,
87,
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,
55,
2515,
5033,
18631,
1435,
1216,
1185,
288,
9506,
202,
2738,
28855,
5621,
202,
202,
19865,
15990,
2174,
1562,
24,
273,
2103,
2042,
2174,
1876,
7109,
2932,
24,
8863,
202,
202,
11231,
5962,
12,
4146,
24,
1769,
202,
202,
12062,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
588,
2174,
682,
7675,
8501,
774,
2375,
12,
4146,
24,
1769,
202,
202,
11231,
5510,
12,
4146,
24,
18,
291,
4164,
4230,
10663,
202,
202,
11231,
8867,
12,
24,
16,
1562,
24,
18,
588,
2174,
751,
7675,
26321,
10663,
202,
202,
780,
1562,
1854,
25,
273,
315,
25,
14432,
202,
202,
19865,
15990,
2174,
1562,
25,
273,
261,
19865,
15990,
2174,
13,
1004,
18,
2
] |
||
protected void decode(String mgrsString) throws NumberFormatException { if (mgrsString == null || mgrsString.length() == 0) { throw new NumberFormatException("MGRSPoint coverting from nothing"); } int length = mgrsString.length(); String hunK = null; String seasting = null; String snorthing = null; StringBuffer sb = new StringBuffer(); char testChar; int i = 0; // get Zone number while (!Character.isLetter(testChar = mgrsString.charAt(i))) { if (i > 2) { throw new NumberFormatException("MGRSPoint bad conversion from: " + mgrsString); } sb.append(testChar); i++; } zone_number = Integer.parseInt(sb.toString()); if (i == 0 || i+3 > length) { // A good MGRS string has to be 4-5 digits long, ##AAA/#AAA at least. throw new NumberFormatException("MGRSPoint bad conversion from: " + mgrsString); } zone_letter = mgrsString.charAt(i++); // Should we check the zone letter here? Why not. if (zone_letter <= 'A' || zone_letter == 'B' || zone_letter == 'Y' || zone_letter >= 'Z' || zone_letter == 'I' || zone_letter == 'O') { throw new NumberFormatException("MGRSPoint zone letter " + (char)zone_letter + " not handled: " + mgrsString); } hunK = mgrsString.substring(i, i+=2); int set = get100kSetForZone(zone_number); float east100k = getEastingFromChar(hunK.charAt(0), set); float north100k = getNorthingFromChar(hunK.charAt(1), set); // We have a bug where the northing may be 2000000 too low. How // do we know when to roll over? Every 18 degrees. Q - 3, S - // 5, U - 5, W - 8 if ((zone_letter == 'Q' && north100k < 1700000) || (zone_letter >= 'R')) { north100k += 2000000; if (DEBUG) Debug.output(" northing rolled over 18, adding 200k to " + north100k); } if ((zone_letter == 'S' && north100k < 3000000) || (zone_letter >= 'T')) { north100k += 2000000; if (DEBUG) Debug.output(" northing rolled over 36, adding 200k to " + north100k); } if ((zone_letter == 'U' && north100k < 5330000) || (zone_letter >= 'V')) { north100k += 2000000; if (DEBUG) Debug.output(" northing rolled over 54, adding 200k to " + north100k); } if (zone_letter >= 'X') { north100k += 2000000; if (DEBUG) Debug.output(" northing rolled over 72, adding 200k to " + north100k); if (north100k > 9500000) { // There's a tiny sliver of space that does this... north100k -= 2000000; if (DEBUG) Debug.output(" - rolling back to " + north100k); } } // calculate the char index for easting/northing separator int remainder = length - i; if (remainder%2 != 0) { throw new NumberFormatException("MGRSPoint has to have an even number \nof digits after the zone letter and two 100km letters - front \nhalf for easting meters, second half for \nnorthing meters" + mgrsString); } int sep = remainder / 2; float sepEasting = 0f; float sepNorthing = 0f; if (sep > 0) { if (DEBUG) Debug.output(" calculating e/n from " + mgrs.substring(i)); float accuracyBonus = 100000f/(float)Math.pow(10, sep); if (DEBUG) Debug.output(" calculated accuracy bonus as " + accuracyBonus); String sepEastingString = mgrsString.substring(i, i + sep); if (DEBUG) Debug.output(" parsed easting as " + sepEastingString); sepEasting = Float.parseFloat(sepEastingString) * accuracyBonus; String sepNorthingString = mgrsString.substring(i + sep); if (DEBUG) Debug.output(" parsed northing as " + sepNorthingString); sepNorthing = Float.parseFloat(sepNorthingString) * accuracyBonus; } easting = sepEasting + east100k; northing = sepNorthing + north100k; if (DEBUG) { Debug.output("Decoded " + mgrsString + " as zone number: " + zone_number + ", zone letter: " + zone_letter + ", easting: " + easting + ", northing: " + northing + ", 100k: " + hunK); } }
|
3071 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3071/96423e359dbf9d3897fd6d9d1f44b3546e24cef7/MGRSPoint.java/buggy/src/openmap/com/bbn/openmap/proj/coords/MGRSPoint.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
2495,
12,
780,
13333,
87,
780,
13,
540,
1216,
12100,
288,
3639,
309,
261,
13552,
87,
780,
422,
446,
747,
13333,
87,
780,
18,
2469,
1435,
422,
374,
13,
288,
5411,
604,
394,
12100,
2932,
49,
6997,
55,
2148,
1825,
1097,
310,
628,
5083,
8863,
3639,
289,
3639,
509,
769,
273,
13333,
87,
780,
18,
2469,
5621,
3639,
514,
366,
318,
47,
273,
446,
31,
3639,
514,
695,
689,
310,
273,
446,
31,
3639,
514,
4556,
280,
4274,
273,
446,
31,
3639,
6674,
2393,
273,
394,
6674,
5621,
3639,
1149,
1842,
2156,
31,
3639,
509,
277,
273,
374,
31,
3639,
368,
336,
10912,
1300,
3639,
1323,
16051,
7069,
18,
291,
13938,
12,
3813,
2156,
273,
13333,
87,
780,
18,
3001,
861,
12,
77,
20349,
288,
5411,
309,
261,
77,
405,
576,
13,
288,
7734,
604,
394,
12100,
2932,
49,
6997,
55,
2148,
5570,
4105,
628,
30,
315,
397,
13333,
87,
780,
1769,
5411,
289,
5411,
2393,
18,
6923,
12,
3813,
2156,
1769,
5411,
277,
9904,
31,
3639,
289,
3639,
4157,
67,
2696,
273,
2144,
18,
2670,
1702,
12,
18366,
18,
10492,
10663,
3639,
309,
261,
77,
422,
374,
747,
277,
15,
23,
405,
769,
13,
288,
5411,
368,
432,
7494,
490,
6997,
55,
533,
711,
358,
506,
1059,
17,
25,
6815,
1525,
16,
7541,
24653,
21067,
24653,
622,
4520,
18,
5411,
604,
394,
12100,
2932,
49,
6997,
55,
2148,
5570,
4105,
628,
30,
315,
397,
13333,
87,
780,
1769,
3639,
289,
3639,
4157,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
2495,
12,
780,
13333,
87,
780,
13,
540,
1216,
12100,
288,
3639,
309,
261,
13552,
87,
780,
422,
446,
747,
13333,
87,
780,
18,
2469,
1435,
422,
374,
13,
288,
5411,
604,
394,
12100,
2932,
49,
6997,
55,
2148,
1825,
1097,
310,
628,
5083,
8863,
3639,
289,
3639,
509,
769,
273,
13333,
87,
780,
18,
2469,
5621,
3639,
514,
366,
318,
47,
273,
446,
31,
3639,
514,
695,
689,
310,
273,
446,
31,
3639,
514,
4556,
280,
4274,
273,
446,
31,
3639,
6674,
2393,
273,
394,
6674,
5621,
3639,
1149,
1842,
2156,
31,
3639,
509,
277,
273,
374,
31,
3639,
368,
336,
10912,
1300,
3639,
1323,
16051,
7069,
18,
291,
13938,
12,
3813,
2156,
273,
13333,
2
] |
||
return element.getFullPath().toString();
|
return TextProcessor.process(element.getFullPath().toString());
|
public Object getPropertyValue(Object name) { if (name.equals(IBasicPropertyConstants.P_TEXT)) { return element.getName(); } if (name.equals(IResourcePropertyConstants.P_PATH_RES)) { return element.getFullPath().toString(); } if (name.equals(IResourcePropertyConstants.P_LAST_MODIFIED_RES)) { return getDateStringValue(element); } if (name.equals(IResourcePropertyConstants.P_EDITABLE_RES)) { if (element.isReadOnly()) { return IDEPropertiesMessages.ResourceProperty_false; } else { return IDEPropertiesMessages.ResourceProperty_true; } } if (name.equals(IResourcePropertyConstants.P_DERIVED_RES)) { return String.valueOf(element.isDerived()); } if (name.equals(IResourcePropertyConstants.P_LINKED_RES)) { return String.valueOf(element.isLinked()); } if (name.equals(IResourcePropertyConstants.P_LOCATION_RES)) { return getLocationText(element); } if (name.equals(IResourcePropertyConstants.P_RESOLVED_LOCATION_RES)) { return getResolvedLocationText(element); } return null; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/a1ca365a318b96e23065f4e725ff1528454d7642/ResourcePropertySource.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/properties/ResourcePropertySource.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
21694,
12,
921,
508,
13,
288,
3639,
309,
261,
529,
18,
14963,
12,
45,
8252,
1396,
2918,
18,
52,
67,
5151,
3719,
288,
5411,
327,
930,
18,
17994,
5621,
3639,
289,
3639,
309,
261,
529,
18,
14963,
12,
45,
1420,
1396,
2918,
18,
52,
67,
4211,
67,
7031,
3719,
288,
5411,
327,
3867,
5164,
18,
2567,
12,
2956,
18,
588,
24173,
7675,
10492,
10663,
3639,
289,
3639,
309,
261,
529,
18,
14963,
12,
45,
1420,
1396,
2918,
18,
52,
67,
14378,
67,
21143,
67,
7031,
3719,
288,
5411,
327,
10713,
19733,
12,
2956,
1769,
3639,
289,
3639,
309,
261,
529,
18,
14963,
12,
45,
1420,
1396,
2918,
18,
52,
67,
10776,
2782,
67,
7031,
3719,
288,
5411,
309,
261,
2956,
18,
291,
12066,
10756,
288,
9506,
202,
2463,
1599,
41,
2297,
5058,
18,
1420,
1396,
67,
5743,
31,
1082,
202,
97,
469,
288,
9506,
202,
2463,
1599,
41,
2297,
5058,
18,
1420,
1396,
67,
3767,
31,
1082,
202,
97,
3639,
289,
3639,
309,
261,
529,
18,
14963,
12,
45,
1420,
1396,
2918,
18,
52,
67,
30086,
67,
7031,
3719,
288,
5411,
327,
514,
18,
1132,
951,
12,
2956,
18,
291,
21007,
10663,
3639,
289,
3639,
309,
261,
529,
18,
14963,
12,
45,
1420,
1396,
2918,
18,
52,
67,
10554,
2056,
67,
7031,
3719,
288,
5411,
327,
514,
18,
1132,
951,
12,
2956,
18,
291,
13174,
10663,
3639,
289,
3639,
309,
261,
529,
18,
14963,
12,
45,
1420,
1396,
2918,
18,
52,
67,
15277,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
21694,
12,
921,
508,
13,
288,
3639,
309,
261,
529,
18,
14963,
12,
45,
8252,
1396,
2918,
18,
52,
67,
5151,
3719,
288,
5411,
327,
930,
18,
17994,
5621,
3639,
289,
3639,
309,
261,
529,
18,
14963,
12,
45,
1420,
1396,
2918,
18,
52,
67,
4211,
67,
7031,
3719,
288,
5411,
327,
3867,
5164,
18,
2567,
12,
2956,
18,
588,
24173,
7675,
10492,
10663,
3639,
289,
3639,
309,
261,
529,
18,
14963,
12,
45,
1420,
1396,
2918,
18,
52,
67,
14378,
67,
21143,
67,
7031,
3719,
288,
5411,
327,
10713,
19733,
12,
2956,
1769,
3639,
289,
3639,
309,
261,
529,
18,
14963,
12,
45,
1420,
1396,
2918,
18,
52,
67,
10776,
2782,
67,
7031,
3719,
288,
2
] |
public org.quickfix.field.SecondaryClOrdID getSecondaryClOrdID() throws FieldNotFound { org.quickfix.field.SecondaryClOrdID value = new org.quickfix.field.SecondaryClOrdID();
|
public quickfix.field.SecondaryClOrdID getSecondaryClOrdID() throws FieldNotFound { quickfix.field.SecondaryClOrdID value = new quickfix.field.SecondaryClOrdID();
|
public org.quickfix.field.SecondaryClOrdID getSecondaryClOrdID() throws FieldNotFound { org.quickfix.field.SecondaryClOrdID value = new org.quickfix.field.SecondaryClOrdID(); getField(value); return value; }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderMassCancelReport.java/clean/src/java/src/quickfix/fix43/OrderMassCancelReport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14893,
2009,
15383,
734,
21741,
814,
2009,
15383,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14893,
2009,
15383,
734,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14893,
2009,
15383,
734,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14893,
2009,
15383,
734,
21741,
814,
2009,
15383,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14893,
2009,
15383,
734,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14893,
2009,
15383,
734,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
console.add(pane);
|
console.getContentPane().add(pane);
|
public static void main(String[] args) { final IRBConsole console = new IRBConsole("JRuby IRB Console"); PipedInputStream pipeIn = new PipedInputStream(); console.setLayout(new BorderLayout()); console.setSize(700, 600); JEditorPane text = new JTextPane(); text.setMargin(new Insets(8,8,8,8)); text.setCaretColor(new Color(0xa4, 0x00, 0x00)); text.setBackground(new Color(0xf2, 0xf2, 0xf2)); text.setForeground(new Color(0xa4, 0x00, 0x00)); Font font = console.findFont("Monospaced", Font.PLAIN, 14, new String[] {"Monaco", "Andale Mono"}); text.setFont(font); JScrollPane pane = new JScrollPane(); pane.setViewportView(text); pane.setBorder(BorderFactory.createLineBorder(Color.darkGray)); console.add(pane); console.validate(); TextAreaReadline tar = new TextAreaReadline(text, " Welcome to the JRuby IRB Console \n\n"); final IRuby runtime = Ruby.newInstance(pipeIn, new PrintStream(tar), new PrintStream(tar), false); IRubyObject argumentArray = runtime.newArray(JavaUtil.convertJavaArrayToRuby(runtime, args)); runtime.defineGlobalConstant("ARGV", argumentArray); runtime.getGlobalVariables().defineReadonly("$*", new ValueAccessor(argumentArray)); runtime.getGlobalVariables().defineReadonly("$$", new ValueAccessor(runtime.newFixnum(System.identityHashCode(runtime)))); runtime.getLoadService().init(new ArrayList()); tar.hookIntoRuntime(runtime); Thread t2 = new Thread() { public void run() { console.setVisible(true); runtime.evalScript("require 'irb'; require 'irb/completion'; IRB.start"); } }; t2.start(); try { t2.join(); } catch (InterruptedException ie) { // ignore } System.exit(0); }
|
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/a757121012744f77b135696456ba9a8170135244/IRBConsole.java/clean/src/org/jruby/demo/IRBConsole.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
727,
15908,
38,
10215,
2983,
273,
394,
15908,
38,
10215,
2932,
46,
54,
10340,
15908,
38,
9657,
8863,
3639,
29305,
329,
4348,
6010,
382,
273,
394,
29305,
329,
4348,
5621,
7734,
2983,
18,
542,
3744,
12,
2704,
30814,
10663,
3639,
2983,
18,
542,
1225,
12,
26874,
16,
14707,
1769,
7734,
804,
6946,
8485,
977,
273,
394,
804,
1528,
8485,
5621,
7734,
977,
18,
542,
9524,
12,
2704,
22300,
12,
28,
16,
28,
16,
28,
16,
28,
10019,
3639,
977,
18,
542,
39,
20731,
2957,
12,
2704,
5563,
12,
20,
6995,
24,
16,
374,
92,
713,
16,
374,
92,
713,
10019,
3639,
977,
18,
542,
8199,
12,
2704,
5563,
12,
20,
5841,
22,
16,
374,
5841,
22,
16,
374,
5841,
22,
10019,
3639,
977,
18,
542,
23206,
12,
2704,
5563,
12,
20,
6995,
24,
16,
374,
92,
713,
16,
374,
92,
713,
10019,
3639,
10063,
3512,
273,
2983,
18,
4720,
5711,
2932,
11415,
538,
909,
72,
3113,
10063,
18,
26549,
16,
5045,
16,
7734,
394,
514,
8526,
12528,
11415,
24363,
3113,
315,
1876,
5349,
9041,
83,
6,
22938,
7734,
977,
18,
542,
5711,
12,
5776,
1769,
3639,
804,
26360,
13618,
273,
394,
804,
26360,
5621,
3639,
13618,
18,
542,
22743,
1767,
12,
955,
1769,
3639,
13618,
18,
542,
8107,
12,
8107,
1733,
18,
2640,
1670,
8107,
12,
2957,
18,
25045,
23521,
10019,
3639,
2983,
18,
588,
1350,
8485,
7675,
1289,
12,
29009,
1769,
3639,
2983,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
727,
15908,
38,
10215,
2983,
273,
394,
15908,
38,
10215,
2932,
46,
54,
10340,
15908,
38,
9657,
8863,
3639,
29305,
329,
4348,
6010,
382,
273,
394,
29305,
329,
4348,
5621,
7734,
2983,
18,
542,
3744,
12,
2704,
30814,
10663,
3639,
2983,
18,
542,
1225,
12,
26874,
16,
14707,
1769,
7734,
804,
6946,
8485,
977,
273,
394,
804,
1528,
8485,
5621,
7734,
977,
18,
542,
9524,
12,
2704,
22300,
12,
28,
16,
28,
16,
28,
16,
28,
10019,
3639,
977,
18,
542,
39,
20731,
2957,
12,
2704,
5563,
12,
20,
6995,
24,
16,
374,
92,
713,
16,
374,
92,
713,
10019,
3639,
977,
18,
542,
8199,
12,
2704,
2
] |
iVisited.getBodyNode().accept(new CreateJumpTargetVisitor(newMethod));
|
public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = threadContext.getRubyClass(); if (rubyClass == null) { throw new TypeError(runtime, "No class to add method."); } String name = iVisited.getName(); if (rubyClass == runtime.getClasses().getObjectClass() && name.equals("initialize")) { runtime.getErrorHandler().warn("redefining Object#initialize may cause infinite loop"); } Visibility visibility = threadContext.getCurrentVisibility(); if (name.equals("initialize") || visibility.isModuleFunction()) { visibility = Visibility.PRIVATE; } else if (visibility.isPublic() && rubyClass == runtime.getClasses().getObjectClass()) { visibility = iVisited.getVisibility(); } DefaultMethod newMethod = new DefaultMethod(iVisited.getBodyNode(), (ArgsNode) iVisited.getArgsNode(), visibility, runtime.getRubyClass()); rubyClass.addMethod(name, newMethod); if (threadContext.getCurrentVisibility().isModuleFunction()) { rubyClass.getSingletonClass().addMethod(name, new WrapperCallable(newMethod, Visibility.PUBLIC)); rubyClass.callMethod("singleton_method_added", builtins.toSymbol(name)); } rubyClass.callMethod("method_added", builtins.toSymbol(name)); }
|
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/d533e9e7ef5cae0a5436a0354565291691167114/EvaluateVisitor.java/clean/src/org/jruby/evaluator/EvaluateVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
282,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
282,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
282,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
225,
1071,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
225,
918,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
225,
3757,
3262,
82,
907,
12,
3262,
82,
907,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
225,
277,
30019,
13,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
225,
288,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
282,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
282,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
282,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
282,
277,
30019,
18,
588,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
282,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
282,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
282,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
225,
1071,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
225,
918,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
225,
3757,
3262,
2
] |
|
case 'E': case 'N':
|
case 'E': case 'N':
|
protected void openConnection(String host, int port, Properties info, String database, String url, Driver d) throws SQLException { // Throw an exception if the user or password properties are missing // This occasionally occurs when the client uses the properties version // of getConnection(), and is a common question on the email lists if(info.getProperty("user")==null) throw new PSQLException("postgresql.con.user"); if(info.getProperty("password")==null) throw new PSQLException("postgresql.con.pass"); this_driver = d; this_url = url; PG_DATABASE = database; PG_PASSWORD = info.getProperty("password"); PG_USER = info.getProperty("user"); PG_PORT = port; PG_HOST = host; PG_STATUS = CONNECTION_BAD; if(info.getProperty("compatible")==null) { compatible = d.getMajorVersion() + "." + d.getMinorVersion(); } else { compatible = info.getProperty("compatible"); } // Now make the initial connection try { pg_stream = new PG_Stream(host, port); } catch (ConnectException cex) { // Added by Peter Mount <peter@retep.org.uk> // ConnectException is thrown when the connection cannot be made. // we trap this an return a more meaningful message for the end user throw new PSQLException ("postgresql.con.refused"); } catch (IOException e) { throw new PSQLException ("postgresql.con.failed",e); } // Now we need to construct and send a startup packet try { // Ver 6.3 code pg_stream.SendInteger(4+4+SM_DATABASE+SM_USER+SM_OPTIONS+SM_UNUSED+SM_TTY,4); pg_stream.SendInteger(PG_PROTOCOL_LATEST_MAJOR,2); pg_stream.SendInteger(PG_PROTOCOL_LATEST_MINOR,2); pg_stream.Send(database.getBytes(),SM_DATABASE); // This last send includes the unused fields pg_stream.Send(PG_USER.getBytes(),SM_USER+SM_OPTIONS+SM_UNUSED+SM_TTY); // now flush the startup packets to the backend pg_stream.flush(); // Now get the response from the backend, either an error message // or an authentication request int areq = -1; // must have a value here do { int beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'E': // An error occured, so pass the error message to the // user. // // The most common one to be thrown here is: // "User authentication failed" // throw new SQLException(pg_stream.ReceiveString(encoding)); case 'R': // Get the type of request areq = pg_stream.ReceiveIntegerR(4); // Get the password salt if there is one if(areq == AUTH_REQ_CRYPT) { byte[] rst = new byte[2]; rst[0] = (byte)pg_stream.ReceiveChar(); rst[1] = (byte)pg_stream.ReceiveChar(); salt = new String(rst,0,2); DriverManager.println("Salt="+salt); } // now send the auth packet switch(areq) { case AUTH_REQ_OK: break; case AUTH_REQ_KRB4: DriverManager.println("postgresql: KRB4"); throw new PSQLException("postgresql.con.kerb4"); case AUTH_REQ_KRB5: DriverManager.println("postgresql: KRB5"); throw new PSQLException("postgresql.con.kerb5"); case AUTH_REQ_PASSWORD: DriverManager.println("postgresql: PASSWORD"); pg_stream.SendInteger(5+PG_PASSWORD.length(),4); pg_stream.Send(PG_PASSWORD.getBytes()); pg_stream.SendInteger(0,1); pg_stream.flush(); break; case AUTH_REQ_CRYPT: DriverManager.println("postgresql: CRYPT"); String crypted = UnixCrypt.crypt(salt,PG_PASSWORD); pg_stream.SendInteger(5+crypted.length(),4); pg_stream.Send(crypted.getBytes()); pg_stream.SendInteger(0,1); pg_stream.flush(); break; default: throw new PSQLException("postgresql.con.auth",new Integer(areq)); } break; default: throw new PSQLException("postgresql.con.authfail"); } } while(areq != AUTH_REQ_OK); } catch (IOException e) { throw new PSQLException("postgresql.con.failed",e); } // As of protocol version 2.0, we should now receive the cancellation key and the pid int beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'K': pid = pg_stream.ReceiveInteger(4); ckey = pg_stream.ReceiveInteger(4); break; case 'E': case 'N': throw new SQLException(pg_stream.ReceiveString(encoding)); default: throw new PSQLException("postgresql.con.setup"); } // Expect ReadyForQuery packet beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'Z': break; case 'E': case 'N': throw new SQLException(pg_stream.ReceiveString(encoding)); default: throw new PSQLException("postgresql.con.setup"); } firstWarning = null; // "pg_encoding_to_char(1)" will return 'EUC_JP' for a backend compiled with multibyte, // otherwise it's hardcoded to 'SQL_ASCII'. // If the backend doesn't know about multibyte we can't assume anything about the encoding // used, so we denote this with 'UNKNOWN'. final String encodingQuery = "case when pg_encoding_to_char(1) = 'SQL_ASCII' then 'UNKNOWN' else getdatabaseencoding() end"; // Set datestyle and fetch db encoding in a single call, to avoid making // more than one round trip to the backend during connection startup. java.sql.ResultSet resultSet = ExecSQL("set datestyle to 'ISO'; select version(), " + encodingQuery + ";"); if (! resultSet.next()) { throw new PSQLException("postgresql.con.failed", "failed getting backend encoding"); } String version = resultSet.getString(1); dbVersionNumber = extractVersionNumber(version); String dbEncoding = resultSet.getString(2); encoding = Encoding.getEncoding(dbEncoding, info.getProperty("charSet")); // Initialise object handling initObjectTypes(); // Mark the connection as ok, and cleanup firstWarning = null; PG_STATUS = CONNECTION_OK; }
|
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/839b9bc0117946afd62ee385a4c8a36c01b3053b/Connection.java/clean/src/interfaces/jdbc/org/postgresql/Connection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
24982,
12,
780,
1479,
16,
509,
1756,
16,
6183,
1123,
16,
514,
2063,
16,
514,
880,
16,
9396,
302,
13,
1216,
6483,
565,
288,
565,
368,
3743,
392,
1520,
309,
326,
729,
578,
2201,
1790,
854,
3315,
565,
368,
1220,
9145,
345,
285,
1230,
9938,
1347,
326,
1004,
4692,
326,
1790,
1177,
565,
368,
434,
6742,
9334,
471,
353,
279,
2975,
5073,
603,
326,
2699,
6035,
565,
309,
12,
1376,
18,
588,
1396,
2932,
1355,
7923,
631,
2011,
13,
1377,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
1355,
8863,
565,
309,
12,
1376,
18,
588,
1396,
2932,
3664,
7923,
631,
2011,
13,
1377,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
5466,
8863,
565,
333,
67,
7407,
273,
302,
31,
565,
333,
67,
718,
273,
880,
31,
565,
22116,
67,
22366,
273,
2063,
31,
565,
22116,
67,
13784,
273,
1123,
18,
588,
1396,
2932,
3664,
8863,
565,
22116,
67,
4714,
273,
1123,
18,
588,
1396,
2932,
1355,
8863,
565,
22116,
67,
6354,
273,
1756,
31,
565,
22116,
67,
8908,
273,
1479,
31,
565,
22116,
67,
8608,
273,
20695,
67,
16234,
31,
565,
309,
12,
1376,
18,
588,
1396,
2932,
10943,
7923,
631,
2011,
13,
288,
1377,
7318,
273,
302,
18,
588,
17581,
1444,
1435,
397,
4585,
397,
302,
18,
588,
19549,
1444,
5621,
565,
289,
469,
288,
1377,
7318,
273,
1123,
18,
588,
1396,
2932,
10943,
8863,
565,
289,
565,
368,
4494,
1221,
326,
2172,
1459,
565,
775,
1377,
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,
24982,
12,
780,
1479,
16,
509,
1756,
16,
6183,
1123,
16,
514,
2063,
16,
514,
880,
16,
9396,
302,
13,
1216,
6483,
565,
288,
565,
368,
3743,
392,
1520,
309,
326,
729,
578,
2201,
1790,
854,
3315,
565,
368,
1220,
9145,
345,
285,
1230,
9938,
1347,
326,
1004,
4692,
326,
1790,
1177,
565,
368,
434,
6742,
9334,
471,
353,
279,
2975,
5073,
603,
326,
2699,
6035,
565,
309,
12,
1376,
18,
588,
1396,
2932,
1355,
7923,
631,
2011,
13,
1377,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
1355,
8863,
565,
309,
12,
1376,
18,
588,
1396,
2932,
3664,
7923,
631,
2011,
13,
1377,
604,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
2
] |
public static List<AbstractQueryHit> performQuery(StringBuffer resource, String regexp, String taskPrefix, String repositoryUrl, IProgressMonitor monitor, MultiStatus queryStatus) { List<AbstractQueryHit> hits = new ArrayList<AbstractQueryHit>(); Pattern p = Pattern.compile(regexp, Pattern.CASE_INSENSITIVE | Pattern.MULTILINE | Pattern.DOTALL | Pattern.UNICODE_CASE | Pattern.CANON_EQ); Matcher matcher = p.matcher(resource);
|
public List<AbstractQueryHit> performQuery(AbstractRepositoryQuery query, IProgressMonitor monitor, MultiStatus queryStatus) { if(query instanceof WebQuery) { String queryUrl = query.getUrl(); String regexp = ((WebQuery) query).getRegexp(); String taskPrefix = ((WebQuery) query).getTaskPrefix(); String repositoryUrl = query.getRepositoryUrl(); try { return performQuery(fetchResource(queryUrl), regexp, taskPrefix, repositoryUrl, monitor, queryStatus);
|
public static List<AbstractQueryHit> performQuery(StringBuffer resource, String regexp, String taskPrefix, String repositoryUrl, IProgressMonitor monitor, MultiStatus queryStatus) { List<AbstractQueryHit> hits = new ArrayList<AbstractQueryHit>(); Pattern p = Pattern.compile(regexp, Pattern.CASE_INSENSITIVE | Pattern.MULTILINE | Pattern.DOTALL | Pattern.UNICODE_CASE | Pattern.CANON_EQ); Matcher matcher = p.matcher(resource); if(!matcher.find()) { queryStatus.add(new Status(IStatus.ERROR, TasksUiPlugin.PLUGIN_ID, IStatus.ERROR, "Unable to parse resource. Check query regexp", null)); } else { boolean isCorrect = true; do { if (matcher.groupCount() < 2) { isCorrect = false; } if (matcher.groupCount() >= 1) { String id = matcher.group(1); String description = matcher.groupCount()>1 ? matcher.group(2) : null; hits.add(new WebQueryHit(id, id+": "+description, taskPrefix, repositoryUrl)); } } while(matcher.find() && !monitor.isCanceled()); if(isCorrect) { queryStatus.add(Status.OK_STATUS); } else { queryStatus.add(new Status(IStatus.ERROR, TasksUiPlugin.PLUGIN_ID, IStatus.ERROR, "Require two matching groups (id and description). Check query regexp", null)); } } return hits; }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/00e94aaeb937c337cb03a5fb6e06d2effaca4dad/WebRepositoryConnector.java/buggy/sandbox/org.eclipse.mylyn.sandbox.ui/src/org/eclipse/mylyn/internal/sandbox/web/WebRepositoryConnector.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
987,
32,
7469,
1138,
13616,
34,
3073,
1138,
12,
780,
1892,
1058,
16,
514,
7195,
16,
514,
1562,
2244,
16,
514,
3352,
1489,
16,
467,
5491,
7187,
6438,
16,
5991,
1482,
843,
1482,
13,
288,
202,
202,
682,
32,
7469,
1138,
13616,
34,
11076,
273,
394,
2407,
32,
7469,
1138,
13616,
34,
5621,
9506,
202,
3234,
293,
273,
6830,
18,
11100,
12,
17745,
16,
6830,
18,
13415,
67,
706,
26753,
16325,
571,
6830,
18,
12845,
30690,
571,
6830,
18,
17591,
4685,
571,
6830,
18,
26642,
67,
13415,
571,
6830,
18,
39,
1258,
673,
67,
27247,
1769,
202,
202,
6286,
4546,
273,
293,
18,
22761,
12,
3146,
1769,
202,
202,
430,
12,
5,
22761,
18,
4720,
10756,
288,
1082,
202,
2271,
1482,
18,
1289,
12,
2704,
2685,
12,
45,
1482,
18,
3589,
16,
20350,
13943,
3773,
18,
19415,
67,
734,
16,
467,
1482,
18,
3589,
16,
6862,
202,
6,
3370,
358,
1109,
1058,
18,
2073,
843,
7195,
3113,
446,
10019,
202,
202,
97,
469,
288,
1082,
202,
6494,
353,
16147,
273,
638,
31,
202,
377,
202,
2896,
288,
202,
377,
202,
202,
430,
261,
22761,
18,
1655,
1380,
1435,
411,
576,
13,
288,
202,
377,
1082,
202,
291,
16147,
273,
629,
31,
202,
377,
202,
202,
97,
202,
377,
202,
202,
430,
261,
22761,
18,
1655,
1380,
1435,
1545,
404,
13,
288,
202,
377,
1082,
202,
780,
612,
273,
4546,
18,
1655,
12,
21,
1769,
202,
377,
1082,
202,
780,
2477,
273,
4546,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
987,
32,
7469,
1138,
13616,
34,
3073,
1138,
12,
780,
1892,
1058,
16,
514,
7195,
16,
514,
1562,
2244,
16,
514,
3352,
1489,
16,
467,
5491,
7187,
6438,
16,
5991,
1482,
843,
1482,
13,
288,
202,
202,
682,
32,
7469,
1138,
13616,
34,
11076,
273,
394,
2407,
32,
7469,
1138,
13616,
34,
5621,
9506,
202,
3234,
293,
273,
6830,
18,
11100,
12,
17745,
16,
6830,
18,
13415,
67,
706,
26753,
16325,
571,
6830,
18,
12845,
30690,
571,
6830,
18,
17591,
4685,
571,
6830,
18,
26642,
67,
13415,
571,
6830,
18,
39,
1258,
673,
67,
27247,
1769,
202,
202,
6286,
4546,
273,
293,
18,
22761,
12,
3146,
1769,
202,
202,
430,
12,
5,
22761,
18,
4720,
2
] |
this.databaseMap = new MapCache<Class<?>, Object>(CACHE_SIZE);
|
this.databaseMap = new HashMap<Class<?>, Object>();
|
AnalysisCache(IClassPath classPath, IErrorLogger errorLogger) { this.classPath = classPath; this.errorLogger = errorLogger; this.classAnalysisEngineMap = new HashMap<Class<?>, IClassAnalysisEngine>(); this.methodAnalysisEngineMap = new HashMap<Class<?>, IMethodAnalysisEngine>(); this.databaseFactoryMap = new HashMap<Class<?>, IDatabaseFactory<?>>(); this.classAnalysisMap = new MapCache<ClassDescriptor, Map<Class<?>,Object>>(CACHE_SIZE); this.methodAnalysisMap = new MapCache<MethodDescriptor, Map<Class<?>,Object>>(CACHE_SIZE); this.databaseMap = new MapCache<Class<?>, Object>(CACHE_SIZE); }
|
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/d4c8106d50e70c3d45a36d6bff4b1c336d1b59b7/AnalysisCache.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/classfile/impl/AnalysisCache.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
9418,
1649,
12,
45,
22158,
22503,
16,
467,
668,
3328,
555,
3328,
13,
288,
202,
202,
2211,
18,
1106,
743,
273,
22503,
31,
202,
202,
2211,
18,
1636,
3328,
273,
555,
3328,
31,
202,
202,
2211,
18,
1106,
9418,
4410,
863,
273,
394,
4317,
32,
797,
12880,
20401,
467,
797,
9418,
4410,
34,
5621,
202,
202,
2211,
18,
2039,
9418,
4410,
863,
273,
394,
4317,
32,
797,
12880,
20401,
467,
1305,
9418,
4410,
34,
5621,
202,
202,
2211,
18,
6231,
1733,
863,
273,
394,
4317,
32,
797,
12880,
20401,
1599,
2451,
1733,
12880,
9778,
5621,
9506,
202,
2211,
18,
1106,
9418,
863,
273,
394,
1635,
1649,
32,
797,
3187,
16,
1635,
32,
797,
12880,
20401,
921,
9778,
12,
8495,
67,
4574,
1769,
202,
202,
2211,
18,
2039,
9418,
863,
273,
394,
1635,
1649,
32,
1305,
3187,
16,
1635,
32,
797,
12880,
20401,
921,
9778,
12,
8495,
67,
4574,
1769,
9506,
202,
2211,
18,
6231,
863,
273,
394,
1635,
1649,
32,
797,
12880,
20401,
1033,
34,
12,
8495,
67,
4574,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
9418,
1649,
12,
45,
22158,
22503,
16,
467,
668,
3328,
555,
3328,
13,
288,
202,
202,
2211,
18,
1106,
743,
273,
22503,
31,
202,
202,
2211,
18,
1636,
3328,
273,
555,
3328,
31,
202,
202,
2211,
18,
1106,
9418,
4410,
863,
273,
394,
4317,
32,
797,
12880,
20401,
467,
797,
9418,
4410,
34,
5621,
202,
202,
2211,
18,
2039,
9418,
4410,
863,
273,
394,
4317,
32,
797,
12880,
20401,
467,
1305,
9418,
4410,
34,
5621,
202,
202,
2211,
18,
6231,
1733,
863,
273,
394,
4317,
32,
797,
12880,
20401,
1599,
2451,
1733,
12880,
9778,
5621,
9506,
202,
2211,
18,
1106,
9418,
863,
273,
394,
1635,
1649,
32,
797,
3187,
16,
1635,
32,
797,
12880,
20401,
921,
9778,
2
] |
public List findPvtMsgsBySearchText(final String typeUuid, final String searchText,final Date searchFromDate, final Date searchToDate, final Long searchByText, final Long searchByAuthor,final Long searchByBody,final Long searchByLabel,final Long searchByDate) {
|
public List findPvtMsgsBySearchText(final String typeUuid, final String searchText, final Date searchFromDate, final Date searchToDate, final boolean searchByText, final boolean searchByAuthor, final boolean searchByBody, final boolean searchByLabel, final boolean searchByDate) {
|
public List findPvtMsgsBySearchText(final String typeUuid, final String searchText,final Date searchFromDate, final Date searchToDate, final Long searchByText, final Long searchByAuthor,final Long searchByBody,final Long searchByLabel,final Long searchByDate) { LOG.debug("findPvtMsgsBySearchText executing with searchText: " + searchText); HibernateCallback hcb = new HibernateCallback() { public Object doInHibernate(Session session) throws HibernateException, SQLException { Query q = session.getNamedQuery("findPvtMsgsBySearchText"); q.setParameter("searchText", "%" + searchText + "%"); q.setParameter("searchByText", searchByText); q.setParameter("searchByAuthor", searchByAuthor); q.setParameter("searchByBody", searchByBody); q.setParameter("searchByLabel", searchByLabel); q.setParameter("searchByDate", searchByDate); q.setParameter("searchFromDate", (searchFromDate == null) ? new Date(0) : searchFromDate); q.setParameter("searchToDate", (searchToDate == null) ? new Date(System.currentTimeMillis()) : searchToDate); q.setParameter("userId", getCurrentUser()); q.setParameter("contextId", ToolManager.getCurrentPlacement().getContext()); q.setParameter("typeUuid", typeUuid); return q.list(); } }; return (List) getHibernateTemplate().execute(hcb); }
|
48936 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48936/1f81fb031296886807215395dfda4daaa8b07074/MessageForumsMessageManagerImpl.java/buggy/messageforums-component-impl/src/java/org/sakaiproject/component/app/messageforums/MessageForumsMessageManagerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
1104,
27615,
17949,
858,
2979,
1528,
12,
6385,
514,
618,
5897,
16,
727,
514,
1623,
1528,
16,
6385,
2167,
1623,
1265,
1626,
16,
727,
2167,
1623,
31264,
16,
727,
3407,
1623,
858,
1528,
16,
7734,
727,
3407,
1623,
858,
3594,
16,
6385,
3407,
1623,
858,
2250,
16,
6385,
3407,
1623,
858,
2224,
16,
6385,
3407,
1623,
858,
1626,
13,
288,
1377,
2018,
18,
4148,
2932,
4720,
27615,
17949,
858,
2979,
1528,
11274,
598,
1623,
1528,
30,
315,
397,
1623,
1528,
1769,
1377,
670,
24360,
2428,
366,
7358,
273,
394,
670,
24360,
2428,
1435,
288,
1850,
1071,
1033,
741,
382,
44,
24360,
12,
2157,
1339,
13,
1216,
670,
24360,
503,
16,
6483,
288,
2868,
2770,
1043,
273,
1339,
18,
588,
7604,
1138,
2932,
4720,
27615,
17949,
858,
2979,
1528,
8863,
2868,
1043,
18,
542,
1662,
2932,
3072,
1528,
3113,
20880,
397,
1623,
1528,
397,
2213,
8863,
2868,
1043,
18,
542,
1662,
2932,
3072,
858,
1528,
3113,
1623,
858,
1528,
1769,
2868,
1043,
18,
542,
1662,
2932,
3072,
858,
3594,
3113,
1623,
858,
3594,
1769,
2868,
1043,
18,
542,
1662,
2932,
3072,
858,
2250,
3113,
1623,
858,
2250,
1769,
2868,
1043,
18,
542,
1662,
2932,
3072,
858,
2224,
3113,
1623,
858,
2224,
1769,
2868,
1043,
18,
542,
1662,
2932,
3072,
858,
1626,
3113,
1623,
858,
1626,
1769,
2868,
1043,
18,
542,
1662,
2932,
3072,
1265,
1626,
3113,
261,
3072,
1265,
1626,
422,
446,
13,
692,
394,
2167,
12,
20,
13,
294,
1623,
1265,
1626,
1769,
2868,
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,
987,
1104,
27615,
17949,
858,
2979,
1528,
12,
6385,
514,
618,
5897,
16,
727,
514,
1623,
1528,
16,
6385,
2167,
1623,
1265,
1626,
16,
727,
2167,
1623,
31264,
16,
727,
3407,
1623,
858,
1528,
16,
7734,
727,
3407,
1623,
858,
3594,
16,
6385,
3407,
1623,
858,
2250,
16,
6385,
3407,
1623,
858,
2224,
16,
6385,
3407,
1623,
858,
1626,
13,
288,
1377,
2018,
18,
4148,
2932,
4720,
27615,
17949,
858,
2979,
1528,
11274,
598,
1623,
1528,
30,
315,
397,
1623,
1528,
1769,
1377,
670,
24360,
2428,
366,
7358,
273,
394,
670,
24360,
2428,
1435,
288,
1850,
1071,
1033,
741,
382,
44,
24360,
12,
2157,
1339,
13,
1216,
670,
24360,
503,
16,
6483,
288,
2868,
2770,
1043,
273,
2
] |
case 'h':
|
case 'o':
|
public DFA.State transition(IntStream input) throws RecognitionException { switch ( input.LA(1) ) { case 'o': return s58; case 'a': return s59; case 'l': return s60; case 'h': return s61; default: return s45; } }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/024138fd0e08f5f4cd91a30959fe962d30fec435/JavaParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParserLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
463,
2046,
18,
1119,
6007,
12,
1702,
1228,
810,
13,
1216,
9539,
288,
7734,
1620,
261,
810,
18,
2534,
12,
21,
13,
262,
288,
7734,
648,
296,
83,
4278,
10792,
327,
272,
8204,
31,
7734,
648,
296,
69,
4278,
10792,
327,
272,
6162,
31,
7734,
648,
296,
80,
4278,
10792,
327,
272,
4848,
31,
7734,
648,
296,
83,
4278,
10792,
327,
272,
9498,
31,
7734,
805,
30,
10792,
327,
272,
7950,
31,
540,
202,
3639,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
463,
2046,
18,
1119,
6007,
12,
1702,
1228,
810,
13,
1216,
9539,
288,
7734,
1620,
261,
810,
18,
2534,
12,
21,
13,
262,
288,
7734,
648,
296,
83,
4278,
10792,
327,
272,
8204,
31,
7734,
648,
296,
69,
4278,
10792,
327,
272,
6162,
31,
7734,
648,
296,
80,
4278,
10792,
327,
272,
4848,
31,
7734,
648,
296,
83,
4278,
10792,
327,
272,
9498,
31,
7734,
805,
30,
10792,
327,
272,
7950,
31,
540,
202,
3639,
289,
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
] |
initObjects(functionName, INTERNAL, RequestTrans.INTERNAL); thisObject = object; this.functionName = functionName; this.args = args; startTransactor(); wait(timeout); if (reqtype != NONE) { stopTransactor(); exception = new RuntimeException("Request timed out"); } res = null; if (exception != null) { throw (exception); } return result;
|
return invokeInternal(object, functionName, args, 60000L * 15);
|
public synchronized Object invokeInternal(Object object, String functionName, Object[] args, long timeout) throws Exception { initObjects(functionName, INTERNAL, RequestTrans.INTERNAL); thisObject = object; this.functionName = functionName; this.args = args; startTransactor(); wait(timeout); if (reqtype != NONE) { stopTransactor(); exception = new RuntimeException("Request timed out"); } // reset res for garbage collection (res.data may hold reference to evaluator) res = null; if (exception != null) { throw (exception); } return result; }
|
46029 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46029/04d8589d294a08ef1e99c0fc06804343c01decaf/RequestEvaluator.java/buggy/src/helma/framework/core/RequestEvaluator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
1033,
4356,
3061,
12,
921,
733,
16,
514,
14117,
16,
4766,
2868,
1033,
8526,
833,
16,
1525,
2021,
13,
4766,
4202,
1216,
1185,
288,
3639,
1208,
4710,
12,
915,
461,
16,
18139,
16,
1567,
1429,
18,
14005,
1769,
3639,
333,
921,
273,
733,
31,
3639,
333,
18,
915,
461,
273,
14117,
31,
3639,
333,
18,
1968,
273,
833,
31,
3639,
787,
1429,
3362,
5621,
3639,
2529,
12,
4538,
1769,
3639,
309,
261,
3658,
723,
480,
11829,
13,
288,
5411,
2132,
1429,
3362,
5621,
5411,
1520,
273,
394,
3235,
2932,
691,
7491,
596,
8863,
3639,
289,
3639,
368,
2715,
400,
364,
15340,
1849,
261,
455,
18,
892,
2026,
6887,
2114,
358,
18256,
13,
3639,
400,
273,
446,
31,
3639,
309,
261,
4064,
480,
446,
13,
288,
5411,
604,
261,
4064,
1769,
3639,
289,
3639,
327,
563,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1033,
4356,
3061,
12,
921,
733,
16,
514,
14117,
16,
4766,
2868,
1033,
8526,
833,
16,
1525,
2021,
13,
4766,
4202,
1216,
1185,
288,
3639,
1208,
4710,
12,
915,
461,
16,
18139,
16,
1567,
1429,
18,
14005,
1769,
3639,
333,
921,
273,
733,
31,
3639,
333,
18,
915,
461,
273,
14117,
31,
3639,
333,
18,
1968,
273,
833,
31,
3639,
787,
1429,
3362,
5621,
3639,
2529,
12,
4538,
1769,
3639,
309,
261,
3658,
723,
480,
11829,
13,
288,
5411,
2132,
1429,
3362,
5621,
5411,
1520,
273,
394,
3235,
2932,
691,
7491,
596,
8863,
3639,
289,
3639,
368,
2715,
400,
364,
15340,
1849,
261,
455,
18,
892,
2026,
6887,
2114,
358,
18256,
13,
3639,
400,
273,
446,
2
] |
rubyClass.callMethod("method_added", builtins.toSymbol(name));
|
if (singletonClass != null) { threadContext.pushClass(singletonClass); singletonClass.addMethod(iVisited.getName(), newMethod); } else { containingClass.callMethod("method_added", builtins.toSymbol(name)); }
|
public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = threadContext.getRubyClass(); if (rubyClass == null) { throw new TypeError(runtime, "No class to add method."); } String name = iVisited.getName(); if (rubyClass == runtime.getClasses().getObjectClass() && name.equals("initialize")) { runtime.getWarnings().warn("redefining Object#initialize may cause infinite loop"); } Visibility visibility = threadContext.getCurrentVisibility(); if (name.equals("initialize") || visibility.isModuleFunction()) { visibility = Visibility.PRIVATE; } else if (visibility.isPublic() && rubyClass == runtime.getClasses().getObjectClass()) { visibility = iVisited.getVisibility(); } DefaultMethod newMethod = new DefaultMethod(iVisited.getBodyNode(), (ArgsNode) iVisited.getArgsNode(), visibility, runtime.getRubyClass()); iVisited.getBodyNode().accept(new CreateJumpTargetVisitor(newMethod)); rubyClass.addMethod(name, newMethod); if (threadContext.getCurrentVisibility().isModuleFunction()) { rubyClass.getSingletonClass().addMethod(name, new WrapperCallable(newMethod, Visibility.PUBLIC)); rubyClass.callMethod("singleton_method_added", builtins.toSymbol(name)); } rubyClass.callMethod("method_added", builtins.toSymbol(name)); }
|
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/43e9fa2839b5fdb050b372d628601d8a4bcc43a4/EvaluateVisitor.java/buggy/src/org/jruby/evaluator/EvaluateVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
3262,
82,
907,
12,
3262,
82,
907,
277,
30019,
13,
288,
3639,
19817,
3120,
22155,
797,
273,
2650,
1042,
18,
588,
54,
10340,
797,
5621,
3639,
309,
261,
27768,
797,
422,
446,
13,
288,
5411,
604,
394,
3580,
12,
9448,
16,
315,
2279,
667,
358,
527,
707,
1199,
1769,
3639,
289,
3639,
514,
508,
273,
277,
30019,
18,
17994,
5621,
3639,
309,
261,
27768,
797,
422,
3099,
18,
588,
4818,
7675,
588,
921,
797,
1435,
597,
508,
18,
14963,
2932,
11160,
6,
3719,
288,
5411,
3099,
18,
588,
4312,
7675,
8935,
2932,
266,
5649,
310,
1033,
7,
11160,
2026,
4620,
14853,
2798,
8863,
3639,
289,
3639,
27791,
9478,
273,
2650,
1042,
18,
588,
3935,
10135,
5621,
3639,
309,
261,
529,
18,
14963,
2932,
11160,
7923,
747,
9478,
18,
291,
3120,
2083,
10756,
288,
5411,
9478,
273,
27791,
18,
20055,
31,
3639,
289,
469,
309,
261,
14422,
18,
291,
4782,
1435,
597,
22155,
797,
422,
3099,
18,
588,
4818,
7675,
588,
921,
797,
10756,
288,
5411,
9478,
273,
277,
30019,
18,
588,
10135,
5621,
3639,
289,
3639,
2989,
1305,
394,
1305,
273,
394,
2989,
1305,
12,
77,
30019,
18,
588,
2250,
907,
9334,
4766,
10792,
261,
2615,
907,
13,
277,
30019,
18,
588,
2615,
907,
9334,
4766,
10792,
9478,
16,
4766,
10792,
3099,
18,
588,
54,
10340,
797,
10663,
7734,
277,
30019,
18,
588,
2250,
907,
7675,
9436,
12,
2704,
1788,
26743,
2326,
7413,
12,
2704,
1305,
10019,
7734,
22155,
797,
18,
1289,
1305,
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,
3757,
3262,
82,
907,
12,
3262,
82,
907,
277,
30019,
13,
288,
3639,
19817,
3120,
22155,
797,
273,
2650,
1042,
18,
588,
54,
10340,
797,
5621,
3639,
309,
261,
27768,
797,
422,
446,
13,
288,
5411,
604,
394,
3580,
12,
9448,
16,
315,
2279,
667,
358,
527,
707,
1199,
1769,
3639,
289,
3639,
514,
508,
273,
277,
30019,
18,
17994,
5621,
3639,
309,
261,
27768,
797,
422,
3099,
18,
588,
4818,
7675,
588,
921,
797,
1435,
597,
508,
18,
14963,
2932,
11160,
6,
3719,
288,
5411,
3099,
18,
588,
4312,
7675,
8935,
2932,
266,
5649,
310,
1033,
7,
11160,
2026,
4620,
14853,
2798,
8863,
3639,
289,
3639,
27791,
9478,
273,
2650,
1042,
18,
588,
3935,
10135,
2
] |
butFire = new Button("Fire");
|
butFire = new Button(Messages.getString("FiringDisplay.Fire"));
|
public FiringDisplay(ClientGUI clientgui) { this.client = clientgui.getClient(); this.clientgui = clientgui; client.addGameListener(this); client.game.board.addBoardListener(this); shiftheld = false; // fire attacks = new Vector(); setupStatusBar("Waiting to begin Firing phase..."); butFire = new Button("Fire"); butFire.addActionListener(this); butFire.addKeyListener(this); butFire.setActionCommand(FIRE_FIRE); butFire.setEnabled(false); butSkip = new Button("Skip"); butSkip.addActionListener(this); butSkip.addKeyListener(this); butSkip.setActionCommand(FIRE_SKIP); butSkip.setEnabled(false); butTwist = new Button("Twist"); butTwist.addActionListener(this); butTwist.addKeyListener(this); butTwist.setActionCommand(FIRE_TWIST); butTwist.setEnabled(false); butFindClub = new Button("Find Club"); butFindClub.addActionListener(this); butFindClub.addKeyListener(this); butFindClub.setActionCommand(FIRE_FIND_CLUB); butFindClub.setEnabled(false); butNextTarg = new Button("Next Target"); butNextTarg.addActionListener(this); butNextTarg.addKeyListener(this); butNextTarg.setActionCommand(FIRE_NEXT_TARG); butNextTarg.setEnabled(false); butFlipArms = new Button("Flip Arms"); butFlipArms.addActionListener(this); butFlipArms.addKeyListener(this); butFlipArms.setActionCommand(FIRE_FLIP_ARMS); butFlipArms.setEnabled(false); butSpot = new Button("Spot"); butSpot.addActionListener(this); butSpot.addKeyListener(this); butSpot.setActionCommand(FIRE_SPOT); butSpot.setEnabled(false); butSpace = new Button("."); butSpace.setEnabled(false); // Fire Mode - Adding a Fire Mode Button to the 2nd Menu - Rasia butFireMode = new Button("Mode"); butFireMode.addActionListener(this); butFireMode.addKeyListener(this); butFireMode.setActionCommand(FIRE_MODE); butFireMode.setEnabled(false); butDone = new Button("Done"); butDone.addActionListener(this); butDone.addKeyListener(this); butDone.setEnabled(false); butNext = new Button(" Next Unit "); butNext.addActionListener(this); butNext.addKeyListener(this); butNext.setActionCommand(FIRE_NEXT); butNext.setEnabled(false); butMore = new Button("More..."); butMore.addActionListener(this); butMore.addKeyListener(this); butMore.setActionCommand(FIRE_MORE); butMore.setEnabled(false); // layout button grid panButtons = new Panel(); buttonLayout = 0; setupButtonPanel(); // layout screen GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); setLayout(gridbag); c.fill = GridBagConstraints.BOTH; c.weightx = 1.0; c.weighty = 1.0; c.insets = new Insets(1, 1, 1, 1);// c.gridwidth = GridBagConstraints.REMAINDER;// addBag(clientgui.bv, gridbag, c);// c.weightx = 1.0; c.weighty = 0;// c.gridwidth = 1;// addBag(client.cb.getComponent(), gridbag, c); c.gridwidth = GridBagConstraints.REMAINDER; c.weightx = 0.0; c.weighty = 0.0; addBag(panButtons, gridbag, c); c.weightx = 1.0; c.weighty = 0.0; c.gridwidth = GridBagConstraints.REMAINDER; addBag(panStatus, gridbag, c); clientgui.bv.addKeyListener( this ); addKeyListener(this); // mech display. clientgui.mechD.wPan.weaponList.addItemListener(this); clientgui.mechD.wPan.weaponList.addKeyListener(this); ash = new AimedShotHandler(); }
|
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/18ec0036f3c5df3d8fbef60e9dd53cc153fc889e/FiringDisplay.java/buggy/megamek/src/megamek/client/ui/AWT/FiringDisplay.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
478,
11256,
4236,
12,
1227,
43,
5370,
1004,
20292,
13,
288,
3639,
333,
18,
2625,
273,
1004,
20292,
18,
588,
1227,
5621,
3639,
333,
18,
2625,
20292,
273,
1004,
20292,
31,
3639,
1004,
18,
1289,
12496,
2223,
12,
2211,
1769,
7734,
1004,
18,
13957,
18,
3752,
18,
1289,
22233,
2223,
12,
2211,
1769,
7734,
699,
430,
451,
488,
273,
629,
31,
5411,
368,
4452,
3639,
28444,
273,
394,
5589,
5621,
3639,
3875,
1482,
5190,
2932,
15946,
358,
2376,
478,
11256,
6855,
7070,
1769,
7734,
1496,
9723,
273,
394,
12569,
12,
5058,
18,
588,
780,
2932,
42,
11256,
4236,
18,
9723,
7923,
1769,
3639,
1496,
9723,
18,
1289,
1803,
2223,
12,
2211,
1769,
3639,
1496,
9723,
18,
1289,
653,
2223,
12,
2211,
1769,
3639,
1496,
9723,
18,
542,
1803,
2189,
12,
1653,
862,
67,
1653,
862,
1769,
3639,
1496,
9723,
18,
542,
1526,
12,
5743,
1769,
7734,
1496,
6368,
273,
394,
12569,
2932,
6368,
8863,
3639,
1496,
6368,
18,
1289,
1803,
2223,
12,
2211,
1769,
3639,
1496,
6368,
18,
1289,
653,
2223,
12,
2211,
1769,
3639,
1496,
6368,
18,
542,
1803,
2189,
12,
1653,
862,
67,
22589,
1769,
3639,
1496,
6368,
18,
542,
1526,
12,
5743,
1769,
7734,
1496,
23539,
376,
273,
394,
12569,
2932,
23539,
376,
8863,
3639,
1496,
23539,
376,
18,
1289,
1803,
2223,
12,
2211,
1769,
3639,
1496,
23539,
376,
18,
1289,
653,
2223,
12,
2211,
1769,
3639,
1496,
23539,
376,
18,
542,
1803,
2189,
12,
1653,
862,
67,
18869,
5511,
1769,
3639,
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,
478,
11256,
4236,
12,
1227,
43,
5370,
1004,
20292,
13,
288,
3639,
333,
18,
2625,
273,
1004,
20292,
18,
588,
1227,
5621,
3639,
333,
18,
2625,
20292,
273,
1004,
20292,
31,
3639,
1004,
18,
1289,
12496,
2223,
12,
2211,
1769,
7734,
1004,
18,
13957,
18,
3752,
18,
1289,
22233,
2223,
12,
2211,
1769,
7734,
699,
430,
451,
488,
273,
629,
31,
5411,
368,
4452,
3639,
28444,
273,
394,
5589,
5621,
3639,
3875,
1482,
5190,
2932,
15946,
358,
2376,
478,
11256,
6855,
7070,
1769,
7734,
1496,
9723,
273,
394,
12569,
12,
5058,
18,
588,
780,
2932,
42,
11256,
4236,
18,
9723,
7923,
1769,
3639,
1496,
9723,
18,
1289,
1803,
2223,
12,
2211,
1769,
3639,
1496,
9723,
18,
1289,
2
] |
protected Template getTemplate(File file) throws ServletException { String key = file.getAbsolutePath(); Template template = null; // // Test cache for a valid template bound to the key. // TemplateCacheEntry entry = (TemplateCacheEntry) cache.get(key); if (entry != null) { if (entry.validate(file)) { // log("Valid cache hit! :)"); template = entry.template; } // else log("Cached template needs recompiliation!"); } // else log("Cache miss."); // // Template not cached or the source file changed - compile new template! // if (template == null) { if (VERBOSE) { log("Creating new template from file " + file + "..."); } FileReader reader = null; try { reader = new FileReader(file); // // FIXME Template creation should eliminate '\n' by default?! // // template = engine.createTemplate(reader); // // General error during parsing: // expecting anything but ''\n''; got it anyway // template = createTemplate((int) file.length(), reader); } catch (Exception e) { throw new ServletException("Creation of template failed: " + e, e); } finally { if (reader != null) { try { reader.close(); } catch (IOException ignore) { // e.printStackTrace(); } } } cache.put(key, new TemplateCacheEntry(file, template)); if (VERBOSE) { log("Created and added template to cache. [key=" + key + "]"); } } // // Last sanity check. // if (template == null) { throw new ServletException("Template is null? Should not happen here!"); } return template; }
|
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/4be41938bd1d02a65659b5871492f8181407e6be/TemplateServlet.java/clean/src/main/groovy/servlet/TemplateServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
225,
5035,
225,
10646,
12,
812,
225,
585,
13,
225,
1216,
225,
16517,
225,
288,
3639,
514,
225,
498,
225,
273,
225,
585,
18,
588,
10368,
743,
5621,
3639,
5035,
225,
1542,
225,
273,
225,
446,
31,
3639,
368,
3639,
368,
225,
7766,
225,
1247,
225,
364,
225,
279,
225,
923,
225,
1542,
225,
2489,
225,
358,
225,
326,
225,
498,
18,
3639,
368,
3639,
5035,
27630,
225,
1241,
225,
273,
225,
261,
2283,
27630,
13,
225,
1247,
18,
588,
12,
856,
1769,
3639,
309,
225,
261,
4099,
225,
480,
225,
446,
13,
225,
288,
5411,
309,
225,
261,
4099,
18,
5662,
12,
768,
3719,
225,
288,
225,
368,
225,
613,
2932,
1556,
225,
1247,
225,
6800,
5,
225,
294,
2225,
1769,
17311,
1542,
225,
273,
225,
1241,
18,
3202,
31,
5411,
289,
225,
368,
225,
469,
225,
613,
2932,
9839,
225,
1542,
225,
4260,
225,
283,
2919,
16278,
4442,
1769,
3639,
289,
225,
368,
225,
469,
225,
613,
2932,
1649,
225,
12543,
1199,
1769,
3639,
368,
3639,
368,
225,
5035,
225,
486,
225,
3472,
225,
578,
225,
326,
225,
1084,
225,
585,
225,
3550,
225,
300,
225,
4074,
225,
394,
225,
1542,
5,
3639,
368,
3639,
309,
225,
261,
3202,
225,
422,
225,
446,
13,
225,
288,
5411,
309,
225,
261,
21900,
13,
225,
288,
7734,
613,
2932,
11092,
225,
394,
225,
1542,
225,
628,
225,
585,
225,
315,
225,
397,
225,
585,
225,
397,
225,
26456,
1769,
5411,
289,
5411,
23010,
225,
2949,
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,
225,
5035,
225,
10646,
12,
812,
225,
585,
13,
225,
1216,
225,
16517,
225,
288,
3639,
514,
225,
498,
225,
273,
225,
585,
18,
588,
10368,
743,
5621,
3639,
5035,
225,
1542,
225,
273,
225,
446,
31,
3639,
368,
3639,
368,
225,
7766,
225,
1247,
225,
364,
225,
279,
225,
923,
225,
1542,
225,
2489,
225,
358,
225,
326,
225,
498,
18,
3639,
368,
3639,
5035,
27630,
225,
1241,
225,
273,
225,
261,
2283,
27630,
13,
225,
1247,
18,
588,
12,
856,
1769,
3639,
309,
225,
261,
4099,
225,
480,
225,
446,
13,
225,
288,
5411,
309,
225,
261,
4099,
18,
5662,
12,
768,
3719,
225,
288,
225,
368,
225,
613,
2932,
1556,
225,
1247,
225,
6800,
2
] |
||
if (wordWrapESet) result.append(wordWrap); else result.append("<unset>");
|
if (wordWrapESet) result.append(wordWrap); else result.append("<unset>");
|
public String toString() { if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (name: "); result.append(name); result.append(", size: "); if (sizeESet) result.append(size); else result.append("<unset>"); result.append(", bold: "); if (boldESet) result.append(bold); else result.append("<unset>"); result.append(", italic: "); if (italicESet) result.append(italic); else result.append("<unset>"); result.append(", strikethrough: "); if (strikethroughESet) result.append(strikethrough); else result.append("<unset>"); result.append(", underline: "); if (underlineESet) result.append(underline); else result.append("<unset>"); result.append(", wordWrap: "); if (wordWrapESet) result.append(wordWrap); else result.append("<unset>"); result.append(", rotation: "); if (rotationESet) result.append(rotation); else result.append("<unset>"); result.append(')'); return result.toString(); }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/FontDefinitionImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/FontDefinitionImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
565,
288,
3639,
309,
261,
73,
2520,
3886,
10756,
327,
2240,
18,
10492,
5621,
3639,
6674,
563,
273,
394,
6674,
12,
9565,
18,
10492,
10663,
3639,
563,
18,
6923,
2932,
261,
529,
30,
315,
1769,
3639,
563,
18,
6923,
12,
529,
1769,
3639,
563,
18,
6923,
2932,
16,
963,
30,
315,
1769,
3639,
309,
261,
1467,
41,
694,
13,
563,
18,
6923,
12,
1467,
1769,
469,
563,
18,
6923,
2932,
32,
18579,
2984,
1769,
3639,
563,
18,
6923,
2932,
16,
13068,
30,
315,
1769,
3639,
309,
261,
16390,
41,
694,
13,
563,
18,
6923,
12,
16390,
1769,
469,
563,
18,
6923,
2932,
32,
18579,
2984,
1769,
3639,
563,
18,
6923,
2932,
16,
31709,
30,
315,
1769,
3639,
309,
261,
7053,
335,
41,
694,
13,
563,
18,
6923,
12,
7053,
335,
1769,
469,
563,
18,
6923,
2932,
32,
18579,
2984,
1769,
3639,
563,
18,
6923,
2932,
16,
609,
1766,
546,
2642,
30,
315,
1769,
3639,
309,
261,
701,
1766,
546,
2642,
41,
694,
13,
563,
18,
6923,
12,
701,
1766,
546,
2642,
1769,
469,
563,
18,
6923,
2932,
32,
18579,
2984,
1769,
3639,
563,
18,
6923,
2932,
16,
25985,
30,
315,
1769,
3639,
309,
261,
9341,
1369,
41,
694,
13,
563,
18,
6923,
12,
9341,
1369,
1769,
469,
563,
18,
6923,
2932,
32,
18579,
2984,
1769,
3639,
563,
18,
6923,
2932,
16,
2076,
2964,
30,
315,
1769,
3639,
309,
261,
1095,
2964,
41,
694,
13,
563,
18,
6923,
12,
1095,
2964,
1769,
469,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
565,
288,
3639,
309,
261,
73,
2520,
3886,
10756,
327,
2240,
18,
10492,
5621,
3639,
6674,
563,
273,
394,
6674,
12,
9565,
18,
10492,
10663,
3639,
563,
18,
6923,
2932,
261,
529,
30,
315,
1769,
3639,
563,
18,
6923,
12,
529,
1769,
3639,
563,
18,
6923,
2932,
16,
963,
30,
315,
1769,
3639,
309,
261,
1467,
41,
694,
13,
563,
18,
6923,
12,
1467,
1769,
469,
563,
18,
6923,
2932,
32,
18579,
2984,
1769,
3639,
563,
18,
6923,
2932,
16,
13068,
30,
315,
1769,
3639,
309,
261,
16390,
41,
694,
13,
563,
18,
6923,
12,
16390,
1769,
469,
563,
18,
6923,
2932,
32,
18579,
2984,
1769,
3639,
563,
18,
6923,
2932,
16,
31709,
30,
2
] |
if ( i == 0 ) {
|
if ( rect == null ) {
|
protected void init() throws ArchitectException { int accelMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); prefs = PrefsUtils.getUserPrefsNode(architectSession); UserSettings us; // must be done right away, because a static // initializer in this class effects BeanUtils // behaviour which the XML Digester relies // upon heavily //TypeMap.getInstance(); contentPane = (JComponent)getContentPane(); try { ConfigFile cf = ConfigFile.getDefaultInstance(); us = cf.read(getArchitectSession()); architectSession.setUserSettings(us); sprefs = architectSession.getUserSettings().getSwingSettings(); } catch (IOException e) { throw new ArchitectException("prefs.read", e); } while (us.getPlDotIni() == null) { String message; String[] options = new String[] {"Browse", "Create"}; if (us.getPlDotIniPath() == null) { message = "location is not set"; } else if (new File(us.getPlDotIniPath()).isFile()) { message = "file \n\n\""+us.getPlDotIniPath()+"\"\n\n could not be read"; } else { message = "file \n\n\""+us.getPlDotIniPath()+"\"\n\n does not exist"; } int choice = JOptionPane.showOptionDialog(null, "The Architect keeps its list of database connections" + "\nin a file called PL.INI. Your PL.INI "+message+"." + "\n\nYou can browse for an existing PL.INI file on your system" + "\nor allow the Architect to create a new one in your home directory." + "\n\nHint: If you are a Power*Loader Suite user, you should browse for" + "\nan existing PL.INI in your Power*Loader installation directory.", "Missing PL.INI", 0, JOptionPane.INFORMATION_MESSAGE, null, options, null); File newPlIniFile; if (choice == 0) { JFileChooser fc = new JFileChooser(); fc.setFileFilter(ASUtils.INI_FILE_FILTER); fc.setDialogTitle("Locate your PL.INI file"); int fcChoice = fc.showOpenDialog(null); if (fcChoice == JFileChooser.APPROVE_OPTION) { newPlIniFile = fc.getSelectedFile(); } else { newPlIniFile = null; } } else { newPlIniFile = new File(System.getProperty("user.home"), "pl.ini"); } if (newPlIniFile != null) try { newPlIniFile.createNewFile(); us.setPlDotIniPath(newPlIniFile.getPath()); } catch (IOException e1) { logger.error("Caught IO exception while creating empty PL.INI at \"" +newPlIniFile.getPath()+"\"", e1); JOptionPane.showMessageDialog(null, "Failed to create file \""+newPlIniFile.getPath()+"\":\n"+e1.getMessage(), "Error", JOptionPane.ERROR_MESSAGE); } } // Create actions aboutAction = new AboutAction(); newProjectAction = new AbstractAction("New Project", ASUtils.createJLFIcon("general/New","New Project",sprefs.getInt(SwingUserSettings.ICON_SIZE, 24))) { public void actionPerformed(ActionEvent e) { if (promptForUnsavedModifications()) { try { prefs.putInt(SwingUserSettings.DIVIDER_LOCATION, splitPane.getDividerLocation()); closeProject(getProject()); setProject(new SwingUIProject("New Project")); logger.debug("Glass pane is "+getGlassPane()); } catch (Exception ex) { JOptionPane.showMessageDialog(ArchitectFrame.this, "Can't create new project: "+ex.getMessage()); logger.error("Got exception while creating new project", ex); } } } }; newProjectAction.putValue(AbstractAction.SHORT_DESCRIPTION, "New"); newProjectAction.putValue(AbstractAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_N, accelMask)); final RecentMenu recent = new RecentMenu(this) { @Override public void loadFile(String fileName) throws IOException { openFile(fileName); } }; openProjectAction = new OpenProjectAction(recent); JMenuItem clearItem = new JMenuItem("Clear Recent Files"); clearItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { recent.clear(); } }); saveProjectAction = new AbstractAction("Save Project", ASUtils.createJLFIcon("general/Save", "Save Project", sprefs.getInt(SwingUserSettings.ICON_SIZE, 24))) { public void actionPerformed(ActionEvent e) { saveOrSaveAs(false, true); } }; saveProjectAction.putValue(AbstractAction.SHORT_DESCRIPTION, "Save"); saveProjectAction.putValue(AbstractAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_S, accelMask)); saveProjectAsAction = new AbstractAction("Save Project As...", ASUtils.createJLFIcon("general/SaveAs", "Save Project As...", sprefs.getInt(SwingUserSettings.ICON_SIZE, 24))) { public void actionPerformed(ActionEvent e) { saveOrSaveAs(true, true); } }; saveProjectAsAction.putValue(AbstractAction.SHORT_DESCRIPTION, "Save As"); prefAction = new PreferencesAction(); projectSettingsAction = new ProjectSettingsAction(); projectSettingsAction.putValue(AbstractAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_COMMA, accelMask)); printAction = new PrintAction(); printAction.putValue(AbstractAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_P, accelMask)); zoomInAction = new ZoomAction(ZOOM_STEP); zoomOutAction = new ZoomAction(ZOOM_STEP * -1.0); zoomNormalAction = new AbstractAction("Reset Zoom", ASUtils.createJLFIcon("general/Zoom", "Reset Zoom", sprefs.getInt(SwingUserSettings.ICON_SIZE, 24))) { public void actionPerformed(ActionEvent e) { playpen.setZoom(1.0); } }; zoomNormalAction.putValue(AbstractAction.SHORT_DESCRIPTION, "Reset Zoom"); zoomAllAction = new AbstractAction("Zoom to fit", ASUtils.createJLFIcon("general/Zoom", "Reset Zoom", sprefs.getInt(SwingUserSettings.ICON_SIZE, 24))) { public void actionPerformed(ActionEvent e) { Rectangle rect = null; if ( playpen != null ) { for (int i = 0; i < playpen.getContentPane().getComponentCount(); i++) { PlayPenComponent ppc = playpen.getContentPane().getComponent(i); if ( i == 0 ) { rect = new Rectangle(ppc.getLocation(),ppc.getSize()); } else { rect.add(ppc.getBounds()); } } } double zoom = playpen.getViewportSize().getHeight()/rect.height; double zoom1 = playpen.getViewportSize().getWidth()/rect.width; if ( zoom1 < zoom ) zoom = zoom1; zoom *= 0.95; playpen.setZoom(zoom); playpen.scrollRectToVisible(playpen.unzoomRect(rect)); } }; zoomAllAction.putValue(AbstractAction.SHORT_DESCRIPTION, "View All"); undoAction = new UndoAction(); redoAction = new RedoAction(); autoLayoutAction = new AutoLayoutAction(); autoLayout = new FruchtermanReingoldForceLayout(); autoLayoutAction.setLayout(autoLayout); exportDDLAction = new ExportDDLAction(); compareDMAction = new CompareDMAction(); exportPLTransAction = new ExportPLTransAction(); quickStartAction = new QuickStartAction(); deleteSelectedAction = new DeleteSelectedAction(); createIdentifyingRelationshipAction = new CreateRelationshipAction(true); createNonIdentifyingRelationshipAction = new CreateRelationshipAction(false); editRelationshipAction = new EditRelationshipAction(); createTableAction = new CreateTableAction(); editColumnAction = new EditColumnAction(); insertColumnAction = new InsertColumnAction(); editTableAction = new EditTableAction(); searchReplaceAction = new SearchReplaceAction(); searchReplaceAction.putValue(AbstractAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_F, accelMask)); selectAllAction = new SelectAllAction(); selectAllAction.putValue(AbstractAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_A, accelMask)); menuBar = new JMenuBar(); //Settingup JMenu fileMenu = new JMenu("File"); fileMenu.setMnemonic('f'); fileMenu.add(newProjectAction); fileMenu.add(openProjectAction); fileMenu.add(recent); fileMenu.add(clearItem); fileMenu.addSeparator(); fileMenu.add(saveProjectAction); fileMenu.add(saveProjectAsAction); fileMenu.add(printAction); fileMenu.addSeparator(); fileMenu.add(prefAction); fileMenu.add(projectSettingsAction); fileMenu.add(saveSettingsAction); fileMenu.addSeparator(); fileMenu.add(exitAction); menuBar.add(fileMenu); JMenu editMenu = new JMenu("Edit"); editMenu.setMnemonic('e'); editMenu.add(undoAction); editMenu.add(redoAction); editMenu.addSeparator(); editMenu.add(selectAllAction); editMenu.addSeparator(); editMenu.add(searchReplaceAction); menuBar.add(editMenu); // the connections menu is set up when a new project is created (because it depends on the current DBTree) connectionsMenu = new JMenu("Connections"); connectionsMenu.setMnemonic('c'); menuBar.add(connectionsMenu); JMenu etlMenu = new JMenu("ETL"); etlMenu.setMnemonic('l'); JMenu etlSubmenuOne = new JMenu("Power*Loader"); etlSubmenuOne.add(exportPLTransAction); etlSubmenuOne.add(new JMenuItem("PL Transaction File Export")); etlSubmenuOne.add(new JMenuItem("Run Power*Loader")); etlSubmenuOne.add(quickStartAction); etlMenu.add(etlSubmenuOne); menuBar.add(etlMenu); JMenu toolsMenu = new JMenu("Tools"); toolsMenu.setMnemonic('t'); toolsMenu.add(exportDDLAction); toolsMenu.add(compareDMAction); menuBar.add(toolsMenu); JMenu helpMenu = new JMenu("Help"); helpMenu.setMnemonic('h'); helpMenu.add(aboutAction); menuBar.add(helpMenu); setJMenuBar(menuBar); projectBar = new JToolBar(JToolBar.HORIZONTAL); ppBar = new JToolBar(JToolBar.VERTICAL); projectBar.add(newProjectAction); projectBar.add(openProjectAction); projectBar.add(saveProjectAction); projectBar.addSeparator(); projectBar.add(printAction); projectBar.addSeparator(); projectBar.add(undoAction); projectBar.add(redoAction); projectBar.addSeparator(); projectBar.add(exportDDLAction); projectBar.add(compareDMAction); projectBar.addSeparator(); projectBar.add(autoLayoutAction); projectBar.setToolTipText("Project Toolbar"); projectBar.setName("Project Toolbar"); JButton tempButton = null; // shared actions need to report where they are coming from ppBar.setToolTipText("PlayPen Toolbar"); ppBar.setName("PlayPen ToolBar"); ppBar.add(zoomInAction); ppBar.add(zoomOutAction); ppBar.add(zoomNormalAction); ppBar.add(zoomAllAction); ppBar.addSeparator(); tempButton = ppBar.add(deleteSelectedAction); tempButton.setActionCommand(ArchitectSwingConstants.ACTION_COMMAND_SRC_PLAYPEN); ppBar.addSeparator(); tempButton = ppBar.add(createTableAction); tempButton.setActionCommand(ArchitectSwingConstants.ACTION_COMMAND_SRC_PLAYPEN); ppBar.addSeparator(); tempButton = ppBar.add(insertColumnAction); tempButton.setActionCommand(ArchitectSwingConstants.ACTION_COMMAND_SRC_PLAYPEN); tempButton = ppBar.add(editColumnAction); tempButton.setActionCommand(ArchitectSwingConstants.ACTION_COMMAND_SRC_PLAYPEN); ppBar.addSeparator(); ppBar.add(createNonIdentifyingRelationshipAction); ppBar.add(createIdentifyingRelationshipAction); tempButton = ppBar.add(editRelationshipAction); tempButton.setActionCommand(ArchitectSwingConstants.ACTION_COMMAND_SRC_PLAYPEN); Container projectBarPane = getContentPane(); projectBarPane.setLayout(new BorderLayout()); projectBarPane.add(projectBar, BorderLayout.NORTH); JPanel cp = new JPanel(new BorderLayout()); cp.add(ppBar, BorderLayout.EAST); projectBarPane.add(cp, BorderLayout.CENTER); splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT); cp.add(splitPane, BorderLayout.CENTER); logger.debug("Added splitpane to content pane"); splitPane.setDividerLocation(prefs.getInt(SwingUserSettings.DIVIDER_LOCATION,150)); Rectangle bounds = new Rectangle(); bounds.x = prefs.getInt(SwingUserSettings.MAIN_FRAME_X, 40); bounds.y = prefs.getInt(SwingUserSettings.MAIN_FRAME_Y, 40); bounds.width = prefs.getInt(SwingUserSettings.MAIN_FRAME_WIDTH, 600); bounds.height = prefs.getInt(SwingUserSettings.MAIN_FRAME_HEIGHT, 440); setBounds(bounds); addWindowListener(afWindowListener = new ArchitectFrameWindowListener()); setProject(new SwingUIProject("New Project")); }
|
53257 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53257/e5c8134f54d582c05bc87406d48fcf27abe37a9f/ArchitectFrame.java/clean/src/ca/sqlpower/architect/swingui/ArchitectFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1208,
1435,
1216,
16959,
15004,
503,
288,
202,
202,
474,
15153,
5796,
273,
13288,
8691,
18,
588,
1868,
6364,
8691,
7675,
588,
4599,
15576,
653,
5796,
5621,
202,
202,
1484,
2556,
273,
453,
9316,
1989,
18,
588,
1299,
1386,
2556,
907,
12,
991,
15004,
2157,
1769,
202,
565,
2177,
2628,
584,
31,
202,
565,
368,
1297,
506,
2731,
2145,
10804,
16,
2724,
279,
760,
202,
565,
368,
12562,
316,
333,
667,
16605,
7704,
1989,
3196,
565,
368,
14273,
1492,
326,
3167,
11678,
7654,
14719,
281,
3196,
565,
368,
12318,
3904,
842,
3220,
202,
565,
368,
23968,
18,
588,
1442,
5621,
202,
565,
913,
8485,
273,
261,
46,
1841,
13,
588,
1350,
8485,
5621,
202,
377,
202,
202,
698,
288,
1082,
202,
13705,
6080,
273,
31988,
18,
588,
1868,
1442,
5621,
1082,
202,
407,
273,
6080,
18,
896,
12,
588,
12269,
15004,
2157,
10663,
1082,
202,
991,
15004,
2157,
18,
542,
1299,
2628,
12,
407,
1769,
1082,
202,
87,
1484,
2556,
273,
6637,
15004,
2157,
18,
588,
1299,
2628,
7675,
588,
6050,
310,
2628,
5621,
202,
202,
97,
1044,
261,
14106,
425,
13,
288,
1082,
202,
12849,
394,
16959,
15004,
503,
2932,
1484,
2556,
18,
896,
3113,
425,
1769,
202,
202,
97,
202,
202,
17523,
261,
407,
18,
588,
1749,
10412,
22129,
1435,
422,
446,
13,
288,
1082,
565,
514,
883,
31,
1082,
565,
514,
8526,
702,
273,
394,
514,
8526,
12528,
27304,
3113,
315,
1684,
6,
20451,
1082,
565,
309,
261,
407,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1208,
1435,
1216,
16959,
15004,
503,
288,
202,
202,
474,
15153,
5796,
273,
13288,
8691,
18,
588,
1868,
6364,
8691,
7675,
588,
4599,
15576,
653,
5796,
5621,
202,
202,
1484,
2556,
273,
453,
9316,
1989,
18,
588,
1299,
1386,
2556,
907,
12,
991,
15004,
2157,
1769,
202,
565,
2177,
2628,
584,
31,
202,
565,
368,
1297,
506,
2731,
2145,
10804,
16,
2724,
279,
760,
202,
565,
368,
12562,
316,
333,
667,
16605,
7704,
1989,
3196,
565,
368,
14273,
1492,
326,
3167,
11678,
7654,
14719,
281,
3196,
565,
368,
12318,
3904,
842,
3220,
202,
565,
368,
23968,
18,
588,
1442,
5621,
202,
565,
913,
8485,
273,
261,
46,
1841,
13,
588,
1350,
8485,
5621,
202,
377,
2
] |
if(text.substring(pos + 1).equals(name)) {
|
if (text.substring(pos + 1).equals(name)) {
|
void removeWindow(FileWindow w) { fileWindows.remove(w.getUrl()); JMenu windowMenu = getWindowMenu(); int count = windowMenu.getItemCount(); JMenuItem lastItem = windowMenu.getItem(count -1); String name = new File(w.getUrl()).getName(); for(int i = 5; i < count; i++) { JMenuItem item = windowMenu.getItem(i); if(item == null) continue; // separator String text = item.getText(); //1 D:\foo.js //2 D:\bar.js int pos = text.indexOf(' '); if(text.substring(pos + 1).equals(name)) { windowMenu.remove(item); // Cascade [0] // Tile [1] // ------- [2] // Console [3] // ------- [4] if(count == 6) { // remove the final separator windowMenu.remove(4); } else { int j = i - 4; for(;i < count -1; i++) { JMenuItem thisItem = windowMenu.getItem(i); if(thisItem != null) { //1 D:\foo.js //2 D:\bar.js text = thisItem.getText(); if(text.equals("More Windows...")) { break; } else { pos = text.indexOf(' '); thisItem.setText((char)('0' + j) + " " + text.substring(pos + 1)); thisItem.setMnemonic('0' + j); j++; } } } if(count - 6 == 0 && lastItem != item) { if(lastItem.getText().equals("More Windows...")) { windowMenu.remove(lastItem); } } } break; } } windowMenu.revalidate(); }
|
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/bebd557da53b74c60ab8525aa96904d4cee6224c/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1206,
3829,
12,
812,
3829,
341,
13,
288,
3639,
585,
10399,
18,
4479,
12,
91,
18,
588,
1489,
10663,
3639,
804,
4599,
2742,
4599,
273,
26156,
4599,
5621,
3639,
509,
1056,
273,
2742,
4599,
18,
588,
30687,
5621,
3639,
804,
12958,
1142,
1180,
273,
2742,
4599,
18,
588,
1180,
12,
1883,
300,
21,
1769,
3639,
514,
508,
273,
394,
1387,
12,
91,
18,
588,
1489,
1435,
2934,
17994,
5621,
3639,
364,
12,
474,
277,
273,
1381,
31,
277,
411,
1056,
31,
277,
27245,
288,
5411,
804,
12958,
761,
273,
2742,
4599,
18,
588,
1180,
12,
77,
1769,
5411,
309,
12,
1726,
422,
446,
13,
1324,
31,
368,
4182,
5411,
514,
977,
273,
761,
18,
588,
1528,
5621,
5411,
368,
21,
463,
5581,
11351,
18,
2924,
5411,
368,
22,
463,
5581,
3215,
18,
2924,
5411,
509,
949,
273,
977,
18,
31806,
2668,
28005,
5411,
309,
261,
955,
18,
28023,
12,
917,
397,
404,
2934,
14963,
12,
529,
3719,
288,
7734,
2742,
4599,
18,
4479,
12,
1726,
1769,
7734,
368,
385,
10963,
565,
306,
20,
65,
7734,
368,
13791,
4202,
306,
21,
65,
7734,
368,
18365,
565,
306,
22,
65,
7734,
368,
9657,
565,
306,
23,
65,
7734,
368,
18365,
565,
306,
24,
65,
7734,
309,
12,
1883,
422,
1666,
13,
288,
10792,
368,
1206,
326,
727,
4182,
10792,
2742,
4599,
18,
4479,
12,
24,
1769,
7734,
289,
469,
288,
10792,
509,
525,
273,
277,
300,
1059,
31,
10792,
364,
12,
31,
77,
411,
1056,
300,
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,
377,
918,
1206,
3829,
12,
812,
3829,
341,
13,
288,
3639,
585,
10399,
18,
4479,
12,
91,
18,
588,
1489,
10663,
3639,
804,
4599,
2742,
4599,
273,
26156,
4599,
5621,
3639,
509,
1056,
273,
2742,
4599,
18,
588,
30687,
5621,
3639,
804,
12958,
1142,
1180,
273,
2742,
4599,
18,
588,
1180,
12,
1883,
300,
21,
1769,
3639,
514,
508,
273,
394,
1387,
12,
91,
18,
588,
1489,
1435,
2934,
17994,
5621,
3639,
364,
12,
474,
277,
273,
1381,
31,
277,
411,
1056,
31,
277,
27245,
288,
5411,
804,
12958,
761,
273,
2742,
4599,
18,
588,
1180,
12,
77,
1769,
5411,
309,
12,
1726,
422,
446,
13,
1324,
31,
368,
4182,
5411,
514,
977,
273,
761,
18,
588,
1528,
5621,
2
] |
AST tmp1658_AST_in = (AST)_t;
|
AST tmp1659_AST_in = (AST)_t;
|
public final void selectstatea(AST _t) throws RecognitionException { AST selectstatea_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1304 = _t; AST tmp1646_AST_in = (AST)_t; match(_t,SELECT); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ALL: { AST tmp1647_AST_in = (AST)_t; match(_t,ALL); _t = _t.getNextSibling(); break; } case DISTINCT: { AST tmp1648_AST_in = (AST)_t; match(_t,DISTINCT); _t = _t.getNextSibling(); break; } case STAR: case Sql_select_what: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case STAR: { AST tmp1649_AST_in = (AST)_t; match(_t,STAR); _t = _t.getNextSibling(); break; } case Sql_select_what: { AST __t1307 = _t; AST tmp1650_AST_in = (AST)_t; match(_t,Sql_select_what); _t = _t.getFirstChild(); { boolean synPredMatched1310 = false; if (_t==null) _t=ASTNULL; if (((_t.getType()==LEFTPAREN))) { AST __t1310 = _t; synPredMatched1310 = true; inputState.guessing++; try { { AST tmp1651_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); } } catch (RecognitionException pe) { synPredMatched1310 = false; } _t = __t1310;inputState.guessing--; } if ( synPredMatched1310 ) { AST tmp1652_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); sqlexpression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Format_phrase: { formatphrase(_t); _t = _retTree; break; } case RIGHTPAREN: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1653_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Format_phrase: { formatphrase(_t); _t = _retTree; break; } case 3: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } } else if ((_tokenSet_30.member(_t.getType()))) { sqlexpression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Format_phrase: { formatphrase(_t); _t = _retTree; break; } case 3: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } } else { throw new NoViableAltException(_t); } } { _loop1316: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp1654_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); sqlexpression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Format_phrase: { formatphrase(_t); _t = _retTree; break; } case 3: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } } else { break _loop1316; } } while (true); } _t = __t1307; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INTO: { AST __t1318 = _t; AST tmp1655_AST_in = (AST)_t; match(_t,INTO); _t = _t.getFirstChild(); fld(_t,CQ.UPDATING); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INDICATOR: case Field_ref: { fetch_indicator(_t); _t = _retTree; break; } case 3: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1322: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp1656_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); fld(_t,CQ.UPDATING); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INDICATOR: case Field_ref: { fetch_indicator(_t); _t = _retTree; break; } case 3: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } } else { break _loop1322; } } while (true); } _t = __t1318; _t = _t.getNextSibling(); break; } case FROM: { break; } default: { throw new NoViableAltException(_t); } } } AST __t1323 = _t; AST tmp1657_AST_in = (AST)_t; match(_t,FROM); _t = _t.getFirstChild(); select_from_spec(_t); _t = _retTree; { _loop1325: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp1658_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); select_from_spec(_t); _t = _retTree; } else { break _loop1325; } } while (true); } _t = __t1323; _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case GROUP: { AST __t1327 = _t; AST tmp1659_AST_in = (AST)_t; match(_t,GROUP); _t = _t.getFirstChild(); AST tmp1660_AST_in = (AST)_t; match(_t,BY); _t = _t.getNextSibling(); expression(_t); _t = _retTree; { _loop1329: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp1661_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); expression(_t); _t = _retTree; } else { break _loop1329; } } while (true); } _t = __t1327; _t = _t.getNextSibling(); break; } case 3: case BY: case HAVING: case ORDER: case UNION: case WITH: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case HAVING: { AST __t1331 = _t; AST tmp1662_AST_in = (AST)_t; match(_t,HAVING); _t = _t.getFirstChild(); sqlexpression(_t); _t = _retTree; _t = __t1331; _t = _t.getNextSibling(); break; } case 3: case BY: case ORDER: case UNION: case WITH: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ORDER: { AST __t1333 = _t; AST tmp1663_AST_in = (AST)_t; match(_t,ORDER); _t = _t.getFirstChild(); AST tmp1664_AST_in = (AST)_t; match(_t,BY); _t = _t.getNextSibling(); select_order_expr(_t); _t = _retTree; _t = __t1333; _t = _t.getNextSibling(); break; } case BY: { AST __t1334 = _t; AST tmp1665_AST_in = (AST)_t; match(_t,BY); _t = _t.getFirstChild(); select_order_expr(_t); _t = _retTree; _t = __t1334; _t = _t.getNextSibling(); break; } case 3: case UNION: case WITH: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; if (((_t.getType()==3||_t.getType()==UNION||_t.getType()==WITH))&&(_t != null)) { { boolean synPredMatched1339 = false; if (_t==null) _t=ASTNULL; if ((((_t.getType()==WITH))&&(_t != null))) { AST __t1339 = _t; synPredMatched1339 = true; inputState.guessing++; try { { AST __t1338 = _t; AST tmp1666_AST_in = (AST)_t; match(_t,WITH); _t = _t.getFirstChild(); AST tmp1667_AST_in = (AST)_t; match(_t,CHECK); _t = _t.getNextSibling(); AST tmp1668_AST_in = (AST)_t; match(_t,OPTION); _t = _t.getNextSibling(); _t = __t1338; _t = _t.getNextSibling(); } } catch (RecognitionException pe) { synPredMatched1339 = false; } _t = __t1339;inputState.guessing--; } if ( synPredMatched1339 ) { AST __t1340 = _t; AST tmp1669_AST_in = (AST)_t; match(_t,WITH); _t = _t.getFirstChild(); AST tmp1670_AST_in = (AST)_t; match(_t,CHECK); _t = _t.getNextSibling(); AST tmp1671_AST_in = (AST)_t; match(_t,OPTION); _t = _t.getNextSibling(); _t = __t1340; _t = _t.getNextSibling(); } else if ((_t.getType()==3||_t.getType()==UNION||_t.getType()==WITH)) { } else { throw new NoViableAltException(_t); } } } else if ((_t.getType()==3||_t.getType()==UNION||_t.getType()==WITH)) { } else { throw new NoViableAltException(_t); } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case WITH: { framephrase(_t); _t = _retTree; break; } case 3: case UNION: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case UNION: { AST __t1343 = _t; AST tmp1672_AST_in = (AST)_t; match(_t,UNION); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ALL: { AST tmp1673_AST_in = (AST)_t; match(_t,ALL); _t = _t.getNextSibling(); break; } case SELECT: { break; } default: { throw new NoViableAltException(_t); } } } selectstatea(_t); _t = _retTree; _t = __t1343; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1304; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2027,
2019,
69,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
2027,
2019,
69,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
3437,
3028,
273,
389,
88,
31,
202,
202,
9053,
1853,
23147,
26,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
4803,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
8061,
30,
202,
202,
95,
1082,
202,
9053,
1853,
23147,
27,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
4685,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
23286,
30,
202,
202,
95,
1082,
202,
9053,
1853,
23147,
28,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
2565,
17807,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
21807,
30,
202,
202,
3593,
8855,
67,
4025,
67,
23770,
30,
202,
202,
95,
1082,
202,
8820,
31,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2027,
2019,
69,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
2027,
2019,
69,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
3437,
3028,
273,
389,
88,
31,
202,
202,
9053,
1853,
23147,
26,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
4803,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
2
] |
return new MuleMessage(result[0], invocation.getMessage().getProperties());
|
return new MuleMessage(result[0], invocation.getMessage());
|
public UMOMessage before(Invocation invocation) throws UMOException { if (beforeExpressions != null && beforeExpressionsList.size() > 0) { JXPathContext ctx = JXPathContext.newContext(getOriginalPayload()); Object[] result = new Object[beforeExpressionsList.size()]; for (int i = 0; i < result.length; i++) { result[i] = ctx.getValue((String) beforeExpressionsList.get(i)); } if (result.length == 1) { return new MuleMessage(result[0], invocation.getMessage().getProperties()); } else { return new MuleMessage(result, invocation.getMessage().getProperties()); } } return null; }
|
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/5ca0e18b8620775bc5a69929f971205864e68bea/JXPathNormalizerInterceptor.java/buggy/src/java/org/mule/interceptors/JXPathNormalizerInterceptor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
587,
5980,
1079,
1865,
12,
9267,
9495,
13,
1216,
587,
5980,
503,
565,
288,
3639,
309,
261,
5771,
8927,
480,
446,
597,
1865,
8927,
682,
18,
1467,
1435,
405,
374,
13,
288,
5411,
804,
14124,
1042,
1103,
273,
804,
14124,
1042,
18,
2704,
1042,
12,
588,
8176,
6110,
10663,
5411,
1033,
8526,
563,
273,
394,
1033,
63,
5771,
8927,
682,
18,
1467,
1435,
15533,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
563,
18,
2469,
31,
277,
27245,
288,
7734,
563,
63,
77,
65,
273,
1103,
18,
24805,
12443,
780,
13,
1865,
8927,
682,
18,
588,
12,
77,
10019,
5411,
289,
5411,
309,
261,
2088,
18,
2469,
422,
404,
13,
288,
7734,
327,
394,
490,
725,
1079,
12,
2088,
63,
20,
6487,
9495,
18,
24906,
10663,
5411,
289,
469,
288,
7734,
327,
394,
490,
725,
1079,
12,
2088,
16,
9495,
18,
24906,
7675,
588,
2297,
10663,
5411,
289,
3639,
289,
3639,
327,
446,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
587,
5980,
1079,
1865,
12,
9267,
9495,
13,
1216,
587,
5980,
503,
565,
288,
3639,
309,
261,
5771,
8927,
480,
446,
597,
1865,
8927,
682,
18,
1467,
1435,
405,
374,
13,
288,
5411,
804,
14124,
1042,
1103,
273,
804,
14124,
1042,
18,
2704,
1042,
12,
588,
8176,
6110,
10663,
5411,
1033,
8526,
563,
273,
394,
1033,
63,
5771,
8927,
682,
18,
1467,
1435,
15533,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
563,
18,
2469,
31,
277,
27245,
288,
7734,
563,
63,
77,
65,
273,
1103,
18,
24805,
12443,
780,
13,
1865,
8927,
682,
18,
588,
12,
77,
10019,
5411,
289,
5411,
309,
261,
2088,
18,
2469,
422,
404,
13,
288,
7734,
327,
394,
490,
2
] |
return ((ValueBaseHolder) has).value;
|
return ((ValueBaseHolder) has).value;
|
public Serializable extract_Value() throws BAD_OPERATION { try { if (has instanceof ValueBaseHolder) return ((ValueBaseHolder) has).value; else { // Normally, ValueBase holder must be an instance of the // ValueBaseHolder. However some IDL compilers probably // have a bug, do not deriving this way. The the only // way to access the wrapped value is via reflection. Field f = has.getClass().getField("value"); return (Serializable) f.get(has); } } catch (Exception ex) { return new BAD_OPERATION("Value type expected"); } }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6fbea77d56a376359e68d80e2947191a6f9dae3/gnuAny.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuAny.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13687,
2608,
67,
620,
1435,
11794,
1216,
16467,
67,
22040,
225,
288,
565,
775,
1377,
288,
3639,
309,
261,
5332,
1276,
1445,
2171,
6064,
13,
3639,
327,
14015,
620,
2171,
6064,
13,
711,
2934,
1132,
31,
3639,
469,
1850,
288,
5411,
368,
24773,
1230,
16,
1445,
2171,
10438,
1297,
506,
392,
791,
434,
326,
5411,
368,
1445,
2171,
6064,
18,
10724,
2690,
1599,
48,
1161,
330,
414,
8656,
5411,
368,
1240,
279,
7934,
16,
741,
486,
4854,
9288,
333,
4031,
18,
1021,
326,
1338,
5411,
368,
4031,
358,
2006,
326,
5805,
460,
353,
3970,
5463,
18,
5411,
2286,
284,
273,
711,
18,
588,
797,
7675,
588,
974,
2932,
1132,
8863,
5411,
327,
261,
21682,
13,
284,
18,
588,
12,
5332,
1769,
1377,
289,
1377,
289,
565,
1044,
261,
503,
431,
13,
1377,
288,
3639,
327,
394,
16467,
67,
22040,
2932,
620,
618,
2665,
8863,
1377,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13687,
2608,
67,
620,
1435,
11794,
1216,
16467,
67,
22040,
225,
288,
565,
775,
1377,
288,
3639,
309,
261,
5332,
1276,
1445,
2171,
6064,
13,
3639,
327,
14015,
620,
2171,
6064,
13,
711,
2934,
1132,
31,
3639,
469,
1850,
288,
5411,
368,
24773,
1230,
16,
1445,
2171,
10438,
1297,
506,
392,
791,
434,
326,
5411,
368,
1445,
2171,
6064,
18,
10724,
2690,
1599,
48,
1161,
330,
414,
8656,
5411,
368,
1240,
279,
7934,
16,
741,
486,
4854,
9288,
333,
4031,
18,
1021,
326,
1338,
5411,
368,
4031,
358,
2006,
326,
5805,
460,
353,
3970,
5463,
18,
5411,
2286,
284,
273,
711,
18,
588,
797,
7675,
588,
974,
2932,
1132,
8863,
5411,
327,
261,
21682,
13,
284,
18,
2
] |
return realThis(thisObj, f).jsFunction_bold();
|
return realThis(thisObj, f).tagify("b", null, null);
|
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { if (prototypeFlag) { switch (methodId) { case ConstructorId_fromCharCode: return jsStaticFunction_fromCharCode(args); case Id_constructor: return jsConstructor(args, thisObj == null); case Id_toString: return realThis(thisObj, f).jsFunction_toString(); case Id_valueOf: return realThis(thisObj, f).jsFunction_valueOf(); case Id_charAt: return jsFunction_charAt (ScriptRuntime.toString(thisObj), args); case Id_charCodeAt: return wrap_double(jsFunction_charCodeAt (ScriptRuntime.toString(thisObj), args)); case Id_indexOf: return wrap_int(jsFunction_indexOf (ScriptRuntime.toString(thisObj), args)); case Id_lastIndexOf: return wrap_int(jsFunction_lastIndexOf (ScriptRuntime.toString(thisObj), args)); case Id_split: return jsFunction_split (cx, ScriptRuntime.toString(thisObj), args, f); case Id_substring: return jsFunction_substring (cx, ScriptRuntime.toString(thisObj), args); case Id_toLowerCase: return jsFunction_toLowerCase (ScriptRuntime.toString(thisObj)); case Id_toUpperCase: return jsFunction_toUpperCase (ScriptRuntime.toString(thisObj)); case Id_substr: return jsFunction_substr (ScriptRuntime.toString(thisObj), args); case Id_concat: return jsFunction_concat (ScriptRuntime.toString(thisObj), args); case Id_slice: return jsFunction_slice (ScriptRuntime.toString(thisObj), args); case Id_bold: return realThis(thisObj, f).jsFunction_bold(); case Id_italics: return realThis(thisObj, f).jsFunction_italics(); case Id_fixed: return realThis(thisObj, f).jsFunction_fixed(); case Id_strike: return realThis(thisObj, f).jsFunction_strike(); case Id_small: return realThis(thisObj, f).jsFunction_small(); case Id_big: return realThis(thisObj, f).jsFunction_big(); case Id_blink: return realThis(thisObj, f).jsFunction_blink(); case Id_sup: return realThis(thisObj, f).jsFunction_sup(); case Id_sub: return realThis(thisObj, f).jsFunction_sub(); case Id_fontsize: return realThis(thisObj, f). jsFunction_fontsize(ScriptRuntime.toString(args, 0)); case Id_fontcolor: return realThis(thisObj, f). jsFunction_fontcolor(ScriptRuntime.toString(args, 0)); case Id_link: return realThis(thisObj, f). jsFunction_link(ScriptRuntime.toString(args, 0)); case Id_anchor: return realThis(thisObj, f). jsFunction_anchor(ScriptRuntime.toString(args, 0)); case Id_equals: return wrap_boolean(jsFunction_equals (ScriptRuntime.toString(thisObj), ScriptRuntime.toString(args, 0))); case Id_equalsIgnoreCase: return wrap_boolean(jsFunction_equalsIgnoreCase (ScriptRuntime.toString(thisObj), ScriptRuntime.toString(args, 0))); case Id_match: return jsFunction_match(cx, thisObj, args, f); case Id_search: return jsFunction_search(cx, thisObj, args, f); case Id_replace: return jsFunction_replace(cx, thisObj, args, f); } } return super.execMethod(methodId, f, cx, scope, thisObj, args); }
|
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/fb69c14ae4e860dfb5b5df7d866e510acca73ed9/NativeString.java/buggy/js/rhino/src/org/mozilla/javascript/NativeString.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
18541,
4678,
13,
288,
5411,
1620,
261,
2039,
548,
13,
288,
7734,
648,
11417,
548,
67,
2080,
20535,
30,
5397,
327,
3828,
5788,
2083,
67,
2080,
20535,
12,
1968,
1769,
7734,
648,
3124,
67,
12316,
30,
10792,
327,
3828,
6293,
12,
1968,
16,
15261,
422,
446,
1769,
7734,
648,
3124,
67,
10492,
30,
10792,
327,
2863,
2503,
12,
2211,
2675,
16,
284,
2934,
2924,
2083,
67,
10492,
5621,
7734,
648,
3124,
67,
1132,
951,
30,
10792,
327,
2863,
2503,
12,
2211,
2675,
16,
284,
2934,
2924,
2083,
67,
1132,
951,
5621,
7734,
648,
3124,
67,
3001,
861,
30,
5397,
327,
3828,
2083,
67,
3001,
861,
13491,
261,
3651,
5576,
18,
10492,
12,
2211,
2675,
3631,
833,
1769,
7734,
648,
3124,
67,
3001,
1085,
861,
30,
5397,
327,
2193,
67,
9056,
12,
2924,
2083,
67,
3001,
1085,
861,
13491,
261,
3651,
5576,
18,
10492,
12,
2211,
2675,
3631,
833,
10019,
7734,
648,
3124,
67,
31806,
30,
10792,
327,
2193,
67,
474,
12,
2924,
2083,
67,
31806,
13491,
261,
3651,
5576,
18,
10492,
12,
2211,
2675,
3631,
833,
10019,
7734,
648,
3124,
67,
2722,
31985,
30,
5397,
327,
2193,
67,
474,
12,
2924,
2083,
67,
2722,
31985,
13491,
261,
3651,
5576,
18,
10492,
12,
2211,
2675,
3631,
833,
10019,
7734,
648,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
18541,
4678,
13,
288,
5411,
1620,
261,
2039,
548,
13,
288,
7734,
648,
11417,
548,
67,
2080,
20535,
30,
5397,
327,
3828,
5788,
2083,
67,
2080,
20535,
12,
1968,
1769,
7734,
648,
3124,
67,
12316,
30,
10792,
327,
3828,
6293,
12,
1968,
16,
15261,
422,
446,
1769,
7734,
648,
3124,
67,
10492,
30,
10792,
327,
2863,
2503,
12,
2211,
2675,
16,
284,
2934,
2924,
2083,
67,
10492,
5621,
7734,
648,
3124,
67,
1132,
951,
30,
10792,
327,
2863,
2503,
12,
2211,
2
] |
if (context.get(SoapEngine.DONT_CREATE_SESSION) == null) { Session session = SessionCache.getInstance().getNewSession(acct.getId() + "", SessionCache.SESSION_SOAP); response.addAttribute(ZimbraContext.E_SESSION_ID, session.getSessionId().toString(), Element.DISP_CONTENT); }
|
Session session = lc.getNewSession(acct.getId(), SessionCache.SESSION_SOAP); if (session != null) response.addAttribute(ZimbraContext.E_SESSION_ID, session.getSessionId(), Element.DISP_CONTENT);
|
public Element handle(Element request, Map context) throws ServiceException { ZimbraContext lc = getZimbraContext(context); context.put(SoapEngine.IS_AUTH_COMMAND, "1"); String name = request.getAttribute(AccountService.E_ACCOUNT); String password = request.getAttribute(AccountService.E_PASSWORD); Provisioning prov = Provisioning.getInstance(); Account acct = prov.getAccountByName(name); if (acct == null) throw AccountServiceException.AUTH_FAILED(name); try { prov.authAccount(acct, password); ZimbraLog.security.info(ZimbraLog.encodeAttrs( new String[] {"cmd", "Auth","account", name})); } catch (ServiceException se) { ZimbraLog.security.warn(ZimbraLog.encodeAttrs( new String[] {"cmd", "Auth","account", name, "error", se.getMessage()})); throw se; } boolean isAdmin = "TRUE".equals(acct.getAttr(Provisioning.A_zimbraIsAdminAccount)); long lifetime = isAdmin ? acct.getTimeInterval(Provisioning.A_zimbraAdminAuthTokenLifetime, DEFAULT_AUTH_LIFETIME*1000) : acct.getTimeInterval(Provisioning.A_zimbraAuthTokenLifetime, DEFAULT_AUTH_LIFETIME*1000); long expires = System.currentTimeMillis()+ lifetime; AuthToken at = new AuthToken(acct, expires, isAdmin, null); String token; try { token = at.getEncoded(); } catch (AuthTokenException e) { throw ServiceException.FAILURE("unable to encode auth token", e); } Element response = lc.createElement(AccountService.AUTH_RESPONSE); response.addAttribute(AccountService.E_AUTH_TOKEN, token, Element.DISP_CONTENT); response.addAttribute(AccountService.E_LIFETIME, lifetime, Element.DISP_CONTENT); if (acct.isCorrectHost()) { if (context.get(SoapEngine.DONT_CREATE_SESSION) == null) { Session session = SessionCache.getInstance().getNewSession(acct.getId() + "", SessionCache.SESSION_SOAP); response.addAttribute(ZimbraContext.E_SESSION_ID, session.getSessionId().toString(), Element.DISP_CONTENT); } } else response.addAttribute(AccountService.E_REFERRAL, acct.getAttr(Provisioning.A_zimbraMailHost), Element.DISP_CONTENT); Element prefsRequest = request.getOptionalElement(AccountService.E_PREFS); if (prefsRequest != null) { Element prefsResponse = response.addElement(AccountService.E_PREFS); GetPrefs.handle(request, prefsResponse, acct); } return response; }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/97e6b49b407881ef36e1f2710b34530a27822ab1/Auth.java/buggy/ZimbraServer/src/java/com/zimbra/cs/service/account/Auth.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3010,
1640,
12,
1046,
590,
16,
1635,
819,
13,
1216,
16489,
288,
3639,
2285,
381,
15397,
1042,
9109,
273,
23448,
381,
15397,
1042,
12,
2472,
1769,
3639,
819,
18,
458,
12,
20601,
4410,
18,
5127,
67,
7131,
67,
19104,
16,
315,
21,
8863,
202,
202,
780,
508,
273,
590,
18,
588,
1499,
12,
3032,
1179,
18,
41,
67,
21690,
1769,
202,
202,
780,
2201,
273,
590,
18,
588,
1499,
12,
3032,
1179,
18,
41,
67,
13784,
1769,
3639,
26423,
17197,
273,
26423,
18,
588,
1442,
5621,
202,
202,
3032,
20774,
273,
17197,
18,
588,
3032,
5911,
12,
529,
1769,
202,
202,
430,
261,
1077,
299,
422,
446,
13,
1082,
202,
12849,
6590,
15133,
18,
7131,
67,
11965,
12,
529,
1769,
202,
202,
698,
288,
1082,
565,
17197,
18,
1944,
3032,
12,
1077,
299,
16,
2201,
1769,
5411,
2285,
381,
15397,
1343,
18,
7462,
18,
1376,
12,
62,
381,
15397,
1343,
18,
3015,
8262,
12,
10792,
394,
514,
8526,
12528,
4172,
3113,
315,
1730,
15937,
4631,
3113,
508,
6792,
1769,
3639,
289,
1044,
261,
15133,
695,
13,
288,
5411,
2285,
381,
15397,
1343,
18,
7462,
18,
8935,
12,
62,
381,
15397,
1343,
18,
3015,
8262,
12,
10792,
394,
514,
8526,
12528,
4172,
3113,
315,
1730,
15937,
4631,
3113,
508,
16,
315,
1636,
3113,
695,
18,
24906,
1435,
6792,
1769,
7682,
604,
695,
31,
3639,
289,
3639,
1250,
23467,
273,
315,
18724,
9654,
14963,
12,
1077,
299,
18,
588,
3843,
12,
17485,
18,
37,
67,
94,
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,
3010,
1640,
12,
1046,
590,
16,
1635,
819,
13,
1216,
16489,
288,
3639,
2285,
381,
15397,
1042,
9109,
273,
23448,
381,
15397,
1042,
12,
2472,
1769,
3639,
819,
18,
458,
12,
20601,
4410,
18,
5127,
67,
7131,
67,
19104,
16,
315,
21,
8863,
202,
202,
780,
508,
273,
590,
18,
588,
1499,
12,
3032,
1179,
18,
41,
67,
21690,
1769,
202,
202,
780,
2201,
273,
590,
18,
588,
1499,
12,
3032,
1179,
18,
41,
67,
13784,
1769,
3639,
26423,
17197,
273,
26423,
18,
588,
1442,
5621,
202,
202,
3032,
20774,
273,
17197,
18,
588,
3032,
5911,
12,
529,
1769,
202,
202,
430,
261,
1077,
299,
422,
446,
13,
1082,
202,
12849,
6590,
15133,
18,
7131,
67,
2
] |
public NutchConf getConf() { return this.nutchConf;
|
public Configuration getConf() { return this.conf;
|
public NutchConf getConf() { return this.nutchConf; }
|
50818 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50818/25437bc825d50715dcc9a289a1b4c8fbbc6aced1/BasicUrlNormalizer.java/buggy/src/java/org/apache/nutch/net/BasicUrlNormalizer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
423,
322,
343,
3976,
28836,
1435,
288,
565,
327,
333,
18,
82,
322,
343,
3976,
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,
423,
322,
343,
3976,
28836,
1435,
288,
565,
327,
333,
18,
82,
322,
343,
3976,
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
] |
if (i == -1 || i > max) return -1;
|
if (i == -1 || i > max) { return -1; }
|
protected int posIn(String text, int start, int end) {//no wild card in pattern int max = end - fLength; if (!fIgnoreCase) { int i = text.indexOf(fPattern, start); if (i == -1 || i > max) return -1; return i; } for (int i = start; i <= max; ++i) { if (text.regionMatches(true, i, fPattern, 0, fLength)) return i; } return -1; }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/StringMatcher.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/StringMatcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
949,
382,
12,
780,
977,
16,
509,
787,
16,
509,
679,
13,
288,
759,
2135,
23578,
5270,
316,
1936,
3639,
509,
943,
273,
679,
300,
284,
1782,
31,
3639,
309,
16051,
74,
5556,
13,
288,
5411,
509,
277,
273,
977,
18,
31806,
12,
74,
3234,
16,
787,
1769,
5411,
309,
261,
77,
422,
300,
21,
747,
277,
405,
943,
13,
7734,
327,
300,
21,
31,
5411,
327,
277,
31,
3639,
289,
3639,
364,
261,
474,
277,
273,
787,
31,
277,
1648,
943,
31,
965,
77,
13,
288,
5411,
309,
261,
955,
18,
6858,
6869,
12,
3767,
16,
277,
16,
284,
3234,
16,
374,
16,
284,
1782,
3719,
7734,
327,
277,
31,
3639,
289,
3639,
327,
300,
21,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
949,
382,
12,
780,
977,
16,
509,
787,
16,
509,
679,
13,
288,
759,
2135,
23578,
5270,
316,
1936,
3639,
509,
943,
273,
679,
300,
284,
1782,
31,
3639,
309,
16051,
74,
5556,
13,
288,
5411,
509,
277,
273,
977,
18,
31806,
12,
74,
3234,
16,
787,
1769,
5411,
309,
261,
77,
422,
300,
21,
747,
277,
405,
943,
13,
7734,
327,
300,
21,
31,
5411,
327,
277,
31,
3639,
289,
3639,
364,
261,
474,
277,
273,
787,
31,
277,
1648,
943,
31,
965,
77,
13,
288,
5411,
309,
261,
955,
18,
6858,
6869,
12,
3767,
16,
277,
16,
284,
3234,
16,
374,
16,
284,
1782,
3719,
7734,
327,
277,
31,
3639,
289,
3639,
327,
300,
2
] |
Node ret; VariableInstance varInstance = _scopeInstance.resolve(variable); ret = _native.fetchVariableData(varInstance, part, false); return ret; }
|
Node ret; VariableInstance varInstance = _scopeInstance.resolve(variable); if (varInstance == null) return null; ret = _native.fetchVariableData(varInstance, part, false); return ret; }
|
public Node readVariable(OScope.Variable variable, OMessageVarType.Part part) throws FaultException { if (__log.isTraceEnabled()) __log.trace("readVariable(" + variable + "," + part + ")"); // TODO: check for null _scopeInstance Node ret; // TODO: catch resolveVariable(..) == null VariableInstance varInstance = _scopeInstance.resolve(variable); ret = _native.fetchVariableData(varInstance, part, false); return ret; }
|
47044 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47044/1183932ca4a81d65d22482f0b44fb17eebce0f37/ExprEvaluationContextImpl.java/buggy/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/ExprEvaluationContextImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2029,
855,
3092,
12,
51,
3876,
18,
3092,
2190,
16,
531,
1079,
1537,
559,
18,
1988,
1087,
13,
1377,
1216,
25609,
503,
288,
565,
309,
261,
972,
1330,
18,
291,
3448,
1526,
10756,
1377,
1001,
1330,
18,
5129,
2932,
896,
3092,
2932,
397,
2190,
397,
5753,
397,
1087,
397,
7310,
1769,
565,
368,
2660,
30,
866,
364,
446,
389,
4887,
1442,
565,
2029,
325,
31,
565,
368,
2660,
30,
1044,
2245,
3092,
12,
838,
13,
422,
446,
565,
7110,
1442,
569,
1442,
273,
389,
4887,
1442,
18,
10828,
12,
6105,
1769,
565,
325,
273,
389,
13635,
18,
5754,
3092,
751,
12,
1401,
1442,
16,
1087,
16,
629,
1769,
565,
327,
325,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2029,
855,
3092,
12,
51,
3876,
18,
3092,
2190,
16,
531,
1079,
1537,
559,
18,
1988,
1087,
13,
1377,
1216,
25609,
503,
288,
565,
309,
261,
972,
1330,
18,
291,
3448,
1526,
10756,
1377,
1001,
1330,
18,
5129,
2932,
896,
3092,
2932,
397,
2190,
397,
5753,
397,
1087,
397,
7310,
1769,
565,
368,
2660,
30,
866,
364,
446,
389,
4887,
1442,
565,
2029,
325,
31,
565,
368,
2660,
30,
1044,
2245,
3092,
12,
838,
13,
422,
446,
565,
7110,
1442,
569,
1442,
273,
389,
4887,
1442,
18,
10828,
12,
6105,
1769,
565,
325,
273,
389,
13635,
18,
5754,
3092,
751,
12,
1401,
1442,
16,
1087,
16,
629,
1769,
565,
327,
325,
31,
225,
289,
2,
-100,
-100,
-100
] |
result.mergeAvailableLoadSets(frame, factory);
|
result.mergeAvailableLoadSets(frame, factory, mergeTree);
|
protected void mergeInto(ValueNumberFrame frame, ValueNumberFrame result) throws DataflowAnalysisException { result.mergeAvailableLoadSets(frame, factory); super.mergeInto(frame, result); }
|
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/d528200093ce90351e81ad8b873a665878886ee1/ValueNumberAnalysis.java/clean/findbugs/src/java/edu/umd/cs/findbugs/ba/vna/ValueNumberAnalysis.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2691,
5952,
12,
620,
1854,
3219,
2623,
16,
1445,
1854,
3219,
563,
13,
1216,
1910,
2426,
9418,
503,
288,
202,
202,
2088,
18,
2702,
5268,
2563,
2785,
12,
3789,
16,
3272,
1769,
202,
202,
9565,
18,
2702,
5952,
12,
3789,
16,
563,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2691,
5952,
12,
620,
1854,
3219,
2623,
16,
1445,
1854,
3219,
563,
13,
1216,
1910,
2426,
9418,
503,
288,
202,
202,
2088,
18,
2702,
5268,
2563,
2785,
12,
3789,
16,
3272,
1769,
202,
202,
9565,
18,
2702,
5952,
12,
3789,
16,
563,
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
] |
List jarPaths = JavaProjectUtilities.getLocalJARPathsFromClasspath(project);
|
List jarPaths = JemProjectUtilities.getLocalJARPathsFromClasspath(project);
|
protected IResource getInputJARResource() { IProject project = nature.getProject(); if (project == null) return null; List jarPaths = JavaProjectUtilities.getLocalJARPathsFromClasspath(project); for (int i = 0; i < jarPaths.size(); i++) { IPath path = (IPath) jarPaths.get(i); IResource resource = project.findMember(path); if (resource != null && resource.exists() && (resource instanceof IFile) && isJ2EEArchive(resource)) return resource; } return null; }
|
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/668b89d2c5f4e8d55462fa9f1593eec8c0170482/J2EEModuleWorkbenchURIConverterImpl.java/clean/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/project/J2EEModuleWorkbenchURIConverterImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
1420,
12353,
46,
985,
1420,
1435,
288,
202,
202,
45,
4109,
1984,
273,
28700,
18,
588,
4109,
5621,
202,
202,
430,
261,
4406,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
682,
7334,
4466,
273,
5110,
4109,
11864,
18,
588,
2042,
46,
985,
4466,
1265,
17461,
12,
4406,
1769,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
7334,
4466,
18,
1467,
5621,
277,
27245,
288,
1082,
202,
45,
743,
589,
273,
261,
45,
743,
13,
7334,
4466,
18,
588,
12,
77,
1769,
1082,
202,
45,
1420,
1058,
273,
1984,
18,
4720,
4419,
12,
803,
1769,
1082,
202,
430,
261,
3146,
480,
446,
597,
1058,
18,
1808,
1435,
597,
261,
3146,
1276,
467,
812,
13,
597,
353,
46,
22,
9383,
7465,
12,
3146,
3719,
9506,
202,
2463,
1058,
31,
202,
202,
97,
202,
202,
2463,
446,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
467,
1420,
12353,
46,
985,
1420,
1435,
288,
202,
202,
45,
4109,
1984,
273,
28700,
18,
588,
4109,
5621,
202,
202,
430,
261,
4406,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
682,
7334,
4466,
273,
5110,
4109,
11864,
18,
588,
2042,
46,
985,
4466,
1265,
17461,
12,
4406,
1769,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
7334,
4466,
18,
1467,
5621,
277,
27245,
288,
1082,
202,
45,
743,
589,
273,
261,
45,
743,
13,
7334,
4466,
18,
588,
12,
77,
1769,
1082,
202,
45,
1420,
1058,
273,
1984,
18,
4720,
4419,
12,
803,
1769,
1082,
202,
430,
261,
3146,
480,
446,
597,
1058,
18,
1808,
1435,
597,
261,
3146,
2
] |
public void perform(ComponentContext context, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) throws ServletException, IOException { if(debug) System.out.println("Enter action UserMenuAction");
|
public void perform( ComponentContext context, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) throws ServletException, IOException {
|
public void perform(ComponentContext context, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) throws ServletException, IOException { if(debug) System.out.println("Enter action UserMenuAction"); // Load user settings from user context MenuSettings settings = getUserSettings( request, context); // Set parameters for rendering page context.putAttribute( USER_ITEMS_ATTRIBUTE, settings.getItems() ); if(debug) { System.out.println( "settings=" + settings ); System.out.println("Exit action UserMenuAction"); } }
|
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/92cab7ce5e83a95cf76480e16b7c6695d1f1716b/UserMenuAction.java/buggy/src/tiles-documentation/org/apache/struts/webapp/tiles/portal/UserMenuAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
3073,
12,
1841,
1042,
819,
16,
15604,
9984,
590,
16,
12446,
766,
16,
15604,
22717,
20474,
13,
3639,
1216,
16517,
16,
1860,
565,
288,
565,
309,
12,
4148,
13,
1377,
2332,
18,
659,
18,
8222,
2932,
10237,
1301,
2177,
4599,
1803,
8863,
1377,
368,
4444,
729,
1947,
628,
729,
819,
565,
9809,
2628,
1947,
273,
4735,
2628,
12,
590,
16,
819,
1769,
1377,
368,
1000,
1472,
364,
9782,
1363,
565,
819,
18,
458,
1499,
12,
7443,
67,
29887,
67,
11616,
16,
1947,
18,
588,
3126,
1435,
11272,
565,
309,
12,
4148,
13,
1377,
288,
1377,
2332,
18,
659,
18,
8222,
12,
315,
4272,
1546,
397,
1947,
11272,
1377,
2332,
18,
659,
18,
8222,
2932,
6767,
1301,
2177,
4599,
1803,
8863,
1377,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
3073,
12,
1841,
1042,
819,
16,
15604,
9984,
590,
16,
12446,
766,
16,
15604,
22717,
20474,
13,
3639,
1216,
16517,
16,
1860,
565,
288,
565,
309,
12,
4148,
13,
1377,
2332,
18,
659,
18,
8222,
2932,
10237,
1301,
2177,
4599,
1803,
8863,
1377,
368,
4444,
729,
1947,
628,
729,
819,
565,
9809,
2628,
1947,
273,
4735,
2628,
12,
590,
16,
819,
1769,
1377,
368,
1000,
1472,
364,
9782,
1363,
565,
819,
18,
458,
1499,
12,
7443,
67,
29887,
67,
11616,
16,
1947,
18,
588,
3126,
1435,
11272,
565,
309,
12,
4148,
13,
1377,
288,
1377,
2332,
18,
659,
18,
8222,
12,
315,
4272,
1546,
397,
1947,
11272,
1377,
2332,
18,
659,
18,
8222,
2932,
6767,
1301,
2
] |
Marker marker = (Marker)markers.elementAt(i);
|
Marker marker = markers.get(i);
|
public Marker getMarkerAtLine(int line) { for(int i = 0; i < markers.size(); i++) { Marker marker = (Marker)markers.elementAt(i); if(getLineOfOffset(marker.getPosition()) == line) return marker; } return null; } //}}}
|
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/3194ed5aedd97ec9187ea9ce7b4fe393f1a80dbc/Buffer.java/buggy/org/gjt/sp/jedit/Buffer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14742,
23232,
264,
861,
1670,
12,
474,
980,
13,
202,
95,
202,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
11754,
18,
1467,
5621,
277,
27245,
202,
202,
95,
1082,
202,
7078,
5373,
273,
261,
7078,
13,
22807,
18,
2956,
861,
12,
77,
1769,
1082,
202,
430,
12,
588,
1670,
951,
2335,
12,
11145,
18,
588,
2555,
10756,
422,
980,
13,
9506,
202,
2463,
5373,
31,
202,
202,
97,
202,
202,
2463,
446,
31,
202,
97,
368,
9090,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
14742,
23232,
264,
861,
1670,
12,
474,
980,
13,
202,
95,
202,
202,
1884,
12,
474,
277,
273,
374,
31,
277,
411,
11754,
18,
1467,
5621,
277,
27245,
202,
202,
95,
1082,
202,
7078,
5373,
273,
261,
7078,
13,
22807,
18,
2956,
861,
12,
77,
1769,
1082,
202,
430,
12,
588,
1670,
951,
2335,
12,
11145,
18,
588,
2555,
10756,
422,
980,
13,
9506,
202,
2463,
5373,
31,
202,
202,
97,
202,
202,
2463,
446,
31,
202,
97,
368,
9090,
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
] |
return event.getProperty(MuleProperties.MULE_USER_PROPERTY);
|
return event.getMessage().getProperty(MuleProperties.MULE_USER_PROPERTY);
|
public Object getCredentials(UMOEvent event) { return event.getProperty(MuleProperties.MULE_USER_PROPERTY); }
|
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/f659778f07cc26d6d970061c635faba08bd4672b/MuleHeaderCredentialsAccessor.java/buggy/src/java/org/mule/impl/security/MuleHeaderCredentialsAccessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
30653,
12,
2799,
51,
1133,
871,
13,
565,
288,
3639,
327,
871,
18,
24906,
7675,
588,
1396,
12,
49,
725,
2297,
18,
49,
5595,
67,
4714,
67,
9900,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
30653,
12,
2799,
51,
1133,
871,
13,
565,
288,
3639,
327,
871,
18,
24906,
7675,
588,
1396,
12,
49,
725,
2297,
18,
49,
5595,
67,
4714,
67,
9900,
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
] |
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 LOCAL_SHFT = idata.itsMaxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[0 <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for local temporaries// 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[i] = arg; if (arg == DBL_MRK) { sDbl[i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != idata.itsMaxVars; ++i) { stack[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.enterActivationFunction(cx, scope, fnOrScript, thisObj, args); } } else { scope = ScriptRuntime.enterScript(cx, scope, fnOrScript, thisObj); } 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.enterActivationFunction(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } InterpreterData savedData = cx.interpreterData; cx.interpreterData = idata; cx.interpreterLineIndex = idata.firstLinePC; 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 boolean instructionCounting = (cx.instructionThreshold != 0); // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; String[] strings = idata.itsStringTable; String stringReg = null; int indexReg = 0; Loop: for (;;) { try { int op = iCode[pc++]; jumplessRun: { // Back indent to ease imlementation readingswitch (op) { 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(); pc = -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 pc = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pc >= 0) { // Has catch block doCatch = true; } } if (pc < 0) { pc = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pc < 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; if (instructionCounting) { // 500: catch cost cx.addInstructionCount(500); pcPrevBranch = pc; } continue Loop; } 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 : case Token.LE : case Token.GT : case Token.LT : stackTop = do_cmp(stack, sDbl, stackTop, op); 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, cx, 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, cx, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.EQ : case Token.NE : stackTop = do_eq(stack, sDbl, stackTop, op); continue Loop; case Token.SHEQ : case Token.SHNE : stackTop = do_sheq(stack, sDbl, stackTop, op); continue Loop; case Token.IFNE : if (stack_boolean(stack, sDbl, stackTop--)) { pc += 2; continue Loop; } break jumplessRun; case Token.IFEQ : if (!stack_boolean(stack, sDbl, stackTop--)) { pc += 2; continue Loop; } break jumplessRun; case Icode_IFEQ_POP : if (!stack_boolean(stack, sDbl, stackTop--)) { pc += 2; continue Loop; } stack[stackTop--] = null; break jumplessRun; case Token.GOTO : break jumplessRun; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 2; break jumplessRun; case Icode_RETSUB : { // indexReg: local to store return address if (instructionCounting) { cx.addInstructionCount(pc - pcPrevBranch); } Object value = stack[LOCAL_SHFT + indexReg]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc - 1; pc = getJavaCatchPC(iCode); } else { // Normal return from GOSUB pc = (int)sDbl[LOCAL_SHFT + indexReg]; pcPrevBranch = pc; } continue Loop; } case Icode_POP : stack[stackTop] = null; stackTop--; continue Loop; case Icode_POP_RESULT : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; continue Loop; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; continue Loop; case Icode_DUP2 : stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stack[stackTop + 2] = stack[stackTop]; sDbl[stackTop + 2] = sDbl[stackTop]; stackTop += 2; 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.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Token.RETURN_RESULT : 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.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.ADD : stackTop = do_add(stack, sDbl, stackTop, cx); 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.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 Token.BINDNAME : stack[++stackTop] = ScriptRuntime.bind(cx, 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, cx, 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 : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getObjectProp(lhs, stringReg, cx, scope); continue Loop; } case Token.SETPROP : { 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.setObjectProp(lhs, stringReg, rhs, cx, scope); continue Loop; } case Icode_PROP_INC_DEC : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.propIncrDecr(lhs, stringReg, scope, iCode[pc]); ++pc; continue Loop; } case Token.GETELEM : stackTop = do_getElem(stack, sDbl, stackTop, cx, scope); continue Loop; case Token.SETELEM : stackTop = do_setElem(stack, sDbl, stackTop, cx, scope); continue Loop; case Icode_ELEM_INC_DEC: { 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.elemIncrDecr(lhs, rhs, cx, scope, iCode[pc]); ++pc; continue Loop; } case Token.GET_REF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getReference(lhs); continue Loop; } case Token.SET_REF : { 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.setReference(lhs, rhs); continue Loop; } case Token.DEL_REF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.deleteReference(lhs); continue Loop; } case Icode_REF_INC_DEC : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.referenceIncrDecr(lhs, iCode[pc]); ++pc; continue Loop; } case Token.LOCAL_SAVE : stack[LOCAL_SHFT + indexReg] = stack[stackTop]; sDbl[LOCAL_SHFT + indexReg] = sDbl[stackTop]; --stackTop; continue Loop; case Token.LOCAL_LOAD : ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + indexReg]; sDbl[stackTop] = sDbl[LOCAL_SHFT + indexReg]; continue Loop; case Icode_NAME_AND_THIS : // stringReg: name ++stackTop; stack[stackTop] = ScriptRuntime.getNameFunctionAndThis(stringReg, cx, scope); ++stackTop; stack[stackTop] = ScriptRuntime.lastStoredScriptable(cx); continue Loop; case Icode_PROP_AND_THIS: { Object obj = stack[stackTop]; if (obj == DBL_MRK) obj = doubleWrap(sDbl[stackTop]); // stringReg: property stack[stackTop] = ScriptRuntime.getPropFunctionAndThis(obj, stringReg, cx, scope); ++stackTop; stack[stackTop] = ScriptRuntime.lastStoredScriptable(cx); continue Loop; } case Icode_ELEM_AND_THIS: { Object obj = stack[stackTop - 1]; if (obj == DBL_MRK) obj = doubleWrap(sDbl[stackTop - 1]); Object id = stack[stackTop]; if (id == DBL_MRK) id = doubleWrap(sDbl[stackTop]); stack[stackTop - 1] = ScriptRuntime.getElemFunctionAndThis(obj, id, cx, scope); stack[stackTop] = ScriptRuntime.lastStoredScriptable(cx); continue Loop; } case Icode_VALUE_AND_THIS : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getValueFunctionAndThis(value, cx); ++stackTop; stack[stackTop] = ScriptRuntime.lastStoredScriptable(cx); continue Loop; } case Icode_CALLSPECIAL : { if (instructionCounting) { cx.instructionCount += INVOCATION_COST; } // indexReg: number of arguments int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int sourceLine = getShort(iCode, pc + 2); stackTop -= indexReg; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, indexReg); if (isNew) { Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.newSpecial( cx, function, outArgs, scope, callType); } else { // Call code generation ensure that stack here // is ... Function Scriptable Scriptable functionThis = (Scriptable)stack[stackTop]; --stackTop; Function function = (Function)stack[stackTop]; stack[stackTop] = ScriptRuntime.callSpecial( cx, function, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); } pc += 4; continue Loop; } case Token.CALL : { if (instructionCounting) { cx.instructionCount += INVOCATION_COST; } // indexReg: number of arguments stackTop -= indexReg; int calleeArgShft = stackTop + 1; // CALL generation ensures that funThisObj and fun // are already Scriptable and Function objects respectively Scriptable funThisObj = (Scriptable)stack[stackTop]; --stackTop; Function fun = (Function)stack[stackTop]; Scriptable funScope = scope; if (idata.itsNeedsActivation) { funScope = ScriptableObject.getTopLevelScope(scope); } if (fun instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction ifun = (InterpretedFunction)fun; stack[stackTop] = interpret(cx, funScope, funThisObj, stack, sDbl, calleeArgShft, indexReg, ifun, ifun.itsData); } else { Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, indexReg); stack[stackTop] = fun.call(cx, funScope, funThisObj, outArgs); } continue Loop; } case Token.REF_CALL : { if (instructionCounting) { cx.instructionCount += INVOCATION_COST; } // indexReg: number of arguments stackTop -= indexReg; int calleeArgShft = stackTop + 1; // REF_CALL generation ensures that funThisObj and fun // are already Scriptable and Function objects respectively Scriptable funThisObj = (Scriptable)stack[stackTop]; --stackTop; Function fun = (Function)stack[stackTop]; Scriptable funScope = scope; if (idata.itsNeedsActivation) { funScope = ScriptableObject.getTopLevelScope(scope); } Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, indexReg); stack[stackTop] = ScriptRuntime.referenceCall(fun, funThisObj, outArgs, cx, funScope); continue Loop; } case Token.NEW : { if (instructionCounting) { cx.instructionCount += INVOCATION_COST; } // indexReg: number of arguments stackTop -= indexReg; 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, indexReg, 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, indexReg); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); throw notAFunction(lhs, idata, pc); } pc += 2; // skip debug name index 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 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[indexReg]; continue Loop; case Token.NAME : stack[++stackTop] = ScriptRuntime.name(cx, scope, stringReg); continue Loop; case Icode_NAME_INC_DEC : stack[++stackTop] = ScriptRuntime.nameIncrDecr(scope, stringReg, iCode[pc]); ++pc; continue Loop; case Icode_SETVAR1: indexReg = iCode[pc++]; // fallthrough case Token.SETVAR : if (!useActivationVars) { stack[indexReg] = stack[stackTop]; sDbl[indexReg] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, indexReg, val); } continue Loop; case Icode_GETVAR1: indexReg = iCode[pc++]; // fallthrough case Token.GETVAR : ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[indexReg]; sDbl[stackTop] = sDbl[indexReg]; } else { stack[stackTop] = activationGet(fnOrScript, scope, indexReg); } continue Loop; case Icode_VAR_INC_DEC : { // indexReg : varindex ++stackTop; int incrDecrMask = iCode[pc]; if (!useActivationVars) { stack[stackTop] = DBL_MRK; Object varValue = stack[indexReg]; double d; if (varValue == DBL_MRK) { d = sDbl[indexReg]; } else { d = ScriptRuntime.toNumber(varValue); stack[indexReg] = DBL_MRK; } double d2 = ((incrDecrMask & Node.DECR_FLAG) == 0) ? d + 1.0 : d - 1.0; sDbl[indexReg] = d2; sDbl[stackTop] = ((incrDecrMask & Node.POST_FLAG) == 0) ? d2 : d; } else { String varName = fnOrScript.argNames[indexReg]; stack[stackTop] = ScriptRuntime.nameIncrDecr(scope, varName, incrDecrMask); } ++pc; continue Loop; } case Icode_ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; continue Loop; case Icode_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 Icode_UNDEF : stack[++stackTop] = undefined; 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_KEYS : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + indexReg] = ScriptRuntime.enumInit(lhs, scope); continue Loop; } case Token.ENUM_INIT_VALUES : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + indexReg] = ScriptRuntime.enumValuesInit(lhs, scope); continue Loop; } case Token.ENUM_NEXT : case Token.ENUM_ID : { Object val = stack[LOCAL_SHFT + indexReg]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val, cx); continue Loop; } case Token.SPECIAL_REF : { //stringReg: name of special property Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.specialReference(lhs, stringReg, cx, scope); continue Loop; } case Token.XML_REF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.xmlReference(lhs, cx, scope); continue Loop; } case Token.GENERIC_REF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.genericReference(lhs, cx, scope); continue Loop; } case Icode_SCOPE : stack[++stackTop] = scope; continue Loop; case Icode_CLOSURE_EXPR : { InterpreterData closureData = idata.itsNestedFunctions[indexReg]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); continue Loop; } case Icode_CLOSURE_STMT : { InterpreterData closureData = idata.itsNestedFunctions[indexReg]; createFunction(cx, scope, closureData, idata.itsFromEvalCode); continue Loop; } case Token.REGEXP : { Scriptable regexp; if (idata.itsFunctionType != 0) { regexp = ((InterpretedFunction)fnOrScript).itsRegExps[indexReg]; } else { if (scriptRegExps == null) { scriptRegExps = wrapRegExps(cx, scope, idata); } regexp = scriptRegExps[indexReg]; } stack[++stackTop] = regexp; continue Loop; } case Icode_LITERAL_NEW : // indexReg: number of values in the literal ++stackTop; stack[stackTop] = new Object[indexReg]; sDbl[stackTop] = 0; 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 Icode_SPARE_ARRAYLIT : case Token.OBJECTLIT : { Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.OBJECTLIT) { Object[] ids = (Object[])idata.literalIds[indexReg]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, scope); } else { int[] skipIndexces = null; if (op == Icode_SPARE_ARRAYLIT) { skipIndexces = (int[])idata.literalIds[indexReg]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, scope); } stack[stackTop] = val; continue Loop; } case Icode_ENTERDQ : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterDotQuery(lhs, scope); ++withDepth; continue Loop; } case Icode_LEAVEDQ : { boolean valBln = stack_boolean(stack, sDbl, stackTop); Object x = ScriptRuntime.updateDotQuery(valBln, scope); if (x != null) { stack[stackTop] = x; scope = ScriptRuntime.leaveDotQuery(scope); --withDepth; pc += 2; continue Loop; } // reset stack and PC to code after ENTERDQ --stackTop; break jumplessRun; } case Token.DEFAULTNAMESPACE : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setDefaultNamespace(value, cx); continue Loop; } case Token.ESCXMLATTR : { Object value = stack[stackTop]; if (value != DBL_MRK) { stack[stackTop] = ScriptRuntime.escapeAttributeValue(value, cx); } continue Loop; } case Token.ESCXMLTEXT : { Object value = stack[stackTop]; if (value != DBL_MRK) { stack[stackTop] = ScriptRuntime.escapeTextValue(value, cx); } continue Loop; } case Token.TOATTRNAME : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.toAttributeName(value, cx); continue Loop; } case Token.DESCENDANTS : { Object value = stack[stackTop]; if(value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.toDescendantsName(value, cx); continue Loop; } case Token.COLONCOLON : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); // stringReg contains namespace stack[stackTop] = ScriptRuntime.toQualifiedName(stringReg, value, cx, scope); continue Loop; } case Icode_LINE : cx.interpreterLineIndex = pc; if (debuggerFrame != null) { int line = getShort(iCode, pc); debuggerFrame.onLineChange(cx, line); } pc += 2; continue Loop; case Icode_REG_IND_C0: indexReg = 0; continue Loop; case Icode_REG_IND_C1: indexReg = 1; continue Loop; case Icode_REG_IND_C2: indexReg = 2; continue Loop; case Icode_REG_IND_C3: indexReg = 3; continue Loop; case Icode_REG_IND_C4: indexReg = 4; continue Loop; case Icode_REG_IND_C5: indexReg = 5; continue Loop; case Icode_REG_IND1: indexReg = 0xFF & iCode[pc]; ++pc; continue Loop; case Icode_REG_IND2: indexReg = getIndex(iCode, pc); pc += 2; continue Loop; case Icode_REG_IND4: indexReg = getInt(iCode, pc); pc += 4; continue Loop; case Icode_REG_STR_C0: stringReg = strings[0]; continue Loop; case Icode_REG_STR_C1: stringReg = strings[1]; continue Loop; case Icode_REG_STR_C2: stringReg = strings[2]; continue Loop; case Icode_REG_STR_C3: stringReg = strings[3]; continue Loop; case Icode_REG_STR1: stringReg = strings[0xFF & iCode[pc]]; ++pc; continue Loop; case Icode_REG_STR2: stringReg = strings[getIndex(iCode, pc)]; pc += 2; continue Loop; case Icode_REG_STR4: stringReg = strings[getInt(iCode, pc)]; pc += 4; continue Loop; default : dumpICode(idata); throw new RuntimeException("Unknown icode : "+op+" @ pc : "+(pc-1));} // end of interpreter switch } // end of jumplessRun label block // This should be reachable only for jump implementation // when pc points to encoded target offset if (instructionCounting) { cx.addInstructionCount(pc + 2 - pcPrevBranch); } int offset = getShort(iCode, pc); if (offset != 0) { // -1 accounts for pc pointing to jump opcode + 1 pc += offset - 1; } else { pc = idata.longJumps.getExistingInt(pc); } pcPrevBranch = pc; continue Loop; } // end of interpreter try catch (Throwable ex) { if (instructionCounting) { // Can not call addInstructionCount as it may trigger // exception cx.instructionCount += pc - pcPrevBranch; } javaException = ex; exceptionPC = pc - 1; pc = getJavaCatchPC(iCode); 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.itsFunctionType != 0) { if (idata.itsNeedsActivation || debuggerFrame != null) { ScriptRuntime.exitActivationFunction(cx); } } else { ScriptRuntime.exitScript(cx); } if (javaException != null) { 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/5f71fe6973a37b77b4615a721450340c063c12ab/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
760,
921,
24713,
12,
1042,
71,
92,
16,
3651,
9237,
742,
1306,
16,
3651,
9237,
546,
291,
2675,
16,
921,
8526,
1968,
16,
9056,
8526,
1968,
40,
3083,
16,
474,
3175,
10544,
16,
474,
3175,
1380,
16,
9220,
2083,
4293,
1162,
3651,
16,
30010,
751,
350,
396,
13,
15069,
16634,
503,
95,
430,
12,
71,
92,
18,
2761,
11599,
4368,
3748,
5,
33,
350,
396,
18,
7462,
3748,
15329,
430,
12,
1968,
40,
3083,
5,
33,
2011,
15329,
1968,
33,
588,
2615,
1076,
12,
1968,
16,
1968,
40,
3083,
16,
3175,
10544,
16,
3175,
1380,
1769,
97,
4368,
13745,
71,
33,
350,
396,
18,
7462,
2933,
31,
4710,
8158,
3748,
33,
71,
92,
18,
2761,
11599,
4368,
3748,
31,
71,
92,
18,
2761,
11599,
4368,
3748,
33,
350,
396,
18,
7462,
3748,
31,
698,
95,
2463,
1017,
18,
1991,
1190,
3748,
12,
350,
396,
18,
7462,
3748,
16,
71,
92,
16,
4293,
1162,
3651,
16,
4887,
16,
2211,
2675,
16,
1968,
1769,
97,
23417,
95,
71,
92,
18,
2761,
11599,
4368,
3748,
33,
14077,
3748,
31,
9090,
6385,
921,
2290,
48,
67,
23464,
47,
33,
30010,
18,
2290,
48,
67,
23464,
47,
31,
6385,
3651,
429,
5978,
33,
10317,
18,
1336,
31,
6385,
474,
14922,
67,
2664,
4464,
33,
350,
396,
18,
1282,
2747,
5555,
31,
6385,
474,
21971,
67,
2664,
4464,
33,
14922,
67,
2664,
4464,
15,
350,
396,
18,
1282,
2747,
1333,
1031,
31,
759,
3772,
63,
20,
32,
33,
77,
32,
14922,
67,
2664,
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,
921,
24713,
12,
1042,
71,
92,
16,
3651,
9237,
742,
1306,
16,
3651,
9237,
546,
291,
2675,
16,
921,
8526,
1968,
16,
9056,
8526,
1968,
40,
3083,
16,
474,
3175,
10544,
16,
474,
3175,
1380,
16,
9220,
2083,
4293,
1162,
3651,
16,
30010,
751,
350,
396,
13,
15069,
16634,
503,
95,
430,
12,
71,
92,
18,
2761,
11599,
4368,
3748,
5,
33,
350,
396,
18,
7462,
3748,
15329,
430,
12,
1968,
40,
3083,
5,
33,
2011,
15329,
1968,
33,
588,
2615,
1076,
12,
1968,
16,
1968,
40,
3083,
16,
3175,
10544,
16,
3175,
1380,
1769,
97,
4368,
13745,
71,
33,
350,
396,
18,
7462,
2933,
31,
4710,
8158,
3748,
33,
71,
92,
18,
2761,
11599,
4368,
3748,
31,
2
] |
||
protected Paint createPaint(BridgeContext ctx, GraphicsNode paintedNode, Element paintedElement, Element paintElement){ // // Get unit processor to compute gradient control points // CSSStyleDeclaration cssDecl = ctx.getViewCSS().getComputedStyle(paintElement, null); UnitProcessor.Context uctx = new DefaultUnitProcessorContext(ctx, cssDecl); // parse the gradientUnits attribute, (default is 'objectBoundingBox') String units = paintElement.getAttributeNS(null, ATTR_GRADIENT_UNITS); if(units.length() == 0){ units = VALUE_OBJECT_BOUNDING_BOX; } // parse the cx attribute, (default is 50%) String cx = paintElement.getAttributeNS(null, ATTR_CX); if(cx.length() == 0){ cx = "50%"; } // parse the cy attribute, (default is 50%) String cy = paintElement.getAttributeNS(null, ATTR_CY); if(cy.length() == 0){ cy = "50%"; } // parse the r attribute, (default is 50%) String r = paintElement.getAttributeNS(null, ATTR_R); if(r.length() == 0){ r = "50%"; } // parse the fx attribute, (default is same as cx) String fx = paintElement.getAttributeNS(null, ATTR_FX); if(fx.length() == 0){ fx = cx; } // parse the fy attribute, (default is same as cy) String fy = paintElement.getAttributeNS(null, ATTR_FY); if(fy.length() == 0){ fy = cy; } SVGElement svgPaintedElement = (SVGElement) paintedElement; Point2D c = SVGUtilities.convertPoint(svgPaintedElement, cx, cy, units, paintedNode, uctx); Point2D f = SVGUtilities.convertPoint(svgPaintedElement, fx, fy, units, paintedNode, uctx); float radius = SVGUtilities.convertLength((SVGElement)paintedElement, r, units, paintedNode, uctx); // parse the 'spreadMethod' attribute, (default is PAD) String spreadMethod = paintElement.getAttributeNS(null, ATTR_SPREAD_METHOD); if (spreadMethod.length() == 0) { spreadMethod = VALUE_PAD; } RadialGradientPaint.CycleMethodEnum cycleMethod = convertSpreadMethod(spreadMethod); // // Extract gradient transform // AffineTransform at = AWTTransformProducer.createAffineTransform (new StringReader(paintElement.getAttributeNS(null, ATTR_GRADIENT_TRANSFORM)), ctx.getParserFactory()); at = SVGUtilities.convertAffineTransform(at, paintedNode, units); // // Extract stop colors and intervals // Vector stopVector = extractGradientStops(paintElement, ctx); // if no stop, fill is 'none' if (stopVector.size() == 0) { return null; } // if one stop, the fill is just one color if (stopVector.size() == 1) { return ((GradientStop) stopVector.get(0)).stopColor; } // // Convert the stop offsets to intervals // int nStops = stopVector.size(); float curOffset = 0; if (nStops > 0) { GradientStop stop = (GradientStop)stopVector.elementAt(0); curOffset = stop.offset; } for (int i=1; i<nStops; i++) { GradientStop stop = (GradientStop)stopVector.elementAt(i); if(stop.offset < curOffset){ stop.offset = curOffset; } curOffset = stop.offset; } // // Extract the color interpolation property // CSSPrimitiveValue colorInterpolation = (CSSPrimitiveValue) cssDecl.getPropertyCSSValue(COLOR_INTERPOLATION_PROPERTY); RadialGradientPaint.ColorSpaceEnum colorSpace = RadialGradientPaint.SRGB; if(LINEAR_RGB.equals(colorInterpolation.getStringValue())){ colorSpace = RadialGradientPaint.LINEAR_RGB; } // // Build Paint // Paint paint = null; if (nStops > 0) { Color colors[] = new Color[nStops]; float offsets[] = new float[nStops]; for(int i=0; i<nStops; i++){ GradientStop stop = (GradientStop)stopVector.elementAt(i); colors[i] = stop.stopColor; offsets[i] = stop.offset; // System.out.println("offset[" + i + "] = " + offsets[i]); // System.out.println("colors[" + i + "] = " + // Integer.toHexString(colors[i].getRGB())); } paint = new RadialGradientPaint(c, radius, f, offsets, colors, cycleMethod, RadialGradientPaint.SRGB, at); } return paint; }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/94eb1826d4d8a3c54ea7f79fdb50ab133be0dc95/SVGRadialGradientBridge.java/clean/sources/org/apache/batik/refimpl/bridge/SVGRadialGradientBridge.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
12699,
2640,
12699,
12,
13691,
1042,
5900,
16,
17558,
907,
84,
1598,
329,
907,
16,
1046,
84,
1598,
329,
1046,
16,
1046,
84,
1598,
1046,
15329,
1307,
967,
4873,
2567,
499,
9970,
458,
1332,
12573,
7098,
4139,
759,
10276,
2885,
6094,
5212,
3456,
33,
5900,
18,
588,
1767,
10276,
7675,
588,
17934,
2885,
12,
84,
1598,
1046,
16,
2011,
1769,
2802,
5164,
18,
1042,
853,
92,
33,
2704,
1868,
2802,
5164,
1042,
12,
5900,
16,
5212,
3456,
1769,
759,
1065,
542,
580,
20219,
7537,
4589,
16,
12,
1886,
291,
11,
1612,
19020,
6134,
780,
7705,
33,
84,
1598,
1046,
18,
588,
1499,
3156,
12,
2011,
16,
12043,
67,
6997,
17708,
2222,
67,
24325,
1769,
430,
12,
7705,
18,
2469,
1435,
631,
20,
15329,
7705,
33,
4051,
67,
9422,
67,
19318,
1360,
67,
16876,
31,
97,
759,
1065,
542,
76,
557,
92,
4589,
16,
12,
1886,
291,
3361,
9,
13,
780,
71,
92,
33,
84,
1598,
1046,
18,
588,
1499,
3156,
12,
2011,
16,
12043,
67,
39,
60,
1769,
430,
12,
71,
92,
18,
2469,
1435,
631,
20,
15329,
71,
92,
1546,
3361,
9,
14432,
97,
759,
1065,
542,
76,
557,
93,
4589,
16,
12,
1886,
291,
3361,
9,
13,
780,
2431,
33,
84,
1598,
1046,
18,
588,
1499,
3156,
12,
2011,
16,
12043,
67,
16068,
1769,
430,
12,
2431,
18,
2469,
1435,
631,
20,
15329,
2431,
1546,
3361,
9,
14432,
97,
759,
1065,
542,
1614,
4589,
16,
12,
1886,
291,
3361,
9,
13,
780,
86,
33,
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,
12699,
2640,
12699,
12,
13691,
1042,
5900,
16,
17558,
907,
84,
1598,
329,
907,
16,
1046,
84,
1598,
329,
1046,
16,
1046,
84,
1598,
1046,
15329,
1307,
967,
4873,
2567,
499,
9970,
458,
1332,
12573,
7098,
4139,
759,
10276,
2885,
6094,
5212,
3456,
33,
5900,
18,
588,
1767,
10276,
7675,
588,
17934,
2885,
12,
84,
1598,
1046,
16,
2011,
1769,
2802,
5164,
18,
1042,
853,
92,
33,
2704,
1868,
2802,
5164,
1042,
12,
5900,
16,
5212,
3456,
1769,
759,
1065,
542,
580,
20219,
7537,
4589,
16,
12,
1886,
291,
11,
1612,
19020,
6134,
780,
7705,
33,
84,
1598,
1046,
18,
588,
1499,
3156,
12,
2011,
16,
12043,
67,
6997,
17708,
2222,
67,
24325,
1769,
430,
12,
7705,
18,
2
] |
||
if (size.x != oldSize.x) x1 -= 10;
|
if (size.x != oldSize.x) { x1 -= 10; }
|
private void onResize() { if (items.length == 0) { redraw(); return; } if (setItemBounds()) { redrawTabArea(-1); } Point size = getSize(); if (oldSize == null) { redraw(); } else { if (onBottom && size.y != oldSize.y) { redraw(); } else { int x1 = Math.min(size.x, oldSize.x); if (size.x != oldSize.x) x1 -= 10; int y1 = Math.min(size.y, oldSize.y); if (size.y != oldSize.y) y1 -= 10; int x2 = Math.max(size.x, oldSize.x); int y2 = Math.max(size.y, oldSize.y); redraw(0, y1, x2 + 10, y2 - y1, false); redraw(x1, 0, x2 - x1, y2, false); } } oldSize = size; // resize content if (selectedIndex != -1) { Control control = items[selectedIndex].getControl(); if (control != null && !control.isDisposed()) { control.setBounds(getClientArea()); } } }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/3a23c3b9bac4db696a0452560047155775a707b7/CTabFolder.java/buggy/bundles/org.eclipse.ui.presentations.r21/src/org/eclipse/ui/internal/presentations/r21/widgets/CTabFolder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
603,
12182,
1435,
288,
3639,
309,
261,
3319,
18,
2469,
422,
374,
13,
288,
5411,
16540,
5621,
5411,
327,
31,
3639,
289,
3639,
309,
261,
542,
1180,
5694,
10756,
288,
5411,
16540,
5661,
5484,
19236,
21,
1769,
3639,
289,
3639,
4686,
963,
273,
9950,
5621,
3639,
309,
261,
1673,
1225,
422,
446,
13,
288,
5411,
16540,
5621,
3639,
289,
469,
288,
5411,
309,
261,
265,
10393,
597,
963,
18,
93,
480,
1592,
1225,
18,
93,
13,
288,
7734,
16540,
5621,
5411,
289,
469,
288,
7734,
509,
619,
21,
273,
2361,
18,
1154,
12,
1467,
18,
92,
16,
1592,
1225,
18,
92,
1769,
7734,
309,
261,
1467,
18,
92,
480,
1592,
1225,
18,
92,
13,
10792,
619,
21,
3947,
1728,
31,
7734,
509,
677,
21,
273,
2361,
18,
1154,
12,
1467,
18,
93,
16,
1592,
1225,
18,
93,
1769,
7734,
309,
261,
1467,
18,
93,
480,
1592,
1225,
18,
93,
13,
10792,
677,
21,
3947,
1728,
31,
7734,
509,
619,
22,
273,
2361,
18,
1896,
12,
1467,
18,
92,
16,
1592,
1225,
18,
92,
1769,
7734,
509,
677,
22,
273,
2361,
18,
1896,
12,
1467,
18,
93,
16,
1592,
1225,
18,
93,
1769,
7734,
16540,
12,
20,
16,
677,
21,
16,
619,
22,
397,
1728,
16,
677,
22,
300,
677,
21,
16,
629,
1769,
7734,
16540,
12,
92,
21,
16,
374,
16,
619,
22,
300,
619,
21,
16,
677,
22,
16,
629,
1769,
5411,
289,
3639,
289,
3639,
1592,
1225,
273,
963,
31,
3639,
368,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
603,
12182,
1435,
288,
3639,
309,
261,
3319,
18,
2469,
422,
374,
13,
288,
5411,
16540,
5621,
5411,
327,
31,
3639,
289,
3639,
309,
261,
542,
1180,
5694,
10756,
288,
5411,
16540,
5661,
5484,
19236,
21,
1769,
3639,
289,
3639,
4686,
963,
273,
9950,
5621,
3639,
309,
261,
1673,
1225,
422,
446,
13,
288,
5411,
16540,
5621,
3639,
289,
469,
288,
5411,
309,
261,
265,
10393,
597,
963,
18,
93,
480,
1592,
1225,
18,
93,
13,
288,
7734,
16540,
5621,
5411,
289,
469,
288,
7734,
509,
619,
21,
273,
2361,
18,
1154,
12,
1467,
18,
92,
16,
1592,
1225,
18,
92,
1769,
7734,
309,
261,
1467,
18,
92,
480,
1592,
1225,
18,
92,
13,
10792,
619,
2
] |
String pong = _expectedPong; _expectedPong = null;
|
String pong = expectedPong.length() > 0 ? expectedPong.toString() : null; expectedPong.setLength(0);
|
public String inboundFilter(String s) { String field[]=s.split(" ",4); String command; int idx=0; final String[] allowedCommands = { "NOTICE", //"PING", //"PONG", "MODE", "JOIN", "NICK", "QUIT", "PART", "WALLOPS", "ERROR", "TOPIC" }; if(field[0].charAt(0)==':') idx++; try { command = field[idx++]; } catch (IndexOutOfBoundsException ioobe) // wtf, server sent borked command? { _log.warn("Dropping defective message: index out of bounds while extracting command."); return null; } idx++; //skip victim // Allow numerical responses try { new Integer(command); return s; } catch(NumberFormatException nfe){} if ("PING".equals(command)) return "PING 127.0.0.1"; // no way to know what the ircd to i2ptunnel server con is, so localhost works if ("PONG".equals(command)) { // Turn the received ":irc.freshcoffee.i2p PONG irc.freshcoffee.i2p :127.0.0.1" // into ":127.0.0.1 PONG 127.0.0.1 " so that the caller can append the client's extra parameter // though, does 127.0.0.1 work for irc clients connecting remotely? and for all of them? sure would // be great if irc clients actually followed the RFCs here, but i guess thats too much to ask. // If we haven't PINGed them, or the PING we sent isn't something we know how to filter, this // is null. String pong = _expectedPong; _expectedPong = null; return pong; } // Allow all allowedCommands for(int i=0;i<allowedCommands.length;i++) { if(allowedCommands[i].equals(command)) return s; } // Allow PRIVMSG, but block CTCP. if("PRIVMSG".equals(command)) { String msg; msg = field[idx++]; byte[] bytes = msg.getBytes(); if(bytes[1]==0x01) { // CTCP msg=msg.substring(2); if(msg.startsWith("ACTION ")) { // /me says hello return s; } return null; // Block all other ctcp } return s; } // Block the rest return null; }
|
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/0a3281c27935e252e27f5fa1562d69a53636d868/I2PTunnelIRCClient.java/clean/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelIRCClient.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
13357,
1586,
12,
780,
272,
13,
288,
7734,
514,
652,
8526,
33,
87,
18,
4939,
2932,
3104,
24,
1769,
3639,
514,
1296,
31,
3639,
509,
2067,
33,
20,
31,
3639,
727,
514,
8526,
2935,
9127,
273,
3639,
288,
7734,
315,
20559,
3113,
7734,
368,
6,
20002,
3113,
7734,
368,
6,
52,
7390,
3113,
7734,
315,
7038,
3113,
7734,
315,
18800,
3113,
7734,
315,
50,
16656,
3113,
7734,
315,
3500,
1285,
3113,
7734,
315,
15055,
3113,
7734,
315,
59,
1013,
1502,
5857,
3113,
7734,
315,
3589,
3113,
7734,
315,
4296,
20385,
6,
3639,
289,
31,
7734,
309,
12,
1518,
63,
20,
8009,
3001,
861,
12,
20,
13,
18920,
2497,
13,
5411,
2067,
9904,
31,
3639,
775,
288,
1296,
273,
652,
63,
3465,
9904,
15533,
289,
540,
1044,
261,
30548,
2527,
947,
73,
13,
368,
341,
6632,
16,
1438,
3271,
324,
778,
329,
1296,
35,
3639,
288,
6647,
389,
1330,
18,
8935,
2932,
7544,
1382,
26640,
688,
883,
30,
770,
596,
434,
4972,
1323,
27117,
1296,
1199,
1769,
6647,
327,
446,
31,
3639,
289,
3639,
2067,
9904,
31,
368,
7457,
28873,
381,
3639,
368,
7852,
17409,
7220,
3639,
775,
288,
5411,
394,
2144,
12,
3076,
1769,
5411,
327,
272,
31,
3639,
289,
1044,
12,
1854,
9291,
25386,
13,
2916,
540,
202,
430,
7566,
20002,
9654,
14963,
12,
3076,
3719,
5411,
327,
315,
20002,
12331,
18,
20,
18,
20,
18,
21,
14432,
368,
1158,
4031,
358,
5055,
4121,
326,
277,
1310,
72,
358,
277,
22,
337,
8564,
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,
13357,
1586,
12,
780,
272,
13,
288,
7734,
514,
652,
8526,
33,
87,
18,
4939,
2932,
3104,
24,
1769,
3639,
514,
1296,
31,
3639,
509,
2067,
33,
20,
31,
3639,
727,
514,
8526,
2935,
9127,
273,
3639,
288,
7734,
315,
20559,
3113,
7734,
368,
6,
20002,
3113,
7734,
368,
6,
52,
7390,
3113,
7734,
315,
7038,
3113,
7734,
315,
18800,
3113,
7734,
315,
50,
16656,
3113,
7734,
315,
3500,
1285,
3113,
7734,
315,
15055,
3113,
7734,
315,
59,
1013,
1502,
5857,
3113,
7734,
315,
3589,
3113,
7734,
315,
4296,
20385,
6,
3639,
289,
31,
7734,
309,
12,
1518,
63,
20,
8009,
3001,
861,
12,
20,
13,
18920,
2497,
13,
5411,
2067,
9904,
31,
3639,
775,
288,
2
] |
while(sender != null && sender.equals(Thread.currentThread())) {
|
while(senderThread != null && senderThread.equals(Thread.currentThread())) {
|
public void run() { Message msg; while(sender != null && sender.equals(Thread.currentThread())) { try { msg=(Message)send_queue.poll(POLL_TIMEOUT); if(msg == null) break; _send(msg); } catch(InterruptedException e) { break; } } running=false; if(log.isTraceEnabled()) log.trace("ConnectionTable.Connection.Sender thread terminated"); }
|
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/ce5c434df3b6ae12c7aff33805eb4a6d90d425d1/ConnectionTable.java/buggy/src/org/jgroups/blocks/ConnectionTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1086,
1435,
288,
7734,
2350,
1234,
31,
7734,
1323,
12,
15330,
3830,
480,
446,
597,
5793,
3830,
18,
14963,
12,
3830,
18,
2972,
3830,
1435,
3719,
288,
10792,
775,
288,
13491,
1234,
28657,
1079,
13,
4661,
67,
4000,
18,
13835,
12,
14232,
48,
67,
9503,
1769,
13491,
309,
12,
3576,
422,
446,
13,
18701,
898,
31,
13491,
389,
4661,
12,
3576,
1769,
10792,
289,
10792,
1044,
12,
24485,
503,
425,
13,
288,
13491,
898,
31,
10792,
289,
7734,
289,
7734,
3549,
33,
5743,
31,
7734,
309,
12,
1330,
18,
291,
3448,
1526,
10756,
10792,
613,
18,
5129,
2932,
1952,
1388,
18,
1952,
18,
12021,
2650,
14127,
8863,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1086,
1435,
288,
7734,
2350,
1234,
31,
7734,
1323,
12,
15330,
3830,
480,
446,
597,
5793,
3830,
18,
14963,
12,
3830,
18,
2972,
3830,
1435,
3719,
288,
10792,
775,
288,
13491,
1234,
28657,
1079,
13,
4661,
67,
4000,
18,
13835,
12,
14232,
48,
67,
9503,
1769,
13491,
309,
12,
3576,
422,
446,
13,
18701,
898,
31,
13491,
389,
4661,
12,
3576,
1769,
10792,
289,
10792,
1044,
12,
24485,
503,
425,
13,
288,
13491,
898,
31,
10792,
289,
7734,
289,
7734,
3549,
33,
5743,
31,
7734,
309,
12,
1330,
18,
291,
3448,
1526,
10756,
10792,
613,
18,
5129,
2932,
1952,
1388,
18,
1952,
18,
12021,
2650,
14127,
8863,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public static boolean rescheduleIfModalShellOpen(Job openJob, ProgressMonitorJobsDialog jobsDialog) {
|
public static boolean rescheduleIfModalShellOpen(Job openJob) {
|
public static boolean rescheduleIfModalShellOpen(Job openJob, ProgressMonitorJobsDialog jobsDialog) { Shell modal = getModalShell(); if (modal == null) { openJob.setProperty(OPEN_SHELLS_PROPERTY, null); return false; } //If ticks are going on don't block. if (jobsDialog != null) { if (jobsDialog.isAlreadyClosed())//Just abort if it is closed return true; //Make sure nothing new got opened. int currentShellCount = getModalShellCount(); boolean noNewShells = true; Object lastShells = openJob.getProperty(OPEN_SHELLS_PROPERTY); if (lastShells == null) setShellCount(openJob, currentShellCount); else { int oldShells = ((Integer) lastShells).intValue(); if (oldShells < currentShellCount) noNewShells = false; } if (noNewShells && jobsDialog.isTicking()){//open if it is still alive openJob.setProperty(OPEN_SHELLS_PROPERTY, null); return false; } } //try again in a few seconds openJob.schedule(PlatformUI.getWorkbench().getProgressService() .getLongOperationTime()); return true; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/9808c52b6d9945cd640da103406a73d590e3cd26/ProgressManagerUtil.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManagerUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
400,
2847,
2047,
20191,
13220,
3678,
12,
2278,
1696,
2278,
16,
1082,
202,
5491,
7187,
7276,
6353,
6550,
6353,
13,
288,
202,
202,
13220,
13010,
273,
336,
20191,
13220,
5621,
202,
202,
430,
261,
17638,
422,
446,
13,
288,
1082,
202,
3190,
2278,
18,
542,
1396,
12,
11437,
67,
2664,
2247,
3045,
67,
9900,
16,
446,
1769,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
759,
2047,
13003,
854,
8554,
603,
2727,
1404,
1203,
18,
202,
202,
430,
261,
10088,
6353,
480,
446,
13,
288,
1082,
202,
430,
261,
10088,
6353,
18,
291,
9430,
7395,
10756,
759,
19642,
6263,
309,
518,
353,
4375,
9506,
202,
2463,
638,
31,
1082,
202,
759,
6464,
3071,
5083,
394,
2363,
10191,
18,
1082,
202,
474,
783,
13220,
1380,
273,
336,
20191,
13220,
1380,
5621,
1082,
202,
6494,
1158,
1908,
13220,
87,
273,
638,
31,
1082,
202,
921,
1142,
13220,
87,
273,
1696,
2278,
18,
588,
1396,
12,
11437,
67,
2664,
2247,
3045,
67,
9900,
1769,
1082,
202,
430,
261,
2722,
13220,
87,
422,
446,
13,
9506,
202,
542,
13220,
1380,
12,
3190,
2278,
16,
783,
13220,
1380,
1769,
1082,
202,
12107,
288,
9506,
202,
474,
1592,
13220,
87,
273,
14015,
4522,
13,
1142,
13220,
87,
2934,
474,
620,
5621,
9506,
202,
430,
261,
1673,
13220,
87,
411,
783,
13220,
1380,
13,
6862,
202,
2135,
1908,
13220,
87,
273,
629,
31,
1082,
202,
97,
1082,
202,
430,
261,
2135,
1908,
13220,
87,
597,
6550,
6353,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
400,
2847,
2047,
20191,
13220,
3678,
12,
2278,
1696,
2278,
16,
1082,
202,
5491,
7187,
7276,
6353,
6550,
6353,
13,
288,
202,
202,
13220,
13010,
273,
336,
20191,
13220,
5621,
202,
202,
430,
261,
17638,
422,
446,
13,
288,
1082,
202,
3190,
2278,
18,
542,
1396,
12,
11437,
67,
2664,
2247,
3045,
67,
9900,
16,
446,
1769,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
759,
2047,
13003,
854,
8554,
603,
2727,
1404,
1203,
18,
202,
202,
430,
261,
10088,
6353,
480,
446,
13,
288,
1082,
202,
430,
261,
10088,
6353,
18,
291,
9430,
7395,
10756,
759,
19642,
6263,
309,
518,
353,
4375,
9506,
202,
2463,
638,
31,
1082,
202,
759,
6464,
2
] |
public RemoteFilter[] getSavedFilters(String token) throws Exception
|
public RemoteFilter[] getSavedFilters(String token) throws RemotePermissionException, RemoteAuthenticationException, RemoteException
|
public RemoteFilter[] getSavedFilters(String token) throws Exception { User user = tokenManager.retrieveUser(token); return userService.getSavedFilters(user); }
|
21772 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/21772/132d9627f1f8497f4da3caa15423dd40959882ff/JiraSoapServiceImpl.java/buggy/src/java/com/atlassian/jira/rpc/soap/JiraSoapServiceImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6304,
1586,
8526,
1322,
8158,
5422,
12,
780,
1147,
13,
1216,
6304,
5041,
503,
16,
6304,
6492,
503,
16,
18361,
565,
288,
3639,
2177,
729,
273,
1147,
1318,
18,
17466,
1299,
12,
2316,
1769,
3639,
327,
27625,
18,
588,
16776,
5422,
12,
1355,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6304,
1586,
8526,
1322,
8158,
5422,
12,
780,
1147,
13,
1216,
6304,
5041,
503,
16,
6304,
6492,
503,
16,
18361,
565,
288,
3639,
2177,
729,
273,
1147,
1318,
18,
17466,
1299,
12,
2316,
1769,
3639,
327,
27625,
18,
588,
16776,
5422,
12,
1355,
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
] |
OpenNMSPrincipal principal = (OpenNMSPrincipal) this.principals.get(username);
|
OpenNMSPrincipal principal = (OpenNMSPrincipal) m_principals.get(username);
|
public synchronized Principal authenticate(String username, String credentials) { if (username == null || credentials == null) { //throw new IllegalArgumentException( "Cannot take null parameters." ); return null; } //check everytime to see if the users.xml file has changed if (this.isParseNecessary()) { this.parse(); } OpenNMSPrincipal principal = (OpenNMSPrincipal) this.principals.get(username); if (principal != null && !principal.comparePasswords(credentials)) { principal = null; //this.log.info("Wrong password for " + username); } if (principal == null) { //this.log.info("Could not authenticate " + username); } else { //this.log.info("Authenticated " + username); } return (principal); }
|
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/73011c968f8c5392428cdb423188e5bc8a628dc6/OpenNMSTomcatRealm.java/buggy/opennms-tomcat/src/main/java/org/opennms/web/authenticate/OpenNMSTomcatRealm.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
17010,
8929,
12,
780,
2718,
16,
514,
4448,
13,
288,
3639,
309,
261,
5053,
422,
446,
747,
4448,
422,
446,
13,
288,
5411,
368,
12849,
394,
2754,
12,
315,
4515,
4862,
446,
1472,
1199,
11272,
5411,
327,
446,
31,
3639,
289,
3639,
368,
1893,
3614,
957,
358,
2621,
309,
326,
3677,
18,
2902,
585,
711,
3550,
3639,
309,
261,
2211,
18,
291,
3201,
23961,
10756,
288,
5411,
333,
18,
2670,
5621,
3639,
289,
3639,
3502,
50,
3537,
9155,
8897,
273,
261,
3678,
50,
3537,
9155,
13,
312,
67,
683,
14997,
18,
588,
12,
5053,
1769,
3639,
309,
261,
26138,
480,
446,
597,
401,
26138,
18,
9877,
3913,
87,
12,
11687,
3719,
288,
5411,
8897,
273,
446,
31,
5411,
368,
2211,
18,
1330,
18,
1376,
2932,
13634,
2201,
364,
315,
397,
2718,
1769,
3639,
289,
3639,
309,
261,
26138,
422,
446,
13,
288,
5411,
368,
2211,
18,
1330,
18,
1376,
2932,
4445,
486,
8929,
315,
397,
2718,
1769,
3639,
289,
469,
288,
5411,
368,
2211,
18,
1330,
18,
1376,
2932,
15606,
315,
397,
2718,
1769,
3639,
289,
3639,
327,
261,
26138,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
17010,
8929,
12,
780,
2718,
16,
514,
4448,
13,
288,
3639,
309,
261,
5053,
422,
446,
747,
4448,
422,
446,
13,
288,
5411,
368,
12849,
394,
2754,
12,
315,
4515,
4862,
446,
1472,
1199,
11272,
5411,
327,
446,
31,
3639,
289,
3639,
368,
1893,
3614,
957,
358,
2621,
309,
326,
3677,
18,
2902,
585,
711,
3550,
3639,
309,
261,
2211,
18,
291,
3201,
23961,
10756,
288,
5411,
333,
18,
2670,
5621,
3639,
289,
3639,
3502,
50,
3537,
9155,
8897,
273,
261,
3678,
50,
3537,
9155,
13,
312,
67,
683,
14997,
18,
588,
12,
5053,
1769,
3639,
309,
261,
26138,
480,
446,
597,
401,
26138,
18,
9877,
3913,
87,
12,
11687,
3719,
288,
5411,
8897,
273,
446,
2
] |
AssociationRequest dummyRequest = new AssociationRequest(
|
AssociationRequest dummyRequest = AssociationRequest.createAssociationRequest(
|
public Message associationResponse(ParameterList requestParams) { boolean isVersion2 = true; try { // build request message from response params (+ integrity check) AssociationRequest assocReq = new AssociationRequest(requestParams); isVersion2 = assocReq.isVersion2(); AssociationSessionType type = assocReq.getType(); // is supported / allowed ? if (! Association.isHmacSupported(type.getAssociationType()) || ! DiffieHellmanSession.isDhSupported(type) || _minAssocSessEnc.isBetter(type)) { throw new AssociationException("Unable create association for: " + type.getSessionType() + " / " + type.getAssociationType() ); } else // all ok, go ahead { Association assoc = _sharedAssociations.generate( type.getAssociationType(), _expireIn); return new AssociationResponse(assocReq, assoc); } } catch (OpenIDException e) { // association failed, respond accordingly if (isVersion2) { return new AssociationError(e.getMessage(), _prefAssocSessEnc); } else { try { // generate dummy association & no-encryption response // for compatibility mode Association dummyAssoc = _sharedAssociations.generate( Association.TYPE_HMAC_SHA1, 0); AssociationRequest dummyRequest = new AssociationRequest( AssociationSessionType.NO_ENCRYPTION_COMPAT_SHA1MAC); return new AssociationResponse(dummyRequest, dummyAssoc); } catch (OpenIDException ee) { // todo: log error: canot send any association response return null; } } } }
|
53170 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53170/039a03d7f0655e85bd0927b5df9bf1d8ca038941/ServerManager.java/buggy/src/net/openid/server/ServerManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2350,
6384,
1064,
12,
1662,
682,
14051,
13,
565,
288,
3639,
1250,
353,
1444,
22,
273,
638,
31,
3639,
775,
3639,
288,
5411,
368,
1361,
590,
883,
628,
766,
859,
261,
15,
24425,
866,
13,
5411,
18400,
691,
7191,
6113,
273,
394,
18400,
691,
12,
2293,
1370,
1769,
5411,
353,
1444,
22,
273,
7191,
6113,
18,
291,
1444,
22,
5621,
5411,
18400,
2157,
559,
618,
273,
7191,
6113,
18,
588,
559,
5621,
5411,
368,
353,
3260,
342,
2935,
692,
5411,
309,
16051,
18400,
18,
291,
30133,
7223,
12,
723,
18,
588,
7174,
559,
10756,
747,
10792,
401,
13008,
1385,
44,
1165,
4728,
2157,
18,
291,
40,
76,
7223,
12,
723,
13,
747,
10792,
389,
1154,
16974,
55,
403,
4280,
18,
291,
38,
11214,
12,
723,
3719,
5411,
288,
7734,
604,
394,
18400,
503,
2932,
3370,
752,
6384,
364,
30,
315,
13491,
397,
618,
18,
588,
2157,
559,
1435,
397,
315,
342,
315,
13491,
397,
618,
18,
588,
7174,
559,
1435,
11272,
5411,
289,
5411,
469,
368,
777,
1529,
16,
1960,
17510,
5411,
288,
7734,
18400,
7191,
273,
389,
11574,
15143,
18,
7163,
12,
13491,
618,
18,
588,
7174,
559,
9334,
389,
14070,
382,
1769,
7734,
327,
394,
18400,
1064,
12,
14578,
6113,
16,
7191,
1769,
5411,
289,
3639,
289,
3639,
1044,
261,
22414,
503,
425,
13,
3639,
288,
5411,
368,
6384,
2535,
16,
6846,
15905,
5411,
309,
261,
291,
1444,
22,
13,
5411,
288,
7734,
327,
394,
18400,
668,
12,
73,
18,
24906,
9334,
389,
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,
2350,
6384,
1064,
12,
1662,
682,
14051,
13,
565,
288,
3639,
1250,
353,
1444,
22,
273,
638,
31,
3639,
775,
3639,
288,
5411,
368,
1361,
590,
883,
628,
766,
859,
261,
15,
24425,
866,
13,
5411,
18400,
691,
7191,
6113,
273,
394,
18400,
691,
12,
2293,
1370,
1769,
5411,
353,
1444,
22,
273,
7191,
6113,
18,
291,
1444,
22,
5621,
5411,
18400,
2157,
559,
618,
273,
7191,
6113,
18,
588,
559,
5621,
5411,
368,
353,
3260,
342,
2935,
692,
5411,
309,
16051,
18400,
18,
291,
30133,
7223,
12,
723,
18,
588,
7174,
559,
10756,
747,
10792,
401,
13008,
1385,
44,
1165,
4728,
2157,
18,
291,
40,
76,
7223,
12,
723,
13,
747,
10792,
389,
1154,
16974,
55,
2
] |
jj_la1[24] = jj_gen;
|
jj_la1[25] = jj_gen;
|
final public Object Conditional() throws ParseException { Object e; jj_consume_token(LPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; default: jj_la1[23] = jj_gen; ; } e = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; default: jj_la1[24] = jj_gen; ; } jj_consume_token(RPAREN); {if (true) return e;} throw new Error("Missing return statement in function"); }
|
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/380cf71624b51f570339abaad8b44c15f6b31844/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
1033,
22466,
1435,
1216,
10616,
288,
225,
1033,
425,
31,
565,
10684,
67,
21224,
67,
2316,
12,
48,
15111,
1769,
565,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
565,
648,
7649,
30,
1377,
10684,
67,
21224,
67,
2316,
12,
2651,
1769,
1377,
898,
31,
565,
805,
30,
1377,
10684,
67,
11821,
21,
63,
4366,
65,
273,
10684,
67,
4507,
31,
1377,
274,
565,
289,
565,
425,
273,
5371,
5621,
565,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
565,
648,
7649,
30,
1377,
10684,
67,
21224,
67,
2316,
12,
2651,
1769,
1377,
898,
31,
565,
805,
30,
1377,
10684,
67,
11821,
21,
63,
2947,
65,
273,
10684,
67,
4507,
31,
1377,
274,
565,
289,
565,
10684,
67,
21224,
67,
2316,
12,
54,
15111,
1769,
4766,
15604,
288,
430,
261,
3767,
13,
327,
425,
31,
97,
565,
604,
394,
1068,
2932,
4841,
327,
3021,
316,
445,
8863,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
1033,
22466,
1435,
1216,
10616,
288,
225,
1033,
425,
31,
565,
10684,
67,
21224,
67,
2316,
12,
48,
15111,
1769,
565,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
565,
648,
7649,
30,
1377,
10684,
67,
21224,
67,
2316,
12,
2651,
1769,
1377,
898,
31,
565,
805,
30,
1377,
10684,
67,
11821,
21,
63,
4366,
65,
273,
10684,
67,
4507,
31,
1377,
274,
565,
289,
565,
425,
273,
5371,
5621,
565,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
565,
648,
7649,
30,
1377,
2
] |
setMinSize((Size)null);
|
setMinSize((Size) null);
|
public void eUnset(EStructuralFeature eFeature) { switch (eDerivedStructuralFeatureID(eFeature)) { case LayoutPackage.BLOCK__CHILDREN: getChildren().clear(); return; case LayoutPackage.BLOCK__BOUNDS: setBounds((Bounds)null); return; case LayoutPackage.BLOCK__ANCHOR: unsetAnchor(); return; case LayoutPackage.BLOCK__STRETCH: unsetStretch(); return; case LayoutPackage.BLOCK__INSETS: setInsets((Insets)null); return; case LayoutPackage.BLOCK__ROW: unsetRow(); return; case LayoutPackage.BLOCK__COLUMN: unsetColumn(); return; case LayoutPackage.BLOCK__ROWSPAN: unsetRowspan(); return; case LayoutPackage.BLOCK__COLUMNSPAN: unsetColumnspan(); return; case LayoutPackage.BLOCK__MIN_SIZE: setMinSize((Size)null); return; case LayoutPackage.BLOCK__OUTLINE: setOutline((LineAttributes)null); return; case LayoutPackage.BLOCK__BACKGROUND: setBackground((Fill)null); return; case LayoutPackage.BLOCK__VISIBLE: unsetVisible(); return; case LayoutPackage.BLOCK__TRIGGERS: getTriggers().clear(); return; } eDynamicUnset(eFeature); }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/BlockImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/BlockImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
19698,
12,
41,
14372,
4595,
425,
4595,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
9995,
2261,
18,
11403,
972,
27043,
24296,
30,
7734,
10268,
7675,
8507,
5621,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
5315,
2124,
3948,
30,
7734,
444,
5694,
12443,
5694,
13,
2011,
1769,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
20360,
916,
30,
7734,
2646,
11605,
5621,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
882,
10238,
1792,
30,
7734,
2646,
510,
20783,
5621,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
706,
28092,
30,
7734,
444,
382,
4424,
12443,
382,
4424,
13,
2011,
1769,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
11226,
30,
7734,
2646,
1999,
5621,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
11009,
30,
7734,
2646,
1494,
5621,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
28402,
30819,
30,
7734,
2646,
1999,
3969,
5621,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
11009,
3118,
1258,
30,
7734,
2646,
1494,
3969,
5621,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
6236,
67,
4574,
30,
7734,
27724,
1225,
12443,
1225,
13,
446,
1769,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
5069,
5997,
30,
7734,
444,
21805,
12443,
1670,
2498,
13,
2011,
1769,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
8720,
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,
19698,
12,
41,
14372,
4595,
425,
4595,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
9995,
2261,
18,
11403,
972,
27043,
24296,
30,
7734,
10268,
7675,
8507,
5621,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
5315,
2124,
3948,
30,
7734,
444,
5694,
12443,
5694,
13,
2011,
1769,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
20360,
916,
30,
7734,
2646,
11605,
5621,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
882,
10238,
1792,
30,
7734,
2646,
510,
20783,
5621,
7734,
327,
31,
5411,
648,
9995,
2261,
18,
11403,
972,
706,
28092,
30,
7734,
444,
382,
4424,
12443,
382,
2
] |
if (jj_3R_63()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_301()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
|
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
|
final private boolean jj_3R_369() { if (jj_scan_token(LPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_63()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_301()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
|
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/050f1d327a4f37a9453fd61c6eb891b6097d82f6/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
5718,
29,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
48,
15111,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
4449,
10756,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
54,
15111,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
31831,
10756,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
327,
629,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
5718,
29,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
48,
15111,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
4449,
10756,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
54,
15111,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
2
] |
if (RDEBUG && (debuglevel > 6)) System.out.println("PT"+r+"="+intToString(t0)+intToString(t1)+intToString(t2)+intToString(t3));
|
if (RDEBUG && (debuglevel > 6)) System.out.println("PT"+r+ '=' +intToString(t0)+intToString(t1)+intToString(t2)+intToString(t3));
|
blockDecrypt (byte[] in, byte[] result, int inOffset, Object sessionKey) {if (RDEBUG) trace(IN, "blockDecrypt("+in+", "+inOffset+", "+sessionKey+")"); int[][] Kd = (int[][]) ((Object[]) sessionKey)[1]; // extract decryption round keys int ROUNDS = Kd.length - 1; int[] Kdr = Kd[0]; // ciphertext to ints + key int t0 = ((in[inOffset++] & 0xFF) << 24 | (in[inOffset++] & 0xFF) << 16 | (in[inOffset++] & 0xFF) << 8 | (in[inOffset++] & 0xFF) ) ^ Kdr[0]; int t1 = ((in[inOffset++] & 0xFF) << 24 | (in[inOffset++] & 0xFF) << 16 | (in[inOffset++] & 0xFF) << 8 | (in[inOffset++] & 0xFF) ) ^ Kdr[1]; int t2 = ((in[inOffset++] & 0xFF) << 24 | (in[inOffset++] & 0xFF) << 16 | (in[inOffset++] & 0xFF) << 8 | (in[inOffset++] & 0xFF) ) ^ Kdr[2]; int t3 = ((in[inOffset++] & 0xFF) << 24 | (in[inOffset++] & 0xFF) << 16 | (in[inOffset++] & 0xFF) << 8 | (in[inOffset++] & 0xFF) ) ^ Kdr[3]; int a0, a1, a2, a3; for (int r = 1; r < ROUNDS; r++) { // apply round transforms Kdr = Kd[r]; a0 = (T5[(t0 >>> 24) & 0xFF] ^ T6[(t3 >>> 16) & 0xFF] ^ T7[(t2 >>> 8) & 0xFF] ^ T8[ t1 & 0xFF] ) ^ Kdr[0]; a1 = (T5[(t1 >>> 24) & 0xFF] ^ T6[(t0 >>> 16) & 0xFF] ^ T7[(t3 >>> 8) & 0xFF] ^ T8[ t2 & 0xFF] ) ^ Kdr[1]; a2 = (T5[(t2 >>> 24) & 0xFF] ^ T6[(t1 >>> 16) & 0xFF] ^ T7[(t0 >>> 8) & 0xFF] ^ T8[ t3 & 0xFF] ) ^ Kdr[2]; a3 = (T5[(t3 >>> 24) & 0xFF] ^ T6[(t2 >>> 16) & 0xFF] ^ T7[(t1 >>> 8) & 0xFF] ^ T8[ t0 & 0xFF] ) ^ Kdr[3]; t0 = a0; t1 = a1; t2 = a2; t3 = a3;if (RDEBUG && (debuglevel > 6)) System.out.println("PT"+r+"="+intToString(t0)+intToString(t1)+intToString(t2)+intToString(t3)); } // last round is special Kdr = Kd[ROUNDS]; int tt = Kdr[0]; result[ 0] = (byte)(Si[(t0 >>> 24) & 0xFF] ^ (tt >>> 24)); result[ 1] = (byte)(Si[(t3 >>> 16) & 0xFF] ^ (tt >>> 16)); result[ 2] = (byte)(Si[(t2 >>> 8) & 0xFF] ^ (tt >>> 8)); result[ 3] = (byte)(Si[ t1 & 0xFF] ^ tt ); tt = Kdr[1]; result[ 4] = (byte)(Si[(t1 >>> 24) & 0xFF] ^ (tt >>> 24)); result[ 5] = (byte)(Si[(t0 >>> 16) & 0xFF] ^ (tt >>> 16)); result[ 6] = (byte)(Si[(t3 >>> 8) & 0xFF] ^ (tt >>> 8)); result[ 7] = (byte)(Si[ t2 & 0xFF] ^ tt ); tt = Kdr[2]; result[ 8] = (byte)(Si[(t2 >>> 24) & 0xFF] ^ (tt >>> 24)); result[ 9] = (byte)(Si[(t1 >>> 16) & 0xFF] ^ (tt >>> 16)); result[10] = (byte)(Si[(t0 >>> 8) & 0xFF] ^ (tt >>> 8)); result[11] = (byte)(Si[ t3 & 0xFF] ^ tt ); tt = Kdr[3]; result[12] = (byte)(Si[(t3 >>> 24) & 0xFF] ^ (tt >>> 24)); result[13] = (byte)(Si[(t2 >>> 16) & 0xFF] ^ (tt >>> 16)); result[14] = (byte)(Si[(t1 >>> 8) & 0xFF] ^ (tt >>> 8)); result[15] = (byte)(Si[ t0 & 0xFF] ^ tt );if (RDEBUG && (debuglevel > 6)) {System.out.println("PT="+toString(result));System.out.println();}if (RDEBUG) trace(OUT, "blockDecrypt()"); }
|
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/62fd59041864b4ed1f43adc676de6bfb5ea977f3/Rijndael_Algorithm.java/buggy/src/freenet/crypt/ciphers/Rijndael_Algorithm.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1203,
17306,
261,
7229,
8526,
316,
16,
1160,
8526,
563,
16,
509,
316,
2335,
16,
1033,
26864,
13,
288,
430,
261,
54,
9394,
13,
2606,
12,
706,
16,
315,
2629,
17306,
2932,
15,
267,
15,
3113,
13773,
267,
2335,
15,
3113,
13773,
3184,
653,
9078,
2225,
1769,
3639,
509,
63,
6362,
65,
1475,
72,
273,
261,
474,
63,
6362,
5717,
14015,
921,
63,
5717,
26864,
25146,
21,
15533,
368,
2608,
27906,
3643,
1311,
3639,
509,
6525,
2124,
3948,
273,
1475,
72,
18,
2469,
300,
404,
31,
3639,
509,
8526,
1475,
3069,
273,
1475,
72,
63,
20,
15533,
3639,
368,
12657,
358,
15542,
397,
498,
3639,
509,
268,
20,
282,
273,
14015,
267,
63,
267,
2335,
9904,
65,
473,
374,
6356,
13,
2296,
4248,
571,
10792,
261,
267,
63,
267,
2335,
9904,
65,
473,
374,
6356,
13,
2296,
2872,
571,
10792,
261,
267,
63,
267,
2335,
9904,
65,
473,
374,
6356,
13,
2296,
225,
1725,
571,
10792,
261,
267,
63,
267,
2335,
9904,
65,
473,
374,
6356,
13,
3639,
262,
3602,
1475,
3069,
63,
20,
15533,
3639,
509,
268,
21,
282,
273,
14015,
267,
63,
267,
2335,
9904,
65,
473,
374,
6356,
13,
2296,
4248,
571,
10792,
261,
267,
63,
267,
2335,
9904,
65,
473,
374,
6356,
13,
2296,
2872,
571,
10792,
261,
267,
63,
267,
2335,
9904,
65,
473,
374,
6356,
13,
2296,
225,
1725,
571,
10792,
261,
267,
63,
267,
2335,
9904,
65,
473,
374,
6356,
13,
3639,
262,
3602,
1475,
3069,
63,
21,
15533,
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,
1203,
17306,
261,
7229,
8526,
316,
16,
1160,
8526,
563,
16,
509,
316,
2335,
16,
1033,
26864,
13,
288,
430,
261,
54,
9394,
13,
2606,
12,
706,
16,
315,
2629,
17306,
2932,
15,
267,
15,
3113,
13773,
267,
2335,
15,
3113,
13773,
3184,
653,
9078,
2225,
1769,
3639,
509,
63,
6362,
65,
1475,
72,
273,
261,
474,
63,
6362,
5717,
14015,
921,
63,
5717,
26864,
25146,
21,
15533,
368,
2608,
27906,
3643,
1311,
3639,
509,
6525,
2124,
3948,
273,
1475,
72,
18,
2469,
300,
404,
31,
3639,
509,
8526,
1475,
3069,
273,
1475,
72,
63,
20,
15533,
3639,
368,
12657,
358,
15542,
397,
498,
3639,
509,
268,
20,
282,
273,
14015,
267,
63,
267,
2335,
9904,
65,
473,
2
] |
for (Iterator iter = frames.iterator(); iter.hasNext();) {
|
for (final Iterator iter = frames.iterator(); iter.hasNext();) {
|
public BaseFrame.FrameWindow getFrameByName(final String name) throws ElementNotFoundException { final List frames = getFrames(); for (Iterator iter = frames.iterator(); iter.hasNext();) { final BaseFrame.FrameWindow frame = (BaseFrame.FrameWindow) iter.next(); if (frame.getName().equals(name)) { return frame; } } throw new ElementNotFoundException("frame or iframe", "name", name); }
|
3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/bfbb9e2a2e54bf7040308f5f0b4fd744c80370c8/HtmlPage.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/HtmlPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3360,
3219,
18,
3219,
3829,
25396,
5911,
12,
6385,
514,
508,
13,
1216,
3010,
3990,
288,
3639,
727,
987,
7793,
273,
2812,
86,
753,
5621,
3639,
364,
261,
6385,
4498,
1400,
273,
7793,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
5411,
727,
3360,
3219,
18,
3219,
3829,
2623,
273,
261,
2171,
3219,
18,
3219,
3829,
13,
1400,
18,
4285,
5621,
5411,
309,
261,
3789,
18,
17994,
7675,
14963,
12,
529,
3719,
288,
7734,
327,
2623,
31,
5411,
289,
3639,
289,
3639,
604,
394,
3010,
3990,
2932,
3789,
578,
15845,
3113,
315,
529,
3113,
508,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3360,
3219,
18,
3219,
3829,
25396,
5911,
12,
6385,
514,
508,
13,
1216,
3010,
3990,
288,
3639,
727,
987,
7793,
273,
2812,
86,
753,
5621,
3639,
364,
261,
6385,
4498,
1400,
273,
7793,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
5411,
727,
3360,
3219,
18,
3219,
3829,
2623,
273,
261,
2171,
3219,
18,
3219,
3829,
13,
1400,
18,
4285,
5621,
5411,
309,
261,
3789,
18,
17994,
7675,
14963,
12,
529,
3719,
288,
7734,
327,
2623,
31,
5411,
289,
3639,
289,
3639,
604,
394,
3010,
3990,
2932,
3789,
578,
15845,
3113,
315,
529,
3113,
508,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
throw new PainterException("wrong arguments");
|
throw new PainterException("repeat: wrong arguments");
|
public void execute(PAContext context) throws PainterException { Object data[]; PAToken patoken; data = context.popOperands(2); if (! (data[1] instanceof PAToken)) { throw new PainterException("wrong arguments"); } if (! (data[0] instanceof Number)) { throw new PainterException("wrong arguments"); } patoken = (PAToken) data[1]; if (! (patoken.type == PAToken.PROCEDURE)) { throw new PainterException("wrong arguments"); } int n = ( (Number) data[0]).intValue(); for (int i = 0; i < n; i++) { context.engine.process(patoken); } }
|
6653 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6653/08b9cb86387ddf1aef04a5e5fe9279f80315eadf/PAContext.java/clean/src/com/lowagie/text/pdf/codec/postscript/PAContext.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1836,
12,
4066,
1042,
819,
13,
1216,
453,
11606,
503,
288,
3639,
1033,
501,
8526,
31,
3639,
17988,
969,
9670,
969,
31,
3639,
501,
273,
819,
18,
5120,
3542,
5708,
12,
22,
1769,
3639,
309,
16051,
261,
892,
63,
21,
65,
1276,
17988,
969,
3719,
288,
1850,
604,
394,
453,
11606,
503,
2932,
9374,
30,
7194,
1775,
8863,
3639,
289,
3639,
309,
16051,
261,
892,
63,
20,
65,
1276,
3588,
3719,
288,
1850,
604,
394,
453,
11606,
503,
2932,
9374,
30,
7194,
1775,
8863,
3639,
289,
3639,
9670,
969,
273,
261,
8592,
969,
13,
501,
63,
21,
15533,
3639,
309,
16051,
261,
16330,
969,
18,
723,
422,
17988,
969,
18,
3373,
23552,
4830,
3719,
288,
1850,
604,
394,
453,
11606,
503,
2932,
9374,
30,
7194,
1775,
8863,
3639,
289,
3639,
509,
290,
273,
261,
261,
1854,
13,
501,
63,
20,
65,
2934,
474,
620,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
290,
31,
277,
27245,
288,
1850,
819,
18,
8944,
18,
2567,
12,
16330,
969,
1769,
3639,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1836,
12,
4066,
1042,
819,
13,
1216,
453,
11606,
503,
288,
3639,
1033,
501,
8526,
31,
3639,
17988,
969,
9670,
969,
31,
3639,
501,
273,
819,
18,
5120,
3542,
5708,
12,
22,
1769,
3639,
309,
16051,
261,
892,
63,
21,
65,
1276,
17988,
969,
3719,
288,
1850,
604,
394,
453,
11606,
503,
2932,
9374,
30,
7194,
1775,
8863,
3639,
289,
3639,
309,
16051,
261,
892,
63,
20,
65,
1276,
3588,
3719,
288,
1850,
604,
394,
453,
11606,
503,
2932,
9374,
30,
7194,
1775,
8863,
3639,
289,
3639,
9670,
969,
273,
261,
8592,
969,
13,
501,
63,
21,
15533,
3639,
309,
16051,
261,
16330,
969,
18,
723,
422,
17988,
969,
18,
3373,
23552,
4830,
3719,
288,
1850,
2
] |
control.setLayout(new GridLayout());
|
protected Control createDialogArea(Composite parent) { Composite control = (Composite) super.createDialogArea(parent); control.setLayout(new GridLayout()); initializeDialogUnits(control); Label title = new Label(control, SWT.NONE); title.setText(MarkerMessages.MarkerResolutionPage_Problems_List_Title); markersTable = CheckboxTableViewer.newCheckList(control, SWT.BORDER | SWT.V_SCROLL); GridData tableData = new GridData(SWT.FILL, SWT.FILL, true, true); tableData.heightHint = convertHeightInCharsToPixels(10); markersTable.getControl().setLayoutData(tableData); Label resolutionsLabel = new Label(control, SWT.NONE); resolutionsLabel .setText(MarkerMessages.MarkerResolutionPage_Resolutions_List_Title); resolutionsList = new ListViewer(control, SWT.BORDER | SWT.SINGLE); GridData listData = new GridData(SWT.FILL, SWT.NONE, true, false); listData.heightHint = convertHeightInCharsToPixels(10); resolutionsList.getControl().setLayoutData(listData); markersTable.setContentProvider(new IStructuredContentProvider() { /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.IContentProvider#dispose() */ public void dispose() { } /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object) */ public Object[] getElements(Object inputElement) { return markers.toArray(); } /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, * java.lang.Object, java.lang.Object) */ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { } }); markersTable.setLabelProvider(new LabelProvider() { /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.LabelProvider#getText(java.lang.Object) */ public String getText(Object element) { return Util.getProperty(IMarker.MESSAGE, ((IMarker) element)); } public Image getImage(Object element) { return Util.getImage(((IMarker) element).getAttribute( IMarker.SEVERITY, -1)); } }); markersTable.setInput(this); resolutionsList.setContentProvider(new IStructuredContentProvider() { public Object[] getElements(Object inputElement) { return resolutions; } /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.IContentProvider#dispose() */ public void dispose() { } /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, * java.lang.Object, java.lang.Object) */ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { } }); resolutionsList.setLabelProvider(new LabelProvider() { public String getText(Object element) { return ((IMarkerResolution) element).getLabel(); } }); resolutionsList .addSelectionChangedListener(new ISelectionChangedListener() { /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent) */ public void selectionChanged(SelectionChangedEvent event) { setComplete(!event.getSelection().isEmpty()); } }); resolutionsList.setInput(this); progressPart = new ProgressMonitorPart(control,new GridLayout()); progressPart.setLayoutData(new GridData(SWT.FILL,SWT.NONE,true,false)); Dialog.applyDialogFont(control); markersTable.setAllChecked(true); setMessage(MarkerMessages.MarkerResolutionPage_Description); return control; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1020adc6073f342af26df05d8ee329e45b3b12e7/MarkerResolutionDialog.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerResolutionDialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
752,
6353,
5484,
12,
9400,
982,
13,
288,
202,
202,
9400,
3325,
273,
261,
9400,
13,
2240,
18,
2640,
6353,
5484,
12,
2938,
1769,
202,
202,
7098,
18,
542,
3744,
12,
2704,
7145,
3744,
10663,
202,
202,
11160,
6353,
7537,
12,
7098,
1769,
202,
202,
2224,
2077,
273,
394,
5287,
12,
7098,
16,
348,
8588,
18,
9826,
1769,
202,
202,
2649,
18,
542,
1528,
12,
7078,
5058,
18,
7078,
11098,
1964,
67,
626,
19122,
67,
682,
67,
4247,
1769,
202,
202,
22807,
1388,
273,
29213,
1388,
18415,
18,
2704,
1564,
682,
12,
7098,
16,
348,
8588,
18,
38,
7954,
9506,
202,
96,
348,
8588,
18,
58,
67,
2312,
14555,
1769,
202,
202,
6313,
751,
1014,
751,
273,
394,
7145,
751,
12,
55,
8588,
18,
29818,
16,
348,
8588,
18,
29818,
16,
638,
16,
638,
1769,
202,
202,
2121,
751,
18,
4210,
7002,
273,
1765,
2686,
382,
7803,
774,
18079,
12,
2163,
1769,
202,
202,
22807,
1388,
18,
588,
3367,
7675,
542,
3744,
751,
12,
2121,
751,
1769,
202,
202,
2224,
1565,
6170,
2224,
273,
394,
5287,
12,
7098,
16,
348,
8588,
18,
9826,
1769,
202,
202,
7818,
6170,
2224,
9506,
202,
18,
542,
1528,
12,
7078,
5058,
18,
7078,
11098,
1964,
67,
2903,
6170,
67,
682,
67,
4247,
1769,
202,
202,
7818,
6170,
682,
273,
394,
987,
18415,
12,
7098,
16,
348,
8588,
18,
38,
7954,
571,
348,
8588,
18,
20184,
1769,
202,
202,
6313,
751,
666,
751,
273,
394,
7145,
751,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
752,
6353,
5484,
12,
9400,
982,
13,
288,
202,
202,
9400,
3325,
273,
261,
9400,
13,
2240,
18,
2640,
6353,
5484,
12,
2938,
1769,
202,
202,
7098,
18,
542,
3744,
12,
2704,
7145,
3744,
10663,
202,
202,
11160,
6353,
7537,
12,
7098,
1769,
202,
202,
2224,
2077,
273,
394,
5287,
12,
7098,
16,
348,
8588,
18,
9826,
1769,
202,
202,
2649,
18,
542,
1528,
12,
7078,
5058,
18,
7078,
11098,
1964,
67,
626,
19122,
67,
682,
67,
4247,
1769,
202,
202,
22807,
1388,
273,
29213,
1388,
18415,
18,
2704,
1564,
682,
12,
7098,
16,
348,
8588,
18,
38,
7954,
9506,
202,
96,
348,
8588,
18,
58,
67,
2312,
14555,
1769,
202,
202,
6313,
751,
1014,
2
] |
|
context.exitScope( );
|
public void execute( ReportItemDesign item, IReportEmitter emitter ) { GridItemDesign gridItem = (GridItemDesign) item; ITableEmitter tableEmitter = emitter.getTableEmitter( ); if ( tableEmitter == null ) { return; } TableContent tableObj = (TableContent)ContentFactory.createTableContent( gridItem, context.getContentObject( ) ); IResultSet rs = null; try { rs = openResultSet( item ); if ( rs != null ) { rs.next( ); } setStyles( tableObj, item ); setVisibility( item, tableObj ); String bookmarkStr = evalBookmark( gridItem ); if ( bookmarkStr != null ) tableObj.setBookmarkValue( bookmarkStr ); tableEmitter.start( tableObj ); if ( gridItem.getColumnCount( ) > 0 ) { tableEmitter.startColumns( ); for ( int i = 0; i < gridItem.getColumnCount( ); i++ ) { ColumnContent colContent = (ColumnContent) ContentFactory .createColumnContent( gridItem.getColumn( i ), tableObj ); setStyles( colContent, gridItem.getColumn( i ) ); emitter.getTableEmitter( ).startColumn( colContent ); emitter.getTableEmitter( ).endColumn( ); } tableEmitter.endColumns( ); } tableEmitter.startBody( ); for ( int i = 0; i < gridItem.getRowCount( ); i++ ) { RowDesign row = gridItem.getRow( i ); // if ( !isRowVisible( row ) ) // { // break; // } RowContent rowContent = (RowContent) ContentFactory .createRowContent( row, tableObj ); setVisibility( row, rowContent ); setBookmarkValue( row, rowContent ); setStyles( rowContent, row ); tableEmitter.startRow( rowContent ); for ( int j = 0; j < row.getCellCount( ); j++ ) { CellDesign cell = row.getCell( j ); if ( cell != null ) { CellContent cellContent = (CellContent) ContentFactory .createCellContent( cell, rowContent ); context.pushContentObject( cellContent ); setStyles( cellContent, cell ); tableEmitter.startCell( cellContent ); for ( int m = 0; m < cell.getContentCount( ); m++ ) { ReportItemDesign ri = cell.getContent( m ); if ( ri != null ) { ri.accept( this.visitor ); } } tableEmitter.endCell( ); context.popContentObject( ); } } tableEmitter.endRow( ); } tableEmitter.endBody( ); tableEmitter.end( ); } catch ( Throwable t ) { logger.log( Level.SEVERE, "Error:", t );//$NON-NLS-1$ context.addException( new EngineException( "Failed to render Grid " + ( item.getName( ) != null ? item.getName( ) : "" ), t ) );//$NON-NLS-1$ } finally { closeResultSet( rs ); } context.exitScope( ); }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/17ef65cbf907ab1c76c6de16de4106262c3fad19/GridItemExecutor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/GridItemExecutor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1836,
12,
8706,
1180,
15478,
761,
16,
467,
4820,
13476,
11520,
262,
202,
95,
202,
202,
6313,
1180,
15478,
3068,
1180,
273,
261,
6313,
1180,
15478,
13,
761,
31,
202,
202,
1285,
429,
13476,
1014,
13476,
273,
11520,
18,
588,
1388,
13476,
12,
11272,
202,
202,
430,
261,
1014,
13476,
422,
446,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
1388,
1350,
1014,
2675,
273,
261,
1388,
1350,
13,
1350,
1733,
18,
2640,
1388,
1350,
12,
3068,
1180,
16,
819,
18,
588,
1350,
921,
12,
262,
11272,
9506,
202,
45,
13198,
3597,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
5453,
273,
1696,
13198,
12,
761,
11272,
1082,
202,
430,
261,
3597,
480,
446,
262,
1082,
202,
95,
9506,
202,
5453,
18,
4285,
12,
11272,
1082,
202,
97,
1082,
202,
542,
9725,
12,
1014,
2675,
16,
761,
11272,
1082,
202,
542,
10135,
12,
761,
16,
1014,
2675,
11272,
1082,
202,
780,
13696,
1585,
273,
5302,
22966,
12,
3068,
1180,
11272,
1082,
202,
430,
261,
13696,
1585,
480,
446,
262,
9506,
202,
2121,
2675,
18,
542,
22966,
620,
12,
13696,
1585,
11272,
25083,
202,
2121,
13476,
18,
1937,
12,
1014,
2675,
11272,
1082,
202,
430,
261,
3068,
1180,
18,
588,
1494,
1380,
12,
262,
405,
374,
262,
1082,
202,
95,
9506,
202,
2121,
13476,
18,
1937,
3380,
12,
11272,
9506,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
3068,
1180,
18,
588,
1494,
1380,
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,
1836,
12,
8706,
1180,
15478,
761,
16,
467,
4820,
13476,
11520,
262,
202,
95,
202,
202,
6313,
1180,
15478,
3068,
1180,
273,
261,
6313,
1180,
15478,
13,
761,
31,
202,
202,
1285,
429,
13476,
1014,
13476,
273,
11520,
18,
588,
1388,
13476,
12,
11272,
202,
202,
430,
261,
1014,
13476,
422,
446,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
1388,
1350,
1014,
2675,
273,
261,
1388,
1350,
13,
1350,
1733,
18,
2640,
1388,
1350,
12,
3068,
1180,
16,
819,
18,
588,
1350,
921,
12,
262,
11272,
9506,
202,
45,
13198,
3597,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
5453,
273,
1696,
13198,
12,
761,
11272,
2
] |
|
if(log.isInfoEnabled()) log.info("[" + local_addr + "] --> DATA(" + dst + ": #" + entry.sent_msgs_seqno + ", first=" + hdr.first + ")");
|
if(log.isTraceEnabled()) log.trace("[" + local_addr + "] --> DATA(" + dst + ": #" + entry.sent_msgs_seqno + ", first=" + hdr.first + ")");
|
public void down(Event evt) { Message msg; Object dst, mbr; Entry entry; UnicastHeader hdr; switch (evt.getType()) { case Event.MSG: // Add UnicastHeader, add to AckSenderWindow and pass down msg = (Message) evt.getArg(); dst = msg.getDest(); /* only handle unicast messages */ if (dst == null || ((Address) dst).isMulticastAddress()) break; entry = (Entry) connections.get(dst); if (entry == null) { entry = new Entry(); connections.put(dst, entry); } hdr = new UnicastHeader(UnicastHeader.DATA, entry.sent_msgs_seqno); if (entry.sent_msgs == null) { // first msg to peer 'dst' hdr.first = true; entry.sent_msgs = new AckSenderWindow(this, timeout, this); if (window_size > 0) entry.sent_msgs.setWindowSize(window_size, min_threshold); } msg.putHeader(getName(), hdr); if(log.isInfoEnabled()) log.info("[" + local_addr + "] --> DATA(" + dst + ": #" + entry.sent_msgs_seqno + ", first=" + hdr.first + ")"); if (Global.copy) entry.sent_msgs.add(entry.sent_msgs_seqno, msg.copy()); // add *including* UnicastHeader else entry.sent_msgs.add(entry.sent_msgs_seqno, msg); // add *including* UnicastHeader entry.sent_msgs_seqno++; return; // AckSenderWindow will send message for us case Event.BECOME_SERVER: operational = true; break; case Event.VIEW_CHANGE: // remove connections to peers that are not members anymore ! Vector new_members = ((View) evt.getArg()).getMembers(); Vector left_members; synchronized (members) { left_members = Util.determineLeftMembers(members, new_members); members.removeAllElements(); if (new_members != null) members.addAll(new_members); } // Remove all connections for members that left between the current view and the new view // See DESIGN for details if (use_gms && left_members.size() > 0) { synchronized (connections) { for (int i = 0; i < left_members.size(); i++) { mbr = left_members.elementAt(i); removeConnection(mbr); } } } break; } passDown(evt); // Pass on to the layer below us }
|
50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/85b7a7c351493f88f1d6a3045b9cbd0b817f95cd/UNICAST.java/clean/src/org/jgroups/protocols/UNICAST.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2588,
12,
1133,
6324,
13,
288,
3639,
2350,
1234,
31,
3639,
1033,
3046,
16,
312,
2848,
31,
3639,
3841,
1241,
31,
3639,
1351,
12544,
1864,
7723,
31,
3639,
1620,
261,
73,
11734,
18,
588,
559,
10756,
288,
5411,
648,
2587,
18,
11210,
30,
368,
1436,
1351,
12544,
1864,
16,
527,
358,
22322,
12021,
3829,
471,
1342,
2588,
7734,
1234,
273,
261,
1079,
13,
6324,
18,
588,
4117,
5621,
7734,
3046,
273,
1234,
18,
588,
9378,
5621,
7734,
1748,
1338,
1640,
640,
12544,
2743,
1195,
7734,
309,
261,
11057,
422,
446,
747,
14015,
1887,
13,
3046,
2934,
291,
5049,
12544,
1887,
10756,
10792,
898,
31,
7734,
1241,
273,
261,
1622,
13,
5921,
18,
588,
12,
11057,
1769,
7734,
309,
261,
4099,
422,
446,
13,
288,
10792,
1241,
273,
394,
3841,
5621,
10792,
5921,
18,
458,
12,
11057,
16,
1241,
1769,
7734,
289,
7734,
7723,
273,
394,
1351,
12544,
1864,
12,
984,
12544,
1864,
18,
4883,
16,
1241,
18,
7569,
67,
27439,
67,
5436,
2135,
1769,
7734,
309,
261,
4099,
18,
7569,
67,
27439,
422,
446,
13,
288,
368,
1122,
1234,
358,
4261,
296,
11057,
11,
10792,
7723,
18,
3645,
273,
638,
31,
10792,
1241,
18,
7569,
67,
27439,
273,
394,
22322,
12021,
3829,
12,
2211,
16,
2021,
16,
333,
1769,
10792,
309,
261,
5668,
67,
1467,
405,
374,
13,
13491,
1241,
18,
7569,
67,
27439,
18,
542,
3829,
1225,
12,
5668,
67,
1467,
16,
1131,
67,
8699,
1769,
7734,
289,
7734,
1234,
18,
458,
1864,
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,
2588,
12,
1133,
6324,
13,
288,
3639,
2350,
1234,
31,
3639,
1033,
3046,
16,
312,
2848,
31,
3639,
3841,
1241,
31,
3639,
1351,
12544,
1864,
7723,
31,
3639,
1620,
261,
73,
11734,
18,
588,
559,
10756,
288,
5411,
648,
2587,
18,
11210,
30,
368,
1436,
1351,
12544,
1864,
16,
527,
358,
22322,
12021,
3829,
471,
1342,
2588,
7734,
1234,
273,
261,
1079,
13,
6324,
18,
588,
4117,
5621,
7734,
3046,
273,
1234,
18,
588,
9378,
5621,
7734,
1748,
1338,
1640,
640,
12544,
2743,
1195,
7734,
309,
261,
11057,
422,
446,
747,
14015,
1887,
13,
3046,
2934,
291,
5049,
12544,
1887,
10756,
10792,
898,
31,
7734,
1241,
273,
261,
1622,
13,
5921,
18,
588,
12,
11057,
1769,
2
] |
if(getActivePageInstance( )!=null)
|
if ( getActivePageInstance( ) != null )
|
public void run( ) { // UIUtil.resetViewSelection( view, true ); if(getActivePageInstance( )!=null) { ( (IReportEditorPage) getActivePageInstance( ) ) .onBroughtToTop( (IReportEditorPage) getActivePageInstance( ) ); } }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/6f2bf55f121981dcb9b70c8145124efef6d7ada0/MultiPageReportEditor.java/buggy/UI/org.eclipse.birt.report.designer.ui.editors/src/org/eclipse/birt/report/designer/ui/editors/MultiPageReportEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
1086,
12,
262,
6862,
202,
95,
25083,
202,
759,
6484,
1304,
18,
6208,
1767,
6233,
12,
1476,
16,
638,
11272,
25083,
202,
430,
12,
588,
3896,
1964,
1442,
12,
262,
5,
33,
2011,
13,
25083,
202,
95,
6862,
1082,
202,
12,
261,
45,
4820,
6946,
1964,
13,
11960,
1964,
1442,
12,
262,
262,
6862,
6862,
202,
18,
265,
38,
303,
9540,
774,
3401,
12,
261,
45,
4820,
6946,
1964,
13,
11960,
1964,
1442,
12,
262,
11272,
25083,
202,
97,
6862,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
1086,
12,
262,
6862,
202,
95,
25083,
202,
759,
6484,
1304,
18,
6208,
1767,
6233,
12,
1476,
16,
638,
11272,
25083,
202,
430,
12,
588,
3896,
1964,
1442,
12,
262,
5,
33,
2011,
13,
25083,
202,
95,
6862,
1082,
202,
12,
261,
45,
4820,
6946,
1964,
13,
11960,
1964,
1442,
12,
262,
262,
6862,
6862,
202,
18,
265,
38,
303,
9540,
774,
3401,
12,
261,
45,
4820,
6946,
1964,
13,
11960,
1964,
1442,
12,
262,
11272,
25083,
202,
97,
6862,
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
] |
} else if(args.length == 2 && args[1].getClass() == Integer.class) { int index = ((Integer)args[1]).intValue(); dynaBean.set(property, index, args[0]);
|
} else if(args.length == 2 && args[0].getClass() == Integer.class) { int index = ((Integer)args[0]).intValue(); dynaBean.set(property, index, args[1]);
|
public Object intercept(Object obj, Method method, Object[] args, MethodProxy proxy) throws Throwable { String methodNm = method.getName(); String property = (String)propertyLookup.get(methodNm); if (property == null) { // Not a dyna property access, just pass call along return proxy.invokeSuper(obj, args); } boolean getter = methodNm.startsWith("get"); DynaBean dynaBean = (DynaBean)obj; if (getter) { if (args.length == 0) { return dynaBean.get(property); } else if(args.length == 1 && args[0].getClass() == Integer.class) { int index = ((Integer)args[0]).intValue(); return dynaBean.get(property, index); } else { return proxy.invokeSuper(obj, args); } } else { if (args.length == 1) { dynaBean.set(property, args[0]); return null; } else if(args.length == 2 && args[1].getClass() == Integer.class) { int index = ((Integer)args[1]).intValue(); dynaBean.set(property, index, args[0]); return null; } else { return proxy.invokeSuper(obj, args); } } }
|
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/22c2b40338b10133ee7331577f3705bedc48d082/DynaBeanInterceptor.java/buggy/src/java/org/apache/struts/util/DynaBeanInterceptor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
10883,
12,
921,
1081,
16,
2985,
707,
16,
1033,
8526,
833,
16,
18701,
2985,
3886,
2889,
13,
1216,
4206,
288,
3639,
514,
707,
25246,
273,
707,
18,
17994,
5621,
3639,
514,
1272,
273,
261,
780,
13,
4468,
6609,
18,
588,
12,
2039,
25246,
1769,
3639,
309,
261,
4468,
422,
446,
13,
288,
5411,
368,
2288,
279,
19417,
69,
1272,
2006,
16,
2537,
1342,
745,
7563,
5411,
327,
2889,
18,
14407,
8051,
12,
2603,
16,
833,
1769,
3639,
289,
3639,
1250,
7060,
225,
273,
707,
25246,
18,
17514,
1190,
2932,
588,
8863,
3639,
463,
23041,
3381,
19417,
69,
3381,
273,
261,
10419,
69,
3381,
13,
2603,
31,
3639,
309,
261,
11990,
13,
288,
5411,
309,
261,
1968,
18,
2469,
422,
374,
13,
288,
7734,
327,
19417,
69,
3381,
18,
588,
12,
4468,
1769,
5411,
289,
469,
309,
12,
1968,
18,
2469,
422,
404,
597,
833,
63,
20,
8009,
588,
797,
1435,
422,
2144,
18,
1106,
13,
288,
7734,
509,
770,
273,
14015,
4522,
13,
1968,
63,
20,
65,
2934,
474,
620,
5621,
7734,
327,
19417,
69,
3381,
18,
588,
12,
4468,
16,
770,
1769,
5411,
289,
469,
288,
7734,
327,
2889,
18,
14407,
8051,
12,
2603,
16,
833,
1769,
5411,
289,
3639,
289,
469,
288,
5411,
309,
261,
1968,
18,
2469,
422,
404,
13,
288,
7734,
19417,
69,
3381,
18,
542,
12,
4468,
16,
833,
63,
20,
19226,
7734,
327,
446,
31,
5411,
289,
469,
309,
12,
1968,
18,
2469,
422,
576,
597,
833,
63,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
10883,
12,
921,
1081,
16,
2985,
707,
16,
1033,
8526,
833,
16,
18701,
2985,
3886,
2889,
13,
1216,
4206,
288,
3639,
514,
707,
25246,
273,
707,
18,
17994,
5621,
3639,
514,
1272,
273,
261,
780,
13,
4468,
6609,
18,
588,
12,
2039,
25246,
1769,
3639,
309,
261,
4468,
422,
446,
13,
288,
5411,
368,
2288,
279,
19417,
69,
1272,
2006,
16,
2537,
1342,
745,
7563,
5411,
327,
2889,
18,
14407,
8051,
12,
2603,
16,
833,
1769,
3639,
289,
3639,
1250,
7060,
225,
273,
707,
25246,
18,
17514,
1190,
2932,
588,
8863,
3639,
463,
23041,
3381,
19417,
69,
3381,
273,
261,
10419,
69,
3381,
13,
2603,
31,
3639,
309,
261,
11990,
13,
288,
5411,
309,
261,
1968,
2
] |
domUnit = ast; }
|
domUnit = ast; }
|
public void acceptAST(ICompilationUnit source, CompilationUnit ast) { if( source == compilationUnit ) domUnit = ast; }
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/1f165d30a1b65384e3ec245ff2ecd9c2f700ae13/BaseProcessorEnv.java/buggy/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/BaseProcessorEnv.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
2791,
9053,
12,
45,
19184,
2802,
1084,
16,
22416,
2802,
3364,
13,
288,
9506,
202,
430,
12,
1084,
422,
8916,
2802,
262,
6862,
202,
9859,
2802,
273,
3364,
31,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2791,
9053,
12,
45,
19184,
2802,
1084,
16,
22416,
2802,
3364,
13,
288,
9506,
202,
430,
12,
1084,
422,
8916,
2802,
262,
6862,
202,
9859,
2802,
273,
3364,
31,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
;
|
public String toString () { StringBuffer sbuf = new StringBuffer (); sbuf.append ("<").append(getClass ().getName ()).append (" "); if (message == null) { sbuf.append("No mime message is set."); } else { try { sbuf.append(allRecipientsAsString ()); } catch (MessagingException ex) { ; } } sbuf.append (">"); return sbuf.toString (); }
|
17168 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17168/d5c931c74b8f347df8f49cbd2bc6355c9b5822b4/ERMessage.java/clean/Common/Frameworks/ERJavaMail/Sources/er/javamail/ERMessage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1832,
288,
3639,
6674,
2393,
696,
273,
394,
6674,
1832,
3639,
2393,
696,
18,
6923,
7566,
32,
20387,
6923,
12,
588,
797,
1832,
18,
17994,
1832,
2934,
6923,
7566,
9369,
3639,
309,
261,
2150,
422,
446,
13,
288,
5411,
2393,
696,
18,
6923,
2932,
2279,
4892,
883,
353,
444,
1199,
13,
3639,
289,
469,
288,
5411,
775,
288,
7734,
2393,
696,
18,
6923,
12,
454,
22740,
8092,
1832,
13,
5411,
289,
1044,
261,
23389,
503,
431,
13,
288,
18701,
289,
3639,
289,
3639,
2393,
696,
18,
6923,
7566,
2984,
13,
3639,
327,
2393,
696,
18,
10492,
1832,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1832,
288,
3639,
6674,
2393,
696,
273,
394,
6674,
1832,
3639,
2393,
696,
18,
6923,
7566,
32,
20387,
6923,
12,
588,
797,
1832,
18,
17994,
1832,
2934,
6923,
7566,
9369,
3639,
309,
261,
2150,
422,
446,
13,
288,
5411,
2393,
696,
18,
6923,
2932,
2279,
4892,
883,
353,
444,
1199,
13,
3639,
289,
469,
288,
5411,
775,
288,
7734,
2393,
696,
18,
6923,
12,
454,
22740,
8092,
1832,
13,
5411,
289,
1044,
261,
23389,
503,
431,
13,
288,
18701,
289,
3639,
289,
3639,
2393,
696,
18,
6923,
7566,
2984,
13,
3639,
327,
2393,
696,
18,
10492,
1832,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
public Atom[] getAtoms() { return this.atoms; }
|
public Atom[] getAtoms() { Atom[] returnAtoms = new Atom[getAtomCount()]; System.arraycopy(this.atoms, 0, returnAtoms, 0, returnAtoms.length); return returnAtoms; }
|
public Atom[] getAtoms() { return this.atoms; }
|
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/621d8d326f71a83157dc788d8f4fb8cb7323c251/Bond.java/clean/src/org/openscience/cdk/Bond.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
7149,
8526,
12358,
87,
1435,
202,
95,
202,
202,
2463,
333,
18,
14937,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
7149,
8526,
12358,
87,
1435,
202,
95,
202,
202,
2463,
333,
18,
14937,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (!Stats.gatheringStats) return; if (Assert.VERIFY_ASSERTIONS) Assert._assert(running);
|
if (!Stats.gatheringStats) return; if (Assert.VERIFY_ASSERTIONS) Assert._assert(running);
|
protected void stop() { if (!Stats.gatheringStats) return; if (Assert.VERIFY_ASSERTIONS) Assert._assert(running); running = false; }
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/30524c62fa391922d51289c03075f714c772951c/EventCounter.java/buggy/MMTk/src/org/mmtk/utility/statistics/EventCounter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
2132,
1435,
288,
565,
309,
16051,
4195,
18,
75,
4806,
310,
4195,
13,
327,
31,
565,
309,
261,
8213,
18,
23756,
67,
8423,
11539,
1146,
55,
13,
5452,
6315,
11231,
12,
8704,
1769,
565,
3549,
273,
629,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
2132,
1435,
288,
565,
309,
16051,
4195,
18,
75,
4806,
310,
4195,
13,
327,
31,
565,
309,
261,
8213,
18,
23756,
67,
8423,
11539,
1146,
55,
13,
5452,
6315,
11231,
12,
8704,
1769,
565,
3549,
273,
629,
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
] |
callsToCheck.add(new ReturnCheckSpecification());
|
synchronized(lock){ callsToCheck.add(new ReturnCheckSpecification()); }
|
public void actionPerformed(ActionEvent e){ callsToCheck.add(new ReturnCheckSpecification()); model.fireTableStructureChanged(); }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/10b2499ccbed55bc1c41db3f30d360c7ad4dd94c/IgnoreResultOfCallInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/bugs/IgnoreResultOfCallInspection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
26100,
12,
1803,
1133,
425,
15329,
10792,
3852,
12,
739,
15329,
4097,
18126,
18,
1289,
12,
2704,
2000,
1564,
8615,
10663,
289,
10792,
938,
18,
12179,
1388,
6999,
5033,
5621,
7734,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
26100,
12,
1803,
1133,
425,
15329,
10792,
3852,
12,
739,
15329,
4097,
18126,
18,
1289,
12,
2704,
2000,
1564,
8615,
10663,
289,
10792,
938,
18,
12179,
1388,
6999,
5033,
5621,
7734,
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
] |
MavenArchiver mavenArchiver = new MavenArchiver();
|
public void finalizeArchiveCreation( Archiver archiver ) throws ArchiverException { // TODO: I'd really prefer to rewrite MavenArchiver as either a // separate manifest creation utility (and to // create an include pom.properties etc into another archiver), or // an implementation of an archiver // (the first is preferable). MavenArchiver mavenArchiver = new MavenArchiver(); if ( archiveConfiguration != null ) { try { Manifest manifest; File manifestFile = archiveConfiguration.getManifestFile(); if ( manifestFile != null ) { try { manifest = new Manifest( new FileReader( manifestFile ) ); } catch ( FileNotFoundException e ) { throw new ArchiverException( "Manifest not found: " + e.getMessage() ); } catch ( IOException e ) { throw new ArchiverException( "Error processing manifest: " + e.getMessage(), e ); } } else { manifest = mavenArchiver.getManifest( project, archiveConfiguration.getManifest() ); } if ( manifest != null && ( archiver instanceof JarArchiver ) ) { JarArchiver jarArchiver = (JarArchiver) archiver; jarArchiver.addConfiguredManifest( manifest ); } } catch ( ManifestException e ) { throw new ArchiverException( "Error creating manifest: " + e.getMessage(), e ); } catch ( DependencyResolutionRequiredException e ) { throw new ArchiverException( "Dependencies were not resolved: " + e.getMessage(), e ); } } }
|
51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/fc8e11f975ef961f05645bdbcf1b6884073a9cb7/ManifestCreationFinalizer.java/clean/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/archive/ManifestCreationFinalizer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12409,
7465,
9906,
12,
16959,
1667,
6637,
1667,
262,
3639,
1216,
16959,
1667,
503,
565,
288,
3639,
368,
2660,
30,
467,
14271,
8654,
13256,
358,
10738,
17176,
12269,
1667,
487,
3344,
279,
3639,
368,
9004,
5643,
6710,
12788,
261,
464,
358,
3639,
368,
752,
392,
2341,
21400,
18,
4738,
5527,
1368,
4042,
6637,
1667,
3631,
578,
3639,
368,
392,
4471,
434,
392,
6637,
1667,
3639,
368,
261,
5787,
1122,
353,
13256,
429,
2934,
540,
309,
261,
5052,
1750,
480,
446,
262,
3639,
288,
5411,
775,
5411,
288,
7734,
15443,
5643,
31,
7734,
1387,
5643,
812,
273,
5052,
1750,
18,
588,
9121,
812,
5621,
7734,
309,
261,
5643,
812,
480,
446,
262,
7734,
288,
10792,
775,
10792,
288,
13491,
5643,
273,
394,
15443,
12,
394,
23010,
12,
5643,
812,
262,
11272,
10792,
289,
10792,
1044,
261,
13707,
425,
262,
10792,
288,
13491,
604,
394,
16959,
1667,
503,
12,
315,
9121,
486,
1392,
30,
315,
397,
425,
18,
24906,
1435,
11272,
10792,
289,
10792,
1044,
261,
1860,
425,
262,
10792,
288,
13491,
604,
394,
16959,
1667,
503,
12,
315,
668,
4929,
5643,
30,
315,
397,
425,
18,
24906,
9334,
425,
11272,
10792,
289,
7734,
289,
7734,
469,
7734,
288,
10792,
5643,
273,
20499,
12269,
1667,
18,
588,
9121,
12,
1984,
16,
5052,
1750,
18,
588,
9121,
1435,
11272,
7734,
289,
7734,
309,
261,
5643,
480,
446,
597,
261,
6637,
1667,
1276,
15644,
12269,
1667,
262,
262,
7734,
288,
10792,
15644,
12269,
1667,
7334,
12269,
1667,
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,
918,
12409,
7465,
9906,
12,
16959,
1667,
6637,
1667,
262,
3639,
1216,
16959,
1667,
503,
565,
288,
3639,
368,
2660,
30,
467,
14271,
8654,
13256,
358,
10738,
17176,
12269,
1667,
487,
3344,
279,
3639,
368,
9004,
5643,
6710,
12788,
261,
464,
358,
3639,
368,
752,
392,
2341,
21400,
18,
4738,
5527,
1368,
4042,
6637,
1667,
3631,
578,
3639,
368,
392,
4471,
434,
392,
6637,
1667,
3639,
368,
261,
5787,
1122,
353,
13256,
429,
2934,
540,
309,
261,
5052,
1750,
480,
446,
262,
3639,
288,
5411,
775,
5411,
288,
7734,
15443,
5643,
31,
7734,
1387,
5643,
812,
273,
5052,
1750,
18,
588,
9121,
812,
5621,
7734,
309,
261,
5643,
812,
480,
446,
262,
7734,
288,
10792,
775,
10792,
2
] |
|
Object[] objs = (Object[]) template; if ( objs.length == 1 && objs[0] instanceof ThemeHandle ) { isTheme = true; }
|
SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .getCommandStack( ) .commit( );
|
protected void handleDrop( ) { final Object template = TemplateTransfer.getInstance( ).getTemplate( ); Assert.isNotNull( template ); Assert.isTrue( handleValidateDrag( template ) ); updateTargetRequest( ); updateTargetEditPart( ); AbstractToolHandleExtends preHandle = null; String transName = null; if ( template instanceof String ) { transName = TRANS_LABEL_CREATE_ELEMENT; preHandle = BasePaletteFactory.getAbstractToolHandleExtendsFromPaletteName( template ); } else if ( handleValidateInsert( template ) ) { transName = InsertInLayoutAction.DISPLAY_TEXT; Object objectType = getFactory( template ).getObjectType( ); if ( objectType instanceof DataSetHandle ) { preHandle = new DataSetToolExtends( ); } else if ( objectType instanceof DataSetItemModel || objectType instanceof ResultSetColumnHandle ) { preHandle = new DataSetColumnToolExtends( ); } else if ( objectType instanceof ScalarParameterHandle ) { preHandle = new ParameterToolExtends( ); } } else if ( handleValidateLibrary( template ) ) { preHandle = new LibraryElementsToolHandleExtends( (DesignElementHandle) getSingleTransferData( template ) ); } if ( preHandle != null ) { SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .getCommandStack( ) .startTrans( transName ); preHandle.setRequest( this.getCreateRequest( ) ); preHandle.setTargetEditPart( getTargetEditPart( ) ); Command command = this.getCommand( ); if ( command != null && command.canExecute( ) ) { if ( !( preHandle.preHandleMouseUp( ) ) ) { SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .getCommandStack( ) .rollback( ); return; } } boolean isTheme = false; if ( preHandle instanceof LibraryElementsToolHandleExtends && template instanceof Object[] ) { Object[] objs = (Object[]) template; if ( objs.length == 1 && objs[0] instanceof ThemeHandle ) { isTheme = true; } } if ( isTheme == false ) { super.handleDrop( ); // fix bugzilla#145284 if ( !preHandle.postHandleCreation( ) ) { SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .getCommandStack( ) .rollback( ); return; } } SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .getCommandStack( ) .commit( ); if ( isTheme == false ) { selectAddedObject( ); } } }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/54eda6c3b6f77d919dc1a641b2a8139491aeb6f5/ReportTemplateTransferDropTargetListener.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/palette/ReportTemplateTransferDropTargetListener.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1640,
7544,
12,
262,
202,
95,
202,
202,
6385,
1033,
1542,
273,
5035,
5912,
18,
588,
1442,
12,
262,
18,
588,
2283,
12,
11272,
202,
202,
8213,
18,
291,
5962,
12,
1542,
11272,
202,
202,
8213,
18,
291,
5510,
12,
1640,
4270,
11728,
12,
1542,
262,
11272,
202,
202,
2725,
2326,
691,
12,
11272,
202,
202,
2725,
2326,
4666,
1988,
12,
11272,
202,
202,
7469,
6364,
3259,
19581,
675,
3259,
273,
446,
31,
202,
202,
780,
906,
461,
273,
446,
31,
202,
202,
430,
261,
1542,
1276,
514,
262,
202,
202,
95,
1082,
202,
2338,
461,
273,
28093,
67,
13545,
67,
9344,
67,
10976,
31,
1082,
202,
1484,
3259,
273,
3360,
25863,
1733,
18,
588,
7469,
6364,
3259,
19581,
1265,
25863,
461,
12,
1542,
11272,
202,
202,
97,
202,
202,
12107,
309,
261,
1640,
4270,
4600,
12,
1542,
262,
262,
202,
202,
95,
1082,
202,
2338,
461,
273,
8040,
382,
3744,
1803,
18,
17463,
67,
5151,
31,
1082,
202,
921,
16400,
273,
19352,
12,
1542,
262,
18,
588,
17610,
12,
11272,
1082,
202,
430,
261,
16400,
1276,
14065,
3259,
262,
1082,
202,
95,
9506,
202,
1484,
3259,
273,
394,
14065,
6364,
19581,
12,
11272,
1082,
202,
97,
1082,
202,
12107,
309,
261,
16400,
1276,
14065,
1180,
1488,
6862,
202,
20081,
16400,
1276,
10842,
1494,
3259,
262,
1082,
202,
95,
9506,
202,
1484,
3259,
273,
394,
14065,
1494,
6364,
19581,
12,
11272,
1082,
202,
97,
1082,
202,
12107,
309,
261,
16400,
1276,
15791,
1662,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1640,
7544,
12,
262,
202,
95,
202,
202,
6385,
1033,
1542,
273,
5035,
5912,
18,
588,
1442,
12,
262,
18,
588,
2283,
12,
11272,
202,
202,
8213,
18,
291,
5962,
12,
1542,
11272,
202,
202,
8213,
18,
291,
5510,
12,
1640,
4270,
11728,
12,
1542,
262,
11272,
202,
202,
2725,
2326,
691,
12,
11272,
202,
202,
2725,
2326,
4666,
1988,
12,
11272,
202,
202,
7469,
6364,
3259,
19581,
675,
3259,
273,
446,
31,
202,
202,
780,
906,
461,
273,
446,
31,
202,
202,
430,
261,
1542,
1276,
514,
262,
202,
202,
95,
1082,
202,
2338,
461,
273,
28093,
67,
13545,
67,
9344,
67,
10976,
31,
1082,
202,
1484,
3259,
273,
3360,
25863,
1733,
18,
588,
2
] |
AST tmp2200_AST_in = (AST)_t;
|
AST tmp2202_AST_in = (AST)_t;
|
public final void systemhelpstate(AST _t) throws RecognitionException { AST systemhelpstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2320 = _t; AST tmp2183_AST_in = (AST)_t; match(_t,SYSTEMHELP); _t = _t.getFirstChild(); expression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case WINDOWNAME: { AST __t2322 = _t; AST tmp2184_AST_in = (AST)_t; match(_t,WINDOWNAME); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2322; _t = _t.getNextSibling(); break; } case ALTERNATEKEY: case COMMAND: case CONTENTS: case CONTEXT: case CONTEXTPOPUP: case FINDER: case FORCEFILE: case HELP: case HELPTOPIC: case KEY: case MULTIPLEKEY: case PARTIALKEY: case POSITION: case QUIT: case SETCONTENTS: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ALTERNATEKEY: { AST __t2324 = _t; AST tmp2185_AST_in = (AST)_t; match(_t,ALTERNATEKEY); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2324; _t = _t.getNextSibling(); break; } case CONTEXT: { AST __t2325 = _t; AST tmp2186_AST_in = (AST)_t; match(_t,CONTEXT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2325; _t = _t.getNextSibling(); break; } case CONTENTS: { AST tmp2187_AST_in = (AST)_t; match(_t,CONTENTS); _t = _t.getNextSibling(); break; } case SETCONTENTS: { AST __t2326 = _t; AST tmp2188_AST_in = (AST)_t; match(_t,SETCONTENTS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2326; _t = _t.getNextSibling(); break; } case FINDER: { AST tmp2189_AST_in = (AST)_t; match(_t,FINDER); _t = _t.getNextSibling(); break; } case CONTEXTPOPUP: { AST __t2327 = _t; AST tmp2190_AST_in = (AST)_t; match(_t,CONTEXTPOPUP); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2327; _t = _t.getNextSibling(); break; } case HELPTOPIC: { AST __t2328 = _t; AST tmp2191_AST_in = (AST)_t; match(_t,HELPTOPIC); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2328; _t = _t.getNextSibling(); break; } case KEY: { AST __t2329 = _t; AST tmp2192_AST_in = (AST)_t; match(_t,KEY); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2329; _t = _t.getNextSibling(); break; } case PARTIALKEY: { AST __t2330 = _t; AST tmp2193_AST_in = (AST)_t; match(_t,PARTIALKEY); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_3.member(_t.getType()))) { expression(_t); _t = _retTree; } else if ((_t.getType()==3)) { } else { throw new NoViableAltException(_t); } } _t = __t2330; _t = _t.getNextSibling(); break; } case MULTIPLEKEY: { AST __t2332 = _t; AST tmp2194_AST_in = (AST)_t; match(_t,MULTIPLEKEY); _t = _t.getFirstChild(); expression(_t); _t = _retTree; AST tmp2195_AST_in = (AST)_t; match(_t,TEXT); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t2332; _t = _t.getNextSibling(); break; } case COMMAND: { AST __t2333 = _t; AST tmp2196_AST_in = (AST)_t; match(_t,COMMAND); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2333; _t = _t.getNextSibling(); break; } case POSITION: { AST __t2334 = _t; AST tmp2197_AST_in = (AST)_t; match(_t,POSITION); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case MAXIMIZE: { AST tmp2198_AST_in = (AST)_t; match(_t,MAXIMIZE); _t = _t.getNextSibling(); break; } case X: { AST tmp2199_AST_in = (AST)_t; match(_t,X); _t = _t.getNextSibling(); expression(_t); _t = _retTree; AST tmp2200_AST_in = (AST)_t; match(_t,Y); _t = _t.getNextSibling(); expression(_t); _t = _retTree; AST tmp2201_AST_in = (AST)_t; match(_t,WIDTH); _t = _t.getNextSibling(); expression(_t); _t = _retTree; AST tmp2202_AST_in = (AST)_t; match(_t,HEIGHT); _t = _t.getNextSibling(); expression(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } _t = __t2334; _t = _t.getNextSibling(); break; } case FORCEFILE: { AST tmp2203_AST_in = (AST)_t; match(_t,FORCEFILE); _t = _t.getNextSibling(); break; } case HELP: { AST tmp2204_AST_in = (AST)_t; match(_t,HELP); _t = _t.getNextSibling(); break; } case QUIT: { AST tmp2205_AST_in = (AST)_t; match(_t,QUIT); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t2320; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2619,
5201,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
2619,
5201,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
22,
31273,
273,
389,
88,
31,
202,
202,
9053,
1853,
22,
31672,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
14318,
27396,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
8692,
24899,
88,
1769,
202,
202,
67,
88,
273,
389,
1349,
2471,
31,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
24482,
7306,
1985,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
22,
1578,
22,
273,
389,
88,
31,
1082,
202,
9053,
1853,
22,
29242,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
23407,
1985,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
8692,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
67,
88,
273,
1001,
88,
22,
1578,
22,
31,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
7981,
6519,
1777,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
2619,
5201,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
2619,
5201,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
22,
31273,
273,
389,
88,
31,
202,
202,
9053,
1853,
22,
31672,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
14318,
27396,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
8692,
24899,
88,
1769,
202,
202,
67,
88,
273,
389,
1349,
2471,
31,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
2
] |
if (wasKilled || runstate == TaskStatus.FAILED) {
|
if (needCleanup) {
|
public synchronized void taskFinished() { long start = System.currentTimeMillis(); // // Wait until task reports as done. If it hasn't reported in, // wait for a second and try again. // while (! done && (System.currentTimeMillis() - start < WAIT_FOR_DONE)) { try { Thread.sleep(1000); } catch (InterruptedException ie) { } } // // Change state to success or failure, depending on whether // task was 'done' before terminating // if (done) { runstate = TaskStatus.SUCCEEDED; } else { if (!wasKilled) { failures += 1; } runstate = TaskStatus.FAILED; } // // If the task has failed, or if the task was killAndCleanup()'ed, // we should clean up right away. We only wait to cleanup // if the task succeeded, and its results might be useful // later on to downstream job processing. // if (wasKilled || runstate == TaskStatus.FAILED) { try { cleanup(); } catch (IOException ie) { } } }
|
51718 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51718/9f35a9d9e0b937214403c006dd596e262f010d7b/TaskTracker.java/clean/src/java/org/apache/hadoop/mapred/TaskTracker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
3852,
918,
1562,
10577,
1435,
288,
5411,
1525,
787,
273,
2332,
18,
2972,
28512,
5621,
5411,
368,
5411,
368,
5838,
3180,
1562,
10557,
487,
2731,
18,
225,
971,
518,
13342,
1404,
14010,
316,
16,
5411,
368,
2529,
364,
279,
2205,
471,
775,
3382,
18,
5411,
368,
5411,
1323,
16051,
2731,
597,
261,
3163,
18,
2972,
28512,
1435,
300,
787,
411,
26859,
67,
7473,
67,
26875,
3719,
288,
7734,
775,
288,
10792,
4884,
18,
19607,
12,
18088,
1769,
7734,
289,
1044,
261,
24485,
503,
9228,
13,
288,
7734,
289,
5411,
289,
5411,
368,
5411,
368,
7576,
919,
358,
2216,
578,
5166,
16,
8353,
603,
2856,
5411,
368,
1562,
1703,
296,
8734,
11,
1865,
28619,
5411,
368,
5411,
309,
261,
8734,
13,
288,
7734,
1086,
2019,
273,
29628,
18,
6639,
39,
26031,
31,
5411,
289,
469,
288,
7734,
309,
16051,
17416,
47,
13148,
13,
288,
5375,
11720,
1011,
404,
31,
7734,
289,
7734,
1086,
2019,
273,
29628,
18,
11965,
31,
5411,
289,
5411,
368,
5411,
368,
971,
326,
1562,
711,
2535,
16,
578,
309,
326,
1562,
1703,
8673,
1876,
15007,
11866,
329,
16,
5411,
368,
732,
1410,
2721,
731,
2145,
10804,
18,
225,
1660,
1338,
2529,
358,
6686,
5411,
368,
309,
326,
1562,
15784,
16,
471,
2097,
1686,
4825,
506,
5301,
5411,
368,
5137,
603,
358,
18186,
1719,
4929,
18,
5411,
368,
5411,
309,
261,
14891,
15007,
13,
288,
7734,
775,
288,
10792,
6686,
5621,
7734,
289,
1044,
261,
14106,
9228,
13,
288,
7734,
289,
5411,
289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
3852,
918,
1562,
10577,
1435,
288,
5411,
1525,
787,
273,
2332,
18,
2972,
28512,
5621,
5411,
368,
5411,
368,
5838,
3180,
1562,
10557,
487,
2731,
18,
225,
971,
518,
13342,
1404,
14010,
316,
16,
5411,
368,
2529,
364,
279,
2205,
471,
775,
3382,
18,
5411,
368,
5411,
1323,
16051,
2731,
597,
261,
3163,
18,
2972,
28512,
1435,
300,
787,
411,
26859,
67,
7473,
67,
26875,
3719,
288,
7734,
775,
288,
10792,
4884,
18,
19607,
12,
18088,
1769,
7734,
289,
1044,
261,
24485,
503,
9228,
13,
288,
7734,
289,
5411,
289,
5411,
368,
5411,
368,
7576,
919,
358,
2216,
578,
5166,
16,
8353,
603,
2856,
5411,
368,
1562,
1703,
296,
8734,
11,
1865,
28619,
5411,
368,
5411,
309,
2
] |
String actionUrl = context.componentActionURL();
|
String actionUrl = AjaxUtils.ajaxComponentActionUrl(context);
|
public void appendToResponse(WOResponse response, WOContext context) { WOComponent component = context.component(); String id; if (_idAssociation == null) { id = AjaxUtils.toSafeElementID(context.elementID()); } else { id = (String) _idAssociation.valueInComponent(component); } String elementName = (String) _elementNameAssociation.valueInComponent(component); String actionUrl = context.componentActionURL(); super.appendToResponse(response, context); response.appendContentString("<"); response.appendContentString(elementName); response.appendContentString(" id = \""); response.appendContentString(id); response.appendContentString("\""); if (_classAssociation != null) { String className = (String) _classAssociation.valueInComponent(component); response.appendContentString(" class = \""); response.appendContentString(id); response.appendContentString("\""); } response.appendContentString(">"); _appendValueAttributeToResponse(response, context); response.appendContentString("</"); response.appendContentString(elementName); response.appendContentString(">"); AjaxUtils.appendScriptHeader(response); response.appendContentString("new Ajax.InPlaceEditor('"); response.appendContentString(id); response.appendContentString("', '"); response.appendContentString(actionUrl); response.appendContentString("',"); NSDictionary options = createAjaxOptions(component); AjaxOptions.appendToResponse(options, response, context); response.appendContentString(");"); AjaxUtils.appendScriptFooter(response); }
|
810 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/810/ea46a1a6ecb4f8e0f05fbe9e6db1a5c8943cf44a/AjaxInPlaceEditor.java/buggy/Wonder/Ajax/Ajax/Sources/er/ajax/AjaxInPlaceEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
16022,
1064,
12,
59,
51,
1064,
766,
16,
678,
51,
1042,
819,
13,
288,
565,
678,
51,
1841,
1794,
273,
819,
18,
4652,
5621,
565,
514,
612,
31,
565,
309,
261,
67,
350,
7174,
422,
446,
13,
288,
1377,
612,
273,
18772,
1989,
18,
869,
9890,
1046,
734,
12,
2472,
18,
2956,
734,
10663,
565,
289,
565,
469,
288,
1377,
612,
273,
261,
780,
13,
389,
350,
7174,
18,
1132,
382,
1841,
12,
4652,
1769,
565,
289,
565,
514,
14453,
273,
261,
780,
13,
389,
2956,
461,
7174,
18,
1132,
382,
1841,
12,
4652,
1769,
565,
514,
1301,
1489,
273,
18772,
1989,
18,
12813,
1841,
1803,
1489,
12,
2472,
1769,
565,
2240,
18,
6923,
774,
1064,
12,
2740,
16,
819,
1769,
565,
766,
18,
6923,
1350,
780,
2932,
32,
8863,
565,
766,
18,
6923,
1350,
780,
12,
2956,
461,
1769,
565,
766,
18,
6923,
1350,
780,
2932,
612,
273,
1239,
8863,
565,
766,
18,
6923,
1350,
780,
12,
350,
1769,
565,
766,
18,
6923,
1350,
780,
2932,
8530,
1769,
565,
309,
261,
67,
1106,
7174,
480,
446,
13,
288,
1377,
514,
2658,
273,
261,
780,
13,
389,
1106,
7174,
18,
1132,
382,
1841,
12,
4652,
1769,
1377,
766,
18,
6923,
1350,
780,
2932,
667,
273,
1239,
8863,
1377,
766,
18,
6923,
1350,
780,
12,
350,
1769,
1377,
766,
18,
6923,
1350,
780,
2932,
8530,
1769,
565,
289,
565,
766,
18,
6923,
1350,
780,
2932,
2984,
1769,
565,
389,
6923,
620,
1499,
774,
1064,
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,
282,
1071,
918,
16022,
1064,
12,
59,
51,
1064,
766,
16,
678,
51,
1042,
819,
13,
288,
565,
678,
51,
1841,
1794,
273,
819,
18,
4652,
5621,
565,
514,
612,
31,
565,
309,
261,
67,
350,
7174,
422,
446,
13,
288,
1377,
612,
273,
18772,
1989,
18,
869,
9890,
1046,
734,
12,
2472,
18,
2956,
734,
10663,
565,
289,
565,
469,
288,
1377,
612,
273,
261,
780,
13,
389,
350,
7174,
18,
1132,
382,
1841,
12,
4652,
1769,
565,
289,
565,
514,
14453,
273,
261,
780,
13,
389,
2956,
461,
7174,
18,
1132,
382,
1841,
12,
4652,
1769,
565,
514,
1301,
1489,
273,
18772,
1989,
18,
12813,
1841,
1803,
1489,
12,
2472,
1769,
565,
2240,
18,
6923,
774,
1064,
2
] |
"Get Patch", JOptionPane.WARNING_MESSAGE);
|
"Get Patch", JOptionPane.WARNING_MESSAGE);
|
public void requestPatchDump(int bankNum, int patchNum) { if (sysexRequestDump == null) { JOptionPane.showMessageDialog (PatchEdit.getInstance(), "The " + toString() + " driver does not support patch getting.\n\n" + "Please start the patch dump manually...", "Get Patch", JOptionPane.WARNING_MESSAGE); } else { // Request dumps for all 100 RAM peformances (that are 5 * 100 requests!!!) for(int patchNo = 0; patchNo < patchNumbers.length; patchNo++) { for(int count = 0; count < QuasarConstants.QUASAR_SYSEX_PERFORMANCE_REQUEST.length; count++) { this.sysexRequestDump = new SysexHandler( QuasarConstants.QUASAR_SYSEX_PERFORMANCE_REQUEST[count] ); send(sysexRequestDump.toSysexMessage(getDeviceID(), new NameValue("perfNumber", patchNo + QuasarConstants.QUASAR_SYSEX_PERFORMANCE_OFFSET) ) ); try { // Wait a little bit so that everything is in the correct sequence Thread.sleep(50); } catch (Exception ex) { ErrorMsg.reportError("Error", "Error requesting all Quasar RAM performances.", ex); } } } } }
|
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/eefdbe0e7e8c784170badc4536ec3a902e725b43/QuasimidiQuasarBankDriver.java/clean/JSynthLib/synthdrivers/QuasimidiQuasar/QuasimidiQuasarBankDriver.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
590,
7332,
10628,
12,
474,
11218,
2578,
16,
509,
4729,
2578,
13,
288,
9506,
202,
430,
261,
9009,
20909,
691,
10628,
422,
446,
13,
288,
1082,
202,
46,
1895,
8485,
18,
4500,
1079,
6353,
9506,
202,
12,
7332,
4666,
18,
588,
1442,
9334,
6862,
315,
1986,
315,
397,
1762,
1435,
6862,
397,
315,
3419,
1552,
486,
2865,
4729,
8742,
8403,
82,
64,
82,
6,
6862,
397,
315,
8496,
787,
326,
4729,
4657,
10036,
7070,
16,
6862,
315,
967,
12042,
3113,
804,
1895,
8485,
18,
9511,
67,
8723,
1769,
9506,
202,
97,
202,
202,
12107,
288,
1082,
202,
759,
1567,
6711,
364,
777,
2130,
30327,
2804,
687,
6872,
261,
19056,
854,
1381,
380,
2130,
3285,
8548,
24949,
1082,
202,
1884,
12,
474,
4729,
2279,
273,
374,
31,
4729,
2279,
411,
4729,
10072,
18,
2469,
31,
4729,
2279,
27245,
288,
9506,
202,
1884,
12,
474,
1056,
273,
374,
31,
1056,
411,
4783,
345,
297,
2918,
18,
3500,
3033,
985,
67,
7474,
1090,
60,
67,
3194,
4983,
4722,
67,
5519,
18,
2469,
31,
1056,
27245,
288,
6862,
25083,
202,
2211,
18,
9009,
20909,
691,
10628,
273,
394,
16455,
20909,
1503,
12,
4783,
345,
297,
2918,
18,
3500,
3033,
985,
67,
7474,
1090,
60,
67,
3194,
4983,
4722,
67,
5519,
63,
1883,
65,
11272,
6862,
25083,
202,
4661,
12,
9009,
20909,
691,
10628,
18,
869,
10876,
20909,
1079,
12,
588,
3654,
734,
9334,
6862,
6862,
9506,
394,
1770,
620,
2932,
19825,
1854,
3113,
4729,
2279,
397,
4783,
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,
590,
7332,
10628,
12,
474,
11218,
2578,
16,
509,
4729,
2578,
13,
288,
9506,
202,
430,
261,
9009,
20909,
691,
10628,
422,
446,
13,
288,
1082,
202,
46,
1895,
8485,
18,
4500,
1079,
6353,
9506,
202,
12,
7332,
4666,
18,
588,
1442,
9334,
6862,
315,
1986,
315,
397,
1762,
1435,
6862,
397,
315,
3419,
1552,
486,
2865,
4729,
8742,
8403,
82,
64,
82,
6,
6862,
397,
315,
8496,
787,
326,
4729,
4657,
10036,
7070,
16,
6862,
315,
967,
12042,
3113,
804,
1895,
8485,
18,
9511,
67,
8723,
1769,
9506,
202,
97,
202,
202,
12107,
288,
1082,
202,
759,
1567,
6711,
364,
777,
2130,
30327,
2804,
687,
6872,
261,
19056,
854,
1381,
380,
2130,
3285,
8548,
2
] |
public org.quickfix.field.UnderlyingProduct getUnderlyingProduct() throws FieldNotFound { org.quickfix.field.UnderlyingProduct value = new org.quickfix.field.UnderlyingProduct();
|
public quickfix.field.UnderlyingProduct getUnderlyingProduct() throws FieldNotFound { quickfix.field.UnderlyingProduct value = new quickfix.field.UnderlyingProduct();
|
public org.quickfix.field.UnderlyingProduct getUnderlyingProduct() throws FieldNotFound { org.quickfix.field.UnderlyingProduct value = new org.quickfix.field.UnderlyingProduct(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/MarketDataIncrementalRefresh.java/clean/src/java/src/quickfix/fix44/MarketDataIncrementalRefresh.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4133,
10833,
765,
6291,
4133,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4133,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4133,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4133,
10833,
765,
6291,
4133,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4133,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4133,
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
] |
VM_Address ti, VM_Address fp) throws VM_PragmaNoInline, VM_PragmaNoOptCompile {
|
VM_Address ti, VM_Address fp) {
|
static int sysVirtualProcessorCreate(VM_Address jtoc, VM_Address pr, VM_Address ti, VM_Address fp) throws VM_PragmaNoInline, VM_PragmaNoOptCompile { return VM_SysCall.sysVirtualProcessorCreate(jtoc, pr, ti, fp); }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/d0cb1b5453bd08ae3df00e24ad39a8844be64150/VM.java/buggy/rvm/src/vm/VM.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
509,
2589,
6466,
5164,
1684,
12,
7397,
67,
1887,
525,
1391,
16,
8251,
67,
1887,
846,
16,
4766,
3639,
8251,
67,
1887,
11374,
16,
8251,
67,
1887,
4253,
13,
377,
1216,
8251,
67,
2050,
9454,
2279,
10870,
16,
8251,
67,
2050,
9454,
2279,
6179,
9937,
288,
565,
327,
8251,
67,
12712,
1477,
18,
9499,
6466,
5164,
1684,
12,
78,
1391,
16,
846,
16,
11374,
16,
4253,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
509,
2589,
6466,
5164,
1684,
12,
7397,
67,
1887,
525,
1391,
16,
8251,
67,
1887,
846,
16,
4766,
3639,
8251,
67,
1887,
11374,
16,
8251,
67,
1887,
4253,
13,
377,
1216,
8251,
67,
2050,
9454,
2279,
10870,
16,
8251,
67,
2050,
9454,
2279,
6179,
9937,
288,
565,
327,
8251,
67,
12712,
1477,
18,
9499,
6466,
5164,
1684,
12,
78,
1391,
16,
846,
16,
11374,
16,
4253,
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
] |
case 25: { String s = yytext(); w.write(s); if(debug) log("Matched @page: "+s); } case 38: break; case 13: { String s = yytext(); w.write(s); if(debug) log("Matched number: "+s); } case 39: break;
|
public Yytoken yylex() throws java.io.IOException { int zzInput; int zzAction; // cached fields: int zzCurrentPosL; int zzMarkedPosL; int zzEndReadL = zzEndRead; char [] zzBufferL = zzBuffer; char [] zzCMapL = ZZ_CMAP; int [] zzTransL = ZZ_TRANS; int [] zzRowMapL = ZZ_ROWMAP; int [] zzAttrL = ZZ_ATTRIBUTE; while (true) { zzMarkedPosL = zzMarkedPos; zzAction = -1; zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL; zzState = zzLexicalState; zzForAction: { while (true) { if (zzCurrentPosL < zzEndReadL) zzInput = zzBufferL[zzCurrentPosL++]; else if (zzAtEOF) { zzInput = YYEOF; break zzForAction; } else { // store back cached positions zzCurrentPos = zzCurrentPosL; zzMarkedPos = zzMarkedPosL; boolean eof = zzRefill(); // get translated positions and possibly new buffer zzCurrentPosL = zzCurrentPos; zzMarkedPosL = zzMarkedPos; zzBufferL = zzBuffer; zzEndReadL = zzEndRead; if (eof) { zzInput = YYEOF; break zzForAction; } else { zzInput = zzBufferL[zzCurrentPosL++]; } } int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ]; if (zzNext == -1) break zzForAction; zzState = zzNext; int zzAttributes = zzAttrL[zzState]; if ( (zzAttributes & 1) == 1 ) { zzAction = zzState; zzMarkedPosL = zzCurrentPosL; if ( (zzAttributes & 8) == 8 ) break zzForAction; } } } // store back cached position zzMarkedPos = zzMarkedPosL; switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) { case 26: { String s = yytext(); w.write(s); if(debug) log("Matched @media: "+s); } case 32: break; case 18: { String s = yytext(); w.write(s); if(debug) log("Matched unicode: "+s); } case 33: break; case 8: { String s = yytext(); w.write(s); if(debug) log("Matched close braces: "+s); } case 34: break; case 22: { String s = yytext(); w.write(s); if(debug) log("Matched HTML comment: "+s); } case 35: break; case 15: { String s = yytext(); w.write(s); if(debug) log("Matched ~=: "+s); } case 36: break; case 12: { String s = yytext(); if(debug) log("Matched string: "+s); if(paranoidStringCheck && s.indexOf(':') != -1) { w.write("/* Deleted disallowed string */"); log("Deleted disallowed string: "+s); } else { w.write(s); } } case 37: break; case 25: { String s = yytext(); w.write(s); if(debug) log("Matched @page: "+s); } case 38: break; case 13: { String s = yytext(); w.write(s); if(debug) log("Matched number: "+s); } case 39: break; case 1: { String s = yytext(); char c = s.charAt(0); log("Matched anything: "+yytext()+" - ignoring"); w.write("/* ignored unmatched char: "+c+" */"); // single char cannot break out of comment } case 40: break; case 6: { String s = yytext(); w.write(s); if(debug) log("Matched semicolon: "+s); } case 41: break; case 20: { String s = yytext(); if(debug) log("Got hexcolor: "+s); w.write(s); } case 42: break; case 7: { String s = yytext(); w.write(s); if(debug) log("Matched open braces: "+s); } case 43: break; case 2: { String s = yytext(); w.write(s); if(debug) log("Matched ident: "+s); } case 44: break; case 24: { String s = yytext(); w.write(s); if(debug) log("Matched unicode range: "+s); } case 45: break; case 29: { String s = yytext(); w.write(s); if(debug) log("Matched @font-face: "+s); } case 46: break; case 9: { String s = yytext(); if(s.startsWith("url")) throwError("Invalid contents of url()"); w.write(s); if(debug) log("Matched function start: "+s); } case 47: break; case 17: { String s = yytext(); w.write(s); if(debug) log("Matched HTML comment: "+s); } case 48: break; case 3: { String s = yytext(); w.write(s); if(debug) log("Matched whitespace: "+s); } case 49: break; case 23: { String s = yytext(); if(debug) log("Ignoring unrecognizable url: "+s); w.write("/* Ignoring unmatchable URL */url()"); } case 50: break; case 28: { String s = yytext(); if(debug) log("Found @import: "+s); s = s.substring("@import".length()); s = s.trim(); DecodedStringThingy dst = new DecodedStringThingy(s); s = dst.data; if(debug) log("URL: "+s); s = processImportURL(s); dst.data = s; if(debug) log("Processed URL: "+s); if(dst.quote == ' ') dst.quote = '\"'; if (!(s == null || s.equals(""))) { if(debug) log("URL now: "+s); s = "@import "+dst.toString(); if(debug) log("Writing: "+s); w.write(s); } else if(debug) log("Dropped @import"); } case 51: break; case 31: { String s = yytext(); w.write(s); if(debug) log("Matched important: "+s); } case 52: break; case 21: { String s = yytext(); StringBuffer sb = new StringBuffer(s.length()); sb.append("/* "); boolean inPrefix = true; for(int i=2;i<s.length()-2;i++) { char c = s.charAt(i); if(inPrefix && Character.isWhitespace(c)) { continue; } inPrefix = false; if(Character.isDigit(c) || Character.isWhitespace(c) || Character.isLetter(c) || c == '.' || c == '_' || c == '-') { // No @, no !, etc; IE has been known to do things with comments // in CSS, and other browsers may too sb.append(c); } } while(Character.isWhitespace(sb.charAt(sb.length()-1))) sb.deleteCharAt(sb.length()-1); sb.append(" */"); w.write(sb.toString()); if(debug) log("Matched comment: "+s+" -> "+sb.toString()); } case 53: break; case 19: { if(!deleteErrors) { throwError("Unknown @identifier "+yytext()); } else { String s = yytext(); if(debug) log("Discarded identifier: "+s); // Ignore } } case 54: break; case 27: { // This is horrible. However it seems that there is no other way to do it with either jflex or CUP, as {URL} cannot be an unambiguous token :( String s = yytext(); if(debug) log("Recognized URL: "+s); DecodedStringThingy dst = new DecodedStringThingy(s); if(!dst.url) { throw new IllegalStateException("parsing url().. isn't a url()"); } if(dst.suffix.length() > 0) { yypushback(dst.suffix.length()); dst.suffix = ""; } s = dst.data; if(debug) log("URL now: "+s); s = processURL(s); dst.data = s; if(s == null || s.equals("")) { if(debug) log("URL invalid"); w.write("url()"); } else { s = dst.toString(); if(debug) log("Writing: "+s); w.write(s); } } case 55: break; case 11: { String s = yytext(); w.write(s); if(debug) log("Matched measurement: "+s); } case 56: break; case 16: { String s = yytext(); w.write(s); if(debug) log("Matched |=: "+s); } case 57: break; case 30: { String s = yytext(); detectedCharset = s; if(debug) log("Matched and ignoring charset: "+s); // Ignore } case 58: break; case 10: { if(postBadImportFlag) { // Ignore postBadImportFlag = false; if(debug) log("Ignoring mediums list because after bad import: "+ yytext()); } else { String s = yytext(); w.write(s); if(debug) log("Matched and passing on mediums list: "+s); } } case 59: break; case 4: { String s = yytext(); w.write(s); if(debug) log("Matched single char: "+s); } case 60: break; case 14: { String s = yytext(); w.write(s); if(debug) log("Matched #name: "+s); } case 61: break; case 5: { String s = yytext(); w.write(s); if(debug) log("Matched function end: "+s); } case 62: break; default: if (zzInput == YYEOF && zzStartRead == zzCurrentPos) { zzAtEOF = true; return null; } else { zzScanError(ZZ_NO_MATCH); } } } }
|
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/8611b2af3ba1b1861afc23367621eb525f20ee2a/CSSTokenizerFilter.java/buggy/src/freenet/clients/http/filter/CSSTokenizerFilter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1624,
93,
2316,
677,
1362,
92,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
11273,
1210,
31,
565,
509,
11273,
1803,
31,
565,
368,
3472,
1466,
30,
565,
509,
11273,
3935,
1616,
48,
31,
565,
509,
11273,
21486,
1616,
48,
31,
565,
509,
11273,
1638,
1994,
48,
273,
11273,
1638,
1994,
31,
565,
1149,
5378,
11273,
1892,
48,
273,
11273,
1892,
31,
565,
1149,
5378,
11273,
39,
863,
48,
273,
2285,
62,
67,
39,
8352,
31,
565,
509,
5378,
11273,
1429,
48,
273,
2285,
62,
67,
16596,
31,
565,
509,
5378,
11273,
1999,
863,
48,
273,
2285,
62,
67,
11226,
8352,
31,
565,
509,
5378,
11273,
3843,
48,
273,
2285,
62,
67,
11616,
31,
565,
1323,
261,
3767,
13,
288,
1377,
11273,
21486,
1616,
48,
273,
11273,
21486,
1616,
31,
1377,
11273,
1803,
273,
300,
21,
31,
1377,
11273,
3935,
1616,
48,
273,
11273,
3935,
1616,
273,
11273,
1685,
1994,
273,
11273,
21486,
1616,
48,
31,
3639,
11273,
1119,
273,
11273,
14756,
1706,
1119,
31,
1377,
11273,
1290,
1803,
30,
288,
3639,
1323,
261,
3767,
13,
288,
2868,
309,
261,
6378,
3935,
1616,
48,
411,
11273,
1638,
1994,
48,
13,
5411,
11273,
1210,
273,
11273,
1892,
48,
63,
6378,
3935,
1616,
48,
9904,
15533,
1850,
469,
309,
261,
6378,
861,
12706,
13,
288,
5411,
11273,
1210,
273,
1624,
61,
12706,
31,
5411,
898,
11273,
1290,
1803,
31,
1850,
289,
1850,
469,
288,
5411,
368,
1707,
1473,
3472,
6865,
5411,
11273,
3935,
1616,
225,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1624,
93,
2316,
677,
1362,
92,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
11273,
1210,
31,
565,
509,
11273,
1803,
31,
565,
368,
3472,
1466,
30,
565,
509,
11273,
3935,
1616,
48,
31,
565,
509,
11273,
21486,
1616,
48,
31,
565,
509,
11273,
1638,
1994,
48,
273,
11273,
1638,
1994,
31,
565,
1149,
5378,
11273,
1892,
48,
273,
11273,
1892,
31,
565,
1149,
5378,
11273,
39,
863,
48,
273,
2285,
62,
67,
39,
8352,
31,
565,
509,
5378,
11273,
1429,
48,
273,
2285,
62,
67,
16596,
31,
565,
509,
5378,
11273,
1999,
863,
48,
273,
2285,
62,
67,
11226,
8352,
31,
565,
509,
5378,
11273,
3843,
48,
273,
2285,
62,
67,
11616,
31,
565,
2
] |
|
for (int i = node.ways - 1; i >= 0; i--) {
|
for (int i = node.ways - 1; i >= 0; i--) {
|
private FlatNode whoShouldFire(FlatNode current, HashMap executionCounts, SimulationCounter counters) { FlatNode start = current; //breadth first search from bottom if (start == null) start = toplevel; HashSet visited = new HashSet(); Vector queue = new Vector(); FlatNode node; FlatNode mostDownStream = null; //System.out.println("Starting from " + start.contents.getName()); queue.add(start); while (!queue.isEmpty()) { node = (FlatNode)queue.get(0); visited.add(node); if (canFire(node, executionCounts, counters)) { mostDownStream = node; } queue.remove(0); //to keep the order of the nodes of a splitjoin in the correct order //(the order defined by the joiner) add to the queue in the reverse order for (int i = node.ways - 1; i >= 0; i--) { if (!visited.contains(node.edges[i])) queue.add(node.edges[i]); } } //no node can fire if (mostDownStream == current) return null; return mostDownStream; }
|
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/a24ade435503132e6d891827930ffce7f1e0abbb/Simulator.java/clean/streams/src/at/dms/kjc/raw/Simulator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
20396,
907,
10354,
14309,
9723,
12,
16384,
907,
783,
16,
4317,
4588,
9211,
16,
4405,
565,
9587,
6234,
4789,
13199,
13,
377,
288,
202,
16384,
907,
787,
273,
783,
31,
202,
759,
70,
25254,
1122,
1623,
628,
5469,
202,
430,
261,
1937,
422,
446,
13,
202,
565,
787,
273,
28999,
31,
202,
13482,
9711,
273,
394,
6847,
5621,
202,
5018,
2389,
273,
394,
5589,
5621,
202,
16384,
907,
756,
31,
202,
16384,
907,
4486,
4164,
1228,
273,
446,
31,
9506,
202,
759,
3163,
18,
659,
18,
8222,
2932,
11715,
628,
315,
397,
787,
18,
3980,
18,
17994,
10663,
202,
202,
4000,
18,
1289,
12,
1937,
1769,
202,
17523,
16051,
4000,
18,
291,
1921,
10756,
288,
202,
565,
756,
273,
261,
16384,
907,
13,
4000,
18,
588,
12,
20,
1769,
202,
565,
9711,
18,
1289,
12,
2159,
1769,
202,
565,
309,
261,
4169,
9723,
12,
2159,
16,
4588,
9211,
16,
13199,
3719,
288,
202,
202,
10329,
4164,
1228,
273,
756,
31,
202,
565,
289,
202,
565,
2389,
18,
4479,
12,
20,
1769,
202,
565,
368,
869,
3455,
326,
1353,
434,
326,
2199,
434,
279,
1416,
5701,
316,
326,
3434,
1353,
202,
565,
368,
12,
5787,
1353,
2553,
635,
326,
29620,
13,
527,
358,
326,
2389,
316,
326,
4219,
1353,
202,
565,
364,
261,
474,
277,
273,
756,
18,
3052,
300,
404,
31,
277,
1545,
374,
31,
277,
413,
13,
288,
202,
202,
430,
16051,
30129,
18,
12298,
12,
2159,
18,
8746,
63,
77,
22643,
1082,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
20396,
907,
10354,
14309,
9723,
12,
16384,
907,
783,
16,
4317,
4588,
9211,
16,
4405,
565,
9587,
6234,
4789,
13199,
13,
377,
288,
202,
16384,
907,
787,
273,
783,
31,
202,
759,
70,
25254,
1122,
1623,
628,
5469,
202,
430,
261,
1937,
422,
446,
13,
202,
565,
787,
273,
28999,
31,
202,
13482,
9711,
273,
394,
6847,
5621,
202,
5018,
2389,
273,
394,
5589,
5621,
202,
16384,
907,
756,
31,
202,
16384,
907,
4486,
4164,
1228,
273,
446,
31,
9506,
202,
759,
3163,
18,
659,
18,
8222,
2932,
11715,
628,
315,
397,
787,
18,
3980,
18,
17994,
10663,
202,
202,
4000,
18,
1289,
12,
1937,
1769,
202,
17523,
16051,
4000,
18,
291,
1921,
10756,
288,
202,
565,
2
] |
try { setOnclick((String) evalAttr("onclick", getOnclickExpr(), String.class)); } catch (NullAttributeException ex) { }
|
if ((string = EvalHelper.evalString("onchange", getOnchangeExpr(), this, pageContext)) != null) setOnchange(string);
|
private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accesskey", getAccesskeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAlt((String) evalAttr("alt", getAltExpr(), String.class)); } catch (NullAttributeException ex) { } try { setAltKey((String) evalAttr("altKey", getAltKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setMaxlength((String) evalAttr("maxlength", getMaxlengthExpr(), String.class)); } catch (NullAttributeException ex) { } try { setName((String) evalAttr("name", getNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnblur((String) evalAttr("onblur", getOnblurExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnchange((String) evalAttr("onchange", getOnchangeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnclick((String) evalAttr("onclick", getOnclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOndblclick((String) evalAttr("ondblclick", getOndblclickExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnfocus((String) evalAttr("onfocus", getOnfocusExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypressExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedownExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemoveExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseoutExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseoverExpr(), String.class)); } catch (NullAttributeException ex) { } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseupExpr(), String.class)); } catch (NullAttributeException ex) { } try { setProperty((String) evalAttr("property", getPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setReadonly(((Boolean) evalAttr("readonly", getReadonlyExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setStyle((String) evalAttr("style", getStyleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setSize((String) evalAttr("size", getSizeExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleClass((String) evalAttr("styleClass", getStyleClassExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleId((String) evalAttr("styleId", getStyleIdExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTabindex((String) evalAttr("tabindex", getTabindexExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitle((String) evalAttr("title", getTitleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setTitleKey((String) evalAttr("titleKey", getTitleKeyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setValue((String) evalAttr("value", getValueExpr(), String.class)); } catch (NullAttributeException ex) { } }
|
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/022bd23c954cf673e53731849d562b3c295473f1/ELTextTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELTextTag.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
856,
3113,
21909,
856,
4742,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
8853,
12443,
12,
5507,
13,
5302,
3843,
2932,
9278,
3113,
336,
8853,
4742,
9334,
4766,
5411,
3411,
18,
1106,
13,
2934,
13491,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
15034,
12443,
12,
5507,
13,
5302,
3843,
2932,
19626,
3113,
8088,
329,
4742,
9334,
4766,
6647,
3411,
18,
1106,
13,
2934,
15604,
16708,
10663,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
10851,
2469,
12443,
780,
13,
5302,
3843,
2932,
27875,
3113,
7288,
2469,
4742,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
6788,
12443,
780,
13,
5302,
3843,
2932,
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,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
856,
3113,
21909,
856,
4742,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
12443,
780,
13,
5302,
3843,
2932,
2390,
3113,
336,
10655,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
775,
288,
5411,
444,
10655,
653,
12443,
780,
13,
5302,
3843,
2932,
2390,
653,
3113,
336,
10655,
653,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
3639,
289,
3639,
2
] |
treeStackSplitPane.setDividerLocation(0.5);
|
public void awake() { panel = new JPanel(new BorderLayout()); treeStackSplitPane = new JSplitPane(); treeStackSplitPane.setBorder(null); treeStackSplitPane.setOrientation(JSplitPane.HORIZONTAL_SPLIT); treeStackSplitPane.setLeftComponent(createTreePanel()); treeStackSplitPane.setRightComponent(createListInfoPanel()); treeStackSplitPane.setContinuousLayout(true); treeStackSplitPane.setOneTouchExpandable(true); ioSplitPane = new JSplitPane(); ioSplitPane.setBorder(null); ioSplitPane.setOrientation(JSplitPane.VERTICAL_SPLIT); ioSplitPane.setLeftComponent(createInputPanel()); ioSplitPane.setRightComponent(createOutputPanel()); ioSplitPane.setContinuousLayout(true); ioSplitPane.setOneTouchExpandable(true); ioTreeSplitPane = new JSplitPane(); ioTreeSplitPane.setBorder(null); ioTreeSplitPane.setOrientation(JSplitPane.HORIZONTAL_SPLIT); ioTreeSplitPane.setLeftComponent(ioSplitPane); ioTreeSplitPane.setRightComponent(treeStackSplitPane); ioTreeSplitPane.setContinuousLayout(true); ioTreeSplitPane.setOneTouchExpandable(true); panel.add(createControlPanel(), BorderLayout.NORTH); panel.add(ioTreeSplitPane, BorderLayout.CENTER); debuggerLocal = new DebuggerLocal(this); recorder = new DebuggerRecorder(this); player = new DebuggerPlayer(this); updateStatusInfo(); SwingUtilities.invokeLater(new Runnable() { public void run() { ioSplitPane.setDividerLocation(0.7); ioTreeSplitPane.setDividerLocation(0.2); treeStackSplitPane.setDividerLocation(0.5); } }); }
|
51505 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51505/c29d81eaf0dfdc302bdb46f8377072f5b7b22e0e/Debugger.java/clean/src/org/antlr/works/debugger/Debugger.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1690,
911,
1435,
288,
3639,
6594,
273,
394,
24048,
12,
2704,
30814,
10663,
3639,
2151,
2624,
5521,
8485,
273,
394,
804,
5521,
8485,
5621,
3639,
2151,
2624,
5521,
8485,
18,
542,
8107,
12,
2011,
1769,
3639,
2151,
2624,
5521,
8485,
18,
542,
14097,
12,
46,
5521,
8485,
18,
44,
20344,
67,
17482,
1769,
3639,
2151,
2624,
5521,
8485,
18,
542,
3910,
1841,
12,
2640,
2471,
5537,
10663,
3639,
2151,
2624,
5521,
8485,
18,
542,
4726,
1841,
12,
2640,
682,
966,
5537,
10663,
3639,
2151,
2624,
5521,
8485,
18,
542,
26509,
3744,
12,
3767,
1769,
3639,
2151,
2624,
5521,
8485,
18,
542,
3335,
10491,
12271,
429,
12,
3767,
1769,
3639,
2527,
5521,
8485,
273,
394,
804,
5521,
8485,
5621,
3639,
2527,
5521,
8485,
18,
542,
8107,
12,
2011,
1769,
3639,
2527,
5521,
8485,
18,
542,
14097,
12,
46,
5521,
8485,
18,
21654,
10109,
67,
17482,
1769,
3639,
2527,
5521,
8485,
18,
542,
3910,
1841,
12,
2640,
1210,
5537,
10663,
3639,
2527,
5521,
8485,
18,
542,
4726,
1841,
12,
2640,
1447,
5537,
10663,
3639,
2527,
5521,
8485,
18,
542,
26509,
3744,
12,
3767,
1769,
3639,
2527,
5521,
8485,
18,
542,
3335,
10491,
12271,
429,
12,
3767,
1769,
3639,
2527,
2471,
5521,
8485,
273,
394,
804,
5521,
8485,
5621,
3639,
2527,
2471,
5521,
8485,
18,
542,
8107,
12,
2011,
1769,
3639,
2527,
2471,
5521,
8485,
18,
542,
14097,
12,
46,
5521,
8485,
18,
44,
20344,
67,
17482,
1769,
3639,
2527,
2471,
5521,
8485,
18,
542,
3910,
1841,
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,
1690,
911,
1435,
288,
3639,
6594,
273,
394,
24048,
12,
2704,
30814,
10663,
3639,
2151,
2624,
5521,
8485,
273,
394,
804,
5521,
8485,
5621,
3639,
2151,
2624,
5521,
8485,
18,
542,
8107,
12,
2011,
1769,
3639,
2151,
2624,
5521,
8485,
18,
542,
14097,
12,
46,
5521,
8485,
18,
44,
20344,
67,
17482,
1769,
3639,
2151,
2624,
5521,
8485,
18,
542,
3910,
1841,
12,
2640,
2471,
5537,
10663,
3639,
2151,
2624,
5521,
8485,
18,
542,
4726,
1841,
12,
2640,
682,
966,
5537,
10663,
3639,
2151,
2624,
5521,
8485,
18,
542,
26509,
3744,
12,
3767,
1769,
3639,
2151,
2624,
5521,
8485,
18,
542,
3335,
10491,
12271,
429,
12,
3767,
1769,
3639,
2527,
5521,
8485,
273,
394,
804,
5521,
2
] |
|
} else if (item != null)
|
} else if (item != null) {
|
public void actionPerformed(final java.awt.event.ActionEvent event) { // button action: if (event.getSource() == theButton) { Object item = theComboBox.getSelectedItem(); if (item instanceof UMLComboBoxEntry) { UMLComboBoxEntry entry = (UMLComboBoxEntry) item; if (!entry.isPhantom()) { Object/*MModelElement*/ target = entry.getElement(null); if (target != null) { TargetManager.getInstance().setTarget(target); } } } else if (item != null) TargetManager.getInstance().setTarget(item); } if (event.getSource() == theComboBox) { Object item = theComboBox.getSelectedItem(); if (item instanceof UMLComboBoxEntry) { UMLComboBoxEntry entry = (UMLComboBoxEntry) item; if (!entry.isPhantom()) { Object/*MModelElement*/ target = entry.getElement(null); if (target != null) { theButton.setEnabled(true); } else theButton.setEnabled(false); } } else if (item != null) theButton.setEnabled(true); else theButton.setEnabled(false); } }
|
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/22d0dea792f1489203f386ee223e07e28eff3cd6/UMLComboBoxNavigator.java/clean/src_new/org/argouml/uml/ui/UMLComboBoxNavigator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
6385,
2252,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
871,
13,
288,
3639,
368,
3568,
1301,
30,
3639,
309,
261,
2575,
18,
588,
1830,
1435,
422,
326,
3616,
13,
288,
5411,
1033,
761,
273,
326,
22199,
18,
588,
7416,
1180,
5621,
5411,
309,
261,
1726,
1276,
587,
1495,
22199,
1622,
13,
288,
7734,
587,
1495,
22199,
1622,
1241,
273,
261,
57,
1495,
22199,
1622,
13,
761,
31,
7734,
309,
16051,
4099,
18,
291,
3731,
16317,
10756,
288,
10792,
1033,
20308,
49,
1488,
1046,
5549,
1018,
273,
1241,
18,
21336,
12,
2011,
1769,
10792,
309,
261,
3299,
480,
446,
13,
288,
13491,
5916,
1318,
18,
588,
1442,
7675,
542,
2326,
12,
3299,
1769,
10792,
289,
7734,
289,
5411,
289,
469,
309,
261,
1726,
480,
446,
13,
288,
7734,
5916,
1318,
18,
588,
1442,
7675,
542,
2326,
12,
1726,
1769,
3639,
289,
3639,
309,
261,
2575,
18,
588,
1830,
1435,
422,
326,
22199,
13,
288,
5411,
1033,
761,
273,
326,
22199,
18,
588,
7416,
1180,
5621,
5411,
309,
261,
1726,
1276,
587,
1495,
22199,
1622,
13,
288,
7734,
587,
1495,
22199,
1622,
1241,
273,
261,
57,
1495,
22199,
1622,
13,
761,
31,
7734,
309,
16051,
4099,
18,
291,
3731,
16317,
10756,
288,
10792,
1033,
20308,
49,
1488,
1046,
5549,
1018,
273,
1241,
18,
21336,
12,
2011,
1769,
10792,
309,
261,
3299,
480,
446,
13,
288,
13491,
326,
3616,
18,
542,
1526,
12,
3767,
1769,
10792,
289,
469,
13491,
326,
3616,
18,
542,
1526,
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,
26100,
12,
6385,
2252,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
871,
13,
288,
3639,
368,
3568,
1301,
30,
3639,
309,
261,
2575,
18,
588,
1830,
1435,
422,
326,
3616,
13,
288,
5411,
1033,
761,
273,
326,
22199,
18,
588,
7416,
1180,
5621,
5411,
309,
261,
1726,
1276,
587,
1495,
22199,
1622,
13,
288,
7734,
587,
1495,
22199,
1622,
1241,
273,
261,
57,
1495,
22199,
1622,
13,
761,
31,
7734,
309,
16051,
4099,
18,
291,
3731,
16317,
10756,
288,
10792,
1033,
20308,
49,
1488,
1046,
5549,
1018,
273,
1241,
18,
21336,
12,
2011,
1769,
10792,
309,
261,
3299,
480,
446,
13,
288,
13491,
5916,
1318,
18,
588,
1442,
7675,
542,
2326,
12,
3299,
1769,
10792,
2
] |
System.out.println(sql);
|
public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { Vector v = new Vector(); // The new ResultSet tuple stuff Field f[] = new Field[18]; // The field descriptors for the new ResultSet f[ 0] = new Field(connection, "TABLE_CAT", iVarcharOid, 32); f[ 1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, 32); f[ 2] = new Field(connection, "TABLE_NAME", iVarcharOid, 32); f[ 3] = new Field(connection, "COLUMN_NAME", iVarcharOid, 32); f[ 4] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[ 5] = new Field(connection, "TYPE_NAME", iVarcharOid, 32); f[ 6] = new Field(connection, "COLUMN_SIZE", iInt4Oid, 4); f[ 7] = new Field(connection, "BUFFER_LENGTH", iVarcharOid, 32); f[ 8] = new Field(connection, "DECIMAL_DIGITS", iInt4Oid, 4); f[ 9] = new Field(connection, "NUM_PREC_RADIX", iInt4Oid, 4); f[10] = new Field(connection, "NULLABLE", iInt4Oid, 4); f[11] = new Field(connection, "REMARKS", iVarcharOid, 32); f[12] = new Field(connection, "COLUMN_DEF", iVarcharOid, 32); f[13] = new Field(connection, "SQL_DATA_TYPE", iInt4Oid, 4); f[14] = new Field(connection, "SQL_DATETIME_SUB", iInt4Oid, 4); f[15] = new Field(connection, "CHAR_OCTET_LENGTH", iVarcharOid, 32); f[16] = new Field(connection, "ORDINAL_POSITION", iInt4Oid,4); f[17] = new Field(connection, "IS_NULLABLE", iVarcharOid, 32); StringBuffer sql = new StringBuffer(512); sql.append("select " + (connection.haveMinimumServerVersion("7.2") ? "a.attrelid, " : "a.oid, ") + " c.relname, " + " a.attname, " + " a.atttypid, " + " a.attnum, " + " a.attnotnull, " + " a.attlen, " + " a.atttypmod, " + " d.adsrc, " + " t.typname, " + " e.description " + "from" + " (" + " (pg_class c inner join pg_attribute a on" + " (" + " a.attrelid=c.oid"); if ((tableNamePattern != null) && ! tableNamePattern.equals("%")) { sql.append(" and c.relname like \'" + tableNamePattern + "\'"); } if ((columnNamePattern != null) && ! columnNamePattern.equals("%")) { sql.append(" and a.attname like \'" + columnNamePattern + "\'"); } sql.append( " and a.attnum > 0" + " )" + " ) inner join pg_type t on" + " (" + " t.oid = a.atttypid" + " )" + " )" + " left outer join pg_attrdef d on" + " (" + " c.oid = d.adrelid" + " and a.attnum = d.adnum" + " )" + " left outer join pg_description e on" + " (" + " e.objoid = a.attrelid"); if (connection.haveMinimumServerVersion("7.2")) { sql.append( " and e.objsubid = a.attnum" + " and e.classoid = (select oid from pg_class where relname = \'pg_class\')"); } sql.append( " ) " + "order by" + " c.relname, a.attnum"); System.out.println(sql); java.sql.ResultSet r = connection.ExecSQL(sql.toString()); while (r.next()) { byte[][] tuple = new byte[18][0]; String nullFlag = r.getString(6); String typname = r.getString(10); tuple[0] = "".getBytes(); // Catalog name tuple[1] = "".getBytes(); // Schema name tuple[2] = r.getBytes(2); // Table name tuple[3] = r.getBytes(3); // Column name tuple[4] = Integer.toString(connection.getSQLType(typname)).getBytes(); // Data type tuple[5] = typname.getBytes(); // Type name // Column size // Looking at the psql source, // I think the length of a varchar as specified when the table was created // should be extracted from atttypmod which contains this length + sizeof(int32) if (typname.equals("bpchar") || typname.equals("varchar")) { int atttypmod = r.getInt(8); tuple[6] = Integer.toString(atttypmod != -1 ? atttypmod - VARHDRSZ : 0).getBytes(); } else { tuple[6] = r.getBytes(7); } tuple[7] = null; // Buffer length tuple[8] = "0".getBytes(); // Decimal Digits - how to get this? tuple[9] = "10".getBytes(); // Num Prec Radix - assume decimal tuple[10] = Integer.toString(nullFlag.equals("f") ? java.sql.DatabaseMetaData.columnNullable : java.sql.DatabaseMetaData.columnNoNulls).getBytes(); // Nullable tuple[11] = r.getBytes(11); // Description (if any) tuple[12] = r.getBytes(9); // Column default tuple[13] = null; // sql data type (unused) tuple[14] = null; // sql datetime sub (unused) tuple[15] = tuple[6]; // char octet length tuple[16] = r.getBytes(5); // ordinal position tuple[17] = (nullFlag.equals("f") ? "YES" : "NO").getBytes(); // Is nullable v.addElement(tuple); } r.close(); return new ResultSet(connection, f, v, "OK", 1); }
|
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/f57477e651f83efc6e540a136e0586426abbd6a4/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
4669,
18,
13198,
14226,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
7578,
3234,
13,
1216,
6483,
225,
288,
565,
5589,
331,
273,
394,
5589,
5621,
202,
202,
759,
1021,
394,
10842,
3193,
10769,
202,
974,
284,
8526,
273,
394,
2286,
63,
2643,
15533,
202,
202,
759,
1021,
652,
14215,
364,
326,
394,
10842,
565,
284,
63,
374,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
565,
284,
63,
404,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
565,
284,
63,
576,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
565,
284,
63,
890,
65,
273,
394,
2286,
12,
4071,
16,
315,
11009,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
565,
284,
63,
1059,
65,
273,
394,
2286,
12,
4071,
16,
315,
4883,
67,
2399,
3113,
277,
1702,
22,
19105,
16,
576,
1769,
565,
284,
63,
1381,
65,
273,
394,
2286,
12,
4071,
16,
315,
2399,
67,
1985,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
565,
284,
63,
1666,
65,
273,
394,
2286,
12,
4071,
16,
315,
11009,
67,
4574,
3113,
277,
1702,
24,
19105,
16,
1059,
1769,
565,
284,
63,
2371,
65,
273,
394,
2286,
12,
4071,
16,
315,
11302,
67,
7096,
3113,
277,
58,
22483,
19105,
16,
3847,
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,
2252,
18,
4669,
18,
13198,
14226,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
7578,
3234,
13,
1216,
6483,
225,
288,
565,
5589,
331,
273,
394,
5589,
5621,
202,
202,
759,
1021,
394,
10842,
3193,
10769,
202,
974,
284,
8526,
273,
394,
2286,
63,
2643,
15533,
202,
202,
759,
1021,
652,
14215,
364,
326,
394,
10842,
565,
284,
63,
374,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
14130,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
565,
284,
63,
404,
65,
273,
394,
2286,
12,
4071,
16,
315,
7775,
67,
55,
10390,
3113,
277,
58,
22483,
19105,
16,
3847,
1769,
565,
284,
63,
576,
65,
273,
394,
2286,
12,
2
] |
|
return filter.accept(payload);
|
return filter.accept(message);
|
public boolean isMatch(UMOEvent event) throws MessagingException { if (filter == null) { return true; } Object payload = null; if (transformFirst) { try { payload = event.getTransformedMessage(); } catch (TransformerException e) { throw new RoutingException(new Message(Messages.TRANSFORM_FAILED_BEFORE_FILTER), event.getMessage(), event.getEndpoint(), e); } } else { payload = event.getMessage().getPayload(); } return filter.accept(payload); }
|
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/ae3f76e3f49223d642e920cfaf75c4810823d9a5/SelectiveConsumer.java/clean/mule/src/java/org/mule/routing/inbound/SelectiveConsumer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
29895,
12,
2799,
51,
1133,
871,
13,
1216,
23794,
503,
565,
288,
3639,
309,
261,
2188,
422,
446,
13,
288,
5411,
327,
638,
31,
3639,
289,
3639,
1033,
2385,
273,
446,
31,
3639,
309,
261,
6547,
3759,
13,
288,
5411,
775,
288,
7734,
2385,
273,
871,
18,
588,
4059,
329,
1079,
5621,
5411,
289,
1044,
261,
8319,
503,
425,
13,
288,
7734,
604,
394,
19349,
503,
12,
2704,
2350,
12,
5058,
18,
16596,
4983,
67,
11965,
67,
19152,
67,
11126,
3631,
4766,
6647,
871,
18,
24906,
9334,
4766,
6647,
871,
18,
588,
3293,
9334,
4766,
6647,
425,
1769,
5411,
289,
3639,
289,
469,
288,
5411,
2385,
273,
871,
18,
24906,
7675,
588,
6110,
5621,
3639,
289,
3639,
327,
1034,
18,
9436,
12,
2150,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
29895,
12,
2799,
51,
1133,
871,
13,
1216,
23794,
503,
565,
288,
3639,
309,
261,
2188,
422,
446,
13,
288,
5411,
327,
638,
31,
3639,
289,
3639,
1033,
2385,
273,
446,
31,
3639,
309,
261,
6547,
3759,
13,
288,
5411,
775,
288,
7734,
2385,
273,
871,
18,
588,
4059,
329,
1079,
5621,
5411,
289,
1044,
261,
8319,
503,
425,
13,
288,
7734,
604,
394,
19349,
503,
12,
2704,
2350,
12,
5058,
18,
16596,
4983,
67,
11965,
67,
19152,
67,
11126,
3631,
4766,
6647,
871,
18,
24906,
9334,
4766,
6647,
871,
18,
588,
3293,
9334,
4766,
6647,
425,
1769,
5411,
289,
3639,
289,
469,
288,
5411,
2385,
273,
871,
18,
24906,
7675,
588,
6110,
5621,
3639,
289,
2
] |
if(httpBindServer != null) { if(port == this.port && securePort == this.securePort) {
|
if (httpBindServer != null) { if (port == this.port && securePort == this.securePort) {
|
private void createAdminConsoleServer() { int port = JiveGlobals.getXMLProperty(ADMIN_CONSOLE_PORT, ADMIN_CONSOLE_PORT_DEFAULT); int securePort = JiveGlobals.getXMLProperty(ADMIN_CONOSLE_SECURE_PORT, ADMIN_CONSOLE_SECURE_PORT_DEFAULT); boolean loadConnectors = true; if(httpBindServer != null) { if(port == this.port && securePort == this.securePort) { adminServer = httpBindServer; loadConnectors = false; } else if(checkPorts(new int[] { this.port, this.securePort }, new int [] {port, securePort})) { Log.warn("Http bind ports must be either the same or distinct from admin console" + " ports."); httpBindServer = null; httpBindServer = new Server(); adminServer = httpBindServer; } else { adminServer = new Server(); } } else { adminServer = new Server(); } if (loadConnectors) { Collection<Connector> connectors = createAdminConsoleConnectors(port, securePort); if(connectors.size() == 0) { adminServer = null; return; } for (Connector connector : connectors) { adminServer.addConnector(connector); } } }
|
6312 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6312/5dd49d02c41aae0fa3c7150accaa8544c0b797c6/HttpServerManager.java/clean/src/java/org/jivesoftware/wildfire/HttpServerManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
4446,
10215,
2081,
1435,
288,
3639,
509,
1756,
273,
804,
688,
19834,
18,
588,
4201,
1396,
12,
15468,
67,
2248,
3584,
900,
67,
6354,
16,
25969,
67,
2248,
3584,
900,
67,
6354,
67,
5280,
1769,
3639,
509,
8177,
2617,
273,
804,
688,
19834,
18,
588,
4201,
1396,
12,
15468,
67,
2248,
4618,
900,
67,
11944,
4830,
67,
6354,
16,
7734,
25969,
67,
2248,
3584,
900,
67,
11944,
4830,
67,
6354,
67,
5280,
1769,
3639,
1250,
1262,
7487,
87,
273,
638,
31,
3639,
309,
12,
2505,
3357,
2081,
480,
446,
13,
288,
5411,
309,
12,
655,
422,
333,
18,
655,
597,
8177,
2617,
422,
333,
18,
8869,
2617,
13,
288,
7734,
3981,
2081,
273,
1062,
3357,
2081,
31,
7734,
1262,
7487,
87,
273,
629,
31,
5411,
289,
5411,
469,
309,
12,
1893,
11107,
12,
2704,
509,
8526,
288,
333,
18,
655,
16,
333,
18,
8869,
2617,
19879,
10792,
394,
509,
5378,
288,
655,
16,
8177,
2617,
31700,
288,
7734,
1827,
18,
8935,
2932,
2940,
1993,
9048,
1297,
506,
3344,
326,
1967,
578,
10217,
628,
3981,
2983,
6,
397,
13491,
315,
9048,
1199,
1769,
7734,
1062,
3357,
2081,
273,
446,
31,
7734,
1062,
3357,
2081,
273,
394,
3224,
5621,
7734,
3981,
2081,
273,
1062,
3357,
2081,
31,
5411,
289,
5411,
469,
288,
7734,
3981,
2081,
273,
394,
3224,
5621,
5411,
289,
3639,
289,
3639,
469,
288,
5411,
3981,
2081,
273,
394,
3224,
5621,
3639,
289,
3639,
309,
261,
945,
7487,
87,
13,
288,
5411,
2200,
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,
752,
4446,
10215,
2081,
1435,
288,
3639,
509,
1756,
273,
804,
688,
19834,
18,
588,
4201,
1396,
12,
15468,
67,
2248,
3584,
900,
67,
6354,
16,
25969,
67,
2248,
3584,
900,
67,
6354,
67,
5280,
1769,
3639,
509,
8177,
2617,
273,
804,
688,
19834,
18,
588,
4201,
1396,
12,
15468,
67,
2248,
4618,
900,
67,
11944,
4830,
67,
6354,
16,
7734,
25969,
67,
2248,
3584,
900,
67,
11944,
4830,
67,
6354,
67,
5280,
1769,
3639,
1250,
1262,
7487,
87,
273,
638,
31,
3639,
309,
12,
2505,
3357,
2081,
480,
446,
13,
288,
5411,
309,
12,
655,
422,
333,
18,
655,
597,
8177,
2617,
422,
333,
18,
8869,
2617,
13,
288,
7734,
3981,
2081,
273,
1062,
3357,
2
] |
newChart.getTitle( ).getLabel( ).getCaption( ).setValue( CHART_TITLE );
|
newChart.getTitle( ).getLabel( ).getCaption( ).setValue( CHART_TITLE );
|
public Chart getModel( String sSubType, Orientation orientation, String sDimension, Chart currentChart ) { ChartWithoutAxes newChart = null; if ( currentChart != null ) { newChart = (ChartWithoutAxes) getConvertedChart( currentChart, sSubType, sDimension ); if ( newChart != null ) { return newChart; } } newChart = ChartWithoutAxesImpl.create( ); newChart.setType( TYPE_LITERAL ); newChart.setSubType( sSubType ); newChart.setDimension( getDimensionFor( sDimension ) ); newChart.setUnits( "Points" ); //$NON-NLS-1$ if ( newChart.getDimension( ) .equals( ChartDimension.TWO_DIMENSIONAL_WITH_DEPTH_LITERAL ) ) { newChart.setSeriesThickness( 15 ); } SeriesDefinition sdX = SeriesDefinitionImpl.create( ); sdX.getSeriesPalette( ).update( 0 ); Series categorySeries = SeriesImpl.create( ); sdX.getSeries( ).add( categorySeries ); sdX.getQuery( ).setDefinition( "Base Series" ); //$NON-NLS-1$ newChart.getTitle( ).getLabel( ).getCaption( ).setValue( CHART_TITLE ); //$NON-NLS-1$ SeriesDefinition sdY = SeriesDefinitionImpl.create( ); sdY.getSeriesPalette( ).update( 0 ); Series valueSeries = PieSeriesImpl.create( ); valueSeries.getLabel( ).setVisible( true ); valueSeries.setSeriesIdentifier( "valueSeriesIdentifier" ); //$NON-NLS-1$ ( (PieSeries) valueSeries ).getTitle( ) .getCaption( ) .setValue( "valueSeries" ); //$NON-NLS-1$ ( (PieSeries) valueSeries ).setStacked( false ); ( (PieSeries) valueSeries ).setExplosion( 0 ); sdY.getSeries( ).add( valueSeries ); sdX.getSeriesDefinitions( ).add( sdY ); newChart.getSeriesDefinitions( ).add( sdX ); addSampleData( newChart ); return newChart; }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ae8909f5c697c610266e491d0af9a02eed14e2e4/PieChart.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/PieChart.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14804,
7454,
12,
514,
272,
30511,
16,
531,
12556,
9820,
16,
1082,
202,
780,
272,
8611,
16,
14804,
783,
7984,
262,
202,
95,
202,
202,
7984,
8073,
26494,
394,
7984,
273,
446,
31,
202,
202,
430,
261,
783,
7984,
480,
446,
262,
202,
202,
95,
1082,
202,
2704,
7984,
273,
261,
7984,
8073,
26494,
13,
336,
22063,
7984,
12,
783,
7984,
16,
6862,
202,
87,
30511,
16,
6862,
202,
87,
8611,
11272,
1082,
202,
430,
261,
394,
7984,
480,
446,
262,
1082,
202,
95,
9506,
202,
2463,
394,
7984,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
2704,
7984,
273,
14804,
8073,
26494,
2828,
18,
2640,
12,
11272,
202,
202,
2704,
7984,
18,
542,
559,
12,
3463,
67,
23225,
11272,
202,
202,
2704,
7984,
18,
542,
30511,
12,
272,
30511,
11272,
202,
202,
2704,
7984,
18,
542,
8611,
12,
20283,
1290,
12,
272,
8611,
262,
11272,
202,
202,
2704,
7984,
18,
542,
7537,
12,
315,
5636,
6,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
430,
261,
394,
7984,
18,
588,
8611,
12,
262,
9506,
202,
18,
14963,
12,
14804,
8611,
18,
18869,
51,
67,
2565,
958,
3156,
1146,
1013,
67,
9147,
67,
27479,
67,
23225,
262,
262,
202,
202,
95,
1082,
202,
2704,
7984,
18,
542,
6485,
1315,
19517,
12,
4711,
11272,
202,
202,
97,
202,
202,
6485,
1852,
8349,
60,
273,
9225,
1852,
2828,
18,
2640,
12,
11272,
202,
202,
6427,
60,
18,
588,
6485,
25863,
12,
262,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14804,
7454,
12,
514,
272,
30511,
16,
531,
12556,
9820,
16,
1082,
202,
780,
272,
8611,
16,
14804,
783,
7984,
262,
202,
95,
202,
202,
7984,
8073,
26494,
394,
7984,
273,
446,
31,
202,
202,
430,
261,
783,
7984,
480,
446,
262,
202,
202,
95,
1082,
202,
2704,
7984,
273,
261,
7984,
8073,
26494,
13,
336,
22063,
7984,
12,
783,
7984,
16,
6862,
202,
87,
30511,
16,
6862,
202,
87,
8611,
11272,
1082,
202,
430,
261,
394,
7984,
480,
446,
262,
1082,
202,
95,
9506,
202,
2463,
394,
7984,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
2704,
7984,
273,
14804,
8073,
26494,
2828,
18,
2640,
12,
11272,
202,
202,
2704,
7984,
18,
542,
559,
2
] |
public void widgetDefaultSelected(SelectionEvent e) {
|
public void widgetDefaultSelected(SelectionEvent event) {
|
public void widgetDefaultSelected(SelectionEvent e) { int selectionIndex = completionsTable.getSelectionIndex(); if (selectionIndex >= 0) { ICommand command = (ICommand) commands .get(selectionIndex); executeCommand(command.getId(), new Event()); } }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/1b07af5e6b9e771f8eb9d64d2d742873f03ae88c/WorkbenchKeyboard.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/WorkbenchKeyboard.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
3604,
1868,
7416,
12,
6233,
1133,
871,
13,
288,
10792,
509,
4421,
1016,
273,
23738,
1388,
18,
588,
6233,
1016,
5621,
10792,
309,
261,
10705,
1016,
1545,
374,
13,
288,
13491,
467,
2189,
1296,
273,
261,
45,
2189,
13,
4364,
27573,
263,
588,
12,
10705,
1016,
1769,
13491,
21120,
12,
3076,
18,
26321,
9334,
394,
2587,
10663,
10792,
289,
7734,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
3604,
1868,
7416,
12,
6233,
1133,
871,
13,
288,
10792,
509,
4421,
1016,
273,
23738,
1388,
18,
588,
6233,
1016,
5621,
10792,
309,
261,
10705,
1016,
1545,
374,
13,
288,
13491,
467,
2189,
1296,
273,
261,
45,
2189,
13,
4364,
27573,
263,
588,
12,
10705,
1016,
1769,
13491,
21120,
12,
3076,
18,
26321,
9334,
394,
2587,
10663,
10792,
289,
7734,
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
] |
return new BufferedImage(width, height, imageType);
|
BufferedImage image = new BufferedImage(width, height, imageType); return image;
|
public static BufferedImage createBufferedImage(String format, int width, int height) { // NOTE: special case for JPEG which has no Alpha int imageType = (format.equalsIgnoreCase("jpg") || format .equalsIgnoreCase("jpeg")) ? BufferedImage.TYPE_INT_RGB : BufferedImage.TYPE_INT_ARGB; return new BufferedImage(width, height, imageType); }
|
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/91ecb6a3bef4a223cd69878cf3a1cdd11df93972/ImageGraphics2D.java/buggy/freehep-graphicsio/src/main/java/org/freehep/graphicsio/ImageGraphics2D.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
12362,
752,
17947,
2040,
12,
780,
740,
16,
509,
1835,
16,
5411,
509,
2072,
13,
288,
3639,
368,
5219,
30,
4582,
648,
364,
28038,
1492,
711,
1158,
24277,
3639,
509,
21754,
273,
261,
2139,
18,
14963,
5556,
2932,
14362,
7923,
747,
740,
7734,
263,
14963,
5556,
2932,
14423,
6,
3719,
692,
12362,
18,
2399,
67,
3217,
67,
11343,
7734,
294,
12362,
18,
2399,
67,
3217,
67,
985,
5887,
31,
3639,
12362,
1316,
273,
394,
12362,
12,
2819,
16,
2072,
16,
21754,
1769,
327,
1316,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
12362,
752,
17947,
2040,
12,
780,
740,
16,
509,
1835,
16,
5411,
509,
2072,
13,
288,
3639,
368,
5219,
30,
4582,
648,
364,
28038,
1492,
711,
1158,
24277,
3639,
509,
21754,
273,
261,
2139,
18,
14963,
5556,
2932,
14362,
7923,
747,
740,
7734,
263,
14963,
5556,
2932,
14423,
6,
3719,
692,
12362,
18,
2399,
67,
3217,
67,
11343,
7734,
294,
12362,
18,
2399,
67,
3217,
67,
985,
5887,
31,
3639,
12362,
1316,
273,
394,
12362,
12,
2819,
16,
2072,
16,
21754,
1769,
327,
1316,
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
] |
cc -= T1[(int) bb & 0xff] ^ T2[(int) (bb >> 16) & 0xff] ^ T3[(int) (bb >> 32) & 0xff] ^ T4[(int) (bb >> 48) & 0xff]; aa += T4[(int) (bb >> 8) & 0xff] ^ T3[(int) (bb >> 24) & 0xff] ^ T2[(int) (bb >> 40) & 0xff] ^ T1[(int) (bb >> 56) & 0xff];
|
cc -= T1[(int) bb & 0xff] ^ T2[(int)(bb >> 16) & 0xff] ^ T3[(int)(bb >> 32) & 0xff] ^ T4[(int)(bb >> 48) & 0xff]; aa += T4[(int)(bb >> 8) & 0xff] ^ T3[(int)(bb >> 24) & 0xff] ^ T2[(int)(bb >> 40) & 0xff] ^ T1[(int)(bb >> 56) & 0xff];
|
protected void transform(byte[] in, int offset) { long x0, x1, x2, x3, x4, x5, x6, x7; x0 = ((long) in[offset++] & 0xFF) | ((long) (in[offset++] & 0xFF) << 8) | ((long) (in[offset++] & 0xFF) << 16) | ((long) (in[offset++] & 0xFF) << 24) | ((long) (in[offset++] & 0xFF) << 32) | ((long) (in[offset++] & 0xFF) << 40) | ((long) (in[offset++] & 0xFF) << 48) | ((long) (in[offset++] & 0xFF) << 56); x1 = ((long) in[offset++] & 0xFF) | ((long) (in[offset++] & 0xFF) << 8) | ((long) (in[offset++] & 0xFF) << 16) | ((long) (in[offset++] & 0xFF) << 24) | ((long) (in[offset++] & 0xFF) << 32) | ((long) (in[offset++] & 0xFF) << 40) | ((long) (in[offset++] & 0xFF) << 48) | ((long) (in[offset++] & 0xFF) << 56); x2 = ((long) in[offset++] & 0xFF) | ((long) (in[offset++] & 0xFF) << 8) | ((long) (in[offset++] & 0xFF) << 16) | ((long) (in[offset++] & 0xFF) << 24) | ((long) (in[offset++] & 0xFF) << 32) | ((long) (in[offset++] & 0xFF) << 40) | ((long) (in[offset++] & 0xFF) << 48) | ((long) (in[offset++] & 0xFF) << 56); x3 = ((long) in[offset++] & 0xFF) | ((long) (in[offset++] & 0xFF) << 8) | ((long) (in[offset++] & 0xFF) << 16) | ((long) (in[offset++] & 0xFF) << 24) | ((long) (in[offset++] & 0xFF) << 32) | ((long) (in[offset++] & 0xFF) << 40) | ((long) (in[offset++] & 0xFF) << 48) | ((long) (in[offset++] & 0xFF) << 56); x4 = ((long) in[offset++] & 0xFF) | ((long) (in[offset++] & 0xFF) << 8) | ((long) (in[offset++] & 0xFF) << 16) | ((long) (in[offset++] & 0xFF) << 24) | ((long) (in[offset++] & 0xFF) << 32) | ((long) (in[offset++] & 0xFF) << 40) | ((long) (in[offset++] & 0xFF) << 48) | ((long) (in[offset++] & 0xFF) << 56); x5 = ((long) in[offset++] & 0xFF) | ((long) (in[offset++] & 0xFF) << 8) | ((long) (in[offset++] & 0xFF) << 16) | ((long) (in[offset++] & 0xFF) << 24) | ((long) (in[offset++] & 0xFF) << 32) | ((long) (in[offset++] & 0xFF) << 40) | ((long) (in[offset++] & 0xFF) << 48) | ((long) (in[offset++] & 0xFF) << 56); x6 = ((long) in[offset++] & 0xFF) | ((long) (in[offset++] & 0xFF) << 8) | ((long) (in[offset++] & 0xFF) << 16) | ((long) (in[offset++] & 0xFF) << 24) | ((long) (in[offset++] & 0xFF) << 32) | ((long) (in[offset++] & 0xFF) << 40) | ((long) (in[offset++] & 0xFF) << 48) | ((long) (in[offset++] & 0xFF) << 56); x7 = ((long) in[offset++] & 0xFF) | ((long) (in[offset++] & 0xFF) << 8) | ((long) (in[offset++] & 0xFF) << 16) | ((long) (in[offset++] & 0xFF) << 24) | ((long) (in[offset++] & 0xFF) << 32) | ((long) (in[offset++] & 0xFF) << 40) | ((long) (in[offset++] & 0xFF) << 48) | ((long) (in[offset] & 0xFF) << 56); // save_abc ::= long aa = a, bb = b, cc = c; // pass(aa, bb, cc, 5) ::= cc ^= x0; aa -= T1[(int) cc & 0xff] ^ T2[(int) (cc >> 16) & 0xff] ^ T3[(int) (cc >> 32) & 0xff] ^ T4[(int) (cc >> 48) & 0xff]; bb += T4[(int) (cc >> 8) & 0xff] ^ T3[(int) (cc >> 24) & 0xff] ^ T2[(int) (cc >> 40) & 0xff] ^ T1[(int) (cc >> 56) & 0xff]; bb *= 5; aa ^= x1; bb -= T1[(int) aa & 0xff] ^ T2[(int) (aa >> 16) & 0xff] ^ T3[(int) (aa >> 32) & 0xff] ^ T4[(int) (aa >> 48) & 0xff]; cc += T4[(int) (aa >> 8) & 0xff] ^ T3[(int) (aa >> 24) & 0xff] ^ T2[(int) (aa >> 40) & 0xff] ^ T1[(int) (aa >> 56) & 0xff]; cc *= 5; bb ^= x2; cc -= T1[(int) bb & 0xff] ^ T2[(int) (bb >> 16) & 0xff] ^ T3[(int) (bb >> 32) & 0xff] ^ T4[(int) (bb >> 48) & 0xff]; aa += T4[(int) (bb >> 8) & 0xff] ^ T3[(int) (bb >> 24) & 0xff] ^ T2[(int) (bb >> 40) & 0xff] ^ T1[(int) (bb >> 56) & 0xff]; aa *= 5; cc ^= x3; aa -= T1[(int) cc & 0xff] ^ T2[(int) (cc >> 16) & 0xff] ^ T3[(int) (cc >> 32) & 0xff] ^ T4[(int) (cc >> 48) & 0xff]; bb += T4[(int) (cc >> 8) & 0xff] ^ T3[(int) (cc >> 24) & 0xff] ^ T2[(int) (cc >> 40) & 0xff] ^ T1[(int) (cc >> 56) & 0xff]; bb *= 5; aa ^= x4; bb -= T1[(int) aa & 0xff] ^ T2[(int) (aa >> 16) & 0xff] ^ T3[(int) (aa >> 32) & 0xff] ^ T4[(int) (aa >> 48) & 0xff]; cc += T4[(int) (aa >> 8) & 0xff] ^ T3[(int) (aa >> 24) & 0xff] ^ T2[(int) (aa >> 40) & 0xff] ^ T1[(int) (aa >> 56) & 0xff]; cc *= 5; bb ^= x5; cc -= T1[(int) bb & 0xff] ^ T2[(int) (bb >> 16) & 0xff] ^ T3[(int) (bb >> 32) & 0xff] ^ T4[(int) (bb >> 48) & 0xff]; aa += T4[(int) (bb >> 8) & 0xff] ^ T3[(int) (bb >> 24) & 0xff] ^ T2[(int) (bb >> 40) & 0xff] ^ T1[(int) (bb >> 56) & 0xff]; aa *= 5; cc ^= x6; aa -= T1[(int) cc & 0xff] ^ T2[(int) (cc >> 16) & 0xff] ^ T3[(int) (cc >> 32) & 0xff] ^ T4[(int) (cc >> 48) & 0xff]; bb += T4[(int) (cc >> 8) & 0xff] ^ T3[(int) (cc >> 24) & 0xff] ^ T2[(int) (cc >> 40) & 0xff] ^ T1[(int) (cc >> 56) & 0xff]; bb *= 5; aa ^= x7; bb -= T1[(int) aa & 0xff] ^ T2[(int) (aa >> 16) & 0xff] ^ T3[(int) (aa >> 32) & 0xff] ^ T4[(int) (aa >> 48) & 0xff]; cc += T4[(int) (aa >> 8) & 0xff] ^ T3[(int) (aa >> 24) & 0xff] ^ T2[(int) (aa >> 40) & 0xff] ^ T1[(int) (aa >> 56) & 0xff]; cc *= 5; // key_schedule ::= x0 -= x7 ^ 0xA5A5A5A5A5A5A5A5L; x1 ^= x0; x2 += x1; x3 -= x2 ^ ((~x1) << 19); x4 ^= x3; x5 += x4; x6 -= x5 ^ ((~x4) >>> 23); x7 ^= x6; x0 += x7; x1 -= x0 ^ ((~x7) << 19); x2 ^= x1; x3 += x2; x4 -= x3 ^ ((~x2) >>> 23); x5 ^= x4; x6 += x5; x7 -= x6 ^ 0x0123456789ABCDEFL; // pass(cc, aa, bb, 7) ::= bb ^= x0; cc -= T1[(int) bb & 0xff] ^ T2[(int) (bb >> 16) & 0xff] ^ T3[(int) (bb >> 32) & 0xff] ^ T4[(int) (bb >> 48) & 0xff]; aa += T4[(int) (bb >> 8) & 0xff] ^ T3[(int) (bb >> 24) & 0xff] ^ T2[(int) (bb >> 40) & 0xff] ^ T1[(int) (bb >> 56) & 0xff]; aa *= 7; cc ^= x1; aa -= T1[(int) cc & 0xff] ^ T2[(int) (cc >> 16) & 0xff] ^ T3[(int) (cc >> 32) & 0xff] ^ T4[(int) (cc >> 48) & 0xff]; bb += T4[(int) (cc >> 8) & 0xff] ^ T3[(int) (cc >> 24) & 0xff] ^ T2[(int) (cc >> 40) & 0xff] ^ T1[(int) (cc >> 56) & 0xff]; bb *= 7; aa ^= x2; bb -= T1[(int) aa & 0xff] ^ T2[(int) (aa >> 16) & 0xff] ^ T3[(int) (aa >> 32) & 0xff] ^ T4[(int) (aa >> 48) & 0xff]; cc += T4[(int) (aa >> 8) & 0xff] ^ T3[(int) (aa >> 24) & 0xff] ^ T2[(int) (aa >> 40) & 0xff] ^ T1[(int) (aa >> 56) & 0xff]; cc *= 7; bb ^= x3; cc -= T1[(int) bb & 0xff] ^ T2[(int) (bb >> 16) & 0xff] ^ T3[(int) (bb >> 32) & 0xff] ^ T4[(int) (bb >> 48) & 0xff]; aa += T4[(int) (bb >> 8) & 0xff] ^ T3[(int) (bb >> 24) & 0xff] ^ T2[(int) (bb >> 40) & 0xff] ^ T1[(int) (bb >> 56) & 0xff]; aa *= 7; cc ^= x4; aa -= T1[(int) cc & 0xff] ^ T2[(int) (cc >> 16) & 0xff] ^ T3[(int) (cc >> 32) & 0xff] ^ T4[(int) (cc >> 48) & 0xff]; bb += T4[(int) (cc >> 8) & 0xff] ^ T3[(int) (cc >> 24) & 0xff] ^ T2[(int) (cc >> 40) & 0xff] ^ T1[(int) (cc >> 56) & 0xff]; bb *= 7; aa ^= x5; bb -= T1[(int) aa & 0xff] ^ T2[(int) (aa >> 16) & 0xff] ^ T3[(int) (aa >> 32) & 0xff] ^ T4[(int) (aa >> 48) & 0xff]; cc += T4[(int) (aa >> 8) & 0xff] ^ T3[(int) (aa >> 24) & 0xff] ^ T2[(int) (aa >> 40) & 0xff] ^ T1[(int) (aa >> 56) & 0xff]; cc *= 7; bb ^= x6; cc -= T1[(int) bb & 0xff] ^ T2[(int) (bb >> 16) & 0xff] ^ T3[(int) (bb >> 32) & 0xff] ^ T4[(int) (bb >> 48) & 0xff]; aa += T4[(int) (bb >> 8) & 0xff] ^ T3[(int) (bb >> 24) & 0xff] ^ T2[(int) (bb >> 40) & 0xff] ^ T1[(int) (bb >> 56) & 0xff]; aa *= 7; cc ^= x7; aa -= T1[(int) cc & 0xff] ^ T2[(int) (cc >> 16) & 0xff] ^ T3[(int) (cc >> 32) & 0xff] ^ T4[(int) (cc >> 48) & 0xff]; bb += T4[(int) (cc >> 8) & 0xff] ^ T3[(int) (cc >> 24) & 0xff] ^ T2[(int) (cc >> 40) & 0xff] ^ T1[(int) (cc >> 56) & 0xff]; bb *= 7; // key_schedule ::= x0 -= x7 ^ 0xA5A5A5A5A5A5A5A5L; x1 ^= x0; x2 += x1; x3 -= x2 ^ ((~x1) << 19); x4 ^= x3; x5 += x4; x6 -= x5 ^ ((~x4) >>> 23); x7 ^= x6; x0 += x7; x1 -= x0 ^ ((~x7) << 19); x2 ^= x1; x3 += x2; x4 -= x3 ^ ((~x2) >>> 23); x5 ^= x4; x6 += x5; x7 -= x6 ^ 0x0123456789ABCDEFL; // pass(bb,cc,aa,9) ::= aa ^= x0; bb -= T1[(int) aa & 0xff] ^ T2[(int) (aa >> 16) & 0xff] ^ T3[(int) (aa >> 32) & 0xff] ^ T4[(int) (aa >> 48) & 0xff]; cc += T4[(int) (aa >> 8) & 0xff] ^ T3[(int) (aa >> 24) & 0xff] ^ T2[(int) (aa >> 40) & 0xff] ^ T1[(int) (aa >> 56) & 0xff]; cc *= 9; bb ^= x1; cc -= T1[(int) bb & 0xff] ^ T2[(int) (bb >> 16) & 0xff] ^ T3[(int) (bb >> 32) & 0xff] ^ T4[(int) (bb >> 48) & 0xff]; aa += T4[(int) (bb >> 8) & 0xff] ^ T3[(int) (bb >> 24) & 0xff] ^ T2[(int) (bb >> 40) & 0xff] ^ T1[(int) (bb >> 56) & 0xff]; aa *= 9; cc ^= x2; aa -= T1[(int) cc & 0xff] ^ T2[(int) (cc >> 16) & 0xff] ^ T3[(int) (cc >> 32) & 0xff] ^ T4[(int) (cc >> 48) & 0xff]; bb += T4[(int) (cc >> 8) & 0xff] ^ T3[(int) (cc >> 24) & 0xff] ^ T2[(int) (cc >> 40) & 0xff] ^ T1[(int) (cc >> 56) & 0xff]; bb *= 9; aa ^= x3; bb -= T1[(int) aa & 0xff] ^ T2[(int) (aa >> 16) & 0xff] ^ T3[(int) (aa >> 32) & 0xff] ^ T4[(int) (aa >> 48) & 0xff]; cc += T4[(int) (aa >> 8) & 0xff] ^ T3[(int) (aa >> 24) & 0xff] ^ T2[(int) (aa >> 40) & 0xff] ^ T1[(int) (aa >> 56) & 0xff]; cc *= 9; bb ^= x4; cc -= T1[(int) bb & 0xff] ^ T2[(int) (bb >> 16) & 0xff] ^ T3[(int) (bb >> 32) & 0xff] ^ T4[(int) (bb >> 48) & 0xff]; aa += T4[(int) (bb >> 8) & 0xff] ^ T3[(int) (bb >> 24) & 0xff] ^ T2[(int) (bb >> 40) & 0xff] ^ T1[(int) (bb >> 56) & 0xff]; aa *= 9; cc ^= x5; aa -= T1[(int) cc & 0xff] ^ T2[(int) (cc >> 16) & 0xff] ^ T3[(int) (cc >> 32) & 0xff] ^ T4[(int) (cc >> 48) & 0xff]; bb += T4[(int) (cc >> 8) & 0xff] ^ T3[(int) (cc >> 24) & 0xff] ^ T2[(int) (cc >> 40) & 0xff] ^ T1[(int) (cc >> 56) & 0xff]; bb *= 9; aa ^= x6; bb -= T1[(int) aa & 0xff] ^ T2[(int) (aa >> 16) & 0xff] ^ T3[(int) (aa >> 32) & 0xff] ^ T4[(int) (aa >> 48) & 0xff]; cc += T4[(int) (aa >> 8) & 0xff] ^ T3[(int) (aa >> 24) & 0xff] ^ T2[(int) (aa >> 40) & 0xff] ^ T1[(int) (aa >> 56) & 0xff]; cc *= 9; bb ^= x7; cc -= T1[(int) bb & 0xff] ^ T2[(int) (bb >> 16) & 0xff] ^ T3[(int) (bb >> 32) & 0xff] ^ T4[(int) (bb >> 48) & 0xff]; aa += T4[(int) (bb >> 8) & 0xff] ^ T3[(int) (bb >> 24) & 0xff] ^ T2[(int) (bb >> 40) & 0xff] ^ T1[(int) (bb >> 56) & 0xff]; aa *= 9; // feedforward ::= a ^= aa; b = bb - b; c += cc; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2b9abb5a0b9bbcfe80809713d541a098ef473321/Tiger.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Tiger.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
2510,
12,
7229,
8526,
316,
16,
509,
1384,
13,
225,
288,
565,
1525,
619,
20,
16,
619,
21,
16,
619,
22,
16,
619,
23,
16,
619,
24,
16,
619,
25,
16,
619,
26,
16,
619,
27,
31,
565,
619,
20,
273,
14015,
5748,
13,
316,
63,
3348,
9904,
65,
473,
374,
6356,
13,
571,
14015,
5748,
13,
261,
267,
63,
3348,
9904,
65,
473,
374,
6356,
13,
2296,
1725,
13,
540,
571,
14015,
5748,
13,
261,
267,
63,
3348,
9904,
65,
473,
374,
6356,
13,
2296,
2872,
13,
540,
571,
14015,
5748,
13,
261,
267,
63,
3348,
9904,
65,
473,
374,
6356,
13,
2296,
4248,
13,
540,
571,
14015,
5748,
13,
261,
267,
63,
3348,
9904,
65,
473,
374,
6356,
13,
2296,
3847,
13,
540,
571,
14015,
5748,
13,
261,
267,
63,
3348,
9904,
65,
473,
374,
6356,
13,
2296,
8063,
13,
540,
571,
14015,
5748,
13,
261,
267,
63,
3348,
9904,
65,
473,
374,
6356,
13,
2296,
9934,
13,
540,
571,
14015,
5748,
13,
261,
267,
63,
3348,
9904,
65,
473,
374,
6356,
13,
2296,
13850,
1769,
565,
619,
21,
273,
14015,
5748,
13,
316,
63,
3348,
9904,
65,
473,
374,
6356,
13,
571,
14015,
5748,
13,
261,
267,
63,
3348,
9904,
65,
473,
374,
6356,
13,
2296,
1725,
13,
540,
571,
14015,
5748,
13,
261,
267,
63,
3348,
9904,
65,
473,
374,
6356,
13,
2296,
2872,
13,
540,
571,
14015,
5748,
13,
261,
267,
63,
3348,
9904,
65,
473,
374,
6356,
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,
282,
4750,
918,
2510,
12,
7229,
8526,
316,
16,
509,
1384,
13,
225,
288,
565,
1525,
619,
20,
16,
619,
21,
16,
619,
22,
16,
619,
23,
16,
619,
24,
16,
619,
25,
16,
619,
26,
16,
619,
27,
31,
565,
619,
20,
273,
14015,
5748,
13,
316,
63,
3348,
9904,
65,
473,
374,
6356,
13,
571,
14015,
5748,
13,
261,
267,
63,
3348,
9904,
65,
473,
374,
6356,
13,
2296,
1725,
13,
540,
571,
14015,
5748,
13,
261,
267,
63,
3348,
9904,
65,
473,
374,
6356,
13,
2296,
2872,
13,
540,
571,
14015,
5748,
13,
261,
267,
63,
3348,
9904,
65,
473,
374,
6356,
13,
2296,
4248,
13,
540,
571,
14015,
5748,
13,
261,
267,
63,
3348,
9904,
2
] |
int numSamples = width * height; int channels = 1;
|
public byte[] openBytes(String id, int no) throws FormatException, IOException { if (!id.equals(currentIdsId) && !id.equals(currentIcsId)) initFile(id); int width = dimensions[1]; int height = dimensions[2]; int numSamples = width * height; int channels = 1; int offset = width * height * (dimensions[0] / 8) * no; byte[] plane = new byte[width * height * (dimensions[0] / 8)]; System.arraycopy(data, offset, plane, 0, plane.length); // if it's version two, we need to flip the plane upside down if (versionTwo) { byte[] t = new byte[plane.length]; int len = width * (dimensions[0] / 8); int off = (height - 1) * len; int newOff = 0; for (int i=0; i<height; i++) { System.arraycopy(plane, off, t, newOff, len); off -= len; newOff += len; } return t; } return plane; }
|
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/e0a37d81984d3f8644766797667b83e48df719e3/ICSReader.java/clean/loci/formats/in/ICSReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1160,
8526,
1696,
2160,
12,
780,
612,
16,
509,
1158,
13,
565,
1216,
4077,
503,
16,
1860,
225,
288,
565,
309,
16051,
350,
18,
14963,
12,
2972,
2673,
548,
13,
597,
401,
350,
18,
14963,
12,
2972,
45,
2143,
548,
3719,
1208,
812,
12,
350,
1769,
565,
509,
1835,
273,
5769,
63,
21,
15533,
565,
509,
2072,
273,
5769,
63,
22,
15533,
565,
509,
818,
13239,
273,
1835,
380,
2072,
31,
565,
509,
5750,
273,
404,
31,
565,
509,
1384,
273,
1835,
380,
2072,
380,
261,
14797,
63,
20,
65,
342,
1725,
13,
380,
1158,
31,
565,
1160,
8526,
11017,
273,
394,
1160,
63,
2819,
380,
2072,
380,
261,
14797,
63,
20,
65,
342,
1725,
13,
15533,
565,
2332,
18,
1126,
3530,
12,
892,
16,
1384,
16,
11017,
16,
374,
16,
11017,
18,
2469,
1769,
565,
368,
309,
518,
1807,
1177,
2795,
16,
732,
1608,
358,
9668,
326,
11017,
731,
5564,
2588,
565,
309,
261,
1589,
11710,
13,
288,
1377,
1160,
8526,
268,
273,
394,
1160,
63,
21314,
18,
2469,
15533,
1377,
509,
562,
273,
1835,
380,
261,
14797,
63,
20,
65,
342,
1725,
1769,
1377,
509,
3397,
273,
261,
4210,
300,
404,
13,
380,
562,
31,
1377,
509,
394,
7210,
273,
374,
31,
1377,
364,
261,
474,
277,
33,
20,
31,
277,
32,
4210,
31,
277,
27245,
288,
3639,
2332,
18,
1126,
3530,
12,
21314,
16,
3397,
16,
268,
16,
394,
7210,
16,
562,
1769,
3639,
3397,
3947,
562,
31,
3639,
394,
7210,
1011,
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,
1160,
8526,
1696,
2160,
12,
780,
612,
16,
509,
1158,
13,
565,
1216,
4077,
503,
16,
1860,
225,
288,
565,
309,
16051,
350,
18,
14963,
12,
2972,
2673,
548,
13,
597,
401,
350,
18,
14963,
12,
2972,
45,
2143,
548,
3719,
1208,
812,
12,
350,
1769,
565,
509,
1835,
273,
5769,
63,
21,
15533,
565,
509,
2072,
273,
5769,
63,
22,
15533,
565,
509,
818,
13239,
273,
1835,
380,
2072,
31,
565,
509,
5750,
273,
404,
31,
565,
509,
1384,
273,
1835,
380,
2072,
380,
261,
14797,
63,
20,
65,
342,
1725,
13,
380,
1158,
31,
565,
1160,
8526,
11017,
273,
394,
1160,
63,
2819,
380,
2072,
380,
261,
14797,
63,
20,
65,
342,
1725,
13,
15533,
2
] |
|
IPerspectiveDescriptor perspective) { UIListenerLogging.logPerspectiveEvent(this, page, perspective, UIListenerLogging.PLE_PERSP_DEACTIVATED); perspectiveListeners.firePerspectiveDeactivated(page, perspective); }
|
IPerspectiveDescriptor perspective) { UIListenerLogging.logPerspectiveEvent(this, page, perspective, UIListenerLogging.PLE_PERSP_DEACTIVATED); perspectiveListeners.firePerspectiveDeactivated(page, perspective); }
|
void firePerspectiveDeactivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) { UIListenerLogging.logPerspectiveEvent(this, page, perspective, UIListenerLogging.PLE_PERSP_DEACTIVATED); perspectiveListeners.firePerspectiveDeactivated(page, perspective); }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/97610ef9afbe6c924e048d8d60c2f4721860850b/WorkbenchWindow.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
4452,
14781,
16772,
758,
18836,
12,
45,
2421,
22144,
1964,
1363,
16,
5411,
2971,
414,
16772,
3187,
26651,
13,
288,
3639,
6484,
2223,
7735,
18,
1330,
14781,
16772,
1133,
12,
2211,
16,
1363,
16,
26651,
16,
6484,
2223,
7735,
18,
30099,
67,
3194,
3118,
67,
1639,
22271,
6344,
1769,
377,
202,
10422,
16772,
5583,
18,
12179,
14781,
16772,
758,
18836,
12,
2433,
16,
26651,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
4452,
14781,
16772,
758,
18836,
12,
45,
2421,
22144,
1964,
1363,
16,
5411,
2971,
414,
16772,
3187,
26651,
13,
288,
3639,
6484,
2223,
7735,
18,
1330,
14781,
16772,
1133,
12,
2211,
16,
1363,
16,
26651,
16,
6484,
2223,
7735,
18,
30099,
67,
3194,
3118,
67,
1639,
22271,
6344,
1769,
377,
202,
10422,
16772,
5583,
18,
12179,
14781,
16772,
758,
18836,
12,
2433,
16,
26651,
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
] |
private AnAction processReferenceElement(Element element) { if (LOG.isDebugEnabled()) { LOG.debug("enter: processReferenceElement(" + element.getName() + ")"); } if (!REFERENCE_ELEMENT_NAME.equals(element.getName())) { LOG.error("unexpected name of element \"" + element.getName() + "\""); return null; } String ref = element.getAttributeValue(REF_ATTR_NAME); if (ref==null) { // support old style references by id ref = element.getAttributeValue(ID_ATTR_NAME); } if (LOG.isDebugEnabled()) { LOG.debug("ref=\"" + ref + "\""); } if (ref == null || ref.length() == 0) { LOG.error("ID of reference element should be defined"); return null; } AnAction action = getActionImpl(ref, true); if (action == null) { if (!myNotRegisteredInternalActionIds.contains(ref)) { LOG.error("action specified by reference isn't registered (ID=" + ref + ")"); } return null; } assertActionIsGroupOrStub(action); return action; }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
979,
1803,
2567,
2404,
1046,
12,
1046,
2956,
15329,
430,
12,
4842,
18,
291,
2829,
1526,
10756,
95,
4842,
18,
4148,
2932,
2328,
30,
2567,
2404,
1046,
2932,
15,
2956,
18,
17994,
1435,
9078,
2225,
1769,
97,
430,
12,
5,
14617,
67,
10976,
67,
1985,
18,
14963,
12,
2956,
18,
17994,
1435,
3719,
95,
4842,
18,
1636,
2932,
21248,
529,
792,
2956,
8530,
15,
2956,
18,
17994,
1435,
9078,
8530,
1769,
2463,
2011,
31,
97,
780,
1734,
33,
2956,
18,
588,
14942,
12,
10771,
67,
12043,
67,
1985,
1769,
430,
12,
1734,
631,
2011,
15329,
759,
13261,
1673,
334,
93,
749,
73,
2980,
1637,
350,
1734,
33,
2956,
18,
588,
14942,
12,
734,
67,
12043,
67,
1985,
1769,
97,
430,
12,
4842,
18,
291,
2829,
1526,
10756,
95,
4842,
18,
4148,
2932,
1734,
13186,
15,
1734,
9078,
8530,
1769,
97,
430,
12,
1734,
631,
2011,
20081,
1734,
18,
2469,
1435,
631,
20,
15329,
4842,
18,
1636,
2932,
734,
792,
6180,
2956,
13139,
2196,
2178,
8863,
2463,
2011,
31,
97,
979,
1803,
1128,
33,
588,
1803,
2828,
12,
1734,
16,
3767,
1769,
430,
12,
1128,
631,
2011,
15329,
430,
12,
5,
4811,
1248,
10868,
3061,
1803,
2673,
18,
12298,
12,
1734,
3719,
95,
4842,
18,
1636,
2932,
1128,
13827,
1637,
6180,
291,
82,
1404,
14327,
12,
734,
1546,
15,
1734,
9078,
2225,
1769,
97,
2463,
2011,
31,
97,
11231,
1803,
2520,
1114,
1162,
11974,
12,
1128,
1769,
2463,
1128,
31,
97,
2,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
979,
1803,
2567,
2404,
1046,
12,
1046,
2956,
15329,
430,
12,
4842,
18,
291,
2829,
1526,
10756,
95,
4842,
18,
4148,
2932,
2328,
30,
2567,
2404,
1046,
2932,
15,
2956,
18,
17994,
1435,
9078,
2225,
1769,
97,
430,
12,
5,
14617,
67,
10976,
67,
1985,
18,
14963,
12,
2956,
18,
17994,
1435,
3719,
95,
4842,
18,
1636,
2932,
21248,
529,
792,
2956,
8530,
15,
2956,
18,
17994,
1435,
9078,
8530,
1769,
2463,
2011,
31,
97,
780,
1734,
33,
2956,
18,
588,
14942,
12,
10771,
67,
12043,
67,
1985,
1769,
430,
12,
1734,
631,
2011,
15329,
759,
13261,
1673,
334,
93,
749,
73,
2980,
1637,
350,
1734,
33,
2956,
18,
588,
14942,
12,
734,
67,
12043,
67,
1985,
1769,
2
] |
||
if ((row % 2) != 0) {
|
if (!isSelected && (row % 2) != 0) {
|
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { Component component = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); JLabel label =((JLabel)component); if(isSelected) { return component; } switch(column) { case 0: label.setHorizontalAlignment(JLabel.LEFT); break; default: label.setHorizontalAlignment(JLabel.RIGHT); break; } /** * Colourize based on row striping */ if ((row % 2) != 0) { component.setBackground(ChainsawConstants.COLOR_ODD_ROW); } else { component.setBackground(ChainsawConstants.COLOR_EVEN_ROW); } return component; }
|
47730 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47730/b28ba5fb447180b21106e04e95a8cfdb2a3f8207/FileObjectTable.java/clean/src/java/org/apache/log4j/chainsaw/vfs/FileObjectTable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
5435,
5638,
4020,
6747,
1841,
12,
46,
1388,
1014,
16,
9506,
202,
921,
460,
16,
1250,
20956,
16,
1250,
711,
9233,
16,
509,
1027,
16,
9506,
202,
474,
1057,
13,
288,
1082,
202,
1841,
1794,
273,
2240,
18,
588,
1388,
4020,
6747,
1841,
12,
2121,
16,
460,
16,
6862,
202,
291,
7416,
16,
711,
9233,
16,
1027,
16,
1057,
1769,
5411,
21403,
1433,
273,
12443,
46,
2224,
13,
4652,
1769,
25083,
202,
430,
12,
291,
7416,
13,
288,
9506,
202,
2463,
1794,
31,
565,
1082,
202,
97,
1082,
202,
9610,
12,
2827,
13,
288,
7734,
648,
374,
30,
1171,
202,
1925,
18,
542,
14457,
11535,
12,
46,
2224,
18,
10066,
1769,
10792,
898,
31,
9506,
202,
1886,
30,
10792,
1433,
18,
542,
14457,
11535,
12,
46,
2224,
18,
11847,
1769,
10792,
898,
31,
5411,
289,
1082,
202,
26873,
9506,
380,
1558,
477,
554,
2511,
603,
1027,
2569,
310,
9506,
1195,
1082,
202,
430,
14015,
492,
738,
576,
13,
480,
374,
13,
288,
9506,
202,
4652,
18,
542,
8199,
12,
15945,
2219,
2918,
18,
10989,
67,
1212,
40,
67,
11226,
1769,
1082,
202,
97,
469,
288,
9506,
202,
4652,
18,
542,
8199,
12,
15945,
2219,
2918,
18,
10989,
67,
24427,
1157,
67,
11226,
1769,
1082,
202,
97,
1082,
202,
2463,
1794,
31,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
5435,
5638,
4020,
6747,
1841,
12,
46,
1388,
1014,
16,
9506,
202,
921,
460,
16,
1250,
20956,
16,
1250,
711,
9233,
16,
509,
1027,
16,
9506,
202,
474,
1057,
13,
288,
1082,
202,
1841,
1794,
273,
2240,
18,
588,
1388,
4020,
6747,
1841,
12,
2121,
16,
460,
16,
6862,
202,
291,
7416,
16,
711,
9233,
16,
1027,
16,
1057,
1769,
5411,
21403,
1433,
273,
12443,
46,
2224,
13,
4652,
1769,
25083,
202,
430,
12,
291,
7416,
13,
288,
9506,
202,
2463,
1794,
31,
565,
1082,
202,
97,
1082,
202,
9610,
12,
2827,
13,
288,
7734,
648,
374,
30,
1171,
202,
1925,
18,
542,
14457,
11535,
12,
46,
2224,
18,
10066,
1769,
10792,
898,
31,
9506,
202,
2
] |
VM_Interface.getPlan().getLog().setThreadIdFlag();
|
getLog().setThreadIdFlag();
|
static void prependThreadId() { VM_Interface.getPlan().getLog().setThreadIdFlag(); }
|
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/57d01b0fb4a88ad2e1d9f94e356a4fbfbd6a917c/Log.java/buggy/rvm/src/vm/memoryManagers/JMTk/utility/Log.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
8254,
3830,
548,
1435,
225,
288,
565,
9189,
7675,
542,
3830,
548,
4678,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
8254,
3830,
548,
1435,
225,
288,
565,
9189,
7675,
542,
3830,
548,
4678,
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,
-100,
-100
] |
out.writeInt(mId);
|
out.writeInt(mId);
|
protected void serializeData(RedoLogOutput out) throws IOException { out.writeInt(mId); out.writeByte(mType); }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/34e60d3b24566058ca0cac751af676e219debfbe/IndexItem.java/clean/ZimbraServer/src/java/com/zimbra/cs/redolog/op/IndexItem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4472,
751,
12,
3715,
83,
1343,
1447,
596,
13,
1216,
1860,
288,
202,
202,
659,
18,
2626,
1702,
12,
81,
548,
1769,
3639,
596,
18,
2626,
3216,
12,
81,
559,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4472,
751,
12,
3715,
83,
1343,
1447,
596,
13,
1216,
1860,
288,
202,
202,
659,
18,
2626,
1702,
12,
81,
548,
1769,
3639,
596,
18,
2626,
3216,
12,
81,
559,
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
] |
Enumeration enum = markers.elements(); while(enum.hasMoreElements())
|
Enumeration e = markers.elements(); while(e.hasMoreElements())
|
public Marker getMarker(char shortcut) { Enumeration enum = markers.elements(); while(enum.hasMoreElements()) { Marker marker = (Marker)enum.nextElement(); if(marker.getShortcut() == shortcut) return marker; }
|
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/719d904521e27960a2b1e598bfb339a1df5e42b2/Buffer.java/clean/org/gjt/sp/jedit/Buffer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14742,
23232,
264,
12,
3001,
10995,
13,
202,
95,
202,
202,
21847,
2792,
273,
11754,
18,
6274,
5621,
202,
202,
17523,
12,
7924,
18,
5332,
7417,
3471,
10756,
202,
202,
95,
1082,
202,
7078,
5373,
273,
261,
7078,
13,
7924,
18,
4285,
1046,
5621,
1082,
202,
430,
12,
11145,
18,
588,
15576,
1435,
422,
10995,
13,
9506,
202,
2463,
5373,
31,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14742,
23232,
264,
12,
3001,
10995,
13,
202,
95,
202,
202,
21847,
2792,
273,
11754,
18,
6274,
5621,
202,
202,
17523,
12,
7924,
18,
5332,
7417,
3471,
10756,
202,
202,
95,
1082,
202,
7078,
5373,
273,
261,
7078,
13,
7924,
18,
4285,
1046,
5621,
1082,
202,
430,
12,
11145,
18,
588,
15576,
1435,
422,
10995,
13,
9506,
202,
2463,
5373,
31,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
InternalVersionHistory history = getVersionManager().getVersionHistory(getVersionHistoryId());
|
InternalVersionHistory history = vMgr.getVersionHistory(getVersionHistoryId());
|
public InternalVersion getBaseVesion() throws VersionException { try { InternalVersionHistory history = getVersionManager().getVersionHistory(getVersionHistoryId()); return history.getVersion(getBaseVersionId()); } catch (RepositoryException e) { throw new VersionException(e); } }
|
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/3e957667fd047e8ecafab58400b893e41d2e2dc2/InternalFrozenVHImpl.java/clean/jackrabbit/src/main/java/org/apache/jackrabbit/core/version/InternalFrozenVHImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3186,
1444,
8297,
58,
281,
285,
1435,
5411,
1216,
4049,
503,
288,
3639,
775,
288,
5411,
3186,
1444,
5623,
4927,
273,
331,
9455,
18,
588,
1444,
5623,
12,
588,
1444,
5623,
548,
10663,
5411,
327,
4927,
18,
588,
1444,
12,
588,
2171,
28039,
10663,
3639,
289,
1044,
261,
3305,
503,
425,
13,
288,
5411,
604,
394,
4049,
503,
12,
73,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3186,
1444,
8297,
58,
281,
285,
1435,
5411,
1216,
4049,
503,
288,
3639,
775,
288,
5411,
3186,
1444,
5623,
4927,
273,
331,
9455,
18,
588,
1444,
5623,
12,
588,
1444,
5623,
548,
10663,
5411,
327,
4927,
18,
588,
1444,
12,
588,
2171,
28039,
10663,
3639,
289,
1044,
261,
3305,
503,
425,
13,
288,
5411,
604,
394,
4049,
503,
12,
73,
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
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.