rem
stringlengths 1
53.3k
| add
stringlengths 0
80.5k
| context
stringlengths 6
326k
| meta
stringlengths 141
403
| input_ids
list | attention_mask
list | labels
list |
|---|---|---|---|---|---|---|
Object obj = prototype.get(name, start); if (obj != null && obj != UniqueTag.NOT_FOUND)
|
Object obj = overload.get(name); if (obj != null) { return new FunctionObject(name, (Method) obj, this); } obj = prototype.get(name, start); if (obj != null && obj != UniqueTag.NOT_FOUND) {
|
public Object get(String name, Scriptable start) { // System.err.println ("GET: "+name); Object obj = prototype.get(name, start); if (obj != null && obj != UniqueTag.NOT_FOUND) return obj; Method[] m = JavaObject.class.getMethods(); for (int i=0; i<m.length; i++) { if (name.equals(m[i].getName())) { obj = new FunctionObject(name, m[i], this); // System.err.println ("GOT: "+obj); return obj; } } return super.get(name, start); }
|
46029 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46029/052b847c7af50b5a025ff34c463462b884e8f048/JavaObject.java/clean/src/helma/scripting/rhino/JavaObject.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
336,
12,
780,
508,
16,
22780,
787,
13,
288,
3639,
368,
2332,
18,
370,
18,
8222,
7566,
3264,
30,
13773,
529,
1769,
3639,
1033,
1081,
273,
4409,
18,
588,
12,
529,
16,
787,
1769,
3639,
309,
261,
2603,
480,
446,
597,
1081,
480,
14584,
1805,
18,
4400,
67,
9294,
13,
5411,
327,
1081,
31,
3639,
2985,
8526,
312,
273,
5110,
921,
18,
1106,
18,
588,
4712,
5621,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
81,
18,
2469,
31,
277,
27245,
288,
5411,
309,
261,
529,
18,
14963,
12,
81,
63,
77,
8009,
17994,
1435,
3719,
288,
7734,
1081,
273,
225,
394,
4284,
921,
12,
529,
16,
312,
63,
77,
6487,
333,
1769,
7734,
368,
2332,
18,
370,
18,
8222,
7566,
43,
1974,
30,
13773,
2603,
1769,
7734,
327,
1081,
31,
5411,
289,
3639,
289,
1377,
327,
2240,
18,
588,
12,
529,
16,
787,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
336,
12,
780,
508,
16,
22780,
787,
13,
288,
3639,
368,
2332,
18,
370,
18,
8222,
7566,
3264,
30,
13773,
529,
1769,
3639,
1033,
1081,
273,
4409,
18,
588,
12,
529,
16,
787,
1769,
3639,
309,
261,
2603,
480,
446,
597,
1081,
480,
14584,
1805,
18,
4400,
67,
9294,
13,
5411,
327,
1081,
31,
3639,
2985,
8526,
312,
273,
5110,
921,
18,
1106,
18,
588,
4712,
5621,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
81,
18,
2469,
31,
277,
27245,
288,
5411,
309,
261,
529,
18,
14963,
12,
81,
63,
77,
8009,
17994,
1435,
3719,
288,
7734,
1081,
273,
225,
394,
4284,
921,
12,
529,
16,
312,
63,
77,
6487,
333,
1769,
7734,
2
] |
private void expand() { int i; if (isCompact) { byte[] tempArray; hashes = new int[INDEXCOUNT]; tempArray = new byte[UNICODECOUNT]; for (i = 0; i < UNICODECOUNT; ++i) { byte value = elementAt((char)i); tempArray[i] = value; touchBlock(i >> BLOCKSHIFT, value); } for (i = 0; i < INDEXCOUNT; ++i) { indices[i] = (char)(i<<BLOCKSHIFT); } values = null; values = tempArray; isCompact = false; } }
|
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/e87b31606f688d97d1580bcab4c7589a7d24935d/CompactByteArray.java/clean/icu4j/src/com/ibm/icu/util/CompactByteArray.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
90,
11359,
561,
84,
464,
1435,
95,
474,
77,
31,
430,
12,
291,
16863,
15329,
7229,
8526,
5814,
1076,
31,
17612,
33,
2704,
474,
63,
9199,
7240,
15533,
5814,
1076,
33,
2704,
7229,
63,
26642,
7240,
15533,
1884,
12,
77,
33,
20,
31,
77,
32,
26642,
7240,
31,
9904,
77,
15329,
7229,
1132,
33,
2956,
861,
12443,
3001,
13,
77,
1769,
5814,
1076,
63,
77,
65,
33,
1132,
31,
14084,
1768,
12,
77,
9778,
11403,
23191,
16,
1132,
1769,
97,
1884,
12,
77,
33,
20,
31,
77,
32,
9199,
7240,
31,
9904,
77,
15329,
6836,
63,
77,
65,
28657,
3001,
21433,
77,
17685,
11403,
23191,
1769,
97,
2372,
33,
2011,
31,
2372,
33,
5814,
1076,
31,
291,
16863,
33,
5743,
31,
9090,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
90,
11359,
561,
84,
464,
1435,
95,
474,
77,
31,
430,
12,
291,
16863,
15329,
7229,
8526,
5814,
1076,
31,
17612,
33,
2704,
474,
63,
9199,
7240,
15533,
5814,
1076,
33,
2704,
7229,
63,
26642,
7240,
15533,
1884,
12,
77,
33,
20,
31,
77,
32,
26642,
7240,
31,
9904,
77,
15329,
7229,
1132,
33,
2956,
861,
12443,
3001,
13,
77,
1769,
5814,
1076,
63,
77,
65,
33,
1132,
31,
14084,
1768,
12,
77,
9778,
11403,
23191,
16,
1132,
1769,
97,
1884,
12,
77,
33,
20,
31,
77,
32,
9199,
7240,
31,
9904,
77,
15329,
6836,
63,
77,
65,
28657,
3001,
21433,
77,
17685,
11403,
23191,
1769,
97,
2372,
33,
2011,
31,
2372,
33,
5814,
1076,
31,
291,
16863,
2
] |
||
+ expansion.getClass().getName());
|
+ expansion.getClass().getName(), IDebugLogConstants.PARSER);
|
protected void expandDefinition(String symbol, Object expansion, int symbolOffset) throws ScannerException { // All the tokens generated by the macro expansion // will have dimensions (offset and length) equal to the expanding symbol. if (expansion instanceof String ) { String replacementValue = (String) expansion; contextStack.updateContext( new StringReader(replacementValue), (POUND_DEFINE + symbol ), ScannerContext.MACROEXPANSION, null, requestor, symbolOffset, symbol.length()); } else if (expansion instanceof IMacroDescriptor ) { IMacroDescriptor macro = (IMacroDescriptor) expansion; skipOverWhitespace(); int c = getChar(); if (c == '(') { StringBuffer buffer = new StringBuffer(); int bracketCount = 1; c = getChar(); while (true) { if (c == '(') ++bracketCount; else if (c == ')') --bracketCount; if(bracketCount == 0 || c == NOCHAR) break; buffer.append((char) c); c = getChar( true ); } // Position of the closing ')' int endMacroOffset = lastContext.getOffset() - lastContext.undoStackSize() - 1; String betweenTheBrackets = buffer.toString().trim(); Vector parameterValues = getMacroParameters(betweenTheBrackets, false); Vector parameterValuesForStringizing = getMacroParameters(betweenTheBrackets, true); Token t = null; // create a string that represents what needs to be tokenized buffer = new StringBuffer(); List tokens = macro.getTokenizedExpansion(); List parameterNames = macro.getParameters(); if (parameterNames.size() != parameterValues.size()) { if (throwExceptionOnBadMacroExpansion) throw new ScannerException( "Improper use of macro " + symbol); } int numberOfTokens = tokens.size(); for (int i = 0; i < numberOfTokens; ++i) { t = (Token) tokens.get(i); if (t.type == IToken.tIDENTIFIER) { String identifierName = t.image; // is this identifier in the parameterNames // list? int index = parameterNames.indexOf(t.image); if (index == -1 ) { // not found // just add image to buffer buffer.append(t.image ); } else { buffer.append( (String) parameterValues.elementAt(index) ); } } else if (t.type == tPOUND) { //next token should be a parameter which needs to be turned into //a string literal t = (Token) tokens.get( ++i ); int index = parameterNames.indexOf(t.image); if( index == -1 ){ if (throwExceptionOnBadMacroExpansion) throw new ScannerException( "Improper use of the # preprocessing token." ); } else { buffer.append('\"'); String value = (String)parameterValuesForStringizing.elementAt(index); char val [] = value.toCharArray(); char ch; int length = value.length(); for( int j = 0; j < length; j++ ){ ch = val[j]; if( ch == ' ' || ch == '\t' || ch == '\r' || ch == '\n' ){ //Each occurance of whitespace becomes a single space character while( ch == ' ' || ch == '\t' || ch == '\r' || ch == '\n' ){ ch = val[++j]; } buffer.append(' '); } //a \ character is inserted before each " and \ if( ch == '\"' || ch == '\\' ){ buffer.append('\\'); buffer.append(ch); } else { buffer.append(ch); } } buffer.append('\"'); } } else { switch( t.type ) { case IToken.tSTRING: buffer.append('\"' + t.image + '\"'); break; case IToken.tLSTRING: buffer.append("L\"" + t.image + '\"'); break; case IToken.tCHAR: buffer.append('\'' + t.image + '\''); break; default: buffer.append(t.image); break; } } boolean pastingNext = false; if( i != numberOfTokens - 1) { IToken t2 = (IToken) tokens.get(i+1); if( t2.getType() == tPOUNDPOUND ) { pastingNext = true; i++; } } if( t.getType() != tPOUNDPOUND && ! pastingNext ) if (i < (numberOfTokens-1)) // Do not append to the last one buffer.append( " " ); } String finalString = buffer.toString(); contextStack.updateContext( new StringReader(finalString), POUND_DEFINE + macro.getSignature(), ScannerContext.MACROEXPANSION, null, requestor, symbolOffset, endMacroOffset - symbolOffset + 1 ); } else if (throwExceptionOnBadMacroExpansion) throw new ScannerException( "Improper use of macro " + symbol); } else { Util.debugLog( "Unexpected class stored in definitions table. " + expansion.getClass().getName()); } }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/8f3b6007eb0359bb796aa0c8aff968f8ee11977d/Scanner.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Scanner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4542,
1852,
12,
780,
3273,
16,
1033,
17965,
16,
509,
3273,
2335,
13,
5397,
1216,
19074,
503,
377,
288,
3639,
368,
4826,
326,
2430,
4374,
635,
326,
11522,
17965,
540,
368,
903,
1240,
5769,
261,
3348,
471,
769,
13,
3959,
358,
326,
31283,
3273,
18,
202,
202,
430,
261,
2749,
12162,
1276,
514,
262,
288,
1082,
202,
780,
6060,
620,
273,
261,
780,
13,
17965,
31,
1082,
202,
2472,
2624,
18,
2725,
1042,
12,
394,
26227,
12,
24394,
620,
3631,
261,
2419,
5240,
67,
12904,
3740,
397,
3273,
262,
16,
19074,
1042,
18,
10875,
1457,
16109,
1258,
3686,
16,
446,
16,
590,
280,
16,
3273,
2335,
16,
3273,
18,
2469,
10663,
202,
202,
97,
469,
309,
261,
2749,
12162,
1276,
6246,
1077,
303,
3187,
262,
288,
1082,
202,
3445,
1077,
303,
3187,
11522,
273,
261,
3445,
1077,
303,
3187,
13,
17965,
31,
1082,
202,
7457,
4851,
9431,
5621,
1082,
202,
474,
276,
273,
23577,
5621,
1082,
202,
430,
261,
71,
422,
7321,
13,
288,
9506,
202,
780,
1892,
1613,
273,
394,
6674,
5621,
9506,
202,
474,
9843,
1380,
273,
404,
31,
9506,
202,
71,
273,
23577,
5621,
9506,
202,
17523,
261,
3767,
13,
288,
6862,
202,
430,
261,
71,
422,
7321,
13,
25083,
202,
9904,
21025,
1380,
31,
6862,
202,
12107,
309,
261,
71,
422,
5777,
13,
25083,
202,
413,
21025,
1380,
31,
6862,
202,
430,
12,
21025,
1380,
422,
374,
747,
276,
422,
3741,
7305,
13,
25083,
202,
8820,
31,
6862,
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,
1117,
918,
4542,
1852,
12,
780,
3273,
16,
1033,
17965,
16,
509,
3273,
2335,
13,
5397,
1216,
19074,
503,
377,
288,
3639,
368,
4826,
326,
2430,
4374,
635,
326,
11522,
17965,
540,
368,
903,
1240,
5769,
261,
3348,
471,
769,
13,
3959,
358,
326,
31283,
3273,
18,
202,
202,
430,
261,
2749,
12162,
1276,
514,
262,
288,
1082,
202,
780,
6060,
620,
273,
261,
780,
13,
17965,
31,
1082,
202,
2472,
2624,
18,
2725,
1042,
12,
394,
26227,
12,
24394,
620,
3631,
261,
2419,
5240,
67,
12904,
3740,
397,
3273,
262,
16,
19074,
1042,
18,
10875,
1457,
16109,
1258,
3686,
16,
446,
16,
590,
280,
16,
3273,
2335,
16,
3273,
18,
2469,
10663,
202,
202,
97,
469,
2
] |
public IRubyObject define_method(IRubyObject[] args) { if (args.length < 1 || args.length > 2) { throw getRuntime().newArgumentError("wrong # of arguments(" + args.length + " for 1)"); } IRubyObject body; String name = args[0].asSymbol(); ICallable newMethod = null; ThreadContext tc = getRuntime().getCurrentContext(); Visibility visibility = tc.getCurrentVisibility(); if (visibility.isModuleFunction()) { visibility = Visibility.PRIVATE; } if (args.length == 1 || args[1].isKindOf(getRuntime().getClass("Proc"))) { // double-testing args.length here, but it avoids duplicating the proc-setup code in two places RubyProc proc = (args.length == 1) ? getRuntime().newProc() : (RubyProc)args[1]; body = proc; proc.getBlock().isLambda = true; proc.getBlock().getFrame().setLastClass(this); proc.getBlock().getFrame().setLastFunc(name); newMethod = new ProcMethod(this, proc, visibility); } else if (args[1].isKindOf(getRuntime().getClass("Method"))) { RubyMethod method = (RubyMethod)args[1]; body = method; newMethod = new MethodMethod(this, method.unbind(), visibility); } else { throw getRuntime().newTypeError("wrong argument type " + args[0].getType().getName() + " (expected Proc/Method)"); } addMethod(name, newMethod); RubySymbol symbol = RubySymbol.newSymbol(getRuntime(), name); ThreadContext context = getRuntime().getCurrentContext(); if (tc.getPreviousVisibility().isModuleFunction()) { getSingletonClass().addMethod(name, new WrapperCallable(getSingletonClass(), newMethod, Visibility.PUBLIC)); callMethod(context, "singleton_method_added", symbol); } callMethod(context, "method_added", symbol); return body; }
|
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/1278c5bb3507a052d150d814f15453542ae41aed/RubyModule.java/buggy/src/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
4426,
67,
2039,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
309,
261,
1968,
18,
2469,
411,
404,
747,
833,
18,
2469,
405,
576,
13,
288,
5411,
604,
18814,
7675,
2704,
1379,
668,
2932,
21530,
468,
434,
1775,
2932,
397,
833,
18,
2469,
397,
315,
364,
404,
2225,
1769,
3639,
289,
3639,
15908,
10340,
921,
1417,
31,
3639,
514,
508,
273,
833,
63,
20,
8009,
345,
5335,
5621,
3639,
467,
11452,
394,
1305,
273,
446,
31,
3639,
4884,
1042,
1715,
273,
18814,
7675,
588,
3935,
1042,
5621,
3639,
27791,
9478,
273,
1715,
18,
588,
3935,
10135,
5621,
3639,
309,
261,
14422,
18,
291,
3120,
2083,
10756,
288,
5411,
9478,
273,
27791,
18,
20055,
31,
3639,
289,
13491,
309,
261,
1968,
18,
2469,
422,
404,
747,
833,
63,
21,
8009,
291,
5677,
951,
12,
588,
5576,
7675,
588,
797,
2932,
15417,
6,
20349,
288,
5411,
368,
1645,
17,
3813,
310,
833,
18,
2469,
2674,
16,
1496,
518,
24192,
4977,
1776,
326,
5418,
17,
8401,
981,
316,
2795,
12576,
5411,
19817,
15417,
5418,
273,
261,
1968,
18,
2469,
422,
404,
13,
692,
18814,
7675,
2704,
15417,
1435,
294,
261,
54,
10340,
15417,
13,
1968,
63,
21,
15533,
5411,
1417,
273,
5418,
31,
13491,
5418,
18,
588,
1768,
7675,
291,
12025,
273,
638,
31,
5411,
5418,
18,
588,
1768,
7675,
588,
3219,
7675,
542,
3024,
797,
12,
2211,
1769,
5411,
5418,
18,
588,
1768,
7675,
588,
3219,
7675,
542,
3024,
2622,
12,
529,
1769,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
4426,
67,
2039,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
309,
261,
1968,
18,
2469,
411,
404,
747,
833,
18,
2469,
405,
576,
13,
288,
5411,
604,
18814,
7675,
2704,
1379,
668,
2932,
21530,
468,
434,
1775,
2932,
397,
833,
18,
2469,
397,
315,
364,
404,
2225,
1769,
3639,
289,
3639,
15908,
10340,
921,
1417,
31,
3639,
514,
508,
273,
833,
63,
20,
8009,
345,
5335,
5621,
3639,
467,
11452,
394,
1305,
273,
446,
31,
3639,
4884,
1042,
1715,
273,
18814,
7675,
588,
3935,
1042,
5621,
3639,
27791,
9478,
273,
1715,
18,
588,
3935,
10135,
5621,
3639,
309,
261,
14422,
18,
291,
3120,
2083,
10756,
288,
5411,
9478,
273,
27791,
18,
20055,
2
] |
||
catch(IllegalAccessException x)
|
catch(IllegalAccessException x)
|
final void setBooleanField(Object obj, boolean val) { try { field.setBoolean(obj, val); } catch(IllegalAccessException x) { throw new InternalError(x.getMessage()); } }
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/2eabe6e28fc1df9b1f8ee2409c68329ce4d1c386/ObjectStreamField.java/clean/java/io/ObjectStreamField.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
918,
444,
5507,
974,
12,
921,
1081,
16,
1250,
1244,
13,
225,
288,
1377,
775,
1377,
288,
202,
225,
652,
18,
542,
5507,
12,
2603,
16,
1244,
1769,
1377,
289,
1377,
1044,
12,
12195,
9773,
619,
13,
1377,
288,
202,
225,
604,
394,
3186,
668,
12,
92,
18,
24906,
10663,
1377,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
918,
444,
5507,
974,
12,
921,
1081,
16,
1250,
1244,
13,
225,
288,
1377,
775,
1377,
288,
202,
225,
652,
18,
542,
5507,
12,
2603,
16,
1244,
1769,
1377,
289,
1377,
1044,
12,
12195,
9773,
619,
13,
1377,
288,
202,
225,
604,
394,
3186,
668,
12,
92,
18,
24906,
10663,
1377,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
int match = 1; int curr = 0; iterator.reset();
|
int match = 1; int curr = 0; iterator.reset();
|
public int getTypedPosition(NodeIterator iterator, int type, int node) { // Just return the basic position if no type is specified if (type == -1) type = _type[node]; //if (type == -1) return(iterator.getPosition()); DEAD WRONG!!!! int match = 1; int curr = 0; iterator.reset(); while ( ((curr = iterator.next()) != NULL) && (curr != node)) { if (_type[curr] == type) match++; } return match; }
|
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/264066e4e3d606d5167a1f5680c45669efd7e5c9/DOMImpl.java/clean/src/org/apache/xalan/xsltc/dom/DOMImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
3181,
6140,
2555,
12,
907,
3198,
2775,
16,
509,
618,
16,
509,
756,
13,
288,
202,
759,
12526,
327,
326,
5337,
1754,
309,
1158,
618,
353,
1269,
202,
430,
261,
723,
422,
300,
21,
13,
618,
273,
389,
723,
63,
2159,
15533,
202,
759,
430,
261,
723,
422,
300,
21,
13,
327,
12,
9838,
18,
588,
2555,
10663,
2030,
1880,
12984,
7390,
23045,
202,
474,
845,
273,
404,
31,
202,
474,
4306,
225,
273,
374,
31,
202,
9838,
18,
6208,
5621,
202,
17523,
261,
14015,
17016,
273,
2775,
18,
4285,
10756,
480,
3206,
13,
597,
261,
17016,
480,
756,
3719,
288,
202,
565,
309,
261,
67,
723,
63,
17016,
65,
422,
618,
13,
845,
9904,
31,
202,
97,
202,
2463,
845,
31,
202,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
3181,
6140,
2555,
12,
907,
3198,
2775,
16,
509,
618,
16,
509,
756,
13,
288,
202,
759,
12526,
327,
326,
5337,
1754,
309,
1158,
618,
353,
1269,
202,
430,
261,
723,
422,
300,
21,
13,
618,
273,
389,
723,
63,
2159,
15533,
202,
759,
430,
261,
723,
422,
300,
21,
13,
327,
12,
9838,
18,
588,
2555,
10663,
2030,
1880,
12984,
7390,
23045,
202,
474,
845,
273,
404,
31,
202,
474,
4306,
225,
273,
374,
31,
202,
9838,
18,
6208,
5621,
202,
17523,
261,
14015,
17016,
273,
2775,
18,
4285,
10756,
480,
3206,
13,
597,
261,
17016,
480,
756,
3719,
288,
202,
565,
309,
261,
67,
723,
63,
17016,
65,
422,
618,
13,
845,
9904,
31,
2
] |
Scriptable newInstance = createObject(cx, scope); Object val = call(cx, scope, newInstance, args); if (val instanceof Scriptable && val != Undefined.instance) { return (Scriptable) val;
|
Scriptable result = createObject(cx, scope); if (result != null) { Object val = call(cx, scope, result, args); if (val instanceof Scriptable && val != Undefined.instance) { result = (Scriptable)val; } } else { Object val = call(cx, scope, null, args); if (!(val instanceof Scriptable && val != Undefined.instance)) { throw new IllegalStateException( "Bad implementaion of call as constructor, name=" +functionName+" in "+getClass().getName()); } result = (Scriptable)val; if (result.getPrototype() == null) { result.setPrototype(getClassPrototype()); } if (result.getParentScope() == null) { Scriptable parent = getParentScope(); if (result != parent) { result.setParentScope(parent); } }
|
public Scriptable construct(Context cx, Scriptable scope, Object[] args) throws JavaScriptException { Scriptable newInstance = createObject(cx, scope); Object val = call(cx, scope, newInstance, args); if (val instanceof Scriptable && val != Undefined.instance) { return (Scriptable) val; } return newInstance; }
|
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/811cae74fb38b645cd6b63ff0ec2d4e68aad04d8/BaseFunction.java/clean/js/rhino/src/org/mozilla/javascript/BaseFunction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
22780,
4872,
12,
1042,
9494,
16,
22780,
2146,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
22780,
5984,
273,
17109,
12,
71,
92,
16,
2146,
1769,
3639,
1033,
1244,
273,
745,
12,
71,
92,
16,
2146,
16,
5984,
16,
833,
1769,
3639,
309,
261,
1125,
1276,
22780,
597,
1244,
480,
22243,
18,
1336,
13,
288,
5411,
327,
261,
3651,
429,
13,
1244,
31,
3639,
289,
3639,
327,
5984,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
22780,
4872,
12,
1042,
9494,
16,
22780,
2146,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
22780,
5984,
273,
17109,
12,
71,
92,
16,
2146,
1769,
3639,
1033,
1244,
273,
745,
12,
71,
92,
16,
2146,
16,
5984,
16,
833,
1769,
3639,
309,
261,
1125,
1276,
22780,
597,
1244,
480,
22243,
18,
1336,
13,
288,
5411,
327,
261,
3651,
429,
13,
1244,
31,
3639,
289,
3639,
327,
5984,
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
] |
}
|
}
|
public int normalize(QName element, QName attribute, int attValueHandle, int attType, int enumHandle) throws Exception { // // Normalize attribute based upon attribute type... // String attValue = fStringPool.toString(attValueHandle); String newAttValue = attValue.trim(); if (fValidating) { // REVISIT - can we release the old string? if (newAttValue != attValue) { if (invalidStandaloneAttDef(element, attribute)) { reportRecoverableXMLError(XMLMessages.MSG_ATTVALUE_CHANGED_DURING_NORMALIZATION_WHEN_STANDALONE, XMLMessages.VC_STANDALONE_DOCUMENT_DECLARATION, fStringPool.toString(attribute.rawname), attValue, newAttValue); } attValueHandle = fStringPool.addSymbol(newAttValue); } else { attValueHandle = fStringPool.addSymbol(attValueHandle); } // // NOTATION - check that the value is in the AttDef enumeration (V_TAGo) // if (!fStringPool.stringInList(enumHandle, attValueHandle)) { reportRecoverableXMLError(XMLMessages.MSG_ATTRIBUTE_VALUE_NOT_IN_LIST, XMLMessages.VC_NOTATION_ATTRIBUTES, fStringPool.toString(attribute.rawname), newAttValue, fStringPool.stringListAsString(enumHandle)); } } else if (newAttValue != attValue) { // REVISIT - can we release the old string? attValueHandle = fStringPool.addSymbol(newAttValue); } return attValueHandle; } // normalize(QName,QName,int,int,int):int
|
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/b36768aae85d6d13bc8c8289ca78efb212c8fb8f/XMLValidator.java/clean/src/org/apache/xerces/validators/common/XMLValidator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
509,
3883,
12,
13688,
930,
16,
16723,
1566,
16,
17311,
509,
2403,
620,
3259,
16,
509,
2403,
559,
16,
17311,
509,
2792,
3259,
13,
1216,
1185,
288,
5411,
368,
5411,
368,
14282,
1566,
2511,
12318,
1566,
618,
2777,
5411,
368,
5411,
514,
2403,
620,
273,
284,
780,
2864,
18,
10492,
12,
4558,
620,
3259,
1769,
5411,
514,
394,
3075,
620,
273,
2403,
620,
18,
5290,
5621,
5411,
309,
261,
74,
31496,
13,
288,
7734,
368,
2438,
26780,
1285,
300,
848,
732,
3992,
326,
1592,
533,
35,
7734,
309,
261,
2704,
3075,
620,
480,
2403,
620,
13,
288,
10792,
309,
261,
5387,
20612,
12451,
3075,
3262,
12,
2956,
16,
1566,
3719,
288,
13491,
2605,
426,
17399,
4201,
668,
12,
4201,
5058,
18,
11210,
67,
789,
56,
4051,
67,
24435,
67,
40,
1099,
1360,
67,
15480,
25084,
67,
12557,
1157,
67,
882,
4307,
1013,
5998,
16,
4766,
5375,
3167,
5058,
18,
13464,
67,
882,
4307,
1013,
5998,
67,
18450,
67,
23956,
985,
2689,
16,
4766,
5375,
284,
780,
2864,
18,
10492,
12,
4589,
18,
1899,
529,
3631,
2403,
620,
16,
394,
3075,
620,
1769,
10792,
289,
10792,
2403,
620,
3259,
273,
284,
780,
2864,
18,
1289,
5335,
12,
2704,
3075,
620,
1769,
7734,
289,
469,
288,
10792,
2403,
620,
3259,
273,
284,
780,
2864,
18,
1289,
5335,
12,
4558,
620,
3259,
1769,
7734,
289,
7734,
368,
7734,
368,
4269,
2689,
300,
866,
716,
326,
460,
353,
316,
326,
6020,
3262,
16836,
261,
58,
67,
7927,
83,
13,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
509,
3883,
12,
13688,
930,
16,
16723,
1566,
16,
17311,
509,
2403,
620,
3259,
16,
509,
2403,
559,
16,
17311,
509,
2792,
3259,
13,
1216,
1185,
288,
5411,
368,
5411,
368,
14282,
1566,
2511,
12318,
1566,
618,
2777,
5411,
368,
5411,
514,
2403,
620,
273,
284,
780,
2864,
18,
10492,
12,
4558,
620,
3259,
1769,
5411,
514,
394,
3075,
620,
273,
2403,
620,
18,
5290,
5621,
5411,
309,
261,
74,
31496,
13,
288,
7734,
368,
2438,
26780,
1285,
300,
848,
732,
3992,
326,
1592,
533,
35,
7734,
309,
261,
2704,
3075,
620,
480,
2403,
620,
13,
288,
10792,
309,
261,
5387,
20612,
12451,
3075,
3262,
12,
2956,
16,
1566,
3719,
288,
13491,
2605,
426,
17399,
4201,
668,
2
] |
private void createPoints(IdeaView parentView, Point2D c) {
|
private void createPoints(IdeaView parentView, Point2D c, double initAngle) {
|
private void createPoints(IdeaView parentView, Point2D c) { Vector<IdeaView> views = parentView.getSubViews(); double initAngle = parentView.getAngle(); points.add(ORIGIN); synchronized(views) { for(IdeaView view: views) { Point2D point = getPoint(view, c, initAngle);// if (parentView.isRoot()) {// double x = point.getX();// double y = point.getY();// x += Math.sin(view.getAngle()) * parentView.ROOT_RADIUS;// y += Math.cos(view.getAngle()) * parentView.ROOT_RADIUS;// point = new Point2D.Double(x, y);// } points.add(point); createPoints(view, point); } } }
|
51106 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51106/f7cb1a0814ad2e7ed57b91c6ccbe9d493895fe71/Fred.java/clean/src/dg/hipster/view/Fred.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
5636,
12,
45,
323,
69,
1767,
982,
1767,
16,
4686,
22,
40,
276,
16,
1645,
1208,
8467,
13,
288,
3639,
5589,
32,
45,
323,
69,
1767,
34,
7361,
273,
982,
1767,
18,
588,
1676,
9959,
5621,
3639,
1645,
1208,
8467,
273,
982,
1767,
18,
588,
8467,
5621,
3639,
3143,
18,
1289,
12,
24685,
1769,
3639,
3852,
12,
7061,
13,
288,
5411,
364,
12,
45,
323,
69,
1767,
1476,
30,
7361,
13,
288,
7734,
4686,
22,
40,
1634,
273,
15808,
12,
1945,
16,
276,
16,
1208,
8467,
1769,
759,
7734,
309,
261,
2938,
1767,
18,
291,
2375,
10756,
288,
759,
10792,
1645,
619,
273,
1634,
18,
588,
60,
5621,
759,
10792,
1645,
677,
273,
1634,
18,
588,
61,
5621,
759,
10792,
619,
1011,
2361,
18,
21861,
12,
1945,
18,
588,
8467,
10756,
380,
982,
1767,
18,
9185,
67,
54,
23575,
31,
759,
10792,
677,
1011,
2361,
18,
14445,
12,
1945,
18,
588,
8467,
10756,
380,
982,
1767,
18,
9185,
67,
54,
23575,
31,
759,
10792,
1634,
273,
394,
4686,
22,
40,
18,
5265,
12,
92,
16,
677,
1769,
759,
7734,
289,
7734,
3143,
18,
1289,
12,
1153,
1769,
7734,
752,
5636,
12,
1945,
16,
1634,
1769,
5411,
289,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
5636,
12,
45,
323,
69,
1767,
982,
1767,
16,
4686,
22,
40,
276,
16,
1645,
1208,
8467,
13,
288,
3639,
5589,
32,
45,
323,
69,
1767,
34,
7361,
273,
982,
1767,
18,
588,
1676,
9959,
5621,
3639,
1645,
1208,
8467,
273,
982,
1767,
18,
588,
8467,
5621,
3639,
3143,
18,
1289,
12,
24685,
1769,
3639,
3852,
12,
7061,
13,
288,
5411,
364,
12,
45,
323,
69,
1767,
1476,
30,
7361,
13,
288,
7734,
4686,
22,
40,
1634,
273,
15808,
12,
1945,
16,
276,
16,
1208,
8467,
1769,
759,
7734,
309,
261,
2938,
1767,
18,
291,
2375,
10756,
288,
759,
10792,
1645,
619,
273,
1634,
18,
588,
60,
5621,
759,
10792,
1645,
677,
273,
1634,
18,
2
] |
System.out.println(e.getLowerGap() + " => " + e.getUpperGap());
|
System.out.println("intervalAdded() de " + e.getLowerGap() + " a " + e.getUpperGap());
|
public void intervalAdded(PlanningDataEvent e) { System.out.println(e.getLowerGap() + " => " + e.getUpperGap()); for (int i = e.getLowerGap() ; i <= e.getUpperGap() ; i++) remove( getComponentAt( e.getWeekNumber() , e.getDaynumber(), i) ); for (int i = e.getLowerGap() ; i <= e.getUpperGap() ; i++) addGap(e.getWeekNumber(), e.getDaynumber(), i); //System.out.println(model.getDayGapSize() + "*" +e.getDaynumber()+ "*" + GAP_HEIGTH + "+" +DAY_HEIGTH+ "*" +(e.getDaynumber()+1)+"+"+ GAP_HEIGTH + "*" + e.getLowerGap() + "+ 2" ); //System.out.println(x + " - " + y); }
|
13357 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13357/4164dd1bcecc1275a4b2f8bb6a40e11b2be8fb87/JRessourcePlanning.java/clean/current/src/fr/umlv/ir3/flexitime/richClient/gui/panel/exploitation/JRessourcePlanning.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3673,
8602,
12,
1749,
10903,
751,
1133,
425,
13,
565,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
6624,
8602,
1435,
443,
315,
397,
425,
18,
588,
4070,
14001,
1435,
397,
315,
279,
315,
397,
425,
18,
588,
5988,
14001,
10663,
3639,
364,
261,
474,
277,
273,
425,
18,
588,
4070,
14001,
1435,
274,
277,
1648,
425,
18,
588,
5988,
14001,
1435,
225,
274,
277,
27245,
5411,
1206,
12,
282,
10322,
861,
12,
425,
18,
588,
6630,
1854,
1435,
269,
425,
18,
588,
4245,
2696,
9334,
277,
13,
282,
11272,
7734,
364,
261,
474,
277,
273,
425,
18,
588,
4070,
14001,
1435,
274,
277,
1648,
425,
18,
588,
5988,
14001,
1435,
225,
274,
277,
27245,
5411,
527,
14001,
12,
73,
18,
588,
6630,
1854,
9334,
425,
18,
588,
4245,
2696,
9334,
277,
1769,
10792,
368,
3163,
18,
659,
18,
8222,
12,
2284,
18,
588,
4245,
14001,
1225,
1435,
397,
10971,
397,
73,
18,
588,
4245,
2696,
1435,
15,
10971,
397,
611,
2203,
67,
3900,
3047,
2455,
397,
17487,
397,
10339,
67,
3900,
3047,
2455,
15,
10971,
397,
12,
73,
18,
588,
4245,
2696,
1435,
15,
21,
13,
9078,
9078,
15,
611,
2203,
67,
3900,
3047,
2455,
397,
10971,
397,
425,
18,
588,
4070,
14001,
1435,
397,
13773,
576,
6,
11272,
3639,
368,
3163,
18,
659,
18,
8222,
12,
92,
397,
315,
300,
315,
397,
677,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3673,
8602,
12,
1749,
10903,
751,
1133,
425,
13,
565,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
6624,
8602,
1435,
443,
315,
397,
425,
18,
588,
4070,
14001,
1435,
397,
315,
279,
315,
397,
425,
18,
588,
5988,
14001,
10663,
3639,
364,
261,
474,
277,
273,
425,
18,
588,
4070,
14001,
1435,
274,
277,
1648,
425,
18,
588,
5988,
14001,
1435,
225,
274,
277,
27245,
5411,
1206,
12,
282,
10322,
861,
12,
425,
18,
588,
6630,
1854,
1435,
269,
425,
18,
588,
4245,
2696,
9334,
277,
13,
282,
11272,
7734,
364,
261,
474,
277,
273,
425,
18,
588,
4070,
14001,
1435,
274,
277,
1648,
425,
18,
588,
5988,
14001,
1435,
225,
274,
277,
27245,
5411,
2
] |
log.error("-use_all_interfaces flag requires JDK 1.4 or greater");
|
System.err.println("-use_all_interfaces flag requires JDK 1.4 or greater");
|
public static void main(String args[]) { InetAddress mcast_addr=null, bind_addr=null; String tmp; int port=5555; boolean use_all_interfaces=false; try { for(int i=0; i < args.length; i++) { tmp=args[i]; if("-help".equals(tmp)) { help(); return; } if("-bind_addr".equals(tmp)) { bind_addr=InetAddress.getByName(args[++i]); continue; } if("-mcast_addr".equals(tmp)) { mcast_addr=InetAddress.getByName(args[++i]); continue; } if("-port".equals(tmp)) { port=Integer.parseInt(args[++i]); continue; } if("-use_all_interfaces".equals(tmp)) { use_all_interfaces=true; continue; } help(); return; } if(mcast_addr == null) mcast_addr=InetAddress.getByName("224.0.0.150"); } catch(Exception ex) { log.error(ex); return; } if(use_all_interfaces) { if(!is1_4()) { log.error("-use_all_interfaces flag requires JDK 1.4 or greater"); return; } } try { if(use_all_interfaces) { for(Enumeration en=NetworkInterface.getNetworkInterfaces(); en.hasMoreElements();) { NetworkInterface intf=(NetworkInterface)en.nextElement(); for(Enumeration e2=intf.getInetAddresses(); e2.hasMoreElements();) { bind_addr=(InetAddress)e2.nextElement(); // System.out.println("Binding multicast socket to " + bind_addr); Receiver r=new Receiver(mcast_addr, bind_addr, port); r.start(); } } } else { Receiver r=new Receiver(mcast_addr, bind_addr, port); r.start(); } } catch(Exception e) { log.error(e); } }
|
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/5ad015d9a78e1da3350d9b398b46b2f5d4508564/McastReceiverTest1_4.java/buggy/tests/other/org/jgroups/tests/McastReceiverTest1_4.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
833,
63,
5717,
288,
202,
202,
382,
278,
1887,
377,
312,
4155,
67,
4793,
33,
2011,
16,
1993,
67,
4793,
33,
2011,
31,
202,
780,
1850,
1853,
31,
202,
474,
2398,
1756,
33,
27982,
31,
202,
6494,
540,
999,
67,
454,
67,
15898,
33,
5743,
31,
202,
698,
288,
202,
565,
364,
12,
474,
277,
33,
20,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
202,
202,
5645,
33,
1968,
63,
77,
15533,
202,
202,
430,
2932,
17,
5201,
9654,
14963,
12,
5645,
3719,
288,
1082,
565,
2809,
5621,
1082,
565,
327,
31,
202,
202,
97,
202,
202,
430,
2932,
17,
4376,
67,
4793,
9654,
14963,
12,
5645,
3719,
288,
1082,
565,
1993,
67,
4793,
33,
382,
278,
1887,
18,
588,
5911,
12,
1968,
63,
9904,
77,
19226,
1082,
565,
1324,
31,
202,
202,
97,
202,
202,
430,
2932,
17,
81,
4155,
67,
4793,
9654,
14963,
12,
5645,
3719,
288,
1082,
565,
312,
4155,
67,
4793,
33,
382,
278,
1887,
18,
588,
5911,
12,
1968,
63,
9904,
77,
19226,
1082,
565,
1324,
31,
202,
202,
97,
202,
202,
430,
2932,
17,
655,
9654,
14963,
12,
5645,
3719,
288,
1082,
565,
1756,
33,
4522,
18,
2670,
1702,
12,
1968,
63,
9904,
77,
19226,
1082,
565,
1324,
31,
202,
202,
97,
202,
202,
430,
2932,
17,
1202,
67,
454,
67,
15898,
9654,
14963,
12,
5645,
3719,
288,
1082,
565,
999,
67,
454,
67,
15898,
33,
3767,
31,
1082,
565,
1324,
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,
833,
63,
5717,
288,
202,
202,
382,
278,
1887,
377,
312,
4155,
67,
4793,
33,
2011,
16,
1993,
67,
4793,
33,
2011,
31,
202,
780,
1850,
1853,
31,
202,
474,
2398,
1756,
33,
27982,
31,
202,
6494,
540,
999,
67,
454,
67,
15898,
33,
5743,
31,
202,
698,
288,
202,
565,
364,
12,
474,
277,
33,
20,
31,
277,
411,
833,
18,
2469,
31,
277,
27245,
288,
202,
202,
5645,
33,
1968,
63,
77,
15533,
202,
202,
430,
2932,
17,
5201,
9654,
14963,
12,
5645,
3719,
288,
1082,
565,
2809,
5621,
1082,
565,
327,
31,
202,
202,
97,
202,
202,
430,
2932,
17,
4376,
67,
4793,
9654,
14963,
12,
5645,
3719,
288,
2
] |
List result = setFullResourceNames(context, m_projectDriver.readProjectResources(project));
|
List result = updateContextDates(context, m_projectDriver.readProjectResources(project));
|
public List readAllProjectResources(CmsRequestContext context, int projectId) throws CmsException { CmsProject project = m_projectDriver.readProject(projectId); List result = setFullResourceNames(context, m_projectDriver.readProjectResources(project)); return result; }
|
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/f0e3cb28447c785c94d99b78261405c3fa88b2da/CmsDriverManager.java/buggy/src/org/opencms/db/CmsDriverManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
31267,
4109,
3805,
12,
4747,
21426,
819,
16,
509,
9882,
13,
1216,
11228,
288,
3639,
2149,
4109,
1984,
273,
312,
67,
4406,
4668,
18,
896,
4109,
12,
4406,
548,
1769,
3639,
987,
563,
273,
1089,
1042,
15578,
12,
2472,
16,
312,
67,
4406,
4668,
18,
896,
4109,
3805,
12,
4406,
10019,
3639,
327,
563,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
377,
1071,
987,
31267,
4109,
3805,
12,
4747,
21426,
819,
16,
509,
9882,
13,
1216,
11228,
288,
3639,
2149,
4109,
1984,
273,
312,
67,
4406,
4668,
18,
896,
4109,
12,
4406,
548,
1769,
3639,
987,
563,
273,
1089,
1042,
15578,
12,
2472,
16,
312,
67,
4406,
4668,
18,
896,
4109,
3805,
12,
4406,
10019,
3639,
327,
563,
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
] |
String requete = "INSERT INTO document('" + titre + "', '" + duree + "', '" + date + "', '" + source + "', '" + langue + "', '" + genre + "', '" + fichier + "');";
|
String requete = "INSERT INTO document (titre, duree, date, source, langue, genre, fichier) VALUES ('" + titre + "', '" + duree + "', '" + date + "', '" + source + "', '" + langue + "', '" + genre + "', '" + fichier + "');";
|
public static Document create(String titre, int duree, String jour, String mois, String annee, String source, String langue, String genre, String fichier) throws SQLException { //On assemble la date String date = jour+mois+annee; //On cre le document dans la base String requete = "INSERT INTO document('" + titre + "', '" + duree + "', '" + date + "', '" + source + "', '" + langue + "', '" + genre + "', '" + fichier + "');"; Jdbc base = Jdbc.getInstance(); int nbRows = base.executeUpdate(requete); //Si l'insertion s'est bien droule if (nbRows>0) { //On retourne ensuite un objet pour ce document return Document.getByTitre(titre); } //Sinon on retourne un objet vide return null; }
|
55998 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55998/27136e15bab6bf4af4986b3003e986bdfa640e25/Document.java/buggy/NetJukeBox/src/proto/serveur/Document.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
4319,
752,
12,
780,
268,
23339,
16,
509,
302,
594,
73,
16,
514,
525,
477,
16,
1082,
202,
780,
7344,
291,
16,
514,
8226,
1340,
16,
514,
1084,
16,
514,
3303,
344,
16,
514,
3157,
266,
16,
1082,
202,
780,
284,
1354,
2453,
13,
1216,
6483,
288,
9506,
202,
759,
1398,
19540,
7125,
1509,
202,
202,
780,
1509,
273,
525,
477,
15,
8683,
291,
15,
1072,
1340,
31,
9506,
202,
759,
1398,
1519,
884,
1668,
26224,
7125,
1026,
202,
202,
780,
25378,
273,
315,
11356,
12421,
1668,
22076,
397,
268,
23339,
397,
14912,
2119,
397,
302,
594,
73,
397,
14912,
2119,
397,
1509,
397,
1082,
202,
6,
2187,
2119,
397,
1084,
397,
14912,
2119,
397,
3303,
344,
397,
14912,
2119,
397,
3157,
266,
397,
14912,
2119,
397,
284,
1354,
2453,
397,
2491,
12171,
31,
4697,
202,
25316,
1026,
273,
24209,
18,
588,
1442,
5621,
202,
202,
474,
4264,
4300,
273,
1026,
18,
8837,
1891,
12,
4523,
12865,
1769,
9506,
202,
759,
55,
77,
328,
11,
6387,
285,
272,
11,
395,
10054,
275,
31473,
725,
202,
202,
430,
261,
6423,
4300,
34,
20,
13,
288,
1082,
202,
759,
1398,
325,
6561,
73,
19670,
9519,
640,
1081,
278,
24601,
5898,
1668,
1082,
202,
2463,
4319,
18,
588,
858,
56,
23339,
12,
88,
23339,
1769,
202,
202,
97,
9506,
202,
759,
55,
267,
265,
603,
325,
6561,
73,
640,
1081,
278,
331,
831,
202,
202,
2463,
446,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
4319,
752,
12,
780,
268,
23339,
16,
509,
302,
594,
73,
16,
514,
525,
477,
16,
1082,
202,
780,
7344,
291,
16,
514,
8226,
1340,
16,
514,
1084,
16,
514,
3303,
344,
16,
514,
3157,
266,
16,
1082,
202,
780,
284,
1354,
2453,
13,
1216,
6483,
288,
9506,
202,
759,
1398,
19540,
7125,
1509,
202,
202,
780,
1509,
273,
525,
477,
15,
8683,
291,
15,
1072,
1340,
31,
9506,
202,
759,
1398,
1519,
884,
1668,
26224,
7125,
1026,
202,
202,
780,
25378,
273,
315,
11356,
12421,
1668,
22076,
397,
268,
23339,
397,
14912,
2119,
397,
302,
594,
73,
397,
14912,
2119,
397,
1509,
397,
1082,
202,
6,
2187,
2119,
397,
1084,
397,
14912,
2119,
397,
2
] |
public ViewParameters handle() { final String actionmethod = PostDecoder.decodeAction(normalizedmap); try { // Do this FIRST in case it discovers any scopelocks required presmanager.scopeRestore(); // invoke all state-altering operations within the runnable wrapper. postwrapper.wrapRunnable(new Runnable() { public void run() { if (viewparams.flowtoken != null) { presmanager.restore(viewparams.flowtoken, viewparams.endflow != null); } Exception exception = null; try { rsvcapplier.applyValues(requestrsvc); // many errors possible here. } catch (Exception e) { exception = e; } Object newcode = handleError(actionresult, exception); exception = null; if ((newcode == null && !messages.isError()) || newcode instanceof String) { // only proceed to actually invoke action if no ARIResult already // note all this odd two-step procedure is only required to be able // to pass AES error returns and make them "appear" to be the // returns of the first action method in a Flow. try { if (actionmethod != null) { actionresult = rsvcapplier.invokeAction(actionmethod, (String) newcode); } } catch (Exception e) { exception = e; } newcode = handleError(actionresult, exception); } if (newcode != null) actionresult = newcode; // must interpret ARI INSIDE the wrapper, since it may need it // on closure. if (actionresult instanceof ARIResult) { ariresult = (ARIResult) actionresult; } else { ActionResultInterpreter ari = ariresolver .getActionResultInterpreter(); ariresult = ari.interpretActionResult(viewparams, actionresult); } } }).run(); presmanager.scopePreserve(); flowstatemanager.inferFlowState(viewparams, ariresult); // moved inside since this may itself cause an error! String submitting = PostDecoder.decodeSubmittingControl(normalizedmap); errorstatemanager.globaltargetid = submitting; } catch (Exception e) { Logger.log.error("Error invoking action", e); // ThreadErrorState.addError(new TargettedMessage( // CoreMessages.GENERAL_ACTION_ERROR)); // Detect failure to fill out arires properly. if (ariresult == null || ariresult.resultingview == null || e instanceof IllegalStateException) { ariresult = new ARIResult(); ariresult.propagatebeans = ARIResult.FLOW_END; ViewParameters defaultparameters = viewparams.copyBase(); ariresult.resultingview = defaultparameters; } } finally { String errortoken = errorstatemanager.requestComplete(); ariresult.resultingview.errortoken = errortoken; } return ariresult.resultingview; }
|
45809 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45809/f30e2ddd6c606a9cce6533653efff4d57714891d/RSFActionHandler.java/buggy/src/uk/org/ponder/rsf/processor/RSFActionHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4441,
2402,
1640,
1435,
288,
565,
727,
514,
1301,
2039,
273,
5616,
7975,
18,
3922,
1803,
12,
17762,
1458,
1769,
565,
775,
288,
1377,
368,
2256,
333,
21786,
316,
648,
518,
1015,
14014,
414,
1281,
888,
556,
292,
20641,
1931,
1377,
4075,
4181,
18,
4887,
10874,
5621,
1377,
368,
4356,
777,
919,
17,
22628,
310,
5295,
3470,
326,
14685,
4053,
18,
1377,
1603,
8376,
18,
4113,
20013,
12,
2704,
10254,
1435,
288,
3639,
1071,
918,
1086,
1435,
288,
1171,
309,
261,
1945,
2010,
18,
2426,
2316,
480,
446,
13,
288,
5411,
4075,
4181,
18,
13991,
12,
1945,
2010,
18,
2426,
2316,
16,
7734,
1476,
2010,
18,
409,
2426,
480,
446,
1769,
1850,
289,
1850,
1185,
1520,
273,
446,
31,
1850,
775,
288,
5411,
3597,
4227,
438,
5742,
18,
9010,
1972,
12,
4523,
281,
28007,
4227,
1769,
368,
4906,
1334,
3323,
2674,
18,
1850,
289,
1850,
1044,
261,
503,
425,
13,
288,
5411,
1520,
273,
425,
31,
1850,
289,
1850,
1033,
394,
710,
273,
15676,
12,
1128,
2088,
16,
1520,
1769,
1850,
1520,
273,
446,
31,
1850,
309,
14015,
2704,
710,
422,
446,
597,
401,
6833,
18,
291,
668,
10756,
747,
394,
710,
1276,
514,
13,
288,
5411,
368,
1338,
11247,
358,
6013,
4356,
1301,
309,
1158,
432,
2259,
1253,
1818,
5411,
368,
4721,
777,
333,
14800,
2795,
17,
4119,
12131,
353,
1338,
1931,
358,
506,
7752,
5411,
368,
358,
1342,
15986,
555,
1135,
471,
1221,
2182,
315,
438,
17964,
6,
358,
506,
326,
5411,
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,
282,
1071,
4441,
2402,
1640,
1435,
288,
565,
727,
514,
1301,
2039,
273,
5616,
7975,
18,
3922,
1803,
12,
17762,
1458,
1769,
565,
775,
288,
1377,
368,
2256,
333,
21786,
316,
648,
518,
1015,
14014,
414,
1281,
888,
556,
292,
20641,
1931,
1377,
4075,
4181,
18,
4887,
10874,
5621,
1377,
368,
4356,
777,
919,
17,
22628,
310,
5295,
3470,
326,
14685,
4053,
18,
1377,
1603,
8376,
18,
4113,
20013,
12,
2704,
10254,
1435,
288,
3639,
1071,
918,
1086,
1435,
288,
1171,
309,
261,
1945,
2010,
18,
2426,
2316,
480,
446,
13,
288,
5411,
4075,
4181,
18,
13991,
12,
1945,
2010,
18,
2426,
2316,
16,
7734,
1476,
2010,
18,
409,
2426,
480,
446,
1769,
1850,
289,
1850,
1185,
1520,
273,
2
] |
||
didRelayout = true; block.moveToNextPage(c);
|
clearDelta = block.moveToNextPage(c); clearedPage = true;
|
private static void positionFloatOnPage( final LayoutContext c, FloatedBlockContent content, LineBox curr_line, FloatedBlockBox block, boolean movedVertically) { boolean didRelayout = false; if (block.getStyle().isForcePageBreakBefore() || (block.getStyle().isAvoidPageBreakInside() && block.crossesPageBreak(c))) { didRelayout = true; block.moveToNextPage(c); block.calcCanvasLocation(); block.detach(); Boxing.layout(c, block, content); c.getBlockFormattingContext().floatBox(c, (FloatedBlockBox) block); } if (! didRelayout && movedVertically) { block.detach(); Boxing.layout(c, block, content); c.getBlockFormattingContext().floatBox(c, (FloatedBlockBox) block); } }
|
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/868e29fe0bd81b55cbd739f60feedbe5488f9adb/LayoutUtil.java/clean/src/java/org/xhtmlrenderer/layout/LayoutUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1754,
4723,
1398,
1964,
12,
5411,
727,
9995,
1042,
276,
16,
478,
383,
690,
1768,
1350,
913,
16,
2398,
5377,
3514,
4306,
67,
1369,
16,
478,
383,
690,
1768,
3514,
1203,
16,
1250,
10456,
4828,
6478,
13,
288,
3639,
1250,
5061,
1971,
2012,
273,
629,
31,
7734,
309,
261,
2629,
18,
588,
2885,
7675,
291,
10997,
1964,
7634,
4649,
1435,
747,
1171,
261,
2629,
18,
588,
2885,
7675,
291,
3769,
839,
1964,
7634,
18619,
1435,
597,
7682,
1203,
18,
14653,
281,
1964,
7634,
12,
71,
20349,
288,
5411,
5061,
1971,
2012,
273,
638,
31,
5411,
1203,
18,
8501,
774,
21563,
12,
71,
1769,
5411,
1203,
18,
12448,
12971,
2735,
5621,
5411,
1203,
18,
8238,
497,
5621,
5411,
8549,
310,
18,
6741,
12,
71,
16,
1203,
16,
913,
1769,
5411,
276,
18,
588,
1768,
23974,
1042,
7675,
5659,
3514,
12,
71,
16,
261,
42,
383,
690,
1768,
3514,
13,
1203,
1769,
3639,
289,
7734,
309,
16051,
5061,
1971,
2012,
597,
10456,
4828,
6478,
13,
288,
5411,
1203,
18,
8238,
497,
5621,
5411,
8549,
310,
18,
6741,
12,
71,
16,
1203,
16,
913,
1769,
5411,
276,
18,
588,
1768,
23974,
1042,
7675,
5659,
3514,
12,
71,
16,
261,
42,
383,
690,
1768,
3514,
13,
1203,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1754,
4723,
1398,
1964,
12,
5411,
727,
9995,
1042,
276,
16,
478,
383,
690,
1768,
1350,
913,
16,
2398,
5377,
3514,
4306,
67,
1369,
16,
478,
383,
690,
1768,
3514,
1203,
16,
1250,
10456,
4828,
6478,
13,
288,
3639,
1250,
5061,
1971,
2012,
273,
629,
31,
7734,
309,
261,
2629,
18,
588,
2885,
7675,
291,
10997,
1964,
7634,
4649,
1435,
747,
1171,
261,
2629,
18,
588,
2885,
7675,
291,
3769,
839,
1964,
7634,
18619,
1435,
597,
7682,
1203,
18,
14653,
281,
1964,
7634,
12,
71,
20349,
288,
5411,
5061,
1971,
2012,
273,
638,
31,
5411,
1203,
18,
8501,
774,
21563,
12,
71,
1769,
5411,
1203,
18,
12448,
12971,
2735,
5621,
5411,
1203,
18,
8238,
497,
2
] |
MylarTaskListPlugin.getTaskListManager().markComplete(task, completedCheckbox.getSelection());
|
MylarTaskListPlugin.getTaskListManager().markComplete(task, completedCheckbox.getSelection());
|
public void doSave(IProgressMonitor monitor) { String label = description.getText(); task.setDescription(label); task.setUrl(issueReportURL.getText()); String note = notes.getText(); task.setNotes(note); task.setEstimatedTimeHours(estimated.getSelection()); if (datePicker != null && datePicker.getDate() != null) { task.setReminderDate(datePicker.getDate().getTime()); } else { task.setReminderDate(null); } task.setPriority(priorityCombo.getItem(priorityCombo .getSelectionIndex())); MylarTaskListPlugin.getTaskListManager().markComplete(task, completedCheckbox.getSelection()); refreshTaskListView(task); MylarTaskListPlugin.getTaskListManager().notifyTaskChanged(task); markDirty(false); }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/3c21ee0b5beb686d15c578c05295e1bd98da7a66/TaskInfoEditor.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskInfoEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
4755,
12,
45,
5491,
7187,
6438,
13,
288,
202,
202,
780,
1433,
273,
2477,
18,
588,
1528,
5621,
202,
202,
4146,
18,
542,
3291,
12,
1925,
1769,
202,
202,
4146,
18,
542,
1489,
12,
13882,
4820,
1785,
18,
588,
1528,
10663,
202,
202,
780,
4721,
273,
10913,
18,
588,
1528,
5621,
202,
202,
4146,
18,
542,
18063,
12,
7652,
1769,
202,
202,
4146,
18,
542,
9122,
17275,
950,
14910,
12,
395,
17275,
18,
588,
6233,
10663,
202,
202,
430,
261,
712,
13194,
480,
446,
597,
1509,
13194,
18,
588,
1626,
1435,
480,
446,
13,
288,
1082,
202,
4146,
18,
542,
1933,
14055,
1626,
12,
712,
13194,
18,
588,
1626,
7675,
588,
950,
10663,
202,
202,
97,
469,
288,
1082,
202,
4146,
18,
542,
1933,
14055,
1626,
12,
2011,
1769,
202,
202,
97,
202,
202,
4146,
18,
542,
8183,
12,
8457,
16156,
18,
588,
1180,
12,
8457,
16156,
9506,
202,
18,
588,
6233,
1016,
1435,
10019,
202,
202,
12062,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
3355,
6322,
12,
4146,
16,
9506,
202,
13615,
21272,
18,
588,
6233,
10663,
202,
202,
9144,
2174,
682,
1767,
12,
4146,
1769,
202,
202,
12062,
7901,
2174,
682,
3773,
18,
588,
2174,
682,
1318,
7675,
12336,
2174,
5033,
12,
4146,
1769,
202,
202,
3355,
10785,
12,
5743,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
4755,
12,
45,
5491,
7187,
6438,
13,
288,
202,
202,
780,
1433,
273,
2477,
18,
588,
1528,
5621,
202,
202,
4146,
18,
542,
3291,
12,
1925,
1769,
202,
202,
4146,
18,
542,
1489,
12,
13882,
4820,
1785,
18,
588,
1528,
10663,
202,
202,
780,
4721,
273,
10913,
18,
588,
1528,
5621,
202,
202,
4146,
18,
542,
18063,
12,
7652,
1769,
202,
202,
4146,
18,
542,
9122,
17275,
950,
14910,
12,
395,
17275,
18,
588,
6233,
10663,
202,
202,
430,
261,
712,
13194,
480,
446,
597,
1509,
13194,
18,
588,
1626,
1435,
480,
446,
13,
288,
1082,
202,
4146,
18,
542,
1933,
14055,
1626,
12,
712,
13194,
18,
588,
1626,
7675,
588,
950,
10663,
202,
2
] |
} else {
|
} else {
|
protected Alignment arrangeChildAlignment(final ASTNode child, final Alignment defaultAlignment) { int role = ((CompositeElement)child.getTreeParent()).getChildRole(child); if (myNode.getElementType() == ElementType.FOR_STATEMENT) { if (role == ChildRole.FOR_INITIALIZATION || role == ChildRole.CONDITION || role == ChildRole.FOR_UPDATE) { return defaultAlignment; } else { return null; } } else if (myNode.getElementType() == ElementType.EXTENDS_LIST || myNode.getElementType() == ElementType.IMPLEMENTS_LIST) { if (role == ChildRole.REFERENCE_IN_LIST || role == ChildRole.IMPLEMENTS_KEYWORD) { return defaultAlignment; } else { return null; } } else if (myNode.getElementType() == ElementType.THROWS_LIST) { if (role == ChildRole.REFERENCE_IN_LIST) { return defaultAlignment; } else { return null; } } else if (myNode.getElementType() == ElementType.CLASS) { if (role == ChildRole.CLASS_OR_INTERFACE_KEYWORD) return defaultAlignment; if (myIsAfterClassKeyword) return null; if (role == ChildRole.MODIFIER_LIST) return defaultAlignment; if (role == ChildRole.DOC_COMMENT) return defaultAlignment; return null; } else if (myNode.getElementType() == ElementType.METHOD) { if (role == ChildRole.MODIFIER_LIST) return defaultAlignment; if (role == ChildRole.TYPE) return defaultAlignment; return null; } else if (myNode.getElementType() == ElementType.ASSIGNMENT_EXPRESSION) { if (role == ChildRole.LOPERAND) return defaultAlignment; if (role == ChildRole.ROPERAND && child.getElementType() == ElementType.ASSIGNMENT_EXPRESSION) { return defaultAlignment; } else { return null; } } else { return defaultAlignment; } }
|
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/eb6833c61958345fc30b5ef914114639be2609b0/AbstractJavaBlock.java/buggy/source/com/intellij/psi/formatter/java/AbstractJavaBlock.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
17804,
2454,
726,
1763,
11535,
12,
6385,
9183,
907,
1151,
16,
727,
17804,
805,
11535,
13,
288,
565,
509,
2478,
273,
14015,
9400,
1046,
13,
3624,
18,
588,
2471,
3054,
1435,
2934,
588,
1763,
2996,
12,
3624,
1769,
565,
309,
261,
4811,
907,
18,
588,
17481,
1435,
422,
3010,
559,
18,
7473,
67,
28411,
13,
288,
1377,
309,
261,
4615,
422,
7451,
2996,
18,
7473,
67,
12919,
15154,
2689,
747,
2478,
422,
7451,
2996,
18,
22017,
747,
2478,
422,
7451,
2996,
18,
7473,
67,
8217,
13,
288,
3639,
327,
805,
11535,
31,
1377,
289,
1377,
469,
288,
3639,
327,
446,
31,
1377,
289,
565,
289,
565,
469,
309,
261,
4811,
907,
18,
588,
17481,
1435,
422,
3010,
559,
18,
4142,
1157,
3948,
67,
7085,
747,
3399,
907,
18,
588,
17481,
1435,
422,
3010,
559,
18,
9883,
7618,
55,
67,
7085,
13,
288,
1377,
309,
261,
4615,
422,
7451,
2996,
18,
14617,
67,
706,
67,
7085,
747,
2478,
422,
7451,
2996,
18,
9883,
7618,
55,
67,
28813,
13,
288,
3639,
327,
805,
11535,
31,
1377,
289,
1377,
469,
288,
3639,
327,
446,
31,
1377,
289,
565,
289,
565,
469,
309,
261,
4811,
907,
18,
588,
17481,
1435,
422,
3010,
559,
18,
2455,
28402,
67,
7085,
13,
288,
1377,
309,
261,
4615,
422,
7451,
2996,
18,
14617,
67,
706,
67,
7085,
13,
288,
3639,
327,
805,
11535,
31,
1377,
289,
1377,
469,
288,
3639,
327,
446,
31,
1377,
289,
565,
289,
565,
469,
309,
261,
4811,
907,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
17804,
2454,
726,
1763,
11535,
12,
6385,
9183,
907,
1151,
16,
727,
17804,
805,
11535,
13,
288,
565,
509,
2478,
273,
14015,
9400,
1046,
13,
3624,
18,
588,
2471,
3054,
1435,
2934,
588,
1763,
2996,
12,
3624,
1769,
565,
309,
261,
4811,
907,
18,
588,
17481,
1435,
422,
3010,
559,
18,
7473,
67,
28411,
13,
288,
1377,
309,
261,
4615,
422,
7451,
2996,
18,
7473,
67,
12919,
15154,
2689,
747,
2478,
422,
7451,
2996,
18,
22017,
747,
2478,
422,
7451,
2996,
18,
7473,
67,
8217,
13,
288,
3639,
327,
805,
11535,
31,
1377,
289,
1377,
469,
288,
3639,
327,
446,
31,
1377,
289,
565,
289,
565,
469,
309,
261,
4811,
907,
18,
588,
17481,
1435,
422,
3010,
2
] |
else if( windowName.equals("_blank") ) {
|
else if( windowToOpen.equals("_blank") ) {
|
private WebWindow openTargetWindow( final WebWindow opener, String windowName, String defaultName ) { Assert.notNull("opener", opener); Assert.notNull("defaultName", defaultName); if( windowName == null || windowName.length() == 0 ) { windowName = defaultName; } WebWindow window = null; if( windowName.equals("_self") ) { window = opener; windowName = ""; } else if( windowName.equals("_parent") ) { window = opener.getParentWindow(); windowName = ""; } else if( windowName.equals("_top") ) { window = opener.getTopWindow(); windowName = ""; } else if( windowName.equals("_blank") ) { // Leave window null to create a new window. windowName = ""; } else if( windowName.length() != 0 ) { try { window = getWebWindowByName(windowName); } catch( final WebWindowNotFoundException e ) { // Fall through - a new window will be created below } } if( window == null ) { window = new TopLevelWindow(windowName, this); fireWindowOpened( new WebWindowEvent(window, WebWindowEvent.OPEN, null, null) ); } if( window instanceof TopLevelWindow && window != opener.getTopWindow() ) { ((TopLevelWindow)window).setOpener(opener); } return window; }
|
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/bfbb9e2a2e54bf7040308f5f0b4fd744c80370c8/WebClient.java/clean/htmlunit/src/java/com/gargoylesoftware/htmlunit/WebClient.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2999,
3829,
1696,
2326,
3829,
12,
727,
2999,
3829,
20532,
16,
3639,
514,
2742,
461,
16,
514,
805,
461,
262,
288,
3639,
5452,
18,
902,
2041,
2932,
25098,
3113,
20532,
1769,
3639,
5452,
18,
902,
2041,
2932,
1886,
461,
3113,
805,
461,
1769,
3639,
309,
12,
2742,
461,
422,
446,
747,
2742,
461,
18,
2469,
1435,
422,
374,
262,
288,
5411,
2742,
461,
273,
805,
461,
31,
3639,
289,
3639,
2999,
3829,
2742,
273,
446,
31,
3639,
309,
12,
2742,
461,
18,
14963,
2932,
67,
2890,
7923,
262,
288,
5411,
2742,
273,
20532,
31,
5411,
2742,
461,
273,
1408,
31,
3639,
289,
3639,
469,
309,
12,
2742,
461,
18,
14963,
2932,
67,
2938,
7923,
262,
288,
5411,
2742,
273,
20532,
18,
588,
3054,
3829,
5621,
5411,
2742,
461,
273,
1408,
31,
3639,
289,
3639,
469,
309,
12,
2742,
461,
18,
14963,
2932,
67,
3669,
7923,
262,
288,
5411,
2742,
273,
20532,
18,
588,
3401,
3829,
5621,
5411,
2742,
461,
273,
1408,
31,
3639,
289,
3639,
469,
309,
12,
2742,
774,
3678,
18,
14963,
2932,
67,
12111,
7923,
262,
288,
5411,
368,
21131,
2742,
446,
358,
752,
279,
394,
2742,
18,
5411,
2742,
461,
273,
1408,
31,
3639,
289,
3639,
469,
309,
12,
2742,
461,
18,
2469,
1435,
480,
374,
262,
288,
5411,
775,
288,
7734,
2742,
273,
20312,
3829,
5911,
12,
5668,
461,
1769,
5411,
289,
5411,
1044,
12,
727,
2999,
3829,
3990,
425,
262,
288,
7734,
368,
23647,
3059,
300,
279,
394,
2742,
903,
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,
2999,
3829,
1696,
2326,
3829,
12,
727,
2999,
3829,
20532,
16,
3639,
514,
2742,
461,
16,
514,
805,
461,
262,
288,
3639,
5452,
18,
902,
2041,
2932,
25098,
3113,
20532,
1769,
3639,
5452,
18,
902,
2041,
2932,
1886,
461,
3113,
805,
461,
1769,
3639,
309,
12,
2742,
461,
422,
446,
747,
2742,
461,
18,
2469,
1435,
422,
374,
262,
288,
5411,
2742,
461,
273,
805,
461,
31,
3639,
289,
3639,
2999,
3829,
2742,
273,
446,
31,
3639,
309,
12,
2742,
461,
18,
14963,
2932,
67,
2890,
7923,
262,
288,
5411,
2742,
273,
20532,
31,
5411,
2742,
461,
273,
1408,
31,
3639,
289,
3639,
469,
309,
12,
2742,
461,
18,
14963,
2932,
67,
2938,
7923,
262,
288,
5411,
2
] |
public void execute(TransformerImpl transformer, Node sourceNode, QName mode) throws SAXException { transformer.pushCurrentTemplateRuleIsNull(false); try { if(TransformerImpl.S_DEBUG) transformer.getTraceManager().fireTraceEvent(sourceNode, mode, this); if(null != sourceNode) { // boolean needToTurnOffInfiniteLoopCheck = false; if(!m_isDefaultTemplate) { mode = m_mode; } // Dragons here. Push the params & stack frame, but then // execute the select statement inside transformSelectedNodes, // which must be executed in the stack frame before the // new stack frame. Because of depth-first searching, this // gets worse. VariableStack vars = transformer.getXPathContext().getVarStack(); int selectStackFrameIndex = vars.getCurrentStackFrameIndex(); vars.pushContextMarker(); vars.setCurrentStackFrameIndex(selectStackFrameIndex); transformer.pushParams(getStylesheet(), this, sourceNode, mode); vars.setCurrentStackFrameIndex(vars.size()); try { XPath xpath = getSelect(); transformer.transformSelectedNodes(getStylesheetComposed(), this, null, sourceNode, mode, getSelect(), selectStackFrameIndex); } finally { vars.popCurrentContext(); vars.setCurrentStackFrameIndex(selectStackFrameIndex); } } else // if(null == sourceNode) { transformer.getMsgMgr().error(XSLTErrorResources.ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES);//"sourceNode is null in handleApplyTemplatesInstruction!"); } } finally { transformer.popCurrentTemplateRuleIsNull(); } }
|
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/45d238f9fbfe47f6c666b10e6e76d7a7c50cb6ee/ElemApplyTemplates.java/buggy/src/org/apache/xalan/templates/ElemApplyTemplates.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1836,
12,
8319,
2828,
8360,
16,
225,
2029,
26799,
16,
225,
16723,
1965,
13,
565,
1216,
14366,
225,
288,
282,
8360,
18,
6206,
3935,
2283,
2175,
2520,
2041,
12,
5743,
1769,
565,
775,
565,
288,
309,
12,
8319,
2828,
18,
55,
67,
9394,
13,
282,
8360,
18,
588,
3448,
1318,
7675,
12179,
3448,
1133,
12,
3168,
907,
16,
1965,
16,
333,
1769,
225,
309,
12,
2011,
480,
26799,
13,
288,
565,
368,
1250,
1608,
774,
15858,
7210,
382,
9551,
6452,
1564,
273,
629,
31,
309,
12,
5,
81,
67,
291,
1868,
2283,
13,
282,
288,
3188,
273,
312,
67,
3188,
31,
282,
289,
282,
368,
28425,
7008,
2674,
18,
225,
8547,
326,
859,
473,
2110,
2623,
16,
1496,
1508,
565,
368,
1836,
326,
2027,
3021,
4832,
2510,
7416,
3205,
16,
565,
368,
1492,
1297,
506,
7120,
316,
326,
2110,
2623,
1865,
326,
565,
368,
394,
2110,
2623,
18,
225,
15191,
434,
3598,
17,
3645,
15300,
16,
333,
565,
368,
5571,
14591,
307,
18,
282,
7110,
2624,
4153,
273,
8360,
18,
588,
14124,
1042,
7675,
588,
1537,
2624,
5621,
282,
509,
2027,
2624,
3219,
1016,
273,
4153,
18,
588,
3935,
2624,
3219,
1016,
5621,
4153,
18,
6206,
1042,
7078,
5621,
282,
4153,
18,
542,
3935,
2624,
3219,
1016,
12,
4025,
2624,
3219,
1016,
1769,
282,
8360,
18,
6206,
1370,
12,
588,
24656,
9334,
2211,
16,
3168,
907,
16,
1965,
1769,
282,
4153,
18,
542,
3935,
2624,
3219,
1016,
12,
4699,
18,
1467,
10663,
282,
775,
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,
16,
225,
2029,
26799,
16,
225,
16723,
1965,
13,
565,
1216,
14366,
225,
288,
282,
8360,
18,
6206,
3935,
2283,
2175,
2520,
2041,
12,
5743,
1769,
565,
775,
565,
288,
309,
12,
8319,
2828,
18,
55,
67,
9394,
13,
282,
8360,
18,
588,
3448,
1318,
7675,
12179,
3448,
1133,
12,
3168,
907,
16,
1965,
16,
333,
1769,
225,
309,
12,
2011,
480,
26799,
13,
288,
565,
368,
1250,
1608,
774,
15858,
7210,
382,
9551,
6452,
1564,
273,
629,
31,
309,
12,
5,
81,
67,
291,
1868,
2283,
13,
282,
288,
3188,
273,
312,
67,
3188,
31,
282,
289,
282,
368,
28425,
7008,
2674,
18,
225,
8547,
326,
859,
473,
2110,
2623,
2
] |
||
if ( CSSName.propertyInherits(propName) && _parent != null ) { prop = _parent.propertyByName(propName).copyForInherit();
|
if ( CSSName.propertyInherits(propName) && _parent != null && (prop = _parent.propertyByName(propName)) != null) { prop = prop.copyForInherit();
|
public DerivedProperty propertyByName( String propName ) { // HERE: when we get the property, check if it is resolved // if not, call resolve() and pass it our parent's reference // or just our XRElement DerivedProperty prop = (DerivedProperty)_derivedPropertiesByName.get( propName ); // but the property may not be defined for this Element if ( prop == null ) { DerivedValue val = null; // if it is inheritable (like color) and we are not root, ask our parent // for the value if ( CSSName.propertyInherits(propName) && _parent != null ) { // get a copy, which is always a calculated value! prop = _parent.propertyByName(propName).copyForInherit(); } else { // otherwise, use the initial value (defined by the CSS2 Spec) String initialValue = CSSName.initialValue(propName); if ( initialValue == null ) { throw new RuntimeException("Property '" + propName + "' has no initial values assigned."); } initialValue = RuleNormalizer.convertIdent(propName, initialValue); com.pdoubleya.xhtmlrenderer.css.impl.DefaultCSSPrimitiveValue cssval = new com.pdoubleya.xhtmlrenderer.css.impl.DefaultCSSPrimitiveValue(initialValue); //a default value should always be absolute? DerivedValue xrVal = new DerivedValue(cssval); prop = new DerivedProperty(propName, xrVal); } _derivedPropertiesByName.put(propName, prop); } //prop.resolveValue( _parent ); return prop; }
|
8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/1264595f6b623dd3ff45fcdf0e0f9c0e8b9c2bc6/CalculatedStyle.java/clean/src/java/net/homelinux/tobe/xhtmlrenderer/stylerImpl/CalculatedStyle.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
14969,
2950,
1396,
1272,
5911,
12,
514,
9994,
262,
288,
3639,
368,
670,
29340,
30,
1347,
732,
336,
326,
1272,
16,
866,
309,
518,
353,
4640,
3639,
368,
309,
486,
16,
745,
2245,
1435,
471,
1342,
518,
3134,
982,
1807,
2114,
3639,
368,
578,
2537,
3134,
1139,
862,
806,
3639,
14969,
2950,
1396,
2270,
273,
261,
21007,
1396,
13,
67,
765,
2950,
2297,
5911,
18,
588,
12,
9994,
11272,
3639,
368,
1496,
326,
1272,
2026,
486,
506,
2553,
364,
333,
3010,
3639,
309,
261,
2270,
422,
446,
262,
288,
5411,
14969,
2950,
620,
1244,
273,
446,
31,
13491,
368,
309,
518,
353,
6811,
429,
261,
5625,
2036,
13,
471,
732,
854,
486,
1365,
16,
6827,
3134,
982,
5411,
368,
364,
326,
460,
5411,
309,
261,
6765,
461,
18,
4468,
382,
20038,
12,
5986,
461,
13,
597,
389,
2938,
480,
446,
262,
288,
7734,
368,
336,
279,
1610,
16,
1492,
353,
3712,
279,
8894,
460,
5,
7734,
2270,
273,
389,
2938,
18,
4468,
5911,
12,
5986,
461,
2934,
3530,
1290,
14216,
5621,
5411,
289,
469,
288,
7734,
368,
3541,
16,
999,
326,
2172,
460,
261,
2178,
635,
326,
6765,
22,
4185,
13,
7734,
514,
11837,
273,
6765,
461,
18,
6769,
620,
12,
5986,
461,
1769,
7734,
309,
261,
11837,
422,
446,
262,
288,
10792,
604,
394,
3235,
2932,
1396,
2119,
397,
9994,
397,
2491,
711,
1158,
2172,
924,
6958,
1199,
1769,
7734,
289,
7734,
11837,
273,
6781,
16132,
18,
6283,
6106,
12,
5986,
461,
16,
11837,
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,
14969,
2950,
1396,
1272,
5911,
12,
514,
9994,
262,
288,
3639,
368,
670,
29340,
30,
1347,
732,
336,
326,
1272,
16,
866,
309,
518,
353,
4640,
3639,
368,
309,
486,
16,
745,
2245,
1435,
471,
1342,
518,
3134,
982,
1807,
2114,
3639,
368,
578,
2537,
3134,
1139,
862,
806,
3639,
14969,
2950,
1396,
2270,
273,
261,
21007,
1396,
13,
67,
765,
2950,
2297,
5911,
18,
588,
12,
9994,
11272,
3639,
368,
1496,
326,
1272,
2026,
486,
506,
2553,
364,
333,
3010,
3639,
309,
261,
2270,
422,
446,
262,
288,
5411,
14969,
2950,
620,
1244,
273,
446,
31,
13491,
368,
309,
518,
353,
6811,
429,
261,
5625,
2036,
13,
471,
732,
854,
486,
1365,
16,
6827,
3134,
982,
2
] |
public boolean isSet(org.quickfix.field.SecurityAltID field)
|
public boolean isSet(quickfix.field.SecurityAltID field)
|
public boolean isSet(org.quickfix.field.SecurityAltID field) { return isSetField(field); }
|
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteStatusReport.java/clean/src/java/src/quickfix/fix44/QuoteStatusReport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
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,
-100
] |
Object answer = binding.getVariable(property); if (answer == null) { try { return super.getProperty(property); } catch (MissingPropertyException e) { } } return answer;
|
try { return binding.getVariable(property); } catch (MissingPropertyException e) { return super.getProperty(property); }
|
public Object getProperty(String property) { //System.out.println("Script.getProperty for: " + property + " with binding: " + binding.getVariables()); Object answer = binding.getVariable(property); if (answer == null) { try { return super.getProperty(property); } catch (MissingPropertyException e) { // ignore errors inside scripts } } return answer; }
|
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/f6dafee96aeb8b02bc5948750fab3f9237439dc0/Script.java/clean/src/main/groovy/lang/Script.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
3911,
12,
780,
1272,
13,
288,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
3651,
18,
588,
1396,
364,
30,
315,
397,
1272,
397,
315,
598,
5085,
30,
315,
397,
5085,
18,
588,
6158,
10663,
3639,
1033,
5803,
273,
5085,
18,
588,
3092,
12,
4468,
1769,
3639,
309,
261,
13490,
422,
446,
13,
288,
5411,
775,
288,
7734,
327,
2240,
18,
588,
1396,
12,
4468,
1769,
5411,
289,
5411,
1044,
261,
4841,
1396,
503,
425,
13,
288,
7734,
368,
2305,
1334,
4832,
8873,
5411,
289,
3639,
289,
3639,
327,
5803,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
3911,
12,
780,
1272,
13,
288,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
3651,
18,
588,
1396,
364,
30,
315,
397,
1272,
397,
315,
598,
5085,
30,
315,
397,
5085,
18,
588,
6158,
10663,
3639,
1033,
5803,
273,
5085,
18,
588,
3092,
12,
4468,
1769,
3639,
309,
261,
13490,
422,
446,
13,
288,
5411,
775,
288,
7734,
327,
2240,
18,
588,
1396,
12,
4468,
1769,
5411,
289,
5411,
1044,
261,
4841,
1396,
503,
425,
13,
288,
7734,
368,
2305,
1334,
4832,
8873,
5411,
289,
3639,
289,
3639,
327,
5803,
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
] |
} if (getPiSystemsCount(ac, atoms[i]) == 1) {
|
}else if (getPiSystemsCount(ac, atoms[i]) == 1) {
|
public DescriptorValue calculate(AtomContainer ac) throws CDKException { RingSet rs = (new AllRingsFinder()).findAllRings(ac); HueckelAromaticityDetector.detectAromaticity(ac, rs, true); double xlogP = 0; org.openscience.cdk.interfaces.Atom[] atoms = ac.getAtoms(); String symbol = ""; int bondCount = 0; int hsCount = 0; double maxBondOrder = 0; for (int i = 0; i < atoms.length; i++) { symbol = atoms[i].getSymbol(); bondCount = ac.getBondCount(atoms[i]); hsCount = getHydrogenCount(ac, atoms[i]); maxBondOrder = ac.getMaximumBondOrder(atoms[i]); if (symbol.equals("C")) { if (bondCount == 2) { // C sp if (hsCount >= 1) { xlogP += 0.209; // // System.out...println("XLOGP: 1"); } else { if (maxBondOrder == 2.0) { xlogP += 2.073; // // System.out...println("XLOGP: 2"); } else if (maxBondOrder == 3.0) { xlogP += 0.33; // // System.out...println("XLOGP: 3"); } } } if (bondCount == 3) { // C sp2 if (atoms[i].getFlag(CDKConstants.ISAROMATIC)) { if (getAromaticCarbonsCount(ac, atoms[i]) == 2) { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.296; // // System.out...println("XLOGP: 4"); } else { xlogP -= 0.151; // // System.out...println("XLOGP: 5"); } } else { xlogP += 0.337; // // System.out...println("XLOGP: 6"); } } else if (getAromaticCarbonsCount(ac, atoms[i]) < 2 && getAromaticNitrogensCount(ac, atoms[i]) > 1) { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.174; // // System.out...println("XLOGP: 7"); } else { xlogP += 0.366; // // System.out...println("XLOGP: 8"); } } else if (getHydrogenCount(ac, atoms[i]) == 1) { xlogP += 0.126; // // System.out...println("XLOGP: 9"); } } } else { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.05; // // System.out...println("XLOGP: 10"); } else { xlogP += 0.013; // // System.out...println("XLOGP: 11"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.03; // // System.out...println("XLOGP: 12"); } else { xlogP -= 0.027; // // System.out...println("XLOGP: 13"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 2) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.005; // // System.out...println("XLOGP: 14"); } else { xlogP -= 0.315; // // System.out...println("XLOGP: 15"); } } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.466; // // System.out...println("XLOGP: 16"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.136; // // System.out...println("XLOGP: 17"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.001; // // System.out...println("XLOGP: 18"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.31; // // System.out...println("XLOGP: 19"); } } } if (hsCount == 2) { xlogP += 0.42; // // System.out...println("XLOGP: 20"); } } if (getIfCarbonIsHydrophobic(ac, atoms[i]) >= 0) { xlogP += 0.211; // // System.out...println("XLOGP: 21"); } } if (bondCount == 4) { // C sp3 if (getIfCarbonIsHydrophobic(ac, atoms[i]) >= 0) { xlogP += 0.211; // // System.out...println("XLOGP: 22"); } if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.006; // // System.out...println("XLOGP: 23"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.57; // // System.out...println("XLOGP: 24"); } if (getPiSystemsCount(ac, atoms[i]) >= 2) { xlogP -= 0.317; // // System.out...println("XLOGP: 25"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.316; // // System.out...println("XLOGP: 26"); } else { xlogP -= 0.723; // // System.out...println("XLOGP: 27"); } } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.127; // // System.out...println("XLOGP: 28"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.243; // // System.out...println("XLOGP: 29"); } if (getPiSystemsCount(ac, atoms[i]) >= 2) { xlogP -= 0.499; // // System.out...println("XLOGP: 30"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.205; // // System.out...println("XLOGP: 31"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.305; // // System.out...println("XLOGP: 32"); } if (getPiSystemsCount(ac, atoms[i]) >= 2) { xlogP -= 0.709; // // System.out...println("XLOGP: 33"); } } } if (hsCount == 2) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.358; // // System.out...println("XLOGP: 34"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.008; // // System.out...println("XLOGP: 35"); } if (getPiSystemsCount(ac, atoms[i]) == 2) { xlogP -= 0.185; // // System.out...println("XLOGP: 36"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.137; // // System.out...println("XLOGP: 37"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.303; // // System.out...println("XLOGP: 38"); } if (getPiSystemsCount(ac, atoms[i]) == 2) { xlogP -= 0.815; // // System.out...println("XLOGP: 39"); } } } if (hsCount > 2) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.528; // // System.out...println("XLOGP: 40"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.267; // // System.out...println("XLOGP: 41"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.032; // // System.out...println("XLOGP: 42"); } } } } if (symbol.equals("N")) { if (ac.getBondOrderSum(atoms[i]) == 5.0) { xlogP += 1.178; // // System.out...println("XLOGP: 43"); } // NO2 else { if (getPresenceOfCarbonil(ac, atoms[i]) == 1) { // amidic nitrogen if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.078; // // System.out...println("XLOGP: 44"); } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.118; // // System.out...println("XLOGP: 45"); } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP -= 0.096; // // System.out...println("XLOGP: 46"); } else { xlogP -= 0.044; // // System.out...println("XLOGP: 47"); } } if (hsCount == 2) { xlogP -= 0.646; // // System.out...println("XLOGP: 48"); } } else { if (bondCount == 1) { // -C#N if (getCarbonsCount(ac, atoms[i]) == 1) { xlogP -= 0.566; // // System.out...println("XLOGP: 49"); } } if (bondCount == 2) { // N sp2 if (atoms[i].getFlag(CDKConstants.ISAROMATIC)) { xlogP -= 0.493; // // System.out...println("XLOGP: 50"); } else { if (getDoubleBondedCarbonsCount(ac, atoms[i]) == 0) { if (getDoubleBondedNitrogenCount(ac, atoms[i]) == 0) { if (getDoubleBondedOxygenCount(ac, atoms[i]) == 1) { xlogP += 0.427; // // System.out...println("XLOGP: 51"); } } if (getDoubleBondedNitrogenCount(ac, atoms[i]) == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.536; // // System.out...println("XLOGP: 52"); } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.597; // // System.out...println("XLOGP: 53"); } } } if (getDoubleBondedCarbonsCount(ac, atoms[i]) == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.007; // // System.out...println("XLOGP: 54"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.275; // // System.out...println("XLOGP: 55"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.366; // // System.out...println("XLOGP: 56"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.251; // // System.out...println("XLOGP: 57"); } } } } } if (bondCount == 3) { // N sp3 if (hsCount == 0) { if (rs.contains(atoms[i])) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.881; // // System.out...println("XLOGP: 58"); } else { xlogP -= 0.01; // // System.out...println("XLOGP: 59"); } } else { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.159; // // System.out...println("XLOGP: 60"); } if (getPiSystemsCount(ac, atoms[i]) > 0) { xlogP += 0.761; // // System.out...println("XLOGP: 61"); } } else { xlogP -= 0.239; } } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (atoms[i].getFlag(CDKConstants.ISAROMATIC)) { xlogP += 0.545; // // System.out...println("XLOGP: 62"); } // like pyrrole else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.112; // // System.out...println("XLOGP: 63"); } if (getPiSystemsCount(ac, atoms[i]) > 0) { xlogP += 0.166; // // System.out...println("XLOGP: 64"); } } } else { if (rs.contains(atoms[i])) { xlogP += 0.153; // // System.out...println("XLOGP: 65"); } else { xlogP += 0.324; // // System.out...println("XLOGP: 66"); } } } if (hsCount == 2) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.534; // // System.out...println("XLOGP: 66"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.329; // // System.out...println("XLOGP: 67"); } } else { xlogP -= 1.082; // // System.out...println("XLOGP: 68"); } } } } } } if (symbol.equals("O")) { if (bondCount == 1) { xlogP -= 0.399; // // System.out...println("XLOGP: 69"); } if (bondCount == 2) { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.084; // // System.out...println("XLOGP: 70"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.435; // // System.out...println("XLOGP: 71"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP += 0.105; // // System.out...println("XLOGP: 72"); } } else { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.467; // // System.out...println("XLOGP: 73"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.082; // // System.out...println("XLOGP: 74"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.522; // // System.out...println("XLOGP: 75"); } } } } if (symbol.equals("S")) { if (bondCount == 1) { xlogP -= 0.148; // // System.out...println("XLOGP: 76"); } if (bondCount == 2) { if (hsCount == 0) { xlogP += 0.255; // // System.out...println("XLOGP: 77"); } else { xlogP += 0.419; // // System.out...println("XLOGP: 78"); } } if (bondCount == 3) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 1.375; // // System.out...println("XLOGP: 79"); } } if (bondCount == 4) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 2) { xlogP -= 0.168; // // System.out...println("XLOGP: 80"); } } } if (symbol.equals("P")) { if (getDoubleBondedSulfurCount(ac, atoms[i]) == 1) { xlogP += 1.253; // // System.out...println("XLOGP: 81"); } if (getDoubleBondedOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.477; // // System.out...println("XLOGP: 82"); } } if (symbol.equals("F")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.375; // // System.out...println("XLOGP: 84"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.202; // // System.out...println("XLOGP: 85"); } } if (symbol.equals("Cl")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.512; // // System.out...println("XLOGP: 86"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.663; // // System.out...println("XLOGP: 87"); } } if (symbol.equals("Br")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.85; // // System.out...println("XLOGP: 88"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.839; // // System.out...println("XLOGP: 89"); } } if (symbol.equals("I")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 1.05; // // System.out...println("XLOGP: 90"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 1.109; // // System.out...println("XLOGP: 91"); } } if (getAlogenCount(ac, atoms[i]) >= 2) { xlogP += 0.137; // // System.out...println("XLOGP: 92"); } // more than 2 alogens on the same atom if (getPresenceOfCarbonil(ac, atoms[i]) == 2) {// sp2 oxygen 1-5 pair if(!rs.contains(atoms[i])) { xlogP += 0.580; } } } Descriptor acc = new HBondAcceptorCountDescriptor(); Object[] paramsAcc = {new Boolean(false)}; acc.setParameters(paramsAcc); Descriptor don = new HBondDonorCountDescriptor(); Object[] paramsDon = {new Boolean(false)}; don.setParameters(paramsDon); int acceptors = ((IntegerResult) acc.calculate(ac).getValue()).intValue(); int donors = ((IntegerResult) don.calculate(ac).getValue()).intValue(); if (donors > 0 && acceptors > 0) { xlogP += 0.429; // internal H-bonds } SmilesParser sp = new SmilesParser(); AtomContainer paba = sp.parseSmiles("CS(=O)(=O)c1ccc(N)cc1"); // p-amino sulphonic acid if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, paba)) { xlogP -= 0.501; } AtomContainer aminoacid = sp.parseSmiles("NC=O"); // alpha amino acid if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, aminoacid)) { xlogP -= 2.166; } AtomContainer salicilic = sp.parseSmiles("O=C(O)c1ccccc1O"); // salicylic acid if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, salicilic)) { xlogP += 0.554; } AtomContainer orthopair = sp.parseSmiles("OCCO"); // ortho oxygen pair if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, orthopair)) { xlogP -= 0.268; } return new DescriptorValue(getSpecification(), getParameterNames(), getParameters(), new DoubleResult(xlogP)); }
|
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/11cd872c3dbcc51a117ad375706e7a5334b88daa/XLogPDescriptor.java/clean/src/org/openscience/cdk/qsar/XLogPDescriptor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12823,
620,
4604,
12,
3641,
2170,
1721,
13,
1216,
24570,
288,
202,
202,
10369,
694,
3597,
273,
261,
2704,
4826,
54,
899,
8441,
1435,
2934,
4720,
1595,
54,
899,
12,
1077,
1769,
202,
202,
44,
344,
363,
292,
37,
27468,
560,
12594,
18,
16518,
37,
27468,
560,
12,
1077,
16,
3597,
16,
638,
1769,
202,
202,
9056,
619,
1330,
52,
273,
374,
31,
202,
202,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
3641,
8526,
9006,
273,
1721,
18,
588,
14280,
5621,
202,
202,
780,
3273,
273,
1408,
31,
202,
202,
474,
8427,
1380,
273,
374,
31,
202,
202,
474,
12670,
1380,
273,
374,
31,
202,
202,
9056,
943,
9807,
2448,
273,
374,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
9006,
18,
2469,
31,
277,
27245,
288,
1082,
202,
7175,
273,
9006,
63,
77,
8009,
588,
5335,
5621,
1082,
202,
26425,
1380,
273,
1721,
18,
588,
9807,
1380,
12,
14937,
63,
77,
19226,
1082,
202,
4487,
1380,
273,
7628,
93,
24096,
1380,
12,
1077,
16,
9006,
63,
77,
19226,
1082,
202,
1896,
9807,
2448,
273,
1721,
18,
588,
13528,
9807,
2448,
12,
14937,
63,
77,
19226,
1082,
202,
430,
261,
7175,
18,
14963,
2932,
39,
6,
3719,
288,
9506,
202,
430,
261,
26425,
1380,
422,
576,
13,
288,
6862,
202,
759,
385,
1694,
6862,
202,
430,
261,
4487,
1380,
1545,
404,
13,
288,
25083,
202,
92,
1330,
52,
1011,
374,
18,
3462,
29,
31,
25083,
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,
12823,
620,
4604,
12,
3641,
2170,
1721,
13,
1216,
24570,
288,
202,
202,
10369,
694,
3597,
273,
261,
2704,
4826,
54,
899,
8441,
1435,
2934,
4720,
1595,
54,
899,
12,
1077,
1769,
202,
202,
44,
344,
363,
292,
37,
27468,
560,
12594,
18,
16518,
37,
27468,
560,
12,
1077,
16,
3597,
16,
638,
1769,
202,
202,
9056,
619,
1330,
52,
273,
374,
31,
202,
202,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
3641,
8526,
9006,
273,
1721,
18,
588,
14280,
5621,
202,
202,
780,
3273,
273,
1408,
31,
202,
202,
474,
8427,
1380,
273,
374,
31,
202,
202,
474,
12670,
1380,
273,
374,
31,
202,
202,
9056,
943,
9807,
2448,
273,
374,
2
] |
return member;
|
return member;
|
public static Member member(String memberName, List members) { Iterator itr = members.iterator(); Member member = null; while (itr.hasNext()) { member = (Member) itr.next(); if (member.name().equals(memberName)) return member; } return null; }
|
55159 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55159/ad4bb57d8b60d1d349476b158ba8388766ee9a8c/Member.java/clean/jmatter/src/com/u2d/element/Member.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
760,
8596,
3140,
12,
780,
3140,
461,
16,
987,
4833,
13,
282,
288,
1377,
4498,
11176,
273,
4833,
18,
9838,
5621,
1377,
8596,
3140,
273,
446,
31,
1377,
1323,
261,
305,
86,
18,
5332,
2134,
10756,
1377,
288,
540,
3140,
273,
261,
4419,
13,
11176,
18,
4285,
5621,
540,
309,
261,
5990,
18,
529,
7675,
14963,
12,
5990,
461,
3719,
5411,
327,
3140,
31,
1377,
289,
1377,
327,
446,
31,
282,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
760,
8596,
3140,
12,
780,
3140,
461,
16,
987,
4833,
13,
282,
288,
1377,
4498,
11176,
273,
4833,
18,
9838,
5621,
1377,
8596,
3140,
273,
446,
31,
1377,
1323,
261,
305,
86,
18,
5332,
2134,
10756,
1377,
288,
540,
3140,
273,
261,
4419,
13,
11176,
18,
4285,
5621,
540,
309,
261,
5990,
18,
529,
7675,
14963,
12,
5990,
461,
3719,
5411,
327,
3140,
31,
1377,
289,
1377,
327,
446,
31,
282,
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
] |
Assert.assert(-1 != nativeWebShell); Assert.assert(null != nativeEventThread);
|
Assert.assert_it(-1 != nativeWebShell); Assert.assert_it(null != nativeEventThread);
|
public void removeMouseListener(MouseListener listener){ ParameterCheck.nonNull(listener); myFactory.throwExceptionIfNotInitialized(); Assert.assert(-1 != nativeWebShell); Assert.assert(null != nativeEventThread); ParameterCheck.nonNull(listener); WCMouseListenerImpl mouseListenerWrapper = new WCMouseListenerImpl(listener); if (null == mouseListenerWrapper) { throw new NullPointerException("Can't instantiate WCMouseListenerImpl, out of memory."); } WCEventListenerWrapper listenerWrapper = new WCEventListenerWrapper(mouseListenerWrapper, MouseListener.class.getName()); if (null == listenerWrapper) { throw new NullPointerException("Can't instantiate WCEventListenerWrapper, out of memory."); } synchronized(myBrowserControl) { nativeEventThread.removeListener(listenerWrapper); }}
|
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/0e30fa38c30ae26743aee09175fac1e8146c075a/EventRegistrationImpl.java/clean/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/EventRegistrationImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1206,
9186,
2223,
12,
9186,
2223,
2991,
15329,
565,
5498,
1564,
18,
5836,
2041,
12,
12757,
1769,
565,
3399,
1733,
18,
12849,
503,
10288,
11459,
5621,
565,
5452,
18,
11231,
19236,
21,
480,
6448,
4079,
13220,
1769,
565,
5452,
18,
11231,
12,
2011,
480,
6448,
1133,
3830,
1769,
565,
5498,
1564,
18,
5836,
2041,
12,
12757,
1769,
565,
678,
39,
9186,
2223,
2828,
7644,
2223,
3611,
273,
540,
394,
678,
39,
9186,
2223,
2828,
12,
12757,
1769,
3639,
309,
261,
2011,
422,
7644,
2223,
3611,
13,
288,
3639,
604,
394,
10108,
2932,
2568,
1404,
10275,
678,
39,
9186,
2223,
2828,
16,
596,
434,
3778,
1199,
1769,
565,
289,
3639,
678,
39,
7375,
3611,
2991,
3611,
273,
540,
394,
678,
39,
7375,
3611,
12,
11697,
2223,
3611,
16,
4766,
282,
17013,
2223,
18,
1106,
18,
17994,
10663,
3639,
309,
261,
2011,
422,
2991,
3611,
13,
288,
3639,
604,
394,
10108,
2932,
2568,
1404,
10275,
678,
39,
7375,
3611,
16,
596,
434,
3778,
1199,
1769,
565,
289,
3639,
3852,
12,
4811,
9132,
3367,
13,
288,
3639,
6448,
1133,
3830,
18,
4479,
2223,
12,
12757,
3611,
1769,
565,
10523,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1206,
9186,
2223,
12,
9186,
2223,
2991,
15329,
565,
5498,
1564,
18,
5836,
2041,
12,
12757,
1769,
565,
3399,
1733,
18,
12849,
503,
10288,
11459,
5621,
565,
5452,
18,
11231,
19236,
21,
480,
6448,
4079,
13220,
1769,
565,
5452,
18,
11231,
12,
2011,
480,
6448,
1133,
3830,
1769,
565,
5498,
1564,
18,
5836,
2041,
12,
12757,
1769,
565,
678,
39,
9186,
2223,
2828,
7644,
2223,
3611,
273,
540,
394,
678,
39,
9186,
2223,
2828,
12,
12757,
1769,
3639,
309,
261,
2011,
422,
7644,
2223,
3611,
13,
288,
3639,
604,
394,
10108,
2932,
2568,
1404,
10275,
678,
39,
9186,
2223,
2828,
16,
596,
434,
3778,
1199,
1769,
565,
289,
3639,
678,
39,
7375,
3611,
2991,
3611,
273,
540,
2
] |
if (isBufferedImageGraphics()) updateBufferedImage();
|
updateBufferedImage();
|
public void clearRect(int x, int y, int width, int height) { cairoSetRGBColor(bg.getRed() / 255.0, bg.getGreen() / 255.0, bg.getBlue() / 255.0); cairoSetAlpha(1.0); cairoNewPath(); cairoRectangle(x, y, width, height); cairoFill(); setColor(fg); if (isBufferedImageGraphics()) updateBufferedImage(); }
|
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/4973e509e558f189ff8e6ee51dbea88f6a34c509/GdkGraphics2D.java/clean/libraries/javalib/gnu/java/awt/peer/gtk/GdkGraphics2D.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2424,
6120,
12,
474,
619,
16,
509,
677,
16,
509,
1835,
16,
509,
2072,
13,
225,
288,
565,
14503,
694,
11343,
2957,
12,
12370,
18,
588,
3715,
1435,
342,
4561,
18,
20,
16,
7611,
18,
588,
21453,
1435,
342,
4561,
18,
20,
16,
5397,
7611,
18,
588,
27986,
1435,
342,
4561,
18,
20,
1769,
565,
14503,
694,
9690,
12,
21,
18,
20,
1769,
565,
14503,
1908,
743,
5621,
565,
14503,
19463,
12,
92,
16,
677,
16,
1835,
16,
2072,
1769,
565,
14503,
8026,
5621,
565,
16207,
12,
2137,
1769,
565,
309,
261,
291,
17947,
2040,
17558,
10756,
1377,
1089,
17947,
2040,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2424,
6120,
12,
474,
619,
16,
509,
677,
16,
509,
1835,
16,
509,
2072,
13,
225,
288,
565,
14503,
694,
11343,
2957,
12,
12370,
18,
588,
3715,
1435,
342,
4561,
18,
20,
16,
7611,
18,
588,
21453,
1435,
342,
4561,
18,
20,
16,
5397,
7611,
18,
588,
27986,
1435,
342,
4561,
18,
20,
1769,
565,
14503,
694,
9690,
12,
21,
18,
20,
1769,
565,
14503,
1908,
743,
5621,
565,
14503,
19463,
12,
92,
16,
677,
16,
1835,
16,
2072,
1769,
565,
14503,
8026,
5621,
565,
16207,
12,
2137,
1769,
565,
309,
261,
291,
17947,
2040,
17558,
10756,
1377,
1089,
17947,
2040,
5621,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} else {
|
} else {
|
private void init(final ASTNode child) { if (child == null) return; ASTNode treePrev = child.getTreePrev(); while (isWhiteSpace(treePrev)) { treePrev = treePrev.getTreePrev(); } if (treePrev == null) { init(child.getTreeParent()); } else { myChild2 = child; myChild1 = treePrev; final CompositeElement parent = (CompositeElement)myChild1.getTreeParent(); myParent = SourceTreeToPsiMap.treeElementToPsi(parent); myRole1 = parent.getChildRole(myChild1); myRole2 = parent.getChildRole(myChild2); } }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/1533398430214d8ae562ff3d8dcc5898351f8c45/JavaSpacePropertyProcessor.java/buggy/source/com/intellij/psi/formatter/java/JavaSpacePropertyProcessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1208,
12,
6385,
9183,
907,
1151,
13,
288,
565,
309,
261,
3624,
422,
446,
13,
327,
31,
565,
9183,
907,
2151,
9958,
273,
1151,
18,
588,
2471,
9958,
5621,
565,
1323,
261,
291,
23108,
12,
3413,
9958,
3719,
288,
1377,
2151,
9958,
273,
2151,
9958,
18,
588,
2471,
9958,
5621,
565,
289,
565,
309,
261,
3413,
9958,
422,
446,
13,
288,
1377,
1208,
12,
3624,
18,
588,
2471,
3054,
10663,
565,
289,
469,
288,
1377,
3399,
1763,
22,
273,
1151,
31,
1377,
3399,
1763,
21,
273,
2151,
9958,
31,
1377,
727,
14728,
1046,
982,
273,
261,
9400,
1046,
13,
4811,
1763,
21,
18,
588,
2471,
3054,
5621,
1377,
3399,
3054,
273,
4998,
2471,
774,
52,
7722,
863,
18,
3413,
1046,
774,
52,
7722,
12,
2938,
1769,
1377,
3399,
2996,
21,
273,
982,
18,
588,
1763,
2996,
12,
4811,
1763,
21,
1769,
1377,
3399,
2996,
22,
273,
982,
18,
588,
1763,
2996,
12,
4811,
1763,
22,
1769,
565,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1208,
12,
6385,
9183,
907,
1151,
13,
288,
565,
309,
261,
3624,
422,
446,
13,
327,
31,
565,
9183,
907,
2151,
9958,
273,
1151,
18,
588,
2471,
9958,
5621,
565,
1323,
261,
291,
23108,
12,
3413,
9958,
3719,
288,
1377,
2151,
9958,
273,
2151,
9958,
18,
588,
2471,
9958,
5621,
565,
289,
565,
309,
261,
3413,
9958,
422,
446,
13,
288,
1377,
1208,
12,
3624,
18,
588,
2471,
3054,
10663,
565,
289,
469,
288,
1377,
3399,
1763,
22,
273,
1151,
31,
1377,
3399,
1763,
21,
273,
2151,
9958,
31,
1377,
727,
14728,
1046,
982,
273,
261,
9400,
1046,
13,
4811,
1763,
21,
18,
588,
2471,
3054,
5621,
1377,
3399,
3054,
273,
4998,
2471,
774,
52,
7722,
2
] |
public void testDuplicateRuleNames() throws Exception { final PackageBuilder builder = new PackageBuilder(); final PackageDescr packageDescr = new PackageDescr( "p1" ); RuleDescr ruleDescr = new RuleDescr( "rule-1" ); packageDescr.addRule( ruleDescr ); AndDescr lhs = new AndDescr(); ruleDescr.setLhs( lhs ); ColumnDescr columnDescr = new ColumnDescr( Cheese.class.getName(), "stilton" ); LiteralDescr literalDescr = new LiteralDescr( "type", "==", null ); columnDescr.addDescr( literalDescr ); ruleDescr.setConsequence( "" ); ruleDescr = new RuleDescr( "rule-1" ); ruleDescr.setLocation( 42, 43 ); packageDescr.addRule( ruleDescr ); lhs = new AndDescr(); ruleDescr.setLhs( lhs ); columnDescr = new ColumnDescr( Cheese.class.getName(), "stilton" ); literalDescr = new LiteralDescr( "type", "!=", null ); columnDescr.addDescr( literalDescr ); ruleDescr.setConsequence( "" ); ruleDescr = new RuleDescr( "rule-2" ); ruleDescr.setLocation( 42, 43 ); packageDescr.addRule( ruleDescr ); lhs = new AndDescr(); ruleDescr.setLhs( lhs ); columnDescr = new ColumnDescr( Cheese.class.getName(), "stilton" ); literalDescr = new LiteralDescr( "type", "!=", null ); columnDescr.addDescr( literalDescr ); ruleDescr.setConsequence( "" ); builder.addPackage( packageDescr ); assertLength( 1, builder.getErrors() ); ParserError err = (ParserError) builder.getErrors()[0]; assertEquals(42, err.getRow()); assertEquals(43, err.getCol()); }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/8223aff96ac63ccb9bcaf9b3e53806f3a74c2522/PackageBuilderTest.java/buggy/drools-compiler/src/test/java/org/drools/compiler/PackageBuilderTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1842,
11826,
2175,
1557,
1435,
1216,
1185,
288,
6385,
7508,
1263,
2089,
273,
394,
7508,
1263,
5621,
6385,
7508,
16198,
2181,
16198,
273,
394,
7508,
16198,
12,
315,
84,
21,
6,
11272,
2175,
16198,
1720,
16198,
273,
394,
6781,
16198,
12,
315,
5345,
17,
21,
6,
11272,
5610,
16198,
18,
1289,
2175,
12,
1720,
16198,
11272,
1876,
16198,
8499,
273,
394,
7835,
16198,
5621,
5345,
16198,
18,
542,
48,
4487,
12,
8499,
11272,
1494,
16198,
1057,
16198,
273,
394,
4753,
16198,
12,
22682,
3392,
18,
1106,
18,
17994,
9334,
315,
334,
330,
1917,
6,
11272,
6177,
16198,
7158,
16198,
273,
394,
14392,
16198,
12,
315,
723,
15937,
631,
3113,
2011,
11272,
2827,
16198,
18,
1289,
16198,
12,
7158,
16198,
11272,
5345,
16198,
18,
542,
442,
6178,
12,
1408,
11272,
5345,
16198,
273,
394,
6781,
16198,
12,
315,
5345,
17,
21,
6,
11272,
5345,
16198,
18,
542,
2735,
12,
14856,
16,
21193,
11272,
5610,
16198,
18,
1289,
2175,
12,
1720,
16198,
11272,
80,
4487,
273,
394,
7835,
16198,
5621,
5345,
16198,
18,
542,
48,
4487,
12,
8499,
11272,
2827,
16198,
273,
394,
4753,
16198,
12,
22682,
3392,
18,
1106,
18,
17994,
9334,
315,
334,
330,
1917,
6,
11272,
13107,
16198,
273,
394,
14392,
16198,
12,
315,
723,
15937,
5,
1546,
16,
2011,
11272,
2827,
16198,
18,
1289,
16198,
12,
7158,
16198,
11272,
5345,
16198,
18,
542,
442,
6178,
12,
1408,
11272,
5345,
16198,
273,
394,
6781,
16198,
12,
315,
5345,
17,
22,
6,
11272,
5345,
16198,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1842,
11826,
2175,
1557,
1435,
1216,
1185,
288,
6385,
7508,
1263,
2089,
273,
394,
7508,
1263,
5621,
6385,
7508,
16198,
2181,
16198,
273,
394,
7508,
16198,
12,
315,
84,
21,
6,
11272,
2175,
16198,
1720,
16198,
273,
394,
6781,
16198,
12,
315,
5345,
17,
21,
6,
11272,
5610,
16198,
18,
1289,
2175,
12,
1720,
16198,
11272,
1876,
16198,
8499,
273,
394,
7835,
16198,
5621,
5345,
16198,
18,
542,
48,
4487,
12,
8499,
11272,
1494,
16198,
1057,
16198,
273,
394,
4753,
16198,
12,
22682,
3392,
18,
1106,
18,
17994,
9334,
315,
334,
330,
1917,
6,
11272,
6177,
16198,
7158,
16198,
273,
394,
14392,
16198,
12,
315,
723,
15937,
631,
3113,
2011,
11272,
2827,
16198,
18,
1289,
16198,
12,
2
] |
||
{ DMDJobList joblist = new DMDJobList(); boolean all = false; if (item.equals("/") || item.equals("/*")) all=true; if (all || item.equals("/title")) joblist.add(new DMDJobListItem("/title")); if (all || item.equals("/creator")) joblist.add(new DMDJobListItem("/author")); if (all || item.equals("/date")) joblist.add(new DMDJobListItem("/date")); if (all || item.equals("/description")) joblist.add(new DMDJobListItem("/descrioption")); if (all || item.equals("/right")) joblist.add(new DMDJobListItem("/copyright")); return joblist; }
|
{ DMDJobList joblist = new DMDJobList(); boolean all = false; if (item.equals("/") || item.equals("/*")) all=true; if (all || item.equals("/title")) joblist.add(new DMDJobListItem("/title")); if (all || item.equals("/creator")) joblist.add(new DMDJobListItem("/author")); if (all || item.equals("/date")) joblist.add(new DMDJobListItem("/date")); if (all || item.equals("/description")) joblist.add(new DMDJobListItem("/descrioption")); if (all || item.equals("/right")) joblist.add(new DMDJobListItem("/copyright")); return joblist; }
|
private DMDJobList createJobList(String item) { DMDJobList joblist = new DMDJobList(); boolean all = false; if (item.equals("/") || item.equals("/*")) all=true; if (all || item.equals("/title")) joblist.add(new DMDJobListItem("/title")); if (all || item.equals("/creator")) joblist.add(new DMDJobListItem("/author")); if (all || item.equals("/date")) joblist.add(new DMDJobListItem("/date")); if (all || item.equals("/description")) joblist.add(new DMDJobListItem("/descrioption")); if (all || item.equals("/right")) joblist.add(new DMDJobListItem("/copyright")); return joblist; }
|
10978 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10978/6adbdd9f27a670b125d33c9530877d38b3588c46/HTMLMapper.java/buggy/dinomeda/src/org/dinopolis/utils/metadata/dinomeda/HTMLMapper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
463,
6188,
2278,
682,
752,
2278,
682,
12,
780,
761,
13,
565,
288,
3639,
463,
6188,
2278,
682,
1719,
1098,
273,
394,
463,
6188,
2278,
682,
5621,
3639,
1250,
777,
273,
629,
31,
3639,
309,
261,
1726,
18,
14963,
2932,
4898,
13,
747,
761,
18,
14963,
2932,
19,
7388,
3719,
777,
33,
3767,
31,
7734,
309,
261,
454,
747,
761,
18,
14963,
2932,
19,
2649,
6,
3719,
1719,
1098,
18,
1289,
12,
2704,
463,
6188,
2278,
13575,
2932,
19,
2649,
7923,
1769,
3639,
309,
261,
454,
747,
761,
18,
14963,
2932,
19,
20394,
6,
3719,
1719,
1098,
18,
1289,
12,
2704,
463,
6188,
2278,
13575,
2932,
19,
4161,
7923,
1769,
3639,
309,
261,
454,
747,
761,
18,
14963,
2932,
19,
712,
6,
3719,
1719,
1098,
18,
1289,
12,
2704,
463,
6188,
2278,
13575,
2932,
19,
712,
7923,
1769,
3639,
309,
261,
454,
747,
761,
18,
14963,
2932,
19,
3384,
6,
3719,
1719,
1098,
18,
1289,
12,
2704,
463,
6188,
2278,
13575,
2932,
19,
72,
1052,
3482,
7923,
1769,
3639,
309,
261,
454,
747,
761,
18,
14963,
2932,
19,
4083,
6,
3719,
1719,
1098,
18,
1289,
12,
2704,
463,
6188,
2278,
13575,
2932,
19,
29187,
7923,
1769,
3639,
327,
1719,
1098,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
463,
6188,
2278,
682,
752,
2278,
682,
12,
780,
761,
13,
565,
288,
3639,
463,
6188,
2278,
682,
1719,
1098,
273,
394,
463,
6188,
2278,
682,
5621,
3639,
1250,
777,
273,
629,
31,
3639,
309,
261,
1726,
18,
14963,
2932,
4898,
13,
747,
761,
18,
14963,
2932,
19,
7388,
3719,
777,
33,
3767,
31,
7734,
309,
261,
454,
747,
761,
18,
14963,
2932,
19,
2649,
6,
3719,
1719,
1098,
18,
1289,
12,
2704,
463,
6188,
2278,
13575,
2932,
19,
2649,
7923,
1769,
3639,
309,
261,
454,
747,
761,
18,
14963,
2932,
19,
20394,
6,
3719,
1719,
1098,
18,
1289,
12,
2704,
463,
6188,
2278,
13575,
2932,
19,
4161,
7923,
1769,
3639,
309,
261,
454,
747,
761,
18,
2
] |
this (parent, title, modal, parent.getGraphicsConfiguration ());
|
this(parent, "", false);
|
Dialog(Frame parent, String title, boolean modal){ this (parent, title, modal, parent.getGraphicsConfiguration ());}
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/f344432292580534f5ac8c558c5b0ed0bafeb3cc/Dialog.java/buggy/java/awt/Dialog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
17242,
12,
3219,
982,
16,
514,
2077,
16,
1250,
13010,
15329,
225,
333,
261,
2938,
16,
2077,
16,
13010,
16,
982,
18,
588,
17558,
1750,
1832,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
17242,
12,
3219,
982,
16,
514,
2077,
16,
1250,
13010,
15329,
225,
333,
261,
2938,
16,
2077,
16,
13010,
16,
982,
18,
588,
17558,
1750,
1832,
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
] |
public void visitDSTORE(DSTORE obj);
|
void visitDSTORE(DSTORE obj);
|
public void visitDSTORE(DSTORE obj);
|
3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/6f181de4aafbe2a9534fc417eee9f0b8d8ae805d/Bytecodes.java/clean/joeq_core/joeq/Compiler/BytecodeAnalysis/Bytecodes.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
40,
13651,
12,
40,
13651,
1081,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
40,
13651,
12,
40,
13651,
1081,
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
] |
Bond[] bonds = atomContainer.getBonds(); for (int f = 0; f < bonds.length; f++){ bond = bonds[f]; bond.setFlag(CDKConstants.VISITED, false); ac.addBond(bond);
|
ElectronContainer[] eContainers = atomContainer.getElectronContainers(); for (int f = 0; f < eContainers.length; f++){ eContainer = eContainers[f]; eContainer.setFlag(CDKConstants.VISITED, false); ac.addElectronContainer(eContainer);
|
public static SetOfMolecules partitionIntoMolecules(AtomContainer atomContainer) { AtomContainer ac = new AtomContainer(); Atom atom = null; Bond bond = null; Molecule molecule = null; SetOfMolecules molecules = new SetOfMolecules(); Vector sphere = new Vector(); for (int f = 0; f < atomContainer.getAtomCount(); f++) { atom = atomContainer.getAtomAt(f); atom.setFlag(CDKConstants.VISITED, false); ac.addAtom(atom); } Bond[] bonds = atomContainer.getBonds(); for (int f = 0; f < bonds.length; f++){ bond = bonds[f]; bond.setFlag(CDKConstants.VISITED, false); ac.addBond(bond); } while(ac.getAtomCount() > 0) { atom = ac.getAtomAt(0); molecule = new Molecule(); sphere.removeAllElements(); sphere.addElement(atom); atom.setFlag(CDKConstants.VISITED, true); PathTools.breadthFirstSearch(ac, sphere, molecule); molecules.addMolecule(molecule); ac.remove(molecule); } return molecules; }
|
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/d30294a48d821f9efb45d60b482af5d7e7b343c0/ConnectivityChecker.java/clean/src/org/openscience/cdk/graph/ConnectivityChecker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1000,
951,
49,
29466,
3590,
5952,
49,
29466,
12,
3641,
2170,
22487,
13,
288,
202,
202,
3641,
2170,
1721,
273,
394,
7149,
2170,
5621,
202,
202,
3641,
3179,
273,
446,
31,
202,
202,
9807,
8427,
273,
446,
31,
202,
202,
29669,
13661,
273,
446,
31,
202,
202,
694,
951,
49,
29466,
312,
29466,
273,
394,
1000,
951,
49,
29466,
5621,
202,
202,
5018,
20041,
273,
394,
5589,
5621,
202,
202,
1884,
261,
474,
284,
273,
374,
31,
284,
411,
22487,
18,
588,
3641,
1380,
5621,
284,
27245,
202,
202,
95,
1082,
202,
7466,
273,
22487,
18,
588,
3641,
861,
12,
74,
1769,
1082,
202,
7466,
18,
542,
4678,
12,
39,
3398,
2918,
18,
26780,
1285,
2056,
16,
629,
1769,
1082,
202,
1077,
18,
1289,
3641,
12,
7466,
1769,
202,
202,
97,
3639,
605,
1434,
8526,
15692,
273,
22487,
18,
588,
26090,
5621,
202,
202,
1884,
261,
474,
284,
273,
374,
31,
284,
411,
15692,
18,
2469,
31,
284,
27245,
95,
1082,
202,
26425,
273,
15692,
63,
74,
15533,
1082,
202,
26425,
18,
542,
4678,
12,
39,
3398,
2918,
18,
26780,
1285,
2056,
16,
629,
1769,
1082,
202,
1077,
18,
1289,
9807,
12,
26425,
1769,
202,
202,
97,
202,
202,
17523,
12,
1077,
18,
588,
3641,
1380,
1435,
405,
374,
13,
288,
1082,
202,
7466,
273,
1721,
18,
588,
3641,
861,
12,
20,
1769,
1082,
202,
81,
10545,
273,
394,
490,
10545,
5621,
1082,
202,
87,
9346,
18,
4479,
1595,
3471,
5621,
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,
760,
1000,
951,
49,
29466,
3590,
5952,
49,
29466,
12,
3641,
2170,
22487,
13,
288,
202,
202,
3641,
2170,
1721,
273,
394,
7149,
2170,
5621,
202,
202,
3641,
3179,
273,
446,
31,
202,
202,
9807,
8427,
273,
446,
31,
202,
202,
29669,
13661,
273,
446,
31,
202,
202,
694,
951,
49,
29466,
312,
29466,
273,
394,
1000,
951,
49,
29466,
5621,
202,
202,
5018,
20041,
273,
394,
5589,
5621,
202,
202,
1884,
261,
474,
284,
273,
374,
31,
284,
411,
22487,
18,
588,
3641,
1380,
5621,
284,
27245,
202,
202,
95,
1082,
202,
7466,
273,
22487,
18,
588,
3641,
861,
12,
74,
1769,
1082,
202,
7466,
18,
542,
4678,
12,
39,
3398,
2918,
18,
26780,
1285,
2
] |
if(max != -1 && seqNumber - max > 1) {
|
if((max != -1) && (seqNumber - max > 1)) {
|
private void queueResendRequests(int seqNumber) { int max; synchronized(this) { max = packetNumbersReceived.highest(); } if(seqNumber > max) { try { if(max != -1 && seqNumber - max > 1) { Logger.minor(this, "Queueing resends from "+max+" to "+seqNumber); // Missed some packets out for(int i=max+1;i<seqNumber;i++) { queueResendRequest(i); } } } catch (UpdatableSortedLinkedListKilledException e) { // Ignore (we are decoding packet, not sending one) } } }
|
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/KeyTracker.java/buggy/src/freenet/node/KeyTracker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2389,
607,
409,
6421,
12,
474,
3833,
1854,
13,
288,
3639,
509,
943,
31,
3639,
3852,
12,
2211,
13,
288,
540,
202,
1896,
273,
4414,
10072,
8872,
18,
8766,
395,
5621,
3639,
289,
3639,
309,
12,
5436,
1854,
405,
943,
13,
288,
540,
202,
698,
288,
5411,
309,
12443,
1896,
480,
300,
21,
13,
597,
261,
5436,
1854,
300,
943,
405,
404,
3719,
288,
7734,
4242,
18,
17364,
12,
2211,
16,
315,
3183,
310,
400,
5839,
628,
13773,
1896,
9078,
358,
13773,
5436,
1854,
1769,
7734,
368,
16584,
730,
2690,
12640,
596,
7734,
364,
12,
474,
277,
33,
1896,
15,
21,
31,
77,
32,
5436,
1854,
31,
77,
27245,
288,
10792,
2389,
607,
409,
691,
12,
77,
1769,
7734,
289,
5411,
289,
540,
202,
97,
1044,
261,
1211,
3404,
429,
11739,
13174,
682,
47,
13148,
503,
425,
13,
288,
540,
202,
202,
759,
8049,
261,
1814,
854,
13547,
4414,
16,
486,
5431,
1245,
13,
540,
202,
97,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2389,
607,
409,
6421,
12,
474,
3833,
1854,
13,
288,
3639,
509,
943,
31,
3639,
3852,
12,
2211,
13,
288,
540,
202,
1896,
273,
4414,
10072,
8872,
18,
8766,
395,
5621,
3639,
289,
3639,
309,
12,
5436,
1854,
405,
943,
13,
288,
540,
202,
698,
288,
5411,
309,
12443,
1896,
480,
300,
21,
13,
597,
261,
5436,
1854,
300,
943,
405,
404,
3719,
288,
7734,
4242,
18,
17364,
12,
2211,
16,
315,
3183,
310,
400,
5839,
628,
13773,
1896,
9078,
358,
13773,
5436,
1854,
1769,
7734,
368,
16584,
730,
2690,
12640,
596,
7734,
364,
12,
474,
277,
33,
1896,
15,
21,
31,
77,
32,
5436,
1854,
31,
77,
27245,
288,
10792,
2389,
607,
409,
691,
12,
2
] |
private static synchronized TimeZone defaultZone() {
|
private static synchronized TimeZone defaultZone() {
|
private static synchronized TimeZone defaultZone() { /* Look up default timezone */ if (defaultZone0 == null) { if (Configuration.INIT_LOAD_LIBRARY) { System.loadLibrary("native"); } String tzid = System.getProperty("user.timezone"); if (tzid == null) tzid = getDefaultTimeZoneId(); if (tzid == null) tzid = "GMT"; defaultZone0 = getTimeZone(tzid); } return defaultZone0; }
|
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/c7ac5d2f298624269a0b08d8d9a50acd95b12abf/TimeZone.java/buggy/libraries/javalib/java/util/TimeZone.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
3852,
16491,
805,
4226,
1435,
288,
565,
1748,
10176,
731,
805,
6371,
1195,
565,
309,
261,
1886,
4226,
20,
422,
446,
13,
4202,
288,
202,
430,
261,
1750,
18,
12919,
67,
7783,
67,
2053,
28254,
13,
202,
225,
288,
202,
565,
2332,
18,
945,
9313,
2932,
13635,
8863,
202,
225,
289,
202,
780,
6016,
350,
273,
2332,
18,
588,
1396,
2932,
1355,
18,
12690,
8863,
202,
202,
430,
261,
12994,
350,
422,
446,
13,
202,
225,
6016,
350,
273,
4829,
16760,
548,
5621,
202,
202,
430,
261,
12994,
350,
422,
446,
13,
202,
225,
6016,
350,
273,
315,
25315,
14432,
202,
202,
1886,
4226,
20,
273,
28556,
12,
12994,
350,
1769,
1377,
289,
565,
327,
805,
4226,
20,
31,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
3852,
16491,
805,
4226,
1435,
288,
565,
1748,
10176,
731,
805,
6371,
1195,
565,
309,
261,
1886,
4226,
20,
422,
446,
13,
4202,
288,
202,
430,
261,
1750,
18,
12919,
67,
7783,
67,
2053,
28254,
13,
202,
225,
288,
202,
565,
2332,
18,
945,
9313,
2932,
13635,
8863,
202,
225,
289,
202,
780,
6016,
350,
273,
2332,
18,
588,
1396,
2932,
1355,
18,
12690,
8863,
202,
202,
430,
261,
12994,
350,
422,
446,
13,
202,
225,
6016,
350,
273,
4829,
16760,
548,
5621,
202,
202,
430,
261,
12994,
350,
422,
446,
13,
202,
225,
6016,
350,
273,
315,
25315,
14432,
202,
202,
1886,
4226,
20,
273,
28556,
12,
12994,
350,
1769,
1377,
289,
565,
327,
805,
2
] |
return false;
|
return true;
|
public boolean beforeCommand(Connection connection, CommandIF command) throws SQLException { // TODO return false; }
|
4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/093828f79b48850b5352807d27436fca0322c4ab/ConnectionResetterTest.java/clean/src/java-test/org/logicalcobwebs/proxool/ConnectionResetterTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
1250,
1865,
2189,
12,
1952,
1459,
16,
3498,
5501,
1296,
13,
1216,
6483,
288,
10792,
368,
2660,
10792,
327,
638,
31,
7734,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
1250,
1865,
2189,
12,
1952,
1459,
16,
3498,
5501,
1296,
13,
1216,
6483,
288,
10792,
368,
2660,
10792,
327,
638,
31,
7734,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
inputData= new FileInputStream(file);
|
inputData = new FileInputStream( file );
|
public boolean performFinish( ) { final IPath locPath = newReportFileWizardPage.getFileLocationFullPath( ); String fn = newReportFileWizardPage.getFileName( ); final String fileName; if ( !fn.endsWith( ".rptdesign" ) ) //$NON-NLS-1$ { fileName = fn + ".rptdesign"; //$NON-NLS-1$ } else { fileName = fn; } InputStream inputData = null; String cheatSheetIdFromPage = "";//$NON-NLS-1$ boolean showCheatSheetFromPage = false; URL url = Platform.find( Platform.getBundle( ReportPlugin.REPORT_UI ), new Path( templateChoicePage.getTemplate( ).getReportPath() ) ); if ( url != null ) { try { inputData = url.openStream( ); } catch ( IOException e1 ) { return false; } } else { File file = new File(templateChoicePage.getTemplate( ).getReportPath()); if(file.exists()) { try { inputData= new FileInputStream(file); } catch ( FileNotFoundException e ) { return false; } } } cheatSheetIdFromPage = templateChoicePage.getTemplate( ).getCheatSheetId(); showCheatSheetFromPage = templateChoicePage.getShowCheatSheet( ); final InputStream stream = inputData; final String cheatSheetId = cheatSheetIdFromPage; final boolean showCheatSheet = showCheatSheetFromPage; IRunnableWithProgress op = new IRunnableWithProgress( ) { public void run( IProgressMonitor monitor ) { try { doFinish( locPath, fileName, stream, cheatSheetId, showCheatSheet, monitor ); } finally { monitor.done( ); } } }; try { getContainer( ).run( true, false, op ); } catch ( InterruptedException e ) { return false; } catch ( InvocationTargetException e ) { Throwable realException = e.getTargetException( ); ExceptionHandler.handle( realException ); return false; } return true; }
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/3b98316f330dbec075f67b20e2da8f4a79400fe4/NewReportWizard.java/buggy/UI/org.eclipse.birt.report.designer.ui.rcp/src/org/eclipse/birt/report/designer/ui/internal/rcp/wizards/NewReportWizard.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3073,
11641,
12,
262,
202,
95,
202,
202,
6385,
467,
743,
1515,
743,
273,
394,
4820,
812,
27130,
1964,
18,
29925,
2735,
24173,
12,
11272,
202,
202,
780,
2295,
273,
394,
4820,
812,
27130,
1964,
18,
588,
4771,
12,
11272,
202,
202,
6385,
514,
3968,
31,
202,
202,
430,
261,
401,
4293,
18,
5839,
1190,
12,
3552,
86,
337,
16934,
6,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
95,
1082,
202,
17812,
273,
2295,
397,
3552,
86,
337,
16934,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
17812,
273,
2295,
31,
202,
202,
97,
202,
202,
4348,
24149,
273,
446,
31,
202,
202,
780,
19315,
270,
8229,
548,
1265,
1964,
273,
1408,
31,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
6494,
2405,
39,
580,
270,
8229,
1265,
1964,
273,
629,
31,
202,
202,
1785,
880,
273,
11810,
18,
4720,
12,
11810,
18,
588,
3405,
12,
8706,
3773,
18,
22710,
67,
5370,
262,
16,
9506,
202,
2704,
2666,
12,
1542,
10538,
1964,
18,
588,
2283,
12,
262,
18,
588,
4820,
743,
1435,
262,
11272,
202,
202,
430,
261,
880,
480,
446,
262,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
2630,
751,
273,
880,
18,
3190,
1228,
12,
11272,
1082,
202,
97,
1082,
202,
14683,
261,
1860,
425,
21,
262,
1082,
202,
95,
9506,
202,
2463,
629,
31,
1082,
202,
97,
202,
202,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3073,
11641,
12,
262,
202,
95,
202,
202,
6385,
467,
743,
1515,
743,
273,
394,
4820,
812,
27130,
1964,
18,
29925,
2735,
24173,
12,
11272,
202,
202,
780,
2295,
273,
394,
4820,
812,
27130,
1964,
18,
588,
4771,
12,
11272,
202,
202,
6385,
514,
3968,
31,
202,
202,
430,
261,
401,
4293,
18,
5839,
1190,
12,
3552,
86,
337,
16934,
6,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
95,
1082,
202,
17812,
273,
2295,
397,
3552,
86,
337,
16934,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
17812,
273,
2295,
31,
202,
202,
97,
202,
202,
4348,
24149,
273,
446,
2
] |
public boolean isCurrent(RubyId rubyId) { if (id == null || id.intValue() == 0) { return false; } else if (rubyId.equals(id)) { return true; } else if (next != null) { return next.isCurrent(rubyId);
|
public static boolean isCurrent(Ruby ruby, RubyId rubyId) { RubyVarmap vars = ruby.getDynamicVars(); while (vars != null) { if (vars.id == null || vars.id.intValue() == 0) { break; } if (vars.id == rubyId) { return true; } vars = vars.next;
|
public boolean isCurrent(RubyId rubyId) { if (id == null || id.intValue() == 0) { return false; } else if (rubyId.equals(id)) { return true; } else if (next != null) { return next.isCurrent(rubyId); } return false; }
|
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyVarmap.java/buggy/org/jruby/interpreter/RubyVarmap.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
25694,
12,
54,
10340,
548,
22155,
548,
13,
288,
3639,
309,
261,
350,
422,
446,
747,
612,
18,
474,
620,
1435,
422,
374,
13,
288,
5411,
327,
629,
31,
3639,
289,
469,
309,
261,
27768,
548,
18,
14963,
12,
350,
3719,
288,
5411,
327,
638,
31,
3639,
289,
469,
309,
261,
4285,
480,
446,
13,
288,
5411,
327,
1024,
18,
291,
3935,
12,
27768,
548,
1769,
3639,
289,
3639,
327,
629,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
25694,
12,
54,
10340,
548,
22155,
548,
13,
288,
3639,
309,
261,
350,
422,
446,
747,
612,
18,
474,
620,
1435,
422,
374,
13,
288,
5411,
327,
629,
31,
3639,
289,
469,
309,
261,
27768,
548,
18,
14963,
12,
350,
3719,
288,
5411,
327,
638,
31,
3639,
289,
469,
309,
261,
4285,
480,
446,
13,
288,
5411,
327,
1024,
18,
291,
3935,
12,
27768,
548,
1769,
3639,
289,
3639,
327,
629,
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
] |
public synchronized void onMetadata(Metadata meta, ClientPutState state) { if(finished) return; if(state == metadataPutter) { Logger.error(this, "Got metadata for metadata"); onFailure(new InserterException(InserterException.INTERNAL_ERROR, "Did not expect to get metadata for metadata inserter", null), state); } else if(state != sfi) { Logger.error(this, "Got unknown metadata"); onFailure(new InserterException(InserterException.INTERNAL_ERROR, "Did not expect to get metadata for metadata inserter", null), state);
|
public void onMetadata(Metadata meta, ClientPutState state) { InserterException e = null; synchronized(this) { if(finished) return; if(reportMetadataOnly) { if(state != sfi) { Logger.error(this, "Got metadata from unknown object "+state+" when expecting to report metadata"); return; } metaInsertSuccess = true; } else if(state == metadataPutter) { Logger.error(this, "Got metadata for metadata"); e = new InserterException(InserterException.INTERNAL_ERROR, "Did not expect to get metadata for metadata inserter", null); } else if(state != sfi) { Logger.error(this, "Got metadata from unknown state "+state); e = new InserterException(InserterException.INTERNAL_ERROR, "Did not expect to get metadata for metadata inserter", null); } else { if(metadataPutter != null) return; }
|
public synchronized void onMetadata(Metadata meta, ClientPutState state) { if(finished) return; if(state == metadataPutter) { Logger.error(this, "Got metadata for metadata"); onFailure(new InserterException(InserterException.INTERNAL_ERROR, "Did not expect to get metadata for metadata inserter", null), state); } else if(state != sfi) { Logger.error(this, "Got unknown metadata"); onFailure(new InserterException(InserterException.INTERNAL_ERROR, "Did not expect to get metadata for metadata inserter", null), state); } if(reportMetadataOnly) { cb.onMetadata(meta, this); metaInsertSuccess = true; } else { if(metadataPutter != null) return; Bucket metadataBucket; try { metadataBucket = BucketTools.makeImmutableBucket(ctx.bf, meta.writeToByteArray()); } catch (IOException e) { InserterException ex = new InserterException(InserterException.BUCKET_ERROR, e, null); fail(ex); return; } catch (MetadataUnresolvedException e) { Logger.error(this, "Impossible: "+e, e); InserterException ex = new InserterException(InserterException.INTERNAL_ERROR, "MetadataUnresolvedException in SingleFileInserter.SplitHandler: "+e, null); ex.initCause(e); fail(ex); return; } InsertBlock newBlock = new InsertBlock(metadataBucket, null, block.desiredURI); try { metadataPutter = new SingleFileInserter(parent, this, newBlock, true, ctx, false, getCHKOnly, false, token, false); Logger.minor(this, "Putting metadata on "+metadataPutter); } catch (InserterException e) { cb.onFailure(e, this); return; } try { ((SingleFileInserter)metadataPutter).start(null); } catch (InserterException e) { fail(e); return; } } }
|
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/a99fbfa9db79808f376d90d1b435c8efcfb94698/SingleFileInserter.java/buggy/src/freenet/client/async/SingleFileInserter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
3852,
918,
603,
2277,
12,
2277,
2191,
16,
2445,
6426,
1119,
919,
13,
288,
1082,
202,
430,
12,
13527,
13,
327,
31,
1082,
202,
430,
12,
2019,
422,
1982,
6426,
387,
13,
288,
9506,
202,
3328,
18,
1636,
12,
2211,
16,
315,
15617,
1982,
364,
1982,
8863,
9506,
202,
265,
5247,
12,
2704,
657,
550,
387,
503,
12,
382,
550,
387,
503,
18,
14005,
67,
3589,
16,
315,
18250,
486,
4489,
358,
336,
1982,
364,
1982,
316,
550,
387,
3113,
446,
3631,
919,
1769,
1082,
202,
97,
469,
309,
12,
2019,
480,
9033,
77,
13,
288,
9506,
202,
3328,
18,
1636,
12,
2211,
16,
315,
15617,
5917,
1982,
8863,
9506,
202,
265,
5247,
12,
2704,
657,
550,
387,
503,
12,
382,
550,
387,
503,
18,
14005,
67,
3589,
16,
315,
18250,
486,
4489,
358,
336,
1982,
364,
1982,
316,
550,
387,
3113,
446,
3631,
919,
1769,
1082,
202,
97,
1082,
202,
430,
12,
6006,
2277,
3386,
13,
288,
9506,
202,
7358,
18,
265,
2277,
12,
3901,
16,
333,
1769,
9506,
202,
3901,
4600,
4510,
273,
638,
31,
1082,
202,
97,
469,
288,
9506,
202,
430,
12,
4165,
6426,
387,
480,
446,
13,
6862,
202,
2463,
31,
9506,
202,
4103,
1982,
4103,
31,
9506,
202,
698,
288,
6862,
202,
4165,
4103,
273,
7408,
10348,
18,
6540,
16014,
4103,
12,
5900,
18,
17156,
16,
2191,
18,
2626,
774,
8826,
10663,
9506,
202,
97,
1044,
261,
14106,
425,
13,
288,
6862,
202,
382,
550,
387,
503,
431,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
3852,
918,
603,
2277,
12,
2277,
2191,
16,
2445,
6426,
1119,
919,
13,
288,
1082,
202,
430,
12,
13527,
13,
327,
31,
1082,
202,
430,
12,
2019,
422,
1982,
6426,
387,
13,
288,
9506,
202,
3328,
18,
1636,
12,
2211,
16,
315,
15617,
1982,
364,
1982,
8863,
9506,
202,
265,
5247,
12,
2704,
657,
550,
387,
503,
12,
382,
550,
387,
503,
18,
14005,
67,
3589,
16,
315,
18250,
486,
4489,
358,
336,
1982,
364,
1982,
316,
550,
387,
3113,
446,
3631,
919,
1769,
1082,
202,
97,
469,
309,
12,
2019,
480,
9033,
77,
13,
288,
9506,
202,
3328,
18,
1636,
12,
2211,
16,
315,
15617,
5917,
1982,
8863,
9506,
202,
265,
5247,
12,
2704,
657,
2
] |
public static Object mbeanFor(Object o) { try { Class oClass = o.getClass(); Object mbean = null; while (mbean == null && oClass != null) { String pName = oClass.getPackage().getName(); String cName = oClass.getName().substring(pName.length() + 1); String mName = pName + ".management." + cName + "MBean"; try { Class mClass = (Object.class.equals(oClass))?oClass=ObjectMBean.class:Loader.loadClass(oClass,mName,true); if (Log.isDebugEnabled()) Log.debug("mbeanFor " + o + " mClass=" + mClass); try { Constructor constructor = mClass.getConstructor(OBJ_ARG); mbean=constructor.newInstance(new Object[]{o}); } catch(Exception e) { Log.ignore(e); if (ModelMBean.class.isAssignableFrom(mClass)) { mbean=mClass.newInstance(); ((ModelMBean)mbean).setManagedResource(o, "objectReference"); } } if (Log.isDebugEnabled()) Log.debug("mbeanFor " + o + " is " + mbean); return mbean; } catch (ClassNotFoundException e) { if (e.toString().endsWith("MBean")) Log.ignore(e); else Log.warn(e); } catch (Error e) { Log.warn(e); mbean = null; } catch (Exception e) { Log.warn(e); mbean = null; } oClass = oClass.getSuperclass(); } } catch (Exception e) { Log.ignore(e); } return null; }
|
13242 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13242/709fc54429c16f9278ea84f1033f02514a805390/ObjectMBean.java/buggy/trunk/modules/management/src/main/java/org/mortbay/management/ObjectMBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
29114,
1290,
12,
921,
320,
13,
565,
288,
3639,
775,
3639,
288,
5411,
1659,
320,
797,
273,
320,
18,
588,
797,
5621,
5411,
1033,
29114,
273,
446,
31,
5411,
1323,
261,
1627,
73,
304,
422,
446,
597,
320,
797,
480,
446,
13,
5411,
288,
7734,
514,
30026,
273,
320,
797,
18,
588,
2261,
7675,
17994,
5621,
7734,
514,
276,
461,
273,
320,
797,
18,
17994,
7675,
28023,
12,
84,
461,
18,
2469,
1435,
397,
404,
1769,
7734,
514,
312,
461,
273,
30026,
397,
3552,
17381,
1199,
397,
276,
461,
397,
315,
18089,
14432,
7734,
775,
7734,
288,
10792,
1659,
312,
797,
273,
261,
921,
18,
1106,
18,
14963,
12,
83,
797,
24783,
83,
797,
33,
921,
18089,
18,
1106,
30,
2886,
18,
945,
797,
12,
83,
797,
16,
81,
461,
16,
3767,
1769,
10792,
309,
261,
1343,
18,
291,
2829,
1526,
10756,
13491,
1827,
18,
4148,
2932,
1627,
73,
304,
1290,
315,
397,
320,
397,
315,
312,
797,
1546,
397,
312,
797,
1769,
4766,
3639,
775,
10792,
288,
13491,
11417,
3885,
273,
312,
797,
18,
588,
6293,
12,
24547,
67,
10973,
1769,
13491,
29114,
33,
12316,
18,
2704,
1442,
12,
2704,
1033,
63,
7073,
83,
22938,
10792,
289,
10792,
1044,
12,
503,
425,
13,
10792,
288,
13491,
1827,
18,
6185,
12,
73,
1769,
13491,
309,
261,
1488,
18089,
18,
1106,
18,
291,
7961,
1265,
12,
81,
797,
3719,
13491,
288,
18701,
29114,
33,
81,
797,
18,
2704,
1442,
5621,
18701,
14015,
1488,
18089,
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,
1033,
29114,
1290,
12,
921,
320,
13,
565,
288,
3639,
775,
3639,
288,
5411,
1659,
320,
797,
273,
320,
18,
588,
797,
5621,
5411,
1033,
29114,
273,
446,
31,
5411,
1323,
261,
1627,
73,
304,
422,
446,
597,
320,
797,
480,
446,
13,
5411,
288,
7734,
514,
30026,
273,
320,
797,
18,
588,
2261,
7675,
17994,
5621,
7734,
514,
276,
461,
273,
320,
797,
18,
17994,
7675,
28023,
12,
84,
461,
18,
2469,
1435,
397,
404,
1769,
7734,
514,
312,
461,
273,
30026,
397,
3552,
17381,
1199,
397,
276,
461,
397,
315,
18089,
14432,
7734,
775,
7734,
288,
10792,
1659,
312,
797,
273,
261,
921,
18,
1106,
18,
14963,
12,
83,
797,
24783,
83,
797,
33,
2
] |
||
public com.ibm.icu.math.BigDecimal remainder(com.ibm.icu.math.BigDecimal rhs,com.ibm.icu.math.MathContext set){ return this.dodivide('R',rhs,set,-1);
|
public com.ibm.icu.math.BigDecimal remainder(com.ibm.icu.math.BigDecimal rhs){ return this.dodivide('R',rhs,plainMC,-1);
|
public com.ibm.icu.math.BigDecimal remainder(com.ibm.icu.math.BigDecimal rhs,com.ibm.icu.math.MathContext set){ return this.dodivide('R',rhs,set,-1); }
|
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/49caefcfd2fd17c30f848efc57f5900dcea7b4d5/BigDecimal.java/buggy/icu4j/src/com/ibm/icu/math/BigDecimal.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
532,
18,
10827,
18,
335,
89,
18,
15949,
18,
29436,
10022,
12,
832,
18,
10827,
18,
335,
89,
18,
15949,
18,
29436,
7711,
16,
832,
18,
10827,
18,
335,
89,
18,
15949,
18,
10477,
1042,
444,
15329,
225,
327,
333,
18,
72,
369,
427,
831,
2668,
54,
2187,
86,
4487,
16,
542,
16,
17,
21,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
1071,
532,
18,
10827,
18,
335,
89,
18,
15949,
18,
29436,
10022,
12,
832,
18,
10827,
18,
335,
89,
18,
15949,
18,
29436,
7711,
16,
832,
18,
10827,
18,
335,
89,
18,
15949,
18,
10477,
1042,
444,
15329,
225,
327,
333,
18,
72,
369,
427,
831,
2668,
54,
2187,
86,
4487,
16,
542,
16,
17,
21,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
&& targetResource.getType() != IResource.FOLDER) return false;
|
&& targetResource.getType() != IResource.FOLDER) { return false; }
|
protected boolean updateSelection(IStructuredSelection selection) { if (!super.updateSelection(selection)) return false; final IResource[][] clipboardData = new IResource[1][]; shell.getDisplay().syncExec(new Runnable() { public void run() { // clipboard must have resources or files ResourceTransfer resTransfer = ResourceTransfer.getInstance(); clipboardData[0] = (IResource[]) clipboard .getContents(resTransfer); } }); IResource[] resourceData = clipboardData[0]; boolean isProjectRes = resourceData != null && resourceData.length > 0 && resourceData[0].getType() == IResource.PROJECT; if (isProjectRes) { for (int i = 0; i < resourceData.length; i++) { // make sure all resource data are open projects // can paste open projects regardless of selection if (resourceData[i].getType() != IResource.PROJECT || ((IProject) resourceData[i]).isOpen() == false) return false; } return true; } if (getSelectedNonResources().size() > 0) return false; IResource targetResource = getTarget(); // targetResource is null if no valid target is selected (e.g., open project) // or selection is empty if (targetResource == null) return false; // can paste files and folders to a single selection (file, folder, // open project) or multiple file selection with the same parent List selectedResources = getSelectedResources(); if (selectedResources.size() > 1) { for (int i = 0; i < selectedResources.size(); i++) { IResource resource = (IResource) selectedResources.get(i); if (resource.getType() != IResource.FILE) return false; if (!targetResource.equals(resource.getParent())) return false; } } if (resourceData != null) { // linked resources can only be pasted into projects if (isLinked(resourceData) && targetResource.getType() != IResource.PROJECT && targetResource.getType() != IResource.FOLDER) return false; if (targetResource.getType() == IResource.FOLDER) { // don't try to copy folder to self for (int i = 0; i < resourceData.length; i++) { if (targetResource.equals(resourceData[i])) return false; } } return true; } TransferData[] transfers = clipboard.getAvailableTypes(); FileTransfer fileTransfer = FileTransfer.getInstance(); for (int i = 0; i < transfers.length; i++) { if (fileTransfer.isSupportedType(transfers[i])) return true; } return false; }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/PasteAction.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/navigator/PasteAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
1089,
6233,
12,
45,
30733,
6233,
4421,
13,
288,
3639,
309,
16051,
9565,
18,
2725,
6233,
12,
10705,
3719,
5411,
327,
629,
31,
3639,
727,
467,
1420,
63,
6362,
65,
20304,
751,
273,
394,
467,
1420,
63,
21,
6362,
15533,
3639,
5972,
18,
588,
4236,
7675,
8389,
1905,
12,
2704,
10254,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
7734,
368,
20304,
1297,
1240,
2703,
578,
1390,
7734,
2591,
5912,
400,
5912,
273,
2591,
5912,
18,
588,
1442,
5621,
7734,
20304,
751,
63,
20,
65,
273,
261,
45,
1420,
63,
5717,
20304,
13491,
263,
588,
6323,
12,
455,
5912,
1769,
5411,
289,
3639,
15549,
3639,
467,
1420,
8526,
1058,
751,
273,
20304,
751,
63,
20,
15533,
3639,
1250,
353,
4109,
607,
273,
1058,
751,
480,
446,
597,
1058,
751,
18,
2469,
405,
374,
7734,
597,
1058,
751,
63,
20,
8009,
588,
559,
1435,
422,
467,
1420,
18,
17147,
31,
3639,
309,
261,
291,
4109,
607,
13,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1058,
751,
18,
2469,
31,
277,
27245,
288,
7734,
368,
1221,
3071,
777,
1058,
501,
854,
1696,
10137,
7734,
368,
848,
19401,
1696,
10137,
15255,
434,
4421,
7734,
309,
261,
3146,
751,
63,
77,
8009,
588,
559,
1435,
480,
467,
1420,
18,
17147,
13491,
747,
14015,
45,
4109,
13,
1058,
751,
63,
77,
65,
2934,
291,
3678,
1435,
422,
629,
13,
10792,
327,
629,
31,
5411,
289,
5411,
327,
638,
31,
3639,
289,
3639,
309,
261,
588,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
1089,
6233,
12,
45,
30733,
6233,
4421,
13,
288,
3639,
309,
16051,
9565,
18,
2725,
6233,
12,
10705,
3719,
5411,
327,
629,
31,
3639,
727,
467,
1420,
63,
6362,
65,
20304,
751,
273,
394,
467,
1420,
63,
21,
6362,
15533,
3639,
5972,
18,
588,
4236,
7675,
8389,
1905,
12,
2704,
10254,
1435,
288,
5411,
1071,
918,
1086,
1435,
288,
7734,
368,
20304,
1297,
1240,
2703,
578,
1390,
7734,
2591,
5912,
400,
5912,
273,
2591,
5912,
18,
588,
1442,
5621,
7734,
20304,
751,
63,
20,
65,
273,
261,
45,
1420,
63,
5717,
20304,
13491,
263,
588,
6323,
12,
455,
5912,
1769,
5411,
289,
3639,
15549,
3639,
467,
1420,
8526,
1058,
751,
273,
20304,
751,
63,
20,
15533,
2
] |
org.exist.xquery.parser.XQueryAST tmp116_AST = null; tmp116_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp116_AST);
|
org.exist.xquery.parser.XQueryAST tmp31_AST = null; tmp31_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp31_AST);
|
public final void imaginaryTokenDefinitions() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST imaginaryTokenDefinitions_AST = null; org.exist.xquery.parser.XQueryAST tmp86_AST = null; tmp86_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp86_AST); match(QNAME); org.exist.xquery.parser.XQueryAST tmp87_AST = null; tmp87_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp87_AST); match(PREDICATE); org.exist.xquery.parser.XQueryAST tmp88_AST = null; tmp88_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp88_AST); match(FLWOR); org.exist.xquery.parser.XQueryAST tmp89_AST = null; tmp89_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp89_AST); match(PARENTHESIZED); org.exist.xquery.parser.XQueryAST tmp90_AST = null; tmp90_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp90_AST); match(ABSOLUTE_SLASH); org.exist.xquery.parser.XQueryAST tmp91_AST = null; tmp91_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp91_AST); match(ABSOLUTE_DSLASH); org.exist.xquery.parser.XQueryAST tmp92_AST = null; tmp92_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp92_AST); match(WILDCARD); org.exist.xquery.parser.XQueryAST tmp93_AST = null; tmp93_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp93_AST); match(PREFIX_WILDCARD); org.exist.xquery.parser.XQueryAST tmp94_AST = null; tmp94_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp94_AST); match(FUNCTION); org.exist.xquery.parser.XQueryAST tmp95_AST = null; tmp95_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp95_AST); match(UNARY_MINUS); org.exist.xquery.parser.XQueryAST tmp96_AST = null; tmp96_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp96_AST); match(UNARY_PLUS); org.exist.xquery.parser.XQueryAST tmp97_AST = null; tmp97_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp97_AST); match(XPOINTER); org.exist.xquery.parser.XQueryAST tmp98_AST = null; tmp98_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp98_AST); match(XPOINTER_ID); org.exist.xquery.parser.XQueryAST tmp99_AST = null; tmp99_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp99_AST); match(VARIABLE_REF); org.exist.xquery.parser.XQueryAST tmp100_AST = null; tmp100_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp100_AST); match(VARIABLE_BINDING); org.exist.xquery.parser.XQueryAST tmp101_AST = null; tmp101_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp101_AST); match(ELEMENT); org.exist.xquery.parser.XQueryAST tmp102_AST = null; tmp102_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp102_AST); match(ATTRIBUTE); org.exist.xquery.parser.XQueryAST tmp103_AST = null; tmp103_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp103_AST); match(TEXT); org.exist.xquery.parser.XQueryAST tmp104_AST = null; tmp104_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp104_AST); match(VERSION_DECL); org.exist.xquery.parser.XQueryAST tmp105_AST = null; tmp105_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp105_AST); match(NAMESPACE_DECL); org.exist.xquery.parser.XQueryAST tmp106_AST = null; tmp106_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp106_AST); match(DEF_NAMESPACE_DECL); org.exist.xquery.parser.XQueryAST tmp107_AST = null; tmp107_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp107_AST); match(DEF_COLLATION_DECL); org.exist.xquery.parser.XQueryAST tmp108_AST = null; tmp108_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp108_AST); match(DEF_FUNCTION_NS_DECL); org.exist.xquery.parser.XQueryAST tmp109_AST = null; tmp109_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp109_AST); match(GLOBAL_VAR); org.exist.xquery.parser.XQueryAST tmp110_AST = null; tmp110_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp110_AST); match(FUNCTION_DECL); org.exist.xquery.parser.XQueryAST tmp111_AST = null; tmp111_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp111_AST); match(PROLOG); org.exist.xquery.parser.XQueryAST tmp112_AST = null; tmp112_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp112_AST); match(ATOMIC_TYPE); org.exist.xquery.parser.XQueryAST tmp113_AST = null; tmp113_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp113_AST); match(MODULE); org.exist.xquery.parser.XQueryAST tmp114_AST = null; tmp114_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp114_AST); match(ORDER_BY); org.exist.xquery.parser.XQueryAST tmp115_AST = null; tmp115_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp115_AST); match(POSITIONAL_VAR); org.exist.xquery.parser.XQueryAST tmp116_AST = null; tmp116_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp116_AST); match(BEFORE); org.exist.xquery.parser.XQueryAST tmp117_AST = null; tmp117_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp117_AST); match(AFTER); org.exist.xquery.parser.XQueryAST tmp118_AST = null; tmp118_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp118_AST); match(MODULE_DECL); org.exist.xquery.parser.XQueryAST tmp119_AST = null; tmp119_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp119_AST); match(ATTRIBUTE_TEST); org.exist.xquery.parser.XQueryAST tmp120_AST = null; tmp120_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp120_AST); match(COMP_ELEM_CONSTRUCTOR); org.exist.xquery.parser.XQueryAST tmp121_AST = null; tmp121_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp121_AST); match(COMP_ATTR_CONSTRUCTOR); org.exist.xquery.parser.XQueryAST tmp122_AST = null; tmp122_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp122_AST); match(COMP_TEXT_CONSTRUCTOR); org.exist.xquery.parser.XQueryAST tmp123_AST = null; tmp123_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp123_AST); match(COMP_COMMENT_CONSTRUCTOR); org.exist.xquery.parser.XQueryAST tmp124_AST = null; tmp124_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp124_AST); match(COMP_PI_CONSTRUCTOR); org.exist.xquery.parser.XQueryAST tmp125_AST = null; tmp125_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp125_AST); match(COMP_NS_CONSTRUCTOR); imaginaryTokenDefinitions_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = imaginaryTokenDefinitions_AST; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/06537933dfbae14c444eb15b44247b312b5f47d7/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
30852,
1345,
7130,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
30852,
1345,
7130,
67,
9053,
273,
446,
31,
9506,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1853,
5292,
67,
9053,
273,
446,
31,
202,
202,
5645,
5292,
67,
9053,
273,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
689,
1733,
18,
2640,
12,
12050,
12,
21,
10019,
202,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
1853,
5292,
67,
9053,
1769,
202,
202,
1916,
12,
16032,
1769,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1853,
11035,
67,
9053,
273,
446,
31,
202,
202,
5645,
11035,
67,
9053,
273,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
689,
1733,
18,
2640,
12,
12050,
12,
21,
10019,
202,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
1853,
11035,
67,
9053,
1769,
202,
202,
1916,
12,
3670,
2565,
13000,
1769,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1853,
5482,
67,
9053,
273,
446,
31,
202,
202,
5645,
5482,
67,
9053,
273,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
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,
30852,
1345,
7130,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
30852,
1345,
7130,
67,
9053,
273,
446,
31,
9506,
202,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
1853,
5292,
67,
9053,
273,
446,
31,
202,
202,
5645,
5292,
67,
9053,
273,
261,
3341,
18,
7398,
18,
92,
2271,
18,
4288,
18,
60,
1138,
9053,
13,
689,
1733,
18,
2640,
12,
12050,
12,
21,
10019,
202,
202,
689,
1733,
18,
1289,
9053,
1763,
12,
2972,
9053,
16,
2
] |
menu.add(new JMenuItem(controller.getAction(HiViewer.CLEAR)));
|
private JMenu createEditMenu() { JMenu menu = new JMenu("Edit"); menu.setMnemonic(KeyEvent.VK_E); menu.add(new JMenuItem(controller.getAction(HiViewer.FIND))); menu.add(new JMenuItem(controller.getAction(HiViewer.CLEAR))); menu.add(new JSeparator(JSeparator.HORIZONTAL)); menu.add(new JMenuItem( controller.getAction(HiViewer.VIEW))); menu.add(new JSeparator(JSeparator.HORIZONTAL)); menu.add(createClassifySubMenu()); menu.add(new JMenuItem( controller.getAction(HiViewer.ANNOTATE))); menu.add(new JSeparator(JSeparator.HORIZONTAL)); menu.add(new JMenuItem( controller.getAction(HiViewer.PROPERTIES))); return menu; }
|
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/64ee7ec527da3cc538fcd8d0a21183719f854676/HiViewerWin.java/clean/SRC/org/openmicroscopy/shoola/agents/hiviewer/view/HiViewerWin.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
804,
4599,
752,
4666,
4599,
1435,
565,
288,
3639,
804,
4599,
3824,
273,
394,
804,
4599,
2932,
4666,
8863,
3639,
3824,
18,
542,
29668,
20918,
12,
653,
1133,
18,
58,
47,
67,
41,
1769,
3639,
3824,
18,
1289,
12,
2704,
804,
12958,
12,
5723,
18,
588,
1803,
12,
25009,
18415,
18,
42,
2356,
3719,
1769,
7734,
3824,
18,
1289,
12,
2704,
804,
6581,
12,
46,
6581,
18,
44,
20344,
10019,
3639,
3824,
18,
1289,
12,
2704,
804,
12958,
12,
7734,
2596,
18,
588,
1803,
12,
25009,
18415,
18,
12145,
3719,
1769,
3639,
3824,
18,
1289,
12,
2704,
804,
6581,
12,
46,
6581,
18,
44,
20344,
10019,
3639,
3824,
18,
1289,
12,
2640,
797,
1164,
1676,
4599,
10663,
3639,
3824,
18,
1289,
12,
2704,
804,
12958,
12,
7734,
2596,
18,
588,
1803,
12,
25009,
18415,
18,
16791,
1777,
3719,
1769,
3639,
3824,
18,
1289,
12,
2704,
804,
6581,
12,
46,
6581,
18,
44,
20344,
10019,
3639,
3824,
18,
1289,
12,
2704,
804,
12958,
12,
7734,
2596,
18,
588,
1803,
12,
25009,
18415,
18,
17421,
3719,
1769,
3639,
327,
3824,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
804,
4599,
752,
4666,
4599,
1435,
565,
288,
3639,
804,
4599,
3824,
273,
394,
804,
4599,
2932,
4666,
8863,
3639,
3824,
18,
542,
29668,
20918,
12,
653,
1133,
18,
58,
47,
67,
41,
1769,
3639,
3824,
18,
1289,
12,
2704,
804,
12958,
12,
5723,
18,
588,
1803,
12,
25009,
18415,
18,
42,
2356,
3719,
1769,
7734,
3824,
18,
1289,
12,
2704,
804,
6581,
12,
46,
6581,
18,
44,
20344,
10019,
3639,
3824,
18,
1289,
12,
2704,
804,
12958,
12,
7734,
2596,
18,
588,
1803,
12,
25009,
18415,
18,
12145,
3719,
1769,
3639,
3824,
18,
1289,
12,
2704,
804,
6581,
12,
46,
6581,
18,
44,
20344,
10019,
3639,
3824,
18,
1289,
12,
2640,
797,
1164,
1676,
4599,
10663,
2
] |
|
log.info(" [" + currentPageNumber);
|
log.info("[" + currentPageNumber + "]");
|
public void format(AreaTree areaTree) throws FOPException { Status status = new Status(Status.OK); this.layoutMasterSet.resetPageMasters(); int firstAvailPageNumber = 0; do { // makePage() moved to after the page-number computations, // but store the page-number at this point for that method, // since we want the 'current' current page-number... firstAvailPageNumber = this.root.getRunningPageNumberCounter(); boolean tempIsFirstPage = false; if (thisIsFirstPage) { tempIsFirstPage = thisIsFirstPage; if (pageNumberType == AUTO) { this.currentPageNumber = this.root.getRunningPageNumberCounter(); } else if (pageNumberType == AUTO_ODD) { this.currentPageNumber = this.root.getRunningPageNumberCounter(); if (this.currentPageNumber % 2 == 1) { this.currentPageNumber++; } } else if (pageNumberType == AUTO_EVEN) { this.currentPageNumber = this.root.getRunningPageNumberCounter(); if (this.currentPageNumber % 2 == 0) { this.currentPageNumber++; } } thisIsFirstPage = false; } this.currentPageNumber++; // deliberately moved down here so page-number calculations // are complete; // compute flag for 'blank-or-not-blank' boolean isEmptyPage = false; if ((status.getCode() == Status.FORCE_PAGE_BREAK_EVEN) && ((currentPageNumber % 2) == 1)) { isEmptyPage = true; } else if ((status.getCode() == Status.FORCE_PAGE_BREAK_ODD) && ((currentPageNumber % 2) == 0)) { isEmptyPage = true; } else { isEmptyPage = false; } currentPage = makePage(areaTree, firstAvailPageNumber, tempIsFirstPage, isEmptyPage); currentPage.setNumber(this.currentPageNumber); String formattedPageNumber = pageNumberGenerator.makeFormattedPageNumber(this.currentPageNumber); currentPage.setFormattedNumber(formattedPageNumber); this.root.setRunningPageNumberCounter(this.currentPageNumber); log.info(" [" + currentPageNumber); if ((status.getCode() == Status.FORCE_PAGE_BREAK_EVEN) && ((currentPageNumber % 2) == 1)) {} else if ((status.getCode() == Status.FORCE_PAGE_BREAK_ODD) && ((currentPageNumber % 2) == 0)) {} else { BodyAreaContainer bodyArea = currentPage.getBody(); bodyArea.setIDReferences(areaTree.getIDReferences()); Flow flow = getCurrentFlow(RegionBody.REGION_CLASS); if (null == flow) { log.error("No flow found for region-body " + "in page-master '" + currentPageMasterName + "'"); break; } else { status = flow.layout(bodyArea); } } // because of markers, do after fo:flow (likely also // justifiable because of spec) currentPage.setPageSequence(this); formatStaticContent(areaTree); log.info("]"); areaTree.addPage(currentPage); this.pageCount++; // used for 'force-page-count' calculations } while (flowsAreIncomplete()); // handle the 'force-page-count' forcePage(areaTree, firstAvailPageNumber); currentPage = null; }
|
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/fa403a43d600017ca30358c34f264e1655a0f05d/PageSequence.java/clean/src/org/apache/fop/fo/pagination/PageSequence.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
740,
12,
5484,
2471,
5091,
2471,
13,
1216,
478,
3665,
503,
288,
3639,
2685,
1267,
273,
394,
2685,
12,
1482,
18,
3141,
1769,
3639,
333,
18,
6741,
7786,
694,
18,
6208,
1964,
49,
20639,
5621,
3639,
509,
1122,
3769,
671,
1964,
1854,
273,
374,
31,
3639,
741,
288,
5411,
368,
1221,
1964,
1435,
10456,
358,
1839,
326,
1363,
17,
2696,
5305,
1012,
16,
5411,
368,
1496,
1707,
326,
1363,
17,
2696,
622,
333,
1634,
364,
716,
707,
16,
5411,
368,
3241,
732,
2545,
326,
296,
2972,
11,
783,
1363,
17,
2696,
2777,
5411,
1122,
3769,
671,
1964,
1854,
273,
333,
18,
3085,
18,
588,
7051,
1964,
1854,
4789,
5621,
5411,
1250,
1906,
2520,
3759,
1964,
273,
629,
31,
5411,
309,
261,
2211,
2520,
3759,
1964,
13,
288,
7734,
1906,
2520,
3759,
1964,
273,
333,
2520,
3759,
1964,
31,
7734,
309,
261,
2433,
1854,
559,
422,
17191,
13,
288,
10792,
333,
18,
2972,
1964,
1854,
273,
13491,
333,
18,
3085,
18,
588,
7051,
1964,
1854,
4789,
5621,
7734,
289,
469,
309,
261,
2433,
1854,
559,
422,
17191,
67,
1212,
40,
13,
288,
10792,
333,
18,
2972,
1964,
1854,
273,
13491,
333,
18,
3085,
18,
588,
7051,
1964,
1854,
4789,
5621,
10792,
309,
261,
2211,
18,
2972,
1964,
1854,
738,
576,
422,
404,
13,
288,
13491,
333,
18,
2972,
1964,
1854,
9904,
31,
10792,
289,
7734,
289,
469,
309,
261,
2433,
1854,
559,
422,
17191,
67,
24427,
1157,
13,
288,
10792,
333,
18,
2972,
1964,
1854,
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,
740,
12,
5484,
2471,
5091,
2471,
13,
1216,
478,
3665,
503,
288,
3639,
2685,
1267,
273,
394,
2685,
12,
1482,
18,
3141,
1769,
3639,
333,
18,
6741,
7786,
694,
18,
6208,
1964,
49,
20639,
5621,
3639,
509,
1122,
3769,
671,
1964,
1854,
273,
374,
31,
3639,
741,
288,
5411,
368,
1221,
1964,
1435,
10456,
358,
1839,
326,
1363,
17,
2696,
5305,
1012,
16,
5411,
368,
1496,
1707,
326,
1363,
17,
2696,
622,
333,
1634,
364,
716,
707,
16,
5411,
368,
3241,
732,
2545,
326,
296,
2972,
11,
783,
1363,
17,
2696,
2777,
5411,
1122,
3769,
671,
1964,
1854,
273,
333,
18,
3085,
18,
588,
7051,
1964,
1854,
4789,
5621,
5411,
1250,
1906,
2520,
3759,
1964,
273,
2
] |
QueueConnection requestQueueConnection = null; QueueSession requestQueueSession = null; QueueSender queueSender = null;
|
javax.jms.QueueConnection requestQueueConnection = null; javax.jms.QueueSession requestQueueSession = null; javax.jms.QueueSender queueSender = null;
|
public ProcessorOutput createOutput(String name) { ProcessorOutput output = new ProcessorImpl.ProcessorOutputImpl(getClass(), name) { public void readImpl(final org.orbeon.oxf.pipeline.api.PipelineContext context, final ContentHandler contentHandler) { final org.orbeon.oxf.pipeline.api.PipelineContext _context = context; final List services = readServices(readInputAsDOM4J(context, INPUT_INTERFACE)); readInputAsSAX(context, INPUT_CALL, new ForwardingContentHandler(contentHandler) { Locator locator; String operationName; ServiceDefinition service; OperationDefinition operation; SAXStore parameters; public void startElement(String uri, String localname, String qName, Attributes attributes) throws SAXException { if (uri.equals(DELEGATION_NAMESPACE_URI) && localname.equals("execute")) { // Find service service = null; String serviceId = attributes.getValue("service"); for (Iterator i = services.iterator(); i.hasNext();) { ServiceDefinition candidateService = (ServiceDefinition) i.next(); if (candidateService.id.equals(serviceId)) { service = candidateService; break; } } if (service == null) throw new OXFException("Cannot find service with id \"" + serviceId + "\""); operation = null; operationName = attributes.getValue("operation"); // Find operation for Web service if (service.type == ServiceDefinition.WEB_SERVICE_TYPE && operationName != null) { for (Iterator i = service.operations.iterator(); i.hasNext();) { OperationDefinition candidateOperation = (OperationDefinition) i.next(); if (candidateOperation.name.equals(operationName)) { operation = candidateOperation; break; } } if (operation == null) throw new ValidationException("No operation '" + operationName + "' declared", new LocationData(locator)); } parameters = new SAXStore(); } else { // Store values if we are inside a <delegation:execute> if (parameters == null) { super.startElement(uri, localname, qName, attributes); } else { parameters.startElement(uri, localname, qName, attributes); } } } public void endElement(String uri, String localname, String qName) { try { if (uri.equals(DELEGATION_NAMESPACE_URI)) { if (localname.equals("execute")) { if (service.type == ServiceDefinition.WEB_SERVICE_TYPE || service.type == ServiceDefinition.BUS_SERVICE_TYPE) { // Call Web service Service axisService = new Service(); Call call = (Call) axisService.createCall(); // Read all parameters in root node final Node rootNode; { // Read in DOM4j content handler SAXContentHandler dom4jContentHandler = new SAXContentHandler(); dom4jContentHandler.startDocument(); dom4jContentHandler.startElement("", "dummy", "dummy", XMLUtils.EMPTY_ATTRIBUTES); parameters.replay(dom4jContentHandler); dom4jContentHandler.endElement("", "dummy", "dummy"); dom4jContentHandler.endDocument(); // Convert to DOM rootNode = new DOMWriter().write (dom4jContentHandler.getDocument()).getDocumentElement(); } // Populate envelope SOAPEnvelope requestEnvelope = new SOAPEnvelope(); if (service.type == ServiceDefinition.BUS_SERVICE_TYPE || "document".equals(service.style)) { // Add elements to directly to body for (int i = 0; i < rootNode.getChildNodes().getLength(); i++) { Node child = rootNode.getChildNodes().item(i); if (child instanceof org.w3c.dom.Element) requestEnvelope.addBodyElement(new SOAPBodyElement((org.w3c.dom.Element) child)); } } else { // Create body element with operation name, and add elements as children final SOAPBodyElement requestBody = new SOAPBodyElement(new PrefixedQName(operation.nsuri, operation.name, "m")); for (int i = 0; i < rootNode.getChildNodes().getLength(); i++) { Node child = rootNode.getChildNodes().item(i); if (child instanceof org.w3c.dom.Element) { requestBody.addChild(new MessageElement((org.w3c.dom.Element) child)); } else if (child instanceof org.w3c.dom.Text) { requestBody.addTextNode(((org.w3c.dom.Text) child).toString()); requestEnvelope.addBodyElement(new SOAPBodyElement((org.w3c.dom.Element) child)); } else { throw new OXFException("Unsupported node type: " + child.getClass().getName()); } } requestEnvelope.addBodyElement(requestBody); } // Call service SOAPEnvelope resultEnvelope = null; if (service.type == ServiceDefinition.WEB_SERVICE_TYPE) { // Call Web service parameters = null; call.setTargetEndpointAddress(new URL(service.endpoint)); if (operation != null && operation.soapAction != null) { call.setUseSOAPAction(true); call.setSOAPActionURI(operation.soapAction); } call.setReturnClass(javax.xml.soap.SOAPMessage.class); resultEnvelope = call.invoke(requestEnvelope); } else { // Call bus service QueueConnection requestQueueConnection = null; QueueSession requestQueueSession = null; QueueSender queueSender = null; try { requestQueueConnection = JMSUtils.getQueueConnection(); requestQueueSession = requestQueueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); queueSender = requestQueueSession.createSender ((Queue) new InitialContext().lookup(JMSUtils.JNDI_SERVICE_PREFIX + service.name)); ObjectMessage responseMessage = requestQueueSession.createObjectMessage(); responseMessage.setObject(requestEnvelope); // Send message if (ServiceDirectory.instance().getServiceByName(service.name).hasOutputs()) { // Response expected QueueConnection responseQueueConnection = null; QueueSession responseQueueSession = null; QueueReceiver queueReceiver = null; try { responseQueueConnection = JMSUtils.getQueueConnection(); responseQueueSession = responseQueueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); Queue temporaryQueue = responseQueueSession.createTemporaryQueue(); queueReceiver = responseQueueSession.createReceiver(temporaryQueue); responseMessage.setJMSReplyTo(temporaryQueue); responseQueueConnection.start(); queueSender.send(responseMessage); Message message = queueReceiver.receive(); resultEnvelope = (SOAPEnvelope) ((ObjectMessage) message).getObject(); } finally{ if (queueReceiver != null) queueReceiver.close(); if (responseQueueSession != null) responseQueueSession.close(); if (responseQueueConnection != null) responseQueueConnection.close(); } } else { // No response expected queueSender.send(responseMessage); } } finally { if (queueSender != null) queueSender.close(); if (requestQueueSession != null) requestQueueSession.close(); if (requestQueueConnection != null) requestQueueConnection.close(); } } // Handle result if (resultEnvelope != null) { // Throw exception if a fault is returned if (resultEnvelope.getBody().getFault() != null) { throw new OXFException("SOAP Fault. Request:\n" + XMLUtils.domToString(requestEnvelope.getAsDocument()) + "\n\nResponse:\n" + XMLUtils.domToString(resultEnvelope.getAsDocument())); } // Send body from result envelope LocationSAXWriter locationSAXWriter = new LocationSAXWriter(); locationSAXWriter.setContentHandler(contentHandler); Document resultEnvelopeDOM4j = new DOMReader().read(resultEnvelope.getAsDocument()); String xpath = operation != null && operation.select != null ? operation.select : service.type == ServiceDefinition.WEB_SERVICE_TYPE ? DEFAULT_SELECT_WEB_SERVICE : DEFAULT_SELECT_BUS; PooledXPathExpression expr = XPathCache.getXPathExpression(context, new DocumentWrapper(resultEnvelopeDOM4j, null), xpath, operation != null && operation.select != null ? operation.selectNamespaceContext : DEFAULT_SELECT_NAMESPACE_CONTEXT); for (Iterator i = expr.evaluate().iterator(); i.hasNext();) { // Create document with node from SOAP envelope Object result = i.next(); if (result instanceof Element) { locationSAXWriter.write((Element) result); } else if (result instanceof Document) { locationSAXWriter.write(((Document) result).getRootElement()); } else if (result instanceof Text) { locationSAXWriter.write((Text) result); } else { throw new OXFException("Unsupported result from select expression: '" + result.getClass() + "'"); } } } } else if (service.type == ServiceDefinition.STATELESS_EJB_TYPE || service.type == ServiceDefinition.JAVABEAN_TYPE) { // Create SAXStore with "real" document SAXStore parametersWellFormed = new SAXStore(); parametersWellFormed.startDocument(); parametersWellFormed.startElement("", "parameters", "parameters", XMLUtils.EMPTY_ATTRIBUTES); parameters.replay(parametersWellFormed); parametersWellFormed.endElement("", "parameters", "parameters"); parametersWellFormed.endDocument(); // Put parameters in DOM SAXStoreGenerator saxGenerator = new SAXStoreGenerator(parametersWellFormed); DOMSerializer domSerializer = new DOMSerializer(); PipelineUtils.connect(saxGenerator, "data", domSerializer, "data"); org.orbeon.oxf.pipeline.api.PipelineContext context = new org.orbeon.oxf.pipeline.api.PipelineContext(); domSerializer.start(context); org.dom4j.Document parametersDocument = domSerializer.getNode(context); // Get parameter values and types List parameterTypes = new ArrayList(); List parameterValues = new ArrayList(); // Go throught elements for (Iterator i = parametersDocument.selectNodes("/parameters/*").iterator(); i.hasNext();) { org.dom4j.Element parameterElement = (org.dom4j.Element) i.next(); String parameterValue = parameterElement.getText(); String type = parameterElement.attributeValue(xsiType); if (type == null || "xsd:string".equals(type)) { parameterTypes.add(String.class); parameterValues.add(parameterValue); } else if ("xsd:double".equals(type)) { parameterTypes.add(Double.TYPE); parameterValues.add(new Double(parameterValue)); } } if (service.type == ServiceDefinition.STATELESS_EJB_TYPE) { // Call EJB method Context jndiContext = (Context) _context.getAttribute(org.orbeon.oxf.pipeline.api.PipelineContext.JNDI_CONTEXT); Object home = jndiContext.lookup(service.jndiName); Method create = home.getClass().getDeclaredMethod("create", new Class[]{}); Object instance = create.invoke(home, new Object[]{}); String result = callMethod(instance.getClass(), operationName, parameterTypes, instance, parameterValues); super.characters(result.toCharArray(), 0, result.length()); } else if (service.type == ServiceDefinition.JAVABEAN_TYPE) { // Call JavaBean method Class clazz = Class.forName(service.clazz); Object instance = clazz.newInstance(); String result = callMethod(clazz, operationName, parameterTypes, instance, parameterValues); super.characters(result.toCharArray(), 0, result.length()); } } } } else { // Store values if we are inside a <delegation:execute> if (parameters == null) { super.endElement(uri, localname, qName); } else { parameters.endElement(uri, localname, qName); } } } catch (Exception e) { throw new OXFException(e); } } public void characters(char[] chars, int start, int length) throws SAXException { // Store values if we are inside a <delegation:execute> if (parameters == null) { super.characters(chars, start, length); } else { parameters.characters(chars, start, length); } } public void setDocumentLocator(Locator locator) { this.locator = locator; } }); }; }; addOutput(name, output); return output; }
|
54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/e04d1965e639f2e71c5618f580993c59d92d0276/DelegationProcessor.java/buggy/src/java/org/orbeon/oxf/processor/DelegationProcessor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15476,
1447,
752,
1447,
12,
780,
508,
13,
288,
3639,
15476,
1447,
876,
273,
394,
15476,
2828,
18,
5164,
1447,
2828,
12,
588,
797,
9334,
508,
13,
288,
5411,
1071,
918,
855,
2828,
12,
6385,
2358,
18,
280,
2196,
265,
18,
2409,
74,
18,
14511,
18,
2425,
18,
8798,
1042,
819,
16,
727,
3697,
1503,
913,
1503,
13,
288,
7734,
727,
2358,
18,
280,
2196,
265,
18,
2409,
74,
18,
14511,
18,
2425,
18,
8798,
1042,
389,
2472,
273,
819,
31,
7734,
727,
987,
4028,
273,
855,
5676,
12,
896,
1210,
1463,
8168,
24,
46,
12,
2472,
16,
12943,
67,
18865,
10019,
7734,
855,
1210,
1463,
55,
2501,
12,
2472,
16,
12943,
67,
13730,
16,
394,
17206,
310,
1350,
1503,
12,
1745,
1503,
13,
288,
10792,
2851,
639,
8871,
31,
10792,
514,
22697,
31,
10792,
1956,
1852,
1156,
31,
10792,
4189,
1852,
1674,
31,
10792,
10168,
2257,
1472,
31,
10792,
1071,
918,
13591,
12,
780,
2003,
16,
514,
1191,
529,
16,
514,
22914,
16,
9055,
1677,
13,
1216,
14366,
288,
13491,
309,
261,
1650,
18,
14963,
12,
1639,
19384,
2689,
67,
11368,
67,
3098,
13,
597,
1191,
529,
18,
14963,
2932,
8837,
6,
3719,
288,
18701,
368,
4163,
1156,
18701,
1156,
273,
446,
31,
18701,
514,
17130,
273,
1677,
18,
24805,
2932,
3278,
8863,
18701,
364,
261,
3198,
277,
273,
4028,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
27573,
1956,
1852,
5500,
1179,
273,
261,
1179,
1852,
13,
277,
18,
4285,
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,
377,
1071,
15476,
1447,
752,
1447,
12,
780,
508,
13,
288,
3639,
15476,
1447,
876,
273,
394,
15476,
2828,
18,
5164,
1447,
2828,
12,
588,
797,
9334,
508,
13,
288,
5411,
1071,
918,
855,
2828,
12,
6385,
2358,
18,
280,
2196,
265,
18,
2409,
74,
18,
14511,
18,
2425,
18,
8798,
1042,
819,
16,
727,
3697,
1503,
913,
1503,
13,
288,
7734,
727,
2358,
18,
280,
2196,
265,
18,
2409,
74,
18,
14511,
18,
2425,
18,
8798,
1042,
389,
2472,
273,
819,
31,
7734,
727,
987,
4028,
273,
855,
5676,
12,
896,
1210,
1463,
8168,
24,
46,
12,
2472,
16,
12943,
67,
18865,
10019,
7734,
855,
1210,
1463,
55,
2501,
12,
2472,
16,
12943,
67,
13730,
16,
394,
17206,
2
] |
gc.drawImage(sharedImageWorkspace, 0, 0);
|
gc.drawImage(imageWorkspace, 0, 0);
|
public AvailableBundlesLabelProvider() { ImageDescriptor id = OsgiUiPlugin.imageDescriptorFromPlugin("org.knopflerfish.eclipse.core.ui", IMAGE_BUNDLE); if (id != null) { imageBundle = id.createImage(); } id = OsgiUiPlugin.imageDescriptorFromPlugin("org.knopflerfish.eclipse.core.ui", IMAGE_BUNDLE_SRC); if (id != null) { imageBundleSrc = id.createImage(); } id = OsgiUiPlugin.imageDescriptorFromPlugin("org.knopflerfish.eclipse.core.ui", IMAGE_FISH); if (id != null) { imageKnopflerfish = id.createImage(); } id = OsgiUiPlugin.imageDescriptorFromPlugin("org.knopflerfish.eclipse.core.ui", IMAGE_BUNDLE_OVR); if (id != null) { Image bundleOvrImage = id.createImage(); imageProject = new Image(null, sharedImageWorkspace.getBounds()); GC gc = new GC(imageProject); gc.drawImage(sharedImageWorkspace, 0, 0); gc.drawImage(bundleOvrImage, imageProject.getBounds().width-bundleOvrImage.getBounds().width, 0); gc.dispose(); bundleOvrImage.dispose(); } }
|
14547 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14547/e4172fc5d39fd99380b5511390182661c07a0f1a/AvailableBundlesLabelProvider.java/buggy/org.knopflerfish.eclipse.core.ui/src/org/knopflerfish/eclipse/core/ui/launcher/bundle/AvailableBundlesLabelProvider.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
15633,
16151,
2224,
2249,
1435,
288,
565,
3421,
3187,
612,
273,
531,
17537,
13943,
3773,
18,
2730,
3187,
1265,
3773,
2932,
3341,
18,
21112,
556,
74,
749,
22905,
18,
20416,
18,
3644,
18,
4881,
3113,
10757,
67,
30245,
1769,
565,
309,
261,
350,
480,
446,
13,
288,
1377,
1316,
3405,
273,
612,
18,
2640,
2040,
5621,
565,
289,
565,
612,
273,
531,
17537,
13943,
3773,
18,
2730,
3187,
1265,
3773,
2932,
3341,
18,
21112,
556,
74,
749,
22905,
18,
20416,
18,
3644,
18,
4881,
3113,
10757,
67,
30245,
67,
28413,
1769,
565,
309,
261,
350,
480,
446,
13,
288,
1377,
1316,
3405,
7740,
273,
612,
18,
2640,
2040,
5621,
565,
289,
565,
612,
273,
531,
17537,
13943,
3773,
18,
2730,
3187,
1265,
3773,
2932,
3341,
18,
21112,
556,
74,
749,
22905,
18,
20416,
18,
3644,
18,
4881,
3113,
10757,
67,
1653,
2664,
1769,
565,
309,
261,
350,
480,
446,
13,
288,
1377,
1316,
47,
82,
556,
74,
749,
22905,
273,
612,
18,
2640,
2040,
5621,
565,
289,
565,
612,
273,
531,
17537,
13943,
3773,
18,
2730,
3187,
1265,
3773,
2932,
3341,
18,
21112,
556,
74,
749,
22905,
18,
20416,
18,
3644,
18,
4881,
3113,
10757,
67,
30245,
67,
51,
10986,
1769,
565,
309,
261,
350,
480,
446,
13,
288,
1377,
3421,
3440,
51,
18090,
2040,
273,
612,
18,
2640,
2040,
5621,
1377,
1316,
4109,
273,
394,
3421,
12,
2011,
16,
5116,
2040,
8241,
18,
588,
5694,
10663,
1377,
15085,
8859,
273,
394,
15085,
12,
2730,
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,
15633,
16151,
2224,
2249,
1435,
288,
565,
3421,
3187,
612,
273,
531,
17537,
13943,
3773,
18,
2730,
3187,
1265,
3773,
2932,
3341,
18,
21112,
556,
74,
749,
22905,
18,
20416,
18,
3644,
18,
4881,
3113,
10757,
67,
30245,
1769,
565,
309,
261,
350,
480,
446,
13,
288,
1377,
1316,
3405,
273,
612,
18,
2640,
2040,
5621,
565,
289,
565,
612,
273,
531,
17537,
13943,
3773,
18,
2730,
3187,
1265,
3773,
2932,
3341,
18,
21112,
556,
74,
749,
22905,
18,
20416,
18,
3644,
18,
4881,
3113,
10757,
67,
30245,
67,
28413,
1769,
565,
309,
261,
350,
480,
446,
13,
288,
1377,
1316,
3405,
7740,
273,
612,
18,
2640,
2040,
5621,
565,
289,
565,
612,
273,
531,
17537,
13943,
2
] |
writeXcodeProject(_monitor, _project, myXcodeProjProject, _project.getName() + ".xcodeproj");
|
writeXcodeProject(monitor, project, myXcodeProjProject, project.getName() + ".xcodeproj");
|
public boolean buildPreparationDone(int _kind, Map _args, IProgressMonitor _monitor, IProject _project, Map _buildCache) { if (_kind == IncrementalProjectBuilder.FULL_BUILD || _kind == IncrementalProjectBuilder.CLEAN_BUILD) { if (myXcodeProject != null) { try { writeXcodeProject(_monitor, _project, myXcodeProject, _project.getName() + ".xcode"); } catch (CoreException e) { BuilderPlugin.getDefault().log(e); } } if (myXcodeProjProject != null) { try { writeXcodeProject(_monitor, _project, myXcodeProjProject, _project.getName() + ".xcodeproj"); } catch (CoreException e) { BuilderPlugin.getDefault().log(e); } } } return false; }
|
2575 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2575/5644f6506a8f17f2b8311774090206457f13a78d/DotXcodeBuilder.java/buggy/wolips/plugins/org.objectstyle.wolips.builder/java/org/objectstyle/wolips/builder/internal/DotXcodeBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1361,
1386,
20961,
7387,
12,
474,
389,
9224,
16,
1635,
389,
1968,
16,
467,
5491,
7187,
389,
10259,
16,
467,
4109,
389,
4406,
16,
1635,
389,
3510,
1649,
13,
288,
202,
202,
430,
261,
67,
9224,
422,
17883,
287,
4109,
1263,
18,
18111,
67,
20215,
747,
389,
9224,
422,
17883,
287,
4109,
1263,
18,
39,
10439,
67,
20215,
13,
288,
1082,
202,
430,
261,
4811,
60,
710,
4109,
480,
446,
13,
288,
9506,
202,
698,
288,
6862,
202,
2626,
60,
710,
4109,
24899,
10259,
16,
389,
4406,
16,
3399,
60,
710,
4109,
16,
389,
4406,
18,
17994,
1435,
397,
3552,
92,
710,
8863,
9506,
202,
97,
1044,
261,
25341,
425,
13,
288,
6862,
202,
1263,
3773,
18,
588,
1868,
7675,
1330,
12,
73,
1769,
9506,
202,
97,
1082,
202,
97,
1082,
202,
430,
261,
4811,
60,
710,
626,
78,
4109,
480,
446,
13,
288,
9506,
202,
698,
288,
6862,
202,
2626,
60,
710,
4109,
24899,
10259,
16,
389,
4406,
16,
3399,
60,
710,
626,
78,
4109,
16,
389,
4406,
18,
17994,
1435,
397,
3552,
92,
710,
17995,
8863,
9506,
202,
97,
1044,
261,
25341,
425,
13,
288,
6862,
202,
1263,
3773,
18,
588,
1868,
7675,
1330,
12,
73,
1769,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
629,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1361,
1386,
20961,
7387,
12,
474,
389,
9224,
16,
1635,
389,
1968,
16,
467,
5491,
7187,
389,
10259,
16,
467,
4109,
389,
4406,
16,
1635,
389,
3510,
1649,
13,
288,
202,
202,
430,
261,
67,
9224,
422,
17883,
287,
4109,
1263,
18,
18111,
67,
20215,
747,
389,
9224,
422,
17883,
287,
4109,
1263,
18,
39,
10439,
67,
20215,
13,
288,
1082,
202,
430,
261,
4811,
60,
710,
4109,
480,
446,
13,
288,
9506,
202,
698,
288,
6862,
202,
2626,
60,
710,
4109,
24899,
10259,
16,
389,
4406,
16,
3399,
60,
710,
4109,
16,
389,
4406,
18,
17994,
1435,
397,
3552,
92,
710,
8863,
9506,
202,
97,
1044,
261,
25341,
425,
13,
288,
6862,
202,
1263,
2
] |
BugzillaServerFacade.validateCredentials(null, repository.getUrl(), repository.getUserName(), repository .getPassword());
|
BugzillaServerFacade.validateCredentials(null, repository.getUrl(), repository.getCharacterEncoding(), repository.getUserName(), repository.getPassword());
|
public void testValidateCredentials() throws IOException, BugzillaException, KeyManagementException, GeneralSecurityException { BugzillaServerFacade.validateCredentials(null, repository.getUrl(), repository.getUserName(), repository .getPassword()); }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/610c8819aab8632d55d61fa6bdd596f5b74c0806/BugzillaQueryTest.java/clean/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/headless/BugzillaQueryTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
4270,
6163,
1435,
1216,
1860,
16,
16907,
15990,
503,
16,
1929,
10998,
503,
16,
1082,
202,
12580,
24918,
288,
202,
202,
19865,
15990,
2081,
12467,
18,
5662,
6163,
12,
2011,
16,
3352,
18,
588,
1489,
9334,
3352,
18,
588,
15296,
9334,
3352,
9506,
202,
18,
588,
3913,
10663,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
4270,
6163,
1435,
1216,
1860,
16,
16907,
15990,
503,
16,
1929,
10998,
503,
16,
1082,
202,
12580,
24918,
288,
202,
202,
19865,
15990,
2081,
12467,
18,
5662,
6163,
12,
2011,
16,
3352,
18,
588,
1489,
9334,
3352,
18,
588,
15296,
9334,
3352,
9506,
202,
18,
588,
3913,
10663,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} }
|
} }
|
public Object call() throws Exception { // cache certain info locally startId = config.getStartId(); recordName = config.getRecordName(); recordNamespace = config.getRecordNamespace(); if (config.isUseFileNameIds()) { // every file is its own root record logger.finer("treating input as a record"); foundRoot = true; } try { if (inputFile != null) { // time to instantiate the reader setInput(new FileReader(inputFile)); } process(); return null; } catch (Exception e) { logger.info("current uri: \"" + currentUri + "\""); if (producer != null) { logger.info("current record: " + producer + ", bytes = " + producer.getByteBufferDescription()); } if (e instanceof MalformedInputException) { // invalid character sequence, probably logger.warning("input could not be decoded: try setting " + Configuration.INPUT_ENCODING_KEY + " (or set " + Configuration.INPUT_MALFORMED_ACTION_KEY + " to " + Configuration.INPUT_MALFORMED_ACTION_IGNORE + " or " + Configuration.INPUT_MALFORMED_ACTION_REPLACE + ")."); } // if it got this high, it's fatal logger.logException("fatal - halting monitor", e); monitor.halt(); throw e; } catch (Throwable t) { logger.logException("fatal - halting monitor", t); monitor.halt(); return null; } }
|
52612 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52612/427dffaa2ae12b73b84bf5f6a616ecd321087ce3/Loader.java/clean/src/java/com/marklogic/recordloader/Loader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
745,
1435,
1216,
1185,
288,
202,
202,
759,
1247,
8626,
1123,
13760,
202,
202,
1937,
548,
273,
642,
18,
588,
1685,
548,
5621,
202,
202,
3366,
461,
273,
642,
18,
588,
2115,
461,
5621,
202,
202,
3366,
3402,
273,
642,
18,
588,
2115,
3402,
5621,
202,
202,
430,
261,
1425,
18,
291,
3727,
4771,
2673,
10756,
288,
1082,
202,
759,
3614,
585,
353,
2097,
4953,
1365,
1409,
1082,
202,
4901,
18,
926,
264,
2932,
27427,
1776,
810,
487,
279,
1409,
8863,
1082,
202,
7015,
2375,
273,
638,
31,
202,
202,
97,
202,
202,
698,
288,
1082,
202,
430,
261,
2630,
812,
480,
446,
13,
288,
9506,
202,
759,
813,
358,
10275,
326,
2949,
9506,
202,
542,
1210,
12,
2704,
23010,
12,
2630,
812,
10019,
1082,
202,
97,
1082,
202,
2567,
5621,
1082,
202,
2463,
446,
31,
202,
202,
97,
1044,
261,
503,
425,
13,
288,
1082,
202,
4901,
18,
1376,
2932,
2972,
2003,
30,
11843,
397,
783,
3006,
397,
11143,
1769,
1082,
202,
430,
261,
11776,
2750,
480,
446,
13,
288,
9506,
202,
4901,
18,
1376,
2932,
2972,
1409,
30,
315,
397,
12608,
397,
3104,
1731,
273,
315,
25083,
202,
15,
12608,
18,
588,
12242,
3291,
10663,
1082,
202,
97,
1082,
202,
430,
261,
73,
1276,
13311,
20518,
13,
288,
9506,
202,
759,
2057,
3351,
3102,
16,
8656,
9506,
202,
4901,
18,
8551,
2932,
2630,
3377,
486,
506,
6383,
30,
775,
3637,
315,
25083,
202,
15,
4659,
18,
15934,
67,
14672,
67,
3297,
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,
1033,
745,
1435,
1216,
1185,
288,
202,
202,
759,
1247,
8626,
1123,
13760,
202,
202,
1937,
548,
273,
642,
18,
588,
1685,
548,
5621,
202,
202,
3366,
461,
273,
642,
18,
588,
2115,
461,
5621,
202,
202,
3366,
3402,
273,
642,
18,
588,
2115,
3402,
5621,
202,
202,
430,
261,
1425,
18,
291,
3727,
4771,
2673,
10756,
288,
1082,
202,
759,
3614,
585,
353,
2097,
4953,
1365,
1409,
1082,
202,
4901,
18,
926,
264,
2932,
27427,
1776,
810,
487,
279,
1409,
8863,
1082,
202,
7015,
2375,
273,
638,
31,
202,
202,
97,
202,
202,
698,
288,
1082,
202,
430,
261,
2630,
812,
480,
446,
13,
288,
9506,
202,
759,
813,
358,
10275,
326,
2949,
9506,
202,
2
] |
int newEndIndex = getInt(myEndIndex); int newLimit = getInt(myEntriesLimit);
|
int newEndIndex = getInt(myEndIndex); int newLimit = getInt(myEntriesLimit);
|
private void applyTo(ArrayRenderer renderer) { int newStartIndex = getInt(myFirstIndex); int newEndIndex = getInt(myEndIndex); int newLimit = getInt(myEntriesLimit); if (newStartIndex >= 0 && newEndIndex >= 0) { if (newStartIndex >= newEndIndex) { int currentStartIndex = renderer.START_INDEX; int currentEndIndex = renderer.END_INDEX; newEndIndex = newStartIndex + (currentEndIndex - currentStartIndex); } if(newLimit <= 0) newLimit = 1; if(newEndIndex - newStartIndex > 10000) { if(Messages.showOkCancelDialog(myPanel.getRootPane(), "Range specified is too big. IDEA needs too much resources to perform requested operation. Are you shure you want to continue?", "Range is Too Big", Messages.getWarningIcon()) != DialogWrapper.OK_EXIT_CODE) return; } } renderer.START_INDEX = newStartIndex; renderer.END_INDEX = newEndIndex; renderer.ENTRIES_LIMIT = newLimit; }
|
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/bfe82dc83a75d544fa3ff4054e33414a2a195961/ArrayRendererConfigurable.java/buggy/source/com/intellij/debugger/settings/ArrayRendererConfigurable.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
28681,
12,
1076,
6747,
5690,
13,
288,
565,
509,
394,
16792,
273,
8145,
12,
4811,
3759,
1016,
1769,
565,
509,
394,
24152,
282,
273,
8145,
12,
4811,
24152,
1769,
565,
509,
394,
3039,
1377,
273,
8145,
12,
4811,
5400,
3039,
1769,
565,
309,
261,
2704,
16792,
1545,
374,
597,
394,
24152,
1545,
374,
13,
288,
1377,
309,
261,
2704,
16792,
1545,
394,
24152,
13,
288,
3639,
509,
783,
16792,
273,
5690,
18,
7570,
67,
9199,
31,
3639,
509,
783,
24152,
273,
5690,
18,
4415,
67,
9199,
31,
3639,
394,
24152,
273,
394,
16792,
397,
261,
2972,
24152,
300,
783,
16792,
1769,
1377,
289,
1377,
309,
12,
2704,
3039,
1648,
374,
13,
394,
3039,
273,
404,
31,
1377,
309,
12,
2704,
24152,
300,
394,
16792,
405,
12619,
13,
288,
3639,
309,
12,
5058,
18,
4500,
8809,
6691,
6353,
12,
4811,
5537,
18,
588,
2375,
8485,
9334,
315,
2655,
1269,
353,
4885,
5446,
18,
1599,
41,
37,
4260,
4885,
9816,
2703,
358,
3073,
3764,
1674,
18,
12520,
1846,
699,
594,
1846,
2545,
358,
1324,
35,
3113,
315,
2655,
353,
15869,
4454,
3113,
4838,
18,
588,
6210,
5554,
10756,
480,
17242,
3611,
18,
3141,
67,
28682,
67,
5572,
13,
327,
31,
1377,
289,
565,
289,
565,
5690,
18,
7570,
67,
9199,
282,
273,
394,
16792,
31,
565,
5690,
18,
4415,
67,
9199,
377,
273,
394,
24152,
31,
565,
5690,
18,
2222,
2259,
3991,
67,
8283,
273,
394,
3039,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
28681,
12,
1076,
6747,
5690,
13,
288,
565,
509,
394,
16792,
273,
8145,
12,
4811,
3759,
1016,
1769,
565,
509,
394,
24152,
282,
273,
8145,
12,
4811,
24152,
1769,
565,
509,
394,
3039,
1377,
273,
8145,
12,
4811,
5400,
3039,
1769,
565,
309,
261,
2704,
16792,
1545,
374,
597,
394,
24152,
1545,
374,
13,
288,
1377,
309,
261,
2704,
16792,
1545,
394,
24152,
13,
288,
3639,
509,
783,
16792,
273,
5690,
18,
7570,
67,
9199,
31,
3639,
509,
783,
24152,
273,
5690,
18,
4415,
67,
9199,
31,
3639,
394,
24152,
273,
394,
16792,
397,
261,
2972,
24152,
300,
783,
16792,
1769,
1377,
289,
1377,
309,
12,
2704,
3039,
1648,
374,
13,
394,
3039,
273,
404,
31,
2
] |
long uid = req.getLong(DMT.UID);
|
try {
|
public void run() { long uid = req.getLong(DMT.UID); short htl = req.getShort(DMT.HTL); NodePeer source = (NodePeer) req.getSource(); htl = source.decrementHTL(htl); // FIXME should be more generic when implement SSKs NodeCHK key = (NodeCHK) req.getObject(DMT.FREENET_ROUTING_KEY); Message accepted = DMT.createFNPAccepted(uid); source.send(accepted); Object o = node.makeRequestSender(key, htl, uid, source); if(o instanceof CHKBlock) { CHKBlock block = (CHKBlock) o; Message df = DMT.createFNPDataFound(uid, block.getHeader()); source.send(df); PartiallyReceivedBlock prb = new PartiallyReceivedBlock(Node.PACKETS_IN_BLOCK, Node.PACKET_SIZE, block.getData()); BlockTransmitter bt = new BlockTransmitter(node.usm, source, uid, prb); bt.send(); return; } RequestSender rs = (RequestSender) o; if(rs == null) { // ran out of htl? Message dnf = DMT.createFNPDataNotFound(uid); source.send(dnf); return; } boolean shouldHaveStartedTransfer = false; while(true) { rs.waitUntilStatusChange(); if(rs.transferStarted()) { Message df = DMT.createFNPDataFound(uid, rs.getHeaders()); source.send(df); PartiallyReceivedBlock prb = rs.getPRB(); BlockTransmitter bt = new BlockTransmitter(node.usm, source, uid, prb); bt.send(); // either fails or succeeds; other side will see, we don't care return; } int status = rs.getStatus(); switch(status) { case RequestSender.NOT_FINISHED: continue; case RequestSender.DATA_NOT_FOUND: Message dnf = DMT.createFNPDataNotFound(uid); source.sendAsync(dnf); return; case RequestSender.REJECTED_OVERLOAD: // Propagate back to source who needs to reduce send rate Message reject = DMT.createFNPRejectedOverload(uid); source.sendAsync(reject); return; case RequestSender.ROUTE_NOT_FOUND: // Tell source Message rnf = DMT.createFNPRouteNotFound(uid, rs.getHTL()); source.sendAsync(rnf); return; case RequestSender.SUCCESS: case RequestSender.TRANSFER_FAILED: case RequestSender.VERIFY_FAILURE: if(shouldHaveStartedTransfer) throw new IllegalStateException("Got status code "+status+" but transfer not started"); shouldHaveStartedTransfer = true; continue; // should have started transfer default: throw new IllegalStateException("Unknown status code "+status); } } }
|
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/0cbaea3a3df1c179ddb311773f6c7b0442abc0e6/RequestHandler.java/buggy/src/freenet/node/RequestHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
775,
288,
3639,
3025,
366,
6172,
273,
1111,
18,
588,
4897,
12,
40,
6152,
18,
5062,
48,
1769,
3639,
2029,
6813,
1084,
273,
261,
907,
6813,
13,
1111,
18,
588,
1830,
5621,
3639,
366,
6172,
273,
1084,
18,
323,
3702,
5062,
48,
12,
647,
80,
1769,
3639,
368,
9852,
1410,
506,
1898,
5210,
1347,
2348,
348,
11129,
87,
3639,
2029,
1792,
47,
498,
273,
261,
907,
1792,
47,
13,
1111,
18,
588,
921,
12,
40,
6152,
18,
42,
15878,
1584,
67,
1457,
1693,
1360,
67,
3297,
1769,
7734,
2350,
8494,
273,
463,
6152,
18,
2640,
19793,
4066,
4474,
329,
12,
1911,
1769,
3639,
1084,
18,
4661,
12,
23847,
1769,
7734,
1033,
320,
273,
756,
18,
6540,
691,
12021,
12,
856,
16,
366,
6172,
16,
4555,
16,
1084,
1769,
3639,
309,
12,
83,
1276,
6469,
47,
1768,
13,
288,
5411,
6469,
47,
1768,
1203,
273,
261,
1792,
47,
1768,
13,
320,
31,
5411,
2350,
3013,
273,
463,
6152,
18,
2640,
19793,
52,
751,
2043,
12,
1911,
16,
1203,
18,
588,
1864,
10663,
5411,
1084,
18,
4661,
12,
2180,
1769,
5411,
6393,
6261,
8872,
1768,
846,
70,
273,
7734,
394,
6393,
6261,
8872,
1768,
12,
907,
18,
12231,
1584,
55,
67,
706,
67,
11403,
16,
2029,
18,
12231,
1584,
67,
4574,
16,
1203,
18,
588,
751,
10663,
5411,
3914,
1429,
1938,
387,
10921,
273,
7734,
394,
3914,
1429,
1938,
387,
12,
2159,
18,
407,
81,
16,
1084,
16,
4555,
16,
846,
70,
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,
3639,
3025,
366,
6172,
273,
1111,
18,
588,
4897,
12,
40,
6152,
18,
5062,
48,
1769,
3639,
2029,
6813,
1084,
273,
261,
907,
6813,
13,
1111,
18,
588,
1830,
5621,
3639,
366,
6172,
273,
1084,
18,
323,
3702,
5062,
48,
12,
647,
80,
1769,
3639,
368,
9852,
1410,
506,
1898,
5210,
1347,
2348,
348,
11129,
87,
3639,
2029,
1792,
47,
498,
273,
261,
907,
1792,
47,
13,
1111,
18,
588,
921,
12,
40,
6152,
18,
42,
15878,
1584,
67,
1457,
1693,
1360,
67,
3297,
1769,
7734,
2350,
8494,
273,
463,
6152,
18,
2640,
19793,
4066,
4474,
329,
12,
1911,
1769,
3639,
1084,
18,
4661,
12,
23847,
1769,
7734,
1033,
320,
2
] |
temp = ( new String[] { append, classPath } ); } else
|
temp = ( new String[]{append, classPath} ); } else
|
private String[] getVMArguments( ILaunchConfiguration configuration ) throws CoreException { String temp[] = ( new ExecutionArguments( configuration.getAttribute( "vmargs", "" ), "" ) ).getVMArgumentsArray( ); String path = configuration.getAttribute( IMPORTPROJECT, "" ); String append = "-D" + PROJECT_NAMES_KEY + "=" + path; String classPath = ClasspathUtil.getAllProjectPaths( configuration.getAttribute( IMPORTPROJECTNAMES, "" ) ); if ( classPath != null && classPath.length( ) != 0 ) { classPath = "-D" + ScriptExecutor.PROJECT_CLASSPATH_KEY + "=" + classPath; } if ( temp == null ) { temp = ( new String[] { append, classPath } ); } else { List list = new ArrayList( ); int size = temp.length; for ( int i = 0; i < size; i++ ) list.add( temp[i] ); list.add( append ); list.add( classPath ); temp = ( String[] ) list.toArray( temp ); } return temp; }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/8b9756089bd39ac79cb8f82862d9ee44f9de43e2/ReportLaunchConfigurationDelegate.java/clean/UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/ui/launcher/ReportLaunchConfigurationDelegate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
8526,
336,
7397,
4628,
12,
467,
9569,
1750,
1664,
262,
1082,
202,
15069,
30015,
202,
95,
202,
202,
780,
1906,
8526,
273,
261,
394,
8687,
4628,
12,
1664,
18,
588,
1499,
12,
9506,
202,
6,
3489,
1968,
3113,
1408,
262,
16,
1408,
262,
262,
18,
588,
7397,
4628,
1076,
12,
11272,
202,
202,
780,
589,
273,
1664,
18,
588,
1499,
12,
21840,
17147,
16,
1408,
11272,
202,
202,
780,
714,
273,
3701,
40,
6,
397,
22489,
67,
16257,
67,
3297,
397,
9671,
397,
589,
31,
202,
202,
780,
22503,
273,
1659,
803,
1304,
18,
588,
1595,
4109,
4466,
12,
1664,
18,
588,
1499,
12,
9506,
202,
20445,
17147,
16257,
16,
1408,
262,
11272,
202,
202,
430,
261,
22503,
480,
446,
597,
22503,
18,
2469,
12,
262,
480,
374,
262,
202,
202,
95,
1082,
202,
1106,
743,
273,
3701,
40,
6,
397,
7739,
6325,
18,
17147,
67,
5237,
4211,
67,
3297,
397,
9671,
397,
22503,
31,
202,
202,
97,
202,
202,
430,
261,
1906,
422,
446,
262,
202,
202,
95,
1082,
202,
5814,
273,
261,
394,
514,
8526,
288,
714,
16,
22503,
289,
11272,
202,
202,
97,
469,
202,
202,
95,
1082,
202,
682,
666,
273,
394,
2407,
12,
11272,
1082,
202,
474,
963,
273,
1906,
18,
2469,
31,
1082,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
963,
31,
277,
9904,
262,
9506,
202,
1098,
18,
1289,
12,
1906,
63,
77,
65,
11272,
1082,
202,
1098,
18,
1289,
12,
714,
11272,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
8526,
336,
7397,
4628,
12,
467,
9569,
1750,
1664,
262,
1082,
202,
15069,
30015,
202,
95,
202,
202,
780,
1906,
8526,
273,
261,
394,
8687,
4628,
12,
1664,
18,
588,
1499,
12,
9506,
202,
6,
3489,
1968,
3113,
1408,
262,
16,
1408,
262,
262,
18,
588,
7397,
4628,
1076,
12,
11272,
202,
202,
780,
589,
273,
1664,
18,
588,
1499,
12,
21840,
17147,
16,
1408,
11272,
202,
202,
780,
714,
273,
3701,
40,
6,
397,
22489,
67,
16257,
67,
3297,
397,
9671,
397,
589,
31,
202,
202,
780,
22503,
273,
1659,
803,
1304,
18,
588,
1595,
4109,
4466,
12,
1664,
18,
588,
1499,
12,
9506,
202,
20445,
17147,
16257,
16,
1408,
262,
11272,
202,
202,
2
] |
ChartUIUtil.bindHelp( parent, ChartHelpContextIds.POPUP_AXIS_SCALE ); GridLayout glContent = new GridLayout( 2, true ); glContent.marginHeight = 7; glContent.marginWidth = 7; glContent.horizontalSpacing = 2; glContent.verticalSpacing = 5; cmpContent = new Composite( parent, SWT.NONE ); cmpContent.setLayout( glContent ); Group grpScale = new Group( cmpContent, SWT.NONE ); { GridData gdGRPScale = new GridData( GridData.FILL_BOTH ); gdGRPScale.horizontalSpan = 4; grpScale.setLayoutData( gdGRPScale ); GridLayout glScale = new GridLayout( ); glScale.numColumns = 4; glScale.horizontalSpacing = 5; glScale.verticalSpacing = 5; glScale.marginHeight = 2; glScale.marginWidth = 7; grpScale.setLayout( glScale ); grpScale.setText( Messages.getString( "BaseAxisDataSheetImpl.Lbl.Scale" ) ); } lblMin = new Label( grpScale, SWT.NONE ); GridData gdLBLMin = new GridData( ); lblMin.setLayoutData( gdLBLMin ); lblMin.setText( Messages.getString( "BaseAxisDataSheetImpl.Lbl.Minimum" ) ); txtScaleMin = new TextEditorComposite( grpScale, SWT.BORDER | SWT.SINGLE, getValueType( ) ); { GridData gd = new GridData( GridData.FILL_HORIZONTAL ); gd.widthHint = 100; txtScaleMin.setLayoutData( gd ); txtScaleMin.setText( getValue( getAxisForProcessing( ).getScale( ) .getMin( ) ) ); txtScaleMin.addListener( this ); txtScaleMin.setDefaultValue( "" ); } lblMax = new Label( grpScale, SWT.NONE ); lblMax.setText( Messages.getString( "BaseAxisDataSheetImpl.Lbl.Maximum" ) ); txtScaleMax = new TextEditorComposite( grpScale, SWT.BORDER | SWT.SINGLE, getValueType( ) ); { GridData gd = new GridData( GridData.FILL_HORIZONTAL ); gd.widthHint = 100; txtScaleMax.setLayoutData( gd ); txtScaleMax.setText( getValue( getAxisForProcessing( ).getScale( ) .getMax( ) ) ); txtScaleMax.addListener( this ); txtScaleMax.setDefaultValue( "" ); } boolean bDateTimeAxisType = getAxisForProcessing( ).getType( ) .equals( AxisType.DATE_TIME_LITERAL ); lblStep = new Label( grpScale, SWT.NONE ); lblStep.setText( Messages.getString( "BaseAxisDataSheetImpl.Lbl.Step" ) ); lblStep.setEnabled( !bDateTimeAxisType ); txtScaleStep = new TextEditorComposite( grpScale, SWT.BORDER | SWT.SINGLE, TextEditorComposite.TYPE_NUMBERIC ); { GridData gd = new GridData( GridData.FILL_HORIZONTAL ); gd.widthHint = 100; txtScaleStep.setLayoutData( gd ); String str = ""; if ( getAxisForProcessing( ).getScale( ) .eIsSet( ComponentPackage.eINSTANCE.getScale_Step( ) ) ) { str = String.valueOf( getAxisForProcessing( ).getScale( ) .getStep( ) ); } txtScaleStep.setText( str ); txtScaleStep.addListener( this ); txtScaleStep.setEnabled( !bDateTimeAxisType ); txtScaleStep.setDefaultValue( "" ); } GridLayout glGridCount = new GridLayout( ); glGridCount.numColumns = 2; glGridCount.horizontalSpacing = 5; glGridCount.marginHeight = 0; glGridCount.marginWidth = 0; populateLists( ); return cmpContent;
|
Composite composite = super.getComponent( parent ); setState( getAxisForProcessing( ).getType( ).getName( ) ); return composite;
|
protected Composite getComponent( Composite parent ) { ChartUIUtil.bindHelp( parent, ChartHelpContextIds.POPUP_AXIS_SCALE ); GridLayout glContent = new GridLayout( 2, true ); glContent.marginHeight = 7; glContent.marginWidth = 7; glContent.horizontalSpacing = 2; glContent.verticalSpacing = 5; cmpContent = new Composite( parent, SWT.NONE ); cmpContent.setLayout( glContent ); Group grpScale = new Group( cmpContent, SWT.NONE ); { GridData gdGRPScale = new GridData( GridData.FILL_BOTH ); gdGRPScale.horizontalSpan = 4; grpScale.setLayoutData( gdGRPScale ); GridLayout glScale = new GridLayout( ); glScale.numColumns = 4; glScale.horizontalSpacing = 5; glScale.verticalSpacing = 5; glScale.marginHeight = 2; glScale.marginWidth = 7; grpScale.setLayout( glScale ); grpScale.setText( Messages.getString( "BaseAxisDataSheetImpl.Lbl.Scale" ) ); //$NON-NLS-1$ } lblMin = new Label( grpScale, SWT.NONE ); GridData gdLBLMin = new GridData( ); lblMin.setLayoutData( gdLBLMin ); lblMin.setText( Messages.getString( "BaseAxisDataSheetImpl.Lbl.Minimum" ) ); //$NON-NLS-1$ txtScaleMin = new TextEditorComposite( grpScale, SWT.BORDER | SWT.SINGLE, getValueType( ) ); { GridData gd = new GridData( GridData.FILL_HORIZONTAL ); gd.widthHint = 100; txtScaleMin.setLayoutData( gd ); txtScaleMin.setText( getValue( getAxisForProcessing( ).getScale( ) .getMin( ) ) ); txtScaleMin.addListener( this ); txtScaleMin.setDefaultValue( "" ); //$NON-NLS-1$ } lblMax = new Label( grpScale, SWT.NONE ); lblMax.setText( Messages.getString( "BaseAxisDataSheetImpl.Lbl.Maximum" ) ); //$NON-NLS-1$ txtScaleMax = new TextEditorComposite( grpScale, SWT.BORDER | SWT.SINGLE, getValueType( ) ); { GridData gd = new GridData( GridData.FILL_HORIZONTAL ); gd.widthHint = 100; txtScaleMax.setLayoutData( gd ); txtScaleMax.setText( getValue( getAxisForProcessing( ).getScale( ) .getMax( ) ) ); txtScaleMax.addListener( this ); txtScaleMax.setDefaultValue( "" ); //$NON-NLS-1$ } boolean bDateTimeAxisType = getAxisForProcessing( ).getType( ) .equals( AxisType.DATE_TIME_LITERAL ); lblStep = new Label( grpScale, SWT.NONE ); lblStep.setText( Messages.getString( "BaseAxisDataSheetImpl.Lbl.Step" ) ); //$NON-NLS-1$ lblStep.setEnabled( !bDateTimeAxisType ); txtScaleStep = new TextEditorComposite( grpScale, SWT.BORDER | SWT.SINGLE, TextEditorComposite.TYPE_NUMBERIC ); { GridData gd = new GridData( GridData.FILL_HORIZONTAL ); gd.widthHint = 100; txtScaleStep.setLayoutData( gd ); String str = ""; //$NON-NLS-1$ if ( getAxisForProcessing( ).getScale( ) .eIsSet( ComponentPackage.eINSTANCE.getScale_Step( ) ) ) { str = String.valueOf( getAxisForProcessing( ).getScale( ) .getStep( ) ); } txtScaleStep.setText( str ); txtScaleStep.addListener( this ); txtScaleStep.setEnabled( !bDateTimeAxisType ); txtScaleStep.setDefaultValue( "" ); //$NON-NLS-1$ } // lblUnit = new Label( grpScale, SWT.NONE ); // GridData gdLBLUnit = new GridData( ); // lblUnit.setLayoutData( gdLBLUnit ); // lblUnit.setText( Messages.getString( "BaseAxisDataSheetImpl.Lbl.Unit" // ) ); //$NON-NLS-1$ // lblUnit.setEnabled( false ); // // cmbScaleUnit = new Combo( grpScale, SWT.DROP_DOWN | SWT.READ_ONLY ); // GridData gdCMBScaleUnit = new GridData( GridData.FILL_HORIZONTAL ); // cmbScaleUnit.setLayoutData( gdCMBScaleUnit ); // cmbScaleUnit.addSelectionListener( this ); // cmbScaleUnit.setEnabled( false ); GridLayout glGridCount = new GridLayout( ); glGridCount.numColumns = 2; glGridCount.horizontalSpacing = 5; glGridCount.marginHeight = 0; glGridCount.marginWidth = 0; populateLists( ); return cmpContent; }
|
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/c62c7b42803deb59ddb2a89e6fa9ca4a73e266af/AxisScaleSheet.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/axis/AxisScaleSheet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
14728,
10322,
12,
14728,
982,
262,
202,
95,
202,
202,
7984,
5370,
1304,
18,
4376,
6696,
12,
982,
16,
14804,
6696,
1042,
2673,
18,
30374,
3079,
67,
25614,
67,
19378,
11272,
9506,
202,
6313,
3744,
5118,
1350,
273,
394,
7145,
3744,
12,
576,
16,
638,
11272,
202,
202,
7043,
1350,
18,
10107,
2686,
273,
2371,
31,
202,
202,
7043,
1350,
18,
10107,
2384,
273,
2371,
31,
202,
202,
7043,
1350,
18,
18396,
18006,
273,
576,
31,
202,
202,
7043,
1350,
18,
17824,
18006,
273,
1381,
31,
202,
202,
9625,
1350,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
9625,
1350,
18,
542,
3744,
12,
5118,
1350,
11272,
202,
202,
1114,
14295,
5587,
273,
394,
3756,
12,
9411,
1350,
16,
348,
8588,
18,
9826,
11272,
202,
202,
95,
1082,
202,
6313,
751,
15551,
6997,
52,
5587,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
38,
18307,
11272,
1082,
202,
19016,
6997,
52,
5587,
18,
18396,
6952,
273,
1059,
31,
1082,
202,
17532,
5587,
18,
542,
3744,
751,
12,
15551,
6997,
52,
5587,
11272,
1082,
202,
6313,
3744,
5118,
5587,
273,
394,
7145,
3744,
12,
11272,
1082,
202,
7043,
5587,
18,
2107,
3380,
273,
1059,
31,
1082,
202,
7043,
5587,
18,
18396,
18006,
273,
1381,
31,
1082,
202,
7043,
5587,
18,
17824,
18006,
273,
1381,
31,
1082,
202,
7043,
5587,
18,
10107,
2686,
273,
576,
31,
1082,
202,
7043,
5587,
18,
10107,
2384,
273,
2371,
31,
1082,
202,
17532,
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,
14728,
10322,
12,
14728,
982,
262,
202,
95,
202,
202,
7984,
5370,
1304,
18,
4376,
6696,
12,
982,
16,
14804,
6696,
1042,
2673,
18,
30374,
3079,
67,
25614,
67,
19378,
11272,
9506,
202,
6313,
3744,
5118,
1350,
273,
394,
7145,
3744,
12,
576,
16,
638,
11272,
202,
202,
7043,
1350,
18,
10107,
2686,
273,
2371,
31,
202,
202,
7043,
1350,
18,
10107,
2384,
273,
2371,
31,
202,
202,
7043,
1350,
18,
18396,
18006,
273,
576,
31,
202,
202,
7043,
1350,
18,
17824,
18006,
273,
1381,
31,
202,
202,
9625,
1350,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
9625,
1350,
18,
542,
3744,
12,
5118,
1350,
11272,
202,
202,
1114,
14295,
2
] |
return traverseSeqChoice(seqDecl, schemaDoc, grammar, allContextFlags, false, enclosingCT);
|
return traverseSeqChoice(seqDecl, schemaDoc, grammar, allContextFlags, false, parent);
|
XSParticleDecl traverseSequence(Element seqDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, XSComplexTypeDecl enclosingCT) { return traverseSeqChoice(seqDecl, schemaDoc, grammar, allContextFlags, false, enclosingCT); }
|
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/df5f02d3094a70997c3d99b1716f4b3c1e466734/XSDAbstractParticleTraverser.java/clean/src/org/apache/xerces/impl/xs/traversers/XSDAbstractParticleTraverser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1139,
55,
1988,
3711,
3456,
10080,
4021,
12,
1046,
3833,
3456,
16,
4766,
565,
1139,
55,
2519,
966,
1963,
1759,
16,
4766,
565,
4611,
18576,
6473,
16,
4766,
565,
509,
777,
1042,
5094,
16,
4766,
565,
1139,
55,
12795,
559,
3456,
16307,
1268,
13,
288,
3639,
327,
10080,
6926,
10538,
12,
5436,
3456,
16,
1963,
1759,
16,
6473,
16,
777,
1042,
5094,
16,
629,
16,
982,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1139,
55,
1988,
3711,
3456,
10080,
4021,
12,
1046,
3833,
3456,
16,
4766,
565,
1139,
55,
2519,
966,
1963,
1759,
16,
4766,
565,
4611,
18576,
6473,
16,
4766,
565,
509,
777,
1042,
5094,
16,
4766,
565,
1139,
55,
12795,
559,
3456,
16307,
1268,
13,
288,
3639,
327,
10080,
6926,
10538,
12,
5436,
3456,
16,
1963,
1759,
16,
6473,
16,
777,
1042,
5094,
16,
629,
16,
982,
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
] |
logger.info("Creating session for: " + jid);
|
Log.info("Creating session for: " + jid);
|
public GatewaySession getGatewaySession(JID jid) throws Exception { SubscriptionInfo info = registrar.get(NormalizedJID.wrap(jid)); if (info == null) { throw new IllegalStateException("Please register before attempting to get a session"); } if (!sessions.containsKey(jid)) { info.jid = jid; GatewaySession session = this.gateway.getSessionFactory().newInstance(info); session.login(); logger.info("Creating session for: " + jid); sessions.put(jid, session); } return sessions.get(jid); }
|
6312 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6312/9965e1e02a95a3353ab10a1b613fc995ce3f666c/Registrar.java/clean/src/plugins/gateway/src/java/org/jivesoftware/wildfire/gateway/roster/Registrar.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11381,
2157,
336,
5197,
2157,
12,
46,
734,
14201,
13,
1216,
1185,
288,
3639,
12132,
966,
1123,
273,
17450,
297,
18,
588,
12,
15577,
46,
734,
18,
4113,
12,
18252,
10019,
3639,
309,
261,
1376,
422,
446,
13,
288,
5411,
604,
394,
5477,
2932,
8496,
1744,
1865,
15600,
358,
336,
279,
1339,
8863,
3639,
289,
3639,
309,
16051,
16794,
18,
12298,
653,
12,
18252,
3719,
288,
5411,
1123,
18,
18252,
273,
14201,
31,
13491,
11381,
2157,
1339,
273,
333,
18,
11127,
18,
588,
2157,
1733,
7675,
2704,
1442,
12,
1376,
1769,
5411,
1339,
18,
5819,
5621,
5411,
1827,
18,
1376,
2932,
11092,
1339,
364,
30,
315,
397,
14201,
1769,
5411,
8856,
18,
458,
12,
18252,
16,
1339,
1769,
3639,
289,
3639,
327,
8856,
18,
588,
12,
18252,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11381,
2157,
336,
5197,
2157,
12,
46,
734,
14201,
13,
1216,
1185,
288,
3639,
12132,
966,
1123,
273,
17450,
297,
18,
588,
12,
15577,
46,
734,
18,
4113,
12,
18252,
10019,
3639,
309,
261,
1376,
422,
446,
13,
288,
5411,
604,
394,
5477,
2932,
8496,
1744,
1865,
15600,
358,
336,
279,
1339,
8863,
3639,
289,
3639,
309,
16051,
16794,
18,
12298,
653,
12,
18252,
3719,
288,
5411,
1123,
18,
18252,
273,
14201,
31,
13491,
11381,
2157,
1339,
273,
333,
18,
11127,
18,
588,
2157,
1733,
7675,
2704,
1442,
12,
1376,
1769,
5411,
1339,
18,
5819,
5621,
5411,
1827,
18,
1376,
2932,
11092,
1339,
364,
30,
315,
397,
14201,
1769,
5411,
8856,
18,
458,
12,
18252,
16,
1339,
2
] |
addRequestParameter(Constants.CURRENTFLOWKEY, flowKey);
|
public void testValidateForLoadMethod() { request.setAttribute(Constants.CURRENTFLOWKEY, flowKey); setRequestPathInfo("/bulkentryaction.do"); addRequestParameter("method", "validate"); addRequestParameter("input", "load"); actionPerform(); verifyNoActionErrors(); verifyNoActionMessages(); verifyForward(ActionForwards.load_success.toString()); }
|
45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/d08127c32015f4eeea4db06797c49ba00fff3940/TestBulkEntryAction.java/clean/mifos/test/org/mifos/application/bulkentry/struts/action/TestBulkEntryAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1289,
691,
1662,
12,
2918,
18,
15487,
17430,
3297,
16,
4693,
653,
1769,
918,
1289,
691,
1662,
12,
2918,
18,
15487,
17430,
3297,
16,
4693,
653,
1769,
1842,
4270,
1290,
2563,
1305,
1435,
1289,
691,
1662,
12,
2918,
18,
15487,
17430,
3297,
16,
4693,
653,
1769,
288,
202,
202,
2293,
18,
542,
1499,
12,
2918,
18,
15487,
17430,
3297,
16,
1289,
691,
1662,
12,
2918,
18,
15487,
17430,
3297,
16,
4693,
653,
1769,
4693,
653,
1769,
202,
202,
542,
691,
743,
966,
2932,
19,
14597,
4099,
1128,
18,
2896,
8863,
202,
202,
1289,
691,
1662,
2932,
2039,
3113,
1289,
691,
1662,
12,
2918,
18,
15487,
17430,
3297,
16,
4693,
653,
1769,
315,
5662,
8863,
202,
202,
1289,
691,
1662,
2932,
2630,
3113,
1289,
691,
1662,
12,
2918,
18,
15487,
17430,
3297,
16,
4693,
653,
1769,
315,
945,
8863,
202,
202,
1128,
4990,
5621,
202,
202,
8705,
2279,
1803,
4229,
5621,
202,
202,
8705,
2279,
1803,
5058,
5621,
202,
202,
8705,
8514,
12,
1803,
1290,
6397,
18,
945,
67,
4768,
18,
10492,
10663,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1289,
691,
1662,
12,
2918,
18,
15487,
17430,
3297,
16,
4693,
653,
1769,
918,
1289,
691,
1662,
12,
2918,
18,
15487,
17430,
3297,
16,
4693,
653,
1769,
1842,
4270,
1290,
2563,
1305,
1435,
1289,
691,
1662,
12,
2918,
18,
15487,
17430,
3297,
16,
4693,
653,
1769,
288,
202,
202,
2293,
18,
542,
1499,
12,
2918,
18,
15487,
17430,
3297,
16,
1289,
691,
1662,
12,
2918,
18,
15487,
17430,
3297,
16,
4693,
653,
1769,
4693,
653,
1769,
202,
202,
542,
691,
743,
966,
2932,
19,
14597,
4099,
1128,
18,
2896,
8863,
202,
202,
1289,
691,
1662,
2932,
2039,
3113,
1289,
691,
1662,
12,
2918,
18,
15487,
17430,
3297,
16,
4693,
653,
1769,
315,
5662,
8863,
202,
202,
2
] |
|
public final boolean invoke(Environment env, InvokeContext context) throws Exception { // Perform any common invoke functionality super.invoke(env, context); Map objectModel = env.getObjectModel(); Parameters resolvedParams = VariableResolver.buildParameters( this.parameters, context, objectModel ); Map result = null; if (this.threadSafeMatcher != null) { // Avoid select() and try/catch block (faster !) result = this.threadSafeMatcher.preparedMatch(preparedPattern, objectModel, resolvedParams); } else { // Get matcher from selector PreparableMatcher matcher = (PreparableMatcher)this.selector.select(this.componentName); try { result = matcher.preparedMatch(preparedPattern, objectModel, resolvedParams); } finally { this.selector.release(matcher); } } if (result != null) { if (getLogger().isDebugEnabled()) { getLogger().debug("Matcher '" + this.componentName + "' matched prepared pattern '" + this.pattern + "' at " + this.getLocation()); } // Invoke children with the matcher results return this.invokeNodes(children, env, context, name, result); } else { // Matcher failed return false; } }
|
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/c787c9db6ca1bdd57cf2923006f3cf1b375910d1/PreparableMatchNode.java/clean/src/java/org/apache/cocoon/components/treeprocessor/sitemap/PreparableMatchNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
1250,
4356,
12,
5494,
1550,
16,
14373,
1042,
819,
13,
565,
1216,
1185,
288,
2398,
202,
759,
11217,
1281,
2975,
4356,
14176,
3639,
202,
9565,
18,
14407,
12,
3074,
16,
819,
1769,
3639,
1635,
733,
1488,
273,
1550,
18,
588,
921,
1488,
5621,
3639,
7012,
4640,
1370,
273,
7110,
4301,
18,
3510,
2402,
12,
5411,
333,
18,
3977,
16,
819,
16,
733,
1488,
3639,
11272,
3639,
1635,
563,
273,
446,
31,
3639,
309,
261,
2211,
18,
5930,
9890,
6286,
480,
446,
13,
288,
5411,
368,
17843,
2027,
1435,
471,
775,
19,
14683,
1203,
261,
8076,
264,
401,
13,
5411,
563,
273,
333,
18,
5930,
9890,
6286,
18,
9366,
72,
2060,
12,
9366,
72,
3234,
16,
733,
1488,
16,
4640,
1370,
1769,
3639,
289,
469,
288,
5411,
368,
968,
4546,
628,
3451,
5411,
2962,
10207,
6286,
4546,
273,
261,
1386,
10207,
6286,
13,
2211,
18,
9663,
18,
4025,
12,
2211,
18,
4652,
461,
1769,
5411,
775,
288,
7734,
563,
273,
4546,
18,
9366,
72,
2060,
12,
9366,
72,
3234,
16,
733,
1488,
16,
4640,
1370,
1769,
5411,
289,
3095,
288,
7734,
333,
18,
9663,
18,
9340,
12,
22761,
1769,
5411,
289,
3639,
289,
3639,
309,
261,
2088,
480,
446,
13,
288,
5411,
309,
261,
588,
3328,
7675,
291,
2829,
1526,
10756,
288,
7734,
7156,
7675,
4148,
2932,
6286,
2119,
397,
333,
18,
4652,
461,
397,
2491,
4847,
8208,
1936,
2119,
397,
10792,
333,
18,
4951,
397,
2491,
622,
315,
397,
333,
18,
588,
2735,
10663,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
1250,
4356,
12,
5494,
1550,
16,
14373,
1042,
819,
13,
565,
1216,
1185,
288,
2398,
202,
759,
11217,
1281,
2975,
4356,
14176,
3639,
202,
9565,
18,
14407,
12,
3074,
16,
819,
1769,
3639,
1635,
733,
1488,
273,
1550,
18,
588,
921,
1488,
5621,
3639,
7012,
4640,
1370,
273,
7110,
4301,
18,
3510,
2402,
12,
5411,
333,
18,
3977,
16,
819,
16,
733,
1488,
3639,
11272,
3639,
1635,
563,
273,
446,
31,
3639,
309,
261,
2211,
18,
5930,
9890,
6286,
480,
446,
13,
288,
5411,
368,
17843,
2027,
1435,
471,
775,
19,
14683,
1203,
261,
8076,
264,
401,
13,
5411,
563,
273,
333,
18,
5930,
9890,
6286,
18,
9366,
72,
2060,
12,
9366,
72,
3234,
16,
733,
2
] |
||
final String[] targets = mapper.mapFileName( files[ i ] );
|
final String[] targets = mapper.mapFileName( files[ i ], context );
|
public String[] restrict( String[] files, File srcDir, File destDir, FileNameMapper mapper ) throws TaskException { long now = ( new Date() ).getTime(); StringBuffer targetList = new StringBuffer(); /* * If we're on Windows, we have to munge the time up to 2 secs to * be able to check file modification times. * (Windows has a max resolution of two secs for modification times) * Actually this is a feature of the FAT file system, NTFS does * not have it, so if we could reliably passively test for an NTFS * file systems we could turn this off... */ if( Os.isFamily( Os.OS_FAMILY_WINDOWS ) ) { now += 2000; } final ArrayList v = new ArrayList(); for( int i = 0; i < files.length; i++ ) { final String[] targets = mapper.mapFileName( files[ i ] ); if( targets == null || targets.length == 0 ) { final String message = files[ i ] + " skipped - don\'t know how to handle it"; getLogger().debug( message ); continue; } final File src = FileUtil.resolveFile( srcDir, files[ i ] ); if( src.lastModified() > now ) { final String message = "Warning: " + files[ i ] + " modified in the future."; getLogger().warn( message ); } boolean added = false; targetList.setLength( 0 ); for( int j = 0; !added && j < targets.length; j++ ) { File dest = FileUtil.resolveFile( destDir, targets[ j ] ); if( !dest.exists() ) { final String message = files[ i ] + " added as " + dest.getAbsolutePath() + " doesn\'t exist."; getLogger().debug( message ); v.add( files[ i ] ); added = true; } else if( src.lastModified() > dest.lastModified() ) { final String message = files[ i ] + " added as " + dest.getAbsolutePath() + " is outdated."; getLogger().debug( message ); v.add( files[ i ] ); added = true; } else { if( targetList.length() > 0 ) { targetList.append( ", " ); } targetList.append( dest.getAbsolutePath() ); } } if( !added ) { final String message = files[ i ] + " omitted as " + targetList.toString() + ( targets.length == 1 ? " is" : " are " ) + " up to date."; getLogger().debug( message ); } } final String[] result = new String[ v.size() ]; return (String[])v.toArray( result ); }
|
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/2afc643a3ea676cc68f2f010ea3a7560b7a0a3af/SourceFileScanner.java/buggy/proposal/myrmidon/src/todo/org/apache/tools/ant/types/SourceFileScanner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
13108,
12,
514,
8526,
1390,
16,
1387,
30585,
16,
1387,
26231,
16,
17311,
25075,
4597,
5815,
262,
3639,
1216,
3837,
503,
565,
288,
3639,
1525,
2037,
273,
261,
394,
2167,
1435,
262,
18,
588,
950,
5621,
3639,
6674,
1018,
682,
273,
394,
6674,
5621,
3639,
1748,
540,
380,
971,
732,
4565,
603,
8202,
16,
732,
1240,
358,
312,
25561,
326,
813,
731,
358,
576,
18043,
358,
540,
380,
506,
7752,
358,
866,
585,
11544,
4124,
18,
540,
380,
261,
10399,
711,
279,
943,
7861,
434,
2795,
18043,
364,
11544,
4124,
13,
540,
380,
4603,
3452,
333,
353,
279,
2572,
434,
326,
478,
789,
585,
2619,
16,
20064,
4931,
1552,
540,
380,
486,
1240,
518,
16,
1427,
309,
732,
3377,
14719,
6906,
1342,
4492,
1842,
364,
392,
20064,
4931,
540,
380,
585,
14908,
732,
3377,
7005,
333,
3397,
2777,
540,
1195,
3639,
309,
12,
31799,
18,
291,
9203,
12,
31799,
18,
4618,
67,
25002,
25554,
67,
31874,
262,
262,
3639,
288,
5411,
2037,
1011,
16291,
31,
3639,
289,
3639,
727,
2407,
331,
273,
394,
2407,
5621,
3639,
364,
12,
509,
277,
273,
374,
31,
277,
411,
1390,
18,
2469,
31,
277,
9904,
262,
3639,
288,
5411,
727,
514,
8526,
5774,
273,
5815,
18,
1458,
4771,
12,
1390,
63,
277,
308,
16,
819,
11272,
5411,
309,
12,
5774,
422,
446,
747,
5774,
18,
2469,
422,
374,
262,
5411,
288,
7734,
727,
514,
883,
273,
1390,
63,
277,
308,
397,
315,
9700,
300,
2727,
3730,
88,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
13108,
12,
514,
8526,
1390,
16,
1387,
30585,
16,
1387,
26231,
16,
17311,
25075,
4597,
5815,
262,
3639,
1216,
3837,
503,
565,
288,
3639,
1525,
2037,
273,
261,
394,
2167,
1435,
262,
18,
588,
950,
5621,
3639,
6674,
1018,
682,
273,
394,
6674,
5621,
3639,
1748,
540,
380,
971,
732,
4565,
603,
8202,
16,
732,
1240,
358,
312,
25561,
326,
813,
731,
358,
576,
18043,
358,
540,
380,
506,
7752,
358,
866,
585,
11544,
4124,
18,
540,
380,
261,
10399,
711,
279,
943,
7861,
434,
2795,
18043,
364,
11544,
4124,
13,
540,
380,
4603,
3452,
333,
353,
279,
2572,
434,
326,
478,
789,
585,
2619,
16,
20064,
4931,
1552,
540,
380,
486,
1240,
518,
16,
2
] |
return;
|
continue;
|
private void reportEntries(ISVNReporter reporter, SVNDirectory directory, String dirPath, boolean reportAll, boolean recursive) throws SVNException { SVNEntries entries = directory.getEntries(); long baseRevision = entries.getEntry("", true).getRevision(); SVNExternalInfo[] externals = myWCAccess.addExternals(directory, directory.getProperties("", false).getPropertyValue( SVNProperty.EXTERNALS)); for (int i = 0; externals != null && i < externals.length; i++) { externals[i].setOldExternal(externals[i].getNewURL(), externals[i] .getNewRevision()); } for (Iterator e = entries.entries(true); e.hasNext();) { SVNEntry entry = (SVNEntry) e.next(); if ("".equals(entry.getName())) { continue; } String path = "".equals(dirPath) ? entry.getName() : SVNPathUtil .append(dirPath, entry.getName()); if (entry.isDeleted() || entry.isAbsent()) { if (!reportAll) { reporter.deletePath(path); } continue; } if (entry.isScheduledForAddition()) { continue; } File file = directory.getFile(entry.getName()); boolean missing = !file.exists(); if (entry.isFile()) { if (!reportAll) { // check svn:special files -> symlinks that could be // directory. boolean special = SVNFileUtil.isWindows && directory.getProperties(entry.getName(), false) .getPropertyValue(SVNProperty.SPECIAL) != null; if ((special && !file.exists()) || (!special && file.isDirectory())) { reporter.deletePath(path); continue; } } if (missing && !entry.isScheduledForDeletion() && !entry.isScheduledForReplacement()) { restoreFile(directory, entry.getName()); } String url = entry.getURL(); String parentURL = entries .getPropertyValue("", SVNProperty.URL); String expectedURL = SVNPathUtil.append(parentURL, SVNEncodingUtil.uriEncode(entry.getName())); if (reportAll) { if (!url.equals(expectedURL) && !entry.isScheduledForAddition() && !entry.isScheduledForReplacement()) { SVNURL svnURL = SVNURL.parseURIEncoded(url); reporter.linkPath(svnURL, path, entry.getLockToken(), entry.getRevision(), false); } else { reporter.setPath(path, entry.getLockToken(), entry .getRevision(), false); } } else if (!entry.isScheduledForReplacement() && !url.equals(expectedURL)) { // link path SVNURL svnURL = SVNURL.parseURIEncoded(url); reporter.linkPath(svnURL, path, entry.getLockToken(), entry.getRevision(), false); } else if (entry.getRevision() != baseRevision || entry.getLockToken() != null) { reporter.setPath(path, entry.getLockToken(), entry .getRevision(), false); } } else if (entry.isDirectory() && recursive) { if (missing || directory.getChildDirectory(entry.getName()) == null) { if (!reportAll) { reporter.deletePath(path); } return; } if (file.isFile()) { SVNErrorManager.error("svn: Cannot report information on directory '" + file + "': entry is obstructed with node of another type"); } SVNDirectory childDir = directory.getChildDirectory(entry .getName()); SVNEntry childEntry = childDir.getEntries().getEntry("", true); String url = childEntry.getURL(); if (reportAll) { if (!url.equals(entry.getURL())) { SVNURL svnURL = SVNURL.parseURIEncoded(url); reporter.linkPath(svnURL, path, childEntry.getLockToken(), childEntry .getRevision(), childEntry .isIncomplete()); } else { reporter.setPath(path, childEntry.getLockToken(), childEntry.getRevision(), childEntry .isIncomplete()); } } else if (!url.equals(entry.getURL())) { SVNURL svnURL = SVNURL.parseURIEncoded(url); reporter.linkPath(svnURL, path, childEntry.getLockToken(), childEntry .getRevision(), childEntry.isIncomplete()); } else if (childEntry.getLockToken() != null || childEntry.getRevision() != baseRevision) { reporter .setPath(path, childEntry.getLockToken(), childEntry.getRevision(), childEntry .isIncomplete()); } reportEntries(reporter, childDir, path, childEntry .isIncomplete(), recursive); } } }
|
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/240500631649a849b66207fb0078f656c08dcbf8/SVNReporter.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/wc/SVNReporter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2605,
5400,
12,
5127,
58,
50,
13289,
11528,
16,
29537,
50,
2853,
1867,
16,
5411,
514,
15891,
16,
1250,
2605,
1595,
16,
1250,
5904,
13,
5411,
1216,
29537,
50,
503,
288,
3639,
29537,
50,
5400,
3222,
273,
1867,
18,
588,
5400,
5621,
3639,
1525,
1026,
7939,
273,
3222,
18,
588,
1622,
2932,
3113,
638,
2934,
588,
7939,
5621,
3639,
29537,
50,
6841,
966,
8526,
18885,
1031,
273,
3399,
59,
39,
1862,
18,
1289,
29764,
1031,
12,
5149,
16,
7734,
1867,
18,
588,
2297,
2932,
3113,
629,
2934,
588,
16107,
12,
13491,
29537,
50,
1396,
18,
2294,
11702,
55,
10019,
3639,
364,
261,
474,
277,
273,
374,
31,
18885,
1031,
480,
446,
597,
277,
411,
18885,
1031,
18,
2469,
31,
277,
27245,
288,
5411,
18885,
1031,
63,
77,
8009,
542,
7617,
6841,
12,
338,
798,
1031,
63,
77,
8009,
588,
1908,
1785,
9334,
18885,
1031,
63,
77,
65,
10792,
263,
588,
1908,
7939,
10663,
3639,
289,
3639,
364,
261,
3198,
425,
273,
3222,
18,
8219,
12,
3767,
1769,
425,
18,
5332,
2134,
5621,
13,
288,
5411,
29537,
50,
1622,
1241,
273,
261,
23927,
50,
1622,
13,
425,
18,
4285,
5621,
5411,
309,
261,
3660,
18,
14963,
12,
4099,
18,
17994,
1435,
3719,
288,
7734,
1324,
31,
5411,
289,
5411,
514,
589,
273,
1408,
18,
14963,
12,
1214,
743,
13,
692,
1241,
18,
17994,
1435,
294,
29537,
50,
743,
1304,
10792,
263,
6923,
12,
1214,
743,
16,
1241,
18,
17994,
10663,
5411,
309,
261,
4099,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2605,
5400,
12,
5127,
58,
50,
13289,
11528,
16,
29537,
50,
2853,
1867,
16,
5411,
514,
15891,
16,
1250,
2605,
1595,
16,
1250,
5904,
13,
5411,
1216,
29537,
50,
503,
288,
3639,
29537,
50,
5400,
3222,
273,
1867,
18,
588,
5400,
5621,
3639,
1525,
1026,
7939,
273,
3222,
18,
588,
1622,
2932,
3113,
638,
2934,
588,
7939,
5621,
3639,
29537,
50,
6841,
966,
8526,
18885,
1031,
273,
3399,
59,
39,
1862,
18,
1289,
29764,
1031,
12,
5149,
16,
7734,
1867,
18,
588,
2297,
2932,
3113,
629,
2934,
588,
16107,
12,
13491,
29537,
50,
1396,
18,
2294,
11702,
55,
10019,
3639,
364,
261,
474,
277,
273,
374,
31,
18885,
1031,
480,
446,
597,
277,
411,
18885,
1031,
2
] |
if (!hooks (type) && !filters (type)) return true;
|
boolean sendMouseEvent (int type, short button, int count, int detail, boolean send, int theEvent) { if (!hooks (type) && !filters (type)) return true; int x, y; if (OS.HIVIEW) { CGPoint pt = new CGPoint (); OS.GetEventParameter (theEvent, OS.kEventParamWindowMouseLocation, OS.typeHIPoint, null, CGPoint.sizeof, null, pt); OS.HIViewConvertPoint (pt, 0, handle); x = (int) pt.x; y = (int) pt.y; } else { int sizeof = org.eclipse.swt.internal.carbon.Point.sizeof; org.eclipse.swt.internal.carbon.Point pt = new org.eclipse.swt.internal.carbon.Point (); OS.GetEventParameter (theEvent, OS.kEventParamMouseLocation, OS.typeQDPoint, null, sizeof, null, pt); Rect rect = new Rect (); int window = OS.GetControlOwner (handle); OS.GetWindowBounds (window, (short) OS.kWindowContentRgn, rect); x = pt.h - rect.left; y = pt.v - rect.top; OS.GetControlBounds (handle, rect); x -= rect.left; y -= rect.top; } int [] chord = new int [1]; OS.GetEventParameter (theEvent, OS.kEventParamMouseChord, OS.typeUInt32, null, 4, null, chord); int [] modifiers = new int [1]; OS.GetEventParameter (theEvent, OS.kEventParamKeyModifiers, OS.typeUInt32, null, 4, null, modifiers); return sendMouseEvent (type, button, count, detail, send, chord [0], (short) x, (short) y, modifiers [0]);}
|
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/981f2e38ad5b71e9d71d5276dfd16a4ea80c1666/Control.java/buggy/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1250,
1366,
9186,
1133,
261,
474,
618,
16,
3025,
3568,
16,
509,
1056,
16,
509,
7664,
16,
1250,
1366,
16,
509,
326,
1133,
13,
288,
202,
430,
16051,
10468,
261,
723,
13,
597,
401,
6348,
261,
723,
3719,
327,
638,
31,
202,
474,
619,
16,
677,
31,
202,
430,
261,
4618,
18,
29994,
12145,
13,
288,
202,
202,
20585,
2148,
5818,
273,
394,
29679,
2148,
261,
1769,
202,
202,
4618,
18,
967,
1133,
1662,
261,
5787,
1133,
16,
5932,
18,
79,
1133,
786,
3829,
9186,
2735,
16,
5932,
18,
723,
29994,
2148,
16,
446,
16,
29679,
2148,
18,
1467,
792,
16,
446,
16,
5818,
1769,
202,
202,
4618,
18,
29994,
1767,
2723,
2148,
261,
337,
16,
374,
16,
1640,
1769,
202,
202,
92,
273,
261,
474,
13,
5818,
18,
92,
31,
202,
202,
93,
273,
261,
474,
13,
5818,
18,
93,
31,
202,
97,
469,
288,
202,
202,
474,
13726,
273,
2358,
18,
20416,
18,
5328,
88,
18,
7236,
18,
71,
11801,
18,
2148,
18,
1467,
792,
31,
202,
202,
3341,
18,
20416,
18,
5328,
88,
18,
7236,
18,
71,
11801,
18,
2148,
5818,
273,
394,
2358,
18,
20416,
18,
5328,
88,
18,
7236,
18,
71,
11801,
18,
2148,
261,
1769,
202,
202,
4618,
18,
967,
1133,
1662,
261,
5787,
1133,
16,
5932,
18,
79,
1133,
786,
9186,
2735,
16,
5932,
18,
723,
53,
40,
2148,
16,
446,
16,
13726,
16,
446,
16,
5818,
1769,
202,
202,
6120,
4917,
273,
394,
9315,
261,
1769,
202,
202,
474,
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,
1250,
1366,
9186,
1133,
261,
474,
618,
16,
3025,
3568,
16,
509,
1056,
16,
509,
7664,
16,
1250,
1366,
16,
509,
326,
1133,
13,
288,
202,
430,
16051,
10468,
261,
723,
13,
597,
401,
6348,
261,
723,
3719,
327,
638,
31,
202,
474,
619,
16,
677,
31,
202,
430,
261,
4618,
18,
29994,
12145,
13,
288,
202,
202,
20585,
2148,
5818,
273,
394,
29679,
2148,
261,
1769,
202,
202,
4618,
18,
967,
1133,
1662,
261,
5787,
1133,
16,
5932,
18,
79,
1133,
786,
3829,
9186,
2735,
16,
5932,
18,
723,
29994,
2148,
16,
446,
16,
29679,
2148,
18,
1467,
792,
16,
446,
16,
5818,
1769,
202,
202,
4618,
18,
29994,
1767,
2723,
2148,
261,
337,
16,
374,
16,
1640,
2
] |
|
FproxyToadlet fproxy = new FproxyToadlet(n.makeClient(RequestStarter.INTERACTIVE_PRIORITY_CLASS, (short)0));
|
FproxyToadlet fproxy = new FproxyToadlet(n.makeClient(RequestStarter.INTERACTIVE_PRIORITY_CLASS));
|
public static void main(String[] args) throws IOException { int length = args.length; if (length < 1 || length > 3) { System.out.println("Usage: $ java freenet.node.Node <portNumber> [ipOverride] [max data packets / second]"); return; } int port = Integer.parseInt(args[0]); System.out.println("Port number: "+port); File logDir = new File("logs-"+port); logDir.mkdir(); FileLoggerHook logger = new FileLoggerHook(true, new File(logDir, "freenet-"+port).getAbsolutePath(), "d (c, t, p): m", "MMM dd, yyyy HH:mm:ss:SSS", Logger.MINOR, false, true, 1024*1024*1024 /* 1GB of old compressed logfiles */); logger.setInterval("5MINUTES"); Logger.setupChain(); Logger.globalSetThreshold(Logger.MINOR); Logger.globalAddHook(logger); logger.start(); Logger.normal(Node.class, "Creating node..."); Yarrow yarrow = new Yarrow(); InetAddress overrideIP = null; int packetsPerSecond = 15; if(args.length > 1) { overrideIP = InetAddress.getByName(args[1]); System.err.println("Overriding IP detection: "+overrideIP.getHostAddress()); if(args.length > 2) { packetsPerSecond = Integer.parseInt(args[2]); } } DiffieHellman.init(yarrow); Node n = new Node(port, yarrow, overrideIP, "", 1000 / packetsPerSecond, true, logger, 16384); n.start(new StaticSwapRequestInterval(2000)); new TextModeClientInterface(n); Thread t = new Thread(new MemoryChecker(), "Memory checker"); t.setPriority(Thread.MAX_PRIORITY); t.start(); SimpleToadletServer server = new SimpleToadletServer(port+2000); FproxyToadlet fproxy = new FproxyToadlet(n.makeClient(RequestStarter.INTERACTIVE_PRIORITY_CLASS, (short)0)); server.register(fproxy, "/", false); System.out.println("Starting fproxy on port "+(port+2000)); new FCPServer(port+3000, n); System.out.println("Starting FCP server on port "+(port+3000)); //server.register(fproxy, "/SSK@", false); //server.register(fproxy, "/KSK@", false); }
|
50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/d32229c02576d531c915059f111c468591f30e84/Node.java/clean/src/freenet/node/Node.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1860,
288,
377,
202,
474,
769,
273,
833,
18,
2469,
31,
377,
202,
430,
261,
2469,
411,
404,
747,
769,
405,
890,
13,
288,
377,
202,
202,
3163,
18,
659,
18,
8222,
2932,
5357,
30,
271,
2252,
284,
2842,
278,
18,
2159,
18,
907,
411,
655,
1854,
34,
306,
625,
6618,
65,
306,
1896,
501,
12640,
342,
2205,
4279,
1769,
377,
202,
202,
2463,
31,
377,
202,
97,
377,
202,
3639,
509,
1756,
273,
2144,
18,
2670,
1702,
12,
1968,
63,
20,
19226,
3639,
2332,
18,
659,
18,
8222,
2932,
2617,
1300,
30,
13773,
655,
1769,
3639,
1387,
31101,
273,
394,
1387,
2932,
10011,
10951,
15,
655,
1769,
3639,
31101,
18,
26686,
5621,
3639,
1387,
3328,
5394,
1194,
273,
394,
1387,
3328,
5394,
12,
3767,
16,
394,
1387,
12,
1330,
1621,
16,
315,
74,
2842,
278,
10951,
15,
655,
2934,
588,
10368,
743,
9334,
1850,
202,
202,
6,
72,
261,
71,
16,
268,
16,
293,
4672,
312,
3113,
315,
8206,
49,
6957,
16,
24025,
20842,
30,
7020,
30,
1049,
30,
1260,
55,
3113,
4242,
18,
6236,
916,
16,
629,
16,
638,
16,
1850,
202,
202,
2163,
3247,
14,
2163,
3247,
14,
2163,
3247,
1748,
404,
5887,
434,
1592,
8968,
613,
2354,
1195,
1769,
3639,
1194,
18,
542,
4006,
2932,
25,
6236,
24080,
8863,
3639,
4242,
18,
8401,
3893,
5621,
3639,
4242,
18,
6347,
694,
7614,
12,
3328,
18,
6236,
916,
1769,
3639,
4242,
18,
6347,
986,
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,
1216,
1860,
288,
377,
202,
474,
769,
273,
833,
18,
2469,
31,
377,
202,
430,
261,
2469,
411,
404,
747,
769,
405,
890,
13,
288,
377,
202,
202,
3163,
18,
659,
18,
8222,
2932,
5357,
30,
271,
2252,
284,
2842,
278,
18,
2159,
18,
907,
411,
655,
1854,
34,
306,
625,
6618,
65,
306,
1896,
501,
12640,
342,
2205,
4279,
1769,
377,
202,
202,
2463,
31,
377,
202,
97,
377,
202,
3639,
509,
1756,
273,
2144,
18,
2670,
1702,
12,
1968,
63,
20,
19226,
3639,
2332,
18,
659,
18,
8222,
2932,
2617,
1300,
30,
13773,
655,
1769,
3639,
1387,
31101,
273,
394,
1387,
2932,
10011,
10951,
15,
655,
1769,
2
] |
} catch (CryptoFailureException e) {
|
} catch (CryptoFailureException e) {
|
public Object getResultData() { try { return strat.encrypt(getTestData().toString().getBytes(), null); } catch (CryptoFailureException e) { fail(e.getMessage()); return null; } }
|
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/17ce371ab8777ac7c204a7e6101775dd0c58e357/EncryptionTransformerTestCase.java/buggy/src/test/java/org/mule/test/transformers/encryption/EncryptionTransformerTestCase.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
8601,
751,
1435,
565,
288,
3639,
775,
288,
5411,
327,
609,
270,
18,
15890,
12,
588,
4709,
751,
7675,
10492,
7675,
588,
2160,
9334,
446,
1769,
3639,
289,
1044,
261,
18048,
14389,
425,
13,
288,
5411,
2321,
12,
73,
18,
24906,
10663,
5411,
327,
446,
31,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
8601,
751,
1435,
565,
288,
3639,
775,
288,
5411,
327,
609,
270,
18,
15890,
12,
588,
4709,
751,
7675,
10492,
7675,
588,
2160,
9334,
446,
1769,
3639,
289,
1044,
261,
18048,
14389,
425,
13,
288,
5411,
2321,
12,
73,
18,
24906,
10663,
5411,
327,
446,
31,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
GridData gd = new GridData(); gd.horizontalAlignment = GridData.FILL; gd.grabExcessHorizontalSpace = true;
|
GridData gd = new GridData(GridData.GRAB_HORIZONTAL | GridData.FILL_HORIZONTAL);
|
private void createPreviewControl(Composite parent) { Label label = new Label(parent, SWT.LEFT); label.setText(WorkbenchMessages.getString("FontsPreference.preview")); //$NON-NLS-1$ applyDialogFont(label); previewer = new DefaultPreviewer(parent); Control control = previewer.getControl(); GridData gd = new GridData(); gd.horizontalAlignment = GridData.FILL; gd.grabExcessHorizontalSpace = true; gd.heightHint = previewer.getPreferredHeight(); control.setLayoutData(gd); }
|
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/c3215d23c99197165e72b0ab6b8bb81fa0fbba83/FontPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/FontPreferencePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
11124,
3367,
12,
9400,
982,
13,
288,
202,
202,
2224,
1433,
273,
394,
5287,
12,
2938,
16,
348,
8588,
18,
10066,
1769,
202,
202,
1925,
18,
542,
1528,
12,
2421,
22144,
5058,
18,
588,
780,
2932,
5711,
87,
9624,
18,
12102,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
9010,
6353,
5711,
12,
1925,
1769,
202,
202,
12102,
264,
273,
394,
2989,
11124,
264,
12,
2938,
1769,
202,
202,
3367,
3325,
273,
10143,
264,
18,
588,
3367,
5621,
202,
202,
6313,
751,
15551,
273,
394,
7145,
751,
5621,
202,
202,
19016,
18,
18396,
11535,
273,
7145,
751,
18,
29818,
31,
202,
202,
19016,
18,
2752,
70,
424,
614,
14457,
3819,
273,
638,
31,
202,
202,
19016,
18,
4210,
7002,
273,
10143,
264,
18,
588,
16028,
2686,
5621,
202,
202,
7098,
18,
542,
3744,
751,
12,
19016,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
11124,
3367,
12,
9400,
982,
13,
288,
202,
202,
2224,
1433,
273,
394,
5287,
12,
2938,
16,
348,
8588,
18,
10066,
1769,
202,
202,
1925,
18,
542,
1528,
12,
2421,
22144,
5058,
18,
588,
780,
2932,
5711,
87,
9624,
18,
12102,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
9010,
6353,
5711,
12,
1925,
1769,
202,
202,
12102,
264,
273,
394,
2989,
11124,
264,
12,
2938,
1769,
202,
202,
3367,
3325,
273,
10143,
264,
18,
588,
3367,
5621,
202,
202,
6313,
751,
15551,
273,
394,
7145,
751,
5621,
202,
202,
19016,
18,
18396,
11535,
273,
7145,
751,
18,
29818,
31,
202,
202,
19016,
18,
2752,
70,
424,
614,
14457,
3819,
273,
2
] |
for (int i=0; i<numberOfPolys; i++) {
|
for (int i = 0; i < numberOfPolys; i++) {
|
public void write(int tagID, EMFOutputStream emf) throws IOException { emf.writeRECTL(bounds); emf.writeDWORD(numberOfPolys); int c = 0; for (int i=0; i<numberOfPolys; i++) { c += numberOfPoints[i]; } emf.writeDWORD(c); for (int i=0; i<numberOfPolys; i++) { emf.writeDWORD(numberOfPoints[i]); } for (int i=0; i<numberOfPolys; i++) { emf.writePOINTS(numberOfPoints[i], points[i]); } }
|
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/de061d5977b00047b242b52aea5bc47538b063c5/PolyPolygon16.java/clean/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/PolyPolygon16.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
12,
474,
1047,
734,
16,
7141,
42,
4632,
801,
74,
13,
1216,
1860,
288,
3639,
801,
74,
18,
2626,
4512,
48,
12,
10576,
1769,
3639,
801,
74,
18,
2626,
40,
7952,
12,
2696,
951,
5850,
1900,
1769,
3639,
509,
276,
273,
374,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7922,
5850,
1900,
31,
277,
27245,
288,
5411,
276,
1011,
7922,
5636,
63,
77,
15533,
3639,
289,
3639,
801,
74,
18,
2626,
40,
7952,
12,
71,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7922,
5850,
1900,
31,
277,
27245,
288,
5411,
801,
74,
18,
2626,
40,
7952,
12,
2696,
951,
5636,
63,
77,
19226,
3639,
289,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7922,
5850,
1900,
31,
277,
27245,
288,
5411,
801,
74,
18,
2626,
8941,
55,
12,
2696,
951,
5636,
63,
77,
6487,
3143,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1045,
12,
474,
1047,
734,
16,
7141,
42,
4632,
801,
74,
13,
1216,
1860,
288,
3639,
801,
74,
18,
2626,
4512,
48,
12,
10576,
1769,
3639,
801,
74,
18,
2626,
40,
7952,
12,
2696,
951,
5850,
1900,
1769,
3639,
509,
276,
273,
374,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7922,
5850,
1900,
31,
277,
27245,
288,
5411,
276,
1011,
7922,
5636,
63,
77,
15533,
3639,
289,
3639,
801,
74,
18,
2626,
40,
7952,
12,
71,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7922,
5850,
1900,
31,
277,
27245,
288,
5411,
801,
74,
18,
2626,
40,
7952,
12,
2696,
951,
5636,
63,
77,
19226,
3639,
289,
3639,
364,
2
] |
return scriptedEventHandler .fetch( new DataSetInstance( dataSet ), new DataSetRow( row ) );
|
return scriptedEventHandler.fetch( new DataSetInstance( dataSet ), new DataSetRow( row ) );
|
public boolean handleFetch( IDataSetInstanceHandle dataSet, IDataRow row ) { try { JSScriptStatus status = handleJS( dataSet.getScriptScope( ), dataSet.getName( ), FETCH, ( ( ScriptDataSetHandle ) dataSetHandle ).getFetch( ) ); if ( status.didRun( ) ) { Object result = status.result( ); if ( result instanceof Boolean ) return ( ( Boolean ) result ).booleanValue( ); else throw new DataException( ResourceConstants.EXPECT_BOOLEAN_RETURN_TYPE, "Fetch" ); } if ( scriptedEventHandler != null ) return scriptedEventHandler .fetch( new DataSetInstance( dataSet ), new DataSetRow( row ) ); } catch ( Exception e ) { log.log( Level.WARNING, e.getMessage( ), e ); } return false; }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/c0422a1db84842d1e332663c3d4c7e2a8109aca8/ScriptDataSetScriptExecutor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/ScriptDataSetScriptExecutor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1640,
5005,
12,
467,
13676,
1442,
3259,
14837,
16,
467,
751,
1999,
1027,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
46,
1260,
9118,
1482,
1267,
273,
1640,
6479,
12,
14837,
18,
588,
3651,
3876,
12,
262,
16,
6862,
202,
892,
694,
18,
17994,
12,
262,
16,
10994,
16,
6862,
202,
12,
261,
7739,
13676,
3259,
262,
14837,
3259,
262,
18,
588,
5005,
12,
262,
11272,
1082,
202,
430,
261,
1267,
18,
14044,
1997,
12,
262,
262,
1082,
202,
95,
9506,
202,
921,
563,
273,
1267,
18,
2088,
12,
11272,
9506,
202,
430,
261,
563,
1276,
3411,
262,
6862,
202,
2463,
261,
261,
3411,
262,
563,
262,
18,
6494,
620,
12,
11272,
9506,
202,
12107,
6862,
202,
12849,
394,
1910,
503,
12,
6862,
1082,
202,
1420,
2918,
18,
2294,
1423,
1268,
67,
17900,
67,
14033,
67,
2399,
16,
315,
5005,
6,
11272,
1082,
202,
97,
1082,
202,
430,
261,
2728,
329,
16402,
480,
446,
262,
9506,
202,
2463,
2728,
329,
16402,
25083,
202,
18,
5754,
12,
394,
14065,
1442,
12,
14837,
262,
16,
394,
14065,
1999,
12,
1027,
262,
11272,
202,
202,
97,
1044,
261,
1185,
425,
262,
202,
202,
95,
1082,
202,
1330,
18,
1330,
12,
4557,
18,
9511,
16,
425,
18,
24906,
12,
262,
16,
425,
11272,
202,
202,
97,
202,
202,
2463,
629,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1640,
5005,
12,
467,
13676,
1442,
3259,
14837,
16,
467,
751,
1999,
1027,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
46,
1260,
9118,
1482,
1267,
273,
1640,
6479,
12,
14837,
18,
588,
3651,
3876,
12,
262,
16,
6862,
202,
892,
694,
18,
17994,
12,
262,
16,
10994,
16,
6862,
202,
12,
261,
7739,
13676,
3259,
262,
14837,
3259,
262,
18,
588,
5005,
12,
262,
11272,
1082,
202,
430,
261,
1267,
18,
14044,
1997,
12,
262,
262,
1082,
202,
95,
9506,
202,
921,
563,
273,
1267,
18,
2088,
12,
11272,
9506,
202,
430,
261,
563,
1276,
3411,
262,
6862,
202,
2463,
261,
261,
3411,
262,
563,
262,
18,
6494,
620,
12,
11272,
2
] |
final double[] lightColor = light.getColor();
|
final double[] lightColor = light.getColor(linear);
|
public WritableRaster copyData(WritableRaster wr){ final double[] lightColor = light.getColor(); final int w = wr.getWidth(); final int h = wr.getHeight(); final int minX = wr.getMinX(); final int minY = wr.getMinY(); final DataBufferInt db = (DataBufferInt)wr.getDataBuffer(); final int[] pixels = db.getBankData()[0]; final SinglePixelPackedSampleModel sppsm; sppsm = (SinglePixelPackedSampleModel)wr.getSampleModel(); final int offset = (db.getOffset() + sppsm.getOffset(minX-wr.getSampleModelTranslateX(), minY-wr.getSampleModelTranslateY())); final int scanStride = sppsm.getScanlineStride(); final int adjust = scanStride - w; int p = offset; int r=0, g=0, b=0; int i=0, j=0; // System.out.println("Getting diffuse red : " + minX + "/" + minY + "/" + w + "/" + h); double x = scaleX*minX; double y = scaleY*minY; double NL = 0; // final double[] L = new double[3]; final double[][][] NA = bumpMap.getNormalArray(minX, minY, w, h); if(!light.isConstant()){ final double[][] LA = new double[w][3]; for(i=0; i<h; i++){ final double [][] NR = NA[i]; light.getLightRow(x, y+i*scaleY, scaleX, w, NR, LA); for(j=0; j<w; j++){ // Get Normal final double [] N = NR[j]; // Get Light Vector final double [] L = LA[j]; NL = 255.*kd*(N[0]*L[0] + N[1]*L[1] + N[2]*L[2]); r = (int)(NL*lightColor[0]); g = (int)(NL*lightColor[1]); b = (int)(NL*lightColor[2]); // If any high bits are set we are not in range. // If the highest bit is set then we are negative so // clamp to zero else we are > 255 so clamp to 255. if ((r & 0xFFFFFF00) != 0) r = ((r & 0x80000000) != 0)?0:255; if ((g & 0xFFFFFF00) != 0) g = ((g & 0x80000000) != 0)?0:255; if ((b & 0xFFFFFF00) != 0) b = ((b & 0x80000000) != 0)?0:255; pixels[p++] = (0xff000000 | r << 16 | g << 8 | b); } p += adjust; } } else{ // System.out.println(">>>>>>>> Processing constant light ..."); // Constant light final double[] L = new double[3]; light.getLight(0, 0, 0, L); for(i=0; i<h; i++){ final double [][] NR = NA[i]; for(j=0; j<w; j++){ // Get Normal final double[] N = NR[j]; NL = 255.*kd*(N[0]*L[0] + N[1]*L[1] + N[2]*L[2]); r = (int)(NL*lightColor[0]); g = (int)(NL*lightColor[1]); b = (int)(NL*lightColor[2]); // If any high bits are set we are not in range. // If the highest bit is set then we are negative so // clamp to zero else we are > 255 so clamp to 255. if ((r & 0xFFFFFF00) != 0) r = ((r & 0x80000000) != 0)?0:255; if ((g & 0xFFFFFF00) != 0) g = ((g & 0x80000000) != 0)?0:255; if ((b & 0xFFFFFF00) != 0) b = ((b & 0x80000000) != 0)?0:255; pixels[p++] = (0xff000000 | r << 16 | g << 8 | b); } p += adjust; } } return wr; }
|
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/5344fee0e75e857c928622d2ea0816b1373e9f61/DiffuseLightingRed.java/buggy/sources/org/apache/batik/ext/awt/image/rendered/DiffuseLightingRed.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
14505,
18637,
1610,
751,
12,
12061,
18637,
12408,
15329,
3639,
727,
1645,
8526,
9052,
2957,
273,
9052,
18,
588,
2957,
12,
12379,
1769,
7734,
727,
509,
341,
273,
12408,
18,
588,
2384,
5621,
3639,
727,
509,
366,
273,
12408,
18,
588,
2686,
5621,
3639,
727,
509,
21586,
273,
12408,
18,
588,
2930,
60,
5621,
3639,
727,
509,
21355,
273,
12408,
18,
588,
2930,
61,
5621,
3639,
727,
1910,
1892,
1702,
1319,
273,
261,
751,
1892,
1702,
13,
91,
86,
18,
588,
751,
1892,
5621,
3639,
727,
509,
8526,
8948,
273,
1319,
18,
588,
16040,
751,
1435,
63,
20,
15533,
3639,
727,
10326,
9037,
4420,
329,
8504,
1488,
1694,
1121,
81,
31,
3639,
1694,
1121,
81,
273,
261,
5281,
9037,
4420,
329,
8504,
1488,
13,
91,
86,
18,
588,
8504,
1488,
5621,
7734,
727,
509,
1384,
273,
2398,
261,
1966,
18,
588,
2335,
1435,
397,
2398,
1694,
1121,
81,
18,
588,
2335,
12,
1154,
60,
17,
91,
86,
18,
588,
8504,
1488,
12818,
60,
9334,
17311,
21355,
17,
91,
86,
18,
588,
8504,
1488,
12818,
61,
1435,
10019,
3639,
727,
509,
4135,
1585,
831,
273,
1694,
1121,
81,
18,
588,
7972,
1369,
1585,
831,
5621,
3639,
727,
509,
5765,
273,
4135,
1585,
831,
300,
341,
31,
3639,
509,
293,
273,
1384,
31,
3639,
509,
436,
33,
20,
16,
314,
33,
20,
16,
324,
33,
20,
31,
3639,
509,
277,
33,
20,
16,
525,
33,
20,
31,
3639,
368,
2332,
18,
659,
18,
8222,
2932,
19213,
3122,
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,
14505,
18637,
1610,
751,
12,
12061,
18637,
12408,
15329,
3639,
727,
1645,
8526,
9052,
2957,
273,
9052,
18,
588,
2957,
12,
12379,
1769,
7734,
727,
509,
341,
273,
12408,
18,
588,
2384,
5621,
3639,
727,
509,
366,
273,
12408,
18,
588,
2686,
5621,
3639,
727,
509,
21586,
273,
12408,
18,
588,
2930,
60,
5621,
3639,
727,
509,
21355,
273,
12408,
18,
588,
2930,
61,
5621,
3639,
727,
1910,
1892,
1702,
1319,
273,
261,
751,
1892,
1702,
13,
91,
86,
18,
588,
751,
1892,
5621,
3639,
727,
509,
8526,
8948,
273,
1319,
18,
588,
16040,
751,
1435,
63,
20,
15533,
3639,
727,
10326,
9037,
4420,
329,
8504,
1488,
1694,
1121,
81,
31,
3639,
1694,
1121,
81,
273,
261,
2
] |
AST tmp1583_AST_in = (AST)_t;
|
AST tmp1593_AST_in = (AST)_t;
|
public final void sqlupdatestate(AST _t) throws RecognitionException { AST sqlupdatestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1344 = _t; AST tmp1579_AST_in = (AST)_t; match(_t,UPDATE); _t = _t.getFirstChild(); tbl(_t,CQ.SCHEMATABLESYMBOL); _t = _retTree; AST tmp1580_AST_in = (AST)_t; match(_t,SET); _t = _t.getNextSibling(); sqlupdate_equal(_t); _t = _retTree; { _loop1346: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp1581_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); sqlupdate_equal(_t); _t = _retTree; } else { break _loop1346; } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case WHERE: { AST __t1348 = _t; AST tmp1582_AST_in = (AST)_t; match(_t,WHERE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_30.member(_t.getType()))) { sqlexpression(_t); _t = _retTree; } else if ((_t.getType()==CURRENT)) { AST tmp1583_AST_in = (AST)_t; match(_t,CURRENT); _t = _t.getNextSibling(); AST tmp1584_AST_in = (AST)_t; match(_t,OF); _t = _t.getNextSibling(); AST tmp1585_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); } else { throw new NoViableAltException(_t); } } _t = __t1348; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t1344; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1847,
416,
3404,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1847,
416,
3404,
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,
3437,
6334,
273,
389,
88,
31,
202,
202,
9053,
1853,
3600,
7235,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
8217,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
16187,
24899,
88,
16,
39,
53,
18,
55,
10390,
789,
2782,
22093,
1769,
202,
202,
67,
88,
273,
389,
1349,
2471,
31,
202,
202,
9053,
1853,
3600,
3672,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
4043,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
4669,
2725,
67,
9729,
24899,
88,
1769,
202,
202,
67,
88,
273,
389,
1349,
2471,
31,
202,
202,
95,
202,
202,
67,
6498,
3437,
8749,
30,
202,
202,
2896,
288,
1082,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
1082,
202,
430,
14015,
67,
88,
18,
588,
559,
1435,
631,
4208,
5535,
3719,
288,
9506,
202,
9053,
1853,
3600,
11861,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
9506,
202,
1916,
24899,
88,
16,
4208,
5535,
1769,
9506,
202,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1847,
416,
3404,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1847,
416,
3404,
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,
3437,
6334,
273,
389,
88,
31,
202,
202,
9053,
1853,
3600,
7235,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
8217,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
16187,
24899,
88,
16,
39,
53,
18,
55,
10390,
789,
2782,
22093,
1769,
202,
202,
67,
88,
273,
389,
1349,
2471,
31,
2
] |
private void parseInitialization(Node root) throws GameParseException { //parse territory owners Node owner = getSingleChild("ownerInitialize", root, true); if(owner != null) parseOwner( getChildren("territoryOwner", owner)); //parse initial unit placement Node unit = getSingleChild("unitInitialize", root, true); if(unit != null) { parseUnitPlacement( getChildren("unitPlacement", unit)); parseHeldUnits( getChildren("heldUnits", unit)); } //parse resources given Node resource = getSingleChild("resourceInitialize", root, true); if(resource != null) parseResourceInitialization(getChildren("resourceGiven", resource)); }
|
8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/65dc97c8bd1d73da6a21d79d5ad468e6bb971a9b/GameParser.java/clean/src/games/strategy/engine/data/GameParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1109,
17701,
12,
907,
1365,
13,
1216,
14121,
13047,
202,
95,
202,
202,
759,
2670,
268,
25313,
25937,
202,
202,
907,
3410,
273,
19108,
1763,
2932,
8443,
7520,
3113,
1365,
16,
638,
1769,
202,
202,
430,
12,
8443,
480,
446,
13,
1082,
202,
2670,
5541,
12,
10268,
2932,
88,
25313,
5541,
3113,
3410,
10019,
6862,
202,
759,
2670,
2172,
2836,
12607,
202,
202,
907,
2836,
273,
19108,
1763,
2932,
4873,
7520,
3113,
1365,
16,
638,
1769,
202,
202,
430,
12,
4873,
225,
480,
446,
13,
202,
202,
95,
1082,
202,
2670,
2802,
12420,
12,
10268,
2932,
4873,
12420,
3113,
2836,
10019,
1082,
202,
2670,
44,
488,
7537,
12,
10268,
2932,
76,
488,
7537,
3113,
2836,
10019,
202,
202,
97,
9506,
202,
759,
2670,
2703,
864,
202,
202,
907,
1058,
273,
19108,
1763,
2932,
3146,
7520,
3113,
1365,
16,
638,
1769,
202,
202,
430,
12,
3146,
480,
446,
13,
1082,
202,
2670,
1420,
17701,
12,
588,
4212,
2932,
3146,
6083,
3113,
1058,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1109,
17701,
12,
907,
1365,
13,
1216,
14121,
13047,
202,
95,
202,
202,
759,
2670,
268,
25313,
25937,
202,
202,
907,
3410,
273,
19108,
1763,
2932,
8443,
7520,
3113,
1365,
16,
638,
1769,
202,
202,
430,
12,
8443,
480,
446,
13,
1082,
202,
2670,
5541,
12,
10268,
2932,
88,
25313,
5541,
3113,
3410,
10019,
6862,
202,
759,
2670,
2172,
2836,
12607,
202,
202,
907,
2836,
273,
19108,
1763,
2932,
4873,
7520,
3113,
1365,
16,
638,
1769,
202,
202,
430,
12,
4873,
225,
480,
446,
13,
202,
202,
95,
1082,
202,
2670,
2802,
12420,
12,
10268,
2932,
4873,
12420,
3113,
2836,
10019,
1082,
202,
2670,
44,
488,
7537,
12,
10268,
2932,
76,
488,
7537,
3113,
2836,
2
] |
||
inside.x = alloc.x - insets.left; inside.y = alloc.y - insets.top;
|
inside.x = alloc.x + insets.left; inside.y = alloc.y + insets.top;
|
protected Rectangle getInsideAllocation(Shape a) { if (a == null) return null; Rectangle alloc = a.getBounds(); // Initialize the inside allocation rectangle. This is done inside // a synchronized block in order to avoid multiple threads creating // this instance simultanously. Rectangle inside; synchronized(this) { inside = insideAllocation; if (inside == null) { inside = new Rectangle(); insideAllocation = inside; } } inside.x = alloc.x - insets.left; inside.y = alloc.y - insets.top; inside.width = alloc.width - insets.left - insets.right; inside.height = alloc.height - insets.top - insets.bottom; return inside; }
|
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ae9ec43c5570a0f69e3d8c8b733283719f52a770/CompositeView.java/clean/core/src/classpath/javax/javax/swing/text/CompositeView.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
13264,
336,
18619,
17353,
12,
8500,
279,
13,
225,
288,
565,
309,
261,
69,
422,
446,
13,
1377,
327,
446,
31,
565,
13264,
4767,
273,
279,
18,
588,
5694,
5621,
565,
368,
9190,
326,
4832,
13481,
11845,
18,
1220,
353,
2731,
4832,
565,
368,
279,
3852,
1203,
316,
1353,
358,
4543,
3229,
7403,
4979,
565,
368,
333,
791,
3142,
406,
304,
1481,
715,
18,
565,
13264,
4832,
31,
565,
3852,
12,
2211,
13,
1377,
288,
3639,
4832,
273,
4832,
17353,
31,
3639,
309,
261,
28091,
422,
446,
13,
1850,
288,
5411,
4832,
273,
394,
13264,
5621,
5411,
4832,
17353,
273,
4832,
31,
1850,
289,
1377,
289,
565,
4832,
18,
92,
273,
4767,
18,
92,
300,
23576,
18,
4482,
31,
565,
4832,
18,
93,
273,
4767,
18,
93,
300,
23576,
18,
3669,
31,
565,
4832,
18,
2819,
273,
4767,
18,
2819,
300,
23576,
18,
4482,
300,
23576,
18,
4083,
31,
565,
4832,
18,
4210,
273,
4767,
18,
4210,
300,
23576,
18,
3669,
300,
23576,
18,
9176,
31,
565,
327,
4832,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
13264,
336,
18619,
17353,
12,
8500,
279,
13,
225,
288,
565,
309,
261,
69,
422,
446,
13,
1377,
327,
446,
31,
565,
13264,
4767,
273,
279,
18,
588,
5694,
5621,
565,
368,
9190,
326,
4832,
13481,
11845,
18,
1220,
353,
2731,
4832,
565,
368,
279,
3852,
1203,
316,
1353,
358,
4543,
3229,
7403,
4979,
565,
368,
333,
791,
3142,
406,
304,
1481,
715,
18,
565,
13264,
4832,
31,
565,
3852,
12,
2211,
13,
1377,
288,
3639,
4832,
273,
4832,
17353,
31,
3639,
309,
261,
28091,
422,
446,
13,
1850,
288,
5411,
4832,
273,
394,
13264,
5621,
5411,
4832,
17353,
273,
4832,
31,
1850,
289,
1377,
289,
565,
4832,
18,
92,
273,
4767,
18,
92,
300,
23576,
18,
2
] |
public static int sysDoubleToInt(double x) { return 0; }
|
public static int sysDoubleToInt(double x) { return VM_SysCallMagic.sysDoubleToInt(VM_BootRecord.the_boot_record.sysDoubleToIntIP, x); }
|
public static int sysDoubleToInt(double x) { return 0; }
|
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/d3efd9c24977277753634612e8923180e9ccb604/VM_SysCall.java/buggy/rvm/src/vm/runtime/VM_SysCall.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
509,
2589,
5265,
17864,
12,
9056,
619,
13,
288,
327,
374,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
509,
2589,
5265,
17864,
12,
9056,
619,
13,
288,
327,
374,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
attr = new BugzillaReportAttribute(tag);
|
attr = new RepositoryTaskAttribute(tag);
|
public void endElement(String uri, String localName, String qName) throws SAXException { BugzillaReportElement tag = BugzillaReportElement.UNKNOWN; try { tag = BugzillaReportElement.valueOf(localName.trim().toUpperCase()); } catch (RuntimeException e) { if (e instanceof IllegalArgumentException) { // ignore unrecognized tags return; } throw e; } switch (tag) { case BUG_ID: { try { if (report.getId() != Integer.parseInt(characters.toString())) { errorMessage = "Requested report number does not match returned report number."; } } catch (NumberFormatException e) { errorMessage = "Bug id from server did not match requested id."; } AbstractRepositoryReportAttribute attr = report.getAttribute(tag); if (attr == null) { attr = new BugzillaReportAttribute(tag); report.addAttribute(tag, attr); } attr.setValue(characters.toString()); break; } // Comment attributes case WHO: case BUG_WHEN: if (comment != null) { BugzillaReportAttribute attr = new BugzillaReportAttribute(tag); attr.setValue(characters.toString()); // System.err.println(">>> "+comment.getNumber()+" // "+characters.toString()); comment.addAttribute(tag, attr); } break; case THETEXT: if (comment != null) { BugzillaReportAttribute attr = new BugzillaReportAttribute(tag); attr.setValue(characters.toString()); // System.err.println(">>> "+comment.getNumber()+" // "+characters.toString()); comment.addAttribute(tag, attr); // Check for attachment parseAttachment(comment, characters.toString()); } break; case LONG_DESC: if (comment != null) { report.addComment(comment); } break; // Attachment attributes case ATTACHID: case DATE: case DESC: case FILENAME: case CTYPE: case TYPE: if (attachment != null) { BugzillaReportAttribute attr = new BugzillaReportAttribute(tag); attr.setValue(characters.toString()); attachment.addAttribute(tag, attr); } break; case DATA: // TODO: Need to figure out under what circumstanceswhen attachments // are inline and // what to do with them. break; case ATTACHMENT: if (attachment != null) { report.addAttachment(attachment); } break; // IGNORED ELEMENTS case REPORTER_ACCESSIBLE: case CLASSIFICATION_ID: case CLASSIFICATION: case CCLIST_ACCESSIBLE: case EVERCONFIRMED: case BUGZILLA: break; case BUG: // Reached end of bug. Need to set LONGDESCLENGTH to number of // comments AbstractRepositoryReportAttribute numCommentsAttribute = report .getAttribute(BugzillaReportElement.LONGDESCLENGTH); if (numCommentsAttribute == null) { numCommentsAttribute = new BugzillaReportAttribute(BugzillaReportElement.LONGDESCLENGTH); numCommentsAttribute.setValue("" + report.getComments().size()); report.addAttribute(BugzillaReportElement.LONGDESCLENGTH, numCommentsAttribute); } else { numCommentsAttribute.setValue("" + report.getComments().size()); } // Set the creator name on all attachments for (ReportAttachment attachment: report.getAttachments()) { Comment comment = (Comment)attachIdToComment.get(attachment.getId()); if(comment != null) { attachment.setCreator(comment.getAuthor()); } } break; // All others added as report attribute default: AbstractRepositoryReportAttribute attribute = report.getAttribute(tag); if (attribute == null) { // System.err.println(">>> Undeclared attribute added: " + // tag.toString()+" value: "+characters.toString()); attribute = new BugzillaReportAttribute(tag); attribute.setValue(characters.toString()); report.addAttribute(tag, attribute); } else { // System.err.println("Attr: " + attribute.getName() + " = " + // characters.toString()); attribute.addValue(characters.toString()); } break; } }
|
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/79a47ddfa7ed9523e61e6b537d46299e10d722eb/SaxBugReportContentHandler.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/SaxBugReportContentHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
14840,
12,
780,
2003,
16,
514,
11927,
16,
514,
22914,
13,
1216,
14366,
288,
202,
202,
19865,
15990,
4820,
1046,
1047,
273,
16907,
15990,
4820,
1046,
18,
14737,
31,
202,
202,
698,
288,
1082,
202,
2692,
273,
16907,
15990,
4820,
1046,
18,
1132,
951,
12,
3729,
461,
18,
5290,
7675,
869,
8915,
10663,
202,
202,
97,
1044,
261,
11949,
425,
13,
288,
1082,
202,
430,
261,
73,
1276,
2754,
13,
288,
9506,
202,
759,
2305,
28333,
2342,
9506,
202,
2463,
31,
1082,
202,
97,
1082,
202,
12849,
425,
31,
202,
202,
97,
202,
202,
9610,
261,
2692,
13,
288,
202,
202,
3593,
10937,
43,
67,
734,
30,
288,
1082,
202,
698,
288,
9506,
202,
430,
261,
6006,
18,
26321,
1435,
480,
2144,
18,
2670,
1702,
12,
20558,
18,
10492,
1435,
3719,
288,
6862,
202,
1636,
1079,
273,
315,
11244,
2605,
1300,
1552,
486,
845,
2106,
2605,
1300,
1199,
31,
9506,
202,
97,
1082,
202,
97,
1044,
261,
1854,
9291,
425,
13,
288,
9506,
202,
1636,
1079,
273,
315,
19865,
612,
628,
1438,
5061,
486,
845,
3764,
612,
1199,
31,
1082,
202,
97,
1082,
202,
7469,
3305,
4820,
1499,
1604,
273,
2605,
18,
588,
1499,
12,
2692,
1769,
1082,
202,
430,
261,
1747,
422,
446,
13,
288,
9506,
202,
1747,
273,
394,
16907,
15990,
4820,
1499,
12,
2692,
1769,
9506,
202,
6006,
18,
1289,
1499,
12,
2692,
16,
1604,
1769,
1082,
202,
97,
1082,
202,
1747,
18,
542,
620,
12,
20558,
18,
10492,
10663,
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,
14840,
12,
780,
2003,
16,
514,
11927,
16,
514,
22914,
13,
1216,
14366,
288,
202,
202,
19865,
15990,
4820,
1046,
1047,
273,
16907,
15990,
4820,
1046,
18,
14737,
31,
202,
202,
698,
288,
1082,
202,
2692,
273,
16907,
15990,
4820,
1046,
18,
1132,
951,
12,
3729,
461,
18,
5290,
7675,
869,
8915,
10663,
202,
202,
97,
1044,
261,
11949,
425,
13,
288,
1082,
202,
430,
261,
73,
1276,
2754,
13,
288,
9506,
202,
759,
2305,
28333,
2342,
9506,
202,
2463,
31,
1082,
202,
97,
1082,
202,
12849,
425,
31,
202,
202,
97,
202,
202,
9610,
261,
2692,
13,
288,
202,
202,
3593,
10937,
43,
67,
734,
30,
288,
1082,
202,
698,
288,
9506,
202,
430,
2
] |
public boolean isClosed() {
|
public synchronized boolean isClosed() {
|
public boolean isClosed() { return closed; }
|
13530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13530/5843b2f7c255360ef5c6d412c2fc8a9a4630b55a/HttpSocket.java/buggy/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/HttpSocket.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
18851,
1435,
288,
202,
202,
2463,
4375,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
18851,
1435,
288,
202,
202,
2463,
4375,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
throws IllegalArgumentException { if (TypeSignature.getEncodingOfClass (field.getType ()).charAt (0) != type) throw new IllegalArgumentException (); }
|
throws IllegalArgumentException { if (TypeSignature.getEncodingOfClass(field.getType ()).charAt(0) != type) throw new IllegalArgumentException (); }
|
private void checkType (ObjectStreamField field, char type) throws IllegalArgumentException { if (TypeSignature.getEncodingOfClass (field.getType ()).charAt (0) != type) throw new IllegalArgumentException (); }
|
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/2ddeb7e5ae365e4acfc02d37ce47ffad52375ed7/ObjectOutputStream.java/clean/java/io/ObjectOutputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
23008,
261,
921,
1228,
974,
652,
16,
1149,
618,
13,
202,
225,
1216,
2754,
202,
95,
202,
225,
309,
261,
559,
5374,
18,
588,
4705,
951,
797,
261,
1518,
18,
588,
559,
1832,
2934,
3001,
861,
261,
20,
13,
202,
1377,
480,
618,
13,
202,
565,
604,
394,
2754,
261,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
23008,
261,
921,
1228,
974,
652,
16,
1149,
618,
13,
202,
225,
1216,
2754,
202,
95,
202,
225,
309,
261,
559,
5374,
18,
588,
4705,
951,
797,
261,
1518,
18,
588,
559,
1832,
2934,
3001,
861,
261,
20,
13,
202,
1377,
480,
618,
13,
202,
565,
604,
394,
2754,
261,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return key.n == n && key.k == k;
|
return (key.n == n) && (key.k == k);
|
public boolean equals(Object o) { if(o instanceof MyKey) { MyKey key = (MyKey)o; return key.n == n && key.k == k; } else return false; }
|
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/StandardOnionFECCodec.java/buggy/src/freenet/client/StandardOnionFECCodec.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
1606,
12,
921,
320,
13,
288,
1082,
202,
430,
12,
83,
1276,
8005,
653,
13,
288,
9506,
202,
12062,
653,
498,
273,
261,
12062,
653,
13,
83,
31,
9506,
202,
2463,
498,
18,
82,
422,
290,
597,
498,
18,
79,
422,
417,
31,
1082,
202,
97,
469,
327,
629,
31,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
1606,
12,
921,
320,
13,
288,
1082,
202,
430,
12,
83,
1276,
8005,
653,
13,
288,
9506,
202,
12062,
653,
498,
273,
261,
12062,
653,
13,
83,
31,
9506,
202,
2463,
498,
18,
82,
422,
290,
597,
498,
18,
79,
422,
417,
31,
1082,
202,
97,
469,
327,
629,
31,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (quietMode) { return; }
|
public static void warn(String msg) { if (quietMode) { return; } System.err.println(WARN_PREFIX + msg); }
|
45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/038af92be0cb39a42e6e613897df775d353a2902/LogLog.java/buggy/src/java/org/apache/log4j/helpers/LogLog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
1894,
12,
780,
1234,
13,
288,
565,
309,
261,
20380,
2309,
13,
288,
1377,
327,
31,
565,
289,
565,
2332,
18,
370,
18,
8222,
12,
27999,
67,
6307,
397,
1234,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
1894,
12,
780,
1234,
13,
288,
565,
309,
261,
20380,
2309,
13,
288,
1377,
327,
31,
565,
289,
565,
2332,
18,
370,
18,
8222,
12,
27999,
67,
6307,
397,
1234,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
public byte[] getBytes() throws DebugException
|
public synchronized byte[] getBytes() throws DebugException
|
public byte[] getBytes() throws DebugException { if ( fBytes == null ) { if ( fCDIMemoryBlock != null ) { try { fBytes = fCDIMemoryBlock.getBytes(); fDirtyBytes = new boolean[fBytes.length]; Arrays.fill( fDirtyBytes, false ); } catch( CDIException e ) { targetRequestFailed( e.getMessage(), null ); } } } return fBytes; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/33825fd97a6f620f80062b4c1ee9d034bb59ecc2/CFormattedMemoryBlock.java/clean/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CFormattedMemoryBlock.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1160,
8526,
8425,
1435,
1216,
4015,
503,
202,
95,
202,
202,
430,
261,
284,
2160,
422,
446,
262,
202,
202,
95,
1875,
202,
430,
261,
284,
39,
2565,
6031,
1768,
480,
446,
262,
1082,
202,
95,
9506,
202,
698,
9506,
202,
95,
6862,
202,
74,
2160,
273,
284,
39,
2565,
6031,
1768,
18,
588,
2160,
5621,
6862,
202,
74,
10785,
2160,
273,
394,
1250,
63,
74,
2160,
18,
2469,
15533,
6862,
202,
12726,
18,
5935,
12,
284,
10785,
2160,
16,
629,
11272,
9506,
202,
97,
9506,
202,
14683,
12,
385,
2565,
503,
425,
262,
9506,
202,
95,
6862,
202,
3299,
691,
2925,
12,
425,
18,
24906,
9334,
446,
11272,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
284,
2160,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1160,
8526,
8425,
1435,
1216,
4015,
503,
202,
95,
202,
202,
430,
261,
284,
2160,
422,
446,
262,
202,
202,
95,
1875,
202,
430,
261,
284,
39,
2565,
6031,
1768,
480,
446,
262,
1082,
202,
95,
9506,
202,
698,
9506,
202,
95,
6862,
202,
74,
2160,
273,
284,
39,
2565,
6031,
1768,
18,
588,
2160,
5621,
6862,
202,
74,
10785,
2160,
273,
394,
1250,
63,
74,
2160,
18,
2469,
15533,
6862,
202,
12726,
18,
5935,
12,
284,
10785,
2160,
16,
629,
11272,
9506,
202,
97,
9506,
202,
14683,
12,
385,
2565,
503,
425,
262,
9506,
202,
95,
6862,
202,
3299,
691,
2925,
12,
425,
18,
24906,
9334,
446,
11272,
9506,
202,
97,
1082,
202,
97,
202,
2
] |
RubyClass metaClass = objectClass.makeMetaClass(classClass, getCurrentContext().getRubyClass()); metaClass = moduleClass.makeMetaClass(metaClass, getCurrentContext().getRubyClass()); metaClass = classClass.makeMetaClass(metaClass, getCurrentContext().getRubyClass());
|
RubyClass metaClass = objectClass.makeMetaClass(classClass, objectMetaClass.getCRef()); metaClass = moduleClass.makeMetaClass(metaClass, objectMetaClass.getCRef()); metaClass = classClass.makeMetaClass(metaClass, objectMetaClass.getCRef());
|
private void initCoreClasses() { ObjectMetaClass objectMetaClass = new ObjectMetaClass(this); objectMetaClass.initializeClass(); objectClass = objectMetaClass; objectClass.setConstant("Object", objectClass); RubyClass moduleClass = new ModuleMetaClass(this, objectClass); objectClass.setConstant("Module", moduleClass); RubyClass classClass = new RubyClass(this, null /* Would be Class if it could */, moduleClass, null, "Class"); objectClass.setConstant("Class", classClass); RubyClass metaClass = objectClass.makeMetaClass(classClass, getCurrentContext().getRubyClass()); metaClass = moduleClass.makeMetaClass(metaClass, getCurrentContext().getRubyClass()); metaClass = classClass.makeMetaClass(metaClass, getCurrentContext().getRubyClass()); ((ObjectMetaClass) moduleClass).initializeBootstrapClass(); objectClass.includeModule(RubyKernel.createKernelModule(this)); RubyClass.createClassClass(classClass); RubyNil.createNilClass(this); // We cannot define this constant until nil itself was made objectClass.defineConstant("NIL", getNil()); // Pre-create the core classes we know we will get referenced by starting up the runtime. RubyBoolean.createFalseClass(this); RubyBoolean.createTrueClass(this); RubyComparable.createComparable(this); defineModule("Enumerable"); // Impl: src/builtin/enumerable.rb new StringMetaClass(this).initializeClass(); new SymbolMetaClass(this).initializeClass(); RubyThreadGroup.createThreadGroupClass(this); RubyThread.createThreadClass(this); RubyException.createExceptionClass(this); new NumericMetaClass(this).initializeClass(); new IntegerMetaClass(this).initializeClass(); new FixnumMetaClass(this).initializeClass(); new HashMetaClass(this).initializeClass(); new IOMetaClass(this).initializeClass(); new ArrayMetaClass(this).initializeClass(); Java.createJavaModule(this); RubyStruct.createStructClass(this); RubyFloat.createFloatClass(this); new BignumMetaClass(this).initializeClass(); RubyMath.createMathModule(this); // depends on all numeric types RubyRegexp.createRegexpClass(this); RubyRange.createRangeClass(this); RubyObjectSpace.createObjectSpaceModule(this); RubyGC.createGCModule(this); new ProcMetaClass(this).initializeClass(); RubyMethod.createMethodClass(this); RubyMatchData.createMatchDataClass(this); RubyMarshal.createMarshalModule(this); RubyDir.createDirClass(this); RubyFileTest.createFileTestModule(this); new FileMetaClass(this).initializeClass(); // depends on IO, FileTest RubyPrecision.createPrecisionModule(this); RubyProcess.createProcessModule(this); RubyTime.createTimeClass(this); RubyUnboundMethod.defineUnboundMethodClass(this); RubyClass exceptionClass = getClass("Exception"); RubyClass standardError = defineClass("StandardError", exceptionClass); RubyClass runtimeError = defineClass("RuntimeError", standardError); RubyClass ioError = defineClass("IOError", standardError); RubyClass scriptError = defineClass("ScriptError", exceptionClass); RubyClass nameError = defineClass("NameError", scriptError); defineClass("SystemExit", exceptionClass); defineClass("Fatal", exceptionClass); defineClass("Interrupt", exceptionClass); defineClass("SignalException", exceptionClass); defineClass("TypeError", standardError); defineClass("ArgumentError", standardError); defineClass("IndexError", standardError); defineClass("RangeError", standardError); defineClass("SyntaxError", scriptError); defineClass("LoadError", scriptError); defineClass("NotImplementedError", scriptError); defineClass("NoMethodError", nameError); defineClass("SecurityError", standardError); defineClass("NoMemError", exceptionClass); defineClass("RegexpError", standardError); defineClass("EOFError", ioError); defineClass("LocalJumpError", standardError); defineClass("ThreadError", standardError); defineClass("SystemStackError", exceptionClass); NativeException.createClass(this, runtimeError); systemCallError = defineClass("SystemCallError", standardError); errnoModule = defineModule("Errno"); initErrnoErrors(); getLoadService().addAutoload("UnboundMethod", new IAutoloadMethod() { public IRubyObject load(IRuby ruby, String name) { return RubyUnboundMethod.defineUnboundMethodClass(ruby); } }); }
|
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/a1b8fc1d456e3d5c6e01579b88773383068aa85c/Ruby.java/clean/src/org/jruby/Ruby.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
4670,
4818,
1435,
288,
3639,
14648,
797,
733,
2781,
797,
273,
394,
14648,
797,
12,
2211,
1769,
3639,
733,
2781,
797,
18,
11160,
797,
5621,
7734,
23992,
273,
733,
2781,
797,
31,
3639,
23992,
18,
542,
6902,
2932,
921,
3113,
23992,
1769,
3639,
19817,
797,
1605,
797,
273,
394,
5924,
2781,
797,
12,
2211,
16,
23992,
1769,
3639,
23992,
18,
542,
6902,
2932,
3120,
3113,
1605,
797,
1769,
3639,
19817,
797,
667,
797,
273,
394,
19817,
797,
12,
2211,
16,
446,
1748,
678,
1006,
506,
1659,
309,
518,
3377,
1195,
16,
1605,
797,
16,
446,
16,
315,
797,
8863,
3639,
23992,
18,
542,
6902,
2932,
797,
3113,
667,
797,
1769,
3639,
19817,
797,
2191,
797,
273,
23992,
18,
6540,
2781,
797,
12,
1106,
797,
16,
5175,
1042,
7675,
588,
54,
10340,
797,
10663,
3639,
2191,
797,
273,
1605,
797,
18,
6540,
2781,
797,
12,
3901,
797,
16,
5175,
1042,
7675,
588,
54,
10340,
797,
10663,
3639,
2191,
797,
273,
667,
797,
18,
6540,
2781,
797,
12,
3901,
797,
16,
5175,
1042,
7675,
588,
54,
10340,
797,
10663,
3639,
14015,
921,
2781,
797,
13,
1605,
797,
2934,
11160,
10445,
797,
5621,
7734,
23992,
18,
6702,
3120,
12,
54,
10340,
11286,
18,
2640,
11286,
3120,
12,
2211,
10019,
3639,
19817,
797,
18,
2640,
797,
797,
12,
1106,
797,
1769,
3639,
19817,
12616,
18,
2640,
12616,
797,
12,
2211,
1769,
3639,
368,
1660,
2780,
4426,
333,
5381,
3180,
515,
6174,
1703,
7165,
3639,
23992,
18,
11255,
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,
1208,
4670,
4818,
1435,
288,
3639,
14648,
797,
733,
2781,
797,
273,
394,
14648,
797,
12,
2211,
1769,
3639,
733,
2781,
797,
18,
11160,
797,
5621,
7734,
23992,
273,
733,
2781,
797,
31,
3639,
23992,
18,
542,
6902,
2932,
921,
3113,
23992,
1769,
3639,
19817,
797,
1605,
797,
273,
394,
5924,
2781,
797,
12,
2211,
16,
23992,
1769,
3639,
23992,
18,
542,
6902,
2932,
3120,
3113,
1605,
797,
1769,
3639,
19817,
797,
667,
797,
273,
394,
19817,
797,
12,
2211,
16,
446,
1748,
678,
1006,
506,
1659,
309,
518,
3377,
1195,
16,
1605,
797,
16,
446,
16,
315,
797,
8863,
3639,
23992,
18,
542,
6902,
2932,
797,
3113,
667,
797,
1769,
3639,
19817,
797,
2191,
797,
2
] |
public org.quickfix.field.LegRepoCollateralSecurityType getLegRepoCollateralSecurityType() throws FieldNotFound { org.quickfix.field.LegRepoCollateralSecurityType value = new org.quickfix.field.LegRepoCollateralSecurityType();
|
public quickfix.field.LegRepoCollateralSecurityType getLegRepoCollateralSecurityType() throws FieldNotFound { quickfix.field.LegRepoCollateralSecurityType value = new quickfix.field.LegRepoCollateralSecurityType();
|
public org.quickfix.field.LegRepoCollateralSecurityType getLegRepoCollateralSecurityType() throws FieldNotFound { org.quickfix.field.LegRepoCollateralSecurityType value = new org.quickfix.field.LegRepoCollateralSecurityType(); getField(value); return value; }
|
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityStatus.java/buggy/src/java/src/quickfix/fix44/SecurityStatus.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
8791,
13535,
2045,
287,
4368,
559,
336,
8329,
8791,
13535,
2045,
287,
4368,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
8791,
13535,
2045,
287,
4368,
559,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
8791,
13535,
2045,
287,
4368,
559,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
8791,
13535,
2045,
287,
4368,
559,
336,
8329,
8791,
13535,
2045,
287,
4368,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
8791,
13535,
2045,
287,
4368,
559,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
8791,
13535,
2045,
287,
4368,
559,
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
] |
sb.append(seconds).append("s");
|
sb.append(seconds).append('s');
|
public static String formatTime(long timeInterval, int maxTerms, boolean withSecondFractions) { StringBuffer sb = new StringBuffer(64); long l = timeInterval; int termCount = 0; // int weeks = (int)(l / ((long)7*24*60*60*1000)); if (weeks > 0) { sb.append(weeks).append("w"); termCount++; l = l - ((long)weeks * ((long)7*24*60*60*1000)); } // int days = (int)(l / ((long)24*60*60*1000)); if (days > 0) { sb.append(days).append("d"); termCount++; l = l - ((long)days * ((long)24*60*60*1000)); } if(termCount >= maxTerms) { return sb.toString(); } // int hours = (int)(l / ((long)60*60*1000)); if (hours > 0) { sb.append(hours).append("h"); termCount++; l = l - ((long)hours * ((long)60*60*1000)); } if(termCount >= maxTerms) { return sb.toString(); } // int minutes = (int)(l / ((long)60*1000)); if (minutes > 0) { sb.append(minutes).append("m"); termCount++; l = l - ((long)minutes * ((long)60*1000)); } if(termCount >= maxTerms) { return sb.toString(); } if(withSecondFractions && ((maxTerms - termCount) >= 2)) { if (l > 0) { double fractionalSeconds = ((double) l) / ((double) 1000.0); DecimalFormat fix3 = new DecimalFormat("0.000"); sb.append(fix3.format(fractionalSeconds)).append("s"); termCount++; l = l - ((long)fractionalSeconds * (long)1000); } } else { int seconds = (int)(l / (long)1000); if (seconds > 0) { sb.append(seconds).append("s"); termCount++; l = l - ((long)seconds * (long)1000); } } // return sb.toString(); }
|
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/62fd59041864b4ed1f43adc676de6bfb5ea977f3/TimeUtil.java/buggy/src/freenet/support/TimeUtil.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
740,
950,
12,
5748,
813,
4006,
16,
509,
943,
11673,
16,
1250,
598,
8211,
13724,
87,
13,
288,
202,
202,
780,
1892,
2393,
273,
394,
6674,
12,
1105,
1769,
202,
202,
5748,
328,
273,
813,
4006,
31,
202,
202,
474,
2481,
1380,
273,
374,
31,
202,
202,
759,
202,
202,
474,
17314,
273,
261,
474,
21433,
80,
342,
14015,
5748,
13,
27,
14,
3247,
14,
4848,
14,
4848,
14,
18088,
10019,
202,
202,
430,
261,
10741,
87,
405,
374,
13,
288,
5411,
2393,
18,
6923,
12,
10741,
87,
2934,
6923,
2932,
91,
8863,
1082,
225,
2481,
1380,
9904,
31,
1082,
225,
328,
273,
328,
300,
14015,
5748,
13,
10741,
87,
380,
14015,
5748,
13,
27,
14,
3247,
14,
4848,
14,
4848,
14,
18088,
10019,
202,
202,
97,
202,
202,
759,
202,
202,
474,
4681,
273,
261,
474,
21433,
80,
342,
14015,
5748,
13,
3247,
14,
4848,
14,
4848,
14,
18088,
10019,
202,
202,
430,
261,
9810,
405,
374,
13,
288,
5411,
2393,
18,
6923,
12,
9810,
2934,
6923,
2932,
72,
8863,
1082,
225,
2481,
1380,
9904,
31,
1082,
225,
328,
273,
328,
300,
14015,
5748,
13,
9810,
380,
14015,
5748,
13,
3247,
14,
4848,
14,
4848,
14,
18088,
10019,
202,
202,
97,
202,
202,
430,
12,
6408,
1380,
1545,
943,
11673,
13,
288,
1082,
225,
327,
2393,
18,
10492,
5621,
202,
202,
97,
202,
202,
759,
202,
202,
474,
7507,
273,
261,
474,
21433,
80,
342,
14015,
5748,
13,
4848,
14,
4848,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
740,
950,
12,
5748,
813,
4006,
16,
509,
943,
11673,
16,
1250,
598,
8211,
13724,
87,
13,
288,
202,
202,
780,
1892,
2393,
273,
394,
6674,
12,
1105,
1769,
202,
202,
5748,
328,
273,
813,
4006,
31,
202,
202,
474,
2481,
1380,
273,
374,
31,
202,
202,
759,
202,
202,
474,
17314,
273,
261,
474,
21433,
80,
342,
14015,
5748,
13,
27,
14,
3247,
14,
4848,
14,
4848,
14,
18088,
10019,
202,
202,
430,
261,
10741,
87,
405,
374,
13,
288,
5411,
2393,
18,
6923,
12,
10741,
87,
2934,
6923,
2932,
91,
8863,
1082,
225,
2481,
1380,
9904,
31,
1082,
225,
328,
273,
328,
300,
14015,
5748,
13,
10741,
87,
380,
14015,
5748,
13,
2
] |
if (cascadingTheme == null) cascadingTheme = new CascadingTheme(currentTheme, colorRegistry,
|
if (cascadingTheme == null) { cascadingTheme = new CascadingTheme(currentTheme, colorRegistry,
|
private ITheme getCascadingTheme() { if (cascadingTheme == null) cascadingTheme = new CascadingTheme(currentTheme, colorRegistry, fontRegistry); return cascadingTheme; }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ColorsAndFontsPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/themes/ColorsAndFontsPreferencePage.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
467,
8335,
1927,
3691,
14968,
8335,
1435,
288,
3639,
309,
261,
71,
3691,
14968,
8335,
422,
446,
13,
5411,
29502,
14968,
8335,
273,
394,
385,
3691,
14968,
8335,
12,
2972,
8335,
16,
2036,
4243,
16,
10792,
3512,
4243,
1769,
3639,
327,
29502,
14968,
8335,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
467,
8335,
1927,
3691,
14968,
8335,
1435,
288,
3639,
309,
261,
71,
3691,
14968,
8335,
422,
446,
13,
5411,
29502,
14968,
8335,
273,
394,
385,
3691,
14968,
8335,
12,
2972,
8335,
16,
2036,
4243,
16,
10792,
3512,
4243,
1769,
3639,
327,
29502,
14968,
8335,
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
] |
public void updateNewNode(final InternalWorkingMemory workingMemory, final PropagationContext context) { this.attachingNewNode = true; final LinkedList memory = (LinkedList) workingMemory.getNodeMemory( this ); for ( final Iterator it = memory.iterator(); it.hasNext(); ) { final ReteTuple tuple = (ReteTuple) it.next(); final ReteTuple child = new ReteTuple( tuple ); // no TupleMatch so instead add as a linked tuple tuple.addLinkedTuple( new LinkedListEntry( child ) ); ((TupleSink) getTupleSinks().get( getTupleSinks().size() - 1 )).assertTuple( child, context, workingMemory ); } this.attachingNewNode = false; }
|
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/ff6f4275cf65606e5f267ee0bdc072590e8c4e2d/EvalConditionNode.java/buggy/drools-core/src/main/java/org/drools/reteoo/EvalConditionNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
2725,
1908,
907,
12,
6385,
3061,
14836,
6031,
20478,
6031,
16,
6385,
14225,
1042,
2472,
15329,
2211,
18,
7331,
310,
1908,
907,
33,
3767,
31,
6385,
13174,
682,
7858,
28657,
13174,
682,
13,
20478,
6031,
18,
588,
907,
6031,
12,
2211,
1769,
1884,
12,
6385,
3198,
305,
33,
7858,
18,
9838,
5621,
305,
18,
5332,
2134,
5621,
15329,
6385,
7055,
73,
56,
89,
1469,
2268,
28657,
7055,
73,
9038,
13,
305,
18,
4285,
5621,
6385,
7055,
73,
9038,
3624,
33,
2704,
7055,
73,
9038,
12,
8052,
1769,
759,
2135,
9038,
2060,
87,
885,
334,
684,
1289,
345,
16194,
329,
88,
89,
1469,
2268,
18,
1289,
13174,
9038,
12,
2704,
13174,
27899,
12,
3624,
10019,
12443,
9038,
11326,
13,
588,
9038,
11326,
87,
7675,
588,
12,
588,
9038,
11326,
87,
7675,
1467,
1435,
17,
21,
13,
2934,
11231,
9038,
12,
3624,
16,
2472,
16,
20478,
6031,
1769,
97,
2211,
18,
7331,
310,
1908,
907,
33,
5743,
31,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
2725,
1908,
907,
12,
6385,
3061,
14836,
6031,
20478,
6031,
16,
6385,
14225,
1042,
2472,
15329,
2211,
18,
7331,
310,
1908,
907,
33,
3767,
31,
6385,
13174,
682,
7858,
28657,
13174,
682,
13,
20478,
6031,
18,
588,
907,
6031,
12,
2211,
1769,
1884,
12,
6385,
3198,
305,
33,
7858,
18,
9838,
5621,
305,
18,
5332,
2134,
5621,
15329,
6385,
7055,
73,
56,
89,
1469,
2268,
28657,
7055,
73,
9038,
13,
305,
18,
4285,
5621,
6385,
7055,
73,
9038,
3624,
33,
2704,
7055,
73,
9038,
12,
8052,
1769,
759,
2135,
9038,
2060,
87,
885,
334,
684,
1289,
345,
16194,
329,
88,
89,
1469,
2268,
18,
1289,
13174,
9038,
12,
2704,
13174,
27899,
12,
3624,
10019,
12443,
9038,
11326,
2
] |
||
public Symbol linkedModule() {
|
public ModuleSymbol linkedModule() {
|
public Symbol linkedModule() { return module; }
|
48012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48012/3ec2af254866c60389b3fd304c14d1137b9cf4c8/Symbol.java/buggy/sources/scalac/symtab/Symbol.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5924,
5335,
8459,
3120,
1435,
288,
3639,
327,
1605,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5924,
5335,
8459,
3120,
1435,
288,
3639,
327,
1605,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return fAnnotations;
|
return (fAnnotations != null) ? fAnnotations : XSObjectListImpl.EMPTY_LIST;
|
public XSObjectList getAnnotations() { return fAnnotations; }
|
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/589edbe2c980f0f9c852845f38ff1e3f1beca2fc/XSSimpleTypeDecl.java/buggy/src/org/apache/xerces/impl/dv/xs/XSSimpleTypeDecl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1139,
55,
25979,
23656,
1435,
288,
3639,
327,
261,
74,
5655,
480,
446,
13,
692,
284,
5655,
294,
1139,
55,
25979,
2828,
18,
13625,
67,
7085,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1139,
55,
25979,
23656,
1435,
288,
3639,
327,
261,
74,
5655,
480,
446,
13,
692,
284,
5655,
294,
1139,
55,
25979,
2828,
18,
13625,
67,
7085,
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
] |
String s = super.toString(verbose); String t = "null"; if(verbose) { if(target != null) { if(target.getInstruction() == this) t = "<points to itself>"; else if(target.getInstruction() == null) t = "<null instruction!!!?>"; else t = target.getInstruction().toString(false); } } else { if(target != null) { index = getTargetOffset(); t = "" + (index + position); } } return s + " -> " + t; }
|
String s = super.toString(verbose); String t = "null"; if(verbose) { if(target != null) { if(target.getInstruction() == this) t = "<points to itself>"; else if(target.getInstruction() == null) t = "<null instruction!!!?>"; else t = target.getInstruction().toString(false); } } else { if(target != null) { index = getTargetOffset(); t = "" + (index + position); } } return s + " -> " + t; }
|
public String toString(boolean verbose) { String s = super.toString(verbose); String t = "null"; if(verbose) { if(target != null) { if(target.getInstruction() == this) t = "<points to itself>"; else if(target.getInstruction() == null) t = "<null instruction!!!?>"; else t = target.getInstruction().toString(false); // Avoid circles } } else { if(target != null) { index = getTargetOffset(); t = "" + (index + position); } } return s + " -> " + t; }
|
3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/d7c792e0a316dd3ac20a9fe9f758abdde9bd79fe/Bytecodes.java/buggy/joeq_core/joeq/Compiler/BytecodeAnalysis/Bytecodes.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
1762,
12,
6494,
3988,
13,
288,
5411,
514,
272,
273,
2240,
18,
10492,
12,
11369,
1769,
5411,
514,
268,
273,
315,
2011,
14432,
13491,
309,
12,
11369,
13,
288,
7734,
309,
12,
3299,
480,
446,
13,
288,
10792,
309,
12,
3299,
18,
588,
11983,
1435,
422,
333,
13,
13491,
268,
273,
3532,
4139,
358,
6174,
2984,
31,
10792,
469,
309,
12,
3299,
18,
588,
11983,
1435,
422,
446,
13,
13491,
268,
273,
3532,
2011,
7592,
25885,
35,
2984,
31,
10792,
469,
13491,
268,
273,
1018,
18,
588,
11983,
7675,
10492,
12,
5743,
1769,
368,
17843,
5886,
9558,
7734,
289,
5411,
289,
469,
288,
7734,
309,
12,
3299,
480,
446,
13,
288,
10792,
770,
273,
8571,
2335,
5621,
10792,
268,
273,
1408,
397,
261,
1615,
397,
1754,
1769,
7734,
289,
5411,
289,
13491,
327,
272,
397,
315,
317,
315,
397,
268,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
1762,
12,
6494,
3988,
13,
288,
5411,
514,
272,
273,
2240,
18,
10492,
12,
11369,
1769,
5411,
514,
268,
273,
315,
2011,
14432,
13491,
309,
12,
11369,
13,
288,
7734,
309,
12,
3299,
480,
446,
13,
288,
10792,
309,
12,
3299,
18,
588,
11983,
1435,
422,
333,
13,
13491,
268,
273,
3532,
4139,
358,
6174,
2984,
31,
10792,
469,
309,
12,
3299,
18,
588,
11983,
1435,
422,
446,
13,
13491,
268,
273,
3532,
2011,
7592,
25885,
35,
2984,
31,
10792,
469,
13491,
268,
273,
1018,
18,
588,
11983,
7675,
10492,
12,
5743,
1769,
368,
17843,
5886,
9558,
7734,
289,
5411,
289,
469,
288,
7734,
309,
12,
3299,
480,
446,
13,
288,
10792,
770,
273,
8571,
2335,
2
] |
return (this.value < LOG_BYTES_IN_ADDRESS) ? 0 : 1 << (this.value - LOG_BYTES_IN_ADDRESS);
|
return (this.value < BYTES_IN_ADDRESS) ? 1 : (this.value >> LOG_BYTES_IN_ADDRESS);
|
public int getValue() throws UninterruptiblePragma { return (this.value < LOG_BYTES_IN_ADDRESS) ? 0 : 1 << (this.value - LOG_BYTES_IN_ADDRESS); }
|
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/f27197abe07fcfa963a2c8d97f5361d3cff7c100/TraceRate.java/clean/MMTk/src/org/mmtk/utility/options/TraceRate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
2366,
1435,
1216,
1351,
31847,
1523,
2050,
9454,
288,
565,
327,
261,
2211,
18,
1132,
411,
2018,
67,
13718,
67,
706,
67,
15140,
13,
4202,
692,
374,
4202,
294,
404,
2296,
261,
2211,
18,
1132,
300,
2018,
67,
13718,
67,
706,
67,
15140,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
2366,
1435,
1216,
1351,
31847,
1523,
2050,
9454,
288,
565,
327,
261,
2211,
18,
1132,
411,
2018,
67,
13718,
67,
706,
67,
15140,
13,
4202,
692,
374,
4202,
294,
404,
2296,
261,
2211,
18,
1132,
300,
2018,
67,
13718,
67,
706,
67,
15140,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (LayoutUtil.isReplaced(c, current_node)) {
|
if (content instanceof ReplacedContent) {
|
public boolean isEndOfBlock(Context c, Node current_node, InlineBox prev_inline) { // replaced elements aren't split, so done with this one if (LayoutUtil.isReplaced(c, current_node)) {//if(content instanceof ReplacedContent) return true; } if (LayoutUtil.isFloatedBlock(current_node, c)) {//if(content instanceof FloatedBlockContent) return true; } if (c.getRenderingContext().getLayoutFactory().isBreak(current_node)) {//not needed with content return true; } // if no more unused text in this node // u.p("looking for skip to next node"); if (prev_inline.end_index >= prev_inline.getMasterText().length()) { return true; } return false; }
|
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/bbe26e114cd1f823901a5ca3d63b5fccfdfedf81/InlineLayout.java/buggy/src/java/org/xhtmlrenderer/layout/InlineLayout.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
23358,
1768,
12,
1042,
276,
16,
2029,
783,
67,
2159,
16,
16355,
3514,
2807,
67,
10047,
13,
288,
3639,
368,
8089,
2186,
11526,
1404,
1416,
16,
1427,
2731,
598,
333,
1245,
3639,
309,
261,
3744,
1304,
18,
291,
5729,
72,
12,
71,
16,
783,
67,
2159,
3719,
288,
759,
430,
12,
1745,
1276,
6910,
72,
1350,
13,
5411,
327,
638,
31,
3639,
289,
3639,
309,
261,
3744,
1304,
18,
291,
42,
383,
690,
1768,
12,
2972,
67,
2159,
16,
276,
3719,
288,
759,
430,
12,
1745,
1276,
478,
383,
690,
1768,
1350,
13,
5411,
327,
638,
31,
3639,
289,
3639,
309,
261,
71,
18,
588,
14261,
1042,
7675,
588,
3744,
1733,
7675,
291,
7634,
12,
2972,
67,
2159,
3719,
288,
759,
902,
3577,
598,
913,
5411,
327,
638,
31,
3639,
289,
3639,
368,
309,
1158,
1898,
10197,
977,
316,
333,
756,
3639,
368,
582,
18,
84,
2932,
7330,
310,
364,
2488,
358,
1024,
756,
8863,
3639,
309,
261,
10001,
67,
10047,
18,
409,
67,
1615,
1545,
2807,
67,
10047,
18,
588,
7786,
1528,
7675,
2469,
10756,
288,
5411,
327,
638,
31,
3639,
289,
3639,
327,
629,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
23358,
1768,
12,
1042,
276,
16,
2029,
783,
67,
2159,
16,
16355,
3514,
2807,
67,
10047,
13,
288,
3639,
368,
8089,
2186,
11526,
1404,
1416,
16,
1427,
2731,
598,
333,
1245,
3639,
309,
261,
3744,
1304,
18,
291,
5729,
72,
12,
71,
16,
783,
67,
2159,
3719,
288,
759,
430,
12,
1745,
1276,
6910,
72,
1350,
13,
5411,
327,
638,
31,
3639,
289,
3639,
309,
261,
3744,
1304,
18,
291,
42,
383,
690,
1768,
12,
2972,
67,
2159,
16,
276,
3719,
288,
759,
430,
12,
1745,
1276,
478,
383,
690,
1768,
1350,
13,
5411,
327,
638,
31,
3639,
289,
3639,
309,
261,
71,
18,
588,
14261,
1042,
7675,
588,
3744,
1733,
7675,
291,
7634,
12,
2
] |
SimpleDateFormat dateFormat = new java.text.SimpleDateFormat("MM.dd.yyyy");
|
SimpleDateFormat dateFormat = new java.text.SimpleDateFormat("dd.MM.yyyy");
|
public byte[] getContent(CmsObject cms, String templateFile, String elementName, Hashtable parameters, String templateSelector) throws CmsException { if(C_DEBUG && A_OpenCms.isLogging()) { A_OpenCms.log(C_OPENCMS_DEBUG, this.getClassName() + "getting content of element " + ((elementName==null)?"<root>":elementName)); A_OpenCms.log(C_OPENCMS_DEBUG, this.getClassName() + "template file is: " + templateFile); A_OpenCms.log(C_OPENCMS_DEBUG, this.getClassName() + "selected template section is: " + ((templateSelector==null)?"<default>":templateSelector)); } CmsXmlTemplateFile templateDocument = getOwnTemplateFile(cms, templateFile, elementName, parameters, templateSelector); CmsRequestContext reqCont = cms.getRequestContext(); I_CmsRegistry reg = cms.getRegistry(); I_CmsSession session = cms.getRequestContext().getSession(true); String step = (String)parameters.get(C_STEP); SimpleDateFormat dateFormat = new java.text.SimpleDateFormat("MM.dd.yyyy"); if ((step == null) || "".equals(step)){ templateDocument.setData(C_PACKETNAME, ""); templateDocument.setData(C_VERSION, "1"); templateDocument.setData(C_MODULENAME, ""); templateDocument.setData(C_DESCRIPTION, ""); templateDocument.setData(C_VIEW, ""); templateDocument.setData(C_ADMINPOINT, ""); templateDocument.setData(C_MAINTENANCE, ""); templateDocument.setData(C_AUTHOR, ""); templateDocument.setData(C_EMAIL, ""); // set the current date: templateDocument.setData(C_DATE, dateFormat.format(new Date())); }else{ if ("OK".equals(step)){ String packetname = (String)parameters.get(C_PACKETNAME); String modulename = (String)parameters.get(C_MODULENAME); String version = (String)parameters.get(C_VERSION); String description = (String)parameters.get(C_DESCRIPTION); String view = (String)parameters.get(C_VIEW); String adminpoint = (String)parameters.get(C_ADMINPOINT); String maintenance = (String)parameters.get(C_MAINTENANCE); String author = (String)parameters.get(C_AUTHOR); String email = (String)parameters.get(C_EMAIL); String createDate = (String)parameters.get(C_DATE); boolean moduleExists = reg.moduleExists(packetname); int v = -1; try{ v=Integer.parseInt(version); }catch(Exception e){} if ((packetname == null) || ("".equals(packetname)) ||(version == null)||("".equals(version))|| moduleExists || (v <0)){ Hashtable sessionData = new Hashtable(); sessionData.put(C_MODULENAME, getStringValue(modulename)); sessionData.put(C_VERSION, getStringValue(version)); sessionData.put(C_DESCRIPTION, getStringValue(description)); sessionData.put(C_VIEW, getStringValue(view)); sessionData.put(C_ADMINPOINT, getStringValue(adminpoint)); sessionData.put(C_MAINTENANCE, getStringValue(maintenance)); sessionData.put(C_AUTHOR, getStringValue(author)); sessionData.put(C_EMAIL, getStringValue(email)); sessionData.put(C_DATE, getStringValue(createDate)); session.putValue(C_SESSION_DATA, sessionData); if (moduleExists){ templateSelector = "errorexists"; }else{ templateSelector = "errornoname"; } }else{ // create the module (first test if we are in a project including /system/ tryToCreateFolder(cms, "/system/", "modules"); try{ cms.createFolder("/system/modules/", packetname); }catch(Exception e){ //throw new CmsException("couldn't create Module, sorry ", e); templateDocument.setData("details", Utils.getStackTrace(e)); return startProcessing(cms, templateDocument, elementName, parameters, "errorProject"); } long createDateLong = 0; try{ createDateLong = dateFormat.parse(createDate).getTime(); }catch(Exception exc){ createDateLong = (new Date()).getTime(); } reg.createModule(packetname, getStringValue(modulename), getStringValue(description), getStringValue(author), createDateLong, v); reg.setModuleAuthorEmail(packetname, getStringValue(email)); reg.setModuleMaintenanceEventClass(packetname, getStringValue(maintenance)); tryToCreateFolder(cms, "/system/", "classes"); tryToCreateFolder(cms, "/", "moduledemos"); tryToCreateFolder(cms, "/moduledemos/", packetname ); // create the class folder: Vector cFolders = new Vector(); String workString = packetname; while(workString.lastIndexOf('.') >-1){ cFolders.addElement(workString.substring(workString.lastIndexOf('.')+1)); workString = workString.substring(0, workString.lastIndexOf('.')); } tryToCreateFolder(cms, "/system/classes/", workString); workString = "/system/classes/" + workString +"/"; for (int i = cFolders.size()-1; i>= 0; i--){ tryToCreateFolder(cms, workString, (String)cFolders.elementAt(i)); workString = workString + (String)cFolders.elementAt(i) + "/"; } String modulePath = "/system/modules/"+ packetname+"/"; tryToCreateFolder(cms, modulePath, "templates"); tryToCreateFolder(cms, modulePath, "language"); tryToCreateFolder(cms, modulePath + "language/", "de"); tryToCreateFolder(cms, modulePath + "language/", "uk"); tryToCreateFolder(cms, modulePath , "doc"); reg.setModuleDocumentPath(packetname, modulePath +"doc/index.html"); if ("checked".equals(view)){ reg.setModuleView(packetname, packetname.replace('.','_')+".view", modulePath+"view/index.html"); tryToCreateFolder(cms, modulePath, "view"); } if ("checked".equals(adminpoint)){ tryToCreateFolder(cms, modulePath, "administration"); tryToCreateFolder(cms, modulePath, "pics"); } try{ cms.getRequestContext().getResponse().sendCmsRedirect(getConfigFile(cms).getWorkplaceAdministrationPath() +"module/index.html"); } catch (Exception e) { throw new CmsException("Redirect fails :system/workplace/administration/module/index.html",CmsException.C_UNKNOWN_EXCEPTION,e); } return null; } }else if ("fromerrorpage".equals(step)){ Hashtable sessionData = (Hashtable)session.getValue(C_SESSION_DATA); session.removeValue(C_SESSION_DATA); templateDocument.setData(C_PACKETNAME, ""); templateDocument.setData(C_VERSION, (String)sessionData.get(C_VERSION)); templateDocument.setData(C_MODULENAME, (String)sessionData.get(C_MODULENAME)); templateDocument.setData(C_DESCRIPTION, (String)sessionData.get(C_DESCRIPTION)); templateDocument.setData(C_VIEW, (String)sessionData.get(C_VIEW)); templateDocument.setData(C_ADMINPOINT, (String)sessionData.get(C_ADMINPOINT)); templateDocument.setData(C_MAINTENANCE, (String)sessionData.get(C_MAINTENANCE)); templateDocument.setData(C_AUTHOR, (String)sessionData.get(C_AUTHOR)); templateDocument.setData(C_EMAIL, (String)sessionData.get(C_EMAIL)); templateDocument.setData(C_DATE, (String)sessionData.get(C_DATE)); templateSelector = ""; } } // Now load the template file and start the processing return startProcessing(cms, templateDocument, elementName, parameters, templateSelector); }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/ed24e92caeb8c155ed4ce1023a481cb994b48604/CmsAdminModuleCreate.java/buggy/src/com/opencms/workplace/CmsAdminModuleCreate.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1160,
8526,
5154,
12,
4747,
921,
6166,
16,
514,
28215,
16,
514,
14453,
16,
18559,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
202,
202,
430,
12,
39,
67,
9394,
597,
432,
67,
3678,
4747,
18,
291,
7735,
10756,
288,
1082,
202,
37,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
9394,
16,
333,
18,
588,
3834,
1435,
397,
315,
588,
1787,
913,
434,
930,
315,
397,
14015,
2956,
461,
631,
2011,
13,
7225,
32,
3085,
2984,
30,
2956,
461,
10019,
1082,
202,
37,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
9394,
16,
333,
18,
588,
3834,
1435,
397,
315,
3202,
585,
353,
30,
315,
397,
28215,
1769,
1082,
202,
37,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
9394,
16,
333,
18,
588,
3834,
1435,
397,
315,
8109,
1542,
2442,
353,
30,
315,
397,
14015,
3202,
4320,
631,
2011,
13,
7225,
32,
1886,
2984,
30,
3202,
4320,
10019,
202,
202,
97,
9506,
202,
4747,
4432,
2283,
812,
1542,
2519,
273,
336,
5460,
2283,
812,
12,
6851,
16,
28215,
16,
14453,
16,
1472,
16,
1542,
4320,
1769,
202,
202,
4747,
21426,
1111,
660,
273,
6166,
18,
588,
21426,
5621,
565,
202,
202,
45,
67,
4747,
4243,
960,
273,
6166,
18,
588,
4243,
5621,
1082,
202,
45,
67,
4747,
2157,
1339,
273,
6166,
18,
588,
21426,
7675,
588,
2157,
12,
3767,
1769,
202,
202,
780,
2235,
273,
261,
780,
13,
3977,
18,
588,
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,
1160,
8526,
5154,
12,
4747,
921,
6166,
16,
514,
28215,
16,
514,
14453,
16,
18559,
1472,
16,
514,
1542,
4320,
13,
1216,
11228,
288,
202,
202,
430,
12,
39,
67,
9394,
597,
432,
67,
3678,
4747,
18,
291,
7735,
10756,
288,
1082,
202,
37,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
9394,
16,
333,
18,
588,
3834,
1435,
397,
315,
588,
1787,
913,
434,
930,
315,
397,
14015,
2956,
461,
631,
2011,
13,
7225,
32,
3085,
2984,
30,
2956,
461,
10019,
1082,
202,
37,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
9394,
16,
333,
18,
588,
3834,
1435,
397,
315,
3202,
585,
353,
30,
315,
397,
28215,
1769,
2
] |
&& name.length > prefixLen && Character.isUpperCase(name[prefixLen])) {
|
&& name.length > prefixLen && ScannerHelper.isUpperCase(name[prefixLen])) {
|
public static char[] suggestGetterName(IJavaProject project, char[] fieldName, int modifiers, boolean isBoolean, char[][] excludedNames) { if (isBoolean) { char[] name = removePrefixAndSuffixForFieldName(project, fieldName, modifiers); int prefixLen = GETTER_BOOL_NAME.length; if (CharOperation.prefixEquals(GETTER_BOOL_NAME, name) && name.length > prefixLen && Character.isUpperCase(name[prefixLen])) { return suggestNewName(name, excludedNames); } else { return suggestNewName( CharOperation.concat(GETTER_BOOL_NAME, suggestAccessorName(project, fieldName, modifiers)), excludedNames ); } } else { return suggestNewName( CharOperation.concat(GETTER_NAME, suggestAccessorName(project, fieldName, modifiers)), excludedNames ); } }
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/6cefacaaf91a5190221cb83191ea60dad1636887/NamingConventions.java/clean/org.eclipse.jdt.core/model/org/eclipse/jdt/core/NamingConventions.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1149,
8526,
19816,
8461,
461,
12,
45,
5852,
4109,
1984,
16,
1149,
8526,
4289,
16,
509,
10429,
16,
1250,
29921,
16,
1149,
63,
6362,
65,
8845,
1557,
13,
288,
202,
202,
430,
261,
291,
5507,
13,
288,
1082,
202,
3001,
8526,
508,
273,
1206,
2244,
1876,
5791,
1290,
7287,
12,
4406,
16,
4289,
16,
10429,
1769,
1082,
202,
474,
1633,
2891,
273,
225,
17788,
11976,
67,
19040,
67,
1985,
18,
2469,
31,
1082,
202,
430,
261,
2156,
2988,
18,
3239,
8867,
12,
7113,
11976,
67,
19040,
67,
1985,
16,
508,
13,
4697,
202,
10,
10,
508,
18,
2469,
405,
1633,
2891,
597,
6577,
18,
291,
8915,
12,
529,
63,
3239,
2891,
22643,
288,
9506,
202,
2463,
19816,
1908,
461,
12,
529,
16,
8845,
1557,
1769,
1082,
202,
97,
469,
288,
9506,
202,
2463,
19816,
1908,
461,
12,
6862,
202,
2156,
2988,
18,
16426,
12,
7113,
11976,
67,
19040,
67,
1985,
16,
19816,
8235,
461,
12,
4406,
16,
4289,
16,
10429,
13,
3631,
6862,
202,
24602,
1557,
9506,
202,
1769,
1082,
202,
97,
202,
202,
97,
469,
288,
1082,
202,
2463,
19816,
1908,
461,
12,
9506,
202,
2156,
2988,
18,
16426,
12,
7113,
11976,
67,
1985,
16,
19816,
8235,
461,
12,
4406,
16,
4289,
16,
10429,
13,
3631,
9506,
202,
24602,
1557,
1082,
202,
1769,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1149,
8526,
19816,
8461,
461,
12,
45,
5852,
4109,
1984,
16,
1149,
8526,
4289,
16,
509,
10429,
16,
1250,
29921,
16,
1149,
63,
6362,
65,
8845,
1557,
13,
288,
202,
202,
430,
261,
291,
5507,
13,
288,
1082,
202,
3001,
8526,
508,
273,
1206,
2244,
1876,
5791,
1290,
7287,
12,
4406,
16,
4289,
16,
10429,
1769,
1082,
202,
474,
1633,
2891,
273,
225,
17788,
11976,
67,
19040,
67,
1985,
18,
2469,
31,
1082,
202,
430,
261,
2156,
2988,
18,
3239,
8867,
12,
7113,
11976,
67,
19040,
67,
1985,
16,
508,
13,
4697,
202,
10,
10,
508,
18,
2469,
405,
1633,
2891,
597,
6577,
18,
291,
8915,
12,
529,
63,
3239,
2891,
22643,
288,
9506,
202,
2
] |
if (s_interfaceMetaDataCache.containsKey(className)) { return (InterfaceMetaData)s_interfaceMetaDataCache.get(className);
|
if (m_metaDataMakerDelegate.m_interfaceMetaDataCache.containsKey(className)) { return (InterfaceMetaData)m_metaDataMakerDelegate.m_interfaceMetaDataCache.get(className);
|
private static InterfaceMetaData createInterfaceMetaData(final CtClass javaClass) throws NotFoundException { if (javaClass == null) { throw new IllegalArgumentException("class can not be null"); } String className = javaClass.getName().replace('/', '.'); ; if (s_interfaceMetaDataCache.containsKey(className)) { return (InterfaceMetaData)s_interfaceMetaDataCache.get(className); } InterfaceMetaDataImpl interfaceMetaData = new InterfaceMetaDataImpl(); interfaceMetaData.setName(className); // TODO not supported by Javassist ??// // attributes// for (Iterator attrs = javaClass.getClassFile().getAttributes().iterator(); attrs.hasNext();) {// addAttribute(interfaceMetaData, ((AttributeInfo)attrs.next()));// } //try { List interfaceList = new ArrayList(); CtClass[] interfaces = javaClass.getInterfaces(); for (int i = 0; i < interfaces.length; i++) { CtClass anInterface = interfaces[i]; interfaceList.add(createInterfaceMetaData(anInterface)); } interfaceMetaData.setInterfaces(interfaceList); //} //catch (NotFoundException e) { // throw new WrappedRuntimeException(e); //} synchronized (s_interfaceMetaDataCache) { s_interfaceMetaDataCache.put(interfaceMetaData.getName(), interfaceMetaData); } return interfaceMetaData; }
|
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/6f8616a2dc12a90f3e05e2c8ffea567dda54b5cb/JavassistMetaDataMaker.java/clean/aspectwerkz2/src/main/org/codehaus/aspectwerkz/metadata/JavassistMetaDataMaker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
6682,
6998,
752,
1358,
6998,
12,
6385,
30714,
797,
2252,
797,
13,
5411,
1216,
12323,
288,
3639,
309,
261,
6290,
797,
422,
446,
13,
288,
5411,
604,
394,
2754,
2932,
1106,
848,
486,
506,
446,
8863,
3639,
289,
3639,
514,
2658,
273,
2252,
797,
18,
17994,
7675,
2079,
2668,
19,
2187,
2611,
1769,
3639,
274,
3639,
309,
261,
87,
67,
5831,
6998,
1649,
18,
12298,
653,
12,
12434,
3719,
288,
5411,
327,
261,
1358,
6998,
13,
87,
67,
5831,
6998,
1649,
18,
588,
12,
12434,
1769,
3639,
289,
3639,
6682,
6998,
2828,
1560,
6998,
273,
394,
6682,
6998,
2828,
5621,
3639,
1560,
6998,
18,
542,
461,
12,
12434,
1769,
3639,
368,
2660,
486,
3260,
635,
804,
842,
428,
376,
5317,
759,
3639,
368,
1677,
759,
3639,
364,
261,
3198,
3422,
273,
2252,
797,
18,
588,
797,
812,
7675,
588,
2498,
7675,
9838,
5621,
3422,
18,
5332,
2134,
5621,
13,
288,
759,
5411,
10759,
12,
5831,
6998,
16,
14015,
1499,
966,
13,
7039,
18,
4285,
1435,
10019,
759,
3639,
289,
3639,
368,
698,
288,
3639,
987,
1560,
682,
273,
394,
2407,
5621,
3639,
30714,
797,
8526,
7349,
273,
2252,
797,
18,
588,
10273,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7349,
18,
2469,
31,
277,
27245,
288,
5411,
30714,
797,
392,
1358,
273,
7349,
63,
77,
15533,
5411,
1560,
682,
18,
1289,
12,
2640,
1358,
6998,
12,
304,
1358,
10019,
3639,
289,
3639,
1560,
6998,
18,
542,
10273,
12,
5831,
682,
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,
6682,
6998,
752,
1358,
6998,
12,
6385,
30714,
797,
2252,
797,
13,
5411,
1216,
12323,
288,
3639,
309,
261,
6290,
797,
422,
446,
13,
288,
5411,
604,
394,
2754,
2932,
1106,
848,
486,
506,
446,
8863,
3639,
289,
3639,
514,
2658,
273,
2252,
797,
18,
17994,
7675,
2079,
2668,
19,
2187,
2611,
1769,
3639,
274,
3639,
309,
261,
87,
67,
5831,
6998,
1649,
18,
12298,
653,
12,
12434,
3719,
288,
5411,
327,
261,
1358,
6998,
13,
87,
67,
5831,
6998,
1649,
18,
588,
12,
12434,
1769,
3639,
289,
3639,
6682,
6998,
2828,
1560,
6998,
273,
394,
6682,
6998,
2828,
5621,
3639,
1560,
6998,
18,
542,
461,
12,
12434,
1769,
3639,
368,
2660,
486,
3260,
635,
804,
2
] |
public boolean next() throws IOException { if (field == null) return false; boolean next = termEnum.next(); // still within field? if (next && termEnum.term().field() == field) return true; // yes, keep going termEnum.close(); // close old termEnum // find the next field, if any field = (String)fieldToReader.tailMap(field).firstKey(); if (field != null) { termEnum = ((IndexReader)fieldToReader.get(field)).terms(); return true; } return false; // no more fields }
|
1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/1e700534ccb88e708329e4a45125699bf04aea11/ParallelReader.java/clean/src/java/org/apache/lucene/index/ParallelReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1024,
1435,
1216,
1860,
288,
1377,
309,
261,
1518,
422,
446,
13,
3639,
327,
629,
31,
1377,
1250,
1024,
273,
2481,
3572,
18,
4285,
5621,
1377,
368,
4859,
3470,
652,
35,
1377,
309,
261,
4285,
597,
2481,
3572,
18,
6408,
7675,
1518,
1435,
422,
652,
13,
3639,
327,
638,
31,
17311,
368,
12465,
16,
3455,
8554,
5411,
2481,
3572,
18,
4412,
5621,
21821,
368,
1746,
1592,
2481,
3572,
1377,
368,
1104,
326,
1024,
652,
16,
309,
1281,
1377,
652,
273,
261,
780,
13,
1518,
774,
2514,
18,
13101,
863,
12,
1518,
2934,
3645,
653,
5621,
1377,
309,
261,
1518,
480,
446,
13,
288,
3639,
2481,
3572,
273,
14015,
1016,
2514,
13,
1518,
774,
2514,
18,
588,
12,
1518,
13,
2934,
10112,
5621,
3639,
327,
638,
31,
1377,
289,
1377,
327,
629,
31,
1171,
9079,
368,
1158,
1898,
1466,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1024,
1435,
1216,
1860,
288,
1377,
309,
261,
1518,
422,
446,
13,
3639,
327,
629,
31,
1377,
1250,
1024,
273,
2481,
3572,
18,
4285,
5621,
1377,
368,
4859,
3470,
652,
35,
1377,
309,
261,
4285,
597,
2481,
3572,
18,
6408,
7675,
1518,
1435,
422,
652,
13,
3639,
327,
638,
31,
17311,
368,
12465,
16,
3455,
8554,
5411,
2481,
3572,
18,
4412,
5621,
21821,
368,
1746,
1592,
2481,
3572,
1377,
368,
1104,
326,
1024,
652,
16,
309,
1281,
1377,
652,
273,
261,
780,
13,
1518,
774,
2514,
18,
13101,
863,
12,
1518,
2934,
3645,
653,
5621,
1377,
309,
261,
1518,
480,
446,
13,
288,
3639,
2481,
3572,
273,
14015,
1016,
2514,
13,
1518,
774,
2514,
18,
588,
2
] |
||
this.expression = expression;
|
this.expression = expression;
|
public JexlExpression(Expression expression) { this.expression = expression; }
|
51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/ed885dee7d315dcab3e18c17a0ba9823bcce7968/JexlExpression.java/clean/src/java/org/apache/commons/jelly/expression/jexl/JexlExpression.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
804,
338,
80,
2300,
12,
2300,
2652,
13,
288,
202,
202,
2211,
18,
8692,
273,
2652,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
804,
338,
80,
2300,
12,
2300,
2652,
13,
288,
202,
202,
2211,
18,
8692,
273,
2652,
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
] |
log.log( Level.WARNING, e.getMessage( ), e );
|
addException( context, e );
|
public static void handleOnRender( ContainerContent content, ExecutionContext context ) { try { ReportItemDesign listDesign = ( ReportItemDesign ) content .getGenerateBy( ); IListInstance list = new ListInstance( content, context ); if ( handleJS( list, listDesign.getOnRender( ), context ).didRun( ) ) return; IListEventHandler eh = ( IListEventHandler ) getInstance( ( ListHandle ) listDesign .getHandle( ) ); if ( eh != null ) eh.onRender( list, context.getReportContext( ) ); } catch ( Exception e ) { log.log( Level.WARNING, e.getMessage( ), e ); } }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/c0422a1db84842d1e332663c3d4c7e2a8109aca8/ListScriptExecutor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/ListScriptExecutor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1640,
1398,
3420,
12,
4039,
1350,
913,
16,
1082,
202,
3210,
1042,
819,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
4820,
1180,
15478,
666,
15478,
273,
261,
8706,
1180,
15478,
262,
913,
6862,
202,
18,
588,
4625,
858,
12,
11272,
1082,
202,
45,
682,
1442,
666,
273,
394,
987,
1442,
12,
913,
16,
819,
11272,
1082,
202,
430,
261,
1640,
6479,
12,
666,
16,
666,
15478,
18,
588,
1398,
3420,
12,
262,
16,
819,
262,
18,
14044,
1997,
12,
262,
262,
9506,
202,
2463,
31,
1082,
202,
45,
682,
16402,
20124,
273,
261,
467,
682,
16402,
262,
3694,
12,
261,
987,
3259,
262,
666,
15478,
6862,
202,
18,
588,
3259,
12,
262,
11272,
1082,
202,
430,
261,
20124,
480,
446,
262,
9506,
202,
73,
76,
18,
265,
3420,
12,
666,
16,
819,
18,
588,
4820,
1042,
12,
262,
11272,
202,
202,
97,
1044,
261,
1185,
425,
262,
202,
202,
95,
1082,
202,
1330,
18,
1330,
12,
4557,
18,
9511,
16,
425,
18,
24906,
12,
262,
16,
425,
11272,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
1640,
1398,
3420,
12,
4039,
1350,
913,
16,
1082,
202,
3210,
1042,
819,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
4820,
1180,
15478,
666,
15478,
273,
261,
8706,
1180,
15478,
262,
913,
6862,
202,
18,
588,
4625,
858,
12,
11272,
1082,
202,
45,
682,
1442,
666,
273,
394,
987,
1442,
12,
913,
16,
819,
11272,
1082,
202,
430,
261,
1640,
6479,
12,
666,
16,
666,
15478,
18,
588,
1398,
3420,
12,
262,
16,
819,
262,
18,
14044,
1997,
12,
262,
262,
9506,
202,
2463,
31,
1082,
202,
45,
682,
16402,
20124,
273,
261,
467,
682,
16402,
262,
3694,
12,
261,
987,
3259,
262,
666,
15478,
6862,
202,
18,
588,
3259,
2
] |
aload(lVar1.getJRegister()); classFile.add(ByteCode.GETSTATIC,
|
cfw.addALoad(lVar1.getJRegister()); cfw.add(ByteCode.GETSTATIC,
|
private void visitIfJumpRelOp(Node node, Node child, int trueGOTO, int falseGOTO) { int type = node.getType(); if (type == Token.INSTANCEOF || type == Token.IN) { generateCodeFromNode(child, node); generateCodeFromNode(child.getNext(), node); aload(variableObjectLocal); addScriptRuntimeInvoke( (type == Token.INSTANCEOF) ? "instanceOf" : "in", "(Ljava/lang/Object;" +"Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +")Z"); addByteCode(ByteCode.IFNE, trueGOTO); addByteCode(ByteCode.GOTO, falseGOTO); return; } int childNumberFlag = node.getIntProp(Node.ISNUMBER_PROP, -1); if (childNumberFlag == Node.BOTH) { generateCodeFromNode(child, node); generateCodeFromNode(child.getNext(), node); genSimpleCompare(type, trueGOTO, falseGOTO); } else { Node rChild = child.getNext(); boolean leftIsDCP = nodeIsDirectCallParameter(child); boolean rightIsDCP = nodeIsDirectCallParameter(rChild); if (leftIsDCP || rightIsDCP) { if (leftIsDCP) { if (rightIsDCP) { OptLocalVariable lVar1, lVar2; lVar1 = (OptLocalVariable)child.getProp( Node.VARIABLE_PROP); aload(lVar1.getJRegister()); classFile.add(ByteCode.GETSTATIC, "java/lang/Void", "TYPE", "Ljava/lang/Class;"); int notNumbersLabel = acquireLabel(); addByteCode(ByteCode.IF_ACMPNE, notNumbersLabel); lVar2 = (OptLocalVariable)rChild.getProp( Node.VARIABLE_PROP); aload(lVar2.getJRegister()); classFile.add(ByteCode.GETSTATIC, "java/lang/Void", "TYPE", "Ljava/lang/Class;"); addByteCode(ByteCode.IF_ACMPNE, notNumbersLabel); dload((short)(lVar1.getJRegister() + 1)); dload((short)(lVar2.getJRegister() + 1)); genSimpleCompare(type, trueGOTO, falseGOTO); markLabel(notNumbersLabel); // fall thru to generic handling } else { // just the left child is a DCP, if the right child // is a number it's worth testing the left if (childNumberFlag == Node.RIGHT) { OptLocalVariable lVar1; lVar1 = (OptLocalVariable)child.getProp( Node.VARIABLE_PROP); aload(lVar1.getJRegister()); classFile.add(ByteCode.GETSTATIC, "java/lang/Void", "TYPE", "Ljava/lang/Class;"); int notNumbersLabel = acquireLabel(); addByteCode(ByteCode.IF_ACMPNE, notNumbersLabel); dload((short)(lVar1.getJRegister() + 1)); generateCodeFromNode(rChild, node); genSimpleCompare(type, trueGOTO, falseGOTO); markLabel(notNumbersLabel); // fall thru to generic handling } } } else { // just the right child is a DCP, if the left child // is a number it's worth testing the right if (childNumberFlag == Node.LEFT) { OptLocalVariable lVar2; lVar2 = (OptLocalVariable)rChild.getProp( Node.VARIABLE_PROP); aload(lVar2.getJRegister()); classFile.add(ByteCode.GETSTATIC, "java/lang/Void", "TYPE", "Ljava/lang/Class;"); int notNumbersLabel = acquireLabel(); addByteCode(ByteCode.IF_ACMPNE, notNumbersLabel); generateCodeFromNode(child, node); dload((short)(lVar2.getJRegister() + 1)); genSimpleCompare(type, trueGOTO, falseGOTO); markLabel(notNumbersLabel); // fall thru to generic handling } } } generateCodeFromNode(child, node); generateCodeFromNode(rChild, node); if (childNumberFlag == -1) { if (type == Token.GE || type == Token.GT) { addByteCode(ByteCode.SWAP); } String routine = ((type == Token.LT) || (type == Token.GT)) ? "cmp_LT" : "cmp_LE"; addScriptRuntimeInvoke(routine, "(Ljava/lang/Object;" +"Ljava/lang/Object;" +")I"); } else { boolean doubleThenObject = (childNumberFlag == Node.LEFT); if (type == Token.GE || type == Token.GT) { if (doubleThenObject) { addByteCode(ByteCode.DUP_X2); addByteCode(ByteCode.POP); doubleThenObject = false; } else { addByteCode(ByteCode.DUP2_X1); addByteCode(ByteCode.POP2); doubleThenObject = true; } } String routine = ((type == Token.LT) || (type == Token.GT)) ? "cmp_LT" : "cmp_LE"; if (doubleThenObject) addOptRuntimeInvoke(routine, "(DLjava/lang/Object;)I"); else addOptRuntimeInvoke(routine, "(Ljava/lang/Object;D)I"); } addByteCode(ByteCode.IFNE, trueGOTO); addByteCode(ByteCode.GOTO, falseGOTO); } }
|
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/bd2594e6ebd6d8099b587934641c8f7650d87761/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
2047,
26743,
1971,
3817,
12,
907,
756,
16,
2029,
1151,
16,
21394,
509,
638,
43,
27019,
16,
509,
629,
43,
27019,
13,
565,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
309,
261,
723,
422,
3155,
18,
13341,
3932,
747,
618,
422,
3155,
18,
706,
13,
288,
5411,
2103,
1085,
28570,
12,
3624,
16,
756,
1769,
5411,
2103,
1085,
28570,
12,
3624,
18,
588,
2134,
9334,
756,
1769,
5411,
279,
945,
12,
6105,
921,
2042,
1769,
5411,
527,
3651,
5576,
10969,
12,
7734,
261,
723,
422,
3155,
18,
13341,
3932,
13,
692,
315,
1336,
951,
6,
294,
315,
267,
3113,
7734,
7751,
21159,
19,
4936,
19,
921,
4868,
7734,
397,
6,
21159,
19,
4936,
19,
921,
4868,
7734,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
7734,
397,
7923,
62,
8863,
5411,
527,
3216,
1085,
12,
3216,
1085,
18,
5501,
5407,
16,
638,
43,
27019,
1769,
5411,
527,
3216,
1085,
12,
3216,
1085,
18,
43,
27019,
16,
629,
43,
27019,
1769,
5411,
327,
31,
3639,
289,
3639,
509,
1151,
1854,
4678,
273,
756,
18,
588,
1702,
4658,
12,
907,
18,
5127,
9931,
67,
15811,
16,
300,
21,
1769,
3639,
309,
261,
3624,
1854,
4678,
422,
2029,
18,
38,
18307,
13,
288,
5411,
2103,
1085,
28570,
12,
3624,
16,
756,
1769,
5411,
2103,
1085,
28570,
12,
3624,
18,
588,
2134,
9334,
756,
1769,
5411,
3157,
5784,
8583,
12,
723,
16,
638,
43,
27019,
16,
629,
43,
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,
3757,
2047,
26743,
1971,
3817,
12,
907,
756,
16,
2029,
1151,
16,
21394,
509,
638,
43,
27019,
16,
509,
629,
43,
27019,
13,
565,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
309,
261,
723,
422,
3155,
18,
13341,
3932,
747,
618,
422,
3155,
18,
706,
13,
288,
5411,
2103,
1085,
28570,
12,
3624,
16,
756,
1769,
5411,
2103,
1085,
28570,
12,
3624,
18,
588,
2134,
9334,
756,
1769,
5411,
279,
945,
12,
6105,
921,
2042,
1769,
5411,
527,
3651,
5576,
10969,
12,
7734,
261,
723,
422,
3155,
18,
13341,
3932,
13,
692,
315,
1336,
951,
6,
294,
315,
267,
3113,
7734,
7751,
21159,
19,
4936,
19,
921,
4868,
7734,
397,
6,
21159,
2
] |
if (!ourIsEnabled) { return; } Logger.getLogger("svn").log(Level.FINE, message); }
|
if (ourLogger == null || !ourLogger.isFineEnabled()) { return; } ourLogger.logFine(message); }
|
public static void log(String message) { if (!ourIsEnabled) { return; } Logger.getLogger("svn").log(Level.FINE, message); }
|
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/6219d45b96ea8caf1106d29bd53371ebdeedac15/DebugLog.java/buggy/javasvn/src/org/tmatesoft/svn/util/DebugLog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
613,
12,
780,
883,
13,
288,
3639,
309,
16051,
477,
2520,
1526,
13,
288,
5411,
327,
31,
3639,
289,
3639,
4242,
18,
588,
3328,
2932,
31505,
20387,
1330,
12,
2355,
18,
42,
3740,
16,
883,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
613,
12,
780,
883,
13,
288,
3639,
309,
16051,
477,
2520,
1526,
13,
288,
5411,
327,
31,
3639,
289,
3639,
4242,
18,
588,
3328,
2932,
31505,
20387,
1330,
12,
2355,
18,
42,
3740,
16,
883,
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
] |
String filename = "data/cmltestok/nsc3dmol.a1.cml";
|
String filename = "data/cmltestok/nsc3dmol.a2.cml";
|
public void testCMLOK12() { String filename = "data/cmltestok/nsc3dmol.a1.cml"; logger.info("Testing: " + filename); InputStream ins = this.getClass().getClassLoader().getResourceAsStream(filename); try { CMLReader reader = new CMLReader(new InputStreamReader(ins)); ChemFile chemFile = (ChemFile)reader.read((ChemObject)new ChemFile()); // test the resulting ChemFile content assertNotNull(chemFile); assertEquals(chemFile.getChemSequenceCount(), 1); ChemSequence seq = chemFile.getChemSequence(0); assertNotNull(seq); assertEquals(seq.getChemModelCount(), 1); ChemModel model = seq.getChemModel(0); assertNotNull(model); assertEquals(model.getSetOfMolecules().getMoleculeCount(), 1); // test the molecule Molecule mol = model.getSetOfMolecules().getMolecule(0); assertNotNull(mol); assertEquals(15, mol.getAtomCount()); assertEquals(15, mol.getBondCount()); assertFalse(GeometryTools.has3DCoordinates(mol)); assertTrue(GeometryTools.has2DCoordinates(mol)); } catch (Exception e) { fail(e.toString()); e.printStackTrace(); } }
|
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/9a8ae6740c245d3d549fa5e5bf65ea31a733bc02/CML2Test.java/clean/src/org/openscience/cdk/test/io/cml/CML2Test.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
39,
1495,
3141,
2138,
1435,
288,
3639,
514,
1544,
273,
315,
892,
19,
71,
781,
3813,
601,
19,
82,
1017,
23,
10956,
355,
18,
69,
22,
18,
71,
781,
14432,
3639,
1194,
18,
1376,
2932,
22218,
30,
315,
397,
1544,
1769,
3639,
5037,
2763,
273,
333,
18,
588,
797,
7675,
588,
7805,
7675,
588,
1420,
17052,
12,
3459,
1769,
3639,
775,
288,
5411,
385,
1495,
2514,
2949,
273,
394,
385,
1495,
2514,
12,
2704,
15322,
12,
2679,
10019,
5411,
26542,
812,
19028,
812,
273,
261,
20200,
812,
13,
10530,
18,
896,
12443,
20200,
921,
13,
2704,
26542,
812,
10663,
5411,
368,
1842,
326,
8156,
26542,
812,
913,
5411,
25395,
12,
1036,
812,
1769,
5411,
1815,
8867,
12,
1036,
812,
18,
588,
20200,
4021,
1380,
9334,
404,
1769,
5411,
26542,
4021,
3833,
273,
19028,
812,
18,
588,
20200,
4021,
12,
20,
1769,
5411,
25395,
12,
5436,
1769,
5411,
1815,
8867,
12,
5436,
18,
588,
20200,
1488,
1380,
9334,
404,
1769,
5411,
26542,
1488,
938,
273,
3833,
18,
588,
20200,
1488,
12,
20,
1769,
5411,
25395,
12,
2284,
1769,
5411,
1815,
8867,
12,
2284,
18,
588,
694,
951,
49,
29466,
7675,
588,
29669,
1380,
9334,
404,
1769,
5411,
368,
1842,
326,
13661,
5411,
490,
10545,
12629,
273,
938,
18,
588,
694,
951,
49,
29466,
7675,
588,
29669,
12,
20,
1769,
5411,
25395,
12,
21260,
1769,
5411,
1815,
8867,
12,
3600,
16,
12629,
18,
588,
3641,
1380,
10663,
5411,
1815,
8867,
12,
3600,
16,
12629,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
39,
1495,
3141,
2138,
1435,
288,
3639,
514,
1544,
273,
315,
892,
19,
71,
781,
3813,
601,
19,
82,
1017,
23,
10956,
355,
18,
69,
22,
18,
71,
781,
14432,
3639,
1194,
18,
1376,
2932,
22218,
30,
315,
397,
1544,
1769,
3639,
5037,
2763,
273,
333,
18,
588,
797,
7675,
588,
7805,
7675,
588,
1420,
17052,
12,
3459,
1769,
3639,
775,
288,
5411,
385,
1495,
2514,
2949,
273,
394,
385,
1495,
2514,
12,
2704,
15322,
12,
2679,
10019,
5411,
26542,
812,
19028,
812,
273,
261,
20200,
812,
13,
10530,
18,
896,
12443,
20200,
921,
13,
2704,
26542,
812,
10663,
5411,
368,
1842,
326,
8156,
26542,
812,
913,
5411,
25395,
12,
1036,
812,
1769,
5411,
1815,
2
] |
}
|
}
|
public void localInfoChanged(final ITask updateTask) { if (updateTask != null && updateTask.getHandleIdentifier().equals(task.getHandleIdentifier())) { if (PlatformUI.getWorkbench() != null && !PlatformUI.getWorkbench().getDisplay().isDisposed()) { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { if (!description.isDisposed()) { description.setText(updateTask.getDescription()); // TaskInfoEditor.this.setPartName(updateTask.getDescription(true)); parentEditor.changeTitle(); } if (!priorityCombo.isDisposed()) { int selectionIndex = priorityCombo.indexOf(updateTask.getPriority()); priorityCombo.select(selectionIndex); } if (!statusCombo.isDisposed()) { int selectionIndex = statusCombo.indexOf(updateTask.getStatus().toString()); statusCombo.select(selectionIndex); } if (!(updateTask instanceof AbstractRepositoryTask) && !endDate.isDisposed()) { endDate.setText(getTaskDateString(updateTask)); } } }); } } }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/69e04e7c42e5eb4a47290038421a8eae7cf9c92c/TaskInfoEditor.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/editors/TaskInfoEditor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1191,
966,
5033,
12,
6385,
467,
2174,
1089,
2174,
13,
288,
1082,
202,
430,
261,
2725,
2174,
480,
446,
597,
1089,
2174,
18,
588,
3259,
3004,
7675,
14963,
12,
4146,
18,
588,
3259,
3004,
1435,
3719,
288,
9506,
202,
430,
261,
8201,
5370,
18,
588,
2421,
22144,
1435,
480,
446,
597,
401,
8201,
5370,
18,
588,
2421,
22144,
7675,
588,
4236,
7675,
291,
1669,
7423,
10756,
288,
6862,
202,
8201,
5370,
18,
588,
2421,
22144,
7675,
588,
4236,
7675,
3810,
1905,
12,
2704,
10254,
1435,
288,
25083,
202,
482,
918,
1086,
1435,
288,
6862,
1082,
202,
430,
16051,
3384,
18,
291,
1669,
7423,
10756,
288,
6862,
9506,
202,
3384,
18,
542,
1528,
12,
2725,
2174,
18,
588,
3291,
10663,
6862,
9506,
202,
759,
3837,
966,
6946,
18,
2211,
18,
542,
1988,
461,
12,
2725,
2174,
18,
588,
3291,
12,
3767,
10019,
6862,
9506,
202,
2938,
6946,
18,
3427,
4247,
5621,
6862,
1082,
202,
97,
6862,
1082,
202,
430,
16051,
8457,
16156,
18,
291,
1669,
7423,
10756,
288,
6862,
9506,
202,
474,
4421,
1016,
273,
4394,
16156,
18,
31806,
12,
2725,
2174,
18,
588,
8183,
10663,
6862,
9506,
202,
8457,
16156,
18,
4025,
12,
10705,
1016,
1769,
6862,
1082,
202,
97,
6862,
1082,
202,
430,
16051,
2327,
16156,
18,
291,
1669,
7423,
10756,
288,
6862,
9506,
202,
474,
4421,
1016,
273,
1267,
16156,
18,
31806,
12,
2725,
2174,
18,
588,
1482,
7675,
10492,
10663,
6862,
9506,
202,
2327,
16156,
18,
4025,
12,
10705,
1016,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1191,
966,
5033,
12,
6385,
467,
2174,
1089,
2174,
13,
288,
1082,
202,
430,
261,
2725,
2174,
480,
446,
597,
1089,
2174,
18,
588,
3259,
3004,
7675,
14963,
12,
4146,
18,
588,
3259,
3004,
1435,
3719,
288,
9506,
202,
430,
261,
8201,
5370,
18,
588,
2421,
22144,
1435,
480,
446,
597,
401,
8201,
5370,
18,
588,
2421,
22144,
7675,
588,
4236,
7675,
291,
1669,
7423,
10756,
288,
6862,
202,
8201,
5370,
18,
588,
2421,
22144,
7675,
588,
4236,
7675,
3810,
1905,
12,
2704,
10254,
1435,
288,
25083,
202,
482,
918,
1086,
1435,
288,
6862,
1082,
202,
430,
16051,
3384,
18,
291,
1669,
7423,
10756,
288,
6862,
9506,
202,
3384,
18,
542,
1528,
12,
2725,
2174,
2
] |
CompletionTestsRequestor requestor = new CompletionTestsRequestor();
|
CompletionTestsRequestor2 requestor = new CompletionTestsRequestor2(false,false,true);
|
public void testCodeSnippetAssistForClassFileInInnerClass() throws JavaModelException { CompletionTestsRequestor requestor = new CompletionTestsRequestor(); IClassFile cf = getClassFile("SnippetCompletion", "class-folder", "aa.bb.cc", "AClass$Inner.class"); IType type = cf.getType(); String snippet = "int varX;\n" + "int varY;\n" + "var"; char[][] typeNames = {"SuperClass".toCharArray(), "int".toCharArray()}; char[][] names = {"varsc".toCharArray(), "var".toCharArray()}; int[] modifiers = {ClassFileConstants.AccDefault, ClassFileConstants.AccFinal}; String insertAftrer = "Victory{}"; String s = cf.getSource(); int insertion = -1; if(s != null) insertion = s.lastIndexOf(insertAftrer) + insertAftrer.length(); type.codeComplete(snippet.toCharArray(), insertion, snippet.length()-2, typeNames, names, modifiers, false, requestor); assertEquals( "should have 5 completions", "element:var completion:var relevance:"+(R_DEFAULT + R_INTERESTING + R_CASE + R_UNQUALIFIED + R_NON_RESTRICTED)+"\n"+ "element:varX completion:varX relevance:"+(R_DEFAULT + R_INTERESTING + R_CASE + R_UNQUALIFIED + R_NON_RESTRICTED)+"\n"+ "element:varY completion:varY relevance:"+(R_DEFAULT + R_INTERESTING + R_CASE + R_UNQUALIFIED + R_NON_RESTRICTED)+"\n"+ "element:varsc completion:varsc relevance:"+(R_DEFAULT + R_INTERESTING + R_CASE + R_UNQUALIFIED + R_NON_RESTRICTED)+"\n"+ "element:void completion:void relevance:"+(R_DEFAULT + R_INTERESTING + R_CASE + R_NON_RESTRICTED), requestor.getResults());}
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/f6e646cfd67462923a3ee7e8121ae224b9177415/SnippetCompletionTests.java/clean/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/SnippetCompletionTests.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1842,
1085,
19614,
2610,
376,
22581,
812,
382,
2857,
797,
1435,
1216,
5110,
1488,
503,
288,
202,
11238,
4709,
8943,
280,
590,
280,
273,
394,
20735,
4709,
8943,
280,
5621,
202,
45,
797,
812,
6080,
273,
2900,
812,
2932,
19614,
11238,
3113,
315,
1106,
17,
5609,
3113,
315,
7598,
18,
9897,
18,
952,
3113,
315,
37,
797,
8,
2857,
18,
1106,
8863,
202,
45,
559,
618,
273,
6080,
18,
588,
559,
5621,
202,
202,
780,
13016,
273,
3196,
202,
6,
474,
569,
60,
9747,
82,
6,
397,
202,
202,
6,
474,
569,
61,
9747,
82,
6,
397,
202,
202,
6,
1401,
14432,
1082,
202,
3001,
63,
6362,
65,
618,
1557,
273,
12528,
8051,
797,
9654,
869,
15936,
9334,
315,
474,
9654,
869,
15936,
17767,
31,
202,
3001,
63,
6362,
65,
1257,
273,
12528,
1401,
1017,
9654,
869,
15936,
9334,
315,
1401,
9654,
869,
15936,
17767,
31,
202,
474,
8526,
10429,
273,
288,
797,
812,
2918,
18,
8973,
1868,
16,
30614,
2918,
18,
8973,
7951,
20451,
202,
780,
2243,
12664,
313,
264,
273,
315,
58,
933,
630,
9338,
31,
202,
780,
272,
273,
6080,
18,
588,
1830,
5621,
202,
474,
12626,
273,
300,
21,
31,
202,
430,
12,
87,
480,
446,
13,
202,
202,
6387,
285,
273,
272,
18,
2722,
31985,
12,
6387,
12664,
313,
264,
13,
397,
2243,
12664,
313,
264,
18,
2469,
5621,
202,
202,
723,
18,
710,
6322,
12,
25788,
18,
869,
15936,
9334,
12626,
16,
13016,
18,
2469,
1435,
17,
22,
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,
1071,
918,
1842,
1085,
19614,
2610,
376,
22581,
812,
382,
2857,
797,
1435,
1216,
5110,
1488,
503,
288,
202,
11238,
4709,
8943,
280,
590,
280,
273,
394,
20735,
4709,
8943,
280,
5621,
202,
45,
797,
812,
6080,
273,
2900,
812,
2932,
19614,
11238,
3113,
315,
1106,
17,
5609,
3113,
315,
7598,
18,
9897,
18,
952,
3113,
315,
37,
797,
8,
2857,
18,
1106,
8863,
202,
45,
559,
618,
273,
6080,
18,
588,
559,
5621,
202,
202,
780,
13016,
273,
3196,
202,
6,
474,
569,
60,
9747,
82,
6,
397,
202,
202,
6,
474,
569,
61,
9747,
82,
6,
397,
202,
202,
6,
1401,
14432,
1082,
202,
3001,
63,
6362,
65,
618,
1557,
273,
12528,
8051,
797,
9654,
869,
15936,
2
] |
repaint();
|
this.repaint();
|
protected void setNominal(Instances plotInstances, int cIndex) { m_isNumeric = false; m_Instances = plotInstances; m_cIndex = cIndex; m_HorizontalPad = 10; setOn(true); m_oldWidth = -9000; //repaint(); /*System.out.println("why"); //removeAll(); int numClasses = m_Instances.attribute(m_cIndex).numValues(); for (int noa = 0; noa < numClasses; noa++) { System.out.println(noa); JLabel jj = new JLabel(m_Instances.attribute(m_cIndex).value(noa)); //jj.setFont(gx.getFont()); //jj.setBackground(Color.black); //jj.setSize(m_labelMetrics.stringWidth(jj.getText()), // m_labelMetrics.getAscent()); //talk about having to do backflips for seemingly //basic things, and flowlayout doesn't set the size of the //component at all (what am i doing wrong !?!?!). //jj.setText("hellod"); add(jj); //System.out.println(jj.getLocation().x); }*/ repaint(); }
|
4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/dc64e78e5cb981247dcf5060d192c6dbdf43d5cd/VisualizePanel.java/buggy/weka/gui/explorer/VisualizePanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
444,
26685,
1490,
12,
5361,
3207,
5361,
16,
509,
276,
1016,
13,
288,
1377,
312,
67,
291,
9902,
273,
629,
31,
1377,
312,
67,
5361,
273,
3207,
5361,
31,
1377,
312,
67,
71,
1016,
273,
276,
1016,
31,
1377,
312,
67,
14457,
14878,
273,
1728,
31,
1377,
22131,
12,
3767,
1769,
1377,
312,
67,
1673,
2384,
273,
300,
29,
3784,
31,
1377,
368,
2211,
18,
14462,
1598,
5621,
1377,
1748,
3163,
18,
659,
18,
8222,
2932,
3350,
93,
8863,
1377,
368,
4479,
1595,
5621,
1377,
509,
818,
4818,
273,
312,
67,
5361,
18,
4589,
12,
81,
67,
71,
1016,
2934,
2107,
1972,
5621,
1377,
364,
261,
474,
1158,
69,
273,
374,
31,
1158,
69,
411,
818,
4818,
31,
1158,
69,
27245,
202,
95,
202,
225,
2332,
18,
659,
18,
8222,
12,
2135,
69,
1769,
202,
225,
21403,
10684,
273,
394,
21403,
12,
81,
67,
5361,
18,
4589,
12,
81,
67,
71,
1016,
2934,
1132,
12,
2135,
69,
10019,
202,
21114,
225,
368,
78,
78,
18,
542,
5711,
12,
75,
92,
18,
588,
5711,
10663,
202,
225,
368,
78,
78,
18,
542,
8199,
12,
2957,
18,
11223,
1769,
202,
225,
368,
78,
78,
18,
542,
1225,
12,
81,
67,
1925,
5653,
18,
1080,
2384,
12,
78,
78,
18,
588,
1528,
1435,
3631,
202,
225,
368,
377,
312,
67,
1925,
5653,
18,
588,
13665,
319,
10663,
202,
225,
368,
88,
2960,
2973,
7999,
358,
741,
1473,
74,
11693,
364,
19264,
310,
715,
202,
225,
368,
13240,
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,
444,
26685,
1490,
12,
5361,
3207,
5361,
16,
509,
276,
1016,
13,
288,
1377,
312,
67,
291,
9902,
273,
629,
31,
1377,
312,
67,
5361,
273,
3207,
5361,
31,
1377,
312,
67,
71,
1016,
273,
276,
1016,
31,
1377,
312,
67,
14457,
14878,
273,
1728,
31,
1377,
22131,
12,
3767,
1769,
1377,
312,
67,
1673,
2384,
273,
300,
29,
3784,
31,
1377,
368,
2211,
18,
14462,
1598,
5621,
1377,
1748,
3163,
18,
659,
18,
8222,
2932,
3350,
93,
8863,
1377,
368,
4479,
1595,
5621,
1377,
509,
818,
4818,
273,
312,
67,
5361,
18,
4589,
12,
81,
67,
71,
1016,
2934,
2107,
1972,
5621,
1377,
364,
261,
474,
1158,
69,
273,
374,
31,
1158,
69,
411,
818,
2
] |
public void end(InterpretationContext ec, String tagName) { // pop the action data object pushed in isApplicable() method call // we assume that each this begin ImplicitActionData actionData = (ImplicitActionData) actionDataStack.pop(); if (actionData.inError) { return; } PropertySetter nestedBean = new PropertySetter(actionData.nestedComponent); // FIXME set parent nestedBean.setComponent( "parent", actionData.parentBean.getObj()); if (actionData.nestedComponent instanceof LifeCycle) { ((LifeCycle) actionData.nestedComponent).start(); } Object o = ec.peekObject(); if (o != actionData.nestedComponent) { addError( "The object on the top the of the stack is not the component pushed earlier."); } else { //getLogger().debug("Removing component from the object stack"); ec.popObject(); // Now let us attach the component switch (actionData.containmentType) { case PropertySetter.AS_COMPONENT: //addInfo("Setting ["+tagName+"}] to parent of type ["+actionData.parentBean.getObjClass()+"]"); actionData.parentBean.setComponent( tagName, actionData.nestedComponent); break; case PropertySetter.AS_COLLECTION: //getLogger().debug( //"Adding [{}] to parent of type [{}]", tagName, //actionData.parentBean.getObjClass()); actionData.parentBean.addComponent( tagName, actionData.nestedComponent); break; } } }
|
52049 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52049/445c93509c33d1cf431a1f997c92db98d3b8fd69/NestedComponentIA.java/clean/logback-core/src/main/java/ch/qos/logback/core/joran/action/NestedComponentIA.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
679,
12,
2465,
15089,
367,
1042,
6557,
16,
514,
7196,
13,
288,
759,
1843,
326,
1301,
501,
733,
18543,
316,
353,
27873,
1435,
707,
745,
759,
732,
6750,
716,
1517,
333,
2376,
15787,
1803,
751,
1301,
751,
273,
261,
15787,
1803,
751,
13,
1301,
751,
2624,
18,
5120,
5621,
430,
261,
1128,
751,
18,
267,
668,
13,
288,
2463,
31,
97,
1396,
8465,
4764,
3381,
273,
394,
4276,
8465,
12,
1128,
751,
18,
12985,
1841,
1769,
759,
25810,
444,
982,
12985,
3381,
18,
542,
1841,
2932,
2938,
3113,
1301,
751,
18,
2938,
3381,
18,
588,
2675,
10663,
430,
261,
1128,
751,
18,
12985,
1841,
1276,
28128,
13279,
13,
288,
12443,
15315,
13279,
13,
1301,
751,
18,
12985,
1841,
2934,
1937,
5621,
97,
921,
320,
273,
6557,
18,
347,
3839,
921,
5621,
430,
261,
83,
480,
1301,
751,
18,
12985,
1841,
13,
288,
1289,
668,
2932,
1986,
733,
603,
326,
1760,
326,
434,
326,
2110,
353,
486,
326,
1794,
18543,
13805,
1199,
1769,
97,
469,
288,
759,
588,
3328,
7675,
4148,
2932,
18939,
1794,
628,
326,
733,
2110,
8863,
557,
18,
5120,
921,
5621,
759,
4494,
2231,
584,
3306,
326,
4085,
30390,
261,
1128,
751,
18,
28744,
475,
559,
13,
288,
3593,
4276,
8465,
18,
3033,
67,
22922,
2207,
1289,
966,
2932,
5568,
8247,
15,
2692,
461,
9078,
11839,
358,
982,
434,
618,
8247,
15,
1128,
751,
18,
2938,
3381,
18,
588,
2675,
797,
1435,
9078,
4279,
1769,
1128,
751,
18,
2938,
3381,
18,
542,
1841,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
679,
12,
2465,
15089,
367,
1042,
6557,
16,
514,
7196,
13,
288,
759,
1843,
326,
1301,
501,
733,
18543,
316,
353,
27873,
1435,
707,
745,
759,
732,
6750,
716,
1517,
333,
2376,
15787,
1803,
751,
1301,
751,
273,
261,
15787,
1803,
751,
13,
1301,
751,
2624,
18,
5120,
5621,
430,
261,
1128,
751,
18,
267,
668,
13,
288,
2463,
31,
97,
1396,
8465,
4764,
3381,
273,
394,
4276,
8465,
12,
1128,
751,
18,
12985,
1841,
1769,
759,
25810,
444,
982,
12985,
3381,
18,
542,
1841,
2932,
2938,
3113,
1301,
751,
18,
2938,
3381,
18,
588,
2675,
10663,
430,
261,
1128,
751,
18,
12985,
1841,
1276,
28128,
13279,
13,
288,
12443,
15315,
13279,
13,
1301,
751,
18,
12985,
2
] |
||
if (compareTo == 0) compareTo = Util.compare(sourceId, castedObject.sourceId);
|
if (compareTo == 0) { compareTo = Util.compare(sourceId, castedObject.sourceId); }
|
public int compareTo(Object object) { ActivityDefinition castedObject = (ActivityDefinition) object; int compareTo = Util.compare(id, castedObject.id); if (compareTo == 0) { compareTo = Util.compare(name, castedObject.name); if (compareTo == 0) compareTo = Util.compare(sourceId, castedObject.sourceId); } return compareTo; }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ActivityDefinition.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/ActivityDefinition.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
9292,
12,
921,
733,
13,
288,
3639,
9621,
1852,
4812,
23016,
273,
261,
6193,
1852,
13,
733,
31,
3639,
509,
9292,
273,
3564,
18,
9877,
12,
350,
16,
4812,
23016,
18,
350,
1769,
3639,
309,
261,
9877,
774,
422,
374,
13,
288,
5411,
9292,
273,
3564,
18,
9877,
12,
529,
16,
4812,
23016,
18,
529,
1769,
5411,
309,
261,
9877,
774,
422,
374,
13,
7734,
9292,
273,
3564,
18,
9877,
12,
3168,
548,
16,
4812,
23016,
18,
3168,
548,
1769,
3639,
289,
3639,
327,
9292,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
9292,
12,
921,
733,
13,
288,
3639,
9621,
1852,
4812,
23016,
273,
261,
6193,
1852,
13,
733,
31,
3639,
509,
9292,
273,
3564,
18,
9877,
12,
350,
16,
4812,
23016,
18,
350,
1769,
3639,
309,
261,
9877,
774,
422,
374,
13,
288,
5411,
9292,
273,
3564,
18,
9877,
12,
529,
16,
4812,
23016,
18,
529,
1769,
5411,
309,
261,
9877,
774,
422,
374,
13,
7734,
9292,
273,
3564,
18,
9877,
12,
3168,
548,
16,
4812,
23016,
18,
3168,
548,
1769,
3639,
289,
3639,
327,
9292,
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
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.