rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
listlengths 256
256
| attention_mask
listlengths 256
256
| labels
listlengths 128
128
|
|---|---|---|---|---|---|---|
WWinPluginAction action = (WWinPluginAction)iter.next();
|
WWinPluginAction action = (WWinPluginAction) iter.next();
|
public static void refreshActionList() { Iterator iter = staticActionList.iterator(); while (iter.hasNext()) { WWinPluginAction action = (WWinPluginAction)iter.next(); if ((action.getDelegate() == null) && action.isOkToCreateDelegate()) { action.createDelegate(); // creating the delegate also refreshes its enablement } } }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/3113adf073596bfd0c0770703963de0f288cda77/WWinPluginAction.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WWinPluginAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
4460,
1803,
682,
1435,
288,
202,
202,
3198,
1400,
273,
760,
1803,
682,
18,
9838,
5621,
202,
202,
17523,
261,
2165,
18,
5332,
2134,
10756,
288,
1082,
202,
59,
18049,
3773,
1803,
1301,
273,
261,
59,
18049,
3773,
1803,
13,
2165,
18,
4285,
5621,
1082,
202,
430,
14015,
1128,
18,
588,
9586,
1435,
422,
446,
13,
597,
1301,
18,
291,
8809,
774,
1684,
9586,
10756,
288,
9506,
202,
1128,
18,
2640,
9586,
5621,
9506,
202,
759,
4979,
326,
7152,
2546,
4460,
281,
2097,
4237,
475,
1082,
202,
97,
202,
202,
97,
202,
97,
225,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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981,
30,
225,
202,
482,
760,
918,
4460,
1803,
682,
1435,
288,
202,
202,
3198,
1400,
273,
760,
1803,
682,
18,
9838,
5621,
202,
202,
17523,
261,
2165,
18,
5332,
2134,
10756,
288,
1082,
202,
59,
18049,
3773,
1803,
1301,
273,
261,
59,
18049,
3773,
1803,
13,
2165,
18,
4285,
5621,
1082,
202,
430,
14015,
1128,
18,
588,
9586,
1435,
422,
446,
13,
597,
1301,
18,
291,
8809,
774,
1684,
9586,
10756,
288,
9506,
202,
1128,
18,
2640,
9586,
5621,
9506,
202,
759,
4979,
326,
7152,
2546,
4460,
281,
2097,
4237,
475,
1082,
202,
97,
202,
202,
97,
202,
97,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
for (Iterator tuples = tuplesToAssert.iterator( ); tuples.hasNext( );) { LeapsTuple tuple = (LeapsTuple) tuples.next( );
|
for (final Iterator it = tuplesToAssert.iterator( ); it.hasNext( );) { final LeapsTuple tuple = (LeapsTuple) it.next( );
|
public void doAssertObject( final InternalFactHandle factHandle, final Object object, final PropagationContext propagationContext ) throws FactException { this.pushTokenOnStack( factHandle, new Token( this, factHandle, propagationContext ) ); // determine what classes it belongs to put it into the "table" on // class name key List tuplesToAssert = new LinkedList( ); final Object objectClass = LeapsBuilder.getLeapsClassType( object ); for (final Iterator tables = this.getFactTablesList( objectClass ).iterator( ); tables.hasNext( );) { tuplesToAssert.clear( ); final FactTable factTable = (FactTable) tables.next( ); // adding fact to container factTable.add( factHandle ); for (final Iterator tuples = factTable.getTuplesIterator( ); tuples.hasNext( );) { final LeapsTuple tuple = (LeapsTuple) tuples.next( ); final ColumnConstraints[] not = tuple.getLeapsRule( ) .getNotColumnConstraints( ); for (int i = 0, length = not.length; i < length; i++) { final ColumnConstraints constraint = not[i]; final Object columnClassObject = constraint.getClassType( ); if (!tuple.isBlockingNotFactHandle( i ) && ( ( objectClass.getClass( ) == Class.class && columnClassObject.getClass( ) == Class.class && ( (Class) columnClassObject ).isAssignableFrom( (Class) objectClass ) ) || ( objectClass.getClass( ) != Class.class && columnClassObject.getClass( ) != Class.class && columnClassObject.equals( objectClass ) ) ) && constraint.isAllowed( factHandle, tuple, this )) { tuple.setBlockingNotFactHandle( (LeapsFactHandle) factHandle, i ); ( (LeapsFactHandle) factHandle ).addNotTuple( tuple, i ); } } // check exists constraints and activate constraints final ColumnConstraints[] exists = tuple.getLeapsRule( ) .getExistsColumnConstraints( ); for (int i = 0, length = exists.length; i < length; i++) { final ColumnConstraints constraint = exists[i]; final Object columnClassObject = constraint.getClassType( ); if (!tuple.isExistsFactHandle( i ) && ( ( objectClass.getClass( ) == Class.class && columnClassObject.getClass( ) == Class.class && ( (Class) columnClassObject ).isAssignableFrom( (Class) objectClass ) ) || ( objectClass.getClass( ) != Class.class && columnClassObject.getClass( ) != Class.class && columnClassObject.equals( objectClass ) ) ) && constraint.isAllowed( factHandle, tuple, this )) { tuple.setExistsFactHandle( (LeapsFactHandle) factHandle, i ); ( (LeapsFactHandle) factHandle ).addExistsTuple( tuple, i ); } } // check and see if we need activate // activate only if tuple was not ready for it before if (tuple.isReadyForActivation( )) { // ready to activate tuple.setContext( new PropagationContextImpl( nextPropagationIdCounter( ), PropagationContext.ASSERTION, tuple.getLeapsRule( ) .getRule( ), null ) ); tuplesToAssert.add( tuple ); } } for (Iterator tuples = tuplesToAssert.iterator( ); tuples.hasNext( );) { LeapsTuple tuple = (LeapsTuple) tuples.next( ); factTable.removeTuple( tuple ); this.assertTuple( tuple ); } } // inspect all tuples for exists and not conditions and activate // deactivate agenda items Activation[] activations = this.agenda.getActivations( ); for (int k = 0; k < activations.length; k++) { boolean deActivate = false; LeapsTuple tuple = (LeapsTuple) activations[k].getTuple( ); final ColumnConstraints[] not = tuple.getLeapsRule( ).getNotColumnConstraints( ); for (int i = 0, length = not.length; i < length; i++) { final ColumnConstraints constraint = not[i]; final Object columnClassObject = constraint.getClassType( ); if (!tuple.isBlockingNotFactHandle( i ) && ( ( objectClass.getClass( ) == Class.class && columnClassObject.getClass( ) == Class.class && ( (Class) columnClassObject ).isAssignableFrom( (Class) objectClass ) ) || ( objectClass.getClass( ) != Class.class && columnClassObject.getClass( ) != Class.class && columnClassObject.equals( objectClass ) ) ) && constraint.isAllowed( factHandle, tuple, this )) { tuple.setBlockingNotFactHandle( (LeapsFactHandle) factHandle, i ); ( (LeapsFactHandle) factHandle ).addNotTuple( tuple, i ); if (!deActivate) { deActivate = true; } } } // check and see if we need de-activate if (deActivate) { if (tuple.getLeapsRule( ).getRule( ) instanceof Query) { // put query results to the working memory // location removeFromQueryResults( tuple.getLeapsRule( ).getRule( ).getName( ), tuple ); } else { // time to pull from agenda invalidateActivation( tuple ); } } } }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/f1bb0dc439f4aa4ef99a6d30ed745da9b7d52db4/LeapsWorkingMemory.java/buggy/drools-core/src/main/java/org/drools/leaps/LeapsWorkingMemory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
8213,
921,
12,
727,
3186,
9766,
3259,
5410,
3259,
16,
27573,
727,
1033,
733,
16,
27573,
727,
1186,
9095,
367,
1042,
25686,
1042,
262,
5411,
1216,
29057,
503,
288,
3639,
333,
18,
6206,
1345,
1398,
2624,
12,
5410,
3259,
16,
394,
3155,
12,
333,
16,
5410,
3259,
16,
25686,
1042,
262,
11272,
3639,
368,
4199,
4121,
3318,
518,
11081,
358,
1378,
518,
1368,
326,
315,
2121,
6,
603,
3639,
368,
667,
508,
498,
3639,
987,
10384,
774,
8213,
273,
394,
10688,
12,
11272,
3639,
727,
1033,
23992,
273,
3519,
6679,
1263,
18,
588,
1682,
6679,
18328,
12,
733,
11272,
3639,
364,
261,
6385,
4498,
4606,
273,
333,
18,
588,
9766,
6905,
682,
12,
23992,
262,
18,
9838,
12,
11272,
4606,
18,
5332,
2134,
12,
11272,
13,
288,
5411,
10384,
774,
8213,
18,
8507,
12,
11272,
5411,
727,
29057,
1388,
5410,
1388,
273,
261,
9766,
1388,
13,
4606,
18,
4285,
12,
11272,
5411,
368,
6534,
5410,
358,
1478,
5411,
5410,
1388,
18,
1289,
12,
5410,
3259,
11272,
5411,
364,
261,
6385,
4498,
10384,
273,
5410,
1388,
18,
588,
25813,
3198,
12,
11272,
10384,
18,
5332,
2134,
12,
11272,
13,
288,
7734,
727,
3519,
6679,
9038,
3193,
273,
261,
1682,
6679,
9038,
13,
10384,
18,
4285,
12,
11272,
7734,
727,
4753,
4878,
8526,
486,
273,
3193,
18,
588,
1682,
6679,
2175,
12,
262,
4766,
5397,
263,
588,
1248,
1494,
4878,
12,
11272,
7734,
364,
261,
474,
277,
273,
374,
16,
769,
273,
486,
18,
2469,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
8213,
921,
12,
727,
3186,
9766,
3259,
5410,
3259,
16,
27573,
727,
1033,
733,
16,
27573,
727,
1186,
9095,
367,
1042,
25686,
1042,
262,
5411,
1216,
29057,
503,
288,
3639,
333,
18,
6206,
1345,
1398,
2624,
12,
5410,
3259,
16,
394,
3155,
12,
333,
16,
5410,
3259,
16,
25686,
1042,
262,
11272,
3639,
368,
4199,
4121,
3318,
518,
11081,
358,
1378,
518,
1368,
326,
315,
2121,
6,
603,
3639,
368,
667,
508,
498,
3639,
987,
10384,
774,
8213,
273,
394,
10688,
12,
11272,
3639,
727,
1033,
23992,
273,
3519,
6679,
1263,
18,
588,
1682,
6679,
18328,
12,
733,
11272,
3639,
364,
261,
6385,
4498,
4606,
273,
333,
18,
588,
9766,
6905,
682,
12,
23992,
262,
2
] |
return new Table_doc_permission_sets( rs );
|
return new Table_new_doc_permission_sets( rs );
|
public Object mapOneRow( ResultSet rs ) throws SQLException { return new Table_doc_permission_sets( rs ); }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/ceb6434abc174e9f93dd61c0cedb88d1ca009f2b/DatabaseService.java/clean/server/src/imcode/server/db/DatabaseService.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
852,
3335,
1999,
12,
10842,
3597,
262,
1216,
6483,
288,
7734,
327,
394,
3555,
67,
2704,
67,
2434,
67,
9827,
67,
4424,
12,
3597,
11272,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
852,
3335,
1999,
12,
10842,
3597,
262,
1216,
6483,
288,
7734,
327,
394,
3555,
67,
2704,
67,
2434,
67,
9827,
67,
4424,
12,
3597,
11272,
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
] |
match(input,33,FOLLOW_33_in_word2592);
|
match(input,33,FOLLOW_33_in_word2595);
|
public String word() throws RecognitionException { String word; Token id=null; Token str=null; word = null; try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:870:17: (id= ID | 'import' | 'use' | 'rule' | 'query' | 'salience' | 'no-loop' | 'when' | 'then' | 'end' | str= STRING ) int alt58=11; switch ( input.LA(1) ) { case ID: alt58=1; break; case 17: alt58=2; break; case 56: alt58=3; break; case 28: alt58=4; break; case 26: alt58=5; break; case 33: alt58=6; break; case 34: alt58=7; break; case 29: alt58=8; break; case 31: alt58=9; break; case 27: alt58=10; break; case STRING: alt58=11; break; default: NoViableAltException nvae = new NoViableAltException("866:1: word returns [String word] : (id= ID | \'import\' | \'use\' | \'rule\' | \'query\' | \'salience\' | \'no-loop\' | \'when\' | \'then\' | \'end\' | str= STRING );", 58, 0, input); throw nvae; } switch (alt58) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:870:17: id= ID { id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_word2538); word=id.getText(); } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:871:17: 'import' { match(input,17,FOLLOW_17_in_word2550); word="import"; } break; case 3 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:872:17: 'use' { match(input,56,FOLLOW_56_in_word2559); word="use"; } break; case 4 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:873:17: 'rule' { match(input,28,FOLLOW_28_in_word2571); word="rule"; } break; case 5 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:874:17: 'query' { match(input,26,FOLLOW_26_in_word2582); word="query"; } break; case 6 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:875:17: 'salience' { match(input,33,FOLLOW_33_in_word2592); word="salience"; } break; case 7 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:876:17: 'no-loop' { match(input,34,FOLLOW_34_in_word2600); word="no-loop"; } break; case 8 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:877:17: 'when' { match(input,29,FOLLOW_29_in_word2608); word="when"; } break; case 9 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:878:17: 'then' { match(input,31,FOLLOW_31_in_word2619); word="then"; } break; case 10 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:879:17: 'end' { match(input,27,FOLLOW_27_in_word2630); word="end"; } break; case 11 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:880:17: str= STRING { str=(Token)input.LT(1); match(input,STRING,FOLLOW_STRING_in_word2644); word=getString(str); } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return word; }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/f57cd683a66080d941264e3f98974908a6a489a0/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2076,
1435,
1216,
9539,
288,
6647,
514,
2076,
31,
3639,
3155,
612,
33,
2011,
31,
3639,
3155,
609,
33,
2011,
31,
1171,
202,
202,
1095,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
28,
7301,
30,
4033,
30,
261,
350,
33,
1599,
571,
296,
5666,
11,
571,
296,
1202,
11,
571,
296,
5345,
11,
571,
296,
2271,
11,
571,
296,
21982,
6254,
11,
571,
296,
2135,
17,
6498,
11,
571,
296,
13723,
11,
571,
296,
15991,
11,
571,
296,
409,
11,
571,
609,
33,
9469,
262,
5411,
509,
3770,
8204,
33,
2499,
31,
5411,
1620,
261,
810,
18,
2534,
12,
21,
13,
262,
288,
5411,
648,
1599,
30,
7734,
3770,
8204,
33,
21,
31,
7734,
898,
31,
5411,
648,
8043,
30,
7734,
3770,
8204,
33,
22,
31,
7734,
898,
31,
5411,
648,
13850,
30,
7734,
3770,
8204,
33,
23,
31,
7734,
898,
31,
5411,
648,
9131,
30,
7734,
3770,
8204,
33,
24,
31,
7734,
898,
31,
5411,
648,
10659,
30,
7734,
3770,
8204,
33,
25,
31,
7734,
898,
31,
5411,
648,
13159,
30,
7734,
3770,
8204,
33,
26,
31,
7734,
898,
31,
5411,
648,
13438,
30,
7734,
3770,
8204,
33,
27,
31,
7734,
898,
31,
5411,
648,
12899,
30,
7734,
3770,
8204,
33,
28,
31,
7734,
898,
31,
5411,
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,
514,
2076,
1435,
1216,
9539,
288,
6647,
514,
2076,
31,
3639,
3155,
612,
33,
2011,
31,
3639,
3155,
609,
33,
2011,
31,
1171,
202,
202,
1095,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
28,
7301,
30,
4033,
30,
261,
350,
33,
1599,
571,
296,
5666,
11,
571,
296,
1202,
11,
571,
296,
5345,
11,
571,
296,
2271,
11,
571,
296,
21982,
6254,
11,
571,
296,
2135,
17,
6498,
11,
571,
296,
13723,
11,
571,
296,
15991,
11,
571,
296,
409,
11,
571,
2
] |
case 157: case 158:
|
case 159: case 160:
|
public final void pathExpr() throws RecognitionException, TokenStreamException, XPathException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST pathExpr_AST = null; org.exist.xquery.parser.XQueryAST relPath_AST = null; org.exist.xquery.parser.XQueryAST relPath2_AST = null; switch ( LA(1)) { case LPAREN: case NCNAME: case LITERAL_xquery: case LITERAL_version: case LITERAL_module: case LITERAL_namespace: case STRING_LITERAL: case LITERAL_import: case LITERAL_declare: case LITERAL_default: case LITERAL_xmlspace: case LITERAL_ordering: case LITERAL_construction: case LITERAL_function: case LITERAL_variable: case LITERAL_encoding: case LITERAL_collation: case LITERAL_element: case LITERAL_preserve: case LITERAL_strip: case LITERAL_ordered: case LITERAL_unordered: case DOLLAR: case LITERAL_at: case LITERAL_as: case LITERAL_empty: case STAR: case LITERAL_item: case LITERAL_for: case LITERAL_let: case LITERAL_some: case LITERAL_every: case LITERAL_if: case LITERAL_return: case LITERAL_order: case LITERAL_by: case LITERAL_typeswitch: case LITERAL_then: case LITERAL_else: case LITERAL_or: case LITERAL_and: case LITERAL_instance: case LITERAL_of: case LITERAL_cast: case LT: case LITERAL_is: case LITERAL_isnot: case LITERAL_to: case LITERAL_div: case LITERAL_mod: case LITERAL_union: case LITERAL_intersect: case LITERAL_except: case LITERAL_text: case LITERAL_node: case LITERAL_attribute: case LITERAL_comment: case 139: case 140: case LITERAL_document: case SELF: case XML_COMMENT: case XML_PI: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_descendant: case 152: case 153: case LITERAL_following: case LITERAL_parent: case LITERAL_ancestor: case 157: case 158: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case LITERAL_collection: case LITERAL_preceding: { relativePathExpr(); astFactory.addASTChild(currentAST, returnAST); pathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case DSLASH: { org.exist.xquery.parser.XQueryAST tmp193_AST = null; tmp193_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp193_AST); match(DSLASH); relativePathExpr(); relPath2_AST = (org.exist.xquery.parser.XQueryAST)returnAST; astFactory.addASTChild(currentAST, returnAST); if ( inputState.guessing==0 ) { pathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; pathExpr_AST= (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(ABSOLUTE_DSLASH,"AbsoluteSlashSlash")).add(relPath2_AST)); currentAST.root = pathExpr_AST; currentAST.child = pathExpr_AST!=null &&pathExpr_AST.getFirstChild()!=null ? pathExpr_AST.getFirstChild() : pathExpr_AST; currentAST.advanceChildToEnd(); } pathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } default: boolean synPredMatched177 = false; if (((LA(1)==SLASH))) { int _m177 = mark(); synPredMatched177 = true; inputState.guessing++; try { { match(SLASH); relativePathExpr(); } } catch (RecognitionException pe) { synPredMatched177 = false; } rewind(_m177); inputState.guessing--; } if ( synPredMatched177 ) { org.exist.xquery.parser.XQueryAST tmp194_AST = null; tmp194_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp194_AST); match(SLASH); relativePathExpr(); relPath_AST = (org.exist.xquery.parser.XQueryAST)returnAST; astFactory.addASTChild(currentAST, returnAST); if ( inputState.guessing==0 ) { pathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; pathExpr_AST= (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(ABSOLUTE_SLASH,"AbsoluteSlash")).add(relPath_AST)); currentAST.root = pathExpr_AST; currentAST.child = pathExpr_AST!=null &&pathExpr_AST.getFirstChild()!=null ? pathExpr_AST.getFirstChild() : pathExpr_AST; currentAST.advanceChildToEnd(); } pathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else if ((LA(1)==SLASH)) { org.exist.xquery.parser.XQueryAST tmp195_AST = null; tmp195_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp195_AST); match(SLASH); if ( inputState.guessing==0 ) { pathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; pathExpr_AST= (org.exist.xquery.parser.XQueryAST)astFactory.create(ABSOLUTE_SLASH,"AbsoluteSlash"); currentAST.root = pathExpr_AST; currentAST.child = pathExpr_AST!=null &&pathExpr_AST.getFirstChild()!=null ? pathExpr_AST.getFirstChild() : pathExpr_AST; currentAST.advanceChildToEnd(); } pathExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { throw new NoViableAltException(LT(1), getFilename()); } } returnAST = pathExpr_AST; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/9aec85412cf9f86cb609358133dd23628306f44a/XQueryParser.java/clean/src/org/exist/xquery/parser/XQueryParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
589,
4742,
1435,
1216,
9539,
16,
3155,
1228,
503,
16,
10172,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
589,
4742,
67,
9053,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
20282,
67,
9053,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
20282,
22,
67,
9053,
273,
446,
31,
9506,
202,
9610,
261,
2928,
12,
21,
3719,
288,
202,
202,
3593,
511,
15111,
30,
202,
202,
3593,
423,
39,
1985,
30,
202,
202,
3593,
511,
18454,
67,
92,
2271,
30,
202,
202,
3593,
511,
18454,
67,
1589,
30,
202,
202,
3593,
511,
18454,
67,
2978,
30,
202,
202,
3593,
511,
18454,
67,
4937,
30,
202,
202,
3593,
9469,
67,
23225,
30,
202,
202,
3593,
511,
18454,
67,
5666,
30,
202,
202,
3593,
511,
18454,
67,
29554,
30,
202,
202,
3593,
511,
18454,
67,
1886,
30,
202,
202,
3593,
511,
18454,
67,
2902,
2981,
30,
202,
202,
3593,
511,
18454,
67,
22598,
30,
202,
202,
3593,
511,
18454,
67,
591,
4549,
30,
202,
202,
3593,
511,
18454,
67,
915,
30,
202,
202,
3593,
511,
18454,
67,
6105,
30,
202,
202,
3593,
511,
18454,
67,
5999,
30,
202,
202,
3593,
511,
18454,
67,
29992,
30,
202,
202,
3593,
511,
18454,
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,
589,
4742,
1435,
1216,
9539,
16,
3155,
1228,
503,
16,
10172,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
589,
4742,
67,
9053,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
20282,
67,
9053,
273,
446,
31,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
20282,
22,
67,
9053,
273,
446,
31,
9506,
202,
9610,
261,
2928,
12,
21,
3719,
288,
202,
202,
3593,
511,
15111,
30,
202,
202,
3593,
423,
39,
1985,
2
] |
initEAttribute(getQuery_Definition(), theXMLTypePackage.getString(), "definition", null, 1, 1, Query.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getQuery_Rules(), this.getRule(), null, "rules", null, 1, -1, Query.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
initEAttribute(getQuery_Definition(), theXMLTypePackage.getString(), "definition", null, 1, 1, Query.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getQuery_Rules(), this.getRule(), null, "rules", null, 1, -1, Query.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages AttributePackageImpl theAttributePackage = (AttributePackageImpl)EPackage.Registry.INSTANCE.getEPackage(AttributePackage.eNS_URI); XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); ComponentPackageImpl theComponentPackage = (ComponentPackageImpl)EPackage.Registry.INSTANCE.getEPackage(ComponentPackage.eNS_URI); // Add supertypes to classes dateTimeDataElementEClass.getESuperTypes().add(this.getDataElement()); dateTimeDataSetEClass.getESuperTypes().add(this.getDataSet()); numberDataElementEClass.getESuperTypes().add(this.getDataElement()); numberDataSetEClass.getESuperTypes().add(this.getDataSet()); stockDataSetEClass.getESuperTypes().add(this.getDataSet()); textDataSetEClass.getESuperTypes().add(this.getDataSet()); // Initialize classes and features; add operations and parameters initEClass(actionEClass, Action.class, "Action", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getAction_Type(), theAttributePackage.getActionType(), "type", "URL_Redirect", 1, 1, Action.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getAction_Value(), theAttributePackage.getActionValue(), null, "value", null, 1, 1, Action.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(baseSampleDataEClass, BaseSampleData.class, "BaseSampleData", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getBaseSampleData_DataSetRepresentation(), theXMLTypePackage.getString(), "dataSetRepresentation", null, 1, 1, BaseSampleData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(dataElementEClass, DataElement.class, "DataElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(dataSetEClass, DataSet.class, "DataSet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getDataSet_Values(), theXMLTypePackage.getAnySimpleType(), "values", null, 1, 1, DataSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(dateTimeDataElementEClass, DateTimeDataElement.class, "DateTimeDataElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getDateTimeDataElement_Value(), theXMLTypePackage.getLong(), "value", null, 1, 1, DateTimeDataElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(dateTimeDataSetEClass, DateTimeDataSet.class, "DateTimeDataSet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(numberDataElementEClass, NumberDataElement.class, "NumberDataElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getNumberDataElement_Value(), theXMLTypePackage.getDouble(), "value", null, 1, 1, NumberDataElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(numberDataSetEClass, NumberDataSet.class, "NumberDataSet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(orthogonalSampleDataEClass, OrthogonalSampleData.class, "OrthogonalSampleData", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getOrthogonalSampleData_DataSetRepresentation(), theXMLTypePackage.getString(), "dataSetRepresentation", null, 1, 1, OrthogonalSampleData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getOrthogonalSampleData_SeriesDefinitionIndex(), theXMLTypePackage.getInt(), "seriesDefinitionIndex", null, 1, 1, OrthogonalSampleData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(queryEClass, Query.class, "Query", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getQuery_Definition(), theXMLTypePackage.getString(), "definition", null, 1, 1, Query.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getQuery_Rules(), this.getRule(), null, "rules", null, 1, -1, Query.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(ruleEClass, Rule.class, "Rule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getRule_Type(), theAttributePackage.getRuleType(), "type", "Filter", 1, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getRule_Value(), theXMLTypePackage.getString(), "value", null, 1, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(sampleDataEClass, SampleData.class, "SampleData", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getSampleData_BaseSampleData(), this.getBaseSampleData(), null, "baseSampleData", null, 1, -1, SampleData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getSampleData_OrthogonalSampleData(), this.getOrthogonalSampleData(), null, "orthogonalSampleData", null, 1, -1, SampleData.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(seriesDefinitionEClass, SeriesDefinition.class, "SeriesDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getSeriesDefinition_Query(), this.getQuery(), null, "query", null, 1, 1, SeriesDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getSeriesDefinition_SeriesPalette(), theAttributePackage.getPalette(), null, "seriesPalette", null, 1, 1, SeriesDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getSeriesDefinition_SeriesDefinitions(), this.getSeriesDefinition(), null, "seriesDefinitions", null, 1, -1, SeriesDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getSeriesDefinition_Series(), theComponentPackage.getSeries(), null, "series", null, 1, -1, SeriesDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getSeriesDefinition_Grouping(), this.getSeriesGrouping(), null, "grouping", null, 0, 1, SeriesDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSeriesDefinition_Sorting(), theAttributePackage.getSortOption(), "sorting", "Ascending", 0, 1, SeriesDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(seriesGroupingEClass, SeriesGrouping.class, "SeriesGrouping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getSeriesGrouping_Enabled(), theXMLTypePackage.getBoolean(), "enabled", null, 1, 1, SeriesGrouping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSeriesGrouping_GroupingUnit(), theXMLTypePackage.getString(), "groupingUnit", null, 1, 1, SeriesGrouping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSeriesGrouping_GroupingInterval(), theXMLTypePackage.getInt(), "groupingInterval", null, 1, 1, SeriesGrouping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSeriesGrouping_GroupType(), theXMLTypePackage.getString(), "groupType", null, 1, 1, SeriesGrouping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getSeriesGrouping_AggregateExpression(), theXMLTypePackage.getString(), "aggregateExpression", null, 1, 1, SeriesGrouping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(stockDataSetEClass, StockDataSet.class, "StockDataSet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(textDataSetEClass, TextDataSet.class, "TextDataSet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(triggerEClass, Trigger.class, "Trigger", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getTrigger_Condition(), theAttributePackage.getTriggerCondition(), "condition", "Mouse_Hover", 1, 1, Trigger.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getTrigger_Action(), this.getAction(), null, "action", null, 1, 1, Trigger.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Create resource createResource(eNS_URI); // Create annotations // http:///org/eclipse/emf/ecore/util/ExtendedMetaData createExtendedMetaDataAnnotations(); }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/DataPackageImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/DataPackageImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
2261,
6323,
1435,
565,
288,
3639,
309,
261,
291,
11459,
13,
327,
31,
3639,
25359,
273,
638,
31,
3639,
368,
9190,
2181,
3639,
6788,
12,
73,
1985,
1769,
3639,
444,
10386,
2244,
12,
73,
3156,
67,
6307,
1769,
3639,
444,
10386,
3098,
12,
73,
3156,
67,
3098,
1769,
3639,
368,
24850,
1308,
10460,
5907,
3639,
3601,
2261,
2828,
326,
1499,
2261,
273,
261,
1499,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
1499,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
3167,
559,
2261,
2828,
326,
4201,
559,
2261,
273,
261,
4201,
559,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
4201,
559,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
5435,
2261,
2828,
326,
1841,
2261,
273,
261,
1841,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
1841,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
368,
1436,
1169,
1051,
989,
358,
3318,
3639,
9296,
751,
1046,
5720,
18,
588,
41,
8051,
2016,
7675,
1289,
12,
2211,
18,
588,
751,
1046,
10663,
3639,
9296,
13676,
5720,
18,
588,
41,
8051,
2016,
7675,
1289,
12,
2211,
18,
588,
13676,
10663,
3639,
1300,
751,
1046,
5720,
18,
588,
41,
8051,
2016,
7675,
1289,
12,
2211,
18,
588,
751,
1046,
10663,
3639,
1300,
13676,
5720,
18,
588,
41,
8051,
2016,
7675,
1289,
12,
2211,
18,
588,
13676,
10663,
3639,
12480,
13676,
5720,
18,
588,
41,
8051,
2016,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
2261,
6323,
1435,
565,
288,
3639,
309,
261,
291,
11459,
13,
327,
31,
3639,
25359,
273,
638,
31,
3639,
368,
9190,
2181,
3639,
6788,
12,
73,
1985,
1769,
3639,
444,
10386,
2244,
12,
73,
3156,
67,
6307,
1769,
3639,
444,
10386,
3098,
12,
73,
3156,
67,
3098,
1769,
3639,
368,
24850,
1308,
10460,
5907,
3639,
3601,
2261,
2828,
326,
1499,
2261,
273,
261,
1499,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
1499,
2261,
18,
73,
3156,
67,
3098,
1769,
3639,
3167,
559,
2261,
2828,
326,
4201,
559,
2261,
273,
261,
4201,
559,
2261,
2828,
13,
41,
2261,
18,
4243,
18,
13341,
18,
588,
41,
2261,
12,
4201,
559,
2
] |
setColumn(columnName, java.sql.Date.valueOf(columnValue));
|
setColumn(columnName, java.sql.Date.valueOf(columnValue),true);
|
public void setStringColumn(String columnName, String columnValue) { int classType = getStorageClassType(columnName); if (classType == EntityAttribute.TYPE_JAVA_LANG_INTEGER) { if (columnValue != null) { setColumn(columnName, new Integer(columnValue)); } } else if (classType == EntityAttribute.TYPE_JAVA_LANG_STRING) { if (columnValue != null) { setColumn(columnName, columnValue); } } else if (classType == EntityAttribute.TYPE_JAVA_LANG_BOOLEAN) { if (columnValue != null) { if (columnValue.equals("Y")) { setColumn(columnName, new Boolean(true)); } else if (columnValue.equals("N")) { setColumn(columnName, new Boolean(false)); } else { setColumn(columnName, new Boolean(false)); } } } else if (classType == EntityAttribute.TYPE_JAVA_LANG_FLOAT) { if (columnValue != null) { setColumn(columnName, new Float(columnValue)); } } else if (classType == EntityAttribute.TYPE_JAVA_LANG_DOUBLE) { if (columnValue != null) { setColumn(columnName, new Double(columnValue)); } } else if (classType == EntityAttribute.TYPE_JAVA_SQL_TIMESTAMP) { if (columnValue != null) { setColumn(columnName, java.sql.Timestamp.valueOf(columnValue)); } } else if (classType == EntityAttribute.TYPE_JAVA_SQL_DATE) { if (columnValue != null) { setColumn(columnName, java.sql.Date.valueOf(columnValue)); } } else if (classType == EntityAttribute.TYPE_JAVA_UTIL_DATE) { if (columnValue != null) { setColumn(columnName, java.sql.Date.valueOf(columnValue)); } } else if (classType == EntityAttribute.TYPE_JAVA_SQL_TIME) { if (columnValue != null) { setColumn(columnName, java.sql.Time.valueOf(columnValue)); } } else if (classType == EntityAttribute.TYPE_COM_IDEGA_UTIL_GENDER) { if (columnValue != null) { setColumn(columnName, columnValue.toString()); } } }
|
52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/13456e2fb37384b17a0a7bc9957f83eb6aac4522/GenericEntity.java/buggy/src/java/com/idega/data/GenericEntity.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
14600,
1494,
12,
780,
7578,
16,
514,
30297,
13,
288,
202,
202,
474,
24959,
273,
13840,
18328,
12,
2827,
461,
1769,
202,
202,
430,
261,
1106,
559,
422,
3887,
1499,
18,
2399,
67,
27264,
67,
10571,
67,
14217,
13,
288,
1082,
202,
430,
261,
2827,
620,
480,
446,
13,
288,
9506,
202,
542,
1494,
12,
2827,
461,
16,
394,
2144,
12,
2827,
620,
10019,
1082,
202,
97,
202,
202,
97,
469,
309,
261,
1106,
559,
422,
3887,
1499,
18,
2399,
67,
27264,
67,
10571,
67,
5804,
13,
288,
1082,
202,
430,
261,
2827,
620,
480,
446,
13,
288,
9506,
202,
542,
1494,
12,
2827,
461,
16,
30297,
1769,
1082,
202,
97,
202,
202,
97,
469,
309,
261,
1106,
559,
422,
3887,
1499,
18,
2399,
67,
27264,
67,
10571,
67,
17900,
13,
288,
1082,
202,
430,
261,
2827,
620,
480,
446,
13,
288,
9506,
202,
430,
261,
2827,
620,
18,
14963,
2932,
61,
6,
3719,
288,
6862,
202,
542,
1494,
12,
2827,
461,
16,
394,
3411,
12,
3767,
10019,
9506,
202,
97,
469,
309,
261,
2827,
620,
18,
14963,
2932,
50,
6,
3719,
288,
6862,
202,
542,
1494,
12,
2827,
461,
16,
394,
3411,
12,
5743,
10019,
9506,
202,
97,
469,
288,
6862,
202,
542,
1494,
12,
2827,
461,
16,
394,
3411,
12,
5743,
10019,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
469,
309,
261,
1106,
559,
422,
3887,
1499,
18,
2399,
67,
27264,
67,
10571,
67,
15640,
13,
288,
1082,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
14600,
1494,
12,
780,
7578,
16,
514,
30297,
13,
288,
202,
202,
474,
24959,
273,
13840,
18328,
12,
2827,
461,
1769,
202,
202,
430,
261,
1106,
559,
422,
3887,
1499,
18,
2399,
67,
27264,
67,
10571,
67,
14217,
13,
288,
1082,
202,
430,
261,
2827,
620,
480,
446,
13,
288,
9506,
202,
542,
1494,
12,
2827,
461,
16,
394,
2144,
12,
2827,
620,
10019,
1082,
202,
97,
202,
202,
97,
469,
309,
261,
1106,
559,
422,
3887,
1499,
18,
2399,
67,
27264,
67,
10571,
67,
5804,
13,
288,
1082,
202,
430,
261,
2827,
620,
480,
446,
13,
288,
9506,
202,
542,
1494,
12,
2827,
461,
16,
30297,
1769,
1082,
202,
97,
202,
202,
97,
469,
2
] |
getTextComponent(event).copy();
|
public void actionPerformed(ActionEvent event) { // FIXME: Implement me. Tookit.getSystemClipboard should be used // for that. }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e8a49a412752cdcc88a774cac2de160a23c6f550/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
6701,
1841,
12,
2575,
2934,
3530,
5621,
6701,
1841,
12,
2575,
2934,
3530,
5621,
1071,
918,
26100,
12,
1803,
1133,
871,
13,
588,
1528,
1841,
12,
2575,
2934,
3530,
5621,
6701,
1841,
12,
2575,
2934,
3530,
5621,
288,
588,
1528,
1841,
12,
2575,
2934,
3530,
5621,
6701,
1841,
12,
2575,
2934,
3530,
5621,
6701,
1841,
12,
2575,
2934,
3530,
5621,
368,
9852,
30,
10886,
1791,
18,
399,
1184,
305,
18,
588,
3163,
15339,
3752,
1410,
506,
1399,
588,
1528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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
6701,
1841,
12,
2575,
2934,
3530,
5621,
6701,
1841,
12,
2575,
2934,
3530,
5621,
1071,
918,
26100,
12,
1803,
1133,
871,
13,
588,
1528,
1841,
12,
2575,
2934,
3530,
5621,
6701,
1841,
12,
2575,
2934,
3530,
5621,
288,
588,
1528,
1841,
12,
2575,
2934,
3530,
5621,
6701,
1841,
12,
2575,
2934,
3530,
5621,
6701,
1841,
12,
2575,
2934,
3530,
5621,
368,
9852,
30,
10886,
1791,
18,
399,
1184,
305,
18,
588,
3163,
15339,
3752,
1410,
506,
1399,
588,
1528,
1841,
12,
2575,
2934,
3530,
5621,
6701,
1841,
12,
2575,
2934,
3530,
5621,
6701,
1841,
12,
2575,
2934,
3530,
5621,
368,
364,
716,
18,
588,
1528,
1841,
12,
2575,
2934,
3530,
5621,
6701,
1841,
12,
2575,
2934,
3530,
5621,
289,
2
] |
|
if (!isAllowingProcessingEvents()) {
|
if (!isAllowingProcessingEvents() || !running.propagate()) {
|
boolean processRunningEvent(MIRunningEvent running) { lastRunningEvent = running; Session session = (Session)getSession(); MISession miSession = running.getMISession(); Target currentTarget = session.getTarget(miSession); currentTarget.setSupended(false); // Bailout early if we do not want to process any events. if (!isAllowingProcessingEvents()) { return false; } return true; }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/310afa2c6b6233f9d052692f20a900e5f3916440/EventManager.java/clean/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/EventManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6494,
1207,
7051,
1133,
12,
7492,
7051,
1133,
3549,
13,
288,
202,
202,
2722,
7051,
1133,
273,
3549,
31,
202,
202,
2157,
1339,
273,
261,
2157,
13,
588,
2157,
5621,
202,
202,
7492,
2157,
12837,
2157,
273,
3549,
18,
588,
7492,
2157,
5621,
202,
202,
2326,
783,
2326,
273,
1339,
18,
588,
2326,
12,
9197,
2157,
1769,
202,
202,
2972,
2326,
18,
542,
3088,
3934,
12,
5743,
1769,
202,
202,
759,
605,
671,
659,
11646,
309,
732,
741,
486,
2545,
358,
1207,
1281,
2641,
18,
202,
202,
430,
16051,
291,
7009,
310,
7798,
3783,
10756,
288,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
2463,
638,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6494,
1207,
7051,
1133,
12,
7492,
7051,
1133,
3549,
13,
288,
202,
202,
2722,
7051,
1133,
273,
3549,
31,
202,
202,
2157,
1339,
273,
261,
2157,
13,
588,
2157,
5621,
202,
202,
7492,
2157,
12837,
2157,
273,
3549,
18,
588,
7492,
2157,
5621,
202,
202,
2326,
783,
2326,
273,
1339,
18,
588,
2326,
12,
9197,
2157,
1769,
202,
202,
2972,
2326,
18,
542,
3088,
3934,
12,
5743,
1769,
202,
202,
759,
605,
671,
659,
11646,
309,
732,
741,
486,
2545,
358,
1207,
1281,
2641,
18,
202,
202,
430,
16051,
291,
7009,
310,
7798,
3783,
10756,
288,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
2463,
638,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100
] |
public TOCNode getParent()
|
public TOCNode getParent( )
|
public TOCNode getParent() { return parent; }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/83de512a7dc3a128ad54fa2607c01f0ef928234c/TOCNode.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/TOCNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8493,
39,
907,
5089,
1435,
202,
95,
202,
202,
2463,
982,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8493,
39,
907,
5089,
1435,
202,
95,
202,
202,
2463,
982,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
String dbValue = findOneLiteral(translation, D2RQ.databaseValue); String rdfValue = findOneLiteralOrURI(translation, D2RQ.rdfValue);
|
String dbValue = findOneLiteral(translation, D2RQ.databaseValue.asNode()); String rdfValue = findOneLiteralOrURI(translation, D2RQ.rdfValue.asNode());
|
public TranslationTable getTranslationTable(Node node) { if (this.nodesToTranslationTables.containsKey(node)) { return (TranslationTable) this.nodesToTranslationTables.get(node); } TranslationTable translationTable = new TranslationTable(); String href = findZeroOrOneLiteralOrURI(node, D2RQ.href); if (href != null) { translationTable.addAll(new CSVParser(href).parse()); } String className = findZeroOrOneLiteral(node, D2RQ.javaClass); if (className != null) { translationTable.setTranslatorClass(className, toResource(node)); } ExtendedIterator it = this.graph.find(node, D2RQ.translation, Node.ANY); if (href == null && className == null && !it.hasNext()) { this.log.warn("TranslationTable " + node + " contains no translations"); } if (className != null && (href != null || it.hasNext())) { throw new D2RQException("Can't combine d2rq:javaClass with d2rq:translation or d2rq:href on " + node); } while (it.hasNext()) { Node translation = ((Triple) it.next()).getObject(); String dbValue = findOneLiteral(translation, D2RQ.databaseValue); String rdfValue = findOneLiteralOrURI(translation, D2RQ.rdfValue); translationTable.addTranslation(dbValue, rdfValue); } this.nodesToTranslationTables.put(node, translationTable); return translationTable; }
|
3809 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3809/8bbac3b6836f10d9057d996299f15ca66dc12723/MapParser.java/buggy/src/de/fuberlin/wiwiss/d2rq/parser/MapParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
17427,
1388,
23316,
1388,
12,
907,
756,
13,
288,
202,
202,
430,
261,
2211,
18,
4690,
774,
6717,
6905,
18,
12298,
653,
12,
2159,
3719,
288,
1082,
202,
2463,
261,
6717,
1388,
13,
333,
18,
4690,
774,
6717,
6905,
18,
588,
12,
2159,
1769,
202,
202,
97,
202,
202,
6717,
1388,
4794,
1388,
273,
394,
17427,
1388,
5621,
202,
202,
780,
3897,
273,
1104,
7170,
1162,
3335,
6177,
1162,
3098,
12,
2159,
16,
463,
22,
54,
53,
18,
7547,
1769,
202,
202,
430,
261,
7547,
480,
446,
13,
288,
1082,
202,
10173,
1388,
18,
1289,
1595,
12,
2704,
10381,
2678,
12,
7547,
2934,
2670,
10663,
202,
202,
97,
202,
202,
780,
2658,
273,
1104,
7170,
1162,
3335,
6177,
12,
2159,
16,
463,
22,
54,
53,
18,
6290,
797,
1769,
202,
202,
430,
261,
12434,
480,
446,
13,
288,
1082,
202,
10173,
1388,
18,
542,
12233,
797,
12,
12434,
16,
358,
1420,
12,
2159,
10019,
202,
202,
97,
202,
202,
11456,
3198,
518,
273,
333,
18,
4660,
18,
4720,
12,
2159,
16,
463,
22,
54,
53,
18,
10173,
16,
2029,
18,
15409,
1769,
202,
202,
430,
261,
7547,
422,
446,
597,
2658,
422,
446,
597,
401,
305,
18,
5332,
2134,
10756,
288,
1082,
202,
2211,
18,
1330,
18,
8935,
2932,
6717,
1388,
315,
397,
756,
397,
315,
1914,
1158,
7863,
8863,
202,
202,
97,
202,
202,
430,
261,
12434,
480,
446,
597,
261,
7547,
480,
446,
747,
518,
18,
5332,
2134,
1435,
3719,
288,
1082,
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,
17427,
1388,
23316,
1388,
12,
907,
756,
13,
288,
202,
202,
430,
261,
2211,
18,
4690,
774,
6717,
6905,
18,
12298,
653,
12,
2159,
3719,
288,
1082,
202,
2463,
261,
6717,
1388,
13,
333,
18,
4690,
774,
6717,
6905,
18,
588,
12,
2159,
1769,
202,
202,
97,
202,
202,
6717,
1388,
4794,
1388,
273,
394,
17427,
1388,
5621,
202,
202,
780,
3897,
273,
1104,
7170,
1162,
3335,
6177,
1162,
3098,
12,
2159,
16,
463,
22,
54,
53,
18,
7547,
1769,
202,
202,
430,
261,
7547,
480,
446,
13,
288,
1082,
202,
10173,
1388,
18,
1289,
1595,
12,
2704,
10381,
2678,
12,
7547,
2934,
2670,
10663,
202,
202,
97,
202,
202,
780,
2658,
273,
1104,
7170,
1162,
2
] |
isPalette = b;
|
isPalette = b; title.setVisible(!isPalette); iconButton.setVisible(!isPalette && frame.isIconifiable()); maxButton.setVisible(!isPalette && frame.isMaximizable()); if (isPalette) closeButton.setIcon(paletteCloseIcon); else closeButton.setIcon(closeIcon);
|
public void setPalette(boolean b) { isPalette = b; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/MetalInternalFrameTitlePane.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
17004,
8786,
12,
6494,
324,
13,
225,
288,
565,
353,
25863,
273,
324,
31,
2077,
18,
542,
6207,
12,
5,
291,
25863,
1769,
4126,
3616,
18,
542,
6207,
12,
5,
291,
25863,
597,
2623,
18,
291,
5554,
8424,
10663,
943,
3616,
18,
542,
6207,
12,
5,
291,
25863,
597,
2623,
18,
291,
2747,
381,
6934,
10663,
309,
261,
291,
25863,
13,
1746,
3616,
18,
542,
5554,
12,
26474,
4605,
5554,
1769,
469,
1746,
3616,
18,
542,
5554,
12,
4412,
5554,
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,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663,
943,
3616,
18,
542,
6207,
12,
5,
291,
25863,
597,
2623,
18,
291,
2747,
381,
6934,
10663,
309,
261,
291,
25863,
13,
1746,
3616,
18,
542,
5554,
12,
26474,
4605,
5554,
1769,
469,
1746,
3616,
18,
542,
5554,
12,
4412,
5554,
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
] |
if (element == null) return null; if (NamedEnum.class.isAssignableFrom(element.getClass())) { return ((NamedEnum) element).getValue(); } else { return element.name(); }
|
return element == null ? null : getShow(element.getClass()).fun(element);
|
public static <T extends Enum> String getEnumValueByElement(final T element) { if (element == null) return null; if (NamedEnum.class.isAssignableFrom(element.getClass())) { return ((NamedEnum) element).getValue(); } else { return element.name(); } }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/aa1a30b2adfbaf92a01cba834585780831ec9dbb/NamedEnumUtil.java/buggy/openapi/src/com/intellij/util/xml/NamedEnumUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
411,
56,
3231,
6057,
34,
514,
26813,
620,
858,
1046,
12,
6385,
399,
930,
13,
288,
565,
309,
261,
2956,
422,
446,
13,
327,
446,
31,
565,
309,
261,
7604,
3572,
18,
1106,
18,
291,
7961,
1265,
12,
2956,
18,
588,
797,
1435,
3719,
288,
1377,
327,
14015,
7604,
3572,
13,
930,
2934,
24805,
5621,
565,
289,
469,
288,
1377,
327,
930,
18,
529,
5621,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
411,
56,
3231,
6057,
34,
514,
26813,
620,
858,
1046,
12,
6385,
399,
930,
13,
288,
565,
309,
261,
2956,
422,
446,
13,
327,
446,
31,
565,
309,
261,
7604,
3572,
18,
1106,
18,
291,
7961,
1265,
12,
2956,
18,
588,
797,
1435,
3719,
288,
1377,
327,
14015,
7604,
3572,
13,
930,
2934,
24805,
5621,
565,
289,
469,
288,
1377,
327,
930,
18,
529,
5621,
565,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
try { return importUrl(new URL(url)); } catch (MalformedURLException e) { throw new WicketRuntimeException(e); }
|
return importRelativeUrl(url);
|
protected String importAsString() { // gets the model object: should provide us with either an absolute or a relative url String url = getModelObjectAsString(); if (isAbsolute(url)) { // this is an absolute url; just create an URL object with it try { return importUrl(new URL(url)); } catch (MalformedURLException e) { throw new WicketRuntimeException(e); } } return importRelative(url); }
|
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/9e303dd10a4f5361b18f7c5f13620fe36778928f/Include.java/clean/wicket/src/java/wicket/markup/html/include/Include.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
1930,
8092,
1435,
202,
95,
202,
202,
759,
5571,
326,
938,
733,
30,
1410,
5615,
584,
598,
3344,
392,
4967,
578,
279,
3632,
880,
202,
202,
780,
880,
273,
7454,
921,
8092,
5621,
202,
202,
430,
261,
291,
10368,
12,
718,
3719,
202,
202,
95,
1082,
202,
759,
333,
353,
392,
4967,
880,
31,
2537,
752,
392,
1976,
733,
598,
518,
1082,
202,
698,
1082,
202,
95,
9506,
202,
2463,
1930,
1489,
12,
2704,
1976,
12,
718,
10019,
1082,
202,
97,
1082,
202,
14683,
261,
18695,
20160,
425,
13,
1082,
202,
95,
9506,
202,
12849,
394,
678,
29378,
11949,
12,
73,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
1930,
8574,
12,
718,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
1930,
8092,
1435,
202,
95,
202,
202,
759,
5571,
326,
938,
733,
30,
1410,
5615,
584,
598,
3344,
392,
4967,
578,
279,
3632,
880,
202,
202,
780,
880,
273,
7454,
921,
8092,
5621,
202,
202,
430,
261,
291,
10368,
12,
718,
3719,
202,
202,
95,
1082,
202,
759,
333,
353,
392,
4967,
880,
31,
2537,
752,
392,
1976,
733,
598,
518,
1082,
202,
698,
1082,
202,
95,
9506,
202,
2463,
1930,
1489,
12,
2704,
1976,
12,
718,
10019,
1082,
202,
97,
1082,
202,
14683,
261,
18695,
20160,
425,
13,
1082,
202,
95,
9506,
202,
12849,
394,
678,
29378,
11949,
12,
73,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
1930,
8574,
12,
718,
2
] |
public CompilerProgressIndicator(Project project, boolean compileInBackground, String contentName) {
|
public CompilerProgressIndicator(@NotNull Project project, boolean compileInBackground, String contentName, @NotNull WolfTheProblemSolver.ProblemUpdateTransaction update) {
|
public CompilerProgressIndicator(Project project, boolean compileInBackground, String contentName) { myProject = project; myIsBackgroundMode = compileInBackground; myContentName = contentName; }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/4b74455a600a12c7e4f11cebe53c5b73c402a2d9/CompilerProgressIndicator.java/clean/compiler/impl/com/intellij/compiler/progress/CompilerProgressIndicator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
12972,
5491,
13140,
26964,
5962,
5420,
1984,
16,
1250,
4074,
382,
8199,
16,
514,
913,
461,
16,
632,
5962,
678,
355,
74,
1986,
13719,
27721,
18,
13719,
1891,
3342,
1089,
13,
288,
565,
3399,
4109,
273,
1984,
31,
565,
3399,
2520,
8199,
2309,
273,
4074,
382,
8199,
31,
565,
3399,
1350,
461,
273,
913,
461,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
12972,
5491,
13140,
26964,
5962,
5420,
1984,
16,
1250,
4074,
382,
8199,
16,
514,
913,
461,
16,
632,
5962,
678,
355,
74,
1986,
13719,
27721,
18,
13719,
1891,
3342,
1089,
13,
288,
565,
3399,
4109,
273,
1984,
31,
565,
3399,
2520,
8199,
2309,
273,
4074,
382,
8199,
31,
565,
3399,
1350,
461,
273,
913,
461,
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
] |
break _loop2260;
|
break _loop2261;
|
public final void createtablestate(AST _t) throws RecognitionException { AST createtablestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2256 = _t; AST tmp484_AST_in = (AST)_t; match(_t,CREATE); _t = _t.getFirstChild(); AST tmp485_AST_in = (AST)_t; match(_t,TABLE); _t = _t.getNextSibling(); AST tmp486_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); AST tmp487_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ID: { sql_col_def(_t); _t = _retTree; break; } case UNIQUE: { AST __t2258 = _t; AST tmp488_AST_in = (AST)_t; match(_t,UNIQUE); _t = _t.getFirstChild(); AST tmp489_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); AST tmp490_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { _loop2260: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp491_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); AST tmp492_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); } else { break _loop2260; } } while (true); } AST tmp493_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t2258; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } { _loop2266: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp494_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ID: { sql_col_def(_t); _t = _retTree; break; } case UNIQUE: { AST __t2263 = _t; AST tmp495_AST_in = (AST)_t; match(_t,UNIQUE); _t = _t.getFirstChild(); AST tmp496_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); AST tmp497_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { _loop2265: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp498_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); AST tmp499_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); } else { break _loop2265; } } while (true); } AST tmp500_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t2263; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } } else { break _loop2266; } } while (true); } AST tmp501_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); state_end(_t); _t = _retTree; _t = __t2256; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1519,
270,
278,
9237,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1519,
270,
278,
9237,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
22,
5034,
273,
389,
88,
31,
202,
202,
9053,
1853,
24,
5193,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
9344,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
24,
7140,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
7775,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
9053,
1853,
24,
5292,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
734,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
9053,
1853,
8875,
27,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
10066,
15111,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
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,
1599,
30,
202,
202,
95,
1082,
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,
1519,
270,
278,
9237,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1519,
270,
278,
9237,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
22,
5034,
273,
389,
88,
31,
202,
202,
9053,
1853,
24,
5193,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
9344,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
24,
7140,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
2
] |
public org.quickfix.field.EncodedText getEncodedText() throws FieldNotFound { org.quickfix.field.EncodedText value = new org.quickfix.field.EncodedText();
|
public quickfix.field.EncodedText getEncodedText() throws FieldNotFound { quickfix.field.EncodedText value = new quickfix.field.EncodedText();
|
public org.quickfix.field.EncodedText getEncodedText() throws FieldNotFound { org.quickfix.field.EncodedText value = new org.quickfix.field.EncodedText(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralInquiryAck.java/buggy/src/java/src/quickfix/fix44/CollateralInquiryAck.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1528,
28799,
1528,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1528,
28799,
1528,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1528,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1528,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_not3075); if (failed) return d;
|
match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_not3057); if (failed) return d;
|
public NotDescr lhs_not() throws RecognitionException { NotDescr d = null; Token loc=null; BaseDescr column = null; d = null; try { // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1246:4: (loc= 'not' ( ( '(' lhs_column ')' )=> '(' column= lhs_column ')' | column= lhs_column ) ) // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1246:4: loc= 'not' ( ( '(' lhs_column ')' )=> '(' column= lhs_column ')' | column= lhs_column ) { loc=(Token)input.LT(1); match(input,71,FOLLOW_71_in_lhs_not3065); if (failed) return d; // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1246:14: ( ( '(' lhs_column ')' )=> '(' column= lhs_column ')' | column= lhs_column ) int alt47=2; int LA47_0 = input.LA(1); if ( (LA47_0==LEFT_PAREN) ) { alt47=1; } else if ( (LA47_0==ID) ) { alt47=2; } else { if (backtracking>0) {failed=true; return d;} NoViableAltException nvae = new NoViableAltException("1246:14: ( ( '(' lhs_column ')' )=> '(' column= lhs_column ')' | column= lhs_column )", 47, 0, input); throw nvae; } switch (alt47) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1246:15: ( '(' lhs_column ')' )=> '(' column= lhs_column ')' { match(input,LEFT_PAREN,FOLLOW_LEFT_PAREN_in_lhs_not3068); if (failed) return d; pushFollow(FOLLOW_lhs_column_in_lhs_not3072); column=lhs_column(); _fsp--; if (failed) return d; match(input,RIGHT_PAREN,FOLLOW_RIGHT_PAREN_in_lhs_not3075); if (failed) return d; } break; case 2 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1246:44: column= lhs_column { pushFollow(FOLLOW_lhs_column_in_lhs_not3081); column=lhs_column(); _fsp--; if (failed) return d; } break; } if ( backtracking==0 ) { d = new NotDescr( (ColumnDescr) column ); d.setLocation( offset(loc.getLine()), loc.getCharPositionInLine() ); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
|
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/afea9f80e7c11e7b76df18f232d3b5ca5ad21e72/DRLParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2288,
16198,
8499,
67,
902,
1435,
1216,
9539,
288,
6647,
2288,
16198,
302,
273,
446,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
3360,
16198,
1057,
273,
446,
31,
1171,
202,
202,
72,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
2138,
8749,
30,
24,
30,
261,
1829,
33,
296,
902,
11,
261,
261,
7321,
8499,
67,
2827,
5777,
13216,
7321,
1057,
33,
8499,
67,
2827,
5777,
571,
1057,
33,
8499,
67,
2827,
262,
262,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
2138,
8749,
30,
24,
30,
1515,
33,
296,
902,
11,
261,
261,
7321,
8499,
67,
2827,
5777,
13216,
7321,
1057,
33,
8499,
67,
2827,
5777,
571,
1057,
33,
8499,
67,
2827,
262,
5411,
288,
5411,
1515,
28657,
1345,
13,
2630,
18,
12050,
12,
21,
1769,
5411,
845,
12,
2630,
16,
11212,
16,
29890,
67,
11212,
67,
267,
67,
80,
4487,
67,
902,
5082,
9222,
1769,
309,
261,
7307,
13,
327,
302,
31,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
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,
2288,
16198,
8499,
67,
902,
1435,
1216,
9539,
288,
6647,
2288,
16198,
302,
273,
446,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
3360,
16198,
1057,
273,
446,
31,
1171,
202,
202,
72,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
2138,
8749,
30,
24,
30,
261,
1829,
33,
296,
902,
11,
261,
261,
7321,
8499,
67,
2827,
5777,
13216,
7321,
1057,
33,
8499,
67,
2827,
5777,
571,
1057,
33,
8499,
67,
2827,
262,
262,
5411,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
2
] |
Member member = executeAxis("[Time].[1997].[Q4].FirstChild");
|
Member member = executeSingletonAxis("[Time].[1997].[Q4].FirstChild");
|
public void testFirstChildFirstInLevel() { Member member = executeAxis("[Time].[1997].[Q4].FirstChild"); Assert.assertEquals("10", member.getName()); }
|
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/bb703add381acf854e2d5aed1045911b7ab143b4/FunctionTest.java/buggy/testsrc/main/mondrian/olap/fun/FunctionTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3759,
1763,
3759,
382,
2355,
1435,
288,
3639,
8596,
3140,
273,
1836,
19571,
6558,
2932,
63,
950,
8009,
63,
19818,
27,
8009,
63,
53,
24,
8009,
3759,
1763,
8863,
3639,
5452,
18,
11231,
8867,
2932,
2163,
3113,
3140,
18,
17994,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3759,
1763,
3759,
382,
2355,
1435,
288,
3639,
8596,
3140,
273,
1836,
19571,
6558,
2932,
63,
950,
8009,
63,
19818,
27,
8009,
63,
53,
24,
8009,
3759,
1763,
8863,
3639,
5452,
18,
11231,
8867,
2932,
2163,
3113,
3140,
18,
17994,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void testOASISXalanConformanceSuite() throws IOException, ParsingException, XSLException { Builder builder = new Builder(); File base = new File("data/oasis-xslt-testsuite/TESTS/Xalan_Conformance_Tests/"); File catalog = new File(base, "catalog.xml"); // The test suite need to be installed separately. If we can't // find the catalog, we just don't run these tests. if (catalog.exists()) { Document doc = builder.build(catalog); Element testsuite = doc.getRootElement(); Elements submitters = testsuite.getChildElements("test-catalog"); for (int i = 0; i < submitters.size(); i++) { Element submitter = submitters.get(i); Elements testcases = submitter.getChildElements("test-case"); for (int j = 0; j < testcases.size(); j++) { Element testcase = testcases.get(j); String id = testcase.getAttributeValue("id"); // System.out.println(id); if (id.startsWith("output_")) { // These test cases are mostly about producing // HTML and plain text output that isn't // relevant to XOM continue; } File root = new File(base, testcase.getFirstChildElement("file-path").getValue()); File input = null; File style = null; File output = null; Element scenario = testcase.getFirstChildElement("scenario"); Elements inputs = scenario.getChildElements("input-file"); for (int k = 0; k < inputs.size(); k++) { Element file = inputs.get(k); String role = file.getAttributeValue("role"); if ("principal-data".equals(role)) { input = new File(root, file.getValue()); } else if ("principal-stylesheet".equals(role)) { style = new File(root, file.getValue()); } } Elements outputs = scenario.getChildElements("output-file"); for (int k = 0; k < outputs.size(); k++) { Element file = outputs.get(k); String role = file.getAttributeValue("role"); if ("principal".equals(role)) { // Fix up OASIS catalog bugs File parent = new File(root.getParent()); parent = new File(parent, "REF_OUT"); parent = new File(parent, root.getName()); String outputFileName = file.getValue(); output = new File(parent, outputFileName); } } try { Document inputDoc = builder.build(input); Document styleDoc = builder.build(style); // XXX For the moment let's just skip all tests // that specify indent="yes" for the output; // we can fix this with special comparison later. if (indentYes(styleDoc)) continue; XSLTransform xform = new XSLTransform(styleDoc); Nodes result = xform.transform(inputDoc); if (output == null) { // transform should have failed fail("Transformed " + testcase.getAttributeValue("id")); } else { try { Document expectedResult = builder.build(output); Document actualResult = XSLTransform.toDocument(result); if (id.equals("attribset_attribset40")) { // This test does not necessarily // produce an identical infoset due // to necessary remapping of // namespace prefixes. continue; } else if (id.equals("copy_copy56") || id.equals("copy_copy58") || id.equals("copy_copy60") || id.equals("copy_copy59")) { // Xalan bug; // XXX diagnose and report } else if (id.equals("expression_expression02")) { // requires unparsed entities XOM doesn't support } else if (id.equals("idkey_idkey31") || id.equals("idkey_idkey59") || id.equals("idkey_idkey61") || id.equals("idkey_idkey62")) { // Xalan bug?; // XXX diagnose and report } else if (id.equals("impincl_impincl11")) { // Xalan bug?; // XXX diagnose and report } else if (id.equals("math_math110") || id.equals("math_math111")) { // Xalan or test suite bug?; // XXX diagnose and report } else if (id.equals("position_position104")) { // test suite bug; Xalan is right, // sample output is incorrect; report???? } else if (id.equals("position_position106")) { // test suite bug and xsltproc; Xalan is right, // sample output is incorrect; report for test suite???? // already reported for libxslt } else if (id.equals("whitespace_whitespace17") || id.equals("position_position107") || id.equals("position_position109")) { // tests indent="yes" which is not // not relevant within XOM } else { assertEquals("Problem with " + id, expectedResult, actualResult); } } catch (ParsingException ex) { // a few of the test cases generate // text or HTML output rather than // well-formed XML. For the moment, I // just skip these; but could I compare // the raw text to the value of the // document object instead???? continue; } catch (IllegalAddException ex) { // A few of the test cases generate // incomplete documents so we can't // compare output. Perhaps I could // wrap in an element,t hen get children // to build a Node object rather than a // Document???? i.e. a fragment parser? // Could use a SequenceInputStream to hack this } // XXX report issues in test suite with indent="yes" in stylesheets // where indenting is not specifically being tested } } catch (MalformedURIException ex) { // Some of the test cases contain relative // namespace URIs XOM does not support } catch (XSLException ex) { // If the output was null the transformation // was expected to fail if (output != null) { // a few of the test cases use relative namespace URIs // XOM doesn't support Throwable cause = ex.getCause(); if (cause instanceof MalformedURIException) { continue; } if ("axes_axes62".equals(id)) { // Bug 12690 // http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12690 continue; } else if ("impincl_impincl27".equals(id)) { // Test case uses file: URI XOM doesn't support continue; } else if ("select_select85".equals(id)) { // This has been fixed in Xalan 2.6.0. // However, it's a bug in earlier versions of Xalan // including the one bundled with the JDK 1.4.2_05 continue; } else if ("numberformat_numberformat45".equals(id) || "numberformat_numberformat46".equals(id)) { // Test case uses illegal number format pattern // Xalan catches this. Test case is in error. // report this???? continue; } System.err.println(id); System.err.println(ex.getMessage()); throw ex; } } } } } }
|
626 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/626/627001233580f0d13f1ba7ec0e7d617a2ba2af30/XSLTransformTest.java/clean/src/nu/xom/tests/XSLTransformTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1842,
28202,
15664,
60,
4316,
442,
687,
1359,
13587,
1435,
5411,
1216,
1860,
16,
19761,
503,
16,
17243,
503,
288,
13491,
5008,
2089,
273,
394,
5008,
5621,
5411,
1387,
1026,
273,
394,
1387,
2932,
892,
19,
26501,
17,
92,
14414,
17,
16341,
9519,
19,
16961,
55,
19,
60,
4316,
67,
442,
687,
1359,
67,
14650,
4898,
1769,
5411,
1387,
6222,
273,
394,
1387,
12,
1969,
16,
315,
7199,
18,
2902,
8863,
13491,
368,
1021,
1842,
11371,
1608,
358,
506,
5876,
18190,
18,
971,
732,
848,
1404,
5411,
368,
1104,
326,
6222,
16,
732,
2537,
2727,
1404,
1086,
4259,
7434,
18,
5411,
309,
261,
7199,
18,
1808,
10756,
288,
5375,
4319,
997,
273,
2089,
18,
3510,
12,
7199,
1769,
5375,
3010,
7434,
9519,
273,
997,
18,
588,
2375,
1046,
5621,
5375,
17219,
4879,
5432,
273,
7434,
9519,
18,
588,
1763,
3471,
2932,
3813,
17,
7199,
8863,
5375,
364,
261,
474,
277,
273,
374,
31,
277,
411,
4879,
5432,
18,
1467,
5621,
277,
27245,
288,
13491,
3010,
4879,
387,
273,
4879,
5432,
18,
588,
12,
77,
1769,
13491,
17219,
1842,
22186,
273,
4879,
387,
18,
588,
1763,
3471,
2932,
3813,
17,
3593,
8863,
13491,
364,
261,
474,
525,
273,
374,
31,
525,
411,
1842,
22186,
18,
1467,
5621,
525,
27245,
288,
17311,
3010,
1842,
3593,
273,
1842,
22186,
18,
588,
12,
78,
1769,
17311,
514,
612,
273,
1842,
3593,
18,
588,
14942,
2932,
350,
8863,
17311,
368,
2332,
18,
659,
18,
8222,
12,
350,
1769,
17311,
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,
4202,
1071,
918,
1842,
28202,
15664,
60,
4316,
442,
687,
1359,
13587,
1435,
5411,
1216,
1860,
16,
19761,
503,
16,
17243,
503,
288,
13491,
5008,
2089,
273,
394,
5008,
5621,
5411,
1387,
1026,
273,
394,
1387,
2932,
892,
19,
26501,
17,
92,
14414,
17,
16341,
9519,
19,
16961,
55,
19,
60,
4316,
67,
442,
687,
1359,
67,
14650,
4898,
1769,
5411,
1387,
6222,
273,
394,
1387,
12,
1969,
16,
315,
7199,
18,
2902,
8863,
13491,
368,
1021,
1842,
11371,
1608,
358,
506,
5876,
18190,
18,
971,
732,
848,
1404,
5411,
368,
1104,
326,
6222,
16,
732,
2537,
2727,
1404,
1086,
4259,
7434,
18,
5411,
309,
261,
7199,
18,
1808,
10756,
288,
5375,
4319,
997,
273,
2089,
18,
3510,
12,
2
] |
||
assertTrue(ringSet.size() == 3);
|
assertEquals(3, ringSet.size());
|
public void testProblem1() { Molecule molecule = null; Ring ring = null; try { String filename = "data/mdl/figueras-test-sep3D.mol"; InputStream ins = this.getClass().getClassLoader().getResourceAsStream(filename); MDLReader reader = new MDLReader(new InputStreamReader(ins)); molecule = (Molecule) reader.read((ChemObject) new Molecule()); if (standAlone) System.out.println("Testing " + filename); SSSRFinder sssrf = new SSSRFinder(molecule); RingSet ringSet = sssrf.findSSSR(); if (standAlone) System.out.println("Found ring set of size: " + ringSet.size()); assertTrue(ringSet.size() == 3); for (int f = 0; f < ringSet.size(); f++) { ring = (Ring) ringSet.elementAt(f); if (standAlone) System.out.println("ring: " + ring.toString(molecule)); } } catch (Exception exc) { exc.printStackTrace(); fail(); } }
|
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/f04e4953dbf91a77eeed2a674250bb80a598a22e/RingSearchTest.java/clean/src/org/openscience/cdk/test/ringsearch/RingSearchTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
13719,
21,
1435,
202,
95,
202,
202,
29669,
13661,
273,
446,
31,
202,
202,
10369,
9221,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
780,
1544,
273,
315,
892,
19,
1264,
80,
19,
470,
6211,
345,
17,
3813,
17,
10814,
23,
40,
18,
21260,
14432,
1082,
202,
4348,
2763,
273,
333,
18,
588,
797,
7675,
588,
7805,
7675,
588,
1420,
17052,
12,
3459,
1769,
1082,
202,
6188,
48,
2514,
2949,
273,
394,
490,
8914,
2514,
12,
2704,
15322,
12,
2679,
10019,
1082,
202,
81,
10545,
273,
261,
29669,
13,
2949,
18,
896,
12443,
20200,
921,
13,
394,
490,
10545,
10663,
1082,
202,
430,
261,
10145,
1067,
476,
13,
2332,
18,
659,
18,
8222,
2932,
22218,
315,
397,
1544,
1769,
25083,
202,
1260,
10090,
8441,
272,
1049,
5809,
273,
394,
348,
1260,
54,
8441,
12,
81,
10545,
1769,
1082,
202,
10369,
694,
9221,
694,
273,
272,
1049,
5809,
18,
4720,
1260,
10090,
5621,
1082,
202,
430,
261,
10145,
1067,
476,
13,
2332,
18,
659,
18,
8222,
2932,
2043,
9221,
444,
434,
963,
30,
315,
397,
9221,
694,
18,
1467,
10663,
1082,
202,
11231,
5510,
12,
8022,
694,
18,
1467,
1435,
422,
890,
1769,
1082,
202,
1884,
261,
474,
284,
273,
374,
31,
284,
411,
9221,
694,
18,
1467,
5621,
284,
27245,
1082,
202,
95,
9506,
202,
8022,
273,
261,
10369,
13,
9221,
694,
18,
2956,
861,
12,
74,
1769,
9506,
202,
430,
261,
10145,
1067,
476,
13,
2332,
18,
659,
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,
13719,
21,
1435,
202,
95,
202,
202,
29669,
13661,
273,
446,
31,
202,
202,
10369,
9221,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
780,
1544,
273,
315,
892,
19,
1264,
80,
19,
470,
6211,
345,
17,
3813,
17,
10814,
23,
40,
18,
21260,
14432,
1082,
202,
4348,
2763,
273,
333,
18,
588,
797,
7675,
588,
7805,
7675,
588,
1420,
17052,
12,
3459,
1769,
1082,
202,
6188,
48,
2514,
2949,
273,
394,
490,
8914,
2514,
12,
2704,
15322,
12,
2679,
10019,
1082,
202,
81,
10545,
273,
261,
29669,
13,
2949,
18,
896,
12443,
20200,
921,
13,
394,
490,
10545,
10663,
1082,
202,
430,
261,
10145,
1067,
476,
13,
2332,
18,
659,
2
] |
localSN++;
|
private void dumpPendingMessages() { boolean finnished = false; while( !finnished){ ListContainer msgContainer = getNextDeterministic(); if(log.isDebugEnabled()){ log.debug("Message in deterministic order with SN="+(localSN+1)+" -> "+msgContainer); } if(msgContainer != null){ log.debug("Resending message to Appl: "+msgContainer.event); delivery(msgContainer.event); getRemoveMessage(msgContainer.header,R); localSN++; } else finnished = true; } }
|
47988 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47988/8487fe7633984f9a7925c29b5f95027e9c43008c/SETOSession.java/clean/trunk/appia/src/org/continuent/appia/protocols/total/seto/SETOSession.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4657,
8579,
5058,
1435,
288,
202,
202,
6494,
574,
82,
5992,
273,
629,
31,
202,
202,
17523,
12,
401,
926,
82,
5992,
15329,
1082,
202,
682,
2170,
1234,
2170,
273,
6927,
9139,
5846,
5621,
1082,
202,
430,
12,
1330,
18,
291,
2829,
1526,
10756,
95,
9506,
202,
1330,
18,
4148,
2932,
1079,
316,
25112,
1353,
598,
14204,
1546,
15,
12,
3729,
13653,
15,
21,
13,
9078,
317,
13773,
3576,
2170,
1769,
1082,
202,
97,
1082,
202,
430,
12,
3576,
2170,
480,
446,
15329,
9506,
202,
1330,
18,
4148,
2932,
607,
2846,
883,
358,
1716,
412,
30,
13773,
3576,
2170,
18,
2575,
1769,
9506,
202,
15703,
12,
3576,
2170,
18,
2575,
1769,
9506,
202,
588,
3288,
1079,
12,
3576,
2170,
18,
3374,
16,
54,
1769,
9506,
202,
3729,
13653,
9904,
31,
1082,
202,
97,
1082,
202,
12107,
9506,
202,
926,
82,
5992,
273,
638,
31,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4657,
8579,
5058,
1435,
288,
202,
202,
6494,
574,
82,
5992,
273,
629,
31,
202,
202,
17523,
12,
401,
926,
82,
5992,
15329,
1082,
202,
682,
2170,
1234,
2170,
273,
6927,
9139,
5846,
5621,
1082,
202,
430,
12,
1330,
18,
291,
2829,
1526,
10756,
95,
9506,
202,
1330,
18,
4148,
2932,
1079,
316,
25112,
1353,
598,
14204,
1546,
15,
12,
3729,
13653,
15,
21,
13,
9078,
317,
13773,
3576,
2170,
1769,
1082,
202,
97,
1082,
202,
430,
12,
3576,
2170,
480,
446,
15329,
9506,
202,
1330,
18,
4148,
2932,
607,
2846,
883,
358,
1716,
412,
30,
13773,
3576,
2170,
18,
2575,
1769,
9506,
202,
15703,
12,
3576,
2170,
18,
2575,
1769,
9506,
202,
588,
3288,
2
] |
|
public TA_RetCode CDLINNECK( int startIdx, int endIdx, double inOpen[], double inHigh[], double inLow[], double inClose[], MInteger outBegIdx, MInteger outNbElement, int outInteger[] ){ double EqualPeriodTotal, BodyLongPeriodTotal; int i, outIdx, EqualTrailingIdx, BodyLongTrailingIdx, lookbackTotal; if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; lookbackTotal = CDLINNECK_Lookback (); if( startIdx < lookbackTotal ) startIdx = lookbackTotal; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } EqualPeriodTotal = 0; EqualTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].avgPeriod) ; BodyLongPeriodTotal = 0; BodyLongTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) ; i = EqualTrailingIdx; while( i < startIdx ) { EqualPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ; i++; } i = BodyLongTrailingIdx; while( i < startIdx ) { BodyLongPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ; i++; } i = startIdx; outIdx = 0; do { if( ( inClose[i-1] >= inOpen[i-1] ? 1 : -1 ) == -1 && ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) > ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) != 0.0? BodyLongPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) && ( inClose[i] >= inOpen[i] ? 1 : -1 ) == 1 && inOpen[i] < inLow[i-1] && inClose[i] <= inClose[i-1] + ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].avgPeriod) != 0.0? EqualPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) && inClose[i] >= inClose[i-1] ) outInteger[outIdx++] = -100; else outInteger[outIdx++] = 0; EqualPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) - ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[EqualTrailingIdx-1] - inOpen[EqualTrailingIdx-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[EqualTrailingIdx-1] - inLow[EqualTrailingIdx-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_Equal.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[EqualTrailingIdx-1] - ( inClose[EqualTrailingIdx-1] >= inOpen[EqualTrailingIdx-1] ? inClose[EqualTrailingIdx-1] : inOpen[EqualTrailingIdx-1] ) ) + ( ( inClose[EqualTrailingIdx-1] >= inOpen[EqualTrailingIdx-1] ? inOpen[EqualTrailingIdx-1] : inClose[EqualTrailingIdx-1] ) - inLow[EqualTrailingIdx-1] ) : 0 ) ) ) ; BodyLongPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) - ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[BodyLongTrailingIdx-1] - inOpen[BodyLongTrailingIdx-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[BodyLongTrailingIdx-1] - inLow[BodyLongTrailingIdx-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[BodyLongTrailingIdx-1] - ( inClose[BodyLongTrailingIdx-1] >= inOpen[BodyLongTrailingIdx-1] ? inClose[BodyLongTrailingIdx-1] : inOpen[BodyLongTrailingIdx-1] ) ) + ( ( inClose[BodyLongTrailingIdx-1] >= inOpen[BodyLongTrailingIdx-1] ? inOpen[BodyLongTrailingIdx-1] : inClose[BodyLongTrailingIdx-1] ) - inLow[BodyLongTrailingIdx-1] ) : 0 ) ) ) ; i++; EqualTrailingIdx++; BodyLongTrailingIdx++; } while( i <= endIdx ); outNbElement.value = outIdx; outBegIdx.value = startIdx; return TA_RetCode. TA_SUCCESS;}
|
2365 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2365/69e0567047ad75d101e30d35826ecbb51165ba43/Core.java/buggy/ta-lib/java/src/TA/Lib/Core.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
399,
37,
67,
7055,
1085,
385,
8914,
706,
5407,
3507,
12,
509,
27108,
16,
509,
679,
4223,
16,
1645,
316,
3678,
63,
6487,
1645,
316,
8573,
63,
6487,
1645,
316,
10520,
63,
6487,
1645,
316,
4605,
63,
6487,
490,
4522,
596,
24059,
4223,
16,
490,
4522,
596,
22816,
1046,
16,
509,
596,
4522,
8526,
262,
95,
1645,
9057,
5027,
5269,
16,
5652,
3708,
5027,
5269,
31,
509,
277,
16,
596,
4223,
16,
9057,
16808,
4223,
16,
5652,
3708,
16808,
4223,
16,
2324,
823,
5269,
31,
309,
12,
27108,
411,
374,
262,
327,
225,
399,
37,
67,
7055,
1085,
18,
399,
37,
67,
5069,
67,
3932,
67,
15928,
67,
7570,
67,
9199,
31,
309,
12,
261,
409,
4223,
411,
374,
13,
747,
261,
409,
4223,
411,
27108,
3719,
327,
225,
399,
37,
67,
7055,
1085,
18,
399,
37,
67,
5069,
67,
3932,
67,
15928,
67,
4415,
67,
9199,
31,
2324,
823,
5269,
273,
225,
385,
8914,
706,
5407,
3507,
67,
9794,
823,
261,
1769,
309,
12,
27108,
411,
2324,
823,
5269,
262,
27108,
273,
2324,
823,
5269,
31,
309,
12,
27108,
405,
679,
4223,
262,
288,
225,
596,
24059,
4223,
18,
1132,
273,
374,
274,
225,
596,
22816,
1046,
18,
1132,
273,
374,
274,
327,
225,
399,
37,
67,
7055,
1085,
18,
399,
37,
67,
12778,
31,
289,
9057,
5027,
5269,
273,
374,
31,
9057,
16808,
4223,
273,
27108,
300,
225,
261,
2211,
18,
71,
464,
298,
2628,
63,
9833,
67,
39,
464,
298,
5568,
559,
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,
1071,
399,
37,
67,
7055,
1085,
385,
8914,
706,
5407,
3507,
12,
509,
27108,
16,
509,
679,
4223,
16,
1645,
316,
3678,
63,
6487,
1645,
316,
8573,
63,
6487,
1645,
316,
10520,
63,
6487,
1645,
316,
4605,
63,
6487,
490,
4522,
596,
24059,
4223,
16,
490,
4522,
596,
22816,
1046,
16,
509,
596,
4522,
8526,
262,
95,
1645,
9057,
5027,
5269,
16,
5652,
3708,
5027,
5269,
31,
509,
277,
16,
596,
4223,
16,
9057,
16808,
4223,
16,
5652,
3708,
16808,
4223,
16,
2324,
823,
5269,
31,
309,
12,
27108,
411,
374,
262,
327,
225,
399,
37,
67,
7055,
1085,
18,
399,
37,
67,
5069,
67,
3932,
67,
15928,
67,
7570,
67,
9199,
31,
309,
12,
261,
409,
4223,
2
] |
||
Set resolved = result.getArtifacts();
|
Set resolved = result.getArtifacts();
|
private void ensurePluginContainerIsComplete( PluginDescriptor pluginDescriptor, PlexusContainer pluginContainer, MavenProject project, MavenSession session ) throws ArtifactNotFoundException, PluginManagerException, ArtifactResolutionException { // if the plugin's already been used once, don't re-do this step... // otherwise, we have to finish resolving the plugin's classpath and start the container. if ( pluginDescriptor.getArtifacts() != null && pluginDescriptor.getArtifacts().size() == 1 ) { Artifact pluginArtifact = (Artifact) pluginDescriptor.getArtifacts().get( 0 ); ArtifactRepository localRepository = session.getLocalRepository(); ResolutionGroup resolutionGroup; try { resolutionGroup = artifactMetadataSource.retrieve( pluginArtifact, localRepository, project.getPluginArtifactRepositories() ); } catch ( ArtifactMetadataRetrievalException e ) { throw new ArtifactResolutionException( "Unable to download metadata from repository for plugin '" + pluginArtifact.getId() + "': " + e.getMessage(), pluginArtifact, e ); } Set dependencies = new HashSet( resolutionGroup.getArtifacts() ); dependencies.addAll( pluginDescriptor.getIntroducedDependencyArtifacts() ); ArtifactResolutionResult result = artifactResolver.resolveTransitively( dependencies, pluginArtifact, localRepository, resolutionGroup.getResolutionRepositories(), artifactMetadataSource, artifactFilter ); Set resolved = result.getArtifacts(); for ( Iterator it = resolved.iterator(); it.hasNext(); ) { Artifact artifact = (Artifact) it.next(); if ( !artifact.equals( pluginArtifact ) ) { artifact = project.replaceWithActiveArtifact( artifact ); try { pluginContainer.addJarResource( artifact.getFile() ); } catch ( PlexusContainerException e ) { throw new PluginManagerException( "Error adding plugin dependency '" + artifact.getDependencyConflictId() + "' into plugin manager: " + e.getMessage(), e ); } } } pluginDescriptor.setClassRealm( pluginContainer.getContainerRealm() ); List unresolved = new ArrayList( dependencies ); unresolved.removeAll( resolved ); resolveCoreArtifacts( unresolved, localRepository, resolutionGroup.getResolutionRepositories() ); List allResolved = new ArrayList( resolved.size() + unresolved.size() ); allResolved.addAll( resolved ); allResolved.addAll( unresolved ); pluginDescriptor.setArtifacts( allResolved ); } }
|
50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/e983fddf633fcec9cf81ce4fb53561c9fcd0c7f7/DefaultPluginManager.java/buggy/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3387,
3773,
2170,
2520,
6322,
12,
6258,
3187,
1909,
3187,
16,
453,
4149,
407,
2170,
1909,
2170,
16,
4766,
5375,
17176,
4109,
1984,
16,
17176,
2157,
1339,
262,
3639,
1216,
14022,
3990,
16,
6258,
28020,
16,
14022,
11098,
503,
565,
288,
3639,
368,
309,
326,
1909,
1807,
1818,
2118,
1399,
3647,
16,
2727,
1404,
283,
17,
2896,
333,
2235,
2777,
3639,
368,
3541,
16,
732,
1240,
358,
4076,
17188,
326,
1909,
1807,
10006,
471,
787,
326,
1478,
18,
3639,
309,
261,
1909,
3187,
18,
588,
16981,
1435,
480,
446,
597,
1909,
3187,
18,
588,
16981,
7675,
1467,
1435,
422,
404,
262,
3639,
288,
5411,
14022,
1909,
7581,
273,
261,
7581,
13,
1909,
3187,
18,
588,
16981,
7675,
588,
12,
374,
11272,
5411,
14022,
3305,
1191,
3305,
273,
1339,
18,
588,
2042,
3305,
5621,
5411,
24933,
1114,
7861,
1114,
31,
5411,
775,
5411,
288,
7734,
7861,
1114,
273,
6462,
2277,
1830,
18,
17466,
12,
1909,
7581,
16,
1191,
3305,
16,
28524,
282,
1984,
18,
588,
3773,
7581,
18429,
1435,
11272,
5411,
289,
5411,
1044,
261,
14022,
2277,
27356,
503,
425,
262,
5411,
288,
7734,
604,
394,
14022,
11098,
503,
12,
315,
3370,
358,
4224,
1982,
628,
3352,
364,
1909,
2119,
397,
10792,
1909,
7581,
18,
26321,
1435,
397,
2491,
30,
315,
397,
425,
18,
24906,
9334,
1909,
7581,
16,
425,
11272,
5411,
289,
5411,
1000,
5030,
273,
394,
6847,
12,
7861,
1114,
18,
588,
16981,
1435,
11272,
5411,
5030,
18,
1289,
1595,
12,
1909,
3187,
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,
3387,
3773,
2170,
2520,
6322,
12,
6258,
3187,
1909,
3187,
16,
453,
4149,
407,
2170,
1909,
2170,
16,
4766,
5375,
17176,
4109,
1984,
16,
17176,
2157,
1339,
262,
3639,
1216,
14022,
3990,
16,
6258,
28020,
16,
14022,
11098,
503,
565,
288,
3639,
368,
309,
326,
1909,
1807,
1818,
2118,
1399,
3647,
16,
2727,
1404,
283,
17,
2896,
333,
2235,
2777,
3639,
368,
3541,
16,
732,
1240,
358,
4076,
17188,
326,
1909,
1807,
10006,
471,
787,
326,
1478,
18,
3639,
309,
261,
1909,
3187,
18,
588,
16981,
1435,
480,
446,
597,
1909,
3187,
18,
588,
16981,
7675,
1467,
1435,
422,
404,
262,
3639,
288,
5411,
14022,
1909,
7581,
273,
261,
7581,
13,
1909,
3187,
18,
588,
16981,
2
] |
public void set(org.quickfix.field.PartyID value)
|
public void set(quickfix.field.PartyID value)
|
public void set(org.quickfix.field.PartyID value) { setField(value); }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderCross.java/buggy/src/java/src/quickfix/fix43/NewOrderCross.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
12,
19525,
904,
18,
1518,
18,
17619,
734,
460,
13,
225,
288,
16331,
12,
1132,
1769,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
12,
19525,
904,
18,
1518,
18,
17619,
734,
460,
13,
225,
288,
16331,
12,
1132,
1769,
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
] |
if (TransformerImpl.S_DEBUG)
|
if (transformer.getDebug())
|
public void execute(TransformerImpl transformer) throws TransformerException { if (TransformerImpl.S_DEBUG) transformer.getTraceManager().fireTraceEvent(this); try { transformer.getResultTreeHandler().flushPending(); ExtensionsTable etable = transformer.getExtensionsTable(); ExtensionHandler nsh = etable.get(m_extns); if (null == nsh) { if (hasFallbackChildren()) { executeFallbacks(transformer); } else { TransformerException te = new TransformerException(XSLMessages.createMessage( XSLTErrorResources.ER_CALL_TO_EXT_FAILED, new Object[]{getNodeName()})); transformer.getErrorListener().fatalError(te); } return; } try { nsh.processElement(this.getLocalName(), this, transformer, getStylesheet(), this); } catch (Exception e) { if (hasFallbackChildren()) executeFallbacks(transformer); else { if(e instanceof TransformerException) { TransformerException te = (TransformerException)e; if(null == te.getLocator()) te.setLocator(this); transformer.getErrorListener().fatalError(te); } else if (e instanceof RuntimeException) { transformer.getErrorListener().fatalError(new TransformerException(e)); } else { transformer.getErrorListener().warning(new TransformerException(e)); } } } } catch(TransformerException e) { transformer.getErrorListener().fatalError(e); } catch(SAXException se) { throw new TransformerException(se); } if (TransformerImpl.S_DEBUG) transformer.getTraceManager().fireTraceEndEvent(this); }
|
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/2d07c253b814672a82d969836d58577bfa628b88/ElemExtensionCall.java/clean/src/org/apache/xalan/templates/ElemExtensionCall.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1836,
12,
8319,
2828,
8360,
13,
5411,
1216,
21684,
225,
288,
202,
430,
261,
8319,
2828,
18,
55,
67,
9394,
13,
202,
202,
21523,
18,
588,
3448,
1318,
7675,
12179,
3448,
1133,
12,
2211,
1769,
565,
775,
565,
288,
1377,
8360,
18,
588,
1253,
2471,
1503,
7675,
11330,
8579,
5621,
1377,
23105,
1388,
3393,
429,
273,
8360,
18,
588,
7513,
1388,
5621,
1377,
10021,
1503,
290,
674,
273,
3393,
429,
18,
588,
12,
81,
67,
408,
2387,
1769,
1377,
309,
261,
2011,
422,
290,
674,
13,
1377,
288,
3639,
309,
261,
5332,
12355,
4212,
10756,
3639,
288,
1850,
1836,
12355,
87,
12,
21523,
1769,
3639,
289,
3639,
469,
3639,
288,
202,
225,
21684,
6489,
273,
394,
21684,
12,
60,
4559,
5058,
18,
2640,
1079,
12,
202,
282,
202,
60,
4559,
56,
668,
3805,
18,
654,
67,
13730,
67,
4296,
67,
4142,
67,
11965,
16,
394,
1033,
63,
7073,
588,
18948,
1435,
6792,
1769,
202,
225,
8360,
18,
588,
668,
2223,
7675,
30709,
668,
12,
736,
1769,
3639,
289,
7734,
327,
31,
1377,
289,
1377,
775,
1377,
288,
3639,
290,
674,
18,
2567,
1046,
12,
2211,
18,
588,
29583,
9334,
333,
16,
8360,
16,
21821,
336,
24656,
9334,
333,
1769,
1377,
289,
1377,
1044,
261,
503,
425,
13,
1377,
288,
202,
430,
261,
5332,
12355,
4212,
10756,
202,
225,
1836,
12355,
87,
12,
21523,
1769,
202,
12107,
202,
95,
1850,
309,
12,
73,
1276,
21684,
13,
1850,
288,
5411,
21684,
6489,
273,
261,
8319,
503,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1836,
12,
8319,
2828,
8360,
13,
5411,
1216,
21684,
225,
288,
202,
430,
261,
8319,
2828,
18,
55,
67,
9394,
13,
202,
202,
21523,
18,
588,
3448,
1318,
7675,
12179,
3448,
1133,
12,
2211,
1769,
565,
775,
565,
288,
1377,
8360,
18,
588,
1253,
2471,
1503,
7675,
11330,
8579,
5621,
1377,
23105,
1388,
3393,
429,
273,
8360,
18,
588,
7513,
1388,
5621,
1377,
10021,
1503,
290,
674,
273,
3393,
429,
18,
588,
12,
81,
67,
408,
2387,
1769,
1377,
309,
261,
2011,
422,
290,
674,
13,
1377,
288,
3639,
309,
261,
5332,
12355,
4212,
10756,
3639,
288,
1850,
1836,
12355,
87,
12,
21523,
1769,
3639,
289,
3639,
469,
3639,
288,
202,
225,
21684,
6489,
273,
394,
2
] |
Row row = new Row(); row.set(DataSourceName.name, "Local Mondrian server"); row.set(DataSourceDescription.name, "Mondrian server on local machine"); row.set(URL.name, "http: row.set(DataSourceInfo.name, "Provider=Mondrian"); row.set(ProviderName.name, "Mondrian XML for Analysis"); row.set(ProviderType.name, new String[] {"MDP"}); row.set(AuthenticationMode.name, "Unauthenticated"); emit(row, saxHandler);
|
for (Iterator it = XmlaMediator.dataSourcesMap.values().iterator(); it.hasNext();) { DataSourcesConfig.DataSource ds = (DataSourcesConfig.DataSource)it.next(); Row row = new Row(); row.set(DataSourceName.name, ds.getDataSourceName()); row.set(DataSourceDescription.name, ds.getDataSourceDescription()); row.set(URL.name, ds.getURL()); row.set(DataSourceInfo.name, ds.getDataSourceName()); row.set(ProviderName.name, ds.getProviderName()); row.set(ProviderType.name, ds.getProviderType()); row.set(AuthenticationMode.name, ds.getAuthenticationMode()); emit(row, saxHandler); }
|
public void unparse(SAXHandler saxHandler) throws SAXException { Row row = new Row(); row.set(DataSourceName.name, "Local Mondrian server"); row.set(DataSourceDescription.name, "Mondrian server on local machine"); row.set(URL.name, "http://localhost/mondrian/xmla.jsp"); row.set(DataSourceInfo.name, "Provider=Mondrian"); row.set(ProviderName.name, "Mondrian XML for Analysis"); row.set(ProviderType.name, new String[] {"MDP"}); row.set(AuthenticationMode.name, "Unauthenticated"); emit(row, saxHandler); }
|
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/6adb3050cdcc5d771cd8c710f660e18fde973a9a/RowsetDefinition.java/clean/src/main/mondrian/xmla/RowsetDefinition.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
640,
2670,
12,
55,
2501,
1503,
20319,
1503,
13,
1216,
14366,
288,
5411,
6556,
1027,
273,
394,
6556,
5621,
5411,
1027,
18,
542,
12,
8597,
461,
18,
529,
16,
315,
2042,
490,
1434,
566,
304,
1438,
8863,
5411,
1027,
18,
542,
12,
8597,
3291,
18,
529,
16,
315,
49,
1434,
566,
304,
1438,
603,
1191,
5228,
8863,
5411,
1027,
18,
542,
12,
1785,
18,
529,
16,
315,
2505,
2207,
13014,
19,
81,
1434,
566,
304,
19,
2902,
69,
18,
24926,
8863,
5411,
1027,
18,
542,
12,
8597,
966,
18,
529,
16,
315,
2249,
33,
49,
1434,
566,
304,
8863,
5411,
1027,
18,
542,
12,
31192,
18,
529,
16,
315,
49,
1434,
566,
304,
3167,
364,
16318,
8863,
5411,
1027,
18,
542,
12,
2249,
559,
18,
529,
16,
394,
514,
8526,
12528,
6188,
52,
6,
22938,
5411,
1027,
18,
542,
12,
6492,
2309,
18,
529,
16,
315,
984,
14454,
8863,
5411,
3626,
12,
492,
16,
20319,
1503,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
273,
394,
6556,
5621,
5411,
1027,
18,
542,
12,
8597,
461,
18,
529,
16,
315,
2042,
490,
1434,
566,
304,
1438,
8863,
5411,
1027,
18,
542,
12,
8597,
3291,
18,
529,
16,
315,
49,
1434,
566,
304,
1438,
603,
1191,
5228,
8863,
5411,
1027,
18,
542,
12,
1785,
18,
529,
16,
315,
2505,
2207,
13014,
19,
81,
1434,
566,
304,
19,
2902,
69,
18,
24926,
8863,
5411,
1027,
18,
542,
12,
8597,
966,
18,
529,
16,
315,
2249,
33,
49,
1434,
566,
304,
8863,
5411,
1027,
18,
542,
12,
31192,
18,
529,
16,
315,
49,
1434,
566,
304,
3167,
364,
16318,
2
] |
SimpleFieldSet fs;
|
public boolean readExtraPeerDataFile(File extraPeerDataFile, int fileNumber) { boolean gotError = false; if(!extraPeerDataFile.exists()) { return false; } Logger.normal(this, "extraPeerDataFile: "+extraPeerDataFile.getPath()); FileInputStream fis; try { fis = new FileInputStream(extraPeerDataFile); } catch (FileNotFoundException e1) { Logger.normal(this, "Extra peer data file not found: "+extraPeerDataFile.getPath()); return false; } InputStreamReader isr = new InputStreamReader(fis); BufferedReader br = new BufferedReader(isr); try { // Read in the single SimpleFieldSet SimpleFieldSet fs; fs = new SimpleFieldSet(br); boolean parseResult = false; try { parseResult = parseExtraPeerData(fs, extraPeerDataFile, fileNumber); if(!parseResult) { gotError = true; } } catch (FSParseException e2) { Logger.error(this, "Could not parse extra peer data: "+e2+ '\n' +fs.toString(),e2); gotError = true; } } catch (EOFException e3) { // End of file, fine } catch (IOException e4) { Logger.error(this, "Could not read extra peer data file: "+e4, e4); } finally { try { br.close(); } catch (IOException e5) { Logger.error(this, "Ignoring "+e5+" caught reading "+extraPeerDataFile.getPath(), e5); } } return !gotError; }
|
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/7f3987764e6a5845963d83997d7090fa5a76270e/PeerNode.java/buggy/src/freenet/node/PeerNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
855,
7800,
6813,
751,
812,
12,
812,
2870,
6813,
751,
812,
16,
509,
585,
1854,
13,
288,
202,
202,
6494,
2363,
668,
273,
629,
31,
202,
225,
202,
430,
12,
5,
7763,
6813,
751,
812,
18,
1808,
10756,
288,
202,
3196,
202,
2463,
629,
31,
202,
225,
202,
97,
202,
202,
3328,
18,
6130,
12,
2211,
16,
315,
7763,
6813,
751,
812,
30,
13773,
7763,
6813,
751,
812,
18,
588,
743,
10663,
202,
202,
812,
4348,
15324,
31,
202,
202,
698,
288,
1082,
202,
74,
291,
273,
394,
11907,
12,
7763,
6813,
751,
812,
1769,
202,
202,
97,
1044,
261,
812,
3990,
425,
21,
13,
288,
1082,
202,
3328,
18,
6130,
12,
2211,
16,
315,
7800,
4261,
501,
585,
486,
1392,
30,
13773,
7763,
6813,
751,
812,
18,
588,
743,
10663,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
4348,
2514,
353,
86,
273,
394,
15322,
12,
74,
291,
1769,
202,
202,
17947,
2514,
5186,
273,
394,
10633,
12,
291,
86,
1769,
202,
202,
698,
288,
1082,
202,
759,
2720,
316,
326,
2202,
4477,
974,
694,
1082,
202,
5784,
974,
694,
2662,
31,
1082,
202,
2556,
273,
394,
4477,
974,
694,
12,
2848,
1769,
1082,
202,
6494,
1109,
1253,
273,
629,
31,
1082,
202,
698,
288,
9506,
202,
2670,
1253,
273,
1109,
7800,
6813,
751,
12,
2556,
16,
2870,
6813,
751,
812,
16,
585,
1854,
1769,
9506,
202,
430,
12,
5,
2670,
1253,
13,
288,
6862,
202,
13212,
668,
273,
638,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
855,
7800,
6813,
751,
812,
12,
812,
2870,
6813,
751,
812,
16,
509,
585,
1854,
13,
288,
202,
202,
6494,
2363,
668,
273,
629,
31,
202,
225,
202,
430,
12,
5,
7763,
6813,
751,
812,
18,
1808,
10756,
288,
202,
3196,
202,
2463,
629,
31,
202,
225,
202,
97,
202,
202,
3328,
18,
6130,
12,
2211,
16,
315,
7763,
6813,
751,
812,
30,
13773,
7763,
6813,
751,
812,
18,
588,
743,
10663,
202,
202,
812,
4348,
15324,
31,
202,
202,
698,
288,
1082,
202,
74,
291,
273,
394,
11907,
12,
7763,
6813,
751,
812,
1769,
202,
202,
97,
1044,
261,
812,
3990,
425,
21,
13,
288,
1082,
202,
3328,
18,
6130,
12,
2211,
16,
315,
2
] |
|
else throw new DocumentClosedException(d,"Document in " + f + "closed unexpectedly");
|
public void documentNotFound(OpenDefinitionsDocument d, File f) { String text = "File " + f.getAbsolutePath() + "\ncould not be found on disk! It was probably moved\n" + "or deleted. Would you like to try to find it?"; int rc = JOptionPane.showConfirmDialog(MainFrame.this, text, "File Moved or Deleted", JOptionPane.YES_NO_OPTION); if (rc == JOptionPane.YES_OPTION) { try { File[] opened = _openSelector.getFiles(); d.setFile(opened[0]); } catch(OperationCanceledException oce) { //If canceled, prompt the user again documentNotFound(d,f); return; } }// else {// //Close the file that wasn't found// LinkedList<OpenDefinitionsDocument> l = new LinkedList<OpenDefinitionsDocument>();// l.add(d);// _model.closeFiles(l);// _model.closeFile(d);// d.setFile(null);// throw new DocumentClosedException(d,"Document in " + f + "closed unexpectedly");// } }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/010ae297b5b09284b0dfa287aa524a83e41fa50d/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1668,
2768,
12,
3678,
7130,
2519,
302,
16,
1387,
284,
13,
288,
12107,
604,
394,
4319,
7395,
503,
12,
72,
10837,
2519,
316,
315,
397,
284,
397,
315,
12204,
9733,
715,
8863,
565,
514,
977,
273,
315,
812,
315,
397,
284,
18,
588,
10368,
743,
1435,
397,
3639,
1548,
14202,
1006,
486,
506,
1392,
603,
4234,
5,
225,
2597,
1703,
8656,
10456,
64,
82,
6,
397,
3639,
315,
280,
4282,
18,
225,
678,
1006,
1846,
3007,
358,
775,
358,
1104,
518,
7225,
31,
1377,
509,
4519,
273,
804,
1895,
8485,
18,
4500,
11269,
6353,
12,
6376,
3219,
18,
2211,
16,
12107,
604,
394,
4319,
7395,
503,
12,
72,
10837,
2519,
316,
315,
397,
284,
397,
315,
12204,
9733,
715,
8863,
469,
604,
394,
4319,
7395,
503,
12,
72,
10837,
2519,
316,
315,
397,
284,
397,
315,
12204,
9733,
715,
8863,
469,
604,
394,
4319,
7395,
503,
12,
72,
10837,
2519,
316,
315,
397,
284,
397,
315,
12204,
9733,
715,
8863,
469,
604,
394,
4319,
7395,
503,
12,
72,
10837,
2519,
316,
315,
397,
284,
397,
315,
12204,
9733,
715,
8863,
469,
604,
394,
4319,
7395,
503,
12,
72,
10837,
2519,
316,
315,
397,
284,
397,
315,
12204,
9733,
715,
8863,
977,
16,
12107,
604,
394,
4319,
7395,
503,
12,
72,
10837,
2519,
316,
315,
397,
284,
397,
315,
12204,
9733,
715,
8863,
469,
604,
394,
4319,
7395,
503,
12,
72,
10837,
2519,
316,
315,
397,
284,
397,
315,
12204,
9733,
715,
8863,
469,
604,
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,
1668,
2768,
12,
3678,
7130,
2519,
302,
16,
1387,
284,
13,
288,
12107,
604,
394,
4319,
7395,
503,
12,
72,
10837,
2519,
316,
315,
397,
284,
397,
315,
12204,
9733,
715,
8863,
565,
514,
977,
273,
315,
812,
315,
397,
284,
18,
588,
10368,
743,
1435,
397,
3639,
1548,
14202,
1006,
486,
506,
1392,
603,
4234,
5,
225,
2597,
1703,
8656,
10456,
64,
82,
6,
397,
3639,
315,
280,
4282,
18,
225,
678,
1006,
1846,
3007,
358,
775,
358,
1104,
518,
7225,
31,
1377,
509,
4519,
273,
804,
1895,
8485,
18,
4500,
11269,
6353,
12,
6376,
3219,
18,
2211,
16,
12107,
604,
394,
4319,
7395,
503,
12,
72,
10837,
2519,
316,
315,
397,
284,
397,
315,
2
] |
|
Var inlinedvar = (Var) renaming.get(setupvar.getName());
|
Var inlinedvar = (Var) renaming.get(setupvar);
|
public Residue matchesAt (WeavingEnv env,SootClass cls, SootMethod method,ShadowMatch sm) { List/*<Var>*/ actuals=setupAdvice.getActuals(); // List of actuals for the Cflow setup advice // These are NOT necessarily the same as the actuals for // this (inlined) pointcut, but we have the renaming List/*<WeavingVar>*/ weavingActuals=new LinkedList(); Iterator it=actuals.iterator(); while(it.hasNext()) { Var setupvar = (Var) it.next(); Var inlinedvar = (Var) renaming.get(setupvar.getName()); if (inlinedvar == null) { throw new RuntimeException("Internal error: Could not find variable "+ setupvar.getName() + " in cflow renaming"); } weavingActuals.add(env.getWeavingVar(inlinedvar)); } return new CflowResidue(setupAdvice,weavingActuals); }
|
236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/e3d58a8578d87dd60248f5857e3ea13c91c5bba2/Cflow.java/clean/aop/abc/src/abc/weaving/aspectinfo/Cflow.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1124,
23965,
1885,
861,
202,
12,
3218,
5339,
3491,
1550,
16,
55,
1632,
797,
2028,
16,
202,
348,
1632,
1305,
707,
16,
12957,
2060,
3029,
13,
288,
202,
682,
20308,
32,
1537,
34,
5549,
1328,
12588,
33,
8401,
1871,
633,
18,
588,
2459,
12588,
5621,
202,
759,
987,
434,
1328,
12588,
364,
326,
385,
2426,
3875,
29929,
202,
759,
8646,
854,
4269,
23848,
326,
1967,
487,
326,
1328,
12588,
364,
202,
759,
333,
261,
267,
22316,
13,
29774,
16,
1496,
732,
1240,
326,
30883,
202,
682,
20308,
32,
3218,
5339,
1537,
34,
5549,
732,
5339,
2459,
12588,
33,
2704,
10688,
5621,
202,
3198,
518,
33,
621,
12588,
18,
9838,
5621,
202,
17523,
12,
305,
18,
5332,
2134,
10756,
288,
202,
202,
1537,
3875,
1401,
273,
261,
1537,
13,
518,
18,
4285,
5621,
202,
202,
1537,
316,
22316,
1401,
273,
261,
1537,
13,
30883,
18,
588,
12,
8401,
1401,
18,
17994,
10663,
202,
202,
430,
261,
267,
22316,
1401,
422,
446,
13,
288,
1082,
202,
12849,
394,
3235,
2932,
3061,
555,
30,
14312,
486,
1104,
2190,
13773,
6862,
202,
8401,
1401,
18,
17994,
1435,
397,
315,
316,
276,
2426,
30883,
8863,
202,
202,
97,
202,
565,
732,
5339,
2459,
12588,
18,
1289,
12,
3074,
18,
588,
3218,
5339,
1537,
12,
267,
22316,
1401,
10019,
202,
97,
202,
2463,
394,
385,
2426,
607,
23965,
12,
8401,
1871,
633,
16,
1814,
5339,
2459,
12588,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1124,
23965,
1885,
861,
202,
12,
3218,
5339,
3491,
1550,
16,
55,
1632,
797,
2028,
16,
202,
348,
1632,
1305,
707,
16,
12957,
2060,
3029,
13,
288,
202,
682,
20308,
32,
1537,
34,
5549,
1328,
12588,
33,
8401,
1871,
633,
18,
588,
2459,
12588,
5621,
202,
759,
987,
434,
1328,
12588,
364,
326,
385,
2426,
3875,
29929,
202,
759,
8646,
854,
4269,
23848,
326,
1967,
487,
326,
1328,
12588,
364,
202,
759,
333,
261,
267,
22316,
13,
29774,
16,
1496,
732,
1240,
326,
30883,
202,
682,
20308,
32,
3218,
5339,
1537,
34,
5549,
732,
5339,
2459,
12588,
33,
2704,
10688,
5621,
202,
3198,
518,
33,
621,
12588,
18,
9838,
5621,
202,
17523,
12,
305,
18,
5332,
2134,
2
] |
Node x = m_min;
|
FibonacciHeapNode<T> x = m_min;
|
protected void consolidate() { int arraySize = m_n + 1; List<Node> array = new ArrayList<Node>(arraySize); // Initialize degree array for (int i=0; i<arraySize; i++) array.add(null); // Find the number of root nodes. int numRoots = 0; Node x = m_min; if (x != null) { numRoots++; x = x.m_right; while (x != m_min) { numRoots++; x = x.m_right; } } // For each node in root list do... while (numRoots > 0) { // Access this node's degree.. int d = x.m_degree; Node next = x.m_right; // ..and see if there's another of the same degree. while (array.get(d) != null) { // There is, make one of the nodes a child of the other. Node y = array.get(d); // Do this based on the key value. if (x.m_key > y.m_key) { Node temp = y; y = x; x = temp; } // Node y disappears from root list. link(y, x); // We've handled this degree, go to next one. array.set(d,null); d++; } // Save this node for later when we might encounter another // of the same degree. array.set(d,x); // Move forward through list. x = next; numRoots--; } // Set min to null (effectively losing the root list) and // reconstruct the root list from the array entries in array[]. m_min = null; for (int i = 0; i < arraySize; i++) { if (array.get(i) != null) { // We've got a live one, add it to root list. if (m_min != null) { // First remove node from root list. array.get(i).m_left.m_right = array.get(i).m_right; array.get(i).m_right.m_left = array.get(i).m_left; // Now add to root list, again. array.get(i).m_left = m_min; array.get(i).m_right = m_min.m_right; m_min.m_right = array.get(i); array.get(i).m_right.m_left = array.get(i); // Check if this is a new min. if (array.get(i).m_key < m_min.m_key) { m_min = array.get(i); } } else { m_min = array.get(i); } } } }
|
4188 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4188/3358959abc414f2281c71486c6c1a90935b1e909/FibonacciHeap.java/buggy/src/org/jgrapht/util/FibonacciHeap.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
21785,
340,
1435,
565,
288,
3639,
509,
526,
1225,
273,
312,
67,
82,
397,
404,
31,
3639,
987,
32,
907,
34,
526,
273,
394,
2407,
32,
907,
34,
12,
1126,
1225,
1769,
3639,
368,
9190,
10782,
526,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
1126,
1225,
31,
277,
27245,
5411,
526,
18,
1289,
12,
2011,
1769,
3639,
368,
4163,
326,
1300,
434,
1365,
2199,
18,
3639,
509,
818,
17540,
273,
374,
31,
3639,
478,
495,
265,
8981,
77,
15648,
907,
32,
56,
34,
619,
273,
312,
67,
1154,
31,
3639,
309,
261,
92,
480,
446,
13,
288,
5411,
818,
17540,
9904,
31,
5411,
619,
273,
619,
18,
81,
67,
4083,
31,
5411,
1323,
261,
92,
480,
312,
67,
1154,
13,
288,
7734,
818,
17540,
9904,
31,
7734,
619,
273,
619,
18,
81,
67,
4083,
31,
5411,
289,
3639,
289,
3639,
368,
2457,
1517,
756,
316,
1365,
666,
741,
2777,
3639,
1323,
261,
2107,
17540,
405,
374,
13,
288,
5411,
368,
5016,
333,
756,
1807,
10782,
838,
5411,
509,
302,
273,
619,
18,
81,
67,
21361,
31,
5411,
2029,
1024,
273,
619,
18,
81,
67,
4083,
31,
5411,
368,
6116,
464,
2621,
309,
1915,
1807,
4042,
434,
326,
1967,
10782,
18,
5411,
1323,
261,
1126,
18,
588,
12,
72,
13,
480,
446,
13,
288,
7734,
368,
6149,
353,
16,
1221,
1245,
434,
326,
2199,
279,
1151,
434,
326,
1308,
18,
7734,
2029,
677,
273,
526,
18,
588,
12,
72,
1769,
7734,
368,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
21785,
340,
1435,
565,
288,
3639,
509,
526,
1225,
273,
312,
67,
82,
397,
404,
31,
3639,
987,
32,
907,
34,
526,
273,
394,
2407,
32,
907,
34,
12,
1126,
1225,
1769,
3639,
368,
9190,
10782,
526,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
1126,
1225,
31,
277,
27245,
5411,
526,
18,
1289,
12,
2011,
1769,
3639,
368,
4163,
326,
1300,
434,
1365,
2199,
18,
3639,
509,
818,
17540,
273,
374,
31,
3639,
478,
495,
265,
8981,
77,
15648,
907,
32,
56,
34,
619,
273,
312,
67,
1154,
31,
3639,
309,
261,
92,
480,
446,
13,
288,
5411,
818,
17540,
9904,
31,
5411,
619,
273,
619,
18,
81,
67,
4083,
31,
5411,
1323,
2
] |
label.setText( Messages.getString( "FormatNumberPreferencePage.exampleFormats.label2" ) );
|
label.setText( LABEL_CUSTOM_SETTINGS_LABEL );
|
private Composite getCustomPage( Composite parent ) { if ( customPage == null ) { customPage = new Composite( parent, SWT.NULL ); customPage.setLayout( new GridLayout( 1, false ) ); Group group = new Group( customPage, SWT.NONE ); group.setText( Messages.getString( "FormatNumberPreferencePage.customSettings.groupLabel" ) ); //$NON-NLS-1$ GridData data = new GridData( GridData.FILL_HORIZONTAL ); group.setLayoutData( data ); group.setLayout( new GridLayout( 2, false ) ); Label label = new Label( group, SWT.NONE ); label.setText( Messages.getString( "FormatNumberPreferencePage.exampleFormats.label" ) ); //$NON-NLS-1$ data = new GridData( ); data.horizontalSpan = 2; label.setLayoutData( data ); label = new Label( group, SWT.NONE ); label.setText( Messages.getString( "FormatNumberPreferencePage.exampleFormats.label2" ) ); //$NON-NLS-1$ data = new GridData( ); data.horizontalSpan = 2; label.setLayoutData( data ); createTable( group ); Composite container = new Composite( customPage, SWT.NONE ); data = new GridData( GridData.FILL_HORIZONTAL ); container.setLayoutData( data ); container.setLayout( new GridLayout( 2, false ) ); new Label( container, SWT.NULL ).setText( Messages.getString( "FormatNumberPreferencePage.formatCode.label" ) ); //$NON-NLS-1$ formatCode = new Text( container, SWT.SINGLE | SWT.BORDER ); formatCode.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); formatCode.addModifyListener( myModifyListener ); group = new Group( customPage, SWT.NONE ); group.setText( Messages.getString( "FormatNumberPreferencePage.customPreviewGroup.label" ) ); //$NON-NLS-1$ data = new GridData( GridData.FILL_HORIZONTAL ); group.setLayoutData( data ); group.setLayout( new GridLayout( 2, false ) ); new Label( group, SWT.NONE ).setText( Messages.getString( "FormatNumberPreferencePage.numberToPreview.label" ) ); //$NON-NLS-1$ previewTextBox = new Text( group, SWT.SINGLE | SWT.BORDER ); previewTextBox.setText( DEFAULT_PREVIEW_TEXT ); //$NON-NLS-1$ previewTextBox.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); previewTextBox.addModifyListener( new ModifyListener( ) { public void modifyText( ModifyEvent e ) { if ( hasLoaded ) { setPreviewText( previewTextBox.getText( ) ); } } } ); new Label( group, SWT.NONE ).setText( Messages.getString( "FormatNumberPreferencePage.previewLabel.lable" ) ); //$NON-NLS-1$ cusPreviewLabel = new Label( group, SWT.NONE ); cusPreviewLabel.setText( "" ); //$NON-NLS-1$ cusPreviewLabel.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); Composite helpBar = new Composite( customPage, SWT.NONE ); data = new GridData( GridData.FILL_HORIZONTAL ); helpBar.setLayoutData( data ); helpBar.setLayout( new GridLayout( 2, false ) ); new Label( helpBar, SWT.NONE ).setText( Messages.getString( "FormatNumberPreferencePage.helpLabel.label" ) ); //$NON-NLS-1$ Button help = new Button( helpBar, SWT.PUSH ); help.setText( Messages.getString( "FormatNumberPreferencePage.helpButton.label" ) ); //$NON-NLS-1$ help.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END | GridData.GRAB_HORIZONTAL ) ); } return customPage; }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/ed52f1732ec1c1eef0fd79e44d2e45f78973153a/FormatNumberPage.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FormatNumberPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
14728,
12736,
1964,
12,
14728,
982,
262,
202,
95,
202,
202,
430,
261,
1679,
1964,
422,
446,
262,
202,
202,
95,
1082,
202,
3662,
1964,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
8560,
11272,
1082,
202,
3662,
1964,
18,
542,
3744,
12,
394,
7145,
3744,
12,
404,
16,
629,
262,
11272,
1082,
202,
1114,
1041,
273,
394,
3756,
12,
1679,
1964,
16,
348,
8588,
18,
9826,
11272,
1082,
202,
1655,
18,
542,
1528,
12,
4838,
18,
588,
780,
12,
315,
1630,
1854,
9624,
1964,
18,
3662,
2628,
18,
1655,
2224,
6,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
6313,
751,
501,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
44,
20344,
11272,
1082,
202,
1655,
18,
542,
3744,
751,
12,
501,
11272,
1082,
202,
1655,
18,
542,
3744,
12,
394,
7145,
3744,
12,
576,
16,
629,
262,
11272,
1082,
202,
2224,
1433,
273,
394,
5287,
12,
1041,
16,
348,
8588,
18,
9826,
11272,
1082,
202,
1925,
18,
542,
1528,
12,
4838,
18,
588,
780,
12,
315,
1630,
1854,
9624,
1964,
18,
8236,
8976,
18,
1925,
6,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
892,
273,
394,
7145,
751,
12,
11272,
1082,
202,
892,
18,
18396,
6952,
273,
576,
31,
1082,
202,
1925,
18,
542,
3744,
751,
12,
501,
11272,
1082,
202,
1925,
273,
394,
5287,
12,
1041,
16,
348,
8588,
18,
9826,
11272,
1082,
202,
1925,
18,
542,
1528,
12,
18210,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
14728,
12736,
1964,
12,
14728,
982,
262,
202,
95,
202,
202,
430,
261,
1679,
1964,
422,
446,
262,
202,
202,
95,
1082,
202,
3662,
1964,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
8560,
11272,
1082,
202,
3662,
1964,
18,
542,
3744,
12,
394,
7145,
3744,
12,
404,
16,
629,
262,
11272,
1082,
202,
1114,
1041,
273,
394,
3756,
12,
1679,
1964,
16,
348,
8588,
18,
9826,
11272,
1082,
202,
1655,
18,
542,
1528,
12,
4838,
18,
588,
780,
12,
315,
1630,
1854,
9624,
1964,
18,
3662,
2628,
18,
1655,
2224,
6,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
6313,
751,
501,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
2
] |
simpleConfigurator.setContext(fruitContext);
|
simpleConfigurator.setContext(fruitContext);
|
public List<FruitShell> doFirstPart(String filename) throws Exception { HashMap<Pattern, Action> rulesMap = new HashMap<Pattern, Action>(); rulesMap.put(new Pattern("group/fruitShell"), new FruitShellAction()); rulesMap.put(new Pattern("group/fruitShell/fruit"), new FruitFactoryAction()); rulesMap.put(new Pattern("group/fruitShell/fruit/*"), new NOPAction()); SimpleConfigurator simpleConfigurator = new SimpleConfigurator(rulesMap); simpleConfigurator.setContext(fruitContext); simpleConfigurator.doConfigure(Constants.TEST_DIR_PREFIX + "input/joran/" + filename); StatusPrinter.print(fruitContext); return fruitContext.getFruitShellList(); }
|
50877 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50877/b17afdd922fb715ce4d262907d6b474541e9bd32/FruitConfigurationTest.java/clean/logback-core/src/test/java/ch/qos/logback/core/joran/replay/FruitConfigurationTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
987,
32,
7167,
14945,
13220,
34,
741,
3759,
1988,
12,
780,
1544,
13,
1216,
1185,
288,
565,
4317,
32,
3234,
16,
4382,
34,
2931,
863,
273,
394,
4317,
32,
3234,
16,
4382,
34,
5621,
565,
2931,
863,
18,
458,
12,
2704,
6830,
2932,
1655,
19,
4840,
14945,
13220,
6,
3631,
394,
478,
8653,
305,
13220,
1803,
10663,
565,
2931,
863,
18,
458,
12,
2704,
6830,
2932,
1655,
19,
4840,
14945,
13220,
19,
4840,
14945,
6,
3631,
394,
478,
8653,
305,
1733,
1803,
10663,
565,
2931,
863,
18,
458,
12,
2704,
6830,
2932,
1655,
19,
4840,
14945,
13220,
19,
4840,
14945,
19,
7388,
3631,
394,
423,
3665,
1803,
10663,
565,
4477,
17182,
4143,
17182,
273,
394,
4477,
17182,
12,
7482,
863,
1769,
565,
4143,
17182,
18,
542,
1042,
12,
4840,
14945,
1042,
1769,
565,
4143,
17182,
18,
2896,
11207,
12,
2918,
18,
16961,
67,
4537,
67,
6307,
397,
315,
2630,
19,
78,
280,
304,
4898,
397,
1544,
1769,
565,
2685,
12149,
18,
1188,
12,
4840,
14945,
1042,
1769,
565,
327,
3812,
14945,
1042,
18,
588,
7167,
14945,
13220,
682,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
987,
32,
7167,
14945,
13220,
34,
741,
3759,
1988,
12,
780,
1544,
13,
1216,
1185,
288,
565,
4317,
32,
3234,
16,
4382,
34,
2931,
863,
273,
394,
4317,
32,
3234,
16,
4382,
34,
5621,
565,
2931,
863,
18,
458,
12,
2704,
6830,
2932,
1655,
19,
4840,
14945,
13220,
6,
3631,
394,
478,
8653,
305,
13220,
1803,
10663,
565,
2931,
863,
18,
458,
12,
2704,
6830,
2932,
1655,
19,
4840,
14945,
13220,
19,
4840,
14945,
6,
3631,
394,
478,
8653,
305,
1733,
1803,
10663,
565,
2931,
863,
18,
458,
12,
2704,
6830,
2932,
1655,
19,
4840,
14945,
13220,
19,
4840,
14945,
19,
7388,
3631,
394,
423,
3665,
1803,
10663,
565,
4477,
17182,
4143,
17182,
273,
394,
4477,
17182,
2
] |
if (rhs == DBL_MRK) {
|
if (rhs == UniqueTag.DOUBLE_MARK) {
|
private static void do_sheq(CallFrame frame, int i, int op) { Object rhs = frame.stack[i + 1]; Object lhs = frame.stack[i]; boolean result; double_compare: { double rdbl, ldbl; if (rhs == DBL_MRK) { rdbl = frame.sDbl[i + 1]; if (lhs == DBL_MRK) { ldbl = frame.sDbl[i]; } else if (lhs instanceof Number) { ldbl = ((Number)lhs).doubleValue(); } else { result = false; break double_compare; } } else if (lhs == DBL_MRK) { ldbl = frame.sDbl[i]; if (rhs == DBL_MRK) { rdbl = frame.sDbl[i + 1]; } else if (rhs instanceof Number) { rdbl = ((Number)rhs).doubleValue(); } else { result = false; break double_compare; } } else { result = ScriptRuntime.shallowEq(lhs, rhs); break double_compare; } result = ldbl == rdbl; } result ^= (op == Token.SHNE); frame.stack[i] = ScriptRuntime.wrapBoolean(result); }
|
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/bef182034b96d54a2938fe141217e83b8644cf25/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
741,
67,
87,
580,
85,
12,
1477,
3219,
2623,
16,
509,
277,
16,
509,
1061,
13,
565,
288,
3639,
1033,
7711,
273,
2623,
18,
3772,
63,
77,
397,
404,
15533,
3639,
1033,
8499,
273,
2623,
18,
3772,
63,
77,
15533,
3639,
1250,
563,
31,
1377,
1645,
67,
9877,
30,
288,
5411,
1645,
436,
1966,
80,
16,
328,
1966,
80,
31,
5411,
309,
261,
86,
4487,
422,
14584,
1805,
18,
17088,
67,
12693,
13,
288,
7734,
436,
1966,
80,
273,
2623,
18,
87,
40,
3083,
63,
77,
397,
404,
15533,
7734,
309,
261,
80,
4487,
422,
2383,
48,
67,
23464,
47,
13,
288,
10792,
328,
1966,
80,
273,
2623,
18,
87,
40,
3083,
63,
77,
15533,
7734,
289,
469,
309,
261,
80,
4487,
1276,
3588,
13,
288,
10792,
328,
1966,
80,
273,
14015,
1854,
13,
80,
4487,
2934,
9056,
620,
5621,
7734,
289,
469,
288,
10792,
563,
273,
629,
31,
10792,
898,
1645,
67,
9877,
31,
7734,
289,
5411,
289,
469,
309,
261,
80,
4487,
422,
2383,
48,
67,
23464,
47,
13,
288,
7734,
328,
1966,
80,
273,
2623,
18,
87,
40,
3083,
63,
77,
15533,
7734,
309,
261,
86,
4487,
422,
14584,
1805,
18,
17088,
67,
12693,
13,
288,
10792,
436,
1966,
80,
273,
2623,
18,
87,
40,
3083,
63,
77,
397,
404,
15533,
7734,
289,
469,
309,
261,
86,
4487,
1276,
3588,
13,
288,
10792,
436,
1966,
80,
273,
14015,
1854,
13,
86,
4487,
2934,
9056,
620,
5621,
7734,
289,
469,
288,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
741,
67,
87,
580,
85,
12,
1477,
3219,
2623,
16,
509,
277,
16,
509,
1061,
13,
565,
288,
3639,
1033,
7711,
273,
2623,
18,
3772,
63,
77,
397,
404,
15533,
3639,
1033,
8499,
273,
2623,
18,
3772,
63,
77,
15533,
3639,
1250,
563,
31,
1377,
1645,
67,
9877,
30,
288,
5411,
1645,
436,
1966,
80,
16,
328,
1966,
80,
31,
5411,
309,
261,
86,
4487,
422,
14584,
1805,
18,
17088,
67,
12693,
13,
288,
7734,
436,
1966,
80,
273,
2623,
18,
87,
40,
3083,
63,
77,
397,
404,
15533,
7734,
309,
261,
80,
4487,
422,
2383,
48,
67,
23464,
47,
13,
288,
10792,
328,
1966,
80,
273,
2623,
18,
87,
40,
3083,
63,
77,
15533,
2
] |
Color bkg) throws IOException {
|
Color bkg) throws IOException {
|
protected void writeImage(RenderedImage image, AffineTransform xform, Color bkg) throws IOException { // define image int imageID = id.getInt(); os.writeTag(getImageTag(imageID, image, bkg)); id.set(id.getInt() + 1); // define shape for image Shape shape = xform.createTransformedShape(new Rectangle(0, 0, image .getWidth(), image.getHeight())); AffineTransform imageTransform = new AffineTransform(TWIPS, 0, 0, TWIPS, 0, 0); xform.concatenate(imageTransform); // create fill from shape SWFShape imageShape = createShape(shape, 0, 0, 1); FillStyleArray imageFill = new FillStyleArray(); imageFill.add(new FillStyle(imageID, false, xform)); LineStyleArray imageLine = new LineStyleArray(); Rectangle bounds = shape.getBounds(); os.writeTag(new DefineShape3(id.getInt(), bounds, imageFill, imageLine, imageShape)); // place image os.writeTag(new PlaceObject2(id.getInt(), depth.getInt(), getTransform())); id.set(id.getInt() + 1); depth.set(depth.getInt() + 1); if (showBounds) { SWFShape swfBounds = createShape(bounds, 2, 0, -1); os.writeTag(new DefineShape3(id.getInt(), bounds, fillStyles, lineStyles, swfBounds)); os.writeTag(new PlaceObject(id.getInt(), depth.getInt(), getTransform())); id.set(id.getInt() + 1); depth.set(depth.getInt() + 1); } }
|
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/9919aea9885767bc773c7541d613abc669070587/SWFGraphics2D.java/buggy/freehep-graphicsio-swf/src/main/java/org/freehep/graphicsio/swf/SWFGraphics2D.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1045,
2040,
12,
19222,
2040,
1316,
16,
23906,
558,
4059,
619,
687,
16,
5411,
5563,
324,
14931,
13,
1216,
1860,
288,
3639,
368,
4426,
1316,
3639,
509,
1316,
734,
273,
612,
18,
588,
1702,
5621,
3639,
1140,
18,
2626,
1805,
12,
588,
2040,
1805,
12,
2730,
734,
16,
1316,
16,
324,
14931,
10019,
3639,
612,
18,
542,
12,
350,
18,
588,
1702,
1435,
397,
404,
1769,
3639,
368,
4426,
2179,
364,
1316,
3639,
12383,
2179,
273,
619,
687,
18,
2640,
4059,
329,
8500,
12,
2704,
13264,
12,
20,
16,
374,
16,
1316,
7734,
263,
588,
2384,
9334,
1316,
18,
588,
2686,
1435,
10019,
3639,
23906,
558,
4059,
1316,
4059,
273,
394,
23906,
558,
4059,
12,
18869,
2579,
55,
16,
374,
16,
374,
16,
7734,
24722,
2579,
55,
16,
374,
16,
374,
1769,
3639,
619,
687,
18,
16426,
275,
340,
12,
2730,
4059,
1769,
3639,
368,
752,
3636,
628,
2179,
3639,
16392,
42,
8500,
1316,
8500,
273,
752,
8500,
12,
4867,
16,
374,
16,
374,
16,
404,
1769,
3639,
14192,
2885,
1076,
1316,
8026,
273,
394,
14192,
2885,
1076,
5621,
3639,
1316,
8026,
18,
1289,
12,
2704,
14192,
2885,
12,
2730,
734,
16,
629,
16,
619,
687,
10019,
3639,
5377,
2885,
1076,
1316,
1670,
273,
394,
5377,
2885,
1076,
5621,
3639,
13264,
4972,
273,
2179,
18,
588,
5694,
5621,
3639,
1140,
18,
2626,
1805,
12,
2704,
13184,
8500,
23,
12,
350,
18,
588,
1702,
9334,
4972,
16,
1316,
8026,
16,
1316,
1670,
16,
7734,
1316,
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,
1045,
2040,
12,
19222,
2040,
1316,
16,
23906,
558,
4059,
619,
687,
16,
5411,
5563,
324,
14931,
13,
1216,
1860,
288,
3639,
368,
4426,
1316,
3639,
509,
1316,
734,
273,
612,
18,
588,
1702,
5621,
3639,
1140,
18,
2626,
1805,
12,
588,
2040,
1805,
12,
2730,
734,
16,
1316,
16,
324,
14931,
10019,
3639,
612,
18,
542,
12,
350,
18,
588,
1702,
1435,
397,
404,
1769,
3639,
368,
4426,
2179,
364,
1316,
3639,
12383,
2179,
273,
619,
687,
18,
2640,
4059,
329,
8500,
12,
2704,
13264,
12,
20,
16,
374,
16,
1316,
7734,
263,
588,
2384,
9334,
1316,
18,
588,
2686,
1435,
10019,
3639,
23906,
558,
4059,
1316,
4059,
273,
394,
23906,
558,
4059,
12,
18869,
2
] |
newDir = new File (pl.getLocalPath().toOSString()/*+ File.separatorChar + getName() */+ File.separatorChar + "PL"); if (newDir.mkdir()==true) System.out.println("Project-PL Directory was created"); else System.out.println("Project-PL Directory already existed"); newDir = new File (pl.getLocalPath().toOSString()/*+ File.separatorChar +getName() */+ File.separator + "PRODUCTS"); if (newDir.mkdir()==true) System.out.println("Project-PL-Product Directory was created"); else System.out.println("Project-PL-Product Directory already existed");
|
private void createPlDirectory (Productline pl) { //create directory for the PL String name = pl.getLocalPath().toOSString() /*+ File.separatorChar + getName()*/; File newDir = new File (name); if (newDir.mkdir()==true) System.out.println("Project Directory was created"); else System.out.println("Project Directory already existed"); newDir = new File (pl.getLocalPath().toOSString()/*+ File.separatorChar + getName() */+ File.separatorChar + "PL"); if (newDir.mkdir()==true) System.out.println("Project-PL Directory was created"); else System.out.println("Project-PL Directory already existed"); newDir = new File (pl.getLocalPath().toOSString()/*+ File.separatorChar +getName() */+ File.separator + "PRODUCTS"); if (newDir.mkdir()==true) System.out.println("Project-PL-Product Directory was created"); else System.out.println("Project-PL-Product Directory already existed"); newDir = new File (pl.getLocalPath().toOSString()/*+ File.separatorChar +getName() */+ File.separator + "CAS"); if (newDir.mkdir()==true) System.out.println("Project-PL-CAS Directory was created"); else System.out.println("Project-PL-CAS Directory already existed"); }
|
9773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9773/d1791136923a0aa3e48cac94e38633421a11e514/ModelStorage.java/buggy/kobold/src/kobold.client.plam/src/kobold/client/plam/model/ModelStorage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
1749,
2853,
261,
4133,
1369,
886,
13,
288,
202,
202,
759,
2640,
1867,
364,
326,
22443,
202,
202,
780,
508,
273,
886,
18,
588,
2042,
743,
7675,
869,
4618,
780,
1435,
1748,
15,
1387,
18,
11287,
2156,
397,
1723,
1435,
5549,
31,
202,
202,
812,
394,
1621,
273,
394,
1387,
261,
529,
1769,
202,
202,
430,
261,
2704,
1621,
18,
26686,
1435,
631,
3767,
13,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
4109,
8930,
1703,
2522,
8863,
1082,
202,
12107,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
4109,
8930,
1818,
20419,
8863,
9506,
202,
2704,
1621,
273,
394,
1387,
261,
412,
18,
588,
2042,
743,
7675,
869,
4618,
780,
1435,
20308,
15,
1387,
18,
11287,
2156,
397,
1723,
1435,
1195,
15,
1387,
18,
11287,
2156,
397,
315,
6253,
8863,
9506,
202,
430,
261,
2704,
1621,
18,
26686,
1435,
631,
3767,
13,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
4109,
17,
6253,
8930,
1703,
2522,
8863,
1082,
202,
12107,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
4109,
17,
6253,
8930,
1818,
20419,
8863,
9506,
202,
2704,
1621,
273,
394,
1387,
261,
412,
18,
588,
2042,
743,
7675,
869,
4618,
780,
1435,
20308,
15,
1387,
18,
11287,
2156,
397,
17994,
1435,
1195,
15,
1387,
18,
11287,
4697,
202,
15,
315,
25883,
55,
8863,
202,
202,
430,
261,
2704,
1621,
18,
26686,
1435,
631,
3767,
13,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
4109,
17,
6253,
17,
4133,
8930,
1703,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
1749,
2853,
261,
4133,
1369,
886,
13,
288,
202,
202,
759,
2640,
1867,
364,
326,
22443,
202,
202,
780,
508,
273,
886,
18,
588,
2042,
743,
7675,
869,
4618,
780,
1435,
1748,
15,
1387,
18,
11287,
2156,
397,
1723,
1435,
5549,
31,
202,
202,
812,
394,
1621,
273,
394,
1387,
261,
529,
1769,
202,
202,
430,
261,
2704,
1621,
18,
26686,
1435,
631,
3767,
13,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
4109,
8930,
1703,
2522,
8863,
1082,
202,
12107,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
4109,
8930,
1818,
20419,
8863,
9506,
202,
2704,
1621,
273,
394,
1387,
261,
412,
18,
588,
2042,
743,
7675,
869,
4618,
780,
1435,
20308,
15,
2
] |
|
if (method.isConstructor()) {
|
if(method.isConstructor()){
|
private boolean isMethodStaticallyAccessible(PsiMethod method) { if (method.hasModifierProperty(PsiModifier.STATIC)) { return true; } if (method.isConstructor()) { return true; } final PsiClass referenceContainingClass = m_method.getContainingClass(); final PsiClass methodContainingClass = method.getContainingClass(); return !InheritanceUtil.isInheritorOrSelf(referenceContainingClass, methodContainingClass, true); }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/MethodReferenceVisitor.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/performance/MethodReferenceVisitor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
27969,
5788,
1230,
10451,
12,
52,
7722,
1305,
707,
13,
288,
3639,
309,
261,
2039,
18,
5332,
9829,
1396,
12,
52,
7722,
9829,
18,
22741,
3719,
288,
5411,
327,
638,
31,
3639,
289,
3639,
309,
12,
2039,
18,
291,
6293,
10756,
95,
5411,
327,
638,
31,
3639,
289,
3639,
727,
453,
7722,
797,
2114,
24344,
797,
273,
312,
67,
2039,
18,
588,
24344,
797,
5621,
3639,
727,
453,
7722,
797,
707,
24344,
797,
273,
707,
18,
588,
24344,
797,
5621,
3639,
327,
401,
28255,
1304,
18,
291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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
27969,
5788,
1230,
10451,
12,
52,
7722,
1305,
707,
13,
288,
3639,
309,
261,
2039,
18,
5332,
9829,
1396,
12,
52,
7722,
9829,
18,
22741,
3719,
288,
5411,
327,
638,
31,
3639,
289,
3639,
309,
12,
2039,
18,
291,
6293,
10756,
95,
5411,
327,
638,
31,
3639,
289,
3639,
727,
453,
7722,
797,
2114,
24344,
797,
273,
312,
67,
2039,
18,
588,
24344,
797,
5621,
3639,
727,
453,
7722,
797,
707,
24344,
797,
273,
707,
18,
588,
24344,
797,
5621,
3639,
327,
401,
28255,
1304,
18,
291,
382,
1614,
1811,
1162,
10084,
12,
6180,
24344,
797,
16,
4766,
5375,
707,
24344,
797,
16,
638,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if(build) methods.put(new Long (hash), meths[i]);
|
if (build) methods.put(new Long(hash), meths[i]);
|
private void buildMethodHash(Class cls, boolean build) { Method[] meths = cls.getMethods(); for (int i = 0; i < meths.length; i++) { /* Don't need to include any java.xxx related stuff */ if (meths[i].getDeclaringClass().getName().startsWith("java.")) { continue; } long hash = RMIHashes.getMethodHash(meths[i]); if(build) methods.put(new Long (hash), meths[i]); else methods.remove(new Long (hash));//System.out.println("meth = " + meths[i] + ", hash = " + hash); }}
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/UnicastServerRef.java/clean/core/src/classpath/gnu/gnu/java/rmi/server/UnicastServerRef.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
1361,
1305,
2310,
12,
797,
2028,
16,
1250,
1361,
13,
288,
202,
1305,
8526,
7917,
87,
273,
2028,
18,
588,
4712,
5621,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
7917,
87,
18,
2469,
31,
277,
27245,
288,
202,
202,
20308,
7615,
1404,
1608,
358,
2341,
1281,
2252,
18,
18310,
3746,
10769,
1195,
202,
202,
430,
261,
27305,
87,
63,
77,
8009,
588,
3456,
14682,
7675,
17994,
7675,
17514,
1190,
2932,
6290,
1199,
3719,
288,
1082,
202,
17143,
31,
202,
202,
97,
202,
202,
5748,
1651,
273,
534,
7492,
14455,
18,
588,
1305,
2310,
12,
27305,
87,
63,
77,
19226,
202,
202,
430,
12,
3510,
13,
1082,
565,
2590,
18,
458,
12,
2704,
3407,
261,
2816,
3631,
7917,
87,
63,
77,
19226,
202,
202,
12107,
1082,
565,
2590,
18,
4479,
12,
2704,
3407,
261,
2816,
10019,
759,
3163,
18,
659,
18,
8222,
2932,
27305,
273,
315,
397,
7917,
87,
63,
77,
65,
397,
3104,
1651,
273,
315,
397,
1651,
1769,
202,
9090,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
1361,
1305,
2310,
12,
797,
2028,
16,
1250,
1361,
13,
288,
202,
1305,
8526,
7917,
87,
273,
2028,
18,
588,
4712,
5621,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
7917,
87,
18,
2469,
31,
277,
27245,
288,
202,
202,
20308,
7615,
1404,
1608,
358,
2341,
1281,
2252,
18,
18310,
3746,
10769,
1195,
202,
202,
430,
261,
27305,
87,
63,
77,
8009,
588,
3456,
14682,
7675,
17994,
7675,
17514,
1190,
2932,
6290,
1199,
3719,
288,
1082,
202,
17143,
31,
202,
202,
97,
202,
202,
5748,
1651,
273,
534,
7492,
14455,
18,
588,
1305,
2310,
12,
27305,
87,
63,
77,
19226,
202,
202,
430,
12,
3510,
13,
1082,
565,
2590,
18,
458,
12,
2704,
3407,
261,
2
] |
public void setDatabaseName(String newDatabaseName) {
|
public void setDatabaseName(String newDatabaseName) {
|
public void setDatabaseName(String newDatabaseName) { databaseName = newDatabaseName; }
|
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/9921cb7f613721ce78a3a5d66757e5abb6a6438a/TdsDataSource.java/clean/src/main/net/sourceforge/jtds/jdbcx/TdsDataSource.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
4254,
461,
12,
780,
394,
4254,
461,
13,
565,
288,
3639,
15165,
273,
394,
4254,
461,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
4254,
461,
12,
780,
394,
4254,
461,
13,
565,
288,
3639,
15165,
273,
394,
4254,
461,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
throw new ArgumentError(runtime, "can't dump anonymous class");
|
throw getRuntime().newArgumentError("can't dump anonymous class");
|
public void marshalTo(MarshalStream output) throws java.io.IOException { output.write('S'); String className = getMetaClass().getName(); if (className == null) { throw new ArgumentError(runtime, "can't dump anonymous class"); } output.dumpObject(RubySymbol.newSymbol(runtime, className)); List members = ((RubyArray) getInstanceVariable(classOf(), "__member__")).getList(); output.dumpInt(members.size()); for (int i = 0; i < members.size(); i++) { RubySymbol name = (RubySymbol) members.get(i); output.dumpObject(name); output.dumpObject(values[i]); } }
|
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyStruct.java/clean/src/org/jruby/RubyStruct.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
10893,
774,
12,
8105,
1228,
876,
13,
1216,
2252,
18,
1594,
18,
14106,
288,
3639,
876,
18,
2626,
2668,
55,
8284,
3639,
514,
2658,
273,
11312,
797,
7675,
17994,
5621,
3639,
309,
261,
12434,
422,
446,
13,
288,
5411,
604,
18814,
7675,
2704,
1379,
668,
2932,
4169,
1404,
4657,
13236,
667,
8863,
3639,
289,
3639,
876,
18,
8481,
921,
12,
54,
10340,
5335,
18,
2704,
5335,
12,
9448,
16,
2658,
10019,
3639,
987,
4833,
273,
14015,
54,
10340,
1076,
13,
3694,
3092,
12,
1106,
951,
9334,
10425,
5990,
972,
7923,
2934,
588,
682,
5621,
3639,
876,
18,
8481,
1702,
12,
7640,
18,
1467,
10663,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
4833,
18,
1467,
5621,
277,
27245,
288,
5411,
19817,
5335,
508,
273,
261,
54,
10340,
5335,
13,
4833,
18,
588,
12,
77,
1769,
5411,
876,
18,
8481,
921,
12,
529,
1769,
5411,
876,
18,
8481,
921,
12,
2372,
63,
77,
19226,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
10893,
774,
12,
8105,
1228,
876,
13,
1216,
2252,
18,
1594,
18,
14106,
288,
3639,
876,
18,
2626,
2668,
55,
8284,
3639,
514,
2658,
273,
11312,
797,
7675,
17994,
5621,
3639,
309,
261,
12434,
422,
446,
13,
288,
5411,
604,
18814,
7675,
2704,
1379,
668,
2932,
4169,
1404,
4657,
13236,
667,
8863,
3639,
289,
3639,
876,
18,
8481,
921,
12,
54,
10340,
5335,
18,
2704,
5335,
12,
9448,
16,
2658,
10019,
3639,
987,
4833,
273,
14015,
54,
10340,
1076,
13,
3694,
3092,
12,
1106,
951,
9334,
10425,
5990,
972,
7923,
2934,
588,
682,
5621,
3639,
876,
18,
8481,
1702,
12,
7640,
18,
1467,
10663,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
4833,
18,
2
] |
assertEquals( "A large string of text. Foo bar. Foo bar. Foo bar. Foo bar. " + "Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. " + "Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. <a href=\"http: linked);
|
assertEquals("A large string of text. Foo bar. Foo bar. Foo bar. Foo bar. " + "Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. " + "Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. <a href=\"http:
|
public void testLongTextWithLink() { String linked = LinkUtil.autoLink( "A large string of text. Foo bar. Foo bar. Foo bar. Foo bar. " + "Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. " + "Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. http://foo.bar."); assertEquals( "A large string of text. Foo bar. Foo bar. Foo bar. Foo bar. " + "Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. " + "Foo bar. Foo bar. Foo bar. Foo bar. Foo bar. <a href=\"http://foo.bar.\">http://foo.bar.</a>", linked); }
|
7284 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7284/58645f73a82606001fecc6c9410e1c2775ea1984/LinkUtilTest.java/buggy/displaytag/src/test/java/org/displaytag/util/LinkUtilTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3708,
1528,
1190,
2098,
1435,
565,
288,
3639,
514,
8459,
273,
5411,
4048,
1304,
18,
6079,
2098,
12,
7734,
315,
37,
7876,
533,
434,
977,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
315,
10792,
397,
315,
42,
5161,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
315,
10792,
397,
315,
42,
5161,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
1062,
2207,
11351,
18,
3215,
1199,
1769,
3639,
1815,
8867,
12,
5411,
315,
37,
7876,
533,
434,
977,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
315,
7734,
397,
315,
42,
5161,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
315,
7734,
397,
315,
42,
5161,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
411,
69,
3897,
5189,
2505,
2207,
11351,
18,
3215,
18,
24735,
2505,
2207,
11351,
18,
3215,
17347,
69,
2984,
16,
5411,
8459,
1769,
565,
289,
2,
0,
0,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,
4048,
1304,
18,
6079,
2098,
12,
7734,
315,
37,
7876,
533,
434,
977,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
315,
10792,
397,
315,
42,
5161,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
315,
10792,
397,
315,
42,
5161,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
1062,
2207,
11351,
18,
3215,
1199,
1769,
3639,
1815,
8867,
12,
5411,
315,
37,
7876,
533,
434,
977,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
23077,
4653,
18,
2
] |
Map alreadyFoundAddrHeader = new HashMap(7);
|
ArrayList checkedHeaderNames = new ArrayList(7); ArrayList duplicateHeaderNames = new ArrayList(1); boolean ignoreTo = false, ignoreFrom = false, ignoreReplyTo = false, ignoreFaultTo = false, ignoreMessageID = false, ignoreAction = false, ignoreRelatesTo = false;
|
protected Options extractAddressingInformation(SOAPHeader header, MessageContext messageContext, ArrayList addressingHeaders, String addressingNamespace) throws AxisFault { Options messageContextOptions = messageContext.getOptions(); Map alreadyFoundAddrHeader = new HashMap(7); // there are seven frequently used WS-A headers // First pass just check for duplicates Iterator addressingHeadersIt = addressingHeaders.iterator(); while (addressingHeadersIt.hasNext()) { SOAPHeaderBlock soapHeaderBlock = (SOAPHeaderBlock) addressingHeadersIt.next(); if (SOAP12Constants.SOAP_ROLE_NONE.equals(soapHeaderBlock.getRole())) continue; if (WSA_TO.equals(soapHeaderBlock.getLocalName())) { checkDuplicateHeaders(WSA_TO, messageContext, alreadyFoundAddrHeader); } else if (WSA_FROM.equals(soapHeaderBlock.getLocalName())) { checkDuplicateHeaders(WSA_FROM, messageContext, alreadyFoundAddrHeader); } else if (WSA_REPLY_TO.equals(soapHeaderBlock.getLocalName())) { checkDuplicateHeaders(WSA_REPLY_TO, messageContext, alreadyFoundAddrHeader); } else if (WSA_FAULT_TO.equals(soapHeaderBlock.getLocalName())) { checkDuplicateHeaders(WSA_FAULT_TO, messageContext, alreadyFoundAddrHeader); } else if (WSA_MESSAGE_ID.equals(soapHeaderBlock.getLocalName())) { checkDuplicateHeaders(WSA_MESSAGE_ID, messageContext, alreadyFoundAddrHeader); } else if (WSA_ACTION.equals(soapHeaderBlock.getLocalName())) { checkDuplicateHeaders(WSA_ACTION, messageContext, alreadyFoundAddrHeader); } else if (WSA_RELATES_TO.equals(soapHeaderBlock.getLocalName())) { checkDuplicateHeaders(WSA_RELATES_TO, messageContext, alreadyFoundAddrHeader); } } // Now extract information Iterator addressingHeadersIt2 = addressingHeaders.iterator(); while (addressingHeadersIt2.hasNext()) { SOAPHeaderBlock soapHeaderBlock = (SOAPHeaderBlock) addressingHeadersIt2.next(); if (SOAP12Constants.SOAP_ROLE_NONE.equals(soapHeaderBlock.getRole())) continue; if (WSA_TO.equals(soapHeaderBlock.getLocalName())) { extractToEPRInformation(soapHeaderBlock, messageContextOptions, header); } else if (WSA_FROM.equals(soapHeaderBlock.getLocalName())) { extractFromEPRInformation(messageContextOptions, soapHeaderBlock, addressingNamespace); } else if (WSA_REPLY_TO.equals(soapHeaderBlock.getLocalName())) { extractReplyToEPRInformation(messageContextOptions, soapHeaderBlock, addressingNamespace); } else if (WSA_FAULT_TO.equals(soapHeaderBlock.getLocalName())) { extractFaultToEPRInformation(messageContextOptions, soapHeaderBlock, addressingNamespace); } else if (WSA_MESSAGE_ID.equals(soapHeaderBlock.getLocalName())) { messageContextOptions.setMessageId(soapHeaderBlock.getText()); soapHeaderBlock.setProcessed(); } else if (WSA_ACTION.equals(soapHeaderBlock.getLocalName())) { messageContextOptions.setAction(soapHeaderBlock.getText()); soapHeaderBlock.setProcessed(); } else if (WSA_RELATES_TO.equals(soapHeaderBlock.getLocalName())) { extractRelatesToInformation(soapHeaderBlock, addressingNamespace, messageContextOptions); } } // check for the presense of madatory addressing headers checkForMandatoryHeaders(alreadyFoundAddrHeader, messageContext); return messageContextOptions; }
|
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/be66d3ac529a62a353f9f39f13525ffbfd3f3aea/AddressingInHandler.java/buggy/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
5087,
2608,
1887,
310,
5369,
12,
27952,
1864,
1446,
16,
2350,
1042,
883,
1042,
16,
4766,
10402,
2407,
1758,
310,
3121,
16,
514,
1758,
310,
3402,
13,
1216,
15509,
7083,
288,
3639,
5087,
883,
1042,
1320,
273,
883,
1042,
18,
588,
1320,
5621,
3639,
1635,
1818,
2043,
3178,
1864,
273,
394,
4317,
12,
27,
1769,
368,
1915,
854,
695,
3995,
13821,
23351,
1399,
7649,
17,
37,
1607,
3639,
368,
5783,
1342,
2537,
866,
364,
11211,
3639,
4498,
1758,
310,
3121,
7193,
273,
1758,
310,
3121,
18,
9838,
5621,
3639,
1323,
261,
2867,
310,
3121,
7193,
18,
5332,
2134,
10756,
288,
5411,
16434,
1864,
1768,
9930,
1864,
1768,
273,
261,
27952,
1864,
1768,
13,
1758,
310,
3121,
7193,
18,
4285,
5621,
5411,
309,
261,
27952,
2138,
2918,
18,
27952,
67,
16256,
67,
9826,
18,
14963,
12,
19215,
1864,
1768,
18,
588,
2996,
1435,
3719,
7734,
1324,
31,
5411,
309,
261,
2651,
37,
67,
4296,
18,
14963,
12,
19215,
1864,
1768,
18,
588,
29583,
1435,
3719,
288,
7734,
866,
11826,
3121,
12,
2651,
37,
67,
4296,
16,
883,
1042,
16,
1818,
2043,
3178,
1864,
1769,
5411,
289,
469,
309,
261,
2651,
37,
67,
11249,
18,
14963,
12,
19215,
1864,
1768,
18,
588,
29583,
1435,
3719,
288,
7734,
866,
11826,
3121,
12,
2651,
37,
67,
11249,
16,
883,
1042,
16,
1818,
2043,
3178,
1864,
1769,
5411,
289,
469,
309,
261,
2651,
37,
67,
862,
23893,
67,
4296,
18,
14963,
12,
19215,
1864,
1768,
18,
588,
29583,
1435,
3719,
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,
5087,
2608,
1887,
310,
5369,
12,
27952,
1864,
1446,
16,
2350,
1042,
883,
1042,
16,
4766,
10402,
2407,
1758,
310,
3121,
16,
514,
1758,
310,
3402,
13,
1216,
15509,
7083,
288,
3639,
5087,
883,
1042,
1320,
273,
883,
1042,
18,
588,
1320,
5621,
3639,
1635,
1818,
2043,
3178,
1864,
273,
394,
4317,
12,
27,
1769,
368,
1915,
854,
695,
3995,
13821,
23351,
1399,
7649,
17,
37,
1607,
3639,
368,
5783,
1342,
2537,
866,
364,
11211,
3639,
4498,
1758,
310,
3121,
7193,
273,
1758,
310,
3121,
18,
9838,
5621,
3639,
1323,
261,
2867,
310,
3121,
7193,
18,
5332,
2134,
10756,
288,
5411,
16434,
1864,
1768,
9930,
1864,
1768,
273,
261,
27952,
1864,
1768,
13,
1758,
310,
3121,
7193,
2
] |
else return new AndPointcut(pc1,pc2,getPosition());
|
else return construct(pc1,pc2,getPosition());
|
protected Pointcut inline(Hashtable renameEnv,Hashtable typeEnv, Aspect context) { Pointcut pc1=this.pc1.inline(renameEnv,typeEnv,context); Pointcut pc2=this.pc2.inline(renameEnv,typeEnv,context); if(pc1==this.pc1 && pc2==this.pc2) return this; else return new AndPointcut(pc1,pc2,getPosition()); }
|
236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/e8225c932b1e9012555057b8eefe1b1e560c7a59/AndPointcut.java/clean/aop/abc/src/abc/weaving/aspectinfo/AndPointcut.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
4686,
5150,
6370,
12,
5582,
14544,
6472,
3491,
16,
5582,
14544,
618,
3491,
16,
2970,
1181,
819,
13,
288,
202,
2148,
5150,
6125,
21,
33,
2211,
18,
2436,
21,
18,
10047,
12,
18539,
3491,
16,
723,
3491,
16,
2472,
1769,
202,
2148,
5150,
6125,
22,
33,
2211,
18,
2436,
22,
18,
10047,
12,
18539,
3491,
16,
723,
3491,
16,
2472,
1769,
202,
430,
12,
2436,
21,
631,
2211,
18,
2436,
21,
597,
6125,
22,
631,
2211,
18,
2436,
22,
13,
327,
333,
31,
202,
12107,
327,
4872,
12,
2436,
21,
16,
2436,
22,
16,
588,
2555,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
4686,
5150,
6370,
12,
5582,
14544,
6472,
3491,
16,
5582,
14544,
618,
3491,
16,
2970,
1181,
819,
13,
288,
202,
2148,
5150,
6125,
21,
33,
2211,
18,
2436,
21,
18,
10047,
12,
18539,
3491,
16,
723,
3491,
16,
2472,
1769,
202,
2148,
5150,
6125,
22,
33,
2211,
18,
2436,
22,
18,
10047,
12,
18539,
3491,
16,
723,
3491,
16,
2472,
1769,
202,
430,
12,
2436,
21,
631,
2211,
18,
2436,
21,
597,
6125,
22,
631,
2211,
18,
2436,
22,
13,
327,
333,
31,
202,
12107,
327,
4872,
12,
2436,
21,
16,
2436,
22,
16,
588,
2555,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
case 13:
|
case 13: /* reduce AAentrybraceentry2Entry */
|
public Start parse() throws ParserException, LexerException, IOException { push(0, null); List ign = null; while(true) { while(index(lexer.peek()) == -1) { if(ign == null) { ign = new TypedLinkedList(NodeCast.instance); } ign.add(lexer.next()); } if(ign != null) { ignoredTokens.setIn(lexer.peek(), ign); ign = null; } last_pos = lexer.peek().getPos(); last_line = lexer.peek().getLine(); last_token = lexer.peek(); int index = index(lexer.peek()); action[0] = actionTable[state()][0][1]; action[1] = actionTable[state()][0][2]; int low = 1; int high = actionTable[state()].length - 1; while(low <= high) { int middle = (low + high) / 2; if(index < actionTable[state()][middle][0]) { high = middle - 1; } else if(index > actionTable[state()][middle][0]) { low = middle + 1; } else { action[0] = actionTable[state()][middle][1]; action[1] = actionTable[state()][middle][2]; break; } } switch(action[0]) { case SHIFT: { ArrayList list = new ArrayList(); list.add(lexer.next()); push(action[1], list); last_shift = action[1]; } break; case REDUCE: switch(action[1]) { case 0: { ArrayList list = new0(); push(goTo(0), list); } break; case 1: { ArrayList list = new1(); push(goTo(0), list); } break; case 2: { ArrayList list = new2(); push(goTo(0), list); } break; case 3: { ArrayList list = new3(); push(goTo(0), list); } break; case 4: { ArrayList list = new4(); push(goTo(1), list); } break; case 5: { ArrayList list = new5(); push(goTo(1), list); } break; case 6: { ArrayList list = new6(); push(goTo(1), list); } break; case 7: { ArrayList list = new7(); push(goTo(1), list); } break; case 8: { ArrayList list = new8(); push(goTo(1), list); } break; case 9: { ArrayList list = new9(); push(goTo(1), list); } break; case 10: { ArrayList list = new10(); push(goTo(1), list); } break; case 11: { ArrayList list = new11(); push(goTo(1), list); } break; case 12: { ArrayList list = new12(); push(goTo(2), list); } break; case 13: { ArrayList list = new13(); push(goTo(2), list); } break; case 14: { ArrayList list = new14(); push(goTo(2), list); } break; case 15: { ArrayList list = new15(); push(goTo(2), list); } break; case 16: { ArrayList list = new16(); push(goTo(3), list); } break; case 17: { ArrayList list = new17(); push(goTo(4), list); } break; case 18: { ArrayList list = new18(); push(goTo(4), list); } break; case 19: { ArrayList list = new19(); push(goTo(5), list); } break; case 20: { ArrayList list = new20(); push(goTo(5), list); } break; case 21: { ArrayList list = new21(); push(goTo(5), list); } break; case 22: { ArrayList list = new22(); push(goTo(5), list); } break; case 23: { ArrayList list = new23(); push(goTo(5), list); } break; case 24: { ArrayList list = new24(); push(goTo(5), list); } break; case 25: { ArrayList list = new25(); push(goTo(6), list); } break; case 26: { ArrayList list = new26(); push(goTo(7), list); } break; case 27: { ArrayList list = new27(); push(goTo(7), list); } break; case 28: { ArrayList list = new28(); push(goTo(8), list); } break; case 29: { ArrayList list = new29(); push(goTo(8), list); } break; case 30: { ArrayList list = new30(); push(goTo(9), list); } break; case 31: { ArrayList list = new31(); push(goTo(9), list); } break; case 32: { ArrayList list = new32(); push(goTo(10), list); } break; case 33: { ArrayList list = new33(); push(goTo(10), list); } break; } break; case ACCEPT: { EOF node2 = (EOF) lexer.next(); PBibtex node1 = (PBibtex) ((ArrayList)pop()).get(0); Start node = new Start(node1, node2); return node; } case ERROR: throw new ParserException(last_token, "[" + last_line + "," + last_pos + "] " + errorMessages[errors[action[1]]]); } } }
|
9028 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9028/9ba080b0c901d335db2cb543a5bc7d76ff474439/Parser.java/buggy/source/net/sourceforge/texlipse/bibparser/parser/Parser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3603,
1109,
1435,
1216,
27990,
16,
14234,
503,
16,
1860,
565,
288,
3639,
1817,
12,
20,
16,
446,
1769,
3639,
987,
9750,
273,
446,
31,
3639,
1323,
12,
3767,
13,
3639,
288,
5411,
1323,
12,
1615,
12,
31731,
18,
347,
3839,
10756,
422,
300,
21,
13,
5411,
288,
7734,
309,
12,
724,
422,
446,
13,
7734,
288,
10792,
9750,
273,
394,
13833,
13174,
682,
12,
907,
9735,
18,
1336,
1769,
7734,
289,
7734,
9750,
18,
1289,
12,
31731,
18,
4285,
10663,
5411,
289,
5411,
309,
12,
724,
480,
446,
13,
5411,
288,
7734,
5455,
5157,
18,
542,
382,
12,
31731,
18,
347,
3839,
9334,
9750,
1769,
7734,
9750,
273,
446,
31,
5411,
289,
5411,
1142,
67,
917,
273,
8512,
18,
347,
3839,
7675,
588,
1616,
5621,
5411,
1142,
67,
1369,
273,
8512,
18,
347,
3839,
7675,
588,
1670,
5621,
5411,
1142,
67,
2316,
273,
8512,
18,
347,
3839,
5621,
5411,
509,
770,
273,
770,
12,
31731,
18,
347,
3839,
10663,
5411,
1301,
63,
20,
65,
273,
1301,
1388,
63,
2019,
1435,
6362,
20,
6362,
21,
15533,
5411,
1301,
63,
21,
65,
273,
1301,
1388,
63,
2019,
1435,
6362,
20,
6362,
22,
15533,
5411,
509,
4587,
273,
404,
31,
5411,
509,
3551,
273,
1301,
1388,
63,
2019,
1435,
8009,
2469,
300,
404,
31,
5411,
1323,
12,
821,
1648,
3551,
13,
5411,
288,
7734,
509,
7689,
273,
261,
821,
397,
3551,
13,
342,
576,
31,
7734,
309,
12,
1615,
411,
1301,
1388,
63,
2019,
1435,
6362,
18661,
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,
3603,
1109,
1435,
1216,
27990,
16,
14234,
503,
16,
1860,
565,
288,
3639,
1817,
12,
20,
16,
446,
1769,
3639,
987,
9750,
273,
446,
31,
3639,
1323,
12,
3767,
13,
3639,
288,
5411,
1323,
12,
1615,
12,
31731,
18,
347,
3839,
10756,
422,
300,
21,
13,
5411,
288,
7734,
309,
12,
724,
422,
446,
13,
7734,
288,
10792,
9750,
273,
394,
13833,
13174,
682,
12,
907,
9735,
18,
1336,
1769,
7734,
289,
7734,
9750,
18,
1289,
12,
31731,
18,
4285,
10663,
5411,
289,
5411,
309,
12,
724,
480,
446,
13,
5411,
288,
7734,
5455,
5157,
18,
542,
382,
12,
31731,
18,
347,
3839,
9334,
9750,
1769,
7734,
9750,
273,
446,
31,
5411,
289,
5411,
1142,
67,
917,
2
] |
public CachedUrl makeCachedUrl(CachedUrlSet owner, String url) { return new BaseCachedUrl(owner, url);
|
public CachedUrl makeCachedUrl(String url) { return new BaseCachedUrl(this, url);
|
public CachedUrl makeCachedUrl(CachedUrlSet owner, String url) { return new BaseCachedUrl(owner, url); }
|
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/1daae17bba467f29e3575dfd082f58a6511a6679/TestBaseCachedUrl.java/buggy/test/src/org/lockss/plugin/base/TestBaseCachedUrl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
15771,
1489,
1221,
9839,
1489,
12,
9839,
1489,
694,
3410,
16,
514,
880,
13,
288,
4202,
327,
394,
3360,
9839,
1489,
12,
8443,
16,
880,
1769,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
15771,
1489,
1221,
9839,
1489,
12,
9839,
1489,
694,
3410,
16,
514,
880,
13,
288,
4202,
327,
394,
3360,
9839,
1489,
12,
8443,
16,
880,
1769,
377,
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
] |
System.out.println("Klasse wurde nicht gefunden");
|
LOGGER.log(Level.SEVERE, "Klasse wurde nicht gefunden");
|
public static void main(String[] args) throws NotBoundException, IOException, RemoteException, ClassNotFoundException, InstantiationException, IllegalAccessException, ProblemComputeException { ParameterParser parser = new ParameterParser(); Option urlOption = new Option("u"); urlOption.setName("webserver"); urlOption.setOptional(false); parser.addOption(urlOption); Option remoteComputeOption = new Option("r"); remoteComputeOption.setName("adressCompSys"); remoteComputeOption.setOptional(false); parser.addOption(remoteComputeOption); Option problemNameOption = new Option("c"); problemNameOption.setName("problemName"); problemNameOption.setOptional(false); parser.addOption(problemNameOption); Option fileNameOption = new Option("f"); fileNameOption.setName("filename"); fileNameOption.setOptional(true); parser.addOption(fileNameOption); Option debugSwitch = new Option("d"); parser.addOption(debugSwitch); Exception exception = null; Serializable solutionLocal = null; Serializable solutionRemote = null; String filename = null; String filenameLocal = null; String filenameRemote = null; double timeLocal; double timeRemote; try { parser.parseAll(args); // Falls der Benutzer keinen eigenen SecurityManager verwendet, muss // einer gesetzt werden, da die zu bertragenden Objekte mittels eines // RMIClassLoader geladen werden. if (System.getSecurityManager() == null) { System.setSecurityManager(new RMISecurityManager()); } try { url = new URL(parser.getParameter(urlOption)); } catch (MalformedURLException e) { System.out.println("\n\nWebserver-Adresse fehlerhaft!\n\n"); usage(); } adressCompSys = parser.getParameter(remoteComputeOption); // Wenn beim ProblemManager kein Port angegeben ist, den // Standard-Port verwenden if (adressCompSys.indexOf(":") == -1) { adressCompSys += ":" + ProblemManager.PORT_NO; } problemName = parser.getParameter(problemNameOption); // optionaler Parameter if (parser.isEnabled(fileNameOption)) { filename = parser.getParameter(fileNameOption); filenameLocal = filename + LOCAL_SUPPLEMENT; filenameRemote = filename + REMOTE_SUPPLEMENT; } debugMode = parser.isEnabled(debugSwitch); System.out.println("Berechnung lokal:"); timeLocal = System.currentTimeMillis(); try { solutionLocal = computeLocal(); timeLocal = System.currentTimeMillis() - timeLocal; System.out.println("\nErgebnis:"); if (filenameLocal == null) { System.out.println(solutionLocal.toString()); } else { Miscellaneous.writeSerializableToFile(solutionLocal, filenameLocal); System.out.println("Geschrieben in Datei " + filenameLocal); } System.out.println("Bentigte Zeit: " + (timeLocal / CHANGE_MILLISEC_TO_SEC) + " Sekunden"); System.out.println("\nStatistik:\n" + finalProblemStat); } catch (ClassNotFoundException e) { System.out.println("Klasse wurde nicht gefunden"); exception = e; } catch (InstantiationException e) { System.out.println("Objekt kann nicht instanziert werden"); exception = e; } catch (IllegalAccessException e) { System.out.println("Kein Zugriff auf computelocal erlaubt"); exception = e; } catch (ProblemComputeException e) { System.out.println( "Fehler bei der Berechnung / unerlaubte Rechnung"); exception = e; } if (exception == null) { System.out.println("\nBerechnung remote:"); timeRemote = System.currentTimeMillis(); try { solutionRemote = computeRemote(); timeRemote = System.currentTimeMillis() - timeRemote; System.out.println("\nErgebnis:"); if (filenameRemote == null) { System.out.println(solutionRemote.toString()); } else { Miscellaneous.writeSerializableToFile(solutionRemote, filenameRemote); System.out.println("Geschrieben in Datei " + filenameRemote); } System.out.println("Bentigte Zeit: " + (timeRemote / CHANGE_MILLISEC_TO_SEC) + " Sekunden"); System.out.println("\nStatistik:\n" + finalProblemStat); } catch (ClassNotFoundException e) { System.out.println("Klasse wurde nicht gefunden"); exception = e; } catch (InstantiationException e) { System.out.println("Objekt kann nicht instanziert werden"); exception = e; } catch (IllegalAccessException e) { System.out.println("Kein Zugriff auf computelocal erlaubt"); exception = e; } catch (MalformedURLException e) { System.out.println("URL-Addresse fehlerhaft"); exception = e; } catch (RemoteException e) { System.out.println("Fehler beim Verbindungsaufbau mit RMI"); exception = e; } catch (NotBoundException e) { System.out.println("Fehler beim lookup in der Registry (RMI)"); exception = e; } catch (ProblemComputeException e) { System.out.println( "Fehler bei der Berechnung / unerlaubte Rechnung"); exception = e; } } if (exception != null) { if (debugMode) { exception.printStackTrace(); } } } catch (ParameterParserException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } }
|
14082 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14082/25cb0afef539c962e9be47d2134fb97b47afadcf/RuntimeComparison.java/clean/branches/logging/source/de/unistuttgart/architeuthis/user/RuntimeComparison.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
3639,
1216,
2288,
3499,
503,
16,
9079,
1860,
16,
9079,
18361,
16,
9079,
10403,
16,
9079,
19248,
16,
9079,
11900,
16,
9079,
21685,
7018,
503,
288,
3639,
5498,
2678,
2082,
273,
394,
5498,
2678,
5621,
3639,
2698,
880,
1895,
273,
394,
2698,
2932,
89,
8863,
3639,
880,
1895,
18,
542,
461,
2932,
1814,
2266,
502,
8863,
3639,
880,
1895,
18,
542,
6542,
12,
5743,
1769,
3639,
2082,
18,
1289,
1895,
12,
718,
1895,
1769,
3639,
2698,
2632,
7018,
1895,
273,
394,
2698,
2932,
86,
8863,
3639,
2632,
7018,
1895,
18,
542,
461,
2932,
361,
663,
2945,
12712,
8863,
3639,
2632,
7018,
1895,
18,
542,
6542,
12,
5743,
1769,
3639,
2082,
18,
1289,
1895,
12,
7222,
7018,
1895,
1769,
3639,
2698,
6199,
461,
1895,
273,
394,
2698,
2932,
71,
8863,
3639,
6199,
461,
1895,
18,
542,
461,
2932,
18968,
461,
8863,
3639,
6199,
461,
1895,
18,
542,
6542,
12,
5743,
1769,
3639,
2082,
18,
1289,
1895,
12,
18968,
461,
1895,
1769,
3639,
2698,
3968,
1895,
273,
394,
2698,
2932,
74,
8863,
3639,
3968,
1895,
18,
542,
461,
2932,
3459,
8863,
3639,
3968,
1895,
18,
542,
6542,
12,
3767,
1769,
3639,
2082,
18,
1289,
1895,
12,
17812,
1895,
1769,
3639,
2698,
1198,
10200,
273,
394,
2698,
2932,
72,
8863,
3639,
2082,
18,
1289,
1895,
12,
4148,
10200,
1769,
3639,
1185,
1520,
273,
446,
31,
3639,
13687,
6959,
2042,
273,
446,
31,
3639,
13687,
6959,
5169,
273,
446,
31,
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,
760,
918,
2774,
12,
780,
8526,
833,
13,
3639,
1216,
2288,
3499,
503,
16,
9079,
1860,
16,
9079,
18361,
16,
9079,
10403,
16,
9079,
19248,
16,
9079,
11900,
16,
9079,
21685,
7018,
503,
288,
3639,
5498,
2678,
2082,
273,
394,
5498,
2678,
5621,
3639,
2698,
880,
1895,
273,
394,
2698,
2932,
89,
8863,
3639,
880,
1895,
18,
542,
461,
2932,
1814,
2266,
502,
8863,
3639,
880,
1895,
18,
542,
6542,
12,
5743,
1769,
3639,
2082,
18,
1289,
1895,
12,
718,
1895,
1769,
3639,
2698,
2632,
7018,
1895,
273,
394,
2698,
2932,
86,
8863,
3639,
2632,
7018,
1895,
18,
542,
461,
2932,
361,
663,
2945,
12712,
8863,
3639,
2632,
7018,
1895,
18,
542,
6542,
12,
5743,
1769,
3639,
2
] |
ICssWriter writeValue(String string);
|
ICssWriter writeValue(char character);
|
ICssWriter writeValue(String string);
|
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/ICssWriter.java/buggy/org.rcfaces.renderkit.html/src/org/rcfaces/renderkit/html/internal/ICssWriter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
467,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
467,
7359,
2289,
26727,
12,
780,
533,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Collection societysearchresult=communityService.searchByRole(comm,destrole);
|
societysearchresult=communityService.searchByRole(comm,destrole);
|
public MessageAddress getDestinationAddress(String role) { if(communityService==null) { loggingService.error(" Community Service is null" +myAddress.toString()); } String destrole=null; if(role.equalsIgnoreCase("member")) { destrole="SecurityMnRManager-Enclave"; } else if(role.equalsIgnoreCase("SecurityMnRManager-Enclave")) { destrole="SecurityMnRManager-Society"; } String filter="(CommunityType=Security)"; Collection securitycol=communityService.search(filter); Iterator itersecurity=securitycol.iterator(); MessageAddress dest=null; while(itersecurity.hasNext()) { comm=(String)itersecurity.next(); Collection societysearchresult=communityService.searchByRole(comm,destrole); if(societysearchresult.isEmpty()) { continue; } else { if(societysearchresult.size()>1) { loggingService.error(" Too many Society Manager " +myAddress.toString()); return null; } break; } } dest=(MessageAddress)societysearchresult.iterator().next(); return dest; }
|
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/46e3215cc16c7fbece1ee1987af1e84e18caf9f3/CapabilitiesConsolidationPlugin.java/buggy/securityservices/src/org/cougaar/core/security/monitoring/plugin/CapabilitiesConsolidationPlugin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2350,
1887,
225,
17611,
1887,
12,
780,
2478,
13,
288,
1377,
309,
12,
20859,
1179,
631,
2011,
13,
288,
202,
11167,
1179,
18,
1636,
2932,
16854,
13352,
1956,
353,
446,
6,
397,
4811,
1887,
18,
10492,
10663,
4202,
289,
1377,
514,
1570,
4615,
33,
2011,
31,
1377,
309,
12,
4615,
18,
14963,
5556,
2932,
5990,
6,
3719,
288,
202,
10488,
4615,
1546,
4368,
29668,
54,
1318,
17,
664,
830,
836,
14432,
1377,
289,
1377,
469,
309,
12,
4615,
18,
14963,
5556,
2932,
4368,
29668,
54,
1318,
17,
664,
830,
836,
6,
3719,
288,
202,
10488,
4615,
1546,
4368,
29668,
54,
1318,
17,
55,
1882,
14369,
14432,
1377,
289,
1377,
514,
1034,
1546,
12,
12136,
13352,
559,
33,
4368,
2225,
31,
1377,
2200,
4373,
1293,
33,
20859,
1179,
18,
3072,
12,
2188,
1769,
1377,
4498,
1400,
7462,
33,
7462,
1293,
18,
9838,
5621,
1377,
2350,
1887,
225,
1570,
33,
2011,
31,
1377,
1323,
12,
2165,
7462,
18,
5332,
2134,
10756,
288,
202,
5702,
28657,
780,
13,
2165,
7462,
18,
4285,
5621,
202,
2532,
272,
1882,
14369,
3072,
2088,
33,
20859,
1179,
18,
3072,
858,
2996,
12,
5702,
16,
10488,
4615,
1769,
202,
430,
12,
87,
1882,
14369,
3072,
2088,
18,
291,
1921,
10756,
288,
202,
225,
1324,
31,
202,
97,
202,
12107,
288,
202,
225,
309,
12,
87,
1882,
14369,
3072,
2088,
18,
1467,
1435,
34,
21,
13,
288,
202,
565,
2907,
1179,
18,
1636,
2932,
15869,
4906,
348,
1882,
14369,
8558,
315,
397,
4811,
1887,
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,
1887,
225,
17611,
1887,
12,
780,
2478,
13,
288,
1377,
309,
12,
20859,
1179,
631,
2011,
13,
288,
202,
11167,
1179,
18,
1636,
2932,
16854,
13352,
1956,
353,
446,
6,
397,
4811,
1887,
18,
10492,
10663,
4202,
289,
1377,
514,
1570,
4615,
33,
2011,
31,
1377,
309,
12,
4615,
18,
14963,
5556,
2932,
5990,
6,
3719,
288,
202,
10488,
4615,
1546,
4368,
29668,
54,
1318,
17,
664,
830,
836,
14432,
1377,
289,
1377,
469,
309,
12,
4615,
18,
14963,
5556,
2932,
4368,
29668,
54,
1318,
17,
664,
830,
836,
6,
3719,
288,
202,
10488,
4615,
1546,
4368,
29668,
54,
1318,
17,
55,
1882,
14369,
14432,
1377,
289,
1377,
514,
1034,
1546,
12,
12136,
13352,
559,
33,
2
] |
removeBundle();
|
getBundle(); assertNotNull(reg.findPerspectiveWithId(PERSPECTIVE_ID));
|
public void testFindPerspectiveInRegistry() { getBundle(); //ensure the bundle is loaded IPerspectiveRegistry reg = PlatformUI.getWorkbench() .getPerspectiveRegistry(); assertNotNull(reg .findPerspectiveWithId("org.eclipse.newPerspective1.newPerspective1")); removeBundle(); //unload the bundle assertNull(reg .findPerspectiveWithId("org.eclipse.newPerspective1.newPerspective1")); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/2643ca655274ae30e4ba0c9a52f2b6c959f1f3e8/PerspectiveTests.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dynamicplugins/PerspectiveTests.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3125,
14781,
16772,
382,
4243,
1435,
288,
202,
202,
588,
3405,
5621,
368,
15735,
326,
3440,
353,
4203,
202,
202,
2579,
414,
16772,
4243,
960,
273,
11810,
5370,
18,
588,
2421,
22144,
1435,
9506,
202,
18,
588,
14781,
16772,
4243,
5621,
202,
202,
11231,
5962,
12,
1574,
9506,
202,
18,
4720,
14781,
16772,
1190,
548,
2932,
3341,
18,
20416,
18,
2704,
14781,
16772,
21,
18,
2704,
14781,
16772,
21,
7923,
1769,
202,
202,
588,
3405,
5621,
25395,
12,
1574,
18,
4720,
14781,
16772,
1190,
548,
12,
3194,
23810,
1268,
5354,
67,
734,
10019,
368,
318,
945,
326,
3440,
202,
202,
11231,
2041,
12,
1574,
9506,
202,
18,
4720,
14781,
16772,
1190,
548,
2932,
3341,
18,
20416,
18,
2704,
14781,
16772,
21,
18,
2704,
14781,
16772,
21,
7923,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3125,
14781,
16772,
382,
4243,
1435,
288,
202,
202,
588,
3405,
5621,
368,
15735,
326,
3440,
353,
4203,
202,
202,
2579,
414,
16772,
4243,
960,
273,
11810,
5370,
18,
588,
2421,
22144,
1435,
9506,
202,
18,
588,
14781,
16772,
4243,
5621,
202,
202,
11231,
5962,
12,
1574,
9506,
202,
18,
4720,
14781,
16772,
1190,
548,
2932,
3341,
18,
20416,
18,
2704,
14781,
16772,
21,
18,
2704,
14781,
16772,
21,
7923,
1769,
202,
202,
588,
3405,
5621,
25395,
12,
1574,
18,
4720,
14781,
16772,
1190,
548,
12,
3194,
23810,
1268,
5354,
67,
734,
10019,
368,
318,
945,
326,
3440,
202,
202,
11231,
2041,
12,
1574,
9506,
202,
18,
4720,
14781,
16772,
1190,
548,
2932,
3341,
2
] |
String separator = sepVal.isNil() ? null : ((RubyString) sepVal).getValue();
|
String separator = sepVal.isNil() ? null : ((RubyString) sepVal).toString();
|
public IRubyObject internalGets(IRubyObject[] args) { checkReadable(); IRubyObject sepVal = getRuntime().getGlobalVariables().get("$/"); if (args.length > 0) { sepVal = args[0]; } String separator = sepVal.isNil() ? null : ((RubyString) sepVal).getValue(); if (separator != null && separator.length() == 0) { separator = IOHandler.PARAGRAPH_DELIMETER; } try { String newLine = handler.gets(separator); if (newLine != null) { lineNumber++; getRuntime().getGlobalVariables().set("$.", getRuntime().newFixnum(lineNumber)); RubyString result = getRuntime().newString(newLine); result.taint(); return result; } return getRuntime().getNil(); } catch (IOHandler.BadDescriptorException e) { throw getRuntime().newErrnoEBADFError(); } catch (IOException e) { throw getRuntime().newIOError(e.getMessage()); } }
|
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/9f2efc63a858fa0507245b207025eab027840a04/RubyIO.java/buggy/src/org/jruby/RubyIO.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
2713,
3002,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
866,
14151,
5621,
3639,
15908,
10340,
921,
5478,
3053,
273,
18814,
7675,
588,
5160,
6158,
7675,
588,
2932,
8,
4898,
1769,
3639,
309,
261,
1968,
18,
2469,
405,
374,
13,
288,
5411,
5478,
3053,
273,
833,
63,
20,
15533,
3639,
289,
7734,
514,
4182,
273,
5478,
3053,
18,
291,
12616,
1435,
692,
446,
294,
14015,
54,
10340,
780,
13,
5478,
3053,
2934,
10492,
5621,
3639,
309,
261,
11287,
480,
446,
597,
4182,
18,
2469,
1435,
422,
374,
13,
288,
5411,
4182,
273,
1665,
1503,
18,
2778,
1781,
54,
18045,
67,
20643,
958,
2560,
31,
3639,
289,
3639,
775,
288,
5411,
514,
8093,
273,
1838,
18,
14665,
12,
11287,
1769,
1082,
565,
309,
261,
2704,
1670,
480,
446,
13,
288,
1082,
3639,
13629,
9904,
31,
1082,
3639,
18814,
7675,
588,
5160,
6158,
7675,
542,
2932,
8,
1199,
16,
18814,
7675,
2704,
8585,
2107,
12,
1369,
1854,
10019,
1082,
3639,
19817,
780,
563,
273,
18814,
7675,
2704,
780,
12,
2704,
1670,
1769,
1082,
3639,
563,
18,
88,
1598,
5621,
1082,
540,
1082,
3639,
327,
563,
31,
1082,
565,
289,
1082,
7734,
327,
18814,
7675,
588,
12616,
5621,
3639,
289,
1044,
261,
4294,
1503,
18,
6434,
3187,
503,
425,
13,
288,
5411,
604,
18814,
7675,
2704,
2524,
2135,
41,
16234,
42,
668,
5621,
3639,
289,
1044,
261,
14106,
425,
13,
288,
5411,
604,
18814,
7675,
2704,
4294,
668,
12,
73,
18,
24906,
10663,
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,
15908,
10340,
921,
2713,
3002,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
866,
14151,
5621,
3639,
15908,
10340,
921,
5478,
3053,
273,
18814,
7675,
588,
5160,
6158,
7675,
588,
2932,
8,
4898,
1769,
3639,
309,
261,
1968,
18,
2469,
405,
374,
13,
288,
5411,
5478,
3053,
273,
833,
63,
20,
15533,
3639,
289,
7734,
514,
4182,
273,
5478,
3053,
18,
291,
12616,
1435,
692,
446,
294,
14015,
54,
10340,
780,
13,
5478,
3053,
2934,
10492,
5621,
3639,
309,
261,
11287,
480,
446,
597,
4182,
18,
2469,
1435,
422,
374,
13,
288,
5411,
4182,
273,
1665,
1503,
18,
2778,
1781,
54,
18045,
67,
20643,
958,
2560,
31,
3639,
289,
3639,
775,
288,
5411,
514,
8093,
273,
2
] |
pattern = LogManager.getLogManager().getProperty( "java.util.logging.FileHandler.pattern");
|
pattern = LogManager.getLogManager().getProperty(PATTERN_KEY);
|
private OutputStream createFileStream(String pattern, int limit, int count, boolean append, int generation) { String path; int unique = 0; /* Throws a SecurityException if the caller does not have * LoggingPermission("control"). */ LogManager.getLogManager().checkAccess(); /* Default value from the java.util.logging.FileHandler.pattern * LogManager configuration property. */ if (pattern == null) pattern = LogManager.getLogManager().getProperty( "java.util.logging.FileHandler.pattern"); if (pattern == null) pattern = "%h/java%u.log"; if (count > 1 && !has (pattern, 'g')) pattern = pattern + ".%g"; do { path = replaceFileNameEscapes(pattern, generation, unique, count); try { File file = new File(path); if (!file.exists () || append) { FileOutputStream fout = new FileOutputStream (file, append); // FIXME we need file locks for this to work properly, but they // are not implemented yet in Classpath! Madness!// FileChannel channel = fout.getChannel ();// FileLock lock = channel.tryLock ();// if (lock != null) // We've locked the file.// { if (logFiles.isEmpty ()) logFiles.addFirst (path); return new ostr (fout);// } } } catch (Exception ex) { reportError (null, ex, ErrorManager.OPEN_FAILURE); } unique = unique + 1; if (!has (pattern, 'u')) pattern = pattern + ".%u"; } while (true); }
|
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/FileHandler.java/clean/core/src/classpath/java/java/util/logging/FileHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
8962,
21266,
1228,
12,
780,
1936,
16,
6862,
1082,
4202,
509,
1800,
16,
6862,
1082,
4202,
509,
1056,
16,
6862,
1082,
4202,
1250,
714,
16,
6862,
1082,
4202,
509,
9377,
13,
225,
288,
565,
514,
225,
589,
31,
565,
509,
377,
3089,
273,
374,
31,
565,
1748,
22435,
279,
17780,
309,
326,
4894,
1552,
486,
1240,
377,
380,
10253,
5041,
2932,
7098,
20387,
377,
1195,
565,
1827,
1318,
18,
588,
1343,
1318,
7675,
1893,
1862,
5621,
565,
1748,
2989,
460,
628,
326,
2252,
18,
1367,
18,
11167,
18,
28942,
18,
4951,
377,
380,
1827,
1318,
1664,
1272,
18,
377,
1195,
565,
309,
261,
4951,
422,
446,
13,
1377,
1936,
273,
1827,
1318,
18,
588,
1343,
1318,
7675,
588,
1396,
12,
17311,
315,
6290,
18,
1367,
18,
11167,
18,
28942,
18,
4951,
8863,
565,
309,
261,
4951,
422,
446,
13,
1377,
1936,
273,
2213,
76,
19,
6290,
9,
89,
18,
1330,
14432,
565,
309,
261,
1883,
405,
404,
597,
401,
5332,
261,
4951,
16,
296,
75,
26112,
1377,
1936,
273,
1936,
397,
3552,
9,
75,
14432,
565,
741,
565,
288,
1377,
589,
273,
1453,
4771,
30092,
12,
4951,
16,
9377,
16,
3089,
16,
1056,
1769,
1377,
775,
1377,
288,
202,
812,
585,
273,
394,
1387,
12,
803,
1769,
3639,
309,
16051,
768,
18,
1808,
1832,
747,
714,
13,
1850,
288,
5411,
12942,
17382,
273,
394,
12942,
261,
768,
16,
714,
1769,
5411,
368,
9852,
732,
1608,
585,
13046,
364,
333,
358,
1440,
8214,
16,
1496,
2898,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
8962,
21266,
1228,
12,
780,
1936,
16,
6862,
1082,
4202,
509,
1800,
16,
6862,
1082,
4202,
509,
1056,
16,
6862,
1082,
4202,
1250,
714,
16,
6862,
1082,
4202,
509,
9377,
13,
225,
288,
565,
514,
225,
589,
31,
565,
509,
377,
3089,
273,
374,
31,
565,
1748,
22435,
279,
17780,
309,
326,
4894,
1552,
486,
1240,
377,
380,
10253,
5041,
2932,
7098,
20387,
377,
1195,
565,
1827,
1318,
18,
588,
1343,
1318,
7675,
1893,
1862,
5621,
565,
1748,
2989,
460,
628,
326,
2252,
18,
1367,
18,
11167,
18,
28942,
18,
4951,
377,
380,
1827,
1318,
1664,
1272,
18,
377,
1195,
565,
309,
261,
4951,
422,
446,
13,
1377,
1936,
273,
1827,
1318,
18,
588,
1343,
1318,
7675,
2
] |
public void mSTRING() throws RecognitionException { int STRING_StartIndex = input.index(); try { int type = STRING; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; if ( backtracking>0 && alreadyParsedRule(input, 49) ) { return ; } // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:948:17: ( ( '"' ( options {greedy=false; } : . )* '"' ) | ( '\'' ( options {greedy=false; } : . )* '\'' ) ) int alt10=2; int LA10_0 = input.LA(1); if ( LA10_0=='"' ) { alt10=1; } else if ( LA10_0=='\'' ) { alt10=2; } else { if (backtracking>0) {failed=true; return ;} NoViableAltException nvae = new NoViableAltException("947:1: STRING : ( ( \'\"\' ( options {greedy=false; } : . )* \'\"\' ) | ( \'\\\'\' ( options {greedy=false; } : . )* \'\\\'\' ) );", 10, 0, input); throw nvae; } switch (alt10) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:948:17: ( '"' ( options {greedy=false; } : . )* '"' ) { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:948:17: ( '"' ( options {greedy=false; } : . )* '"' ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:948:18: '"' ( options {greedy=false; } : . )* '"' { match('"'); if (failed) return ; // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:948:22: ( options {greedy=false; } : . )* loop8: do { int alt8=2; int LA8_0 = input.LA(1); if ( LA8_0=='"' ) { alt8=2; } else if ( (LA8_0>='\u0000' && LA8_0<='!')||(LA8_0>='#' && LA8_0<='\uFFFE') ) { alt8=1; } switch (alt8) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:948:49: . { matchAny(); if (failed) return ; } break; default : break loop8; } } while (true); match('"'); if (failed) return ; } } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:948:61: ( '\'' ( options {greedy=false; } : . )* '\'' ) { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:948:61: ( '\'' ( options {greedy=false; } : . )* '\'' ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:948:62: '\'' ( options {greedy=false; } : . )* '\'' { match('\''); if (failed) return ; // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:948:67: ( options {greedy=false; } : . )* loop9: do { int alt9=2; int LA9_0 = input.LA(1); if ( LA9_0=='\'' ) { alt9=2; } else if ( (LA9_0>='\u0000' && LA9_0<='&')||(LA9_0>='(' && LA9_0<='\uFFFE') ) { alt9=1; } switch (alt9) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:948:94: . { matchAny(); if (failed) return ; } break; default : break loop9; } } while (true); match('\''); if (failed) return ; } } break; } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { if ( backtracking>0 ) { memoize(input, 49, STRING_StartIndex); } } }
|
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/35c3932466a0269c296ae52afa8a1f8048a309d2/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
5804,
1435,
1216,
9539,
288,
3639,
509,
9469,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
9469,
31,
5411,
509,
787,
273,
23577,
1016,
5621,
5411,
509,
980,
273,
9851,
5621,
5411,
509,
1149,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
1904,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
309,
261,
6888,
34,
20,
597,
1818,
11257,
2175,
12,
2630,
16,
17160,
13,
262,
288,
327,
274,
289,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
29,
8875,
30,
4033,
30,
261,
261,
4754,
261,
702,
288,
11556,
24009,
33,
5743,
31,
289,
294,
263,
8618,
4754,
262,
571,
261,
15053,
261,
702,
288,
11556,
24009,
33,
5743,
31,
289,
294,
263,
8618,
15053,
262,
262,
5411,
509,
3770,
2163,
33,
22,
31,
5411,
509,
2928,
2163,
67,
20,
273,
810,
18,
2534,
12,
21,
1769,
5411,
309,
261,
2928,
2163,
67,
20,
631,
4970,
11,
262,
288,
7734,
3770,
2163,
33,
21,
31,
5411,
289,
5411,
469,
309,
261,
2928,
2163,
67,
20,
18920,
11421,
262,
288,
7734,
3770,
2163,
33,
22,
31,
5411,
289,
5411,
469,
288,
7734,
309,
261,
823,
6440,
34,
20,
13,
288,
7307,
33,
3767,
31,
327,
274,
97,
7734,
17114,
15077,
273,
10792,
394,
17114,
2932,
29,
9462,
30,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
5804,
1435,
1216,
9539,
288,
3639,
509,
9469,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
9469,
31,
5411,
509,
787,
273,
23577,
1016,
5621,
5411,
509,
980,
273,
9851,
5621,
5411,
509,
1149,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
1904,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
309,
261,
6888,
34,
20,
597,
1818,
11257,
2175,
12,
2630,
16,
17160,
13,
262,
288,
327,
274,
289,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
29,
8875,
2
] |
||
boolean inUpperBound = false; boolean inLowerBound = false;
|
private void boundsCheck(double d) throws InvalidDatatypeValueException { boolean inUpperBound = false; boolean inLowerBound = false; if ( isMaxInclusiveDefined ) { inUpperBound = ( d <= fMaxInclusive ); } else if ( isMaxExclusiveDefined ) { inUpperBound = ( d < fMaxExclusive ); } if ( isMinInclusiveDefined ) { inLowerBound = ( d >= fMinInclusive ); } else if ( isMinExclusiveDefined ) { inLowerBound = ( d > fMinExclusive ); } if ( inUpperBound == false || inLowerBound == false ) { // within bounds ? getErrorString(DatatypeMessageProvider.OutOfBounds, DatatypeMessageProvider.MSG_NONE, new Object [] { new Double(d), "","","","" }); //REVISIT } }
|
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/5da40f80715c5631452b14ddaf1b4d363e1dcf27/DoubleDatatypeValidator.java/buggy/src/org/apache/xerces/validators/datatype/DoubleDatatypeValidator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4972,
1564,
12,
9056,
302,
13,
1216,
1962,
20228,
9738,
288,
3639,
1250,
316,
21328,
273,
629,
31,
3639,
1250,
316,
24094,
273,
629,
31,
3639,
309,
261,
353,
2747,
19146,
8116,
262,
288,
5411,
316,
21328,
273,
261,
302,
1648,
284,
2747,
19146,
11272,
3639,
289,
469,
309,
261,
353,
2747,
17075,
8116,
262,
288,
5411,
316,
21328,
273,
261,
302,
411,
225,
284,
2747,
17075,
11272,
3639,
289,
3639,
309,
261,
353,
2930,
19146,
8116,
262,
288,
5411,
316,
24094,
273,
261,
302,
1545,
284,
2930,
19146,
11272,
3639,
289,
469,
309,
261,
353,
2930,
17075,
8116,
262,
288,
5411,
316,
24094,
273,
261,
302,
405,
225,
284,
2930,
17075,
11272,
3639,
289,
3639,
309,
261,
316,
21328,
422,
629,
225,
747,
316,
24094,
422,
629,
262,
288,
368,
3470,
4972,
692,
5411,
7926,
780,
12,
20228,
1079,
2249,
18,
11224,
5694,
16,
21821,
21168,
1079,
2249,
18,
11210,
67,
9826,
16,
21821,
394,
1033,
5378,
288,
394,
3698,
12,
72,
3631,
1408,
10837,
15937,
3113,
3660,
15549,
368,
862,
26780,
1285,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4972,
1564,
12,
9056,
302,
13,
1216,
1962,
20228,
9738,
288,
3639,
1250,
316,
21328,
273,
629,
31,
3639,
1250,
316,
24094,
273,
629,
31,
3639,
309,
261,
353,
2747,
19146,
8116,
262,
288,
5411,
316,
21328,
273,
261,
302,
1648,
284,
2747,
19146,
11272,
3639,
289,
469,
309,
261,
353,
2747,
17075,
8116,
262,
288,
5411,
316,
21328,
273,
261,
302,
411,
225,
284,
2747,
17075,
11272,
3639,
289,
3639,
309,
261,
353,
2930,
19146,
8116,
262,
288,
5411,
316,
24094,
273,
261,
302,
1545,
284,
2930,
19146,
11272,
3639,
289,
469,
309,
261,
353,
2930,
17075,
8116,
262,
288,
5411,
316,
24094,
273,
261,
302,
405,
225,
284,
2930,
17075,
11272,
3639,
289,
3639,
2
] |
|
if (Util.equals(activeEditorId, variable)) {
|
if (equals(activeEditorId, variable)) {
|
public final EvaluationResult evaluate(final IEvaluationContext context) throws CoreException { final EvaluationResult result = super.evaluate(context); if (result == EvaluationResult.FALSE) { return result; } final Object variable = context .getVariable(ISources.ACTIVE_EDITOR_ID_NAME); if (Util.equals(activeEditorId, variable)) { return EvaluationResult.TRUE; } return EvaluationResult.FALSE; }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/ba8772da3d063410cc9112f7f53da28a447f2704/LegacyEditorContributionExpression.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/expressions/LegacyEditorContributionExpression.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
17340,
1253,
5956,
12,
6385,
467,
13468,
1042,
819,
13,
1082,
202,
15069,
30015,
288,
202,
202,
6385,
17340,
1253,
563,
273,
2240,
18,
21024,
12,
2472,
1769,
202,
202,
430,
261,
2088,
422,
17340,
1253,
18,
21053,
13,
288,
1082,
202,
2463,
563,
31,
202,
202,
97,
202,
202,
6385,
1033,
2190,
273,
819,
9506,
202,
18,
588,
3092,
12,
5127,
1418,
18,
13301,
67,
13208,
67,
734,
67,
1985,
1769,
202,
202,
430,
261,
1304,
18,
14963,
12,
3535,
6946,
548,
16,
2190,
3719,
288,
1082,
202,
2463,
17340,
1253,
18,
18724,
31,
202,
202,
97,
202,
202,
2463,
17340,
1253,
18,
21053,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
727,
17340,
1253,
5956,
12,
6385,
467,
13468,
1042,
819,
13,
1082,
202,
15069,
30015,
288,
202,
202,
6385,
17340,
1253,
563,
273,
2240,
18,
21024,
12,
2472,
1769,
202,
202,
430,
261,
2088,
422,
17340,
1253,
18,
21053,
13,
288,
1082,
202,
2463,
563,
31,
202,
202,
97,
202,
202,
6385,
1033,
2190,
273,
819,
9506,
202,
18,
588,
3092,
12,
5127,
1418,
18,
13301,
67,
13208,
67,
734,
67,
1985,
1769,
202,
202,
430,
261,
1304,
18,
14963,
12,
3535,
6946,
548,
16,
2190,
3719,
288,
1082,
202,
2463,
17340,
1253,
18,
18724,
31,
202,
202,
97,
202,
202,
2463,
17340,
1253,
18,
21053,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public AmpScaleMapper(int totalPixels, int hintPixels){
|
public AmpScaleMapper(int totalPixels, int hintPixels) {
|
public AmpScaleMapper(int totalPixels, int hintPixels){ this(totalPixels, hintPixels, null); }
|
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/7423c9a7f36a9ad04bb752ac58623c800fab2e5d/AmpScaleMapper.java/clean/src/edu/sc/seis/fissuresUtil/display/AmpScaleMapper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
432,
1291,
5587,
4597,
12,
474,
2078,
18079,
16,
509,
7380,
18079,
13,
288,
3639,
333,
12,
4963,
18079,
16,
7380,
18079,
16,
446,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
432,
1291,
5587,
4597,
12,
474,
2078,
18079,
16,
509,
7380,
18079,
13,
288,
3639,
333,
12,
4963,
18079,
16,
7380,
18079,
16,
446,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
aProcess = Runtime.getRuntime().exec(command);
|
return 0;
|
private static int runInShell(IRuby runtime, String command, StringBuffer output) { try { String shell = System.getProperty("jruby.shell"); Process aProcess; String shellSwitch = "-c"; command = repairDirSeps(command); if (shell != null) { if (!shell.endsWith("sh")) { shellSwitch = "/c"; } aProcess = Runtime.getRuntime().exec(new String[] { shell, shellSwitch, command }); } else { aProcess = Runtime.getRuntime().exec(command); } final BufferedReader reader = new BufferedReader(new InputStreamReader(aProcess.getInputStream())); // Fairly innefficient impl, but readLine is unable to tell // whether the last line in a process ended with a newline or not. int c; boolean crSeen = false; while ((c = reader.read()) != -1) { if (c == '\r') { crSeen = true; } else { if (crSeen) { if (c != '\n') { output.append('\r'); } crSeen = false; } output.append((char)c); } } if (crSeen) { output.append('\r'); } aProcess.getErrorStream().close(); aProcess.getOutputStream().close(); reader.close(); return aProcess.waitFor(); } catch (IOException e) { throw runtime.newIOErrorFromException(e); } catch (InterruptedException e) { throw runtime.newThreadError("unexpected interrupt"); } }
|
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/b4a189a27604d62c317938f16a124fb9dab1e94a/RubyKernel.java/clean/src/org/jruby/RubyKernel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
509,
1086,
382,
13220,
12,
7937,
10340,
3099,
16,
514,
1296,
16,
6674,
876,
13,
288,
3639,
775,
288,
5411,
514,
5972,
273,
2332,
18,
588,
1396,
2932,
78,
27768,
18,
10304,
8863,
5411,
4389,
279,
2227,
31,
5411,
514,
5972,
10200,
273,
3701,
71,
14432,
13491,
1296,
273,
20994,
1621,
5097,
87,
12,
3076,
1769,
13491,
309,
261,
10304,
480,
446,
13,
288,
7734,
309,
16051,
10304,
18,
5839,
1190,
2932,
674,
6,
3719,
288,
10792,
5972,
10200,
273,
2206,
71,
14432,
7734,
289,
7734,
279,
2227,
273,
2509,
18,
588,
5576,
7675,
4177,
12,
2704,
514,
8526,
288,
5972,
16,
5972,
10200,
16,
1296,
15549,
5411,
289,
469,
288,
7734,
327,
374,
31,
5411,
289,
5411,
727,
10633,
2949,
273,
394,
10633,
12,
2704,
15322,
12,
69,
2227,
18,
588,
4348,
1435,
10019,
5411,
368,
478,
1826,
715,
316,
4644,
8714,
9380,
16,
1496,
12273,
353,
13496,
358,
9276,
2398,
368,
2856,
326,
1142,
980,
316,
279,
1207,
16926,
598,
279,
9472,
578,
486,
18,
5411,
509,
276,
31,
5411,
1250,
4422,
15160,
273,
629,
31,
5411,
1323,
14015,
71,
273,
2949,
18,
896,
10756,
480,
300,
21,
13,
288,
2398,
202,
430,
261,
71,
422,
2337,
86,
6134,
288,
2398,
202,
202,
3353,
15160,
273,
638,
31,
2398,
202,
97,
469,
288,
2398,
202,
202,
430,
261,
3353,
15160,
13,
288,
2398,
1082,
202,
430,
261,
71,
480,
2337,
82,
6134,
288,
2398,
9506,
202,
2844,
18,
6923,
2668,
64,
86,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
509,
1086,
382,
13220,
12,
7937,
10340,
3099,
16,
514,
1296,
16,
6674,
876,
13,
288,
3639,
775,
288,
5411,
514,
5972,
273,
2332,
18,
588,
1396,
2932,
78,
27768,
18,
10304,
8863,
5411,
4389,
279,
2227,
31,
5411,
514,
5972,
10200,
273,
3701,
71,
14432,
13491,
1296,
273,
20994,
1621,
5097,
87,
12,
3076,
1769,
13491,
309,
261,
10304,
480,
446,
13,
288,
7734,
309,
16051,
10304,
18,
5839,
1190,
2932,
674,
6,
3719,
288,
10792,
5972,
10200,
273,
2206,
71,
14432,
7734,
289,
7734,
279,
2227,
273,
2509,
18,
588,
5576,
7675,
4177,
12,
2704,
514,
8526,
288,
5972,
16,
5972,
10200,
16,
1296,
15549,
5411,
289,
469,
288,
7734,
327,
374,
31,
5411,
2
] |
public static IRubyObject s_kill(ThreadClass rubyThread) {
|
public static IRubyObject s_kill(IRubyObject receiver, ThreadClass rubyThread) {
|
public static IRubyObject s_kill(ThreadClass rubyThread) { return rubyThread.kill(); }
|
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/21ee4566272339487c6a2a51963250c4edafd9d8/ThreadClass.java/clean/src/org/jruby/ThreadClass.java
|
[
1,
8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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
272,
67,
16418,
12,
7937,
10340,
921,
5971,
16,
4884,
797,
22155,
3830,
13,
288,
377,
202,
2463,
22155,
3830,
18,
16418,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return input.readChar();
|
return input.readUnsignedByte();
|
public int read() throws IOException { return input.readChar(); }
|
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/e5bbece4f7bb6e057b0dbd1399cf47c6a0f44d4d/DataInputBridgeStream.java/clean/src/org/jruby/util/DataInputBridgeStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
855,
1435,
1216,
1860,
288,
3639,
327,
810,
18,
896,
13290,
3216,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
855,
1435,
1216,
1860,
288,
3639,
327,
810,
18,
896,
13290,
3216,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
DatabaseService.Table_users user = createDummyUser( 3 ); sqlServer.sproc_AddNewuser( user ); int sqlServerRowCount = sqlServer.sproc_phoneNbrAdd( 3, "1234567", 0 ); assertEquals( 1, sqlServerRowCount ); mySql.sproc_AddNewuser( user ); int mySqlRowCount = mySql.sproc_phoneNbrAdd( 3, "1234567", 0 ); assertEquals( 1, mySqlRowCount );
|
DatabaseService.Table_users user = static_createDummyUser( 3 ); static_test_sproc_phoneNbrAdd( sqlServer, user ); static_test_sproc_phoneNbrAdd( mySql, user );
|
public void test_sproc_phoneNbrAdd() { DatabaseService.Table_users user = createDummyUser( 3 ); sqlServer.sproc_AddNewuser( user ); int sqlServerRowCount = sqlServer.sproc_phoneNbrAdd( 3, "1234567", 0 ); assertEquals( 1, sqlServerRowCount ); mySql.sproc_AddNewuser( user ); int mySqlRowCount = mySql.sproc_phoneNbrAdd( 3, "1234567", 0 ); assertEquals( 1, mySqlRowCount ); if( testMimer ) { mimer.sproc_AddNewuser( user ); int mimerRowCount = mimer.sproc_phoneNbrAdd( 3, "1234567", 0 ); assertEquals( 1, mimerRowCount ); } }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/d8504647692d437478de882ab2685373a08cf7f4/TestDatabaseService.java/clean/server/src/imcode/server/db/TestDatabaseService.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
67,
87,
9381,
67,
10540,
50,
2848,
986,
1435,
288,
3639,
5130,
1179,
18,
1388,
67,
5577,
729,
273,
752,
20094,
1299,
12,
890,
11272,
3639,
1847,
2081,
18,
87,
9381,
67,
986,
1908,
1355,
12,
729,
11272,
3639,
509,
1847,
2081,
26359,
273,
1847,
2081,
18,
87,
9381,
67,
10540,
50,
2848,
986,
12,
890,
16,
315,
28462,
17339,
3113,
374,
11272,
3639,
1815,
8867,
12,
404,
16,
1847,
2081,
26359,
11272,
3639,
3399,
5101,
18,
87,
9381,
67,
986,
1908,
1355,
12,
729,
11272,
3639,
509,
3399,
5101,
26359,
273,
3399,
5101,
18,
87,
9381,
67,
10540,
50,
2848,
986,
12,
890,
16,
315,
28462,
17339,
3113,
374,
11272,
3639,
1815,
8867,
12,
404,
16,
3399,
5101,
26359,
11272,
3639,
309,
12,
1842,
49,
4417,
262,
288,
5411,
312,
4417,
18,
87,
9381,
67,
986,
1908,
1355,
12,
729,
11272,
5411,
509,
312,
4417,
26359,
273,
312,
4417,
18,
87,
9381,
67,
10540,
50,
2848,
986,
12,
890,
16,
315,
28462,
17339,
3113,
374,
11272,
5411,
1815,
8867,
12,
404,
16,
312,
4417,
26359,
11272,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
67,
87,
9381,
67,
10540,
50,
2848,
986,
1435,
288,
3639,
5130,
1179,
18,
1388,
67,
5577,
729,
273,
752,
20094,
1299,
12,
890,
11272,
3639,
1847,
2081,
18,
87,
9381,
67,
986,
1908,
1355,
12,
729,
11272,
3639,
509,
1847,
2081,
26359,
273,
1847,
2081,
18,
87,
9381,
67,
10540,
50,
2848,
986,
12,
890,
16,
315,
28462,
17339,
3113,
374,
11272,
3639,
1815,
8867,
12,
404,
16,
1847,
2081,
26359,
11272,
3639,
3399,
5101,
18,
87,
9381,
67,
986,
1908,
1355,
12,
729,
11272,
3639,
509,
3399,
5101,
26359,
273,
3399,
5101,
18,
87,
9381,
67,
10540,
50,
2848,
986,
12,
890,
16,
315,
28462,
17339,
3113,
374,
11272,
3639,
1815,
8867,
12,
2
] |
public abstract WebResponse getResponse(final WebRequestSettings webRequestSettings) throws IOException;
|
public abstract WebResponse getResponse(final WebRequestSettings webRequestSettings) throws IOException;
|
public abstract WebResponse getResponse(final WebRequestSettings webRequestSettings) throws IOException;
|
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/dfbb2a25e4bf99938872ff9607c5b4f0c3f5cf74/WebConnection.java/clean/htmlunit/src/java/com/gargoylesoftware/htmlunit/WebConnection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8770,
2999,
1064,
6476,
12,
6385,
2999,
691,
2628,
3311,
691,
2628,
13,
3639,
1216,
1860,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
377,
1071,
8770,
2999,
1064,
6476,
12,
6385,
2999,
691,
2628,
3311,
691,
2628,
13,
3639,
1216,
1860,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ICUResourceWriter.ResourceString str = new ICUResourceWriter.ResourceString(); str.name = name; str.val = LDMLUtilities.getAttributeValue(node,LDMLConstants.TYPE); res = str;
|
res = getDefaultResource(node, xpath, name);;
|
private ICUResourceWriter.Resource parseMonthsAndDays(Node root, StringBuffer xpath){ ICUResourceWriter.ResourceTable table = new ICUResourceWriter.ResourceTable(); ICUResourceWriter.Resource current = null; table.name = (String)keyNameMap.get(root.getNodeName()); int savedLength = xpath.length(); getXPath(root, xpath); int oldLength = xpath.length(); //if the whole node is marked draft then //dont write anything if(isNodeNotConvertible(root, xpath)){ xpath.setLength(savedLength); return null; } for(Node node=root.getFirstChild(); node!=null; node=node.getNextSibling()){ if(node.getNodeType()!=Node.ELEMENT_NODE){ continue; } String name = node.getNodeName(); ICUResourceWriter.Resource res = null; if(name.equals(LDMLConstants.ALIAS)){ res = parseAliasResource(node, xpath); res.name=table.name; return res; }else if(name.equals(LDMLConstants.DEFAULT)){ ICUResourceWriter.ResourceString str = new ICUResourceWriter.ResourceString(); str.name = name; str.val = LDMLUtilities.getAttributeValue(node,LDMLConstants.TYPE); res = str; }else if(name.equals(LDMLConstants.MONTH_CONTEXT) || name.equals(LDMLConstants.DAY_CONTEXT) || name.equals(LDMLConstants.QUARTER_CONTEXT)){ res = parseContext(node, xpath); }else{ System.err.println("Encountered unknown <"+root.getNodeName()+"> subelement: "+name); System.exit(-1); } if(res!=null){ if(current == null){ current = table.first = res; }else{ current.next = res; current = current.next; } res = null; } xpath.delete(oldLength, xpath.length()); } xpath.delete(savedLength, xpath.length()); if(table.first!=null){ return table; } return null; }
|
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/5212cd4cd2a2bf3a65de9c3691a748c4202cf249/LDML2ICUConverter.java/buggy/tools/java/org/unicode/cldr/icu/LDML2ICUConverter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
28009,
1420,
2289,
18,
1420,
1109,
19749,
1876,
9384,
12,
907,
1365,
16,
6674,
6748,
15329,
3639,
28009,
1420,
2289,
18,
1420,
1388,
1014,
273,
394,
28009,
1420,
2289,
18,
1420,
1388,
5621,
3639,
28009,
1420,
2289,
18,
1420,
783,
273,
446,
31,
3639,
1014,
18,
529,
273,
261,
780,
13,
856,
461,
863,
18,
588,
12,
3085,
18,
588,
18948,
10663,
3639,
509,
5198,
1782,
273,
6748,
18,
2469,
5621,
3639,
6538,
743,
12,
3085,
16,
6748,
1769,
3639,
509,
1592,
1782,
273,
6748,
18,
2469,
5621,
7734,
368,
430,
326,
7339,
756,
353,
9350,
12246,
1508,
3639,
368,
72,
1580,
1045,
6967,
3639,
309,
12,
291,
907,
1248,
2723,
1523,
12,
3085,
16,
6748,
3719,
95,
5411,
6748,
18,
542,
1782,
12,
14077,
1782,
1769,
5411,
327,
446,
31,
3639,
289,
3639,
364,
12,
907,
756,
33,
3085,
18,
588,
3759,
1763,
5621,
756,
5,
33,
2011,
31,
756,
33,
2159,
18,
588,
2134,
10291,
10756,
95,
5411,
309,
12,
2159,
18,
588,
15101,
1435,
5,
33,
907,
18,
10976,
67,
8744,
15329,
7734,
1324,
31,
5411,
289,
5411,
514,
508,
273,
756,
18,
588,
18948,
5621,
5411,
28009,
1420,
2289,
18,
1420,
400,
273,
446,
31,
5411,
309,
12,
529,
18,
14963,
12,
12069,
1495,
2918,
18,
23784,
3719,
95,
7734,
400,
273,
1109,
2936,
1420,
12,
2159,
16,
6748,
1769,
7734,
400,
18,
529,
33,
2121,
18,
529,
31,
7734,
327,
400,
31,
5411,
289,
12107,
309,
12,
529,
18,
14963,
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,
28009,
1420,
2289,
18,
1420,
1109,
19749,
1876,
9384,
12,
907,
1365,
16,
6674,
6748,
15329,
3639,
28009,
1420,
2289,
18,
1420,
1388,
1014,
273,
394,
28009,
1420,
2289,
18,
1420,
1388,
5621,
3639,
28009,
1420,
2289,
18,
1420,
783,
273,
446,
31,
3639,
1014,
18,
529,
273,
261,
780,
13,
856,
461,
863,
18,
588,
12,
3085,
18,
588,
18948,
10663,
3639,
509,
5198,
1782,
273,
6748,
18,
2469,
5621,
3639,
6538,
743,
12,
3085,
16,
6748,
1769,
3639,
509,
1592,
1782,
273,
6748,
18,
2469,
5621,
7734,
368,
430,
326,
7339,
756,
353,
9350,
12246,
1508,
3639,
368,
72,
1580,
1045,
6967,
3639,
309,
12,
291,
907,
1248,
2723,
1523,
12,
3085,
16,
6748,
3719,
2
] |
Assert.assert(nickname!=null);
|
Assert._assert(nickname!=null);
|
findCertsByNickname(String nickname) throws TokenException { Assert.assert(nickname!=null); return findCertsByNicknameNative(nickname); }
|
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/6ddc297e30f1af6609057abe4502eaa3ba3bb664/CryptoManager.java/clean/security/jss/org/mozilla/jss/CryptoManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1104,
16273,
858,
29756,
529,
12,
780,
19570,
13,
3639,
1216,
3155,
503,
202,
95,
3639,
5452,
18,
11231,
12,
17091,
529,
5,
33,
2011,
1769,
202,
202,
2463,
1104,
16273,
858,
29756,
529,
9220,
12,
17091,
529,
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,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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if(grailsProp.isManyToOne()) column.setNullable(false);
|
private static void bindSimpleValue(GrailsDomainClassProperty grailsProp, SimpleValue simpleValue,Mappings mappings) { // set type simpleValue.setTypeName(grailsProp.getType().getName()); Table table = simpleValue.getTable(); Column column = new Column(); if(grailsProp.isManyToOne()) column.setNullable(false); column.setValue(simpleValue); bindColumn(grailsProp, column, table); if(table != null) table.addColumn(column); simpleValue.addColumn(column); }
|
50670 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50670/ddf2ff7d53e297bec6420ddd2549407dccb13662/GrailsDomainBinder.java/clean/src/persistence/org/codehaus/groovy/grails/orm/hibernate/cfg/GrailsDomainBinder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1993,
5784,
620,
12,
14571,
14573,
3748,
797,
1396,
3087,
14573,
4658,
16,
4477,
620,
4143,
620,
16,
7742,
7990,
13,
288,
202,
202,
759,
444,
618,
202,
202,
9647,
620,
18,
542,
7947,
12,
2752,
14573,
4658,
18,
588,
559,
7675,
17994,
10663,
202,
202,
1388,
1014,
273,
4143,
620,
18,
588,
1388,
5621,
202,
202,
1494,
1057,
273,
394,
4753,
5621,
202,
202,
430,
12,
2752,
14573,
4658,
18,
291,
5594,
16027,
10756,
1082,
202,
2827,
18,
542,
13349,
12,
5743,
1769,
9506,
202,
2827,
18,
542,
620,
12,
9647,
620,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1993,
5784,
620,
12,
14571,
14573,
3748,
797,
1396,
3087,
14573,
4658,
16,
4477,
620,
4143,
620,
16,
7742,
7990,
13,
288,
202,
202,
759,
444,
618,
202,
202,
9647,
620,
18,
542,
7947,
12,
2752,
14573,
4658,
18,
588,
559,
7675,
17994,
10663,
202,
202,
1388,
1014,
273,
4143,
620,
18,
588,
1388,
5621,
202,
202,
1494,
1057,
273,
394,
4753,
5621,
202,
202,
430,
12,
2752,
14573,
4658,
18,
291,
5594,
16027,
10756,
1082,
202,
2827,
18,
542,
13349,
12,
5743,
1769,
9506,
202,
2827,
18,
542,
620,
12,
9647,
620,
1769,
202,
202,
4376,
1494,
12,
2752,
14573,
4658,
16,
1057,
16,
1014,
1769,
6862,
25083,
202,
430,
12,
2121,
480,
2
] |
|
protected String buildNavFold(CmsObject cms, CmsXmlTemplateFile xmlDataBlock, Object userObject, Vector resources, String requestedUri, String currentFolder, String servletPath,int level) throws CmsException { String cmsfolder=(String)(((Hashtable)userObject).get("cmsfolder")); StringBuffer result = new StringBuffer(); int size = resources.size(); String navLink[] = new String[size]; String navText[] = new String[size]; float navPos[] = new float[size]; int max=extractNav(cms,resources,navLink,navText,navPos); if (max>0) { result.append(xmlDataBlock.getProcessedDataValue("navTreeStart", this, userObject)); for(int i=0; i<max; i++) { xmlDataBlock.setData("navText", navText[i]); xmlDataBlock.setData("count", new Integer(i+1).toString()); xmlDataBlock.setData("level", new Integer(extractLevel(cms,navLink[i])-(level+1)).toString()); // this if condition is necessary because of url parameter, // if there is no filename then the parameters are ignored, so I // can't use e.g. ?cmsframe=body. if (navLink[i].endsWith("/")) { String cmsfold="?cmsfolder="+ Encoder.escape(navLink[i]); String navIndex=cms.readProperty(navLink[i],C_PROPERTY_NAVINDEX); if (navIndex==null) { navIndex=C_NAVINDEX; } try { cms.readFile(navLink[i] + navIndex); xmlDataBlock.setData("navLink", servletPath + navLink[i] + navIndex + cmsfold); } catch (CmsException e) { xmlDataBlock.setData("navLink", servletPath + requestedUri ); } } else { try { cms.readFile(navLink[i]); xmlDataBlock.setData("navLink", servletPath + navLink[i] ); } catch (CmsException e) { xmlDataBlock.setData("navLink", servletPath + requestedUri ); } } // Check if nav is current nav if (navLink[i].equals(currentFolder) || navLink[i].equals(requestedUri)) { result.append(xmlDataBlock.getProcessedDataValue("navCurrent", this, userObject)); } else { result.append(xmlDataBlock.getProcessedDataValue("navEntry", this, userObject)); } // if the folder was clicked if (cmsfolder!=null && (!cmsfolder.equals("")) && (cmsfolder.indexOf(navLink[i])!=-1)) { Vector all=cms.getSubFolders(navLink[i]); Vector files=cms.getFilesInFolder(navLink[i]); all.ensureCapacity(all.size() + files.size()); Enumeration e = files.elements(); while (e.hasMoreElements()) { all.addElement(e.nextElement()); } result.append(buildNavFold(cms,xmlDataBlock,userObject,all,requestedUri,currentFolder,servletPath,level)); } } result.append(xmlDataBlock.getProcessedDataValue("navTreeEnd", this, userObject)); } return result.toString(); }
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/b1b6cbfe1af9c3145fd4ee224ece563876f41160/CmsXmlNav.java/buggy/src/com/opencms/defaults/CmsXmlNav.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
1361,
12599,
15592,
12,
4747,
921,
6166,
16,
16084,
2283,
812,
2025,
751,
1768,
16,
1033,
729,
921,
16,
5589,
2703,
16,
514,
3764,
3006,
16,
514,
783,
3899,
16,
514,
8100,
743,
16,
474,
1801,
13,
202,
202,
15069,
11228,
288,
9506,
202,
780,
6166,
5609,
28657,
780,
13,
12443,
12,
5582,
14544,
13,
1355,
921,
2934,
588,
2932,
6851,
5609,
7923,
1769,
202,
202,
780,
1892,
563,
273,
394,
6674,
5621,
9506,
202,
474,
963,
273,
2703,
18,
1467,
5621,
9506,
202,
780,
8775,
2098,
8526,
273,
394,
514,
63,
1467,
15533,
202,
202,
780,
8775,
1528,
8526,
273,
394,
514,
63,
1467,
15533,
202,
202,
5659,
8775,
1616,
8526,
273,
394,
1431,
63,
1467,
15533,
9506,
202,
474,
943,
33,
8004,
12599,
12,
6851,
16,
4683,
16,
11589,
2098,
16,
11589,
1528,
16,
11589,
1616,
1769,
202,
202,
430,
261,
1896,
34,
20,
13,
288,
1082,
202,
2088,
18,
6923,
12,
2902,
751,
1768,
18,
588,
13533,
28013,
2932,
11589,
2471,
1685,
3113,
333,
16,
729,
921,
10019,
1082,
202,
1884,
12,
474,
277,
33,
20,
31,
277,
32,
1896,
31,
277,
27245,
288,
9506,
202,
2902,
751,
1768,
18,
542,
751,
2932,
11589,
1528,
3113,
8775,
1528,
63,
77,
19226,
9506,
202,
2902,
751,
1768,
18,
542,
751,
2932,
1883,
3113,
394,
2144,
12,
77,
15,
21,
2934,
10492,
10663,
9506,
202,
2902,
751,
1768,
18,
542,
751,
2932,
2815,
3113,
394,
2144,
12,
8004,
2355,
12,
6851,
16,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
1361,
12599,
15592,
12,
4747,
921,
6166,
16,
16084,
2283,
812,
2025,
751,
1768,
16,
1033,
729,
921,
16,
5589,
2703,
16,
514,
3764,
3006,
16,
514,
783,
3899,
16,
514,
8100,
743,
16,
474,
1801,
13,
202,
202,
15069,
11228,
288,
9506,
202,
780,
6166,
5609,
28657,
780,
13,
12443,
12,
5582,
14544,
13,
1355,
921,
2934,
588,
2932,
6851,
5609,
7923,
1769,
202,
202,
780,
1892,
563,
273,
394,
6674,
5621,
9506,
202,
474,
963,
273,
2703,
18,
1467,
5621,
9506,
202,
780,
8775,
2098,
8526,
273,
394,
514,
63,
1467,
15533,
202,
202,
780,
8775,
1528,
8526,
273,
394,
514,
63,
1467,
15533,
202,
202,
5659,
8775,
1616,
8526,
273,
394,
1431,
2
] |
||
GridData toServerButtonData = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
|
GridData toServerButtonData = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
|
public void createControl(Composite parent) { // whether the priority exists or not boolean priExist = false; String url = null; // get the model for the new bug AbstractBugWizard wizard = (AbstractBugWizard) getWizard(); NewBugModel nbm = wizard.model; // Attributes Composite- this holds all the combo fields and text // fields Composite attributesComposite = new Composite(parent, SWT.NONE); GridLayout attributesLayout = new GridLayout(); attributesLayout.numColumns = 4; attributesLayout.horizontalSpacing = 14; attributesLayout.verticalSpacing = 6; attributesComposite.setLayout(attributesLayout); GridData attributesData = new GridData(GridData.FILL_BOTH); attributesData.horizontalSpan = 1; attributesData.grabExcessVerticalSpace = false; attributesComposite.setLayoutData(attributesData); // End Attributes Composite GridLayout attributesTitleLayout = new GridLayout(); attributesTitleLayout.horizontalSpacing = 0; attributesTitleLayout.marginWidth = 0; GridData attributesTitleData = new GridData( GridData.HORIZONTAL_ALIGN_FILL); attributesTitleData.horizontalSpan = 4; attributesTitleData.grabExcessVerticalSpace = false; // Add the product to the composite newLayout(attributesComposite, 1, "Product", PROPERTY); newLayout(attributesComposite, 1, nbm.getProduct(), VALUE); // Populate Attributes for (Iterator<Attribute> it = nbm.getAttributes().iterator(); it.hasNext();) { Attribute attribute = it.next(); String key = attribute.getParameterName(); String name = attribute.getName(); String value = checkText(attribute.getValue()); Map<String, String> values = attribute.getOptionValues(); // if it is a hidden field, don't try to display it if (attribute.isHidden()) continue; if (key == null) key = ""; if (values == null) values = new HashMap<String, String>(); GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL); data.horizontalSpan = 1; data.horizontalIndent = HORZ_INDENT; // create and populate the combo fields for the attributes if (key.equals("op_sys")) { newLayout(attributesComposite, 1, name, PROPERTY); oSCombo = new Combo(attributesComposite, SWT.NO_BACKGROUND | SWT.MULTI | SWT.V_SCROLL | SWT.READ_ONLY); oSCombo.setLayoutData(data); Set<String> s = values.keySet(); String[] a = s.toArray(new String[s.size()]); for (int i = 0; i < a.length; i++) { oSCombo.add(a[i]); } int index; if ((index = oSCombo.indexOf(value)) == -1) index = 0; oSCombo.select(index); oSCombo.addListener(SWT.Modify, this); } else if (key.equals("version")) { newLayout(attributesComposite, 1, name, PROPERTY); versionCombo = new Combo(attributesComposite, SWT.NO_BACKGROUND | SWT.MULTI | SWT.V_SCROLL | SWT.READ_ONLY); versionCombo.setLayoutData(data); Set<String> s = values.keySet(); String[] a = s.toArray(new String[s.size()]); for (int i = 0; i < a.length; i++) { versionCombo.add(a[i]); } int index; if ((index = versionCombo.indexOf(value)) == -1) index = 0; versionCombo.select(index); versionCombo.addListener(SWT.Modify, this); } else if (key.equals("bug_severity")) { newLayout(attributesComposite, 1, name, PROPERTY); severityCombo = new Combo(attributesComposite, SWT.NO_BACKGROUND | SWT.MULTI | SWT.V_SCROLL | SWT.READ_ONLY); severityCombo.setLayoutData(data); Set<String> s = values.keySet(); String[] a = s.toArray(new String[s.size()]); for (int i = 0; i < a.length; i++) { severityCombo.add(a[i]); } int index; if ((index = severityCombo.indexOf(value)) == -1) index = 0; severityCombo.select(index); severityCombo.addListener(SWT.Modify, this); } else if (key.equals("rep_platform")) { newLayout(attributesComposite, 1, name, PROPERTY); platformCombo = new Combo(attributesComposite, SWT.NO_BACKGROUND | SWT.MULTI | SWT.V_SCROLL | SWT.READ_ONLY); platformCombo.setLayoutData(data); Set<String> s = values.keySet(); String[] a = s.toArray(new String[s.size()]); for (int i = 0; i < a.length; i++) { platformCombo.add(a[i]); } int index; if ((index = platformCombo.indexOf(value)) == -1) index = 0; platformCombo.select(index); platformCombo.addListener(SWT.Modify, this); } else if (key.equals("component")) { newLayout(attributesComposite, 1, name, PROPERTY); componentCombo = new Combo(attributesComposite, SWT.NO_BACKGROUND | SWT.MULTI | SWT.V_SCROLL | SWT.READ_ONLY); componentCombo.setLayoutData(data); Set<String> s = values.keySet(); String[] a = s.toArray(new String[s.size()]); for (int i = 0; i < a.length; i++) { componentCombo.add(a[i]); } int index; if ((index = componentCombo.indexOf(value)) == -1) index = 0; componentCombo.select(index); componentCombo.addListener(SWT.Modify, this); } else if (key.equals("priority")) { newLayout(attributesComposite, 1, name, PROPERTY); priorityCombo = new Combo(attributesComposite, SWT.NO_BACKGROUND | SWT.MULTI | SWT.V_SCROLL | SWT.READ_ONLY); priorityCombo.setLayoutData(data); Set<String> s = values.keySet(); String[] a = s.toArray(new String[s.size()]); for (int i = 0; i < a.length; i++) { priorityCombo.add(a[i]); } int index; if ((index = priorityCombo.indexOf(value)) == -1) index = 0; priorityCombo.select(index); priorityCombo.addListener(SWT.Modify, this); priExist = true; } else if (key.equals("bug_file_loc")) { url = value; }else { // do nothing if it isn't a standard value to change } } if (priExist) { newLayout(attributesComposite, 1, "", PROPERTY); newLayout(attributesComposite, 1, "", PROPERTY); } GridData summaryTextData; if (url != null) { // add the assigned to text field newLayout(attributesComposite, 1, "URL", PROPERTY); urlText = new Text(attributesComposite, SWT.BORDER | SWT.SINGLE | SWT.WRAP); summaryTextData = new GridData(GridData.HORIZONTAL_ALIGN_FILL); summaryTextData.horizontalSpan = 3; summaryTextData.widthHint = 200; urlText.setLayoutData(summaryTextData); urlText.setText(url); urlText.addListener(SWT.FocusOut, this); } newLayout(attributesComposite, 1, "Assigned To", PROPERTY); Label l = new Label(attributesComposite, SWT.NONE); l.setText("NOTE: If e-mail incorrect, submit will fail silently"); summaryTextData = new GridData(GridData.HORIZONTAL_ALIGN_FILL); summaryTextData.horizontalSpan = 2; l.setLayoutData(summaryTextData); assignedToText = new Text(attributesComposite, SWT.BORDER | SWT.SINGLE | SWT.WRAP); summaryTextData = new GridData(GridData.HORIZONTAL_ALIGN_FILL); summaryTextData.horizontalSpan = 1; summaryTextData.widthHint = 200; assignedToText.setLayoutData(summaryTextData); assignedToText.setText(""); // add the summary text field newLayout(attributesComposite, 1, "Summary", PROPERTY); summaryText = new Text(attributesComposite, SWT.BORDER | SWT.SINGLE | SWT.WRAP); summaryTextData = new GridData(GridData.HORIZONTAL_ALIGN_FILL); summaryTextData.horizontalSpan = 3; summaryTextData.widthHint = 200; summaryText.setLayoutData(summaryTextData); summaryText.setText(nbm.getSummary()); summaryText.addListener(SWT.Modify, this); // Description Text Composite descriptionComposite = new Composite(attributesComposite, SWT.NONE); descriptionComposite.setLayout(attributesTitleLayout); GridData descriptionData = new GridData(GridData.HORIZONTAL_ALIGN_FILL); descriptionData.horizontalSpan = 4; descriptionData.grabExcessVerticalSpace = false; descriptionComposite.setLayoutData(descriptionData); newLayout(descriptionComposite, 4, "Description:", HEADER); // add the description text field descriptionText = new Text(attributesComposite, SWT.BORDER | SWT.MULTI | SWT.V_SCROLL | SWT.WRAP); descriptionText.setFont(AbstractBugEditor.COMMENT_FONT); GridData descriptionTextData = new GridData( GridData.HORIZONTAL_ALIGN_FILL); descriptionTextData.horizontalSpan = 4; descriptionTextData.widthHint = AbstractBugEditor.DESCRIPTION_WIDTH; descriptionTextData.heightHint = AbstractBugEditor.DESCRIPTION_HEIGHT; descriptionText.setLayoutData(descriptionTextData); descriptionText.addListener(SWT.Modify, this); serverButton = new Button(attributesComposite, SWT.RADIO); serverButton.setText("Submit bug report to the server."); GridData toServerButtonData = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING); toServerButtonData.horizontalSpan = 4; serverButton.setLayoutData(toServerButtonData); serverButton.setSelection(true); offlineButton = new Button(attributesComposite, SWT.RADIO); offlineButton.setText("Save bug report offline."); GridData offlineButtonData = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING); offlineButtonData.horizontalSpan = 4; offlineButton.setLayoutData(offlineButtonData); offlineButton.setSelection(false); if(wizard.fromDialog) offlineButton.setEnabled(false); setControl(attributesComposite); return; }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/c7e8842aaf630b312c422f4e2f0ef3bd5ed6453d/AbstractWizardDataPage.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/wizard/AbstractWizardDataPage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
3367,
12,
9400,
982,
13,
288,
202,
202,
759,
2856,
326,
4394,
1704,
578,
486,
202,
202,
6494,
14705,
4786,
273,
629,
31,
202,
202,
780,
880,
273,
446,
31,
202,
202,
759,
336,
326,
938,
364,
326,
394,
7934,
202,
202,
7469,
19865,
27130,
24204,
273,
261,
7469,
19865,
27130,
13,
13876,
13412,
5621,
202,
202,
1908,
19865,
1488,
4264,
81,
273,
24204,
18,
2284,
31,
202,
202,
759,
9055,
14728,
17,
333,
14798,
777,
326,
16778,
1466,
471,
977,
202,
202,
759,
1466,
202,
202,
9400,
1677,
9400,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
202,
202,
6313,
3744,
1677,
3744,
273,
394,
7145,
3744,
5621,
202,
202,
4350,
3744,
18,
2107,
3380,
273,
1059,
31,
202,
202,
4350,
3744,
18,
18396,
18006,
273,
5045,
31,
202,
202,
4350,
3744,
18,
17824,
18006,
273,
1666,
31,
202,
202,
4350,
9400,
18,
542,
3744,
12,
4350,
3744,
1769,
202,
202,
6313,
751,
1677,
751,
273,
394,
7145,
751,
12,
6313,
751,
18,
29818,
67,
38,
18307,
1769,
202,
202,
4350,
751,
18,
18396,
6952,
273,
404,
31,
202,
202,
4350,
751,
18,
2752,
70,
424,
614,
15704,
3819,
273,
629,
31,
202,
202,
4350,
9400,
18,
542,
3744,
751,
12,
4350,
751,
1769,
202,
202,
759,
4403,
9055,
14728,
202,
202,
6313,
3744,
1677,
4247,
3744,
273,
394,
7145,
3744,
5621,
202,
202,
4350,
4247,
3744,
18,
18396,
18006,
273,
374,
31,
202,
202,
4350,
4247,
3744,
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,
752,
3367,
12,
9400,
982,
13,
288,
202,
202,
759,
2856,
326,
4394,
1704,
578,
486,
202,
202,
6494,
14705,
4786,
273,
629,
31,
202,
202,
780,
880,
273,
446,
31,
202,
202,
759,
336,
326,
938,
364,
326,
394,
7934,
202,
202,
7469,
19865,
27130,
24204,
273,
261,
7469,
19865,
27130,
13,
13876,
13412,
5621,
202,
202,
1908,
19865,
1488,
4264,
81,
273,
24204,
18,
2284,
31,
202,
202,
759,
9055,
14728,
17,
333,
14798,
777,
326,
16778,
1466,
471,
977,
202,
202,
759,
1466,
202,
202,
9400,
1677,
9400,
273,
394,
14728,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
202,
202,
6313,
3744,
1677,
3744,
273,
394,
7145,
3744,
5621,
202,
202,
2
] |
public Insets getBorderInsets(Component c, Insets s)
|
public Insets getBorderInsets(Component c, Insets insets) { Insets borderInsets; if (insets == null) insets = new Insets (0,0,0,0); else insets.left = insets.right = insets.top = insets.bottom = 0; /* If there is an outside border, add it to insets. */ if (outsideBorder != null)
|
public Insets getBorderInsets(Component c, Insets s) { if (s == null) s = new Insets(0,0,0,0); s.left = s.right = s.top = s.bottom = 5; return s; }
|
1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/d092ccafae9945813bbf1be1db3d5e5bd006a90b/CompoundBorder.java/clean/libjava/javax/swing/border/CompoundBorder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
22300,
2882,
1019,
382,
4424,
12,
1841,
225,
276,
16,
6862,
225,
22300,
272,
13,
565,
288,
202,
430,
261,
87,
422,
446,
13,
202,
565,
272,
273,
394,
22300,
12,
20,
16,
20,
16,
20,
16,
20,
1769,
202,
202,
87,
18,
4482,
273,
272,
18,
4083,
273,
272,
18,
3669,
273,
272,
18,
9176,
273,
1381,
31,
202,
202,
2463,
272,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
22300,
2882,
1019,
382,
4424,
12,
1841,
225,
276,
16,
6862,
225,
22300,
272,
13,
565,
288,
202,
430,
261,
87,
422,
446,
13,
202,
565,
272,
273,
394,
22300,
12,
20,
16,
20,
16,
20,
16,
20,
1769,
202,
202,
87,
18,
4482,
273,
272,
18,
4083,
273,
272,
18,
3669,
273,
272,
18,
9176,
273,
1381,
31,
202,
202,
2463,
272,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
System.out.println("saving new flags for " + uid);
|
public void addFlag(long uid, long newUidValidity, Flags flag) throws MessagingException { if (newUidValidity != uidValidity) { throw new StaleCacheException(uidValidity, newUidValidity); } Flags f = getFlags(uid, newUidValidity); if (f != null) { f.add(flag); } else { f = flag; } if (getFolderInfo().isAvailable()) { MimeMessage m = getFolderInfo().getRealMessageById(uid); if (m != null) m.setFlags(flag, true); } else { writeToChangeLog(uid, flag, ADDED); } saveFlags(uid, uidValidity, f); }
|
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/5331a3dcfcd1ce0412ff5fe42ddbc6347174f46a/SimpleFileCache.java/buggy/net/suberic/pooka/cache/SimpleFileCache.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
225,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
225,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
225,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
1071,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
918,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
527,
4678,
12,
5748,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
4555,
16,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
1525,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
394,
11994,
19678,
16,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
10104,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
2982,
13,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
1216,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
23794,
503,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
288,
202,
430,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
225,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
225,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
225,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
1071,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
918,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
527,
4678,
12,
5748,
2332,
18,
659,
18,
8222,
2932,
87,
5339,
394,
2943,
364,
315,
397,
4555,
1769,
4555,
16,
2332,
18,
2
] |
|
if (errorStatus != null) {
|
if (errorStatus[0] != null && !errorStatus[0].isOK()) {
|
public void run() { try { WorkspaceModifyOperation op = new WorkspaceModifyOperation() { public void execute(IProgressMonitor monitor) { WorkspaceAction.this.execute(monitor); } }; new ProgressMonitorJobsDialog(shell).run(true, true, op); } catch (InterruptedException e) { return; } catch (InvocationTargetException e) { // we catch CoreException in execute(), but unexpected runtime exceptions or errors may still occur String msg = IDEWorkbenchMessages.format( "WorkspaceAction.logTitle", new Object[] {//$NON-NLS-1$ getClass().getName(), e.getTargetException() }); IDEWorkbenchPlugin.log(msg, StatusUtil.newStatus(IStatus.ERROR, msg, e.getTargetException())); displayError(e.getTargetException().getMessage()); } // If errors occurred, open an Error dialog & build a multi status error for it if (errorStatus != null) { ErrorDialog.openError(shell, getProblemsTitle(), null, // no special message errorStatus); } errorStatus = null; }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/ae2958210a6a16f7ababc95edab15604121e9bce/WorkspaceAction.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/WorkspaceAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
775,
288,
5411,
14396,
11047,
2988,
1061,
273,
394,
14396,
11047,
2988,
1435,
288,
7734,
1071,
918,
1836,
12,
45,
5491,
7187,
6438,
13,
288,
10792,
14396,
1803,
18,
2211,
18,
8837,
12,
10259,
1769,
7734,
289,
5411,
289,
31,
5411,
394,
10980,
7187,
7276,
6353,
12,
10304,
2934,
2681,
12,
3767,
16,
638,
16,
1061,
1769,
3639,
289,
1044,
261,
24485,
503,
425,
13,
288,
5411,
327,
31,
3639,
289,
1044,
261,
9267,
14950,
425,
13,
288,
5411,
368,
732,
1044,
30015,
316,
1836,
9334,
1496,
9733,
3099,
4798,
578,
1334,
2026,
4859,
3334,
5411,
514,
1234,
273,
1599,
41,
2421,
22144,
5058,
18,
2139,
12,
10792,
315,
8241,
1803,
18,
1330,
4247,
3113,
394,
1033,
8526,
288,
759,
8,
3993,
17,
5106,
17,
21,
8,
10792,
2900,
7675,
17994,
9334,
425,
18,
588,
14950,
1435,
15549,
5411,
1599,
41,
2421,
22144,
3773,
18,
1330,
12,
3576,
16,
2685,
1304,
18,
2704,
1482,
12,
45,
1482,
18,
3589,
16,
10792,
1234,
16,
425,
18,
588,
14950,
1435,
10019,
5411,
2562,
668,
12,
73,
18,
588,
14950,
7675,
24906,
10663,
3639,
289,
3639,
368,
971,
1334,
7841,
16,
1696,
392,
1068,
6176,
473,
1361,
279,
3309,
1267,
555,
364,
518,
3639,
309,
261,
1636,
1482,
63,
20,
65,
480,
446,
597,
401,
1636,
1482,
63,
20,
8009,
291,
3141,
10756,
288,
5411,
1068,
6353,
18,
3190,
668,
12,
10304,
16,
3570,
19122,
4247,
9334,
446,
16,
368,
1158,
4582,
883,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
775,
288,
5411,
14396,
11047,
2988,
1061,
273,
394,
14396,
11047,
2988,
1435,
288,
7734,
1071,
918,
1836,
12,
45,
5491,
7187,
6438,
13,
288,
10792,
14396,
1803,
18,
2211,
18,
8837,
12,
10259,
1769,
7734,
289,
5411,
289,
31,
5411,
394,
10980,
7187,
7276,
6353,
12,
10304,
2934,
2681,
12,
3767,
16,
638,
16,
1061,
1769,
3639,
289,
1044,
261,
24485,
503,
425,
13,
288,
5411,
327,
31,
3639,
289,
1044,
261,
9267,
14950,
425,
13,
288,
5411,
368,
732,
1044,
30015,
316,
1836,
9334,
1496,
9733,
3099,
4798,
578,
1334,
2026,
4859,
3334,
5411,
514,
1234,
273,
1599,
41,
2421,
22144,
5058,
18,
2139,
12,
10792,
315,
8241,
1803,
18,
2
] |
BigInteger d = new BigInteger(p.bitLength(), init_random);
|
BigInteger d = new BigInteger(length, init_random);
|
private BigInteger procedure_C(BigInteger p, BigInteger q) { BigInteger pSub1 = p.subtract(ONE); BigInteger pSub1DivQ = pSub1.divide(q); for(;;) { BigInteger d = new BigInteger(p.bitLength(), init_random); // 1 < d < p-1 if (d.compareTo(ONE) > 0 && d.compareTo(pSub1) < 0) { BigInteger a = d.modPow(pSub1DivQ, p); if (a.compareTo(ONE) != 0) { return a; } } } }
|
14767 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14767/db8a7e1319a05620463f4904f2d305fdabc4d7fc/GOST3410ParametersGenerator.java/buggy/crypto/src/org/bouncycastle/crypto/generators/GOST3410ParametersGenerator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
10246,
12131,
67,
39,
12,
24198,
293,
16,
10246,
1043,
13,
565,
288,
3639,
10246,
293,
1676,
21,
273,
293,
18,
1717,
1575,
12,
5998,
1769,
3639,
10246,
293,
1676,
21,
7244,
53,
273,
293,
1676,
21,
18,
2892,
831,
12,
85,
1769,
3639,
364,
12,
25708,
13,
3639,
288,
5411,
10246,
302,
273,
394,
10246,
12,
2469,
16,
1208,
67,
9188,
1769,
5411,
368,
404,
411,
302,
411,
293,
17,
21,
5411,
309,
261,
72,
18,
9877,
774,
12,
5998,
13,
405,
374,
597,
302,
18,
9877,
774,
12,
84,
1676,
21,
13,
411,
374,
13,
5411,
288,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
10246,
12131,
67,
39,
12,
24198,
293,
16,
10246,
1043,
13,
565,
288,
3639,
10246,
293,
1676,
21,
273,
293,
18,
1717,
1575,
12,
5998,
1769,
3639,
10246,
293,
1676,
21,
7244,
53,
273,
293,
1676,
21,
18,
2892,
831,
12,
85,
1769,
3639,
364,
12,
25708,
13,
3639,
288,
5411,
10246,
302,
273,
394,
10246,
12,
2469,
16,
1208,
67,
9188,
1769,
5411,
368,
404,
411,
302,
411,
293,
17,
21,
5411,
309,
261,
72,
18,
9877,
774,
12,
5998,
13,
405,
374,
597,
302,
18,
9877,
774,
12,
84,
1676,
21,
13,
411,
374,
13,
5411,
288,
7734,
10246,
279,
273,
302,
18,
1711,
28289,
12,
84,
1676,
21,
7244,
53,
16,
293,
1769,
7734,
2
] |
assert type instanceof TypeBuilder;
|
assert type instanceof TypeBuilder : Debug.show(sym) + " => [" + type.Assembly + "]" + type;
|
private void genPackage(Tree[] body) { for (int i = 0; i < body.length; i++) { Symbol sym = body[i].symbol(); switch (body[i]) { case Empty: break; case ClassDef(_, _, _, _, _, Template(_, Tree[] classBody)): Type type = tc.getType(sym); assert type instanceof TypeBuilder; if (type instanceof TypeBuilder) genClass(sym, classBody); break; case PackageDef(_, Template(_ , Tree[] body2)): genPackage(body2); break; default: throw new ApplicationError("Class definition expected: " + Debug.show(sym)); } } }
|
5590 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5590/ed26845c259032914ff9429f573bf8f07a66eff4/GenMSIL.java/clean/sources/scalac/backend/msil/GenMSIL.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3157,
2261,
12,
2471,
8526,
1417,
13,
288,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1417,
18,
2469,
31,
277,
27245,
288,
202,
565,
8565,
5382,
273,
1417,
63,
77,
8009,
7175,
5621,
202,
565,
1620,
261,
3432,
63,
77,
5717,
288,
202,
565,
648,
8953,
30,
202,
202,
8820,
31,
202,
565,
648,
1659,
3262,
24899,
16,
389,
16,
389,
16,
389,
16,
389,
16,
5035,
24899,
16,
4902,
8526,
667,
2250,
3719,
30,
202,
202,
559,
618,
273,
1715,
18,
588,
559,
12,
8117,
1769,
202,
202,
11231,
618,
1276,
1412,
1263,
31,
202,
202,
430,
261,
723,
1276,
1412,
1263,
13,
1082,
565,
3157,
797,
12,
8117,
16,
667,
2250,
1769,
202,
202,
8820,
31,
202,
565,
648,
7508,
3262,
24899,
16,
5035,
24899,
269,
4902,
8526,
1417,
22,
3719,
30,
202,
202,
4507,
2261,
12,
3432,
22,
1769,
202,
202,
8820,
31,
202,
565,
805,
30,
202,
202,
12849,
394,
4257,
668,
2932,
797,
2379,
2665,
30,
315,
397,
25083,
282,
4015,
18,
4500,
12,
8117,
10019,
202,
565,
289,
202,
97,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
377,
3238,
918,
3157,
2261,
12,
2471,
8526,
1417,
13,
288,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1417,
18,
2469,
31,
277,
27245,
288,
202,
565,
8565,
5382,
273,
1417,
63,
77,
8009,
7175,
5621,
202,
565,
1620,
261,
3432,
63,
77,
5717,
288,
202,
565,
648,
8953,
30,
202,
202,
8820,
31,
202,
565,
648,
1659,
3262,
24899,
16,
389,
16,
389,
16,
389,
16,
389,
16,
5035,
24899,
16,
4902,
8526,
667,
2250,
3719,
30,
202,
202,
559,
618,
273,
1715,
18,
588,
559,
12,
8117,
1769,
202,
202,
11231,
618,
1276,
1412,
1263,
31,
202,
202,
430,
261,
723,
1276,
1412,
1263,
13,
1082,
565,
3157,
797,
12,
8117,
16,
667,
2250,
2
] |
public void actionPerformed(ActionEvent ae) { // Get the currently selected ConfigElement. TreePath path = this.getLeadSelectionPath(); DefaultMutableTreeNode node = (DefaultMutableTreeNode)path.getLastPathComponent(); Object temp = node.getUserObject(); //System.out.println("Action performed on a non ConfigElement node."); if ( (temp instanceof ConfigElement) ) { ConfigElement elm = (ConfigElement)temp; // If the user selected the copy action. if( ae.getActionCommand().equals("copy") ) { // Place ConfigElement in the system clipboard. ConfigElementSelection selection = new ConfigElementSelection(elm); // TODO: Change owner of clipboard. clipboard.setContents(selection, selection); } if ( !elm.isReadOnly() ) // Ensure that the ConfigElement is writable. { // If the user selcted the remove menu item. if( ae.getActionCommand().equals("delete") ) { TreeModel model = this.getModel(); // Remove the ConfigElement from the context. if( model instanceof ConfigContextModel ) { // Try to remove the element. ConfigBroker broker = new ConfigBrokerProxy(); if(!broker.remove( ((ConfigContextModel)model).getContext(), elm)) { System.out.println("Failed..."); } } } // Start editing the currently selected ConfigElement if we want to rename it. if(ae.getActionCommand().equals("rename")) { // Get the currently selected ConfigElement. startEditingAtPath(path); } // If the user selects the cut operation we should first copy it into the // clipboard and then delete it from the active context. if(ae.getActionCommand().equals("cut")) { ActionEvent evt; evt = new ActionEvent(this, -1, "copy"); actionPerformed(evt); evt = new ActionEvent(this, -1, "delete"); actionPerformed(evt); } } } // If the user selected the paste action. if(ae.getActionCommand().equals("paste") && mContextEditable) { try { // Get the context model for this JTree. TreeModel model = this.getModel(); ConfigContextModel config_model = (ConfigContextModel)model; // Get the ConfigElement to paste out of the clipboard. DataFlavor my_flavor = new DataFlavor(ConfigElement.class, "VR Juggler Config Element"); Transferable tr = clipboard.getContents(this); // If this JTree has a valid JTreeModel and the incoming paste supports // the DataFlavor that we are trying to use. if(model instanceof ConfigContextModel && tr.isDataFlavorSupported(my_flavor)) { // Get the ConfigElement that we are transfering and make a deep // copy of it. ConfigElement old_elm = (ConfigElement)tr.getTransferData(my_flavor); ConfigElement new_elm = new ConfigElement(old_elm); // Make sure that we have a meaningful unique name. ConfigContext ctx = config_model.getContext(); String base_name = new_elm.getName(); int num = 1; while(ctx.containsElement(new_elm)) { String new_name = base_name + "Copy" + Integer.toString(num); new_elm.setName(new_name); ++num; } // Make sure that we are not trying to add an element to ourselves. ConfigBroker broker = new ConfigBrokerProxy(); // Make sure this add goes through successfully if (!broker.add(config_model.getContext(), new_elm)) { throw new Exception("Could not paste ConfigElement into context."); } System.out.println("Paste completed..."); } } catch(Exception ex) { System.out.println(ex); ex.printStackTrace(); } } }
|
7933 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7933/598c91f8957e8a253054de289e4d489c51b507eb/ElementTree.java/buggy/modules/jackal/editors/org/vrjuggler/jccl/editors/ElementTree.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
26100,
12,
1803,
1133,
14221,
13,
565,
288,
1377,
368,
968,
326,
4551,
3170,
1903,
1046,
18,
1377,
4902,
743,
589,
273,
333,
18,
588,
9678,
6233,
743,
5621,
1377,
2989,
19536,
12513,
756,
273,
261,
1868,
19536,
12513,
13,
803,
18,
588,
3024,
743,
1841,
5621,
1377,
1033,
1906,
273,
756,
18,
588,
1299,
921,
5621,
1377,
368,
3163,
18,
659,
18,
8222,
2932,
1803,
9591,
603,
279,
1661,
1903,
1046,
756,
1199,
1769,
1377,
309,
261,
261,
5814,
1276,
1903,
1046,
13,
262,
1377,
288,
540,
1903,
1046,
12531,
273,
261,
809,
1046,
13,
5814,
31,
540,
368,
971,
326,
729,
3170,
326,
1610,
1301,
18,
540,
309,
12,
14221,
18,
588,
1803,
2189,
7675,
14963,
2932,
3530,
7923,
262,
540,
288,
5411,
368,
13022,
1903,
1046,
316,
326,
2619,
20304,
18,
5411,
1903,
1046,
6233,
4421,
273,
394,
1903,
1046,
6233,
12,
19597,
1769,
5411,
368,
2660,
30,
7576,
3410,
434,
20304,
18,
5411,
20304,
18,
542,
6323,
12,
10705,
16,
4421,
1769,
540,
289,
13491,
309,
261,
401,
19597,
18,
291,
12066,
1435,
262,
368,
7693,
716,
326,
1903,
1046,
353,
9691,
18,
540,
288,
5411,
368,
971,
326,
729,
357,
299,
329,
326,
1206,
3824,
761,
18,
5411,
309,
12,
14221,
18,
588,
1803,
2189,
7675,
14963,
2932,
3733,
7923,
262,
2398,
288,
9079,
4902,
1488,
938,
273,
333,
18,
588,
1488,
5621,
17311,
368,
3581,
326,
1903,
1046,
628,
326,
819,
18,
9079,
309,
12,
938,
1276,
1903,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
26100,
12,
1803,
1133,
14221,
13,
565,
288,
1377,
368,
968,
326,
4551,
3170,
1903,
1046,
18,
1377,
4902,
743,
589,
273,
333,
18,
588,
9678,
6233,
743,
5621,
1377,
2989,
19536,
12513,
756,
273,
261,
1868,
19536,
12513,
13,
803,
18,
588,
3024,
743,
1841,
5621,
1377,
1033,
1906,
273,
756,
18,
588,
1299,
921,
5621,
1377,
368,
3163,
18,
659,
18,
8222,
2932,
1803,
9591,
603,
279,
1661,
1903,
1046,
756,
1199,
1769,
1377,
309,
261,
261,
5814,
1276,
1903,
1046,
13,
262,
1377,
288,
540,
1903,
1046,
12531,
273,
261,
809,
1046,
13,
5814,
31,
540,
368,
971,
326,
729,
3170,
326,
1610,
1301,
18,
540,
309,
12,
14221,
18,
588,
1803,
2189,
2
] |
||
while (pat.search(this, start) != -1) {
|
while (pattern.search(this, start) != -1) {
|
public IRubyObject scan(IRubyObject arg) { RubyRegexp pat = RubyRegexp.regexpValue(arg); int start = 0; if (!getRuntime().getCurrentContext().isBlockGiven()) { RubyArray ary = getRuntime().newArray(); while (pat.search(this, start) != -1) { RubyMatchData md = (RubyMatchData) getRuntime().getCurrentContext().getBackref(); if (md.getSize() == 1) { ary.append(md.group(0)); } else { ary.append(md.subseq(1, md.getSize())); } if (md.matchEndPosition() == md.matchStartPosition()) { start++; } else { start = md.matchEndPosition(); } } return ary; } while (pat.search(this, start) != -1) { RubyMatchData md = (RubyMatchData) getRuntime().getCurrentContext().getBackref(); if (md.getSize() == 1) { getRuntime().getCurrentContext().yield(md.group(0)); } else { getRuntime().getCurrentContext().yield(md.subseq(1, md.getSize())); } if (md.matchEndPosition() == md.matchStartPosition()) { start++; } else { start = md.matchEndPosition(); } } return this; }
|
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/9f2efc63a858fa0507245b207025eab027840a04/RubyString.java/buggy/src/org/jruby/RubyString.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
4135,
12,
7937,
10340,
921,
1501,
13,
288,
202,
202,
54,
10340,
14621,
9670,
273,
19817,
14621,
18,
17745,
620,
12,
3175,
1769,
202,
202,
474,
787,
273,
374,
31,
202,
202,
430,
16051,
588,
5576,
7675,
588,
3935,
1042,
7675,
291,
1768,
6083,
10756,
288,
1082,
202,
54,
10340,
1076,
11841,
273,
18814,
7675,
2704,
1076,
5621,
1082,
202,
17523,
261,
16330,
18,
3072,
12,
2211,
16,
787,
13,
480,
300,
21,
13,
288,
9506,
202,
54,
10340,
2060,
751,
3481,
273,
261,
54,
10340,
2060,
751,
13,
18814,
7675,
588,
3935,
1042,
7675,
588,
2711,
1734,
5621,
9506,
202,
430,
261,
1264,
18,
588,
1225,
1435,
422,
404,
13,
288,
6862,
202,
814,
18,
6923,
12,
1264,
18,
1655,
12,
20,
10019,
9506,
202,
97,
469,
288,
6862,
202,
814,
18,
6923,
12,
1264,
18,
1717,
5436,
12,
21,
16,
3481,
18,
588,
1225,
1435,
10019,
9506,
202,
97,
9506,
202,
430,
261,
1264,
18,
1916,
30037,
1435,
422,
3481,
18,
1916,
23785,
10756,
288,
6862,
202,
1937,
9904,
31,
9506,
202,
97,
469,
288,
6862,
202,
1937,
273,
3481,
18,
1916,
30037,
5621,
9506,
202,
97,
1082,
202,
97,
1082,
202,
2463,
11841,
31,
202,
202,
97,
202,
202,
17523,
261,
16330,
18,
3072,
12,
2211,
16,
787,
13,
480,
300,
21,
13,
288,
1082,
202,
54,
10340,
2060,
751,
3481,
273,
261,
54,
10340,
2060,
751,
13,
18814,
7675,
588,
3935,
1042,
7675,
588,
2711,
1734,
5621,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
4135,
12,
7937,
10340,
921,
1501,
13,
288,
202,
202,
54,
10340,
14621,
9670,
273,
19817,
14621,
18,
17745,
620,
12,
3175,
1769,
202,
202,
474,
787,
273,
374,
31,
202,
202,
430,
16051,
588,
5576,
7675,
588,
3935,
1042,
7675,
291,
1768,
6083,
10756,
288,
1082,
202,
54,
10340,
1076,
11841,
273,
18814,
7675,
2704,
1076,
5621,
1082,
202,
17523,
261,
16330,
18,
3072,
12,
2211,
16,
787,
13,
480,
300,
21,
13,
288,
9506,
202,
54,
10340,
2060,
751,
3481,
273,
261,
54,
10340,
2060,
751,
13,
18814,
7675,
588,
3935,
1042,
7675,
588,
2711,
1734,
5621,
9506,
202,
430,
261,
1264,
18,
588,
1225,
1435,
422,
404,
13,
288,
6862,
2
] |
public RubyString internalGets(IRubyObject[] args) {
|
public IRubyObject internalGets(IRubyObject[] args) {
|
public RubyString internalGets(IRubyObject[] args) { if (currentFile == null && !nextArgsFile()) { return RubyString.nilString(getRuntime()); } RubyString line = (RubyString)currentFile.callMethod("gets", args); while (line.isNil()) { currentFile.callMethod("close"); if (! nextArgsFile()) { currentFile = null; return line; } line = (RubyString) currentFile.callMethod("gets", args); } currentLineNumber++; getRuntime().getGlobalVariables().set("$.", getRuntime().newFixnum(currentLineNumber)); return line; }
|
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/b72a2862ae5b2f01f9a767ef2ce248fd785857c4/RubyArgsFile.java/buggy/src/org/jruby/RubyArgsFile.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
2713,
3002,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
309,
261,
2972,
812,
422,
446,
597,
401,
4285,
2615,
812,
10756,
288,
5411,
327,
19817,
780,
18,
20154,
780,
12,
588,
5576,
10663,
3639,
289,
7734,
19817,
780,
980,
273,
261,
54,
10340,
780,
13,
2972,
812,
18,
1991,
1305,
2932,
14665,
3113,
833,
1769,
7734,
1323,
261,
1369,
18,
291,
12616,
10756,
288,
5411,
22650,
18,
1991,
1305,
2932,
4412,
8863,
5411,
309,
16051,
1024,
2615,
812,
10756,
288,
7734,
22650,
273,
446,
31,
7734,
327,
980,
31,
540,
202,
97,
5411,
980,
273,
261,
54,
10340,
780,
13,
22650,
18,
1991,
1305,
2932,
14665,
3113,
833,
1769,
3639,
289,
7734,
22325,
1854,
9904,
31,
3639,
18814,
7675,
588,
5160,
6158,
7675,
542,
2932,
8,
1199,
16,
18814,
7675,
2704,
8585,
2107,
12,
2972,
31063,
10019,
7734,
327,
980,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
2713,
3002,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
309,
261,
2972,
812,
422,
446,
597,
401,
4285,
2615,
812,
10756,
288,
5411,
327,
19817,
780,
18,
20154,
780,
12,
588,
5576,
10663,
3639,
289,
7734,
19817,
780,
980,
273,
261,
54,
10340,
780,
13,
2972,
812,
18,
1991,
1305,
2932,
14665,
3113,
833,
1769,
7734,
1323,
261,
1369,
18,
291,
12616,
10756,
288,
5411,
22650,
18,
1991,
1305,
2932,
4412,
8863,
5411,
309,
16051,
1024,
2615,
812,
10756,
288,
7734,
22650,
273,
446,
31,
7734,
327,
980,
31,
540,
202,
97,
5411,
980,
273,
261,
54,
10340,
780,
13,
22650,
18,
1991,
1305,
2932,
14665,
3113,
833,
1769,
3639,
289,
7734,
2
] |
public boolean startCommand(int fCommand,Object fThread)
|
public boolean startCommand(int fCommand, Object fThread)
|
public boolean startCommand(int fCommand,Object fThread) { return( startCommand(fCommand,null,true,fThread)); }
|
48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/4179c9f6d0a36bc8b8ca5cdef30d4178930114cd/PerlDB.java/buggy/org.epic.debug/src/org/epic/debug/PerlDB.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
787,
2189,
12,
474,
284,
2189,
16,
921,
284,
3830,
13,
202,
95,
202,
202,
2463,
12,
787,
2189,
12,
74,
2189,
16,
2011,
16,
3767,
16,
74,
3830,
10019,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
787,
2189,
12,
474,
284,
2189,
16,
921,
284,
3830,
13,
202,
95,
202,
202,
2463,
12,
787,
2189,
12,
74,
2189,
16,
2011,
16,
3767,
16,
74,
3830,
10019,
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
] |
("std dev", 1.0173699343977738, stats.getStandardDeviation(), tolerance);
|
("std dev", 1.0173699343977738, stats.getStandardDeviation(), tolerance); vs.computeDistribution(500); stats = new UnivariateImpl(); for (int i = 1; i < 1000; i++) { next = vs.getNext(); stats.addValue(next); } assertEquals("mean", 5.069831575018909, stats.getMean(), tolerance); assertEquals ("std dev", 1.0173699343977738, stats.getStandardDeviation(), tolerance);
|
public void testNextDigest() throws Exception{ double next = 0.0; double tolerance = 0.1; vs.computeDistribution(); Univariate stats = new UnivariateImpl(); for (int i = 1; i < 1000; i++) { next = vs.getNext(); stats.addValue(next); } assertEquals("mean", 5.069831575018909, stats.getMean(), tolerance); assertEquals ("std dev", 1.0173699343977738, stats.getStandardDeviation(), tolerance); }
|
9305 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9305/a6c324e669d05dc92e999ae78a29d0ac598d235f/ValueServerTest.java/clean/src/test/org/apache/commons/math/ValueServerTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2134,
9568,
1435,
1216,
1185,
95,
3639,
1645,
1024,
273,
374,
18,
20,
31,
3639,
1645,
10673,
273,
374,
18,
21,
31,
3639,
6195,
18,
9200,
9003,
5621,
3639,
1351,
27693,
3177,
273,
394,
1351,
27693,
2828,
5621,
3639,
364,
261,
474,
277,
273,
404,
31,
277,
411,
4336,
31,
277,
27245,
288,
5411,
1024,
273,
6195,
18,
588,
2134,
5621,
5411,
3177,
18,
1289,
620,
12,
4285,
1769,
3639,
289,
5411,
1815,
8867,
2932,
7079,
3113,
1381,
18,
7677,
29,
10261,
3600,
5877,
1611,
6675,
5908,
16,
3177,
18,
588,
15312,
9334,
10673,
1769,
3639,
1815,
8867,
540,
7566,
5084,
4461,
3113,
404,
18,
1611,
27,
5718,
2733,
5026,
5520,
14509,
7414,
16,
3177,
18,
588,
8336,
758,
13243,
9334,
10673,
1769,
225,
6195,
18,
9200,
9003,
12,
12483,
1769,
3177,
273,
394,
1351,
27693,
2828,
5621,
364,
261,
474,
277,
273,
404,
31,
277,
411,
4336,
31,
277,
27245,
288,
1024,
273,
6195,
18,
588,
2134,
5621,
3177,
18,
1289,
620,
12,
4285,
1769,
289,
1815,
8867,
2932,
7079,
3113,
1381,
18,
7677,
29,
10261,
3600,
5877,
1611,
6675,
5908,
16,
3177,
18,
588,
15312,
9334,
10673,
1769,
1815,
8867,
7566,
5084,
4461,
3113,
404,
18,
1611,
27,
5718,
2733,
5026,
5520,
14509,
7414,
16,
3177,
18,
588,
8336,
758,
13243,
9334,
10673,
1769,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2134,
9568,
1435,
1216,
1185,
95,
3639,
1645,
1024,
273,
374,
18,
20,
31,
3639,
1645,
10673,
273,
374,
18,
21,
31,
3639,
6195,
18,
9200,
9003,
5621,
3639,
1351,
27693,
3177,
273,
394,
1351,
27693,
2828,
5621,
3639,
364,
261,
474,
277,
273,
404,
31,
277,
411,
4336,
31,
277,
27245,
288,
5411,
1024,
273,
6195,
18,
588,
2134,
5621,
5411,
3177,
18,
1289,
620,
12,
4285,
1769,
3639,
289,
5411,
1815,
8867,
2932,
7079,
3113,
1381,
18,
7677,
29,
10261,
3600,
5877,
1611,
6675,
5908,
16,
3177,
18,
588,
15312,
9334,
10673,
1769,
3639,
1815,
8867,
540,
7566,
5084,
4461,
3113,
404,
18,
1611,
27,
5718,
2733,
5026,
5520,
14509,
7414,
16,
3177,
2
] |
setNoex(noex);
|
public AliasMethod(ICallable oldMethod, String oldName, RubyModule origin, int noex) { this.oldMethod = oldMethod; this.oldName = oldName; this.origin = origin; setNoex(noex); }
|
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/f05423516c2d1bfe54c4363eedb9654f7cfb6898/AliasMethod.java/buggy/org/jruby/internal/runtime/methods/AliasMethod.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11873,
1305,
12,
45,
11452,
1592,
1305,
16,
514,
22916,
16,
19817,
3120,
4026,
16,
509,
1158,
338,
13,
288,
3639,
333,
18,
1673,
1305,
273,
1592,
1305,
31,
3639,
333,
18,
1673,
461,
273,
22916,
31,
3639,
333,
18,
10012,
273,
4026,
31,
5375,
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,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
4026,
16,
509,
1158,
338,
13,
288,
3639,
333,
18,
1673,
1305,
273,
1592,
1305,
31,
3639,
333,
18,
1673,
461,
273,
22916,
31,
3639,
333,
18,
10012,
273,
4026,
31,
5375,
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
] |
|
getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS)); getContentPane().add(createConnectionPane()); getContentPane().add(createGUIPane()); getContentPane().add(createProgrammerPane());
|
getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS)); getContentPane().add(createConnectionPane()); getContentPane().add(createGUIPane()); getContentPane().add(createProgrammerPane());
|
public AbstractConfigFrame(String name) { super(name); getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS)); // create the GUI in steps getContentPane().add(createConnectionPane()); getContentPane().add(createGUIPane()); getContentPane().add(createProgrammerPane()); JButton save = new JButton("Save"); getContentPane().add(save); save.addActionListener( new ActionListener() { public void actionPerformed(ActionEvent e) { savePressed(); } }); // add some space at the bottom getContentPane().add(new JLabel(" ")); // show is deferred to some action somewhere else pack(); }
|
2652 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2652/ef71f46c03aa0831907f2e6de38e45931e1b5167/AbstractConfigFrame.java/clean/apps/AbstractConfigFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4115,
809,
3219,
12,
780,
508,
13,
288,
202,
202,
9565,
12,
529,
1769,
202,
202,
588,
1350,
8485,
7675,
542,
3744,
12,
2704,
8549,
3744,
12,
588,
1350,
8485,
9334,
8549,
3744,
18,
61,
67,
25614,
10019,
202,
202,
759,
752,
326,
10978,
316,
6075,
202,
202,
588,
1350,
8485,
7675,
1289,
12,
2640,
1952,
8485,
10663,
202,
202,
588,
1350,
8485,
7675,
1289,
12,
2640,
30673,
2579,
8806,
10663,
202,
202,
588,
1350,
8485,
7675,
1289,
12,
2640,
9459,
6592,
8485,
10663,
202,
202,
46,
3616,
1923,
273,
394,
28804,
2932,
4755,
8863,
202,
202,
588,
1350,
8485,
7675,
1289,
12,
5688,
1769,
202,
202,
5688,
18,
1289,
1803,
2223,
12,
394,
25962,
1435,
288,
1082,
202,
482,
918,
26100,
12,
1803,
1133,
425,
13,
288,
9506,
202,
5688,
24624,
5621,
1082,
202,
97,
202,
202,
22938,
202,
202,
759,
527,
2690,
3476,
622,
326,
5469,
202,
202,
588,
1350,
8485,
7675,
1289,
12,
2704,
21403,
2932,
9369,
1769,
202,
202,
759,
2405,
353,
7045,
358,
2690,
1301,
22234,
469,
202,
202,
2920,
5621,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4115,
809,
3219,
12,
780,
508,
13,
288,
202,
202,
9565,
12,
529,
1769,
202,
202,
588,
1350,
8485,
7675,
542,
3744,
12,
2704,
8549,
3744,
12,
588,
1350,
8485,
9334,
8549,
3744,
18,
61,
67,
25614,
10019,
202,
202,
759,
752,
326,
10978,
316,
6075,
202,
202,
588,
1350,
8485,
7675,
1289,
12,
2640,
1952,
8485,
10663,
202,
202,
588,
1350,
8485,
7675,
1289,
12,
2640,
30673,
2579,
8806,
10663,
202,
202,
588,
1350,
8485,
7675,
1289,
12,
2640,
9459,
6592,
8485,
10663,
202,
202,
46,
3616,
1923,
273,
394,
28804,
2932,
4755,
8863,
202,
202,
588,
1350,
8485,
7675,
1289,
12,
5688,
1769,
202,
202,
5688,
18,
1289,
1803,
2223,
12,
394,
25962,
1435,
2
] |
d = ( (Number) data[0]).intValue(); context.operands.push(new Integer(d)); } else { String s; s = (String) data[0];
|
public void execute(PAContext context) throws PainterException { // Object data[]; // data = context.popOperands(1); }
|
3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/a9e36ef1e4e4be2e6d4839ed4e5a42aabe172a12/PAContext.java/clean/itext/src/com/lowagie/text/pdf/codec/postscript/PAContext.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
302,
273,
261,
261,
1854,
13,
501,
63,
20,
65,
2934,
474,
620,
5621,
819,
18,
4063,
5708,
18,
6206,
12,
2704,
2144,
12,
72,
10019,
289,
469,
288,
514,
272,
31,
272,
273,
261,
780,
13,
501,
63,
20,
15533,
302,
273,
261,
261,
1854,
13,
501,
63,
20,
65,
2934,
474,
620,
5621,
819,
18,
4063,
5708,
18,
6206,
12,
2704,
2144,
12,
72,
10019,
289,
469,
288,
514,
272,
31,
272,
273,
261,
780,
13,
501,
63,
20,
15533,
302,
273,
261,
261,
1854,
13,
501,
63,
20,
65,
2934,
474,
620,
5621,
819,
18,
4063,
5708,
18,
6206,
12,
2704,
2144,
12,
72,
10019,
289,
469,
288,
514,
272,
31,
272,
273,
261,
780,
13,
501,
63,
20,
15533,
302,
273,
261,
261,
1854,
13,
501,
63,
20,
65,
2934,
474,
620,
5621,
819,
18,
4063,
5708,
18,
6206,
12,
2704,
2144,
12,
72,
10019,
289,
469,
288,
514,
272,
31,
272,
273,
261,
780,
13,
501,
63,
20,
15533,
302,
273,
261,
261,
1854,
13,
501,
63,
20,
65,
2934,
474,
620,
5621,
819,
18,
4063,
5708,
18,
6206,
12,
2704,
2144,
12,
72,
10019,
289,
469,
288,
514,
272,
31,
272,
273,
261,
780,
13,
501,
63,
20,
15533,
302,
273,
261,
261,
1854,
13,
501,
63,
20,
65,
2934,
474,
620,
5621,
819,
18,
4063,
5708,
18,
6206,
12,
2704,
2144,
12,
72,
10019,
289,
469,
288,
514,
272,
31,
272,
273,
261,
780,
13,
501,
63,
20,
15533,
1071,
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,
302,
273,
261,
261,
1854,
13,
501,
63,
20,
65,
2934,
474,
620,
5621,
819,
18,
4063,
5708,
18,
6206,
12,
2704,
2144,
12,
72,
10019,
289,
469,
288,
514,
272,
31,
272,
273,
261,
780,
13,
501,
63,
20,
15533,
302,
273,
261,
261,
1854,
13,
501,
63,
20,
65,
2934,
474,
620,
5621,
819,
18,
4063,
5708,
18,
6206,
12,
2704,
2144,
12,
72,
10019,
289,
469,
288,
514,
272,
31,
272,
273,
261,
780,
13,
501,
63,
20,
15533,
302,
273,
261,
261,
1854,
13,
501,
63,
20,
65,
2934,
474,
620,
5621,
819,
18,
4063,
5708,
18,
6206,
12,
2704,
2144,
12,
72,
10019,
289,
469,
288,
514,
272,
31,
272,
273,
261,
780,
13,
2
] |
|
bytes = data.getBytes("UTF8");
|
bytes = data.getBytes("ISO-8859-1");
|
public static String encodeBase64(String data) { byte [] bytes = null; try { bytes = data.getBytes("UTF8"); } catch (UnsupportedEncodingException uee) { uee.printStackTrace(); } return encodeBase64(bytes); }
|
966 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/966/fc70c90e677aaa66a86fbd13d4a06e7ac60038f3/StringUtils.java/clean/source/org/jivesoftware/smack/util/StringUtils.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
2017,
2171,
1105,
12,
780,
501,
13,
288,
3639,
1160,
5378,
1731,
273,
446,
31,
3639,
775,
288,
5411,
1731,
273,
501,
18,
588,
2160,
2932,
12609,
17,
17258,
17,
21,
8863,
3639,
289,
3639,
1044,
261,
8544,
13836,
17869,
73,
13,
288,
5411,
17869,
73,
18,
1188,
6332,
5621,
3639,
289,
3639,
327,
2017,
2171,
1105,
12,
3890,
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,
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,
31,
3639,
775,
288,
5411,
1731,
273,
501,
18,
588,
2160,
2932,
12609,
17,
17258,
17,
21,
8863,
3639,
289,
3639,
1044,
261,
8544,
13836,
17869,
73,
13,
288,
5411,
17869,
73,
18,
1188,
6332,
5621,
3639,
289,
3639,
327,
2017,
2171,
1105,
12,
3890,
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
] |
ClientGetter cg = new ClientGetter(NodeUpdater.this, node.chkFetchScheduler, node.sskFetchScheduler, revocationURI, ctxRevocation, RequestStarter.MAXIMUM_PRIORITY_CLASS, NodeUpdater.this, null);
|
ClientGetter cg; synchronized(this) { if(revocationGetter != null && !(revocationGetter.isCancelled() || revocationGetter.isFinished())) { Logger.minor(this, "Not queueing another revocation fetcher yet"); return; } else { Logger.minor(this, "fetcher="+revocationGetter); if(revocationGetter != null) Logger.minor(this, "revocation fetcher: cancelled="+revocationGetter.isCancelled()+", finished="+revocationGetter.isFinished()); cg = revocationGetter = new ClientGetter(NodeUpdater.this, node.chkFetchScheduler, node.sskFetchScheduler, revocationURI, ctxRevocation, RequestStarter.MAXIMUM_PRIORITY_CLASS, NodeUpdater.this, null); Logger.minor(this, "Queued another revocation fetcher"); } }
|
private void queueFetchRevocation(long delay) { node.ps.queueTimedJob(new Runnable() { // maybe a FastRunnable? FIXME public void run() { try { // We've got the data, so speed things up a bit. ClientGetter cg = new ClientGetter(NodeUpdater.this, node.chkFetchScheduler, node.sskFetchScheduler, revocationURI, ctxRevocation, RequestStarter.MAXIMUM_PRIORITY_CLASS, NodeUpdater.this, null); cg.start(); } catch (FetchException e) { Logger.error(this, "Not able to start the revocation fetcher."); blow("Cannot fetch the auto-update URI"); } } }, delay); }
|
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/5859c6306e314e2f206e8b2a0755dd48185083d4/NodeUpdater.java/clean/src/freenet/node/updater/NodeUpdater.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2389,
5005,
28691,
12,
5748,
4624,
13,
288,
202,
202,
2159,
18,
1121,
18,
4000,
19336,
2278,
12,
2704,
10254,
1435,
288,
368,
6944,
279,
9545,
20013,
35,
9852,
1082,
202,
482,
918,
1086,
1435,
288,
9506,
202,
698,
288,
6862,
202,
759,
1660,
8081,
2363,
326,
501,
16,
1427,
8632,
9198,
731,
279,
2831,
18,
6862,
202,
1227,
8461,
14947,
273,
394,
2445,
8461,
12,
907,
15305,
18,
2211,
16,
756,
18,
27038,
5005,
11870,
16,
756,
18,
1049,
79,
5005,
11870,
16,
24158,
3098,
16,
1103,
28691,
16,
1567,
510,
14153,
18,
6694,
18605,
67,
19804,
67,
5237,
16,
2029,
15305,
18,
2211,
16,
446,
1769,
6862,
202,
26275,
18,
1937,
5621,
9506,
202,
97,
1044,
261,
5005,
503,
425,
13,
288,
6862,
202,
3328,
18,
1636,
12,
2211,
16,
315,
1248,
7752,
358,
787,
326,
24158,
20521,
1199,
1769,
6862,
202,
70,
821,
2932,
4515,
2158,
326,
3656,
17,
2725,
3699,
8863,
9506,
202,
97,
1082,
202,
97,
6862,
202,
5779,
4624,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2389,
5005,
28691,
12,
5748,
4624,
13,
288,
202,
202,
2159,
18,
1121,
18,
4000,
19336,
2278,
12,
2704,
10254,
1435,
288,
368,
6944,
279,
9545,
20013,
35,
9852,
1082,
202,
482,
918,
1086,
1435,
288,
9506,
202,
698,
288,
6862,
202,
759,
1660,
8081,
2363,
326,
501,
16,
1427,
8632,
9198,
731,
279,
2831,
18,
6862,
202,
1227,
8461,
14947,
273,
394,
2445,
8461,
12,
907,
15305,
18,
2211,
16,
756,
18,
27038,
5005,
11870,
16,
756,
18,
1049,
79,
5005,
11870,
16,
24158,
3098,
16,
1103,
28691,
16,
1567,
510,
14153,
18,
6694,
18605,
67,
19804,
67,
5237,
16,
2029,
15305,
18,
2211,
16,
446,
1769,
6862,
202,
26275,
18,
1937,
5621,
9506,
2
] |
m_addUserStmt.setString(2, this.gerenatePasswordDigest(password));
|
m_addUserStmt.setString(2, PasswordUtils.gerenatePasswordDigest(password));
|
public long addUser(String userid, String password, String fullname, String address1, String address2, String address3, String address4, String phoneno1, String phoneno2, String email1, String email2, String url, String charset, String locale, long flags1, long flags2, long flags3, long flags4, long rights) throws DuplicateNameException, SQLException, NoSuchAlgorithmException, AmbiguousNameException { if(this.userExists(userid)) throw new DuplicateNameException(userid); if(m_nameManager.nameExists(fullname)) throw new DuplicateNameException(fullname); // First, add the name // long nameId = m_nameManager.addName(fullname, NameManager.USER_KIND, Visibilities.PUBLIC); Timestamp now = new Timestamp(System.currentTimeMillis()); // Now, add the user // m_addUserStmt.clearParameters(); m_addUserStmt.setString(1, userid); m_addUserStmt.setString(2, this.gerenatePasswordDigest(password)); m_addUserStmt.setString(3, address1); m_addUserStmt.setString(4, address2); m_addUserStmt.setString(5, address3); m_addUserStmt.setString(6, address4); m_addUserStmt.setString(7, phoneno1); m_addUserStmt.setString(8, phoneno2); m_addUserStmt.setString(9, email1); m_addUserStmt.setString(10, email2); m_addUserStmt.setString(11, url); m_addUserStmt.setString(12, charset); m_addUserStmt.setLong(13, nameId); m_addUserStmt.setLong(14, flags1); m_addUserStmt.setLong(15, flags2); m_addUserStmt.setLong(16, flags3); m_addUserStmt.setLong(17, flags4); m_addUserStmt.setLong(18, rights); m_addUserStmt.setString(19, locale); m_addUserStmt.setTimestamp(20,now); // Lock cache while updating // m_addUserStmt.executeUpdate(); // Add a mailbox // new ConferenceManager(m_conn, m_nameManager).addMailbox(nameId, fullname, 0); // Make us a member of our mailbox // try { new MembershipManager(m_conn).signup(nameId, nameId, 0, ConferencePermissions.ALL_PERMISSIONS, 0); return nameId; } catch(AuthorizationException e) { // This can't happen! // throw new RuntimeException("This can't happen!", e); } catch(AlreadyMemberException e) { // This can't happen! // throw new RuntimeException("This can't happen!", e); } catch(ObjectNotFoundException e) { // This can't happen! // throw new RuntimeException("This can't happen!", e); } }
|
3907 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3907/2a9e9fcd115a22fe2a14595bdccaf4d3a704fa4c/UserManager.java/clean/kom/java/nu/rydin/kom/backend/data/UserManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1525,
527,
1299,
12,
780,
6709,
16,
514,
2201,
16,
514,
13321,
16,
514,
1758,
21,
16,
202,
202,
780,
1758,
22,
16,
514,
1758,
23,
16,
514,
1758,
24,
16,
514,
22105,
5764,
21,
16,
3196,
202,
780,
22105,
5764,
22,
16,
514,
2699,
21,
16,
514,
2699,
22,
16,
514,
880,
16,
514,
4856,
16,
514,
2573,
16,
1525,
2943,
21,
16,
3196,
202,
5748,
2943,
22,
16,
1525,
2943,
23,
16,
1525,
2943,
24,
16,
1525,
14989,
13,
202,
202,
15069,
19072,
26771,
16,
6483,
16,
17684,
16,
202,
202,
30706,
10623,
26771,
202,
202,
95,
1082,
202,
430,
12,
2211,
18,
1355,
4002,
12,
8339,
3719,
4697,
202,
12849,
394,
19072,
26771,
12,
8339,
1769,
1082,
202,
430,
12,
81,
67,
529,
1318,
18,
529,
4002,
12,
21885,
3719,
9506,
202,
12849,
394,
19072,
26771,
12,
21885,
1769,
1082,
202,
759,
5783,
16,
527,
326,
508,
1082,
202,
759,
1082,
202,
5748,
508,
548,
273,
312,
67,
529,
1318,
18,
1289,
461,
12,
21885,
16,
1770,
1318,
18,
4714,
67,
47,
2356,
16,
8077,
495,
5076,
18,
14939,
1769,
1082,
202,
4921,
2037,
273,
394,
8159,
12,
3163,
18,
2972,
28512,
10663,
1082,
202,
759,
4494,
16,
527,
326,
729,
1082,
202,
759,
1082,
202,
81,
67,
1289,
1299,
8952,
18,
8507,
2402,
5621,
1082,
202,
81,
67,
1289,
1299,
8952,
18,
542,
780,
12,
21,
16,
6709,
1769,
1082,
202,
81,
67,
1289,
1299,
8952,
18,
542,
780,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1525,
527,
1299,
12,
780,
6709,
16,
514,
2201,
16,
514,
13321,
16,
514,
1758,
21,
16,
202,
202,
780,
1758,
22,
16,
514,
1758,
23,
16,
514,
1758,
24,
16,
514,
22105,
5764,
21,
16,
3196,
202,
780,
22105,
5764,
22,
16,
514,
2699,
21,
16,
514,
2699,
22,
16,
514,
880,
16,
514,
4856,
16,
514,
2573,
16,
1525,
2943,
21,
16,
3196,
202,
5748,
2943,
22,
16,
1525,
2943,
23,
16,
1525,
2943,
24,
16,
1525,
14989,
13,
202,
202,
15069,
19072,
26771,
16,
6483,
16,
17684,
16,
202,
202,
30706,
10623,
26771,
202,
202,
95,
1082,
202,
430,
12,
2211,
18,
1355,
4002,
12,
8339,
3719,
4697,
202,
12849,
394,
19072,
26771,
2
] |
if (!ClassUtils.isSubclass(aClass, "junit.framework.TestCase")) {
|
if(aClass == null) {
|
public void visitMethod(PsiMethod method) { // note: no call to super if (!method.isConstructor()) { return; } final PsiClass aClass = method.getContainingClass(); if (!ClassUtils.isSubclass(aClass, "junit.framework.TestCase")) { return; } if (isTrivial(method)) { return; } registerMethodError(method); }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/TestCaseWithConstructorInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/junit/TestCaseWithConstructorInspection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
25138,
12,
52,
7722,
1305,
707,
13,
288,
5411,
368,
4721,
30,
1158,
745,
358,
2240,
5411,
309,
16051,
2039,
18,
291,
6293,
10756,
288,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
797,
20148,
273,
707,
18,
588,
24344,
797,
5621,
5411,
309,
12,
69,
797,
422,
446,
13,
288,
7734,
327,
31,
5411,
289,
5411,
309,
261,
291,
1070,
20109,
12,
2039,
3719,
288,
7734,
327,
31,
5411,
289,
5411,
1744,
1305,
668,
12,
2039,
1769,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
25138,
12,
52,
7722,
1305,
707,
13,
288,
5411,
368,
4721,
30,
1158,
745,
358,
2240,
5411,
309,
16051,
2039,
18,
291,
6293,
10756,
288,
7734,
327,
31,
5411,
289,
5411,
727,
453,
7722,
797,
20148,
273,
707,
18,
588,
24344,
797,
5621,
5411,
309,
12,
69,
797,
422,
446,
13,
288,
7734,
327,
31,
5411,
289,
5411,
309,
261,
291,
1070,
20109,
12,
2039,
3719,
288,
7734,
327,
31,
5411,
289,
5411,
1744,
1305,
668,
12,
2039,
1769,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
this.running = false; this.wishes.clear();
|
Election.running = false; Election.wishes.clear();
|
public synchronized void run() { try { wait(WAITSECS * 1000); } catch (InterruptedException e) { e.printStackTrace(); } int score[] = { 0, 0, 0, 0, 0, 0 }; int i_user; c3ddispatcher.showMessageAll("Election finished"); for (Enumeration e = wishes.keys(); e.hasMoreElements();) { i_user = ((Integer) e.nextElement()).intValue(); Integer wish = (Integer) wishes.get(new Integer(i_user)); c3ddispatcher.showMessageAll( " User " + c3ddispatcher.nameOfUser(i_user) + " voted '" + voteString(wish) + "'"); // update the scores score[wish.intValue()]++; } c3ddispatcher.showMessageAll( " Result:\n " + score[RIGHT] + " right, " + score[LEFT] + " left [rotate]\n " + score[UP] + " up ," + score[DOWN] + " down [vertical]\n " + score[CLOCKWISE] + " right," + score[UNCLOCKWISE] + " left [spin]"); // Computes the winner int winner = -1; for (int i = 0; i < score.length; i++) { // If a candidate has got all the votes if (score[i] == wishes.size()) winner = i; } switch (winner) { case UP : c3ddispatcher.showMessageAll( " The scene will be rotated up."); this.running = false; this.wishes.clear(); c3ddispatcher.rotateUp(0); break; case DOWN : c3ddispatcher.showMessageAll( " The scene will be rotated down."); this.running = false; this.wishes.clear(); c3ddispatcher.rotateDown(0); break; case LEFT : c3ddispatcher.showMessageAll( " The scene will be rotated left."); this.running = false; this.wishes.clear(); c3ddispatcher.rotateLeft(0); break; case RIGHT : c3ddispatcher.showMessageAll( " The scene will be rotated right."); this.running = false; this.wishes.clear(); c3ddispatcher.rotateRight(0); break; case CLOCKWISE : c3ddispatcher.showMessageAll( " The scene will be spinned right"); this.running = false; this.wishes.clear(); c3ddispatcher.spinClock(0); break; case UNCLOCKWISE : c3ddispatcher.showMessageAll( " The scene will be spinned left"); this.running = false; this.wishes.clear(); c3ddispatcher.spinUnclock(0); break; default : c3ddispatcher.showMessageAll( " No consensus found, vote again please!"); } this.running = false; this.wishes.clear(); }
|
50951 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50951/3300f7890312c39f67f23d650ba78b3f068cd88a/C3DDispatcher.java/clean/src/org/objectweb/proactive/examples/c3d/C3DDispatcher.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
1086,
1435,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
7048,
12,
19046,
1090,
4596,
380,
4336,
1769,
202,
202,
97,
202,
202,
14683,
261,
24485,
503,
425,
13,
202,
202,
95,
1082,
202,
73,
18,
1188,
6332,
5621,
202,
202,
97,
202,
202,
474,
4462,
8526,
273,
288,
374,
16,
374,
16,
374,
16,
374,
16,
374,
16,
374,
289,
31,
202,
202,
474,
277,
67,
1355,
31,
202,
202,
71,
23,
449,
291,
2272,
264,
18,
4500,
1079,
1595,
2932,
29110,
6708,
8863,
202,
202,
1884,
261,
21847,
425,
273,
14302,
281,
18,
2452,
5621,
425,
18,
5332,
7417,
3471,
5621,
13,
202,
202,
95,
1082,
202,
77,
67,
1355,
273,
14015,
4522,
13,
425,
18,
4285,
1046,
1435,
2934,
474,
620,
5621,
1082,
202,
4522,
14302,
273,
261,
4522,
13,
14302,
281,
18,
588,
12,
2704,
2144,
12,
77,
67,
1355,
10019,
1082,
202,
71,
23,
449,
291,
2272,
264,
18,
4500,
1079,
1595,
12,
9506,
202,
6,
282,
2177,
315,
6862,
202,
15,
276,
23,
449,
291,
2272,
264,
18,
529,
951,
1299,
12,
77,
67,
1355,
13,
6862,
202,
15,
315,
331,
16474,
2119,
6862,
202,
15,
12501,
780,
12,
91,
1468,
13,
6862,
202,
15,
5862,
1769,
1082,
202,
759,
1089,
326,
8474,
1082,
202,
6355,
63,
91,
1468,
18,
474,
620,
1435,
3737,
15,
31,
202,
202,
97,
202,
202,
71,
23,
449,
291,
2272,
264,
18,
4500,
1079,
1595,
12,
1082,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
1086,
1435,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
7048,
12,
19046,
1090,
4596,
380,
4336,
1769,
202,
202,
97,
202,
202,
14683,
261,
24485,
503,
425,
13,
202,
202,
95,
1082,
202,
73,
18,
1188,
6332,
5621,
202,
202,
97,
202,
202,
474,
4462,
8526,
273,
288,
374,
16,
374,
16,
374,
16,
374,
16,
374,
16,
374,
289,
31,
202,
202,
474,
277,
67,
1355,
31,
202,
202,
71,
23,
449,
291,
2272,
264,
18,
4500,
1079,
1595,
2932,
29110,
6708,
8863,
202,
202,
1884,
261,
21847,
425,
273,
14302,
281,
18,
2452,
5621,
425,
18,
5332,
7417,
3471,
5621,
13,
202,
202,
95,
1082,
202,
77,
67,
1355,
2
] |
"Check if '" + src[i] + "' normalized to '" + dest[i] + "'", dest[i], FilenameUtils.normalize(src[i]));
|
"Check if '" + src[i] + "' normalized to '" + destStr + "', was '" + resultStr + "'", destStr, resultStr);
|
public void testNormalize() throws Exception { String[] src = { "", "/", "///", "/foo", "/foo//", "/./", "/foo/./", "/foo/./bar", "/foo/../bar", "/foo/../bar/../baz", "/foo/bar/../../baz", "/././", "/foo/./../bar", "/foo/.././bar/", "//foo//./bar", "/../", "/foo/../../" }; String[] dest = { "", "/", "/", "/foo", "/foo/", "/", "/foo/", "/foo/bar", "/bar", "/baz", "/baz", "/", "/bar", "/bar/", "/foo/bar", null, null }; assertEquals("Oops, test writer goofed", src.length, dest.length); for (int i = 0; i < src.length; i++) { assertEquals( "Check if '" + src[i] + "' normalized to '" + dest[i] + "'", dest[i], FilenameUtils.normalize(src[i])); } }
|
49302 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49302/5964ce6decf3d7ab3efb7e1a9852b2f85a03ec6d/FilenameUtilsTestCase.java/clean/src/test/org/apache/commons/io/FilenameUtilsTestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
14380,
1435,
1216,
1185,
288,
3639,
514,
8526,
1705,
273,
5411,
288,
7734,
23453,
7734,
2206,
3113,
7734,
16177,
19,
3113,
7734,
2206,
11351,
3113,
7734,
2206,
11351,
759,
3113,
7734,
2206,
18,
19,
3113,
7734,
2206,
11351,
15865,
19,
3113,
7734,
2206,
11351,
15865,
19,
3215,
3113,
7734,
2206,
11351,
19,
6216,
3215,
3113,
7734,
2206,
11351,
19,
6216,
3215,
19,
6216,
70,
1561,
3113,
7734,
2206,
11351,
19,
3215,
19,
16644,
70,
1561,
3113,
7734,
2206,
18,
15865,
19,
3113,
7734,
2206,
11351,
15865,
19,
6216,
3215,
3113,
7734,
2206,
11351,
19,
6216,
18,
19,
3215,
19,
3113,
7734,
16177,
11351,
759,
18,
19,
3215,
3113,
7734,
2206,
6216,
3113,
7734,
2206,
11351,
19,
6216,
838,
4898,
289,
31,
3639,
514,
8526,
1570,
273,
5411,
288,
7734,
23453,
7734,
2206,
3113,
7734,
2206,
3113,
7734,
2206,
11351,
3113,
7734,
2206,
11351,
19,
3113,
7734,
2206,
3113,
7734,
2206,
11351,
19,
3113,
7734,
2206,
11351,
19,
3215,
3113,
7734,
2206,
3215,
3113,
7734,
2206,
70,
1561,
3113,
7734,
2206,
70,
1561,
3113,
7734,
2206,
3113,
7734,
2206,
3215,
3113,
7734,
2206,
3215,
19,
3113,
7734,
2206,
11351,
19,
3215,
3113,
7734,
446,
16,
7734,
446,
289,
31,
3639,
1815,
8867,
2932,
51,
4473,
16,
1842,
2633,
1960,
792,
329,
3113,
1705,
18,
2469,
16,
1570,
18,
2469,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1705,
18,
2469,
31,
277,
27245,
288,
5411,
1815,
8867,
12,
7734,
315,
1564,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
14380,
1435,
1216,
1185,
288,
3639,
514,
8526,
1705,
273,
5411,
288,
7734,
23453,
7734,
2206,
3113,
7734,
16177,
19,
3113,
7734,
2206,
11351,
3113,
7734,
2206,
11351,
759,
3113,
7734,
2206,
18,
19,
3113,
7734,
2206,
11351,
15865,
19,
3113,
7734,
2206,
11351,
15865,
19,
3215,
3113,
7734,
2206,
11351,
19,
6216,
3215,
3113,
7734,
2206,
11351,
19,
6216,
3215,
19,
6216,
70,
1561,
3113,
7734,
2206,
11351,
19,
3215,
19,
16644,
70,
1561,
3113,
7734,
2206,
18,
15865,
19,
3113,
7734,
2206,
11351,
15865,
19,
6216,
3215,
3113,
7734,
2206,
11351,
19,
6216,
18,
19,
3215,
19,
3113,
7734,
16177,
11351,
759,
18,
19,
3215,
3113,
7734,
2206,
6216,
3113,
7734,
2206,
11351,
2
] |
imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "A_AddTemplateLib", new String[] {newLibName} );
|
imcref.getDatabase().executeUpdateProcedure( "A_AddTemplateLib", new String[] {newLibName} );
|
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { UserDomainObject user = Utility.getLoggedOnUser(req); if (!isUserAuthorized(req, res, user)) { return; } // Lets get the standard SESSION parameters Properties params = this.getStandardParameters(req); // Lets get serverinformation ImcmsServices imcref = Imcms.getServices(); // Lets check that the user is an administrator DocumentMapper documentMapper = imcref.getDocumentMapper(); DocumentDomainObject document = documentMapper.getDocument(Integer.parseInt( params.getProperty( "META_ID" ) )); if (user.canEdit( document ) == false) { String header = "ConfAdmin servlet. "; new ConfError(req, res, header, 6, user ); return; } // ********* ADD SELF_REGISTERED USERS ******** if (req.getParameter("ADD_SELF_REG_ROLE") != null) { // Lets check if the user is a superadmin if (Administrator.checkAdminRights(req) == false) { new ConfError(req, res, "ConfAdmin", 64, user ); return; } // Lets get the role id the user wants to add String selfRegRoleId = req.getParameter("ALL_SELF_REGISTER_ROLES"); if (selfRegRoleId == null) { String header = "ConfAdmin servlet. "; new ConfError(req, res, header, 86, user ); return; } String roleName = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "RoleGetName", new String[] {selfRegRoleId} ); imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "A_SelfRegRoles_AddNew", new String[] {params.getProperty( "META_ID" ), selfRegRoleId, roleName} ); res.sendRedirect("ConfAdmin?ADMIN_TYPE=SELF_REGISTER"); return; } // ********* DELETE A SELF_REGISTERED ROLE ******** if (req.getParameter("DEL_SELF_REG_ROLE") != null) { // Lets check if the user is a superadmin if (Administrator.checkAdminRights(req) == false) { new ConfError(req, res, "ConfAdmin", 64, user ); return; } // Lets get the role id the user wants to delete String selfRegRoleId = req.getParameter("CURR_SELF_REGISTER_ROLES"); if (selfRegRoleId == null) { String header = "ConfAdmin servlet. "; new ConfError(req, res, header, 87, user ); return; } imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "A_SelfRegRoles_Delete", new String[] {params.getProperty( "META_ID" ), selfRegRoleId} ); res.sendRedirect("ConfAdmin?ADMIN_TYPE=SELF_REGISTER"); return; } // ********* REGISTER NEW TEMPLATE ******** if (req.getParameter("REGISTER_TEMPLATE_LIB") != null) { log("Nu lgger vi till ett nytt set"); // Lets get the new library name and validate it String newLibName = req.getParameter("TEMPLATE_LIB_NAME"); if (newLibName == null) { String header = "ConfAdmin servlet. "; new ConfError(req, res, header, 80, user ); return; } newLibName = super.verifySqlText(newLibName); // Lets check if we already have a templateset with that name String libNameExists = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "A_FindTemplateLib", new String[] {newLibName} ); if (!libNameExists.equalsIgnoreCase("-1")) { String header = "ConfAdmin servlet. "; new ConfError(req, res, header, 84, user ); return; } imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "A_AddTemplateLib", new String[] {newLibName} ); // Lets copy the original folders to the new foldernames int metaId = getMetaId(req); FileManager fileObj = new FileManager(); File templateSrc = new File(imcref.getExternalTemplateFolder(metaId, user), "original"); File imageSrc = new File(RmiConf.getImagePathForExternalDocument(imcref, metaId, user), "original"); File templateTarget = new File(imcref.getExternalTemplateFolder(metaId, user), newLibName); File imageTarget = new File(RmiConf.getImagePathForExternalDocument(imcref, metaId, user), newLibName); fileObj.copyDirectory(templateSrc, templateTarget); fileObj.copyDirectory(imageSrc, imageTarget); res.sendRedirect("ConfAdmin?ADMIN_TYPE=META"); return; } // ********* PREPARE ADMIN TEMPLATES ******** if (req.getParameter("UPLOAD_CONF") != null) { String libName = (req.getParameter("TEMPLATE_NAME") == null) ? "" : (req.getParameter("TEMPLATE_NAME")); String uploadType = (req.getParameter("UPLOAD_TYPE") == null) ? "" : (req.getParameter("UPLOAD_TYPE")); params.setProperty("TEMPLATE_NAME", libName); params.setProperty("UPLOAD_TYPE", uploadType); String url = "ConfAdmin?ADMIN_TYPE=META"; url += "&setname=" + libName + "&UPLOAD_TYPE=" + uploadType; res.sendRedirect(url); return; } // ********* SET TEMPLATE LIB FOR A CONFERENCE ******** if (req.getParameter("SET_TEMPLATE_LIB") != null) { log("Lets set a new template set for the conference"); // Lets get the new library name and validate it String newLibName = req.getParameter("TEMPLATE_ID"); if (newLibName == null) { String header = "ConfAdmin servlet. "; new ConfError(req, res, header, 80, user ); return; } // Lets find the selected template in the database and get its id // if not found, -1 will be returned String templateId = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "A_GetTemplateIdFromName", new String[] {newLibName} ); if (templateId.equalsIgnoreCase("-1")) { String header = "ConfAdmin servlet. "; new ConfError(req, res, header, 81, user ); return; } // Ok, lets update the conference with this new templateset. imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "A_SetTemplateLib", new String[] {params.getProperty( "META_ID" ), templateId} ); res.sendRedirect("ConfAdmin?ADMIN_TYPE=META"); return; } // SET TEMPLATE LIB // ********* DELETE REPLY ******** if (req.getParameter("DELETE_REPLY") != null) { log("Nu tar vi bort inlgg"); // Lets get the discusssion id String discId = params.getProperty("DISC_ID"); // Lets get all the replies id:s String[] repliesIds = this.getDelReplyParameters(req); // Lets delete all marked replies. Observe that the first one wont be deleted! // if the user wants to delete the first one then he has to delete the discussion if (repliesIds != null) { for (int i = 0; i < repliesIds.length; i++) { imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "A_DeleteReply", new String[] {discId, repliesIds[i]} ); } } res.sendRedirect("ConfAdmin?ADMIN_TYPE=REPLY"); return; } // ********* RESAVE REPLY ******** if (req.getParameter("RESAVE_REPLY") != null) { // Lets get all the replies id:s String[] repliesIds = this.getDelReplyParameters(req); // Lets get the seleted textboxes headers and texts values. if (repliesIds != null) { for (int i = 0; i < repliesIds.length; i++) { String newText = req.getParameter("TEXT_BOX_" + repliesIds[i]); if (newText == null || newText.equals( "" )) { ConfError err = new ConfError(); newText = err.getErrorMessage(req, 70); } String newHeader = req.getParameter("REPLY_HEADER_" + repliesIds[i]); if (newHeader == null || newHeader.equals( "" )) { ConfError err = new ConfError(); newHeader = err.getErrorMessage(req, 71); } // Lets validate the new text for the sql question newHeader = super.verifySqlText(newHeader); newText = super.verifySqlText(newText); imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "A_UpdateReply", new String[] {repliesIds[i], newHeader, newText} ); } } res.sendRedirect("ConfAdmin?ADMIN_TYPE=REPLY"); return; } // ********* DELETE DISCUSSION ******** if (req.getParameter("DELETE_DISCUSSION") != null) { // Lets get all the discussion id:s String[] discIds = this.getDelDiscParameters(req); // Lets delete all the discussion and all the replies in that discussion. if (discIds != null) { for (int i = 0; i < discIds.length; i++) { imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "A_DeleteDiscussion", new String[] {discIds[i]} ); } } res.sendRedirect("ConfAdmin?ADMIN_TYPE=DISCUSSION"); return; } // ********* DELETE FORUM ******** if (req.getParameter("DELETE_FORUM") != null) { log("Nu tar vi bort ett forum"); params = this.getDelForumParameters(req, params); // Lets get the forum_id and set our session object before updating String aForumId = params.getProperty("FORUM_ID"); // Lets get all discussions for that forum and delete those before deleting the forum // GetAllDiscsInForum @aForumId int String[] discs = imcref.getExceptionUnhandlingDatabase().executeArrayProcedure( "A_GetAllDiscsInForum", new String[] {aForumId} ); if (discs != null) { for (int i = 0; i < discs.length; i++) { imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "A_DeleteDiscussion", new String[] {discs[i]} ); } } // DeleteForum @aForumId int imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "A_DeleteForum", new String[] {params.getProperty( "FORUM_ID" )} ); this.doGet(req, res); return; } // ********* ADD FORUM ******** if (req.getParameter("ADD_FORUM") != null) { log("Lets add a forum"); // Lets get addForum parameters params = this.getAddForumParameters(req, params); // Lets verify the parameters for the sql questions. params = super.verifyForSql(params); // Lets check if a forum with that name exists String foundIt = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "A_FindForumName", new String[] {params.getProperty( "META_ID" ), params.getProperty( "NEW_FORUM_NAME" )} ); if (!foundIt.equalsIgnoreCase("-1")) { String header = "ConfAdmin servlet. "; new ConfError(req, res, header, 85, user ); return; } // AddNewForum @meta_id int, @forum_name varchar(255), @archive_mode char, @archive_time int final String archiveMode = "A"; final String archiveTime = "30"; imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "A_AddNewForum", new String[] {params.getProperty( "META_ID" ), params.getProperty( "NEW_FORUM_NAME" ), archiveMode, archiveTime} ); this.doGet(req, res); return; } // ********* CHANGE FORUM NAME ******** if (req.getParameter("CHANGE_FORUM_NAME") != null) { // Lets get addForum parameters params = this.getRenameForumParameters(req, params); // Lets verify the parameters for the sql questions. params = super.verifyForSql(params); imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "A_RenameForum", new String[] {params.getProperty( "FORUM_ID" ), params.getProperty( "NEW_FORUM_NAME" )} ); this.doGet(req, res); return; } // ********* SET SHOW_DISCUSSION_COUNTER ******** if (req.getParameter("SHOW_DISCUSSION_NBR") != null) { log("Lets set the nbr of discussions to show"); // Lets get addForum parameters params = this.getShowDiscussionNbrParameters(req, params); imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "A_SetNbrOfDiscsToShow", new String[] {params.getProperty( "FORUM_ID" ), params.getProperty( "NBR_OF_DISCS_TO_SHOW" )} ); res.sendRedirect("ConfAdmin?ADMIN_TYPE=FORUM"); return; } } // DoPost
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/d057ca863273084a5224bf799ac53247a0f2f321/ConfAdmin.java/buggy/server/src/com/imcode/imcms/servlet/conference/ConfAdmin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
5411,
1216,
16517,
16,
1860,
288,
3639,
2177,
3748,
921,
729,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
3658,
1769,
3639,
309,
16051,
291,
1299,
15341,
12,
3658,
16,
400,
16,
729,
3719,
288,
5411,
327,
31,
3639,
289,
3639,
368,
511,
2413,
336,
326,
4529,
10307,
1472,
3639,
6183,
859,
273,
333,
18,
588,
8336,
2402,
12,
3658,
1769,
3639,
368,
511,
2413,
336,
1438,
13117,
3639,
2221,
6851,
5676,
709,
71,
1734,
273,
2221,
6851,
18,
588,
5676,
5621,
3639,
368,
511,
2413,
866,
716,
326,
729,
353,
392,
22330,
3639,
4319,
4597,
1668,
4597,
273,
709,
71,
1734,
18,
588,
2519,
4597,
5621,
3639,
4319,
3748,
921,
1668,
273,
1668,
4597,
18,
588,
2519,
12,
4522,
18,
2670,
1702,
12,
859,
18,
588,
1396,
12,
315,
19294,
67,
734,
6,
262,
262,
1769,
3639,
309,
261,
1355,
18,
4169,
4666,
12,
1668,
262,
422,
629,
13,
288,
5411,
514,
1446,
273,
315,
3976,
4446,
8100,
18,
13636,
5411,
394,
9675,
668,
12,
3658,
16,
400,
16,
1446,
16,
1666,
16,
729,
11272,
5411,
327,
31,
3639,
289,
3639,
368,
380,
1644,
11689,
29918,
67,
27511,
2056,
7443,
55,
380,
27243,
3639,
309,
261,
3658,
18,
588,
1662,
2932,
8355,
67,
26280,
67,
5937,
67,
16256,
7923,
480,
446,
13,
288,
5411,
368,
511,
2413,
866,
309,
326,
729,
353,
279,
2240,
3666,
5411,
309,
261,
4446,
14207,
18,
1893,
4446,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
5411,
1216,
16517,
16,
1860,
288,
3639,
2177,
3748,
921,
729,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
3658,
1769,
3639,
309,
16051,
291,
1299,
15341,
12,
3658,
16,
400,
16,
729,
3719,
288,
5411,
327,
31,
3639,
289,
3639,
368,
511,
2413,
336,
326,
4529,
10307,
1472,
3639,
6183,
859,
273,
333,
18,
588,
8336,
2402,
12,
3658,
1769,
3639,
368,
511,
2413,
336,
1438,
13117,
3639,
2221,
6851,
5676,
709,
71,
1734,
273,
2221,
6851,
18,
588,
5676,
5621,
3639,
368,
511,
2413,
866,
716,
326,
729,
353,
392,
22330,
3639,
4319,
4597,
1668,
4597,
273,
709,
71,
1734,
18,
588,
2519,
4597,
2
] |
catch ( ValidationValueException e1 )
|
else
|
protected Map getParsedParameters( IViewerReportDesignHandle design, Collection parameterList, HttpServletRequest request, InputOptions options ) throws ReportServiceException { Map params = new HashMap( ); if ( parameterList == null || this.parametersAsString == null ) return params; for ( Iterator iter = parameterList.iterator( ); iter.hasNext( ); ) { ScalarParameterHandle parameter = null; Object parameterObj = iter.next( ); if ( parameterObj instanceof ScalarParameterHandle ) { parameter = (ScalarParameterHandle) parameterObj; } // if current object is not Scalar parameter handle, then skip it if ( parameter == null ) continue; String paramName = parameter.getName( ); Object paramValueObj = this.parametersAsString.get( paramName ); if ( paramValueObj != null ) { try { try { // Convert locale string to object paramValueObj = ParameterValidationUtil.validate( parameter.getDataType( ), parameter .getPattern( ), paramValueObj .toString( ), locale ); } catch ( ValidationValueException e1 ) { // Convert string to object using default local paramValueObj = ParameterValidationUtil .validate( parameter.getDataType( ), ParameterValidationUtil.DEFAULT_DATETIME_FORMAT, paramValueObj.toString( ) ); } params.put( paramName, paramValueObj ); } catch ( ValidationValueException e ) { // if in RUN mode, then throw exception directly if ( ParameterAccessor.SERVLET_PATH_RUN .equalsIgnoreCase( request.getServletPath( ) ) ) { this.exception = e; break; } } } else { params.put( paramName, null ); } } return params; }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/c402a69bbfa1b94f3bf40c66d93b00e0a1a42c4d/ViewerAttributeBean.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1635,
25406,
2402,
12,
467,
18415,
4820,
15478,
3259,
8281,
16,
1082,
202,
2532,
1569,
682,
16,
9984,
590,
16,
1082,
202,
1210,
1320,
702,
262,
1216,
8706,
15133,
202,
95,
202,
202,
863,
859,
273,
394,
4317,
12,
11272,
202,
202,
430,
261,
1569,
682,
422,
446,
747,
333,
18,
3977,
8092,
422,
446,
262,
1082,
202,
2463,
859,
31,
202,
202,
1884,
261,
4498,
1400,
273,
1569,
682,
18,
9838,
12,
11272,
1400,
18,
5332,
2134,
12,
11272,
262,
202,
202,
95,
1082,
202,
13639,
1662,
3259,
1569,
273,
446,
31,
1082,
202,
921,
1569,
2675,
273,
1400,
18,
4285,
12,
11272,
1082,
202,
430,
261,
1569,
2675,
1276,
15791,
1662,
3259,
262,
1082,
202,
95,
9506,
202,
6775,
273,
261,
13639,
1662,
3259,
13,
1569,
2675,
31,
1082,
202,
97,
1082,
202,
759,
309,
783,
733,
353,
486,
15791,
1569,
1640,
16,
1508,
2488,
518,
1082,
202,
430,
261,
1569,
422,
446,
262,
9506,
202,
17143,
31,
1082,
202,
780,
11466,
273,
1569,
18,
17994,
12,
11272,
1082,
202,
921,
20250,
2675,
273,
333,
18,
3977,
8092,
18,
588,
12,
11466,
11272,
1082,
202,
430,
261,
20250,
2675,
480,
446,
262,
1082,
202,
95,
9506,
202,
698,
9506,
202,
95,
6862,
202,
698,
6862,
202,
95,
25083,
202,
759,
4037,
2573,
533,
358,
733,
25083,
202,
891,
620,
2675,
273,
5498,
4354,
1304,
18,
5662,
12,
6862,
9506,
202,
6775,
18,
588,
6273,
12,
262,
16,
1569,
6862,
25083,
202,
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,
1635,
25406,
2402,
12,
467,
18415,
4820,
15478,
3259,
8281,
16,
1082,
202,
2532,
1569,
682,
16,
9984,
590,
16,
1082,
202,
1210,
1320,
702,
262,
1216,
8706,
15133,
202,
95,
202,
202,
863,
859,
273,
394,
4317,
12,
11272,
202,
202,
430,
261,
1569,
682,
422,
446,
747,
333,
18,
3977,
8092,
422,
446,
262,
1082,
202,
2463,
859,
31,
202,
202,
1884,
261,
4498,
1400,
273,
1569,
682,
18,
9838,
12,
11272,
1400,
18,
5332,
2134,
12,
11272,
262,
202,
202,
95,
1082,
202,
13639,
1662,
3259,
1569,
273,
446,
31,
1082,
202,
921,
1569,
2675,
273,
1400,
18,
4285,
12,
11272,
1082,
202,
430,
261,
1569,
2675,
1276,
15791,
1662,
3259,
262,
1082,
2
] |
filter = new AffineRable8Bit(filter, at); handleColorInterpolationFilters(filter, filterElement);
|
public Filter createFilter(BridgeContext ctx, Element filterElement, Element filteredElement, GraphicsNode filteredNode, Filter inputFilter, Rectangle2D filterRegion, Map filterMap) { // 'xlink:href' attribute String uriStr = XLinkSupport.getXLinkHref(filterElement); if (uriStr.length() == 0) { throw new BridgeException(filterElement, ERR_ATTRIBUTE_MISSING, new Object[] {"xlink:href"}); } // // According the the SVG specification, feImage behaves like // <image> if it references an SVG document or a raster image // and it behaves like a <use> if it references a document // fragment. // // To provide this behavior, depending on whether the uri // contains a fragment identifier, we create either an // <image> or a <use> element and request the corresponding // bridges to build the corresponding GraphicsNode for us. // // Then, we take care of the possible transformation needed // from objectBoundingBox space to user space. // Document document = filterElement.getOwnerDocument(); boolean isUse = (uriStr.indexOf("#") != -1); Element contentElement = null; if (isUse) { contentElement = document.createElementNS(SVG_NAMESPACE_URI, SVG_USE_TAG); } else { contentElement = document.createElementNS(SVG_NAMESPACE_URI, SVG_IMAGE_TAG); } contentElement.setAttributeNS(XLinkSupport.XLINK_NAMESPACE_URI, XMLConstants.XLINK_PREFIX + ":" + SVG_HREF_ATTRIBUTE, uriStr); Element proxyElement = document.createElementNS(SVG_NAMESPACE_URI, SVG_G_TAG); proxyElement.appendChild(contentElement); // feImage's default region is that of the filter chain. Rectangle2D defaultRegion = filterRegion; // Compute the transform from object bounding box to user // space if needed. AffineTransform at = new AffineTransform(); // 'primitiveUnits' attribute - default is userSpaceOnUse short coordSystemType; Element filterDefElement = (Element)(filterElement.getParentNode()); boolean isBBox = false; String s = SVGUtilities.getChainableAttributeNS (filterDefElement, null, SVG_PRIMITIVE_UNITS_ATTRIBUTE, ctx); if (s.length() == 0) { coordSystemType = SVGUtilities.USER_SPACE_ON_USE; } else { coordSystemType = SVGUtilities.parseCoordinateSystem (filterDefElement, SVG_PRIMITIVE_UNITS_ATTRIBUTE, s); } if (coordSystemType == SVGUtilities.OBJECT_BOUNDING_BOX) { isBBox = true; at = SVGUtilities.toObjectBBox(at, filteredNode); } // get filter primitive chain region Rectangle2D primitiveRegionUserSpace = SVGUtilities.convertFilterPrimitiveRegion(filterElement, filteredElement, filteredNode, defaultRegion, filterRegion, ctx); Rectangle2D primitiveRegion = primitiveRegionUserSpace; if (isBBox) { try { AffineTransform ati = at.createInverse(); primitiveRegion = ati.createTransformedShape(primitiveRegion).getBounds2D(); } catch (NoninvertibleTransformException nite) { // Should never happen, seem above throw new Error(); } } contentElement.setAttributeNS(null, SVG_X_ATTRIBUTE, "" + primitiveRegion.getX()); contentElement.setAttributeNS(null, SVG_Y_ATTRIBUTE, "" + primitiveRegion.getY()); contentElement.setAttributeNS(null, SVG_WIDTH_ATTRIBUTE, "" + primitiveRegion.getWidth()); contentElement.setAttributeNS(null, SVG_HEIGHT_ATTRIBUTE, "" + primitiveRegion.getHeight()); // System.err.println(">>>>>>>>>>>> primitiveRegion : " + primitiveRegion); // System.err.println(">>>>>>>>>>>> at : " + at); GraphicsNode node = ctx.getGVTBuilder().build(ctx, proxyElement); Filter filter = node.getGraphicsNodeRable(true); filter = new AffineRable8Bit(filter, at); // handle the 'color-interpolation-filters' property handleColorInterpolationFilters(filter, filterElement); filter = new PadRable8Bit(filter, primitiveRegionUserSpace, PadMode.ZERO_PAD); // update the filter Map updateFilterMap(filterElement, filter, filterMap); return filter; }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/4477fd045a545bba09c2d0c375bf84cd55f97c5b/SVGFeImageElementBridge.java/clean/sources/org/apache/batik/bridge/SVGFeImageElementBridge.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1034,
273,
394,
23906,
558,
54,
429,
28,
5775,
12,
2188,
16,
622,
1769,
282,
1640,
2957,
31516,
5422,
12,
2188,
16,
1034,
1046,
1769,
225,
1034,
273,
394,
23906,
558,
54,
429,
28,
5775,
12,
2188,
16,
622,
1769,
282,
1640,
2957,
31516,
5422,
12,
2188,
16,
1034,
1046,
1769,
225,
1034,
273,
394,
23906,
558,
54,
429,
28,
5775,
12,
2188,
16,
622,
1769,
282,
1640,
2957,
31516,
5422,
12,
2188,
16,
1034,
1046,
1769,
225,
1034,
273,
394,
23906,
558,
54,
429,
28,
5775,
12,
2188,
16,
622,
1769,
282,
1640,
2957,
31516,
5422,
12,
2188,
16,
1034,
1046,
1769,
225,
1071,
2188,
273,
394,
23906,
558,
54,
429,
28,
5775,
12,
2188,
16,
622,
1769,
282,
1640,
2957,
31516,
5422,
12,
2188,
16,
1034,
1046,
1769,
225,
4008,
2188,
273,
394,
23906,
558,
54,
429,
28,
5775,
12,
2188,
16,
622,
1769,
282,
1640,
2957,
31516,
5422,
12,
2188,
16,
1034,
1046,
1769,
225,
752,
1586,
12,
13691,
1042,
2188,
273,
394,
23906,
558,
54,
429,
28,
5775,
12,
2188,
16,
622,
1769,
282,
1640,
2957,
31516,
5422,
12,
2188,
16,
1034,
1046,
1769,
225,
1103,
16,
2188,
273,
394,
23906,
558,
54,
429,
28,
5775,
12,
2188,
16,
622,
1769,
282,
1640,
2957,
31516,
5422,
12,
2188,
16,
1034,
1046,
1769,
225,
1034,
273,
394,
23906,
558,
54,
429,
28,
5775,
12,
2188,
16,
622,
1769,
282,
1640,
2957,
31516,
5422,
12,
2188,
16,
1034,
1046,
1769,
225,
1034,
273,
394,
23906,
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,
1034,
273,
394,
23906,
558,
54,
429,
28,
5775,
12,
2188,
16,
622,
1769,
282,
1640,
2957,
31516,
5422,
12,
2188,
16,
1034,
1046,
1769,
225,
1034,
273,
394,
23906,
558,
54,
429,
28,
5775,
12,
2188,
16,
622,
1769,
282,
1640,
2957,
31516,
5422,
12,
2188,
16,
1034,
1046,
1769,
225,
1034,
273,
394,
23906,
558,
54,
429,
28,
5775,
12,
2188,
16,
622,
1769,
282,
1640,
2957,
31516,
5422,
12,
2188,
16,
1034,
1046,
1769,
225,
1034,
273,
394,
23906,
558,
54,
429,
28,
5775,
12,
2188,
16,
622,
1769,
282,
1640,
2957,
31516,
5422,
12,
2188,
16,
1034,
1046,
1769,
225,
1071,
2188,
273,
394,
23906,
558,
54,
429,
28,
5775,
12,
2188,
16,
622,
1769,
2
] |
|
logger.debug("Caught an exception while logging in RingPlacer");
|
public void placeFusedRing(Ring ring, AtomContainer sharedAtoms, Point2d sharedAtomsCenter, Vector2d ringCenterVector, double bondLength ) { Point2d ringCenter = new Point2d(sharedAtomsCenter); double radius = getNativeRingRadius(ring, bondLength); double newRingPerpendicular = Math.sqrt(Math.pow(radius, 2) - Math.pow(bondLength/2, 2)); ringCenterVector.normalize(); if (debug) System.out.println("placeFusedRing->: ringCenterVector.length()" + ringCenterVector.length()); ringCenterVector.scale(newRingPerpendicular); ringCenter.add(ringCenterVector); Atom bondAtom1 = sharedAtoms.getAtomAt(0); Atom bondAtom2 = sharedAtoms.getAtomAt(1); Vector2d bondAtom1Vector = new Vector2d(bondAtom1.getPoint2D()); Vector2d bondAtom2Vector = new Vector2d(bondAtom2.getPoint2D()); Vector2d originRingCenterVector = new Vector2d(ringCenter); bondAtom1Vector.sub(originRingCenterVector); bondAtom2Vector.sub(originRingCenterVector); double occupiedAngle = bondAtom1Vector.angle(bondAtom2Vector); double remainingAngle = (2 * Math.PI) - occupiedAngle; double addAngle = remainingAngle / (ring.getRingSize()-1); if (debug) System.out.println("placeFusedRing->occupiedAngle: " + Math.toDegrees(occupiedAngle)); if (debug) System.out.println("placeFusedRing->remainingAngle: " + Math.toDegrees(remainingAngle)); if (debug) System.out.println("placeFusedRing->addAngle: " + Math.toDegrees(addAngle)); Atom startAtom; double centerX = ringCenter.x; double centerY = ringCenter.y; double xDiff = bondAtom1.getX2D() - bondAtom2.getX2D(); double yDiff = bondAtom1.getY2D() - bondAtom2.getY2D(); double startAngle;; int direction = 1; // if bond is vertical if (xDiff == 0) { if (debug) System.out.println("placeFusedRing->Bond is vertical"); //starts with the lower Atom if (bondAtom1.getY2D() > bondAtom2.getY2D()) { startAtom = bondAtom1; } else { startAtom = bondAtom2; } //changes the drawing direction if (centerX < bondAtom1.getX2D()) { direction = 1; } else { direction = -1; } } // if bond is not vertical else { //starts with the left Atom if (bondAtom1.getX2D() > bondAtom2.getX2D()) { startAtom = bondAtom1; } else { startAtom = bondAtom2; } //changes the drawing direction if (centerY - bondAtom1.getY2D() > (centerX - bondAtom1.getX2D()) * yDiff / xDiff) { direction = 1; } else { direction = -1; } } startAngle = GeometryTools.getAngle(startAtom.getX2D() - ringCenter.x, startAtom.getY2D() - ringCenter.y); Atom currentAtom = startAtom; // determine first bond in Ring int k = 0; for (k = 0; k < ring.getElectronContainerCount(); k++) { if (ring.getElectronContainerAt(k) instanceof Bond) break; } Bond currentBond = (Bond)sharedAtoms.getElectronContainerAt(k); Vector atomsToDraw = new Vector(); for (int i = 0; i < ring.getBondCount() - 2; i++) { currentBond = ring.getNextBond(currentBond, currentAtom); currentAtom = currentBond.getConnectedAtom(currentAtom); atomsToDraw.addElement(currentAtom); } addAngle = addAngle * direction; if (debug) { try { System.out.println("placeFusedRing->startAngle: " + Math.toDegrees(startAngle)); System.out.println("placeFusedRing->addAngle: " + Math.toDegrees(addAngle)); System.out.println("placeFusedRing->startAtom is: " + (molecule.getAtomNumber(startAtom) + 1)); System.out.println("AtomsToDraw: " + atomPlacer.listNumbers(molecule, atomsToDraw)); } catch(Exception exc) { } } atomPlacer.populatePolygonCorners(atomsToDraw, ringCenter, startAngle, addAngle, radius); }
|
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/ef5fe2d9d843d2cbe1f19850d54d98bf9a2b523f/RingPlacer.java/buggy/src/org/openscience/cdk/layout/RingPlacer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
1194,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
918,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
3166,
42,
3668,
10369,
12,
10369,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
9221,
16,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
7149,
2170,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
5116,
14280,
16,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
4686,
22,
72,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
5116,
14280,
8449,
16,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
5589,
22,
72,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
9221,
8449,
5018,
16,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
741,
440,
12970,
693,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
8427,
1782,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
262,
202,
95,
202,
202,
2148,
22,
72,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
9221,
8449,
4901,
18,
4148,
2932,
24512,
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,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
1194,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
918,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
3166,
42,
3668,
10369,
12,
10369,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
9221,
16,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
7149,
2170,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
5116,
14280,
16,
4901,
18,
4148,
2932,
24512,
392,
1520,
1323,
2907,
316,
25463,
1749,
10598,
8863,
4686,
22,
72,
4901,
2
] |
|
{ super.log(msg) ; }
|
{ super.log(msg) ; }
|
public void log(String msg) { //if(msg == null)msg="null"; super.log(msg) ; //System.out.println("PostCardServlet: " + msg) ; }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/PostcardServlet.java/buggy/servlets/PostcardServlet.java
|
[
1,
8585,
326,
22398,
316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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
613,
12,
780,
1234,
13,
202,
95,
202,
202,
759,
430,
12,
3576,
422,
446,
13,
3576,
1546,
2011,
14432,
202,
202,
9565,
18,
1330,
12,
3576,
13,
274,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
3349,
6415,
4745,
30,
315,
397,
1234,
13,
274,
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
] |
public Set execute( MavenProject project ) throws Exception
|
public Set execute( MavenProject project, PluginDescriptor pluginDescriptor ) throws PluginToolsException
|
public Set execute( MavenProject project ) throws Exception { Map scriptFilesKeyedByBasedir = gatherScriptSourcesByBasedir( project.getScriptSourceRoots(), getScriptFileExtension() ); Set mojoDescriptors = extractMojoDescriptors( scriptFilesKeyedByBasedir ); return mojoDescriptors; }
|
48791 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48791/24c6328ad361f8e709e2b3fddefd9cde220a0628/AbstractScriptedMojoDescriptorExtractor.java/buggy/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/extractor/AbstractScriptedMojoDescriptorExtractor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1000,
1836,
12,
17176,
4109,
1984,
262,
3639,
1216,
1185,
565,
288,
3639,
1635,
2728,
2697,
653,
18696,
2171,
1214,
273,
11090,
3651,
8628,
858,
2171,
1214,
12,
1984,
18,
588,
3651,
1830,
17540,
9334,
28524,
1377,
22611,
812,
3625,
1435,
11272,
3639,
1000,
312,
10007,
12705,
273,
2608,
49,
10007,
12705,
12,
2728,
2697,
653,
18696,
2171,
1214,
11272,
3639,
327,
312,
10007,
12705,
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,
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8628,
858,
2171,
1214,
12,
1984,
18,
588,
3651,
1830,
17540,
9334,
28524,
1377,
22611,
812,
3625,
1435,
11272,
3639,
1000,
312,
10007,
12705,
273,
2608,
49,
10007,
12705,
12,
2728,
2697,
653,
18696,
2171,
1214,
11272,
3639,
327,
312,
10007,
12705,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public boolean isSet(org.quickfix.field.LegSecurityAltID field)
|
public boolean isSet(quickfix.field.LegSecurityAltID field)
|
public boolean isSet(org.quickfix.field.LegSecurityAltID field) { return isSetField(field); }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteResponse.java/buggy/src/java/src/quickfix/fix44/QuoteResponse.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
8329,
4368,
10655,
734,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
1769,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
8329,
4368,
10655,
734,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
1769,
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
] |
Map fm = makeFullMap();
|
resetFull();
|
public void testMapIsEmpty() { Map em = makeEmptyMap(); assertEquals("Map.isEmpty() should return true with an empty map", true, em.isEmpty()); Map fm = makeFullMap(); assertEquals("Map.isEmpty() should return false with a non-empty map", false, fm.isEmpty()); }
|
55609 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55609/326f500bb3e288c361bbe80b41c0e22397ba3ab5/TestMap.java/buggy/src/test/org/apache/commons/collections/TestMap.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
863,
2520,
1921,
1435,
288,
3639,
1635,
801,
273,
1221,
1921,
863,
5621,
3639,
1815,
8867,
2932,
863,
18,
291,
1921,
1435,
1410,
327,
638,
598,
392,
1008,
852,
3113,
8227,
638,
16,
801,
18,
291,
1921,
10663,
3639,
2715,
5080,
5621,
3639,
1815,
8867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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
863,
2520,
1921,
1435,
288,
3639,
1635,
801,
273,
1221,
1921,
863,
5621,
3639,
1815,
8867,
2932,
863,
18,
291,
1921,
1435,
1410,
327,
638,
598,
392,
1008,
852,
3113,
8227,
638,
16,
801,
18,
291,
1921,
10663,
3639,
2715,
5080,
5621,
3639,
1815,
8867,
2932,
863,
18,
291,
1921,
1435,
1410,
327,
629,
598,
279,
1661,
17,
5531,
852,
3113,
5397,
629,
16,
10940,
18,
291,
1921,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
dropped = (ClientRequest) completedUnackedRequests.pop();
|
public void finishedClientRequest(ClientRequest get) { ClientRequest dropped = null; synchronized(this) { if(runningPersistentRequests.remove(get)) completedUnackedRequests.push(get); if(completedUnackedRequests.size() > MAX_UNACKED_REQUESTS) { clientRequestsByIdentifier.remove(dropped.getIdentifier()); dropped = (ClientRequest) completedUnackedRequests.pop(); } } if(dropped != null) { dropped.dropped(); } if(get.isPersistentForever()) server.forceStorePersistentRequests(); }
|
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/3175efee7104e8dc04680cf36febcfbe13f79918/FCPClient.java/buggy/src/freenet/node/fcp/FCPClient.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
6708,
1227,
691,
12,
1227,
691,
336,
13,
288,
202,
202,
1227,
691,
14611,
273,
446,
31,
202,
202,
22043,
12,
2211,
13,
288,
1082,
202,
430,
12,
8704,
11906,
6421,
18,
4479,
12,
588,
3719,
9506,
202,
13615,
984,
484,
329,
6421,
18,
6206,
12,
588,
1769,
25083,
202,
430,
12,
13615,
984,
484,
329,
6421,
18,
1467,
1435,
405,
4552,
67,
2124,
3649,
2056,
67,
5519,
55,
13,
288,
9506,
202,
2625,
6421,
27498,
18,
4479,
12,
7285,
1845,
18,
588,
3004,
10663,
9506,
202,
7285,
1845,
273,
261,
1227,
691,
13,
5951,
984,
484,
329,
6421,
18,
5120,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
430,
12,
7285,
1845,
480,
446,
13,
288,
1082,
202,
7285,
1845,
18,
7285,
1845,
5621,
202,
202,
97,
202,
202,
430,
12,
588,
18,
291,
11906,
13573,
502,
10756,
1082,
202,
3567,
18,
5734,
2257,
11906,
6421,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
6708,
1227,
691,
12,
1227,
691,
336,
13,
288,
202,
202,
1227,
691,
14611,
273,
446,
31,
202,
202,
22043,
12,
2211,
13,
288,
1082,
202,
430,
12,
8704,
11906,
6421,
18,
4479,
12,
588,
3719,
9506,
202,
13615,
984,
484,
329,
6421,
18,
6206,
12,
588,
1769,
25083,
202,
430,
12,
13615,
984,
484,
329,
6421,
18,
1467,
1435,
405,
4552,
67,
2124,
3649,
2056,
67,
5519,
55,
13,
288,
9506,
202,
2625,
6421,
27498,
18,
4479,
12,
7285,
1845,
18,
588,
3004,
10663,
9506,
202,
7285,
1845,
273,
261,
1227,
691,
13,
5951,
984,
484,
329,
6421,
18,
5120,
5621,
1082,
202,
97,
202,
202,
97,
202,
202,
430,
12,
7285,
1845,
480,
2
] |
|
public JarURLConnection(URL url)
|
protected JarURLConnection(URL url)
|
public JarURLConnection(URL url) throws MalformedURLException { super(url); String spec = url.getFile(); int bang = spec.indexOf ("!/", 0); if (bang == -1) throw new MalformedURLException (url + ": No `!/' in spec."); // Extact the url for the jar itself. jarFileURL = new URL(spec.substring (0, bang)); // Get the name of the element, if any. element = (bang+2==spec.length() ? null : spec.substring (bang+2)); }
|
1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/36e953e19158aa2f7e16ad8534450b58f07fea36/JarURLConnection.java/clean/libjava/java/net/JarURLConnection.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
15644,
14790,
12,
1785,
880,
13,
565,
1216,
20710,
225,
288,
565,
2240,
12,
718,
1769,
565,
514,
857,
273,
880,
18,
29925,
5621,
565,
509,
324,
539,
273,
857,
18,
31806,
7566,
5,
19,
3113,
374,
1769,
565,
309,
261,
70,
539,
422,
300,
21,
13,
1377,
604,
394,
20710,
261,
718,
397,
6398,
2631,
1375,
5,
2473,
316,
857,
1199,
1769,
565,
368,
6419,
621,
326,
880,
364,
326,
7334,
6174,
18,
565,
22588,
1785,
273,
394,
1976,
12,
2793,
18,
28023,
261,
20,
16,
324,
539,
10019,
565,
368,
968,
326,
508,
434,
326,
930,
16,
309,
1281,
18,
565,
930,
273,
261,
70,
539,
15,
22,
631,
2793,
18,
2469,
1435,
692,
446,
294,
857,
18,
28023,
261,
70,
539,
15,
22,
10019,
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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
22398,
316,
326,
981,
30,
282,
4750,
15644,
14790,
12,
1785,
880,
13,
565,
1216,
20710,
225,
288,
565,
2240,
12,
718,
1769,
565,
514,
857,
273,
880,
18,
29925,
5621,
565,
509,
324,
539,
273,
857,
18,
31806,
7566,
5,
19,
3113,
374,
1769,
565,
309,
261,
70,
539,
422,
300,
21,
13,
1377,
604,
394,
20710,
261,
718,
397,
6398,
2631,
1375,
5,
2473,
316,
857,
1199,
1769,
565,
368,
6419,
621,
326,
880,
364,
326,
7334,
6174,
18,
565,
22588,
1785,
273,
394,
1976,
12,
2793,
18,
28023,
261,
20,
16,
324,
539,
10019,
565,
368,
968,
326,
508,
434,
326,
930,
16,
309,
1281,
18,
565,
930,
273,
261,
70,
539,
15,
22,
631,
2793,
18,
2469,
1435,
692,
446,
2
] |
public Object getMetadataValue(String id, String field)
|
Object getMetadataValue(String id, String field)
|
public Object getMetadataValue(String id, String field) throws FormatException, IOException;
|
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/5601d0fdf7c2300f9d63c82179cfb05d9ddcf080/IFormatReader.java/clean/loci/formats/IFormatReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1033,
11159,
620,
12,
780,
612,
16,
514,
652,
13,
565,
1216,
4077,
503,
16,
1860,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1033,
11159,
620,
12,
780,
612,
16,
514,
652,
13,
565,
1216,
4077,
503,
16,
1860,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
indexDocument.add( unStoredKeyword( "keyword", documentKeyword ) );
|
indexDocument.add( unStoredKeyword( FIELD__KEYWORD, documentKeyword ) );
|
private Document createIndexDocument( DocumentDomainObject document ) { Document indexDocument = new Document(); int documentId = document.getId(); indexDocument.add( Field.Keyword( "meta_id", "" + documentId ) ); indexDocument.add( Field.UnStored( "meta_headline", document.getHeadline() ) ); indexDocument.add( Field.UnStored( "meta_text", document.getMenuText() ) ); indexDocument.add( unStoredKeyword( "doc_type_id", "" + document.getDocumentTypeId() ) ); SectionDomainObject[] sections = document.getSections(); for ( int i = 0; i < sections.length; i++ ) { SectionDomainObject section = sections[i]; indexDocument.add( unStoredKeyword( "section", section.getName() ) ); } if ( null != document.getCreatedDatetime() ) { try { indexDocument.add( unStoredKeyword( "created_datetime", document.getCreatedDatetime() ) ); } catch ( RuntimeException re ) { log.warn( "Indexing document " + documentId, re ); } } addDateField( documentId, indexDocument, "modified_datetime", document.getModifiedDatetime() ); addDateField( documentId, indexDocument, "activated_datetime", document.getPublicationStartDatetime() ); addDateField( documentId, indexDocument, "publication_start_datetime", document.getPublicationStartDatetime() ); addDateField( documentId, indexDocument, "publication_end_datetime", document.getPublicationEndDatetime() ); addDateField( documentId, indexDocument, "archived_datetime", document.getArchivedDatetime() ); indexDocument.add( unStoredKeyword( "status", "" + document.getStatus() ) ); Iterator textsIterator = ApplicationServer.getIMCServiceInterface().getDocumentMapper() .getTexts( documentId ).entrySet().iterator(); while ( textsIterator.hasNext() ) { Map.Entry textEntry = (Map.Entry)textsIterator.next(); String textIndexString = (String)textEntry.getKey(); TextDocumentDomainObject.Text text = (TextDocumentDomainObject.Text)textEntry.getValue(); indexDocument.add( Field.UnStored( "text", text.getText() ) ); indexDocument.add( Field.UnStored( "text" + textIndexString, text.getText() ) ); } CategoryDomainObject[] categories = document.getCategories(); for ( int i = 0; i < categories.length; i++ ) { CategoryDomainObject category = categories[i]; indexDocument.add( unStoredKeyword( "category_id", "" + category.getId() ) ); } String[] documentKeywords = document.getKeywords(); for ( int i = 0; i < documentKeywords.length; i++ ) { String documentKeyword = documentKeywords[i]; indexDocument.add( unStoredKeyword( "keyword", documentKeyword ) ); } DocumentMapper documentMapper = ApplicationServer.getIMCServiceInterface().getDocumentMapper(); String[][] parentDocumentAndMenuIds = documentMapper.getParentDocumentAndMenuIdsForDocument( document ); for ( int i = 0; i < parentDocumentAndMenuIds.length; i++ ) { String parentId = parentDocumentAndMenuIds[i][0]; String menuId = parentDocumentAndMenuIds[i][1]; indexDocument.add( unStoredKeyword( "parent_id", parentId ) ); indexDocument.add( unStoredKeyword( "parent_menu_id", parentId + "_" + menuId ) ); } return indexDocument; }
|
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a0aecf80c6e8535276f1dd5ff342749a8715baf4/DocumentIndex.java/buggy/server/src/imcode/server/document/DocumentIndex.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4319,
25207,
2519,
12,
4319,
3748,
921,
1668,
262,
288,
3639,
4319,
770,
2519,
273,
394,
4319,
5621,
3639,
509,
28573,
273,
1668,
18,
26321,
5621,
3639,
770,
2519,
18,
1289,
12,
2286,
18,
8736,
12,
315,
3901,
67,
350,
3113,
1408,
397,
28573,
262,
11272,
3639,
770,
2519,
18,
1289,
12,
2286,
18,
984,
18005,
12,
315,
3901,
67,
1978,
1369,
3113,
1668,
18,
588,
1414,
1369,
1435,
262,
11272,
3639,
770,
2519,
18,
1289,
12,
2286,
18,
984,
18005,
12,
315,
3901,
67,
955,
3113,
1668,
18,
588,
4599,
1528,
1435,
262,
11272,
3639,
770,
2519,
18,
1289,
12,
640,
18005,
8736,
12,
315,
2434,
67,
723,
67,
350,
3113,
1408,
397,
1668,
18,
588,
2519,
11731,
1435,
262,
11272,
3639,
10092,
3748,
921,
8526,
7178,
273,
1668,
18,
588,
15965,
5621,
3639,
364,
261,
509,
277,
273,
374,
31,
277,
411,
7178,
18,
2469,
31,
277,
9904,
262,
288,
5411,
10092,
3748,
921,
2442,
273,
7178,
63,
77,
15533,
5411,
770,
2519,
18,
1289,
12,
640,
18005,
8736,
12,
315,
3464,
3113,
2442,
18,
17994,
1435,
262,
11272,
3639,
289,
3639,
309,
261,
446,
480,
1668,
18,
588,
6119,
16103,
1435,
262,
288,
5411,
775,
288,
7734,
770,
2519,
18,
1289,
12,
640,
18005,
8736,
12,
315,
4824,
67,
6585,
3113,
1668,
18,
588,
6119,
16103,
1435,
262,
11272,
5411,
289,
1044,
261,
3235,
283,
262,
288,
7734,
613,
18,
8935,
12,
315,
24465,
1668,
315,
397,
28573,
16,
283,
11272,
5411,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4319,
25207,
2519,
12,
4319,
3748,
921,
1668,
262,
288,
3639,
4319,
770,
2519,
273,
394,
4319,
5621,
3639,
509,
28573,
273,
1668,
18,
26321,
5621,
3639,
770,
2519,
18,
1289,
12,
2286,
18,
8736,
12,
315,
3901,
67,
350,
3113,
1408,
397,
28573,
262,
11272,
3639,
770,
2519,
18,
1289,
12,
2286,
18,
984,
18005,
12,
315,
3901,
67,
1978,
1369,
3113,
1668,
18,
588,
1414,
1369,
1435,
262,
11272,
3639,
770,
2519,
18,
1289,
12,
2286,
18,
984,
18005,
12,
315,
3901,
67,
955,
3113,
1668,
18,
588,
4599,
1528,
1435,
262,
11272,
3639,
770,
2519,
18,
1289,
12,
640,
18005,
8736,
12,
315,
2434,
67,
723,
67,
350,
3113,
1408,
397,
1668,
18,
588,
2
] |
public List getServers(String capability, String coordSys){ List servers = getServers(capability); ArrayList retservers = new ArrayList(); for ( int i = 0 ; i < servers.size() ; i++ ) { SpiceDasSource ds = (SpiceDasSource)servers.get(i); if ( ds.getStatus()) { if ( hasCoordSys(coordSys,ds)) { retservers.add(ds); } } } return retservers ;
|
public List getServers(){ return activeservers ;
|
public List getServers(String capability, String coordSys){ List servers = getServers(capability); ArrayList retservers = new ArrayList(); for ( int i = 0 ; i < servers.size() ; i++ ) { SpiceDasSource ds = (SpiceDasSource)servers.get(i); if ( ds.getStatus()) { if ( hasCoordSys(coordSys,ds)) { retservers.add(ds); } } } return retservers ; }
|
52521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52521/29ac5ef5d4ce1bd4e0e3e4754d1b08a792c3910e/RegistryConfiguration.java/buggy/src/org/biojava/spice/Config/RegistryConfiguration.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
336,
11913,
12,
780,
12593,
16,
514,
2745,
12712,
15329,
202,
682,
7084,
273,
336,
11913,
12,
13568,
1769,
202,
19558,
325,
14247,
273,
394,
2407,
5621,
202,
1884,
261,
509,
277,
273,
374,
274,
277,
411,
7084,
18,
1467,
1435,
274,
277,
9904,
262,
288,
202,
565,
5878,
1812,
40,
345,
1830,
3780,
273,
261,
3389,
1812,
40,
345,
1830,
13,
14247,
18,
588,
12,
77,
1769,
202,
565,
309,
261,
3780,
18,
588,
1482,
10756,
288,
202,
202,
430,
261,
711,
5401,
12712,
12,
5732,
12712,
16,
2377,
3719,
288,
1082,
565,
325,
14247,
18,
1289,
12,
2377,
1769,
202,
202,
97,
202,
565,
289,
202,
97,
202,
2463,
325,
14247,
274,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
336,
11913,
12,
780,
12593,
16,
514,
2745,
12712,
15329,
202,
682,
7084,
273,
336,
11913,
12,
13568,
1769,
202,
19558,
325,
14247,
273,
394,
2407,
5621,
202,
1884,
261,
509,
277,
273,
374,
274,
277,
411,
7084,
18,
1467,
1435,
274,
277,
9904,
262,
288,
202,
565,
5878,
1812,
40,
345,
1830,
3780,
273,
261,
3389,
1812,
40,
345,
1830,
13,
14247,
18,
588,
12,
77,
1769,
202,
565,
309,
261,
3780,
18,
588,
1482,
10756,
288,
202,
202,
430,
261,
711,
5401,
12712,
12,
5732,
12712,
16,
2377,
3719,
288,
1082,
565,
325,
14247,
18,
1289,
12,
2377,
1769,
202,
202,
97,
202,
565,
289,
202,
97,
202,
2463,
325,
14247,
274,
565,
289,
2
] |
}
|
}
|
public TreePath getPathForRow(int row) { //TODO return null; } // getPathForRow()
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/FixedHeightLayoutCache.java/clean/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4902,
743,
4339,
1290,
1999,
12,
474,
1027,
13,
202,
95,
202,
202,
759,
6241,
202,
202,
2463,
446,
31,
202,
97,
368,
4339,
1290,
1999,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4902,
743,
4339,
1290,
1999,
12,
474,
1027,
13,
202,
95,
202,
202,
759,
6241,
202,
202,
2463,
446,
31,
202,
97,
368,
4339,
1290,
1999,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener listener) { getPropertyChange().addPropertyChangeListener(listener); }
|
public synchronized void addPropertyChangeListener(PropertyChangeListener listener) { getPropertyChange().addPropertyChangeListener(listener); }
|
public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener listener) { getPropertyChange().addPropertyChangeListener(listener);}
|
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/fe51ee9558d5e044a610f65a6bea1f3dfea18c5f/VAJBuildInfo.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJBuildInfo.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3852,
918,
14324,
15744,
12,
6290,
18,
2196,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3852,
918,
14324,
15744,
12,
6290,
18,
2196,
634,
18,
1396,
15744,
2991,
13,
288,
202,
588,
1396,
3043,
7675,
1289,
1396,
15744,
12,
12757,
1769,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return systemsURL + "?"+JOB_ID_PARAM +"=" + jobID;
|
return systemsURL + "?"+ Constants.JOB_ID_PARAM +"=" + jobID;
|
public String createJobAddress(String jobID) { return systemsURL + "?"+JOB_ID_PARAM +"=" + jobID; }
|
4987 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4987/b22489a8fbf4fa057986496d269dacbb13e526a7/JobRepository.java/buggy/core/components/deployapi/src/org/smartfrog/services/deployapi/engine/JobRepository.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
752,
2278,
1887,
12,
780,
28913,
13,
288,
3639,
327,
14908,
1785,
397,
13574,
15,
5245,
18,
18321,
67,
734,
67,
8388,
397,
6,
1546,
397,
28913,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
752,
2278,
1887,
12,
780,
28913,
13,
288,
3639,
327,
14908,
1785,
397,
13574,
15,
5245,
18,
18321,
67,
734,
67,
8388,
397,
6,
1546,
397,
28913,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.