rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
listlengths 256
256
| attention_mask
listlengths 256
256
| labels
listlengths 128
128
|
|---|---|---|---|---|---|---|
parseConfigVars( request, parameterList );
|
parseConfigVars( request, parameterDefList );
|
protected void __initParameters( HttpServletRequest request ) throws Exception { this.reportDesignHandle = getDesignHandle( request ); if ( this.reportDesignHandle == null ) return; InputOptions options = new InputOptions( ); options.setOption( InputOptions.OPT_REQUEST, request ); options.setOption( InputOptions.OPT_LOCALE, locale ); options.setOption( InputOptions.OPT_RTL, new Boolean( rtl ) ); // Get parameter handle list List parameterList = BirtUtility .getParameterList( this.reportDesignHandle ); // when in preview model, parse parameters from config file if ( this.isDesigner && !IBirtConstants.SERVLET_PATH_FRAMESET .equalsIgnoreCase( request.getServletPath( ) ) ) parseConfigVars( request, parameterList ); // Get parameters as String Map this.parametersAsString = getParsedParametersAsString( parameterList, request, options ); // Get parameter definition list this.parameterDefList = getReportService( ).getParameterDefinitions( this.reportDesignHandle, options, false ); // Check if miss parameter if ( documentInUrl ) this.missingParameter = false; else this.missingParameter = BirtUtility.validateParameters( parameterDefList, this.parametersAsString ); // Get parameters as String Map with default value this.parametersAsString = getParsedParametersAsStringWithDefaultValue( this.parametersAsString, request, options ); // Get parameters as Object Map this.parameters = (HashMap) getParsedParameters( this.reportDesignHandle, parameterList, request, options ); // Get display text of select parameters this.displayTexts = BirtUtility.getDisplayTexts( this.displayTexts, request ); }
|
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e67b6a4506a01d4fbb741a982d76ef6cb9dba851/ViewerAttributeBean.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1001,
2738,
2402,
12,
9984,
590,
262,
1082,
202,
15069,
1185,
202,
95,
202,
202,
2211,
18,
6006,
15478,
3259,
273,
2343,
281,
724,
3259,
12,
590,
11272,
202,
202,
430,
261,
333,
18,
6006,
15478,
3259,
422,
446,
262,
1082,
202,
2463,
31,
202,
202,
1210,
1320,
702,
273,
394,
2741,
1320,
12,
11272,
202,
202,
2116,
18,
542,
1895,
12,
2741,
1320,
18,
15620,
67,
5519,
16,
590,
11272,
202,
202,
2116,
18,
542,
1895,
12,
2741,
1320,
18,
15620,
67,
25368,
16,
2573,
11272,
202,
202,
2116,
18,
542,
1895,
12,
2741,
1320,
18,
15620,
67,
54,
5967,
16,
394,
3411,
12,
436,
6172,
262,
11272,
202,
202,
759,
968,
1569,
1640,
666,
202,
202,
682,
1569,
682,
273,
605,
2714,
6497,
9506,
202,
18,
588,
1662,
682,
12,
333,
18,
6006,
15478,
3259,
11272,
202,
202,
759,
1347,
316,
10143,
938,
16,
1109,
1472,
628,
642,
585,
202,
202,
430,
261,
333,
18,
291,
15478,
264,
9506,
202,
10,
10,
401,
13450,
2714,
2918,
18,
31066,
15146,
67,
4211,
67,
15072,
4043,
25083,
202,
18,
14963,
5556,
12,
590,
18,
588,
4745,
743,
12,
262,
262,
262,
1082,
202,
2670,
809,
5555,
12,
590,
16,
1569,
682,
11272,
202,
202,
759,
968,
1472,
487,
514,
1635,
202,
202,
2211,
18,
3977,
8092,
273,
25406,
2402,
8092,
12,
1569,
682,
16,
9506,
202,
2293,
16,
702,
11272,
202,
202,
759,
968,
1569,
2379,
666,
202,
202,
2211,
18,
6775,
3262,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1001,
2738,
2402,
12,
9984,
590,
262,
1082,
202,
15069,
1185,
202,
95,
202,
202,
2211,
18,
6006,
15478,
3259,
273,
2343,
281,
724,
3259,
12,
590,
11272,
202,
202,
430,
261,
333,
18,
6006,
15478,
3259,
422,
446,
262,
1082,
202,
2463,
31,
202,
202,
1210,
1320,
702,
273,
394,
2741,
1320,
12,
11272,
202,
202,
2116,
18,
542,
1895,
12,
2741,
1320,
18,
15620,
67,
5519,
16,
590,
11272,
202,
202,
2116,
18,
542,
1895,
12,
2741,
1320,
18,
15620,
67,
25368,
16,
2573,
11272,
202,
202,
2116,
18,
542,
1895,
12,
2741,
1320,
18,
15620,
67,
54,
5967,
16,
394,
3411,
12,
436,
6172,
262,
11272,
202,
202,
759,
968,
1569,
1640,
2
] |
new ContentProperties(), new NutchConf()));
|
new ContentProperties(), NutchConfiguration.create()));
|
public static void main(String[] args) throws Exception { LOG.setLevel(Level.FINE); String name = args[0]; String url = "file:"+name; File file = new File(name); byte[] bytes = new byte[(int)file.length()]; DataInputStream in = new DataInputStream(new FileInputStream(file)); in.readFully(bytes); Parse parse = new HtmlParser().getParse(new Content(url,url, bytes,"text/html", new ContentProperties(), new NutchConf())); System.out.println("data: "+parse.getData()); System.out.println("text: "+parse.getText()); }
|
50818 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50818/25437bc825d50715dcc9a289a1b4c8fbbc6aced1/HtmlParser.java/buggy/src/plugin/parse-html/src/java/org/apache/nutch/parse/html/HtmlParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1185,
288,
565,
2018,
18,
542,
2355,
12,
2355,
18,
42,
3740,
1769,
565,
514,
508,
273,
833,
63,
20,
15533,
565,
514,
880,
273,
315,
768,
2773,
15,
529,
31,
565,
1387,
585,
273,
394,
1387,
12,
529,
1769,
565,
1160,
8526,
1731,
273,
394,
1160,
63,
12,
474,
13,
768,
18,
2469,
1435,
15533,
565,
29382,
316,
273,
394,
29382,
12,
2704,
11907,
12,
768,
10019,
565,
316,
18,
896,
16999,
12,
3890,
1769,
565,
2884,
1109,
273,
394,
5430,
2678,
7675,
588,
3201,
12,
2704,
3697,
12,
718,
16,
718,
16,
4766,
13491,
1731,
10837,
955,
19,
2620,
3113,
4766,
13491,
394,
3697,
2297,
9334,
423,
322,
343,
1750,
18,
2640,
1435,
10019,
565,
2332,
18,
659,
18,
8222,
2932,
892,
30,
13773,
2670,
18,
588,
751,
10663,
565,
2332,
18,
659,
18,
8222,
2932,
955,
30,
13773,
2670,
18,
588,
1528,
10663,
1377,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
20,
15533,
565,
514,
880,
273,
315,
768,
2773,
15,
529,
31,
565,
1387,
585,
273,
394,
1387,
12,
529,
1769,
565,
1160,
8526,
1731,
273,
394,
1160,
63,
12,
474,
13,
768,
18,
2469,
1435,
15533,
565,
29382,
316,
273,
394,
29382,
12,
2704,
11907,
12,
768,
10019,
565,
316,
18,
896,
16999,
12,
3890,
1769,
565,
2884,
1109,
273,
394,
5430,
2678,
7675,
588,
3201,
12,
2704,
3697,
12,
718,
16,
718,
16,
4766,
13491,
1731,
10837,
955,
19,
2620,
3113,
4766,
13491,
394,
3697,
2297,
9334,
2
] |
List sentences = sTokenizer.tokenize(test);
|
List sentences = sTokenizer.tokenize(text);
|
public List check(String test) throws IOException { SentenceTokenizer sTokenizer = new SentenceTokenizer(); List sentences = sTokenizer.tokenize(test); List ruleMatches = new ArrayList(); List allRules = getAllRules(); printIfVerbose(allRules.size() + " rules activated for language " + language); int tokenCount = 0; int lineCount = 0; int columnCount = 0; for (Iterator iter = sentences.iterator(); iter.hasNext();) { String sentence = (String) iter.next(); AnalyzedSentence analyzedText = getAnalyzedSentence(sentence); List sentenceMatches = new ArrayList(); printIfVerbose(analyzedText.toString()); for (Iterator iterator = allRules.iterator(); iterator.hasNext();) { Rule rule = (Rule) iterator.next(); if (disabledRules.contains(rule.getId())) continue; RuleMatch[] thisMatches = rule.match(analyzedText); for (int i = 0; i < thisMatches.length; i++) { // change positions so they are relative to the complete text, // not just to the sentence: RuleMatch thisMatch = new RuleMatch(thisMatches[i].getRule(), thisMatches[i].getFromPos() + tokenCount, thisMatches[i].getToPos() + tokenCount, thisMatches[i].getMessage()); thisMatch.setSuggestedReplacements(thisMatches[i].getSuggestedReplacements()); String sentencePartToError = sentence.substring(0, thisMatches[i].getFromPos()); int lastLineBreakPos = sentencePartToError.lastIndexOf("\n"); int column = -1; if (lastLineBreakPos == -1) { column = sentencePartToError.length() + columnCount; } else { column = sentencePartToError.length() - lastLineBreakPos - 1; } thisMatch.setLine(lineCount + countLineBreaks(sentencePartToError)); thisMatch.setColumn(column); sentenceMatches.add(thisMatch); } } Collections.sort(sentenceMatches); ruleMatches.addAll(sentenceMatches); tokenCount += sentence.length(); lineCount += countLineBreaks(sentence); // calculate matching column: int linebreakPos = sentence.indexOf("\n"); if (linebreakPos == -1) { columnCount += sentence.length(); } else { columnCount = sentence.length() - linebreakPos - 1; } } return ruleMatches; }
|
10628 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10628/af555e86abbc4e9eed91b3f1f085875bcbb98d9b/JLanguageTool.java/clean/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/JLanguageTool.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
987,
866,
12,
780,
1842,
13,
1216,
1860,
288,
565,
29595,
10524,
272,
10524,
273,
394,
29595,
10524,
5621,
565,
987,
14951,
273,
272,
10524,
18,
2316,
554,
12,
955,
1769,
565,
987,
1720,
6869,
273,
394,
2407,
5621,
565,
987,
777,
4478,
273,
5514,
4478,
5621,
565,
1172,
2047,
14489,
12,
454,
4478,
18,
1467,
1435,
397,
315,
2931,
14892,
364,
2653,
315,
397,
2653,
1769,
565,
509,
1147,
1380,
273,
374,
31,
565,
509,
980,
1380,
273,
374,
31,
565,
509,
22429,
273,
374,
31,
565,
364,
261,
3198,
1400,
273,
14951,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
1377,
514,
7515,
273,
261,
780,
13,
1400,
18,
4285,
5621,
1377,
1922,
18409,
17923,
27465,
1528,
273,
336,
979,
18409,
17923,
12,
19335,
1769,
1377,
987,
7515,
6869,
273,
394,
2407,
5621,
1377,
1172,
2047,
14489,
12,
304,
18409,
1528,
18,
10492,
10663,
1377,
364,
261,
3198,
2775,
273,
777,
4478,
18,
9838,
5621,
2775,
18,
5332,
2134,
5621,
13,
288,
3639,
6781,
1720,
273,
261,
2175,
13,
2775,
18,
4285,
5621,
3639,
309,
261,
9278,
4478,
18,
12298,
12,
5345,
18,
26321,
1435,
3719,
1850,
1324,
31,
3639,
6781,
2060,
8526,
333,
6869,
273,
1720,
18,
1916,
12,
304,
18409,
1528,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
333,
6869,
18,
2469,
31,
277,
27245,
288,
1850,
368,
2549,
6865,
1427,
2898,
854,
3632,
358,
326,
3912,
977,
16,
1850,
368,
486,
2537,
358,
326,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
987,
866,
12,
780,
1842,
13,
1216,
1860,
288,
565,
29595,
10524,
272,
10524,
273,
394,
29595,
10524,
5621,
565,
987,
14951,
273,
272,
10524,
18,
2316,
554,
12,
955,
1769,
565,
987,
1720,
6869,
273,
394,
2407,
5621,
565,
987,
777,
4478,
273,
5514,
4478,
5621,
565,
1172,
2047,
14489,
12,
454,
4478,
18,
1467,
1435,
397,
315,
2931,
14892,
364,
2653,
315,
397,
2653,
1769,
565,
509,
1147,
1380,
273,
374,
31,
565,
509,
980,
1380,
273,
374,
31,
565,
509,
22429,
273,
374,
31,
565,
364,
261,
3198,
1400,
273,
14951,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
1377,
514,
7515,
273,
261,
780,
13,
1400,
18,
4285,
5621,
1377,
1922,
2
] |
return super.toString()+"\n"+ " bounds: "+bounds+"\n"+ " x, y, w, h: "+x+" "+y+" "+width+" "+height+"\n"+ " dwROP: "+dwROP+"\n"+ " xSrc, ySrc: "+xSrc+" "+ySrc+"\n"+ " transform: "+transform+"\n"+ " bkg: "+bkg+"\n"+ " usage: "+usage+"\n"+ ((bmi != null) ? bmi.toString() : " bitmap: null");
|
return super.toString() + "\n" + " bounds: " + bounds + "\n" + " x, y, w, h: " + x + " " + y + " " + width + " " + height + "\n" + " dwROP: " + dwROP + "\n" + " xSrc, ySrc: " + xSrc + " " + ySrc + "\n" + " transform: " + transform + "\n" + " bkg: " + bkg + "\n" + " usage: " + usage + "\n" + ((bmi != null) ? bmi.toString() : " bitmap: null");
|
public String toString() { return super.toString()+"\n"+ " bounds: "+bounds+"\n"+ " x, y, w, h: "+x+" "+y+" "+width+" "+height+"\n"+ " dwROP: "+dwROP+"\n"+ " xSrc, ySrc: "+xSrc+" "+ySrc+"\n"+ " transform: "+transform+"\n"+ " bkg: "+bkg+"\n"+ " usage: "+usage+"\n"+ ((bmi != null) ? bmi.toString() : " bitmap: null"); }
|
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/de061d5977b00047b242b52aea5bc47538b063c5/AlphaBlend.java/buggy/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/AlphaBlend.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
288,
3639,
327,
2240,
18,
10492,
1435,
9078,
64,
82,
6,
15,
5411,
315,
225,
4972,
30,
13773,
10576,
9078,
64,
82,
6,
15,
5411,
315,
225,
619,
16,
677,
16,
341,
16,
366,
30,
13773,
92,
9078,
13773,
93,
9078,
13773,
2819,
9078,
13773,
4210,
9078,
64,
82,
6,
15,
5411,
315,
225,
12394,
12578,
30,
13773,
22512,
12578,
9078,
64,
82,
6,
15,
5411,
315,
225,
619,
7740,
16,
677,
7740,
30,
13773,
92,
7740,
9078,
13773,
93,
7740,
9078,
64,
82,
6,
15,
5411,
315,
225,
2510,
30,
13773,
6547,
9078,
64,
82,
6,
15,
5411,
315,
225,
324,
14931,
30,
13773,
70,
14931,
9078,
64,
82,
6,
15,
5411,
315,
225,
4084,
30,
13773,
9167,
9078,
64,
82,
6,
15,
5411,
14015,
70,
9197,
480,
446,
13,
692,
324,
9197,
18,
10492,
1435,
294,
315,
225,
9389,
30,
446,
8863,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
288,
3639,
327,
2240,
18,
10492,
1435,
9078,
64,
82,
6,
15,
5411,
315,
225,
4972,
30,
13773,
10576,
9078,
64,
82,
6,
15,
5411,
315,
225,
619,
16,
677,
16,
341,
16,
366,
30,
13773,
92,
9078,
13773,
93,
9078,
13773,
2819,
9078,
13773,
4210,
9078,
64,
82,
6,
15,
5411,
315,
225,
12394,
12578,
30,
13773,
22512,
12578,
9078,
64,
82,
6,
15,
5411,
315,
225,
619,
7740,
16,
677,
7740,
30,
13773,
92,
7740,
9078,
13773,
93,
7740,
9078,
64,
82,
6,
15,
5411,
315,
225,
2510,
30,
13773,
6547,
9078,
64,
82,
6,
15,
5411,
315,
225,
324,
14931,
30,
13773,
70,
14931,
9078,
64,
82,
6,
15,
5411,
315,
2
] |
for (int i = mid; i < length && array[i].gid <= range.getEnd(); i++) {
|
for (int i = mid; i < length && array[i].gid <= range.getEnd(); i++) {
|
final NodeSet getChildrenInSet( NodeProxy parent, int mode, boolean rememberContext) { NodeSet result = new ExtArrayNodeSet(); // get the range of node ids reserved for children of the parent node Range range = XMLUtil.getChildRange(parent.doc, parent.gid); int low = 0; int high = length - 1; int mid = 0; NodeProxy p; // do a binary search to pick some node in the range of valid child ids while (low <= high) { mid = (low + high) / 2; p = array[mid]; if (range.inRange(p.gid)) break; // found a node, break out if (p.gid > range.getStart()) high = mid - 1; else low = mid + 1; } if (low > high) return result; // no node found // find the first child node in the range while (mid > 0 && array[mid - 1].gid >= range.getStart()) --mid; // walk through the range of child nodes we found for (int i = mid; i < length && array[i].gid <= range.getEnd(); i++) { switch (mode) { case NodeSet.DESCENDANT : if (rememberContext) array[i].addContextNode(parent); else array[i].copyContext(parent); result.add(array[i], range.getDistance()); break; case NodeSet.ANCESTOR : if (rememberContext) parent.addContextNode(array[i]); else parent.copyContext(array[i]); result.add(parent, 1); break; } } return result; }
|
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/0d02dbc1d0f616dab3f8e359783b411587927ee5/ExtArrayNodeSet.java/clean/src/org/exist/dom/ExtArrayNodeSet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
6385,
2029,
694,
10268,
382,
694,
12,
1082,
202,
907,
3886,
982,
16,
1082,
202,
474,
1965,
16,
1082,
202,
6494,
11586,
1042,
13,
288,
1082,
202,
907,
694,
563,
273,
394,
6419,
1076,
907,
694,
5621,
1082,
202,
759,
336,
326,
1048,
434,
756,
3258,
8735,
364,
2325,
434,
326,
982,
756,
1082,
202,
2655,
1048,
273,
3167,
1304,
18,
588,
1763,
2655,
12,
2938,
18,
2434,
16,
982,
18,
15780,
1769,
1082,
202,
474,
4587,
273,
374,
31,
1082,
202,
474,
3551,
273,
769,
300,
404,
31,
1082,
202,
474,
7501,
273,
374,
31,
1082,
202,
907,
3886,
293,
31,
1082,
202,
759,
741,
279,
3112,
1623,
358,
6002,
2690,
756,
316,
326,
1048,
434,
923,
1151,
3258,
1082,
202,
17523,
261,
821,
1648,
3551,
13,
288,
9506,
202,
13138,
273,
261,
821,
397,
3551,
13,
342,
576,
31,
9506,
202,
84,
273,
526,
63,
13138,
15533,
9506,
202,
430,
261,
3676,
18,
267,
2655,
12,
84,
18,
15780,
3719,
6862,
202,
8820,
31,
368,
1392,
279,
756,
16,
898,
596,
9506,
202,
430,
261,
84,
18,
15780,
405,
1048,
18,
588,
1685,
10756,
6862,
202,
8766,
273,
7501,
300,
404,
31,
9506,
202,
12107,
6862,
202,
821,
273,
7501,
397,
404,
31,
1082,
202,
97,
1082,
202,
430,
261,
821,
405,
3551,
13,
9506,
202,
2463,
563,
31,
368,
1158,
756,
1392,
1082,
202,
759,
1104,
326,
1122,
1151,
756,
316,
326,
1048,
1082,
202,
17523,
261,
13138,
405,
374,
597,
526,
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,
6385,
2029,
694,
10268,
382,
694,
12,
1082,
202,
907,
3886,
982,
16,
1082,
202,
474,
1965,
16,
1082,
202,
6494,
11586,
1042,
13,
288,
1082,
202,
907,
694,
563,
273,
394,
6419,
1076,
907,
694,
5621,
1082,
202,
759,
336,
326,
1048,
434,
756,
3258,
8735,
364,
2325,
434,
326,
982,
756,
1082,
202,
2655,
1048,
273,
3167,
1304,
18,
588,
1763,
2655,
12,
2938,
18,
2434,
16,
982,
18,
15780,
1769,
1082,
202,
474,
4587,
273,
374,
31,
1082,
202,
474,
3551,
273,
769,
300,
404,
31,
1082,
202,
474,
7501,
273,
374,
31,
1082,
202,
907,
3886,
293,
31,
1082,
202,
759,
741,
279,
3112,
1623,
358,
6002,
2690,
756,
316,
326,
1048,
434,
2
] |
synchronized(lock) {
|
public Vector clearNewAssets() { Vector temp = (Vector) newAssets.clone(); newAssets.clear(); return temp; }
|
11869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11869/bcd7572160291add0efea4c6b21c952828fa584e/DefaultThreatModel.java/buggy/Coordinator/src/org/cougaar/coordinator/techspec/DefaultThreatModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
1071,
22043,
12,
739,
13,
288,
5589,
22043,
12,
739,
13,
288,
2424,
1908,
10726,
1435,
22043,
12,
739,
13,
288,
288,
22043,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
5589,
22043,
12,
739,
13,
288,
1022,
1121,
15666,
12,
739,
13,
288,
273,
22043,
12,
739,
13,
288,
261,
5018,
13,
22043,
12,
739,
13,
288,
394,
10726,
18,
14056,
5621,
22043,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
394,
10726,
18,
8507,
5621,
22043,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
1135,
15666,
12,
739,
13,
288,
1906,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
1071,
22043,
12,
739,
13,
288,
5589,
22043,
12,
739,
13,
288,
2424,
1908,
10726,
1435,
22043,
12,
739,
13,
288,
288,
22043,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
739,
13,
288,
3852,
12,
2
] |
|
if (jj_scan_token(SAME_TYPE)) return true;
|
if (jj_scan_token(LEQUAL)) return true;
|
final private boolean jj_3_32() { if (jj_scan_token(SAME_TYPE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
|
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/d1775300ef3c91eaadbc0bf2706207627b5dc993/SoarParser.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/parser/SoarParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
67,
1578,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
900,
8729,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
327,
629,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3238,
1250,
10684,
67,
23,
67,
1578,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
900,
8729,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67,
9871,
917,
422,
10684,
67,
2722,
917,
13,
327,
629,
31,
565,
327,
629,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if ( errorMessage != null ) throw new PSQLException("postgresql.fp.error", errorMessage.toString());
|
if ( error != null ) throw error;
|
private Object fastpathV3(int fnid, boolean resulttype, FastpathArg[] args) throws SQLException { // added Oct 7 1998 to give us thread safety synchronized (stream) { // send the function call try { int l_msgLen = 0; l_msgLen += 16; for (int i=0;i < args.length;i++) l_msgLen += args[i].sendSize(); stream.SendChar('F'); stream.SendInteger(l_msgLen,4); stream.SendInteger(fnid, 4); stream.SendInteger(1,2); stream.SendInteger(1,2); stream.SendInteger(args.length,2); for (int i = 0;i < args.length;i++) args[i].send(stream); stream.SendInteger(1,2); // This is needed, otherwise data can be lost stream.flush(); } catch (IOException ioe) { throw new PSQLException("postgresql.fp.send", new Integer(fnid), ioe); } // Now handle the result // Now loop, reading the results Object result = null; // our result StringBuffer errorMessage = null; int c; boolean l_endQuery = false; while (!l_endQuery) { c = stream.ReceiveChar(); switch (c) { case 'A': // Asynchronous Notify int pid = stream.ReceiveInteger(4); String msg = stream.ReceiveString(conn.getEncoding()); conn.addNotification(new org.postgresql.core.Notification(msg, pid)); break; //------------------------------ // Error message returned case 'E': if ( errorMessage == null ) errorMessage = new StringBuffer(); int l_elen = stream.ReceiveIntegerR(4); errorMessage.append(conn.getEncoding().decode(stream.Receive(l_elen-4))); break; //------------------------------ // Notice from backend case 'N': int l_nlen = stream.ReceiveIntegerR(4); conn.addWarning(conn.getEncoding().decode(stream.Receive(l_nlen-4))); break; case 'V': int l_msgLen = stream.ReceiveIntegerR(4); int l_valueLen = stream.ReceiveIntegerR(4); if (l_valueLen == -1) { //null value } else if (l_valueLen == 0) { result = new byte[0]; } else { // Return an Integer if if (resulttype) result = new Integer(stream.ReceiveIntegerR(l_valueLen)); else { byte buf[] = new byte[l_valueLen]; stream.Receive(buf, 0, l_valueLen); result = buf; } } break; case 'Z': //TODO: use size better if (stream.ReceiveIntegerR(4) != 5) throw new PSQLException("postgresql.con.setup"); //TODO: handle transaction status char l_tStatus = (char)stream.ReceiveChar(); l_endQuery = true; break; default: throw new PSQLException("postgresql.fp.protocol", new Character((char)c)); } } if ( errorMessage != null ) throw new PSQLException("postgresql.fp.error", errorMessage.toString()); return result; } }
|
46563 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46563/0378a269f3ab3c44e67b14f96414b6ca95263263/Fastpath.java/buggy/src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1033,
14469,
58,
23,
12,
474,
2295,
350,
16,
1250,
563,
723,
16,
9545,
803,
4117,
8526,
833,
13,
1216,
6483,
202,
95,
202,
202,
759,
3096,
29482,
2371,
23673,
28,
358,
8492,
584,
2650,
24179,
202,
202,
22043,
261,
3256,
13,
202,
202,
95,
1082,
202,
759,
1366,
326,
445,
745,
1082,
202,
698,
1082,
202,
95,
9506,
202,
474,
328,
67,
3576,
2891,
273,
374,
31,
9506,
202,
80,
67,
3576,
2891,
1011,
2872,
31,
9506,
202,
1884,
261,
474,
277,
33,
20,
31,
77,
411,
833,
18,
2469,
31,
77,
27245,
6862,
202,
80,
67,
3576,
2891,
1011,
833,
63,
77,
8009,
4661,
1225,
5621,
6862,
6862,
202,
3256,
18,
3826,
2156,
2668,
42,
8284,
9506,
202,
3256,
18,
3826,
4522,
12,
80,
67,
3576,
2891,
16,
24,
1769,
9506,
202,
3256,
18,
3826,
4522,
12,
4293,
350,
16,
1059,
1769,
9506,
202,
3256,
18,
3826,
4522,
12,
21,
16,
22,
1769,
9506,
202,
3256,
18,
3826,
4522,
12,
21,
16,
22,
1769,
9506,
202,
3256,
18,
3826,
4522,
12,
1968,
18,
2469,
16,
22,
1769,
9506,
202,
1884,
261,
474,
277,
273,
374,
31,
77,
411,
833,
18,
2469,
31,
77,
27245,
6862,
202,
1968,
63,
77,
8009,
4661,
12,
3256,
1769,
6862,
9506,
202,
3256,
18,
3826,
4522,
12,
21,
16,
22,
1769,
6862,
202,
759,
1220,
353,
3577,
16,
3541,
501,
848,
506,
13557,
9506,
202,
3256,
18,
11330,
5621,
1082,
202,
97,
1082,
202,
14683,
261,
14106,
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,
1033,
14469,
58,
23,
12,
474,
2295,
350,
16,
1250,
563,
723,
16,
9545,
803,
4117,
8526,
833,
13,
1216,
6483,
202,
95,
202,
202,
759,
3096,
29482,
2371,
23673,
28,
358,
8492,
584,
2650,
24179,
202,
202,
22043,
261,
3256,
13,
202,
202,
95,
1082,
202,
759,
1366,
326,
445,
745,
1082,
202,
698,
1082,
202,
95,
9506,
202,
474,
328,
67,
3576,
2891,
273,
374,
31,
9506,
202,
80,
67,
3576,
2891,
1011,
2872,
31,
9506,
202,
1884,
261,
474,
277,
33,
20,
31,
77,
411,
833,
18,
2469,
31,
77,
27245,
6862,
202,
80,
67,
3576,
2891,
1011,
833,
63,
77,
8009,
4661,
1225,
5621,
6862,
6862,
202,
3256,
18,
3826,
2156,
2668,
2
] |
if (VM.VerifyAssertions) VM.assert(NOT_REACHED);
|
if (VM.VerifyAssertions) VM._assert(NOT_REACHED);
|
static void deliverHardwareException(int trapCode, int trapInfo) { VM_Thread myThread = VM_Thread.getCurrentThread(); VM_Registers exceptionRegisters = myThread.hardwareExceptionRegisters; if ((trapCode == TRAP_STACK_OVERFLOW || trapCode == TRAP_JNI_STACK) && myThread.stack.length < (STACK_SIZE_MAX >> 2) && !myThread.hasNativeStackFrame()) { // expand stack by the size appropriate for normal or native frame // and resume execution at successor to trap instruction // (C trap handler has set register.ip to the instruction following the trap). if (trapCode == TRAP_JNI_STACK) { VM_Thread.resizeCurrentStack(myThread.stack.length + (STACK_SIZE_JNINATIVE_GROW >> 2), exceptionRegisters); } else { VM_Thread.resizeCurrentStack(myThread.stack.length + (STACK_SIZE_GROW >> 2), exceptionRegisters); } if (VM.VerifyAssertions) VM.assert(exceptionRegisters.inuse == true); exceptionRegisters.inuse = false; VM_Magic.restoreHardwareExceptionState(exceptionRegisters); if (VM.VerifyAssertions) VM.assert(NOT_REACHED); } Throwable exceptionObject; switch (trapCode) { case TRAP_NULL_POINTER: exceptionObject = new java.lang.NullPointerException(); break; case TRAP_ARRAY_BOUNDS: exceptionObject = new java.lang.ArrayIndexOutOfBoundsException(trapInfo); break; case TRAP_DIVIDE_BY_ZERO: exceptionObject = new java.lang.ArithmeticException(); break; case TRAP_STACK_OVERFLOW: case TRAP_JNI_STACK: exceptionObject = new java.lang.StackOverflowError(); break; case TRAP_CHECKCAST: exceptionObject = new java.lang.ClassCastException(); break; case TRAP_MUST_IMPLEMENT: exceptionObject = new java.lang.IncompatibleClassChangeError(); break; case TRAP_STORE_CHECK: exceptionObject = new java.lang.ArrayStoreException(); break; default: exceptionObject = new java.lang.UnknownError(); VM_Scheduler.traceback("UNKNOWN ERROR"); break; } VM.disableGC(); // VM.enableGC() is called when the exception is delivered. deliverException(exceptionObject, exceptionRegisters); } /** * Unlock an object and then deliver a software exception * to current java thread. * @param objToUnlock object to unlock * @param objToThrow exception object to deliver * (null --> deliver NullPointerException). * does not return (stack is unwound and execution resumes in a catch block) */ static void unlockAndThrow(Object objToUnlock, Throwable objToThrow) throws VM_PragmaNoInline { VM_ObjectModel.genericUnlock(objToUnlock); athrow(objToThrow); }
|
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/f852e312fd5d6396bdeff809dda7a5e06d3d3bed/VM_Runtime.java/clean/rvm/src/vm/runtime/VM_Runtime.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
11795,
44,
14519,
503,
12,
474,
23034,
1085,
16,
509,
23034,
966,
13,
288,
565,
8251,
67,
3830,
565,
3399,
3830,
6647,
273,
8251,
67,
3830,
18,
588,
3935,
3830,
5621,
565,
8251,
67,
10277,
1520,
10277,
273,
3399,
3830,
18,
25118,
503,
10277,
31,
565,
309,
14015,
27170,
1085,
422,
4235,
2203,
67,
21971,
67,
12959,
17430,
747,
23034,
1085,
422,
4235,
2203,
67,
46,
50,
45,
67,
21971,
13,
597,
225,
202,
4811,
3830,
18,
3772,
18,
2469,
411,
261,
21971,
67,
4574,
67,
6694,
1671,
576,
13,
597,
225,
202,
5,
4811,
3830,
18,
5332,
9220,
2624,
3219,
10756,
288,
4202,
368,
4542,
2110,
635,
326,
963,
5505,
364,
2212,
578,
6448,
2623,
4202,
368,
471,
10774,
4588,
622,
19532,
358,
23034,
7592,
1377,
368,
261,
39,
23034,
1838,
711,
444,
1744,
18,
625,
358,
326,
7592,
3751,
326,
23034,
2934,
1377,
309,
261,
27170,
1085,
422,
4235,
2203,
67,
46,
50,
45,
67,
21971,
13,
288,
202,
7397,
67,
3830,
18,
15169,
3935,
2624,
12,
4811,
3830,
18,
3772,
18,
2469,
397,
261,
21971,
67,
4574,
67,
46,
50,
706,
12992,
67,
43,
11226,
1671,
576,
3631,
1520,
10277,
1769,
1377,
289,
469,
288,
202,
7397,
67,
3830,
18,
15169,
3935,
2624,
12,
4811,
3830,
18,
3772,
18,
2469,
397,
261,
21971,
67,
4574,
67,
43,
11226,
1671,
576,
3631,
1520,
10277,
1769,
1377,
289,
1377,
309,
261,
7397,
18,
8097,
8213,
1115,
13,
8251,
18,
11231,
12,
4064,
10277,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
11795,
44,
14519,
503,
12,
474,
23034,
1085,
16,
509,
23034,
966,
13,
288,
565,
8251,
67,
3830,
565,
3399,
3830,
6647,
273,
8251,
67,
3830,
18,
588,
3935,
3830,
5621,
565,
8251,
67,
10277,
1520,
10277,
273,
3399,
3830,
18,
25118,
503,
10277,
31,
565,
309,
14015,
27170,
1085,
422,
4235,
2203,
67,
21971,
67,
12959,
17430,
747,
23034,
1085,
422,
4235,
2203,
67,
46,
50,
45,
67,
21971,
13,
597,
225,
202,
4811,
3830,
18,
3772,
18,
2469,
411,
261,
21971,
67,
4574,
67,
6694,
1671,
576,
13,
597,
225,
202,
5,
4811,
3830,
18,
5332,
9220,
2624,
3219,
10756,
288,
4202,
368,
4542,
2110,
635,
326,
963,
5505,
364,
2212,
578,
6448,
2623,
2
] |
public Image( IImageContent content )
|
public Image( String uri )
|
public Image( IImageContent content ) { String imgUri = content.getURI( ); byte[] imgData = content.getData( ); extension = content.getExtension( ); if ( extension == null ) { String mimeType = content.getMIMEType( ); if ( mimeType != null ) { extension = FileUtil.getExtFromType( mimeType ); } } switch ( content.getImageSource( ) ) { case IImageContent.IMAGE_FILE : if ( imgUri != null ) { this.id = imgUri; this.source = IImage.FILE_IMAGE; } break; case IImageContent.IMAGE_NAME : if ( imgData != null ) { this.data = imgData; this.source = IImage.DESIGN_IMAGE; this.id = imgUri; } break; case IImageContent.IMAGE_EXPRESSION : if ( imgData != null ) { this.data = imgData; this.source = IImage.CUSTOM_IMAGE; this.id = content.getInstanceID( ).toString( ); } break; case IImageContent.IMAGE_URL : if ( imgUri != null ) { this.id = imgUri; this.source = IImage.URL_IMAGE; } break; default : assert ( false ); } } /*
|
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/4e5bdbf4992d60d94c4838190ed496a349f82918/Image.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/Image.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3421,
12,
467,
2040,
1350,
913,
262,
202,
95,
202,
202,
780,
3774,
3006,
273,
913,
18,
588,
3098,
12,
11272,
202,
202,
7229,
8526,
3774,
751,
273,
913,
18,
588,
751,
12,
11272,
202,
202,
6447,
273,
913,
18,
588,
3625,
12,
11272,
202,
202,
430,
261,
2710,
422,
446,
262,
202,
202,
95,
1082,
202,
780,
10707,
273,
913,
18,
588,
18178,
559,
12,
11272,
1082,
202,
430,
261,
10707,
480,
446,
262,
1082,
202,
95,
9506,
202,
6447,
273,
1387,
1304,
18,
588,
2482,
1265,
559,
12,
10707,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
9610,
261,
913,
18,
588,
2040,
1830,
12,
262,
262,
202,
202,
95,
1082,
202,
3593,
467,
2040,
1350,
18,
13603,
67,
3776,
294,
9506,
202,
430,
261,
3774,
3006,
480,
446,
262,
9506,
202,
95,
25083,
202,
2211,
18,
350,
273,
3774,
3006,
31,
25083,
202,
2211,
18,
3168,
273,
467,
2040,
18,
3776,
67,
13603,
31,
6862,
202,
97,
9506,
202,
8820,
31,
1082,
202,
3593,
467,
2040,
1350,
18,
13603,
67,
1985,
294,
9506,
202,
430,
261,
3774,
751,
480,
446,
262,
9506,
202,
95,
6862,
202,
2211,
18,
892,
273,
3774,
751,
31,
6862,
202,
2211,
18,
3168,
273,
467,
2040,
18,
1639,
11260,
67,
13603,
31,
6862,
202,
2211,
18,
350,
273,
3774,
3006,
31,
9506,
202,
97,
9506,
202,
8820,
31,
1082,
202,
3593,
467,
2040,
1350,
18,
13603,
67,
19111,
294,
9506,
202,
430,
261,
3774,
751,
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,
3421,
12,
467,
2040,
1350,
913,
262,
202,
95,
202,
202,
780,
3774,
3006,
273,
913,
18,
588,
3098,
12,
11272,
202,
202,
7229,
8526,
3774,
751,
273,
913,
18,
588,
751,
12,
11272,
202,
202,
6447,
273,
913,
18,
588,
3625,
12,
11272,
202,
202,
430,
261,
2710,
422,
446,
262,
202,
202,
95,
1082,
202,
780,
10707,
273,
913,
18,
588,
18178,
559,
12,
11272,
1082,
202,
430,
261,
10707,
480,
446,
262,
1082,
202,
95,
9506,
202,
6447,
273,
1387,
1304,
18,
588,
2482,
1265,
559,
12,
10707,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
9610,
261,
913,
18,
588,
2040,
1830,
12,
262,
262,
202,
202,
95,
1082,
202,
3593,
2
] |
if (!validateLabel(label))
|
if (!validateLabel(label)) {
|
public PerspectiveDescriptor createPerspective(String label, PerspectiveDescriptor originalDescriptor) { // Sanity check to avoid invalid or duplicate labels. if (!validateLabel(label)) return null; if (findPerspectiveWithLabel(label) != null) return null; // Calculate ID. String id = label.replace(' ', '_'); id = id.trim(); // Create descriptor. PerspectiveDescriptor desc = new PerspectiveDescriptor(id, label, originalDescriptor); add(desc); return desc; }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/PerspectiveRegistry.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PerspectiveRegistry.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
453,
414,
16772,
3187,
752,
14781,
16772,
12,
780,
1433,
16,
1082,
202,
14781,
16772,
3187,
2282,
3187,
13,
288,
202,
202,
759,
23123,
866,
358,
4543,
2057,
578,
6751,
3249,
18,
202,
202,
430,
16051,
5662,
2224,
12,
1925,
3719,
1082,
202,
2463,
446,
31,
202,
202,
430,
261,
4720,
14781,
16772,
1190,
2224,
12,
1925,
13,
480,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
759,
9029,
1599,
18,
202,
202,
780,
612,
273,
1433,
18,
2079,
2668,
2265,
4427,
1769,
202,
202,
350,
273,
612,
18,
5290,
5621,
202,
202,
759,
1788,
4950,
18,
202,
202,
14781,
16772,
3187,
3044,
273,
394,
453,
414,
16772,
3187,
12,
350,
16,
1433,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
453,
414,
16772,
3187,
752,
14781,
16772,
12,
780,
1433,
16,
1082,
202,
14781,
16772,
3187,
2282,
3187,
13,
288,
202,
202,
759,
23123,
866,
358,
4543,
2057,
578,
6751,
3249,
18,
202,
202,
430,
16051,
5662,
2224,
12,
1925,
3719,
1082,
202,
2463,
446,
31,
202,
202,
430,
261,
4720,
14781,
16772,
1190,
2224,
12,
1925,
13,
480,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
759,
9029,
1599,
18,
202,
202,
780,
612,
273,
1433,
18,
2079,
2668,
2265,
4427,
1769,
202,
202,
350,
273,
612,
18,
5290,
5621,
202,
202,
759,
1788,
4950,
18,
202,
202,
14781,
16772,
3187,
3044,
273,
394,
453,
414,
16772,
3187,
12,
350,
16,
1433,
16,
9506,
2
] |
String cmsfolder=(String)(((Hashtable)userObject).get("cmsfolder"));
|
protected String buildNavFold(CmsObject cms, CmsXmlTemplateFile xmlDataBlock, Object userObject, Vector resources, String requestedUri, String currentFolder, String servletPath,int level) throws CmsException { String cmsfolder=(String)(((Hashtable)userObject).get("cmsfolder")); StringBuffer result = new StringBuffer(); int size = resources.size(); String navLink[] = new String[size]; String navText[] = new String[size]; float navPos[] = new float[size]; int max=extractNav(cms,resources,navLink,navText,navPos); if (max>0) { result.append(xmlDataBlock.getProcessedDataValue("navTreeStart", this, userObject)); for(int i=0; i<max; i++) { xmlDataBlock.setData("navText", navText[i]); xmlDataBlock.setData("count", new Integer(i+1).toString()); xmlDataBlock.setData("level", new Integer(extractLevel(cms,navLink[i])-(level+1)).toString()); // this if condition is necessary because of url parameter, // if there is no filename then the parameters are ignored, so I // can't use e.g. ?cmsframe=body. if (navLink[i].endsWith("/")) { String cmsfold="?cmsfolder="+ Encoder.escape(navLink[i]); String navIndex=cms.readProperty(navLink[i],C_PROPERTY_NAVINDEX); if (navIndex==null) { navIndex=C_NAVINDEX; } try { cms.readFile(navLink[i] + navIndex); xmlDataBlock.setData("navLink", servletPath + navLink[i] + navIndex + cmsfold); } catch (CmsException e) { xmlDataBlock.setData("navLink", servletPath + requestedUri ); } } else { try { cms.readFile(navLink[i]); xmlDataBlock.setData("navLink", servletPath + navLink[i] ); } catch (CmsException e) { xmlDataBlock.setData("navLink", servletPath + requestedUri ); } } // Check if nav is current nav if (navLink[i].equals(currentFolder) || navLink[i].equals(requestedUri)) { result.append(xmlDataBlock.getProcessedDataValue("navCurrent", this, userObject)); } else { result.append(xmlDataBlock.getProcessedDataValue("navEntry", this, userObject)); } // if the folder was clicked if (cmsfolder!=null && (!cmsfolder.equals("")) && (cmsfolder.indexOf(navLink[i])!=-1)) { Vector all=cms.getSubFolders(navLink[i]); Vector files=cms.getFilesInFolder(navLink[i]); all.ensureCapacity(all.size() + files.size()); Enumeration e = files.elements(); while (e.hasMoreElements()) { all.addElement(e.nextElement()); } result.append(buildNavFold(cms,xmlDataBlock,userObject,all,requestedUri,currentFolder,servletPath,level)); } } result.append(xmlDataBlock.getProcessedDataValue("navTreeEnd", this, userObject)); } return result.toString(); }
|
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/e830ba5cf98ad761b43337a5f53977c1a7689de2/CmsXmlNav.java/buggy/src/com/opencms/defaults/CmsXmlNav.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
1361,
12599,
15592,
12,
4747,
921,
6166,
16,
16084,
2283,
812,
2025,
751,
1768,
16,
1033,
729,
921,
16,
5589,
2703,
16,
514,
3764,
3006,
16,
514,
783,
3899,
16,
514,
8100,
743,
16,
474,
1801,
13,
202,
202,
15069,
11228,
288,
202,
202,
780,
6166,
5609,
28657,
780,
13,
12443,
12,
5582,
14544,
13,
1355,
921,
2934,
588,
2932,
6851,
5609,
7923,
1769,
202,
202,
780,
1892,
563,
273,
394,
6674,
5621,
202,
202,
474,
963,
273,
2703,
18,
1467,
5621,
202,
202,
780,
8775,
2098,
8526,
273,
394,
514,
63,
1467,
15533,
202,
202,
780,
8775,
1528,
8526,
273,
394,
514,
63,
1467,
15533,
202,
202,
5659,
8775,
1616,
8526,
273,
394,
1431,
63,
1467,
15533,
202,
202,
474,
943,
33,
8004,
12599,
12,
6851,
16,
4683,
16,
11589,
2098,
16,
11589,
1528,
16,
11589,
1616,
1769,
202,
202,
430,
261,
1896,
34,
20,
13,
288,
1082,
202,
2088,
18,
6923,
12,
2902,
751,
1768,
18,
588,
13533,
28013,
2932,
11589,
2471,
1685,
3113,
333,
16,
729,
921,
10019,
1082,
202,
1884,
12,
474,
277,
33,
20,
31,
277,
32,
1896,
31,
277,
27245,
288,
9506,
202,
2902,
751,
1768,
18,
542,
751,
2932,
11589,
1528,
3113,
8775,
1528,
63,
77,
19226,
9506,
202,
2902,
751,
1768,
18,
542,
751,
2932,
1883,
3113,
394,
2144,
12,
77,
15,
21,
2934,
10492,
10663,
9506,
202,
2902,
751,
1768,
18,
542,
751,
2932,
2815,
3113,
394,
2144,
12,
8004,
2355,
12,
6851,
16,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
1361,
12599,
15592,
12,
4747,
921,
6166,
16,
16084,
2283,
812,
2025,
751,
1768,
16,
1033,
729,
921,
16,
5589,
2703,
16,
514,
3764,
3006,
16,
514,
783,
3899,
16,
514,
8100,
743,
16,
474,
1801,
13,
202,
202,
15069,
11228,
288,
202,
202,
780,
6166,
5609,
28657,
780,
13,
12443,
12,
5582,
14544,
13,
1355,
921,
2934,
588,
2932,
6851,
5609,
7923,
1769,
202,
202,
780,
1892,
563,
273,
394,
6674,
5621,
202,
202,
474,
963,
273,
2703,
18,
1467,
5621,
202,
202,
780,
8775,
2098,
8526,
273,
394,
514,
63,
1467,
15533,
202,
202,
780,
8775,
1528,
8526,
273,
394,
514,
63,
1467,
15533,
202,
202,
5659,
8775,
1616,
8526,
273,
394,
1431,
2
] |
|
protected void doDSPost(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { String button = UIUtil.getSubmitButton(request, "submit"); if (button.equals("submit_add")) { // add an EPerson, then jump user to edit page EPerson e = EPerson.create(context); // create clever name and do update before continuing e.setEmail("newuser"+e.getID()); e.update(); //showEPeople(context, request, response); request.setAttribute("eperson", e); JSPManager.showJSP(request, response, "/admin/eperson-edit.jsp"); context.complete(); } else if (button.equals("submit_edit")) { // edit an eperson EPerson e = EPerson.find(context, UIUtil.getIntParameter(request, "eperson_id")); request.setAttribute("eperson", e); JSPManager.showJSP(request, response, "/admin/eperson-edit.jsp"); context.complete(); } else if (button.equals("submit_save")) { // Update the metadata for an e-person EPerson e = EPerson.find(context, UIUtil.getIntParameter(request, "eperson_id")); // see if the user changed the email - if so, make sure // the new email is unique String oldEmail = e.getEmail(); String newEmail = request.getParameter("email").trim(); if( !newEmail.equals( oldEmail ) ) { // change, now see if it's unique if( EPerson.findByEmail( context, newEmail ) == null ) { // it's unique - proceed! e.setEmail( newEmail ); e.setFirstName(request.getParameter("firstname").equals("") ? null : request.getParameter("firstname")); e.setLastName(request.getParameter("lastname").equals("") ? null : request.getParameter("lastname")); // FIXME: More data-driven? e.setMetadata("phone", request.getParameter("phone").equals("") ? null : request.getParameter("phone")); e.setCanLogIn(request.getParameter("can_log_in") != null && request.getParameter("can_log_in").equals("true")); e.setRequireCertificate( request.getParameter("require_certificate") != null && request.getParameter("require_certificate").equals("true")); e.update(); showMain(context, request, response); context.complete(); } else { // not unique - send error message & let try again request.setAttribute("eperson", e); request.setAttribute("error_message", "That EMail is in use by another EPerson. Emails must be unique."); JSPManager.showJSP(request, response, "/admin/eperson-edit.jsp"); context.complete(); } } } else if (button.equals("submit_delete")) { // Start delete process - go through verification step EPerson e = EPerson.find(context, UIUtil.getIntParameter(request, "eperson_id")); request.setAttribute("eperson", e); JSPManager.showJSP(request, response, "/admin/eperson-confirm-delete.jsp"); } else if (button.equals("submit_confirm_delete")) { // User confirms deletion of type EPerson e = EPerson.find(context, UIUtil.getIntParameter(request, "eperson_id")); e.delete(); showMain(context, request, response); context.complete(); } else if (button.equals("submit_browse")) { // user wants to browse String pageRequest = request.getParameter("page_request"); int pageIndex = UIUtil.getIntParameter(request, "page_index"); String sortby = request.getParameter("sortby"); int sortField = EPerson.EMAIL; // default int pageSize = 50; if (sortby == null) { } else if (sortby.equals("lastname")) { sortField = EPerson.LASTNAME; } else if (sortby.equals("id")) { sortField = EPerson.ID; } if (pageIndex == -1) { pageIndex = 0; // default page is 0 } // get back "next" and "previous" messages // can also insert numbers here if (pageRequest != null) { if (pageRequest.equals("next")) { pageIndex++; } else { pageIndex--; } } EPerson[] epeople = EPerson.findAll(context, sortField); int pageCount = ((epeople.length-1)/pageSize)+1; request.setAttribute("epeople", epeople ); request.setAttribute("page_size", new Integer(pageSize )); request.setAttribute("page_count", new Integer(pageCount)); request.setAttribute("page_index", new Integer(pageIndex)); JSPManager.showJSP(request, response, "/admin/eperson-browse.jsp"); } else { // Cancel etc. pressed - show list again showMain(context, request, response); } }
|
1868 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1868/17bfff55651a6ca573f417ccc16fe4feb8e889e9/EPersonAdminServlet.java/buggy/dspace/src/org/dspace/app/webui/servlet/admin/EPersonAdminServlet.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
40,
3118,
669,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
514,
3568,
273,
6484,
1304,
18,
588,
11620,
3616,
12,
2293,
16,
315,
9297,
8863,
3639,
309,
261,
5391,
18,
14963,
2932,
9297,
67,
1289,
6,
3719,
3639,
288,
5411,
368,
527,
392,
512,
8346,
16,
1508,
11833,
729,
358,
3874,
1363,
5411,
512,
8346,
425,
273,
512,
8346,
18,
2640,
12,
2472,
1769,
5411,
368,
752,
1619,
502,
508,
471,
741,
1089,
1865,
29702,
13491,
425,
18,
542,
4134,
2932,
2704,
1355,
6,
15,
73,
18,
588,
734,
10663,
5411,
425,
18,
2725,
5621,
13491,
368,
4500,
10541,
73,
11763,
12,
2472,
16,
590,
16,
766,
1769,
5411,
590,
18,
542,
1499,
2932,
881,
3565,
3113,
425,
1769,
5411,
804,
3118,
1318,
18,
4500,
46,
3118,
12,
2293,
16,
766,
16,
7734,
2206,
3666,
19,
881,
3565,
17,
4619,
18,
24926,
8863,
5411,
819,
18,
6226,
5621,
3639,
289,
3639,
469,
309,
261,
5391,
18,
14963,
2932,
9297,
67,
4619,
6,
3719,
3639,
288,
5411,
368,
3874,
392,
5529,
3565,
5411,
512,
8346,
425,
273,
512,
8346,
18,
4720,
12,
2472,
16,
7734,
6484,
1304,
18,
588,
1702,
1662,
12,
2293,
16,
315,
881,
3565,
67,
350,
7923,
1769,
5411,
590,
18,
542,
1499,
2932,
881,
3565,
3113,
425,
1769,
5411,
804,
3118,
1318,
18,
4500,
46,
3118,
12,
2293,
16,
766,
16,
7734,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
40,
3118,
669,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565,
288,
3639,
514,
3568,
273,
6484,
1304,
18,
588,
11620,
3616,
12,
2293,
16,
315,
9297,
8863,
3639,
309,
261,
5391,
18,
14963,
2932,
9297,
67,
1289,
6,
3719,
3639,
288,
5411,
368,
527,
392,
512,
8346,
16,
1508,
11833,
729,
358,
3874,
1363,
5411,
512,
8346,
425,
273,
512,
8346,
18,
2640,
12,
2472,
1769,
5411,
368,
752,
1619,
502,
508,
471,
741,
1089,
1865,
29702,
13491,
425,
18,
542,
4134,
2932,
2704,
1355,
6,
15,
73,
18,
588,
734,
10663,
5411,
425,
18,
2725,
5621,
13491,
368,
2
] |
||
return new ASTUsingDirective( scope, duple.toString(), startingOffset, startingLine, endingOffset, endingLine, duple.getFilename() );
|
return new ASTUsingDirective( scope, duple.toString(), startingOffset, startingLine, endingOffset, endingLine, duple.getFilename(), duple.getStartOffset(), duple.getEndOffset(), duple.getLineNumber() );
|
public IASTUsingDirective createUsingDirective(IASTScope scope, ITokenDuple duple, int startingOffset, int startingLine, int endingOffset, int endingLine) { return new ASTUsingDirective( scope, duple.toString(), startingOffset, startingLine, endingOffset, endingLine, duple.getFilename() ); }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/9ac724d2edcb3085225e8e4e3281e34bca88c97d/QuickParseASTFactory.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/quick/QuickParseASTFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
9053,
7736,
13307,
752,
7736,
13307,
12,
45,
9053,
3876,
2146,
16,
467,
1345,
40,
2268,
302,
2268,
16,
509,
5023,
2335,
16,
509,
5023,
1670,
16,
509,
11463,
2335,
16,
509,
11463,
1670,
13,
288,
202,
202,
2463,
394,
9183,
7736,
13307,
12,
2146,
16,
302,
2268,
18,
10492,
9334,
5023,
2335,
16,
5023,
1670,
16,
11463,
2335,
16,
11463,
1670,
16,
302,
2268,
18,
588,
5359,
1435,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
9053,
7736,
13307,
752,
7736,
13307,
12,
45,
9053,
3876,
2146,
16,
467,
1345,
40,
2268,
302,
2268,
16,
509,
5023,
2335,
16,
509,
5023,
1670,
16,
509,
11463,
2335,
16,
509,
11463,
1670,
13,
288,
202,
202,
2463,
394,
9183,
7736,
13307,
12,
2146,
16,
302,
2268,
18,
10492,
9334,
5023,
2335,
16,
5023,
1670,
16,
11463,
2335,
16,
11463,
1670,
16,
302,
2268,
18,
588,
5359,
1435,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void mBOOL() throws RecognitionException { try { ruleNestingLevel++; int _type = BOOL; int _start = getCharIndex(); int _line = getLine(); int _charPosition = getCharPositionInLine(); int _channel = Token.DEFAULT_CHANNEL; // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1326:4: ( ( 'true' | 'false' ) ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1326:4: ( 'true' | 'false' ) { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1326:4: ( 'true' | 'false' ) int alt15=2; int LA15_0 = input.LA(1); if ( (LA15_0=='t') ) { alt15=1; } else if ( (LA15_0=='f') ) { alt15=2; } else { if (backtracking>0) {failed=true; return ;} NoViableAltException nvae = new NoViableAltException("1326:4: ( 'true' | 'false' )", 15, 0, input); throw nvae; } switch (alt15) { case 1 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1326:5: 'true' { match("true"); if (failed) return ; } break; case 2 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1326:12: 'false' { match("false"); if (failed) return ; } break; } } if ( backtracking==0 ) { if ( token==null && ruleNestingLevel==1 ) { emit(_type,_line,_charPosition,_channel,_start,getCharIndex()-1); } } } finally { ruleNestingLevel--; } }
|
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/6b34eb3854fdc06f31034567ebdf72ff28c6c11a/DRLLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
19040,
1435,
1216,
9539,
288,
3639,
775,
288,
5411,
1720,
50,
10100,
2355,
9904,
31,
5411,
509,
389,
723,
273,
9784,
1741,
31,
5411,
509,
389,
1937,
273,
23577,
1016,
5621,
5411,
509,
389,
1369,
273,
9851,
5621,
5411,
509,
389,
3001,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
389,
4327,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
22152,
26,
30,
24,
30,
261,
261,
296,
3767,
11,
571,
296,
5743,
11,
262,
262,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
22152,
26,
30,
24,
30,
261,
296,
3767,
11,
571,
296,
5743,
11,
262,
5411,
288,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
22152,
26,
30,
24,
30,
261,
296,
3767,
11,
571,
296,
5743,
11,
262,
5411,
509,
3770,
3600,
33,
22,
31,
5411,
509,
2928,
3600,
67,
20,
273,
810,
18,
2534,
12,
21,
1769,
5411,
309,
261,
261,
2534,
3600,
67,
20,
18920,
88,
6134,
262,
288,
7734,
3770,
3600,
33,
21,
31,
5411,
289,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
19040,
1435,
1216,
9539,
288,
3639,
775,
288,
5411,
1720,
50,
10100,
2355,
9904,
31,
5411,
509,
389,
723,
273,
9784,
1741,
31,
5411,
509,
389,
1937,
273,
23577,
1016,
5621,
5411,
509,
389,
1369,
273,
9851,
5621,
5411,
509,
389,
3001,
2555,
273,
23577,
2555,
382,
1670,
5621,
5411,
509,
389,
4327,
273,
3155,
18,
5280,
67,
15814,
31,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
22152,
26,
30,
24,
30,
261,
261,
296,
3767,
11,
571,
296,
5743,
11,
262,
262,
5411,
368,
463,
31027,
5206,
1695,
10649,
2
] |
||
void lostTaskTracker(String trackerName) {
|
void lostTaskTracker(String trackerName, String hostname) {
|
void lostTaskTracker(String trackerName) { LOG.info("Lost tracker '" + trackerName + "'"); TreeSet lostTasks = (TreeSet) trackerToTaskMap.get(trackerName); trackerToTaskMap.remove(trackerName); if (lostTasks != null) { for (Iterator it = lostTasks.iterator(); it.hasNext(); ) { String taskId = (String) it.next(); TaskInProgress tip = (TaskInProgress) taskidToTIPMap.get(taskId); // Tell the job to fail the relevant task JobInProgress job = tip.getJob(); job.failedTask(tip, taskId, trackerName); } } }
|
50331 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50331/50de9d51b6043b8802f1ca8befb218affb724fab/JobTracker.java/clean/src/java/org/apache/hadoop/mapred/JobTracker.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
13557,
2174,
8135,
12,
780,
9745,
461,
16,
514,
5199,
13,
288,
3639,
2018,
18,
1376,
2932,
19024,
9745,
2119,
397,
9745,
461,
397,
5862,
1769,
3639,
19461,
13557,
6685,
273,
261,
2471,
694,
13,
9745,
774,
2174,
863,
18,
588,
12,
16543,
461,
1769,
3639,
9745,
774,
2174,
863,
18,
4479,
12,
16543,
461,
1769,
3639,
309,
261,
383,
334,
6685,
480,
446,
13,
288,
5411,
364,
261,
3198,
518,
273,
13557,
6685,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
7734,
514,
15321,
273,
261,
780,
13,
518,
18,
4285,
5621,
7734,
3837,
13434,
9529,
273,
261,
2174,
13434,
13,
29035,
774,
56,
2579,
863,
18,
588,
12,
4146,
548,
1769,
7734,
368,
29860,
326,
1719,
358,
2321,
326,
9368,
1562,
7734,
3956,
13434,
1719,
273,
9529,
18,
588,
2278,
5621,
7734,
1719,
18,
7307,
2174,
12,
14587,
16,
15321,
16,
9745,
461,
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,
0,
0,
0,
0,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,
397,
5862,
1769,
3639,
19461,
13557,
6685,
273,
261,
2471,
694,
13,
9745,
774,
2174,
863,
18,
588,
12,
16543,
461,
1769,
3639,
9745,
774,
2174,
863,
18,
4479,
12,
16543,
461,
1769,
3639,
309,
261,
383,
334,
6685,
480,
446,
13,
288,
5411,
364,
261,
3198,
518,
273,
13557,
6685,
18,
9838,
5621,
518,
18,
5332,
2134,
5621,
262,
288,
7734,
514,
15321,
273,
261,
780,
13,
518,
18,
4285,
5621,
7734,
3837,
13434,
9529,
273,
261,
2174,
13434,
13,
29035,
774,
56,
2579,
863,
18,
588,
12,
4146,
548,
1769,
7734,
368,
2
] |
public void setProjectChanged() {
|
public void setProjectChanged(boolean changed) {
|
public FileGroupingState _makeFlatFileGroupingState() { return new FileGroupingState(){ public File getBuildDirectory(){ return null; } public boolean isProjectActive(){ return false; } public boolean isInProjectPath(OpenDefinitionsDocument doc){ return false; } public File getProjectFile() { return null; } public void setBuildDirectory(File f) { //Do nothing } public File[] getProjectFiles() { return null; } public boolean isProjectFile(File f) { return false; } public boolean isProjectChanged() { return false; } public void setProjectChanged() { //Do nothing } }; }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/297ab8f541fdccc79367d02c322b7113ca0c7fca/DefaultGlobalModel.java/buggy/drjava/src/edu/rice/cs/drjava/model/DefaultGlobalModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1387,
21014,
1119,
389,
6540,
16384,
812,
21014,
1119,
1435,
288,
565,
327,
394,
1387,
21014,
1119,
1435,
95,
1377,
1071,
1387,
21122,
2853,
1435,
95,
3639,
327,
446,
31,
1377,
289,
5411,
1071,
1250,
353,
4109,
3896,
1435,
95,
3639,
327,
629,
31,
1377,
289,
5411,
1071,
1250,
8048,
4109,
743,
12,
3678,
7130,
2519,
997,
15329,
3639,
327,
629,
31,
1377,
289,
1377,
1071,
1387,
11080,
812,
1435,
288,
3639,
327,
446,
31,
1377,
289,
1377,
1071,
918,
444,
3116,
2853,
12,
812,
284,
13,
288,
3639,
368,
3244,
5083,
1377,
289,
1377,
1071,
1387,
8526,
11080,
2697,
1435,
288,
3639,
327,
446,
31,
1377,
289,
1377,
1071,
1250,
353,
4109,
812,
12,
812,
284,
13,
288,
3639,
327,
629,
31,
1377,
289,
2398,
1071,
1250,
353,
4109,
5033,
1435,
288,
3639,
327,
629,
31,
1377,
289,
5411,
1071,
918,
25323,
5033,
12,
6494,
3550,
13,
288,
3639,
368,
3244,
5083,
1850,
289,
565,
289,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1387,
21014,
1119,
389,
6540,
16384,
812,
21014,
1119,
1435,
288,
565,
327,
394,
1387,
21014,
1119,
1435,
95,
1377,
1071,
1387,
21122,
2853,
1435,
95,
3639,
327,
446,
31,
1377,
289,
5411,
1071,
1250,
353,
4109,
3896,
1435,
95,
3639,
327,
629,
31,
1377,
289,
5411,
1071,
1250,
8048,
4109,
743,
12,
3678,
7130,
2519,
997,
15329,
3639,
327,
629,
31,
1377,
289,
1377,
1071,
1387,
11080,
812,
1435,
288,
3639,
327,
446,
31,
1377,
289,
1377,
1071,
918,
444,
3116,
2853,
12,
812,
284,
13,
288,
3639,
368,
3244,
5083,
1377,
289,
1377,
1071,
1387,
8526,
11080,
2697,
1435,
288,
3639,
327,
446,
31,
1377,
289,
1377,
1071,
1250,
353,
4109,
812,
12,
812,
284,
2
] |
JToolBar bar = new JToolBar(); bar.setFloatable(false); bar.setRollover(true);
|
JPanel bar = new JPanel();
|
private JPanel buildToolBar() { JToolBar bar = new JToolBar(); bar.setFloatable(false); bar.setRollover(true); bar.add(cancelButton); bar.add(saveButton); return UIUtilities.buildComponentPanelRight(bar); }
|
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/3b273af3a5320ab0a054540f14a3c299ff01de69/ImgSaverPreviewer.java/buggy/SRC/org/openmicroscopy/shoola/agents/imviewer/util/saver/ImgSaverPreviewer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
24048,
1361,
6364,
5190,
1435,
565,
288,
3639,
804,
6364,
5190,
4653,
273,
394,
804,
6364,
5190,
5621,
3639,
4653,
18,
542,
4723,
429,
12,
5743,
1769,
3639,
4653,
18,
542,
4984,
21896,
12,
3767,
1769,
3639,
4653,
18,
1289,
12,
10996,
3616,
1769,
3639,
4653,
18,
1289,
12,
5688,
3616,
1769,
3639,
327,
6484,
11864,
18,
3510,
1841,
5537,
4726,
12,
3215,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
24048,
1361,
6364,
5190,
1435,
565,
288,
3639,
804,
6364,
5190,
4653,
273,
394,
804,
6364,
5190,
5621,
3639,
4653,
18,
542,
4723,
429,
12,
5743,
1769,
3639,
4653,
18,
542,
4984,
21896,
12,
3767,
1769,
3639,
4653,
18,
1289,
12,
10996,
3616,
1769,
3639,
4653,
18,
1289,
12,
5688,
3616,
1769,
3639,
327,
6484,
11864,
18,
3510,
1841,
5537,
4726,
12,
3215,
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
] |
props.put( n, v );
|
if( "jkHome".equals( n ) ) { setJkHome( v ); } else { props.put( n, v ); }
|
public void setProperty( String n, String v ) { props.put( n, v ); }
|
10630 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10630/e47db653f172ca87f95ebe47ee063a57731debe3/JkMain.java/buggy/java/org/apache/jk/server/JkMain.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7486,
12,
514,
290,
16,
514,
331,
262,
288,
3639,
309,
12,
315,
26921,
8684,
9654,
14963,
12,
290,
262,
262,
288,
444,
46,
79,
8684,
12,
331,
11272,
289,
469,
288,
3458,
18,
458,
12,
290,
16,
331,
11272,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7486,
12,
514,
290,
16,
514,
331,
262,
288,
3639,
309,
12,
315,
26921,
8684,
9654,
14963,
12,
290,
262,
262,
288,
444,
46,
79,
8684,
12,
331,
11272,
289,
469,
288,
3458,
18,
458,
12,
290,
16,
331,
11272,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
tempFile = File.createTempFile(prefix, suffix);
|
file = File.createTempFile(prefix, suffix);
|
public synchronized void sfDeploy() throws SmartFrogException, RemoteException { super.sfDeploy(); String prefix = sfResolve(ATTR_PREFIX, "", true); if(prefix.length()==0) { throw new SmartFrogException(ERROR_PREFIX_EMPTY,this); } String suffix = sfResolve(ATTR_SUFFIX, (String) null, false); String dir; dir=FileSystem.lookupAbsolutePath(this,ATTR_DIRECTORY,null,null,false,null); String text = sfResolve(ATTR_TEXT, (String) null, false); if (sfLog().isDebugEnabled()){ sfLog().debug("Creating temp file in dir ["+dir+"], prefix="+prefix +", suffix="+suffix+", text="+text); } File tempFile; try { if (dir == null) { tempFile = File.createTempFile(prefix, suffix); } else { File directory = new File(dir); directory.mkdirs(); tempFile = File.createTempFile(prefix, suffix, directory); } } catch (IOException e) { throw SmartFrogException.forward(e); } //Create File content if needed if (text!=null) { String encoding = null; encoding = sfResolve(ATTR_TEXT_ENCODING, (String)null, true); Writer wout = null; try { OutputStream fout; fout = new FileOutputStream(getFile()); wout = new OutputStreamWriter(fout, encoding); wout.write(text); wout.flush(); wout.close(); } catch (IOException ioe) { if (wout!=null) { try { wout.close(); } catch (IOException ignored) { //ignore this } } throw SmartFrogException.forward("When trying to write to "+ getFile(),ioe); } } //bind to the temp file bind(tempFile); sfReplaceAttribute(FileUsingComponent.ATTR_FILENAME, tempFile.toString()); }
|
4987 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4987/112507e56b6b43d363ff3e314a2983b00b18d2cf/TempFileImpl.java/clean/core/smartfrog/src/org/smartfrog/services/filesystem/TempFileImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
9033,
10015,
1435,
1216,
19656,
42,
303,
75,
503,
16,
18361,
288,
3639,
2240,
18,
21668,
10015,
5621,
3639,
514,
1633,
273,
9033,
8460,
12,
12043,
67,
6307,
16,
23453,
638,
1769,
3639,
309,
12,
3239,
18,
2469,
1435,
631,
20,
13,
288,
5411,
604,
394,
19656,
42,
303,
75,
503,
12,
3589,
67,
6307,
67,
13625,
16,
2211,
1769,
3639,
289,
3639,
514,
3758,
273,
9033,
8460,
12,
12043,
67,
14964,
16,
261,
780,
13,
446,
16,
629,
1769,
3639,
514,
1577,
31,
3639,
1577,
33,
11785,
18,
8664,
10368,
743,
12,
2211,
16,
12043,
67,
17229,
16,
2011,
16,
2011,
16,
5743,
16,
2011,
1769,
3639,
514,
977,
273,
9033,
8460,
12,
12043,
67,
5151,
16,
261,
780,
13,
446,
16,
629,
1769,
3639,
309,
261,
21668,
1343,
7675,
291,
2829,
1526,
10756,
95,
5411,
9033,
1343,
7675,
4148,
2932,
11092,
1906,
585,
316,
1577,
8247,
15,
1214,
9078,
6487,
1633,
1546,
15,
3239,
21821,
397,
3113,
3758,
1546,
15,
8477,
15,
3113,
977,
1546,
15,
955,
1769,
3639,
289,
3639,
1387,
18286,
31,
3639,
775,
288,
5411,
309,
261,
1214,
422,
446,
13,
288,
7734,
585,
273,
1387,
18,
2640,
20181,
12,
3239,
16,
3758,
1769,
5411,
289,
469,
288,
7734,
1387,
1867,
273,
394,
1387,
12,
1214,
1769,
7734,
1867,
18,
24816,
8291,
5621,
7734,
18286,
273,
1387,
18,
2640,
20181,
12,
3239,
16,
3758,
16,
1867,
1769,
5411,
289,
3639,
289,
1044,
261,
14106,
425,
13,
288,
5411,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
9033,
10015,
1435,
1216,
19656,
42,
303,
75,
503,
16,
18361,
288,
3639,
2240,
18,
21668,
10015,
5621,
3639,
514,
1633,
273,
9033,
8460,
12,
12043,
67,
6307,
16,
23453,
638,
1769,
3639,
309,
12,
3239,
18,
2469,
1435,
631,
20,
13,
288,
5411,
604,
394,
19656,
42,
303,
75,
503,
12,
3589,
67,
6307,
67,
13625,
16,
2211,
1769,
3639,
289,
3639,
514,
3758,
273,
9033,
8460,
12,
12043,
67,
14964,
16,
261,
780,
13,
446,
16,
629,
1769,
3639,
514,
1577,
31,
3639,
1577,
33,
11785,
18,
8664,
10368,
743,
12,
2211,
16,
12043,
67,
17229,
16,
2011,
16,
2011,
16,
5743,
16,
2011,
1769,
3639,
514,
977,
273,
9033,
8460,
12,
12043,
2
] |
if (categoryAbbrev != null) outputStream.print(categoryAbbrev);
|
if (categoryAbbrev == null) categoryAbbrev = OTHER_CATEGORY_ABBREV; outputStream.print(categoryAbbrev);
|
protected void printBug(BugInstance bugInstance) { switch (bugInstance.getPriority()) { case Detector.EXP_PRIORITY: outputStream.print("E "); break; case Detector.LOW_PRIORITY: outputStream.print("L "); break; case Detector.NORMAL_PRIORITY: outputStream.print("M "); break; case Detector.HIGH_PRIORITY: outputStream.print("H "); break; } BugPattern pattern = bugInstance.getBugPattern(); if (pattern != null) { String categoryAbbrev = categoryMap.get(pattern.getCategory()); if (categoryAbbrev != null) outputStream.print(categoryAbbrev); } if (useLongBugCodes) { outputStream.print(bugInstance.getType()); outputStream.print(" "); } SourceLineAnnotation line = bugInstance.getPrimarySourceLineAnnotation(); if (line == null) outputStream.println(bugInstance.getMessage()); else outputStream.println(bugInstance.getMessage() + " " + line.toString()); }
|
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/b9e9e50bf107c802e67ebec6cabda4b1c7099078/TextUIBugReporter.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/TextUIBugReporter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1172,
19865,
12,
19865,
1442,
7934,
1442,
13,
288,
202,
202,
9610,
261,
925,
1442,
18,
588,
8183,
10756,
288,
202,
202,
3593,
22198,
18,
16109,
67,
19804,
30,
1082,
202,
2844,
1228,
18,
1188,
2932,
41,
315,
1769,
1082,
202,
8820,
31,
202,
202,
3593,
22198,
18,
4130,
67,
19804,
30,
1082,
202,
2844,
1228,
18,
1188,
2932,
48,
315,
1769,
1082,
202,
8820,
31,
202,
202,
3593,
22198,
18,
15480,
67,
19804,
30,
1082,
202,
2844,
1228,
18,
1188,
2932,
49,
315,
1769,
1082,
202,
8820,
31,
202,
202,
3593,
22198,
18,
29996,
67,
19804,
30,
1082,
202,
2844,
1228,
18,
1188,
2932,
44,
315,
1769,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
19865,
3234,
1936,
273,
7934,
1442,
18,
588,
19865,
3234,
5621,
202,
202,
430,
261,
4951,
480,
446,
13,
288,
1082,
202,
780,
3150,
5895,
27216,
273,
3150,
863,
18,
588,
12,
4951,
18,
588,
4457,
10663,
1082,
202,
430,
261,
4743,
5895,
27216,
480,
446,
13,
9506,
202,
2844,
1228,
18,
1188,
12,
4743,
5895,
27216,
1769,
202,
202,
97,
202,
202,
430,
261,
1202,
3708,
19865,
6295,
13,
288,
202,
202,
2844,
1228,
18,
1188,
12,
925,
1442,
18,
588,
559,
10663,
202,
202,
2844,
1228,
18,
1188,
2932,
315,
1769,
202,
202,
97,
202,
202,
1830,
1670,
3257,
980,
273,
1082,
3639,
7934,
1442,
18,
588,
6793,
1830,
1670,
3257,
5621,
202,
202,
430,
261,
1369,
422,
446,
13,
1082,
202,
2844,
1228,
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,
1172,
19865,
12,
19865,
1442,
7934,
1442,
13,
288,
202,
202,
9610,
261,
925,
1442,
18,
588,
8183,
10756,
288,
202,
202,
3593,
22198,
18,
16109,
67,
19804,
30,
1082,
202,
2844,
1228,
18,
1188,
2932,
41,
315,
1769,
1082,
202,
8820,
31,
202,
202,
3593,
22198,
18,
4130,
67,
19804,
30,
1082,
202,
2844,
1228,
18,
1188,
2932,
48,
315,
1769,
1082,
202,
8820,
31,
202,
202,
3593,
22198,
18,
15480,
67,
19804,
30,
1082,
202,
2844,
1228,
18,
1188,
2932,
49,
315,
1769,
1082,
202,
8820,
31,
202,
202,
3593,
22198,
18,
29996,
67,
19804,
30,
1082,
202,
2844,
1228,
18,
1188,
2932,
44,
315,
1769,
1082,
202,
8820,
31,
202,
202,
97,
2
] |
User cUser = UserDirectoryService.getCurrentUser();
|
private void sendSiteRequest(SessionState state, String request, int requestListSize, List requestFields) { boolean sendEmailToRequestee = false; StringBuffer buf = new StringBuffer(); // get the request email from configuration String requestEmail = ServerConfigurationService.getString("setup.request", null); if (requestEmail == null) { M_log.warn(this + " - no 'setup.request' in configuration"); } else { String noEmailInIdAccountName = ServerConfigurationService.getString("noEmailInIdAccountName", ""); SiteInfo siteInfo = (SiteInfo)state.getAttribute(STATE_SITE_INFO); Site site = getStateSite(state); String id = site.getId(); String title = site.getTitle(); Time time = TimeService.newTime(); String local_time = time.toStringLocalTime(); String local_date = time.toStringLocalDate(); Term term = null; boolean termExist = false; if (state.getAttribute(STATE_TERM_SELECTED) != null) { termExist = true; term = (Term) state.getAttribute(STATE_TERM_SELECTED); } String productionSiteName = ServerConfigurationService.getServerName(); String from = NULL_STRING; String to = NULL_STRING; String headerTo = NULL_STRING; String replyTo = NULL_STRING; String message_subject = NULL_STRING; String content = NULL_STRING; String sessionUserName = UserDirectoryService.getCurrentUser().getDisplayName(); String sessionUserId = StringUtil.trimToZero(SessionManager.getCurrentSessionUserId()); String additional = NULL_STRING; if (request.equals("new")) { additional = siteInfo.getAdditional(); } else { additional = (String)state.getAttribute(FORM_ADDITIONAL); } boolean isFutureTerm = false; if (state.getAttribute(STATE_FUTURE_TERM_SELECTED) != null && ((Boolean) state.getAttribute(STATE_FUTURE_TERM_SELECTED)).booleanValue()) { isFutureTerm = true; } // message subject if (termExist) { message_subject = rb.getString("java.sitereqfrom")+" " + sessionUserName + " " + rb.getString("java.for") + " " + term.getId(); } else { message_subject = rb.getString("java.official")+" " + sessionUserName; } // there is no offical instructor for future term sites String requestId = (String) state.getAttribute(STATE_SITE_QUEST_UNIQNAME); if (!isFutureTerm) { //To site quest account - the instructor of record's if (requestId != null) { try { User instructor = UserDirectoryService.getUser(requestId); from = requestEmail; to = instructor.getEmail(); headerTo = instructor.getEmail(); replyTo = requestEmail; buf.append(rb.getString("java.hello")+" \n\n"); buf.append(rb.getString("java.receiv")+" " + sessionUserName + ", "); buf.append(rb.getString("java.who")+"\n"); if (termExist) { buf.append(term.getTerm() + " " + term.getYear() + "\n"); } // what are the required fields shown in the UI List requiredFields = CourseManagementService.getCourseIdRequiredFields(); for (int i = 0; i < requestListSize; i++) { List requiredFieldList = (List) requestFields.get(i); for (int j = 0; j < requiredFieldList.size(); j++) { String requiredField = (String) requiredFields.get(j); buf.append(requiredField +"\t" + requiredFieldList.get(j) + "\n"); } } buf.append("\n\n"+rb.getString("java.according")+" " + sessionUserName + " "+rb.getString("java.record")); buf.append(" " + rb.getString("java.canyou")+" " + sessionUserName + " "+ rb.getString("java.assoc")+"\n\n"); buf.append(rb.getString("java.respond")+" " + sessionUserName + rb.getString("java.appoint")+"\n\n"); buf.append(rb.getString("java.thanks")+"\n"); buf.append(productionSiteName + " "+rb.getString("java.support")); content = buf.toString(); // send the email EmailService.send(from, to, message_subject, content, headerTo, replyTo, null); // email has been sent successfully sendEmailToRequestee = true; } catch (UserNotDefinedException ee) { } // try } } //To Support from = UserDirectoryService.getCurrentUser().getEmail(); to = requestEmail; headerTo = requestEmail; replyTo = UserDirectoryService.getCurrentUser().getEmail(); buf.setLength(0); buf.append(rb.getString("java.to")+"\t\t" + productionSiteName + " "+rb.getString("java.supp")+"\n"); buf.append("\n"+rb.getString("java.from")+"\t" + sessionUserName + "\n"); if (request.equals("new")) { buf.append(rb.getString("java.subj")+"\t"+rb.getString("java.sitereq")+"\n"); } else { buf.append(rb.getString("java.subj")+"\t"+rb.getString("java.sitechreq")+"\n"); } buf.append(rb.getString("java.date")+"\t" + local_date + " " + local_time + "\n\n"); if (request.equals("new")) { buf.append(rb.getString("java.approval") + " " + productionSiteName + " "+rb.getString("java.coursesite")+" "); } else { buf.append(rb.getString("java.approval2")+" " + productionSiteName + " "+rb.getString("java.coursesite")+" "); } if (termExist) { buf.append(term.getTerm() + " " + term.getYear()); } if (requestListSize >1) { buf.append(" "+rb.getString("java.forthese")+" " + requestListSize + " "+rb.getString("java.sections")+"\n\n"); } else { buf.append(" "+rb.getString("java.forthis")+"\n\n"); } //what are the required fields shown in the UI List requiredFields = CourseManagementService.getCourseIdRequiredFields(); for (int i = 0; i < requestListSize; i++) { List requiredFieldList = (List) requestFields.get(i); for (int j = 0; j < requiredFieldList.size(); j++) { String requiredField = (String) requiredFields.get(j); buf.append(requiredField +"\t" + requiredFieldList.get(j) + "\n"); } } buf.append(rb.getString("java.name")+"\t" + sessionUserName + " (" + noEmailInIdAccountName + " " + sessionUserName + ")\n"); buf.append(rb.getString("java.email")+"\t" + replyTo + "\n\n"); buf.append(rb.getString("java.sitetitle")+"\t" + title + "\n"); buf.append(rb.getString("java.siteid")+"\t" + id + "\n"); buf.append(rb.getString("java.siteinstr")+"\n" + additional + "\n\n"); if (!isFutureTerm) { if (sendEmailToRequestee) { buf.append(rb.getString("java.authoriz")+" " + requestId + " "+rb.getString("java.asreq")); } else { buf.append(rb.getString("java.thesiteemail")+" " + requestId + " "+rb.getString("java.asreq")); } } content = buf.toString(); EmailService.send(from, to, message_subject, content, headerTo, replyTo, null); //To the Instructor User curUser = UserDirectoryService.getCurrentUser(); from = requestEmail; to = curUser.getEmail(); headerTo = to; replyTo = to; buf.setLength(0); buf.append(rb.getString("java.isbeing")+" "); buf.append(rb.getString("java.meantime")+"\n\n"); buf.append(rb.getString("java.copy")+"\n\n"); buf.append(content); buf.append("\n"+rb.getString("java.wish")+" " + requestEmail); content = buf.toString(); EmailService.send(from, to, message_subject, content, headerTo, replyTo, null); state.setAttribute(REQUEST_SENT, new Boolean(true)); } // if } // sendSiteRequest
|
54846 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54846/c056181efb440533c058b7fd915da25fb81424b9/SiteAction.java/buggy/site-manage-tool/tool/src/java/org/sakaiproject/site/tool/SiteAction.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
918,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
1366,
4956,
691,
12,
2157,
1119,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
919,
16,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
514,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
590,
16,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
509,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
590,
682,
1225,
16,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
987,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
590,
2314,
13,
202,
95,
202,
202,
6494,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
1366,
4134,
774,
691,
1340,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
273,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
629,
31,
202,
202,
780,
1892,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
1681,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
273,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
394,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
6674,
5621,
9506,
202,
759,
1299,
276,
1299,
273,
2177,
2853,
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,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
918,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
1366,
4956,
691,
12,
2157,
1119,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
919,
16,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
514,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
590,
16,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
509,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
590,
682,
1225,
16,
1299,
276,
1299,
273,
2177,
2853,
1179,
18,
588,
3935,
1299,
5621,
987,
1299,
276,
2
] |
|
public BigInteger pow(int exponent)
|
private BigInteger pow(BigInteger y)
|
public BigInteger pow(int exponent) { if (exponent <= 0) { if (exponent == 0) return ONE; else throw new ArithmeticException("negative exponent"); } if (isZero()) return this; int plen = words == null ? 1 : ival; // Length of pow2. int blen = ((bitLength() * exponent) >> 5) + 2 * plen; boolean negative = isNegative() && (exponent & 1) != 0; int[] pow2 = new int [blen]; int[] rwords = new int [blen]; int[] work = new int [blen]; getAbsolute(pow2); // pow2 = abs(this); int rlen = 1; rwords[0] = 1; // rwords = 1; for (;;) // for (i = 0; ; i++) { // pow2 == this**(2**i) // prod = this**(sum(j=0..i-1, (exponent>>j)&1)) if ((exponent & 1) != 0) { // r *= pow2 MPN.mul(work, pow2, plen, rwords, rlen); int[] temp = work; work = rwords; rwords = temp; rlen += plen; while (rwords[rlen - 1] == 0) rlen--; } exponent >>= 1; if (exponent == 0) break; // pow2 *= pow2; MPN.mul(work, pow2, plen, pow2, plen); int[] temp = work; work = pow2; pow2 = temp; // swap to avoid a copy plen *= 2; while (pow2[plen - 1] == 0) plen--; } if (rwords[rlen - 1] < 0) rlen++; if (negative) negate(rwords, rwords, rlen); return BigInteger.make(rwords, rlen); }
|
45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/4e141f35458b612b492f1f4dd6fb28d4924e7828/BigInteger.java/buggy/libjava/java/math/BigInteger.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
10246,
7602,
12,
24198,
677,
13,
225,
288,
565,
309,
261,
24045,
1648,
374,
13,
1377,
288,
202,
430,
261,
24045,
422,
374,
13,
202,
225,
327,
15623,
31,
202,
12107,
202,
225,
604,
394,
27443,
503,
2932,
13258,
9100,
8863,
1377,
289,
565,
309,
261,
291,
7170,
10756,
1377,
327,
333,
31,
565,
509,
886,
275,
273,
4511,
422,
446,
692,
404,
294,
277,
1125,
31,
225,
368,
11311,
434,
7602,
22,
18,
565,
509,
324,
1897,
273,
14015,
3682,
1782,
1435,
380,
9100,
13,
1671,
1381,
13,
397,
576,
380,
886,
275,
31,
565,
1250,
6092,
273,
29886,
1435,
597,
261,
24045,
473,
404,
13,
480,
374,
31,
565,
509,
8526,
7602,
22,
273,
394,
509,
306,
70,
1897,
15533,
565,
509,
8526,
436,
3753,
273,
394,
509,
306,
70,
1897,
15533,
565,
509,
8526,
1440,
273,
394,
509,
306,
70,
1897,
15533,
565,
8469,
12,
23509,
22,
1769,
202,
759,
7602,
22,
273,
2417,
12,
2211,
1769,
565,
509,
436,
1897,
273,
404,
31,
565,
436,
3753,
63,
20,
65,
273,
404,
31,
368,
436,
3753,
273,
404,
31,
565,
364,
261,
25708,
13,
225,
368,
364,
261,
77,
273,
374,
31,
225,
274,
277,
27245,
1377,
288,
202,
759,
7602,
22,
422,
333,
636,
12,
22,
636,
77,
13,
202,
759,
10791,
273,
333,
636,
12,
1364,
12,
78,
33,
20,
838,
77,
17,
21,
16,
261,
24045,
9778,
78,
13,
10,
21,
3719,
202,
430,
14015,
24045,
473,
404,
13,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
10246,
7602,
12,
24198,
677,
13,
225,
288,
565,
309,
261,
24045,
1648,
374,
13,
1377,
288,
202,
430,
261,
24045,
422,
374,
13,
202,
225,
327,
15623,
31,
202,
12107,
202,
225,
604,
394,
27443,
503,
2932,
13258,
9100,
8863,
1377,
289,
565,
309,
261,
291,
7170,
10756,
1377,
327,
333,
31,
565,
509,
886,
275,
273,
4511,
422,
446,
692,
404,
294,
277,
1125,
31,
225,
368,
11311,
434,
7602,
22,
18,
565,
509,
324,
1897,
273,
14015,
3682,
1782,
1435,
380,
9100,
13,
1671,
1381,
13,
397,
576,
380,
886,
275,
31,
565,
1250,
6092,
273,
29886,
1435,
597,
261,
24045,
473,
404,
13,
480,
374,
31,
565,
509,
8526,
7602,
22,
273,
394,
2
] |
setModified(true);
|
public void setCreateDate(Date createDate) { if (((createDate == null) && (_createDate != null)) || ((createDate != null) && (_createDate == null)) || ((createDate != null) && (_createDate != null) && !createDate.equals(_createDate))) { _createDate = createDate; setModified(true); } }
|
53908 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53908/f4d6afc6707f57fd84bf6b624f0c119657b0a766/EmailAddressModel.java/buggy/portal-ejb/src/com/liferay/portal/model/EmailAddressModel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
1684,
1626,
12,
1626,
752,
1626,
13,
288,
202,
202,
430,
261,
12443,
2640,
1626,
422,
446,
13,
597,
261,
67,
2640,
1626,
480,
446,
3719,
747,
9506,
202,
12443,
2640,
1626,
480,
446,
13,
597,
261,
67,
2640,
1626,
422,
446,
3719,
747,
9506,
202,
12443,
2640,
1626,
480,
446,
13,
597,
261,
67,
2640,
1626,
480,
446,
13,
597,
9506,
202,
5,
2640,
1626,
18,
14963,
24899,
2640,
1626,
20349,
288,
1082,
202,
67,
2640,
1626,
273,
752,
1626,
31,
1082,
202,
542,
4575,
12,
3767,
1769,
202,
202,
97,
202,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
1684,
1626,
12,
1626,
752,
1626,
13,
288,
202,
202,
430,
261,
12443,
2640,
1626,
422,
446,
13,
597,
261,
67,
2640,
1626,
480,
446,
3719,
747,
9506,
202,
12443,
2640,
1626,
480,
446,
13,
597,
261,
67,
2640,
1626,
422,
446,
3719,
747,
9506,
202,
12443,
2640,
1626,
480,
446,
13,
597,
261,
67,
2640,
1626,
480,
446,
13,
597,
9506,
202,
5,
2640,
1626,
18,
14963,
24899,
2640,
1626,
20349,
288,
1082,
202,
67,
2640,
1626,
273,
752,
1626,
31,
1082,
202,
542,
4575,
12,
3767,
1769,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
hc = ObjectUtil.hashCode(hc, searchResult); hc = ObjectUtil.hashCode(hc, score); hc = ObjectUtil.hashCode(hc, pValue); hc = ObjectUtil.hashCode(hc, eValue); hc = ObjectUtil.hashCode(hc, sequenceID); hc = ObjectUtil.hashCode(hc, subHits);
|
hc = ObjectUtil.hashCode(hc, searchResult); hc = ObjectUtil.hashCode(hc, score); hc = ObjectUtil.hashCode(hc, pValue); hc = ObjectUtil.hashCode(hc, eValue); hc = ObjectUtil.hashCode(hc, sequenceID); hc = ObjectUtil.hashCode(hc, subHits);
|
public int hashCode() { // if this class is a direct sub-class of Object: int hc = 0; // only take into account fields of this class (not of super-class): hc = ObjectUtil.hashCode(hc, searchResult); hc = ObjectUtil.hashCode(hc, score); hc = ObjectUtil.hashCode(hc, pValue); hc = ObjectUtil.hashCode(hc, eValue); hc = ObjectUtil.hashCode(hc, sequenceID); hc = ObjectUtil.hashCode(hc, subHits); return hc; }
|
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/1e53e34b25e9b009c50460af0986e9449f82ece1/SimpleSeqSimilaritySearchHit.java/buggy/src/org/biojava/bio/search/SimpleSeqSimilaritySearchHit.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
13374,
1435,
288,
565,
368,
309,
333,
667,
353,
279,
2657,
720,
17,
1106,
434,
1033,
30,
565,
509,
11684,
273,
374,
31,
565,
368,
1338,
4862,
1368,
2236,
1466,
434,
333,
667,
261,
902,
434,
2240,
17,
1106,
4672,
565,
11684,
273,
1033,
1304,
18,
2816,
1085,
12,
28353,
16,
31935,
1769,
565,
11684,
273,
1033,
1304,
18,
2816,
1085,
12,
28353,
16,
4462,
1769,
565,
11684,
273,
1033,
1304,
18,
2816,
1085,
12,
28353,
16,
18326,
1769,
565,
11684,
273,
1033,
1304,
18,
2816,
1085,
12,
28353,
16,
425,
620,
1769,
565,
11684,
273,
1033,
1304,
18,
2816,
1085,
12,
28353,
16,
3102,
734,
1769,
565,
11684,
273,
1033,
1304,
18,
2816,
1085,
12,
28353,
16,
720,
20950,
1769,
565,
327,
11684,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
13374,
1435,
288,
565,
368,
309,
333,
667,
353,
279,
2657,
720,
17,
1106,
434,
1033,
30,
565,
509,
11684,
273,
374,
31,
565,
368,
1338,
4862,
1368,
2236,
1466,
434,
333,
667,
261,
902,
434,
2240,
17,
1106,
4672,
565,
11684,
273,
1033,
1304,
18,
2816,
1085,
12,
28353,
16,
31935,
1769,
565,
11684,
273,
1033,
1304,
18,
2816,
1085,
12,
28353,
16,
4462,
1769,
565,
11684,
273,
1033,
1304,
18,
2816,
1085,
12,
28353,
16,
18326,
1769,
565,
11684,
273,
1033,
1304,
18,
2816,
1085,
12,
28353,
16,
425,
620,
1769,
565,
11684,
273,
1033,
1304,
18,
2816,
1085,
12,
28353,
16,
3102,
734,
1769,
565,
11684,
273,
1033,
1304,
18,
2816,
1085,
12,
2
] |
return getValue().compareTo(bigIntValue(other)); }
|
return getValue().compareTo(bigIntValue(other)); }
|
protected int compareValue(RubyNumeric other) { if (other instanceof RubyFloat) { double otherVal = other.getDoubleValue(); double thisVal = getDoubleValue(); return thisVal > otherVal ? 1 : thisVal < otherVal ? -1 : 0; } return getValue().compareTo(bigIntValue(other)); }
|
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/1cc89bd397c0f049e6fa3045916fd6d9a3cdada8/RubyBignum.java/buggy/org/jruby/RubyBignum.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
3400,
620,
12,
54,
10340,
9902,
1308,
13,
288,
3639,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
1645,
1308,
3053,
273,
1308,
18,
588,
5265,
620,
5621,
5411,
1645,
333,
3053,
273,
16097,
620,
5621,
5411,
327,
333,
3053,
405,
1308,
3053,
692,
404,
294,
333,
3053,
411,
1308,
3053,
692,
300,
21,
294,
374,
31,
3639,
289,
3639,
327,
2366,
7675,
9877,
774,
12,
14002,
1702,
620,
12,
3011,
10019,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
3400,
620,
12,
54,
10340,
9902,
1308,
13,
288,
3639,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
1645,
1308,
3053,
273,
1308,
18,
588,
5265,
620,
5621,
5411,
1645,
333,
3053,
273,
16097,
620,
5621,
5411,
327,
333,
3053,
405,
1308,
3053,
692,
404,
294,
333,
3053,
411,
1308,
3053,
692,
300,
21,
294,
374,
31,
3639,
289,
3639,
327,
2366,
7675,
9877,
774,
12,
14002,
1702,
620,
12,
3011,
10019,
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
] |
Scope oldScope = (Scope)getScope().getTop();
|
Scope oldScope = (Scope) getScope().getTop();
|
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { if (!isBlockGiven()) { throw new RaiseException(this, "LocalJumpError", "yield called out of block"); } RubyVarmap.push(this); pushClass(); RubyBlock tmpBlock = block.getTmp(); RubyFrame frame = new RubyFrame(tmpBlock.frame); // block.frame; frame.setPrev(getRubyFrame()); setRubyFrame(frame); CRefNode oldCRef = getCRef(); setCRef(getRubyFrame().getCbase()); Scope oldScope = (Scope)getScope().getTop(); getScope().setTop(tmpBlock.scope); // getScope().push(tmpBlock.scope); // block.pop(); block = block.prev; if ((block.flags & RubyBlock.BLOCK_D_SCOPE) != 0) { setDynamicVars(new RubyVarmap(null, null, tmpBlock.dynamicVars)); } else { setDynamicVars(block.dynamicVars); } setRubyClass((klass != null) ? klass : tmpBlock.klass); if (klass == null) { self = tmpBlock.self; } Node node = tmpBlock.body; if (tmpBlock.var != null) { // try { if (tmpBlock.var == Node.ONE) { if (acheck && value != null && value instanceof RubyArray && ((RubyArray) value).getLength() != 0) { throw new RubyArgumentException(this, "wrong # of arguments (" + ((RubyArray) value).getLength() + " for 0)"); } } else { if (!(tmpBlock.var instanceof MAsgnNode)) { if (acheck && value != null && value instanceof RubyArray && ((RubyArray) value).getLength() == 1) { value = ((RubyArray) value).entry(0); } } ((AssignableNode) tmpBlock.var).assign(this, self, value, acheck); } // } catch () { // goto pop_state; // } } else { if (acheck && value != null && value instanceof RubyArray && ((RubyArray) value).getLength() == 1) { value = ((RubyArray) value).entry(0); } } iter.push(tmpBlock.iter); try { while (true) { try { if (node == null) { return getNil(); } else if (node instanceof ExecutableNode) { if (value == null) { value = RubyArray.newArray(this, 0); } return ((ExecutableNode) node).execute(value, new RubyObject[] { node.getTValue(), self }, this); } else { return node.eval(this, self); } } catch (RedoException rExcptn) { } } //break; } catch (NextException nExcptn) { return getNil(); /* } catch (BreakException bExcptn) { throw bExcptn;*/ } catch (ReturnException rExcptn) { // break; return rExcptn.getReturnValue(); /* catch (BreakException bExcptn) { // +++ throw new ReturnException(getNil()); // ---*/ } finally { iter.pop(); popClass(); RubyVarmap.pop(this); block.setTmp(tmpBlock); setRubyFrame(getRubyFrame().getPrev()); setCRef(oldCRef); // if (ruby_scope->flag & SCOPE_DONT_RECYCLE) // scope_dup(old_scope); getScope().setTop(oldScope); } }
|
49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/4e4bb40b2eb2d38881d15ca8ef7cda4c34323793/Ruby.java/clean/org/jruby/Ruby.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
2824,
20,
12,
54,
10340,
921,
460,
16,
19817,
921,
365,
16,
19817,
3120,
7352,
16,
1250,
279,
1893,
13,
288,
3639,
309,
16051,
291,
1768,
6083,
10756,
288,
5411,
604,
394,
20539,
503,
12,
2211,
16,
315,
2042,
26743,
668,
3113,
315,
23604,
2566,
596,
434,
1203,
8863,
3639,
289,
3639,
19817,
1537,
1458,
18,
6206,
12,
2211,
1769,
3639,
1817,
797,
5621,
3639,
19817,
1768,
1853,
1768,
273,
1203,
18,
588,
9161,
5621,
3639,
19817,
3219,
2623,
273,
394,
19817,
3219,
12,
5645,
1768,
18,
3789,
1769,
368,
1203,
18,
3789,
31,
3639,
2623,
18,
542,
9958,
12,
588,
54,
10340,
3219,
10663,
3639,
444,
54,
10340,
3219,
12,
3789,
1769,
3639,
385,
1957,
907,
1592,
39,
1957,
273,
1927,
1957,
5621,
3639,
11440,
1957,
12,
588,
54,
10340,
3219,
7675,
588,
39,
1969,
10663,
3639,
5468,
1592,
3876,
273,
261,
3876,
13,
19203,
7675,
588,
3401,
5621,
3639,
19203,
7675,
542,
3401,
12,
5645,
1768,
18,
4887,
1769,
3639,
368,
19203,
7675,
6206,
12,
5645,
1768,
18,
4887,
1769,
3639,
368,
1203,
18,
5120,
5621,
3639,
1203,
273,
1203,
18,
10001,
31,
3639,
309,
14015,
2629,
18,
7133,
473,
19817,
1768,
18,
11403,
67,
40,
67,
19444,
13,
480,
374,
13,
288,
5411,
444,
9791,
5555,
12,
2704,
19817,
1537,
1458,
12,
2011,
16,
446,
16,
1853,
1768,
18,
14507,
5555,
10019,
3639,
289,
469,
288,
5411,
444,
9791,
5555,
12,
2629,
18,
14507,
5555,
1769,
3639,
289,
3639,
444,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
2824,
20,
12,
54,
10340,
921,
460,
16,
19817,
921,
365,
16,
19817,
3120,
7352,
16,
1250,
279,
1893,
13,
288,
3639,
309,
16051,
291,
1768,
6083,
10756,
288,
5411,
604,
394,
20539,
503,
12,
2211,
16,
315,
2042,
26743,
668,
3113,
315,
23604,
2566,
596,
434,
1203,
8863,
3639,
289,
3639,
19817,
1537,
1458,
18,
6206,
12,
2211,
1769,
3639,
1817,
797,
5621,
3639,
19817,
1768,
1853,
1768,
273,
1203,
18,
588,
9161,
5621,
3639,
19817,
3219,
2623,
273,
394,
19817,
3219,
12,
5645,
1768,
18,
3789,
1769,
368,
1203,
18,
3789,
31,
3639,
2623,
18,
542,
9958,
12,
588,
54,
10340,
3219,
10663,
3639,
444,
54,
10340,
3219,
12,
3789,
1769,
3639,
385,
2
] |
return "";
|
return "";
|
private String getHrefString() { if (this.href == null) { return ""; } return " href=\"" + this.href.toString() + "\""; }
|
7284 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7284/101977ad06aad488b3652f70bcee7359487e87db/Anchor.java/buggy/displaytag/src/main/java/org/displaytag/util/Anchor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
7628,
1734,
780,
1435,
565,
288,
3639,
309,
261,
2211,
18,
7547,
422,
446,
13,
3639,
288,
5411,
327,
1408,
31,
3639,
289,
3639,
327,
315,
3897,
13186,
397,
333,
18,
7547,
18,
10492,
1435,
397,
11143,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
7628,
1734,
780,
1435,
565,
288,
3639,
309,
261,
2211,
18,
7547,
422,
446,
13,
3639,
288,
5411,
327,
1408,
31,
3639,
289,
3639,
327,
315,
3897,
13186,
397,
333,
18,
7547,
18,
10492,
1435,
397,
11143,
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
] |
return isbn;
|
return isbn;
|
public Integer getIsbn() { return isbn; }
|
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/f2ed60b5417a9a7d4bcf5fcf0cdc3f70cc3c9b8f/BookBean.java/buggy/src/net/sourceforge/fenixedu/dataTransferObject/research/result/publication/BookBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2144,
14279,
13392,
1435,
288,
3639,
327,
24205,
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,
0
] |
[
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,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2144,
14279,
13392,
1435,
288,
3639,
327,
24205,
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,
-100
] |
if (typeSignature.length() < 1) {
|
if (typeSignature.length < 1) {
|
public static int getTypeSignatureKind(String typeSignature) { // need a minimum 1 char if (typeSignature.length() < 1) { throw new IllegalArgumentException(); } char c = typeSignature.charAt(0); switch (c) { case C_ARRAY : return ARRAY_TYPE_SIGNATURE; case C_RESOLVED : case C_UNRESOLVED : return CLASS_TYPE_SIGNATURE; case C_TYPE_VARIABLE : return TYPE_VARIABLE_SIGNATURE; case C_BOOLEAN : case C_BYTE : case C_CHAR : case C_DOUBLE : case C_FLOAT : case C_INT : case C_LONG : case C_SHORT : case C_VOID : return BASE_TYPE_SIGNATURE; default : throw new IllegalArgumentException(); }}
|
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/15e62f7752b5ba1cd51b3fafb5a3b0c9d1ba5891/Signature.java/buggy/org.eclipse.jdt.core/model/org/eclipse/jdt/core/Signature.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
509,
3130,
5374,
5677,
12,
780,
618,
5374,
13,
288,
202,
759,
1608,
279,
5224,
404,
1149,
202,
430,
261,
723,
5374,
18,
2469,
1435,
411,
404,
13,
288,
202,
202,
12849,
394,
2754,
5621,
202,
97,
202,
3001,
276,
273,
618,
5374,
18,
3001,
861,
12,
20,
1769,
202,
9610,
261,
71,
13,
288,
202,
202,
3593,
385,
67,
8552,
294,
1082,
202,
2463,
14884,
67,
2399,
67,
26587,
31,
202,
202,
3593,
385,
67,
17978,
12135,
294,
202,
202,
3593,
385,
67,
2124,
17978,
12135,
294,
1082,
202,
2463,
7383,
67,
2399,
67,
26587,
31,
202,
202,
3593,
385,
67,
2399,
67,
16444,
294,
1082,
202,
2463,
3463,
67,
16444,
67,
26587,
31,
202,
202,
3593,
385,
67,
17900,
294,
202,
202,
3593,
385,
67,
15377,
294,
202,
202,
3593,
385,
67,
7305,
294,
202,
202,
3593,
385,
67,
17088,
294,
202,
202,
3593,
385,
67,
15640,
294,
202,
202,
3593,
385,
67,
3217,
294,
202,
202,
3593,
385,
67,
14639,
294,
202,
202,
3593,
385,
67,
15993,
294,
202,
202,
3593,
385,
67,
58,
12945,
294,
1082,
202,
2463,
10250,
67,
2399,
67,
26587,
31,
202,
202,
1886,
294,
1082,
202,
12849,
394,
2754,
5621,
202,
9090,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
509,
3130,
5374,
5677,
12,
780,
618,
5374,
13,
288,
202,
759,
1608,
279,
5224,
404,
1149,
202,
430,
261,
723,
5374,
18,
2469,
1435,
411,
404,
13,
288,
202,
202,
12849,
394,
2754,
5621,
202,
97,
202,
3001,
276,
273,
618,
5374,
18,
3001,
861,
12,
20,
1769,
202,
9610,
261,
71,
13,
288,
202,
202,
3593,
385,
67,
8552,
294,
1082,
202,
2463,
14884,
67,
2399,
67,
26587,
31,
202,
202,
3593,
385,
67,
17978,
12135,
294,
202,
202,
3593,
385,
67,
2124,
17978,
12135,
294,
1082,
202,
2463,
7383,
67,
2399,
67,
26587,
31,
202,
202,
3593,
385,
67,
2399,
67,
16444,
294,
1082,
202,
2463,
3463,
67,
16444,
67,
26587,
31,
202,
202,
2
] |
for (int i = 0; i < arity; i++) { if (i > 0) writer.print(", ");
|
for (int i = 1; i <= arity; i++) { if (i > 1) writer.print(", ");
|
public void printVParams() { for (int i = 0; i < arity; i++) { if (i > 0) writer.print(", "); writer.print("_").print(i).print(": T").print(i); } }
|
10130 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10130/32782e0e28c9d2538b2e597e986a78c22960fc32/MetaTuple.java/clean/sources/meta/scala/MetaTuple.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1172,
58,
1370,
1435,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
19353,
31,
277,
27245,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1172,
58,
1370,
1435,
288,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
19353,
31,
277,
27245,
288,
5411,
309,
261,
77,
405,
374,
13,
2633,
18,
1188,
2932,
16,
315,
1769,
5411,
2633,
18,
1188,
2932,
9548,
2934,
1188,
12,
77,
2934,
1188,
2932,
30,
399,
20387,
1188,
12,
77,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
out.write((int) buf.length); out.write(buf);
|
if (buf.length > 0) { out.write((int) buf.length); out.write(buf); } else { out.write((int) 1); out.write((byte) 0); }
|
static void writeTds5Param(RequestStream out, String charset, ParamInfo pi) throws IOException, SQLException { switch (pi.tdsType) { case SYBVARCHAR: if (pi.value == null) { out.write((byte) 0); } else { byte buf[] = pi.getBytes(charset); if (buf.length == 0) { buf = new byte[1]; buf[0] = ' '; } if (buf.length > 255) { throw new SQLException( Messages.get("error.generic.truncmbcs"), "HY000"); } out.write((byte) buf.length); out.write(buf); } break; case SYBVARBINARY: if (pi.value == null) { out.write((byte) 0); } else { byte buf[] = pi.getBytes(charset); out.write((byte) buf.length); out.write(buf); } break; case XSYBCHAR: if (pi.value == null) { out.write((byte) 0); } else { byte buf[] = pi.getBytes(charset); if (buf.length == 0) { buf = new byte[1]; buf[0] = ' '; } out.write((int) buf.length); out.write(buf); } break; case SYBLONGBINARY: if (pi.value == null) { out.write((int) 0); } else { if (pi.sqlType.startsWith("univarchar")){ String tmp = pi.getString(charset); out.write((int)tmp.length() * 2); out.write(tmp.toCharArray(), 0, tmp.length()); } else { byte buf[] = pi.getBytes(charset); out.write((int) buf.length); out.write(buf); } } break; case SYBINTN: if (pi.value == null) { out.write((byte) 0); } else { out.write((byte) 4); out.write(((Number) pi.value).intValue()); } break; case SYBFLTN: if (pi.value == null) { out.write((byte) 0); } else { out.write((byte) 8); out.write(((Number) pi.value).doubleValue()); } break; case SYBDATETIMN: putDateTimeValue(out, pi.value); break; case SYBDATEN: if (pi.value == null) { out.write((byte)0); } else { synchronized (cal) { out.write((byte) 4); cal.setTime((java.util.Date) pi.value); int daysSince1900 = calendarToSybDate(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1, cal.get(Calendar.DAY_OF_MONTH)); out.write((int) daysSince1900); } } break; case SYBTIMEN: if (pi.value == null) { out.write((byte)0); } else { synchronized (cal) { out.write((byte) 4); int time = calendarToSybTime(cal, pi.value); cal.setTime((java.util.Date) pi.value); out.write((int) time); } } break; case SYBBIT: if (pi.value == null) { out.write((byte) 0); } else { out.write((byte) (((Boolean) pi.value).booleanValue() ? 1 : 0)); } break; case SYBNUMERIC: case SYBDECIMAL: BigDecimal value = null; if (pi.value != null) { if (pi.value instanceof Long) { // Long to BigDecimal conversion is buggy. It's actually // long to double to BigDecimal. value = new BigDecimal(pi.value.toString()); } else { value = (BigDecimal) pi.value; } } out.write(value); break; default: throw new IllegalStateException( "Unsupported output TDS type " + Integer.toHexString(pi.tdsType)); } }
|
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/2f1fefd2c51a632b432cc7be26cc8ec087a63c02/TdsData.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/TdsData.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
918,
1045,
56,
2377,
25,
786,
12,
691,
1228,
596,
16,
1171,
9079,
514,
4856,
16,
1171,
9079,
3014,
966,
4790,
13,
565,
1216,
1860,
16,
6483,
288,
3639,
1620,
261,
7259,
18,
88,
2377,
559,
13,
288,
5411,
648,
7068,
38,
7716,
7305,
30,
7734,
309,
261,
7259,
18,
1132,
422,
446,
13,
288,
10792,
596,
18,
2626,
12443,
7229,
13,
374,
1769,
7734,
289,
469,
288,
10792,
1160,
1681,
8526,
273,
4790,
18,
588,
2160,
12,
9999,
1769,
10792,
309,
261,
4385,
18,
2469,
422,
374,
13,
288,
13491,
1681,
273,
394,
1160,
63,
21,
15533,
13491,
1681,
63,
20,
65,
273,
296,
12386,
10792,
289,
10792,
309,
261,
4385,
18,
2469,
405,
4561,
13,
288,
13491,
604,
394,
6483,
12,
4766,
2868,
4838,
18,
588,
2932,
1636,
18,
13540,
18,
23558,
1627,
2143,
6,
3631,
315,
44,
61,
3784,
8863,
10792,
289,
10792,
596,
18,
2626,
12443,
7229,
13,
1681,
18,
2469,
1769,
10792,
596,
18,
2626,
12,
4385,
1769,
7734,
289,
7734,
898,
31,
5411,
648,
7068,
38,
7716,
16813,
30,
7734,
309,
261,
7259,
18,
1132,
422,
446,
13,
288,
10792,
596,
18,
2626,
12443,
7229,
13,
374,
1769,
7734,
289,
469,
288,
10792,
1160,
1681,
8526,
273,
4790,
18,
588,
2160,
12,
9999,
1769,
10792,
596,
18,
2626,
12443,
7229,
13,
1681,
18,
2469,
1769,
10792,
596,
18,
2626,
12,
4385,
1769,
7734,
289,
7734,
898,
31,
5411,
648,
1139,
7474,
38,
7305,
30,
7734,
309,
261,
7259,
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,
760,
918,
1045,
56,
2377,
25,
786,
12,
691,
1228,
596,
16,
1171,
9079,
514,
4856,
16,
1171,
9079,
3014,
966,
4790,
13,
565,
1216,
1860,
16,
6483,
288,
3639,
1620,
261,
7259,
18,
88,
2377,
559,
13,
288,
5411,
648,
7068,
38,
7716,
7305,
30,
7734,
309,
261,
7259,
18,
1132,
422,
446,
13,
288,
10792,
596,
18,
2626,
12443,
7229,
13,
374,
1769,
7734,
289,
469,
288,
10792,
1160,
1681,
8526,
273,
4790,
18,
588,
2160,
12,
9999,
1769,
10792,
309,
261,
4385,
18,
2469,
422,
374,
13,
288,
13491,
1681,
273,
394,
1160,
63,
21,
15533,
13491,
1681,
63,
20,
65,
273,
296,
12386,
10792,
289,
10792,
309,
261,
4385,
18,
2469,
405,
4561,
13,
2
] |
} IBuilder builder = toolChain.getBuilder(); if (builder != null) { if (forCurrentMbsVersion) { element = ((Builder)builder).getCurrentMbsVersionConversionElement(); } else { element = ((Builder)builder).getPreviousMbsVersionConversionElement(); } if (element != null) { if ( invokeConverter(builder, element) == null ) { buildInfo.getManagedProject().setValid(false); return false;
|
IBuilder builder = toolChain.getBuilder(); if (builder != null) { if (forCurrentMbsVersion) { element = ((Builder) builder) .getCurrentMbsVersionConversionElement(); } else { element = ((Builder) builder) .getPreviousMbsVersionConversionElement();
|
private static boolean checkForMigrationSupport(ManagedBuildInfo buildInfo, boolean forCurrentMbsVersion) { IConfigurationElement element = null; // Get the managed project from buildInfo IManagedProject managedProject = buildInfo.getManagedProject(); // walk through the hierarchy of the project and // call the converters if available for each configuration IConfiguration[] configs = managedProject.getConfigurations(); for (int i = 0; i < configs.length; i++) { IConfiguration configuration = configs[i]; IToolChain toolChain = configuration.getToolChain(); if (forCurrentMbsVersion) { element = ((ToolChain)toolChain).getCurrentMbsVersionConversionElement(); } else { element = ((ToolChain)toolChain).getPreviousMbsVersionConversionElement(); } if (element != null) { // If there is a converter element for toolChain, invoke it // toolChain converter should take care of invoking converters of it's children if ( invokeConverter(toolChain, element) == null ) { buildInfo.getManagedProject().setValid(false); return false; } } else { // If there are no converters for toolChain, walk through it's children ITool[] tools = toolChain.getTools(); for (int j = 0; j < tools.length; j++) { ITool tool = tools[j]; if (forCurrentMbsVersion) { element = ((Tool)tool).getCurrentMbsVersionConversionElement(); } else { element = ((Tool)tool).getPreviousMbsVersionConversionElement(); } if (element != null) { if ( invokeConverter(tool, element) == null ) { buildInfo.getManagedProject().setValid(false); return false; } } } IBuilder builder = toolChain.getBuilder(); if (builder != null) { if (forCurrentMbsVersion) { element = ((Builder)builder).getCurrentMbsVersionConversionElement(); } else { element = ((Builder)builder).getPreviousMbsVersionConversionElement(); } if (element != null) { if ( invokeConverter(builder, element) == null ) { buildInfo.getManagedProject().setValid(false); return false; } } } } // walk through each resource configuration and look if there are any converters // available. If so, invoke them. IResourceConfiguration [] resourceConfigs = configuration.getResourceConfigurations(); if ( ( resourceConfigs != null) && ( resourceConfigs.length > 0)) { for (int j = 0; j < resourceConfigs.length; j++) { IResourceConfiguration resConfig = resourceConfigs[j]; ITool [] resTools = resConfig.getTools(); for (int k = 0; k < resTools.length; k++) { ITool resTool = resTools[k]; if (forCurrentMbsVersion) { element = ((Tool)resTool).getCurrentMbsVersionConversionElement(); } else { element = ((Tool)resTool).getPreviousMbsVersionConversionElement(); } if (element != null) { if ( invokeConverter(resTool, element) == null ) { buildInfo.getManagedProject().setValid(false); return false; } } } } } // end of if } // If control comes here, it means either there is no converter element // or converters are invoked successfully return true; }
|
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/e2ab8aa66bc9088cb3702adfb1981078a8f4bbf2/ManagedBuildManager.java/buggy/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
1250,
13855,
10224,
6289,
12,
10055,
3116,
966,
1361,
966,
16,
1082,
202,
6494,
364,
3935,
49,
2038,
1444,
13,
288,
9506,
202,
45,
1750,
1046,
930,
273,
446,
31,
202,
202,
759,
968,
326,
7016,
1984,
628,
1361,
966,
202,
202,
3445,
4184,
4109,
7016,
4109,
273,
1361,
966,
18,
588,
10055,
4109,
5621,
202,
202,
759,
5442,
3059,
326,
9360,
434,
326,
1984,
471,
3196,
202,
759,
745,
326,
19414,
309,
2319,
364,
1517,
1664,
202,
202,
45,
1750,
8526,
6784,
273,
7016,
4109,
18,
588,
9698,
5621,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
6784,
18,
2469,
31,
277,
27245,
288,
1082,
202,
45,
1750,
1664,
273,
6784,
63,
77,
15533,
1082,
202,
45,
6364,
3893,
5226,
3893,
273,
1664,
18,
588,
6364,
3893,
5621,
1082,
202,
430,
261,
1884,
3935,
49,
2038,
1444,
13,
288,
9506,
202,
2956,
273,
14015,
6364,
3893,
13,
6738,
3893,
2934,
588,
3935,
49,
2038,
1444,
6814,
1046,
5621,
1082,
202,
97,
469,
288,
9506,
202,
2956,
273,
14015,
6364,
3893,
13,
6738,
3893,
2934,
588,
8351,
49,
2038,
1444,
6814,
1046,
5621,
1082,
202,
97,
25083,
202,
430,
261,
2956,
480,
446,
13,
288,
9506,
202,
759,
971,
1915,
353,
279,
6027,
930,
364,
5226,
3893,
16,
4356,
518,
9506,
202,
759,
5226,
3893,
6027,
1410,
4862,
7671,
434,
15387,
19414,
434,
518,
1807,
2325,
9506,
202,
430,
261,
4356,
5072,
12,
6738,
3893,
16,
930,
13,
422,
446,
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,
760,
1250,
13855,
10224,
6289,
12,
10055,
3116,
966,
1361,
966,
16,
1082,
202,
6494,
364,
3935,
49,
2038,
1444,
13,
288,
9506,
202,
45,
1750,
1046,
930,
273,
446,
31,
202,
202,
759,
968,
326,
7016,
1984,
628,
1361,
966,
202,
202,
3445,
4184,
4109,
7016,
4109,
273,
1361,
966,
18,
588,
10055,
4109,
5621,
202,
202,
759,
5442,
3059,
326,
9360,
434,
326,
1984,
471,
3196,
202,
759,
745,
326,
19414,
309,
2319,
364,
1517,
1664,
202,
202,
45,
1750,
8526,
6784,
273,
7016,
4109,
18,
588,
9698,
5621,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
6784,
18,
2469,
31,
277,
27245,
288,
1082,
202,
45,
1750,
1664,
273,
6784,
2
] |
AST __t1272 = _t; AST tmp1702_AST_in = (AST)_t;
|
AST __t1257 = _t; AST tmp1714_AST_in = (AST)_t;
|
public final void droptablestate(AST _t) throws RecognitionException { AST droptablestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1272 = _t; AST tmp1702_AST_in = (AST)_t; match(_t,DROP); _t = _t.getFirstChild(); AST tmp1703_AST_in = (AST)_t; match(_t,TABLE); _t = _t.getNextSibling(); tbl(_t,CQ.SCHEMATABLESYMBOL); _t = _retTree; state_end(_t); _t = _retTree; _t = __t1272; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
31473,
337,
9237,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
31473,
337,
9237,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
2138,
9060,
273,
389,
88,
31,
202,
202,
9053,
1853,
4033,
3103,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
18768,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
4033,
4630,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
7775,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
16187,
24899,
88,
16,
39,
53,
18,
55,
10390,
789,
2782,
22093,
1769,
202,
202,
67,
88,
273,
389,
1349,
2471,
31,
202,
202,
2019,
67,
409,
24899,
88,
1769,
202,
202,
67,
88,
273,
389,
1349,
2471,
31,
202,
202,
67,
88,
273,
1001,
88,
2138,
9060,
31,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
67,
1349,
2471,
273,
389,
88,
31,
202,
97,
2,
0,
0,
0,
0,
0,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,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
2138,
9060,
273,
389,
88,
31,
202,
202,
9053,
1853,
4033,
3103,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
18768,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
4033,
4630,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
7775,
2
] |
return minValue; }
|
return minValue; }
|
public Comparable getMinValue() { return minValue; }
|
47932 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47932/91bf32c7ef327c04baa2d9f1dbd47505403a717e/ConstrainedProperty.java/clean/grails/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
13633,
9555,
620,
1435,
288,
1082,
202,
2463,
20533,
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,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
620,
1435,
288,
1082,
202,
2463,
20533,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
data = sourceData;
|
data = finalData;
|
static public ClientCHKBlock encode(byte[] sourceData, boolean asMetadata, boolean dontCompress, short alreadyCompressedCodec, int sourceLength) throws CHKEncodeException { byte[] data; byte[] header; ClientCHK key; short compressionAlgorithm = -1; // Try to compress it - even if it fits into the block, // because compressing it improves its entropy. boolean compressed = false; if(sourceData.length > MAX_LENGTH_BEFORE_COMPRESSION) throw new CHKEncodeException("Too big"); if(!dontCompress) { byte[] cbuf = null; if(alreadyCompressedCodec >= 0) { compressionAlgorithm = alreadyCompressedCodec; cbuf = sourceData; } else { if (sourceData.length > NodeCHK.BLOCK_SIZE) { // Determine the best algorithm Bucket bucket = new ArrayBucket(sourceData); bucket.setReadOnly(); for (int i = 0; i < Compressor.countCompressAlgorithms(); i++) { Compressor comp = Compressor .getCompressionAlgorithmByDifficulty(i); ArrayBucket compressedData; try { compressedData = (ArrayBucket) comp.compress( bucket, new ArrayBucketFactory()); } catch (IOException e) { throw new Error(e); } if (compressedData.size() <= MAX_COMPRESSED_DATA_LENGTH) { compressionAlgorithm = comp .codecNumberForMetadata(); sourceLength = sourceData.length; try { cbuf = BucketTools.toByteArray(compressedData); // FIXME provide a method in ArrayBucket } catch (IOException e) { throw new Error(e); } break; } } } } if(cbuf != null) { // Use it int compressedLength = cbuf.length; sourceData = new byte[compressedLength+3]; System.arraycopy(cbuf, 0, sourceData, 3, compressedLength); sourceData[0] = (byte) ((sourceLength >> 16) & 0xff); sourceData[1] = (byte) ((sourceLength >> 8) & 0xff); sourceData[2] = (byte) ((sourceLength) & 0xff); compressed = true; } } if(sourceData.length > NodeCHK.BLOCK_SIZE) { throw new CHKEncodeException("Too big"); } MessageDigest md160; try { md160 = MessageDigest.getInstance("SHA-1"); } catch (NoSuchAlgorithmException e2) { // FIXME: log properly? Not much we can do... But we could log a // more user-friendly message... throw new Error(e2); } MessageDigest md256; try { md256 = MessageDigest.getInstance("SHA-256"); } catch (NoSuchAlgorithmException e1) { // FIXME: log this properly? throw new Error(e1); } // First pad it if(sourceData.length != 32768) { // Hash the data if(sourceData.length != 0) md256.update(sourceData); byte[] digest = md256.digest(); // Turn digest into a seed array for the MT int[] seed = new int[8]; // 32/4=8 for(int i=0;i<8;i++) { int x = digest[i*4] & 0xff; x = (x << 8) + (digest[i*4+1] & 0xff); x = (x << 8) + (digest[i*4+2] & 0xff); x = (x << 8) + (digest[i*4+3] & 0xff); seed[i] = x; } MersenneTwister mt = new MersenneTwister(seed); data = new byte[32768]; System.arraycopy(sourceData, 0, data, 0, sourceData.length); byte[] randomBytes = new byte[32768-sourceData.length]; mt.nextBytes(randomBytes); System.arraycopy(randomBytes, 0, data, sourceData.length, 32768-sourceData.length); } else { data = sourceData; } // Now make the header byte[] encKey = md256.digest(data); md256.reset(); // IV = E(H(crypto key)) byte[] plainIV = md256.digest(encKey); header = new byte[plainIV.length+2+2]; header[0] = (byte)(CHKBlock.HASH_SHA1 >> 8); header[1] = (byte)(CHKBlock.HASH_SHA1 & 0xff); System.arraycopy(plainIV, 0, header, 2, plainIV.length); header[plainIV.length+2] = (byte)(sourceData.length >> 8); header[plainIV.length+3] = (byte)(sourceData.length & 0xff); // GRRR, java 1.4 does not have any symmetric crypto // despite exposing asymmetric and hashes! // Now encrypt the header, then the data, using the same PCFB instance BlockCipher cipher; try { cipher = new Rijndael(256, 256); } catch (UnsupportedCipherException e) { // FIXME - log this properly throw new Error(e); } cipher.initialize(encKey); PCFBMode pcfb = new PCFBMode(cipher); pcfb.blockEncipher(header, 2, header.length-2); pcfb.blockEncipher(data, 0, data.length); // Now calculate the final hash md160.update(header); byte[] finalHash = md160.digest(data); // Now convert it into a ClientCHK key = new ClientCHK(finalHash, encKey, asMetadata, ClientCHK.ALGO_AES_PCFB_256, compressionAlgorithm); try { return new ClientCHKBlock(data, header, key, false); } catch (CHKVerifyException e3) { //WTF? throw new Error(e3); } }
|
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/ee392a27cc3ce11b12a2fdda4a2f78861262883f/ClientCHKBlock.java/clean/src/freenet/keys/ClientCHKBlock.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
2445,
1792,
47,
1768,
2017,
12,
7229,
8526,
1084,
751,
16,
1250,
487,
2277,
16,
1250,
14046,
16552,
16,
3025,
1818,
16841,
11008,
16,
509,
27406,
13,
1216,
6469,
47,
5509,
503,
288,
3639,
1160,
8526,
501,
31,
3639,
1160,
8526,
1446,
31,
3639,
2445,
1792,
47,
498,
31,
3639,
3025,
9154,
6801,
273,
300,
21,
31,
3639,
368,
6161,
358,
8099,
518,
300,
5456,
309,
518,
13351,
1368,
326,
1203,
16,
3639,
368,
2724,
8099,
310,
518,
13069,
3324,
2097,
15943,
18,
3639,
1250,
8968,
273,
629,
31,
3639,
309,
12,
3168,
751,
18,
2469,
405,
4552,
67,
7096,
67,
19152,
67,
4208,
14227,
13,
5411,
604,
394,
6469,
47,
5509,
503,
2932,
10703,
5446,
8863,
3639,
309,
12,
5,
72,
1580,
16552,
13,
288,
540,
202,
7229,
8526,
2875,
696,
273,
446,
31,
540,
202,
430,
12,
17583,
16841,
11008,
1545,
374,
13,
288,
540,
202,
202,
23766,
6801,
273,
1818,
16841,
11008,
31,
540,
202,
202,
71,
4385,
273,
1084,
751,
31,
540,
202,
97,
469,
288,
540,
202,
202,
430,
261,
3168,
751,
18,
2469,
405,
2029,
1792,
47,
18,
11403,
67,
4574,
13,
288,
6862,
202,
759,
10229,
326,
3796,
4886,
6862,
202,
4103,
2783,
273,
394,
1510,
4103,
12,
3168,
751,
1769,
6862,
202,
7242,
18,
542,
12066,
5621,
6862,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
25698,
280,
18,
1883,
16552,
29689,
5621,
277,
27245,
288,
25083,
202,
16552,
280,
1161,
273,
25698,
280,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
2445,
1792,
47,
1768,
2017,
12,
7229,
8526,
1084,
751,
16,
1250,
487,
2277,
16,
1250,
14046,
16552,
16,
3025,
1818,
16841,
11008,
16,
509,
27406,
13,
1216,
6469,
47,
5509,
503,
288,
3639,
1160,
8526,
501,
31,
3639,
1160,
8526,
1446,
31,
3639,
2445,
1792,
47,
498,
31,
3639,
3025,
9154,
6801,
273,
300,
21,
31,
3639,
368,
6161,
358,
8099,
518,
300,
5456,
309,
518,
13351,
1368,
326,
1203,
16,
3639,
368,
2724,
8099,
310,
518,
13069,
3324,
2097,
15943,
18,
3639,
1250,
8968,
273,
629,
31,
3639,
309,
12,
3168,
751,
18,
2469,
405,
4552,
67,
7096,
67,
19152,
67,
4208,
14227,
13,
5411,
604,
394,
6469,
47,
5509,
503,
2932,
10703,
5446,
2
] |
final URL url = new URL(new URL(base), systemId); systemId = url.toString(); input = new InputSource(systemId);
|
final URL url = new URL(new URL(currLoadedDoc), docToLoad); docToLoad = url.toString(); input = new InputSource(docToLoad);
|
public void parseContents(final Parser parser) { final Stylesheet context = parser.getCurrentStylesheet(); try { String systemId = getAttribute("href"); if (context.checkForLoop(systemId)) { final int errno = ErrorMsg.CIRCULAR_INC; final ErrorMsg msg = new ErrorMsg(errno, systemId, this); parser.reportError(Constants.FATAL, msg); return; } final String base = context.getSystemId(); SourceLoader loader = context.getSourceLoader(); InputSource input = null; if (loader != null) { final XSLTC xsltc = parser.getXSLTC(); input = loader.loadSource(base, systemId, xsltc); } else { final URL url = new URL(new URL(base), systemId); systemId = url.toString(); input = new InputSource(systemId); } final SyntaxTreeNode root = parser.parse(input); if (root == null) return; final Stylesheet _included = parser.makeStylesheet(root); if (_included == null) return; _included.setSourceLoader(loader); _included.setSystemId(systemId); _included.setParentStylesheet(context); // An included stylesheet gets the same import precedence // as the stylesheet that included it. final int precedence = context.getImportPrecedence(); _included.setImportPrecedence(precedence); parser.setCurrentStylesheet(_included); _included.parseContents(parser); final Enumeration elements = _included.elements(); final Stylesheet topStylesheet = parser.getTopLevelStylesheet(); while (elements.hasMoreElements()) { final Object element = elements.nextElement(); if (element instanceof TopLevelElement) { topStylesheet.addElement((TopLevelElement)element); } } } catch (Exception e) { e.printStackTrace(); } finally { parser.setCurrentStylesheet(context); } }
|
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/719e993d33fe3e56276bbbc1b136da4bfc1f71fb/Include.java/buggy/src/org/apache/xalan/xsltc/compiler/Include.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
6323,
12,
6385,
6783,
2082,
13,
288,
202,
6385,
29483,
2963,
819,
273,
2082,
18,
588,
3935,
24656,
5621,
202,
698,
288,
202,
565,
514,
30083,
273,
4061,
2932,
7547,
8863,
202,
565,
309,
261,
2472,
18,
1893,
31451,
12,
4299,
548,
3719,
288,
202,
202,
6385,
509,
8402,
273,
1068,
3332,
18,
7266,
11529,
19545,
67,
23213,
31,
202,
202,
6385,
1068,
3332,
1234,
273,
394,
1068,
3332,
12,
19088,
16,
30083,
16,
333,
1769,
202,
202,
4288,
18,
6006,
668,
12,
2918,
18,
29891,
16,
1234,
1769,
202,
202,
2463,
31,
202,
565,
289,
202,
565,
727,
514,
1026,
273,
819,
18,
588,
3163,
548,
5621,
202,
565,
4998,
2886,
4088,
273,
819,
18,
588,
1830,
2886,
5621,
202,
565,
23699,
810,
273,
446,
31,
202,
565,
309,
261,
6714,
480,
446,
13,
288,
202,
202,
6385,
17243,
15988,
20791,
5111,
273,
2082,
18,
588,
60,
4559,
15988,
5621,
202,
202,
2630,
273,
4088,
18,
945,
1830,
12,
1969,
16,
30083,
16,
20791,
5111,
1769,
202,
565,
289,
202,
565,
469,
288,
202,
202,
6385,
1976,
880,
273,
394,
1976,
12,
2704,
1976,
12,
1969,
3631,
30083,
1769,
202,
202,
4299,
548,
273,
880,
18,
10492,
5621,
202,
202,
2630,
273,
394,
23699,
12,
4299,
548,
1769,
202,
565,
289,
202,
565,
727,
11517,
12513,
1365,
273,
2082,
18,
2670,
12,
2630,
1769,
202,
565,
309,
261,
3085,
422,
446,
13,
327,
31,
202,
565,
727,
29483,
2963,
389,
20405,
273,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
6323,
12,
6385,
6783,
2082,
13,
288,
202,
6385,
29483,
2963,
819,
273,
2082,
18,
588,
3935,
24656,
5621,
202,
698,
288,
202,
565,
514,
30083,
273,
4061,
2932,
7547,
8863,
202,
565,
309,
261,
2472,
18,
1893,
31451,
12,
4299,
548,
3719,
288,
202,
202,
6385,
509,
8402,
273,
1068,
3332,
18,
7266,
11529,
19545,
67,
23213,
31,
202,
202,
6385,
1068,
3332,
1234,
273,
394,
1068,
3332,
12,
19088,
16,
30083,
16,
333,
1769,
202,
202,
4288,
18,
6006,
668,
12,
2918,
18,
29891,
16,
1234,
1769,
202,
202,
2463,
31,
202,
565,
289,
202,
565,
727,
514,
1026,
273,
819,
18,
588,
3163,
548,
5621,
202,
565,
4998,
2886,
4088,
273,
819,
2
] |
public Object run(BpelDAOConnection conn) throws Exception {
|
public Boolean run(BpelDAOConnection conn) throws Exception {
|
public Object run(BpelDAOConnection conn) throws Exception { ProcessDAO old = conn.getProcess(pid); if (old != null) { __log.debug("Found ProcessDAO for " + pid + " with GUID " + old.getGuid()); if (oprocess.guid != null) if (!old.getGuid().equals(oprocess.guid)) { // TODO: Versioning will need to handle this differently. String errmsg = "ProcessDAO GUID " + old.getGuid() + " does not match " + oprocess.guid + "; replacing."; __log.warn(errmsg); old.delete(); } else return null; return null; } ProcessDAO newDao = conn.createProcess(pid, oprocess.getQName(), oprocess.guid); for (String correlator : oprocess.getCorrelators()) { newDao.addCorrelator(correlator); } return null; }
|
47044 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47044/52191e5eb3ba743fa248e1082e99fa68cc1ef2d2/BpelServerImpl.java/buggy/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
3411,
1086,
12,
38,
84,
292,
18485,
1952,
1487,
13,
1216,
1185,
288,
10792,
4389,
18485,
1592,
273,
1487,
18,
588,
2227,
12,
6610,
1769,
10792,
309,
261,
1673,
480,
446,
13,
288,
13491,
1001,
1330,
18,
4148,
2932,
2043,
4389,
18485,
364,
315,
397,
4231,
397,
315,
598,
20322,
315,
397,
1592,
18,
588,
22549,
10663,
13491,
309,
261,
556,
16127,
18,
14066,
480,
446,
13,
18701,
309,
16051,
1673,
18,
588,
22549,
7675,
14963,
12,
556,
16127,
18,
14066,
3719,
288,
27573,
368,
2660,
30,
4049,
310,
903,
1608,
358,
1640,
333,
23621,
18,
27573,
514,
17460,
273,
315,
2227,
18485,
20322,
315,
397,
1592,
18,
588,
22549,
1435,
397,
315,
1552,
486,
845,
315,
397,
320,
2567,
18,
14066,
4766,
3639,
397,
13636,
13993,
1199,
31,
27573,
1001,
1330,
18,
8935,
12,
24409,
1769,
27573,
1592,
18,
3733,
5621,
18701,
289,
469,
27573,
327,
446,
31,
13491,
327,
446,
31,
10792,
289,
10792,
4389,
18485,
394,
11412,
273,
1487,
18,
2640,
2227,
12,
6610,
16,
320,
2567,
18,
588,
13688,
9334,
320,
2567,
18,
14066,
1769,
10792,
364,
261,
780,
1858,
2878,
639,
294,
320,
2567,
18,
588,
6217,
2878,
3062,
10756,
288,
13491,
394,
11412,
18,
1289,
6217,
2878,
639,
12,
3850,
2878,
639,
1769,
10792,
289,
10792,
327,
446,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1171,
1071,
3411,
1086,
12,
38,
84,
292,
18485,
1952,
1487,
13,
1216,
1185,
288,
10792,
4389,
18485,
1592,
273,
1487,
18,
588,
2227,
12,
6610,
1769,
10792,
309,
261,
1673,
480,
446,
13,
288,
13491,
1001,
1330,
18,
4148,
2932,
2043,
4389,
18485,
364,
315,
397,
4231,
397,
315,
598,
20322,
315,
397,
1592,
18,
588,
22549,
10663,
13491,
309,
261,
556,
16127,
18,
14066,
480,
446,
13,
18701,
309,
16051,
1673,
18,
588,
22549,
7675,
14963,
12,
556,
16127,
18,
14066,
3719,
288,
27573,
368,
2660,
30,
4049,
310,
903,
1608,
358,
1640,
333,
23621,
18,
27573,
514,
17460,
273,
315,
2227,
18485,
20322,
315,
397,
1592,
18,
588,
22549,
1435,
397,
315,
1552,
486,
845,
315,
2
] |
final GlobalSearchScope projectScope = GlobalSearchScope.allScope(myManager.getProject()); final VirtualFile classRoot = projectFileIndex.getClassRootForFile(vFile); final GlobalSearchScope scope = new GlobalSearchScope() { public int compare(VirtualFile file1, VirtualFile file2) { final VirtualFile classRootForFile1 = projectFileIndex.getClassRootForFile(file1); final VirtualFile classRootForFile2 = projectFileIndex.getClassRootForFile(file2); if (classRootForFile1 != classRootForFile2) { if (classRootForFile1 == classRoot) return 1; if (classRootForFile2 == classRoot) return -1; } return projectScope.compare(file1, file2); } public boolean contains(VirtualFile file) { return projectScope.contains(file); } public boolean isSearchInLibraries() { return true; } public boolean isSearchInModuleContent(Module aModule) { return false; } }; return scope; /*
|
public GlobalSearchScope getResolveScope(PsiElement element) { VirtualFile vFile; if (element instanceof PsiDirectory) { vFile = ((PsiDirectory)element).getVirtualFile(); } else { final PsiFile contextFile = ResolveUtil.getContextFile(element); if (contextFile == null || contextFile instanceof XmlFile) { return GlobalSearchScope.allScope(myManager.getProject()); } vFile = contextFile.getVirtualFile(); if (vFile == null) { PsiFile originalFile = contextFile.getOriginalFile(); if (originalFile != null) { vFile = originalFile.getVirtualFile(); } } } if (vFile == null) { return GlobalSearchScope.allScope(myManager.getProject()); } final ProjectFileIndex projectFileIndex = myProjectRootManager.getFileIndex(); Module module = projectFileIndex.getModuleForFile(vFile); if (module != null) { boolean includeTests = projectFileIndex.isInTestSourceContent(vFile) || !projectFileIndex.isContentJavaSourceFile(vFile); return GlobalSearchScope.moduleWithDependenciesAndLibrariesScope(module, includeTests); } else { // resolve references in libraries first in current library, then in project scope final GlobalSearchScope projectScope = GlobalSearchScope.allScope(myManager.getProject()); final VirtualFile classRoot = projectFileIndex.getClassRootForFile(vFile); final GlobalSearchScope scope = new GlobalSearchScope() { public int compare(VirtualFile file1, VirtualFile file2) { final VirtualFile classRootForFile1 = projectFileIndex.getClassRootForFile(file1); final VirtualFile classRootForFile2 = projectFileIndex.getClassRootForFile(file2); if (classRootForFile1 != classRootForFile2) { if (classRootForFile1 == classRoot) return 1; if (classRootForFile2 == classRoot) return -1; } return projectScope.compare(file1, file2); } public boolean contains(VirtualFile file) { return projectScope.contains(file); } public boolean isSearchInLibraries() { return true; } public boolean isSearchInModuleContent(Module aModule) { return false; } }; return scope; /* OrderEntry[] orderEntries = projectFileIndex.getOrderEntriesForFile(vFile); if (orderEntries.length == 0) return GlobalSearchScope.allScope(myManager.getProject()); Module ownerModule = orderEntries[0].getOwnerModule(); return GlobalSearchScope.moduleWithDependenciesAndLibrariesScope(ownerModule); */ } }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/d88b0d6e4538f617f5b687d2c93ed46f9f15ff35/FileManagerImpl.java/clean/source/com/intellij/psi/impl/file/impl/FileManagerImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8510,
2979,
3876,
336,
8460,
3876,
12,
52,
7722,
1046,
930,
13,
288,
565,
7269,
812,
331,
812,
31,
565,
309,
261,
2956,
1276,
453,
7722,
2853,
13,
288,
1377,
331,
812,
273,
14015,
52,
7722,
2853,
13,
2956,
2934,
588,
6466,
812,
5621,
565,
289,
565,
469,
288,
1377,
727,
453,
7722,
812,
819,
812,
273,
9910,
1304,
18,
29120,
812,
12,
2956,
1769,
1377,
309,
261,
2472,
812,
422,
446,
747,
819,
812,
1276,
5714,
812,
13,
288,
3639,
327,
8510,
2979,
3876,
18,
454,
3876,
12,
4811,
1318,
18,
588,
4109,
10663,
1377,
289,
1377,
331,
812,
273,
819,
812,
18,
588,
6466,
812,
5621,
1377,
309,
261,
90,
812,
422,
446,
13,
288,
3639,
453,
7722,
812,
2282,
812,
273,
819,
812,
18,
588,
8176,
812,
5621,
3639,
309,
261,
8830,
812,
480,
446,
13,
288,
1850,
331,
812,
273,
2282,
812,
18,
588,
6466,
812,
5621,
3639,
289,
1377,
289,
565,
289,
565,
309,
261,
90,
812,
422,
446,
13,
288,
1377,
327,
8510,
2979,
3876,
18,
454,
3876,
12,
4811,
1318,
18,
588,
4109,
10663,
565,
289,
565,
727,
5420,
812,
1016,
1984,
812,
1016,
273,
3399,
4109,
2375,
1318,
18,
29925,
1016,
5621,
565,
5924,
1605,
273,
1984,
812,
1016,
18,
588,
3120,
1290,
812,
12,
90,
812,
1769,
565,
309,
261,
2978,
480,
446,
13,
288,
1377,
1250,
2341,
14650,
273,
1984,
812,
1016,
18,
291,
382,
4709,
1830,
1350,
12,
90,
812,
13,
747,
11794,
401,
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,
8510,
2979,
3876,
336,
8460,
3876,
12,
52,
7722,
1046,
930,
13,
288,
565,
7269,
812,
331,
812,
31,
565,
309,
261,
2956,
1276,
453,
7722,
2853,
13,
288,
1377,
331,
812,
273,
14015,
52,
7722,
2853,
13,
2956,
2934,
588,
6466,
812,
5621,
565,
289,
565,
469,
288,
1377,
727,
453,
7722,
812,
819,
812,
273,
9910,
1304,
18,
29120,
812,
12,
2956,
1769,
1377,
309,
261,
2472,
812,
422,
446,
747,
819,
812,
1276,
5714,
812,
13,
288,
3639,
327,
8510,
2979,
3876,
18,
454,
3876,
12,
4811,
1318,
18,
588,
4109,
10663,
1377,
289,
1377,
331,
812,
273,
819,
812,
18,
588,
6466,
812,
5621,
1377,
309,
261,
90,
812,
422,
446,
13,
288,
2
] |
|
doc.documentSaved(); _saveAction.setEnabled(false); _revertAction.setEnabled(true); updateFileTitle(); _currentDefPane.requestFocusInWindow(); try { File f = doc.getFile(); if (! _model.isProjectFile(f)) _recentFileManager.updateOpenFiles(f); } catch (IllegalStateException ise) { throw new UnexpectedException(ise); } catch (FileMovedException fme) { File f = fme.getFile(); if (! _model.isProjectFile(f)) _recentFileManager.updateOpenFiles(f); } if (inDebugMode()) _updateDebugStatus();
|
Utilities.invokeLater(new Runnable() { public void run() { doc.documentSaved(); _saveAction.setEnabled(false); _revertAction.setEnabled(true); updateFileTitle(); _currentDefPane.requestFocusInWindow(); try { File f = doc.getFile(); if (! _model.isProjectFile(f)) _recentFileManager.updateOpenFiles(f); } catch (IllegalStateException ise) { throw new UnexpectedException(ise); } catch (FileMovedException fme) { File f = fme.getFile(); if (! _model.isProjectFile(f)) _recentFileManager.updateOpenFiles(f); } if (inDebugMode()) _updateDebugStatus(); } });
|
public void fileSaved(OpenDefinitionsDocument doc) {// new ScrollableDialog(null, "fileSaved called in ModelListener", "", "").show(); doc.documentSaved(); // used to update the document cache _saveAction.setEnabled(false); _revertAction.setEnabled(true); updateFileTitle(); _currentDefPane.requestFocusInWindow(); try { File f = doc.getFile(); if (! _model.isProjectFile(f)) _recentFileManager.updateOpenFiles(f); } catch (IllegalStateException ise) { throw new UnexpectedException(ise); } // Impossible because saved => has a file catch (FileMovedException fme) { File f = fme.getFile(); // Recover, show it in the list anyway if (! _model.isProjectFile(f)) _recentFileManager.updateOpenFiles(f); } // Check class file sync status, in case file was renamed if (inDebugMode()) _updateDebugStatus(); }
|
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/d1ffac675273323f7a1b9777462d16896d09a1af/MainFrame.java/clean/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
585,
16776,
12,
3678,
7130,
2519,
997,
13,
288,
759,
1377,
394,
23134,
429,
6353,
12,
2011,
16,
315,
768,
16776,
2566,
316,
3164,
2223,
3113,
23453,
1408,
2934,
4500,
5621,
1377,
997,
18,
5457,
16776,
5621,
225,
368,
1399,
358,
1089,
326,
1668,
1247,
1377,
389,
5688,
1803,
18,
542,
1526,
12,
5743,
1769,
1377,
389,
266,
1097,
1803,
18,
542,
1526,
12,
3767,
1769,
1377,
1089,
812,
4247,
5621,
1377,
389,
2972,
3262,
8485,
18,
2293,
9233,
382,
3829,
5621,
1377,
775,
288,
3639,
1387,
284,
273,
997,
18,
29925,
5621,
3639,
309,
16051,
389,
2284,
18,
291,
4109,
812,
12,
74,
3719,
389,
20872,
812,
1318,
18,
2725,
3678,
2697,
12,
74,
1769,
1377,
289,
1377,
1044,
261,
12195,
5060,
31248,
13,
288,
604,
394,
9649,
503,
12,
784,
1769,
289,
1377,
368,
2221,
12708,
2724,
5198,
516,
711,
279,
585,
5411,
1044,
261,
812,
25317,
503,
284,
3501,
13,
288,
3639,
1387,
284,
273,
284,
3501,
18,
29925,
5621,
3639,
368,
868,
3165,
16,
2405,
518,
316,
326,
666,
13466,
3639,
309,
16051,
389,
2284,
18,
291,
4109,
812,
12,
74,
3719,
389,
20872,
812,
1318,
18,
2725,
3678,
2697,
12,
74,
1769,
1377,
289,
1377,
368,
2073,
667,
585,
3792,
1267,
16,
316,
648,
585,
1703,
17657,
1377,
309,
261,
267,
2829,
2309,
10756,
389,
2725,
2829,
1482,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
585,
16776,
12,
3678,
7130,
2519,
997,
13,
288,
759,
1377,
394,
23134,
429,
6353,
12,
2011,
16,
315,
768,
16776,
2566,
316,
3164,
2223,
3113,
23453,
1408,
2934,
4500,
5621,
1377,
997,
18,
5457,
16776,
5621,
225,
368,
1399,
358,
1089,
326,
1668,
1247,
1377,
389,
5688,
1803,
18,
542,
1526,
12,
5743,
1769,
1377,
389,
266,
1097,
1803,
18,
542,
1526,
12,
3767,
1769,
1377,
1089,
812,
4247,
5621,
1377,
389,
2972,
3262,
8485,
18,
2293,
9233,
382,
3829,
5621,
1377,
775,
288,
3639,
1387,
284,
273,
997,
18,
29925,
5621,
3639,
309,
16051,
389,
2284,
18,
291,
4109,
812,
12,
74,
3719,
389,
20872,
812,
1318,
18,
2725,
3678,
2697,
12,
74,
1769,
2
] |
private void dataBufferAppend (char c) { if (dataBufferPos >= dataBuffer.length) dataBuffer = (char[]) extendArray (dataBuffer, dataBuffer.length, dataBufferPos); dataBuffer [dataBufferPos++] = c; }
|
private void dataBufferAppend(char c) { if (dataBufferPos >= dataBuffer.length) { dataBuffer = (char[]) extendArray(dataBuffer, dataBuffer.length, dataBufferPos); } dataBuffer[dataBufferPos++] = c; }
|
private void dataBufferAppend (char c) { // Expand buffer if necessary. if (dataBufferPos >= dataBuffer.length) dataBuffer = (char[]) extendArray (dataBuffer, dataBuffer.length, dataBufferPos); dataBuffer [dataBufferPos++] = c; }
|
56365 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56365/7fb7568e63c3fe14af521de4699cb37898923ca7/XmlParser.java/clean/libjava/gnu/xml/aelfred2/XmlParser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
501,
1892,
5736,
261,
3001,
276,
13,
565,
288,
202,
759,
16429,
1613,
309,
4573,
18,
202,
430,
261,
892,
1892,
1616,
1545,
501,
1892,
18,
2469,
13,
202,
565,
501,
1892,
273,
202,
202,
12,
3001,
63,
5717,
2133,
1076,
261,
892,
1892,
16,
1082,
202,
892,
1892,
18,
2469,
16,
501,
1892,
1616,
1769,
202,
892,
1892,
306,
892,
1892,
1616,
9904,
65,
273,
276,
31,
565,
289,
2,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
501,
1892,
5736,
261,
3001,
276,
13,
565,
288,
202,
759,
16429,
1613,
309,
4573,
18,
202,
430,
261,
892,
1892,
1616,
1545,
501,
1892,
18,
2469,
13,
202,
565,
501,
1892,
273,
202,
202,
12,
3001,
63,
5717,
2133,
1076,
261,
892,
1892,
16,
1082,
202,
892,
1892,
18,
2469,
16,
501,
1892,
1616,
1769,
202,
892,
1892,
306,
892,
1892,
1616,
9904,
65,
273,
276,
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
] |
runTest( "identifier and", new int[]{ IDENTIFIER, AND, EOF } );
|
runTest( "identifier and", new int[]{ TokenTypes.IDENTIFIER, TokenTypes.AND, TokenTypes.EOF } );
|
public void testOperatorAnd() { runTest( "identifier and", new int[]{ IDENTIFIER, AND, EOF } ); }
|
5646 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5646/97414bf23bf62ff0ca98fd125e1e114268b99245/XPathLexerTokenTest.java/clean/src/java/test/org/jaxen/saxpath/base/XPathLexerTokenTest.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
5592,
1876,
1435,
565,
288,
3639,
1086,
4709,
12,
315,
5644,
471,
3113,
394,
509,
63,
7073,
3155,
2016,
18,
16606,
16,
3155,
2016,
18,
4307,
16,
3155,
2016,
18,
12706,
289,
11272,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
setValue(newStr);
|
setValue(new StringBuffer(newStr));
|
public IRubyObject tr_bang(IRubyObject search, IRubyObject replace) { String newStr = tr(search, replace, false); if (newStr.equals(getValue())) { return getRuntime().getNil(); } setValue(newStr); return this; }
|
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/9f2efc63a858fa0507245b207025eab027840a04/RubyString.java/buggy/src/org/jruby/RubyString.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
433,
67,
70,
539,
12,
7937,
10340,
921,
1623,
16,
15908,
10340,
921,
1453,
13,
288,
202,
202,
780,
394,
1585,
273,
433,
12,
3072,
16,
1453,
16,
629,
1769,
202,
202,
430,
261,
2704,
1585,
18,
14963,
12,
24805,
1435,
3719,
288,
1082,
202,
2463,
18814,
7675,
588,
12616,
5621,
202,
202,
97,
202,
202,
542,
620,
12,
2704,
1585,
1769,
202,
202,
2463,
333,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
433,
67,
70,
539,
12,
7937,
10340,
921,
1623,
16,
15908,
10340,
921,
1453,
13,
288,
202,
202,
780,
394,
1585,
273,
433,
12,
3072,
16,
1453,
16,
629,
1769,
202,
202,
430,
261,
2704,
1585,
18,
14963,
12,
24805,
1435,
3719,
288,
1082,
202,
2463,
18814,
7675,
588,
12616,
5621,
202,
202,
97,
202,
202,
542,
620,
12,
2704,
1585,
1769,
202,
202,
2463,
333,
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
] |
}
|
}
|
private IStatus proceedWithOperation(IUndoableOperation operation, IOperationHistory history, IAdaptable uiInfo, String message, boolean undoing) { // if the operation cannot tell us about its modified elements, there's // nothing we can do. if (!(operation instanceof IAdvancedUndoableOperation)) return Status.OK_STATUS; // see if the operation is still valid. Some advanced model operations // cannot compute their validity in canUndo() or canRedo() and true // validity cannot be determined until it is time to perform the // operation. IStatus status; try { if (undoing) status = ((IAdvancedUndoableOperation) operation) .computeUndoableStatus(getProgressMonitor()); else status = ((IAdvancedUndoableOperation) operation) .computeRedoableStatus(getProgressMonitor()); } catch (OperationCanceledException e) { status = Status.CANCEL_STATUS; } catch (ExecutionException e) { status = IOperationHistory.OPERATION_INVALID_STATUS; reportException(e); } if (status.getSeverity() == IStatus.ERROR) { // report failure to the user. reportErrorStatus(status); } if (!status.isOK()) { // inform listeners of the change in status of the operation since // it was previously // believed to be valid. We rely here on the ability of an // implementer of IAdvancedUndoableOperation // to correctly answer canUndo() and canRedo() once the undoable and // redoable status have // been computed. history.operationChanged(operation); return status; } // Obtain the operation's affected objects. Object[] modifiedElements = ((IAdvancedUndoableOperation) operation) .getAffectedObjects(); // Since the operation participates in describing its affected objects, // we assume for the rest of this method that an inability to // determine a match implies that a non-local operation is occurring. // This is a conservative assumption that provides more user prompting. boolean local; if (modifiedElements == null) { // The operation could not determine which elements are affected. // Consider the operation non-local. local = false; } else { // The operation answered some array of affected objects. Consider // the operation local until a non-match is found. Note that an empty // array of affected objects is considered a local change. local = true; for (int i = 0; i < modifiedElements.length; i++) { Object modifiedElement = modifiedElements[i]; if (!elementsContains(modifiedElement)) { // the modified element is not known by the editor local = false; // one last try - try to adapt the modified element if a preferred // comparison class has been provided. if (affectedObjectsClass != null && modifiedElement instanceof IAdaptable) { if (elementsContains(((IAdaptable) modifiedElement) .getAdapter(affectedObjectsClass))) { local = true; } } // if the element did not match the affected objects, no need to check any others. if (!local) break; } } } if (local) return Status.OK_STATUS; // Now we know the operation affects more than just our element, so warn // the user. boolean proceed = MessageDialog.openQuestion(part.getSite().getShell(), part.getEditorInput().getName(), message); if (proceed) return Status.OK_STATUS; return Status.CANCEL_STATUS; }
|
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/d74a8cac12d331987ec843867ae9025700534a94/NonLocalUndoUserApprover.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/operations/NonLocalUndoUserApprover.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
1482,
11247,
1190,
2988,
12,
45,
31224,
429,
2988,
1674,
16,
1082,
202,
45,
2988,
5623,
4927,
16,
467,
13716,
429,
5915,
966,
16,
514,
883,
16,
1082,
202,
6494,
15436,
310,
13,
288,
202,
202,
759,
309,
326,
1674,
2780,
9276,
584,
2973,
2097,
4358,
2186,
16,
1915,
1807,
202,
202,
759,
5083,
732,
848,
741,
18,
202,
202,
430,
16051,
12,
7624,
1276,
467,
23618,
31224,
429,
2988,
3719,
1082,
202,
2463,
2685,
18,
3141,
67,
8608,
31,
202,
202,
759,
2621,
309,
326,
1674,
353,
4859,
923,
18,
10548,
16111,
938,
5295,
202,
202,
759,
2780,
3671,
3675,
13800,
316,
848,
31224,
1435,
578,
848,
3715,
83,
1435,
471,
638,
202,
202,
759,
13800,
2780,
506,
11383,
3180,
518,
353,
813,
358,
3073,
326,
202,
202,
759,
1674,
18,
202,
202,
45,
1482,
1267,
31,
202,
202,
698,
288,
1082,
202,
430,
261,
31226,
310,
13,
9506,
202,
2327,
273,
14015,
45,
23618,
31224,
429,
2988,
13,
1674,
13,
25083,
202,
18,
9200,
31224,
429,
1482,
12,
588,
5491,
7187,
10663,
1082,
202,
12107,
9506,
202,
2327,
273,
14015,
45,
23618,
31224,
429,
2988,
13,
1674,
13,
25083,
202,
18,
9200,
3715,
83,
429,
1482,
12,
588,
5491,
7187,
10663,
202,
202,
97,
1044,
261,
2988,
23163,
503,
425,
13,
288,
1082,
202,
2327,
273,
2685,
18,
25268,
67,
8608,
31,
202,
202,
97,
1044,
261,
14576,
425,
13,
288,
1082,
202,
2327,
273,
1665,
1193,
5623,
18,
22040,
67,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
1482,
11247,
1190,
2988,
12,
45,
31224,
429,
2988,
1674,
16,
1082,
202,
45,
2988,
5623,
4927,
16,
467,
13716,
429,
5915,
966,
16,
514,
883,
16,
1082,
202,
6494,
15436,
310,
13,
288,
202,
202,
759,
309,
326,
1674,
2780,
9276,
584,
2973,
2097,
4358,
2186,
16,
1915,
1807,
202,
202,
759,
5083,
732,
848,
741,
18,
202,
202,
430,
16051,
12,
7624,
1276,
467,
23618,
31224,
429,
2988,
3719,
1082,
202,
2463,
2685,
18,
3141,
67,
8608,
31,
202,
202,
759,
2621,
309,
326,
1674,
353,
4859,
923,
18,
10548,
16111,
938,
5295,
202,
202,
759,
2780,
3671,
3675,
13800,
316,
848,
31224,
1435,
578,
848,
3715,
83,
1435,
471,
638,
202,
202,
2
] |
if (this.request == null)
|
if (this.request == null) {
|
public void setRequest(HttpServletRequest request) { this.request = request; if (this.request == null) setSession(null); else setSession(this.request.getSession()); }
|
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/ef68ef66f0feb3bc08bb217fe9abcd99045ef301/ConfigHelper.java/clean/src/share/org/apache/struts/config/ConfigHelper.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12475,
12,
2940,
18572,
590,
13,
288,
3639,
333,
18,
2293,
273,
590,
31,
3639,
309,
261,
2211,
18,
2293,
422,
446,
13,
288,
5411,
25486,
12,
2011,
1769,
3639,
469,
5411,
25486,
12,
2211,
18,
2293,
18,
588,
2157,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12475,
12,
2940,
18572,
590,
13,
288,
3639,
333,
18,
2293,
273,
590,
31,
3639,
309,
261,
2211,
18,
2293,
422,
446,
13,
288,
5411,
25486,
12,
2011,
1769,
3639,
469,
5411,
25486,
12,
2211,
18,
2293,
18,
588,
2157,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (obj==null) throw new NullPointerException();
|
private int get32Bits(Object obj) { if (isStatic()) { return VM_Statics.getSlotContentsAsInt(offset >>> LOG_BYTES_IN_INT); } else { if (obj==null) throw new NullPointerException(); return VM_Magic.getIntAtOffset(obj, offset); } }
|
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/73161e4dae0f3ded1857fa907d0bcad371a5c509/VM_Field.java/clean/rvm/src/vm/classLoader/VM_Field.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
509,
336,
1578,
6495,
12,
921,
1081,
13,
288,
565,
309,
261,
291,
5788,
10756,
288,
1377,
327,
8251,
67,
5000,
2102,
18,
588,
8764,
6323,
31720,
12,
3348,
4080,
2018,
67,
13718,
67,
706,
67,
3217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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
509,
336,
1578,
6495,
12,
921,
1081,
13,
288,
565,
309,
261,
291,
5788,
10756,
288,
1377,
327,
8251,
67,
5000,
2102,
18,
588,
8764,
6323,
31720,
12,
3348,
4080,
2018,
67,
13718,
67,
706,
67,
3217,
1769,
565,
289,
469,
288,
1377,
309,
261,
2603,
631,
2011,
13,
202,
12849,
394,
10108,
5621,
1377,
327,
8251,
67,
19289,
18,
588,
1702,
861,
2335,
12,
2603,
16,
1384,
1769,
565,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
public void startInclusion(CodeReader reader, int offset, int endOffset);
|
public void startInclusion(CodeReader reader, int offset, int endOffset, int nameOffset, int nameEndoffset, char[] name, boolean systemInclude);
|
public void startInclusion(CodeReader reader, int offset, int endOffset);
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/df871fe06bd1191491f65b19014fc27782320263/IScannerPreprocessorLog.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/IScannerPreprocessorLog.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
382,
15335,
12,
1085,
2514,
2949,
16,
509,
1384,
16,
509,
25507,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
382,
15335,
12,
1085,
2514,
2949,
16,
509,
1384,
16,
509,
25507,
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
] |
classFile.startMethod("exec",
|
cfw.startMethod("exec",
|
private void generateExecute(Context cx) { classFile.startMethod("exec", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;", (short)(ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_FINAL)); final byte ALOAD_CONTEXT = ByteCode.ALOAD_1; final byte ALOAD_SCOPE = ByteCode.ALOAD_2; String slashName = generatedClassName.replace('.', '/'); // to begin a script, call the initScript method addByteCode(ByteCode.ALOAD_0); // load 'this' addByteCode(ALOAD_SCOPE); addByteCode(ALOAD_CONTEXT); addVirtualInvoke(slashName, "initScript", "(Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Context;" +")V"); addByteCode(ByteCode.ALOAD_0); // load 'this' addByteCode(ALOAD_CONTEXT); addByteCode(ALOAD_SCOPE); addByteCode(ByteCode.DUP); addByteCode(ByteCode.ACONST_NULL); addVirtualInvoke(slashName, "call", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Scriptable;" +"[Ljava/lang/Object;" +")Ljava/lang/Object;"); addByteCode(ByteCode.ARETURN); // 3 = this + context + scope classFile.stopMethod((short)3, null); }
|
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/bd2594e6ebd6d8099b587934641c8f7650d87761/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
5289,
12,
1042,
9494,
13,
565,
288,
3639,
6080,
91,
18,
1937,
1305,
2932,
4177,
3113,
17311,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
4868,
17311,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
17311,
397,
7923,
21159,
19,
4936,
19,
921,
31,
3113,
17311,
261,
6620,
21433,
797,
812,
2289,
18,
31414,
67,
14939,
4766,
1377,
571,
30614,
2289,
18,
31414,
67,
7263,
1013,
10019,
3639,
727,
1160,
432,
7783,
67,
13181,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
21,
31,
3639,
727,
1160,
432,
7783,
67,
19444,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
22,
31,
3639,
514,
9026,
461,
273,
4374,
3834,
18,
2079,
2668,
1093,
16,
2023,
1769,
3639,
368,
358,
2376,
279,
2728,
16,
745,
326,
1208,
3651,
707,
3639,
527,
3216,
1085,
12,
3216,
1085,
18,
1013,
51,
1880,
67,
20,
1769,
368,
1262,
296,
2211,
11,
3639,
527,
3216,
1085,
12,
1013,
51,
1880,
67,
19444,
1769,
3639,
527,
3216,
1085,
12,
1013,
51,
1880,
67,
13181,
1769,
3639,
527,
6466,
10969,
12,
12877,
461,
16,
7682,
315,
2738,
3651,
3113,
7682,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
7682,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
4868,
7682,
397,
7923,
58,
8863,
3639,
527,
3216,
1085,
12,
3216,
1085,
18,
1013,
51,
1880,
67,
20,
1769,
368,
1262,
296,
2211,
11,
3639,
527,
3216,
1085,
12,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
5289,
12,
1042,
9494,
13,
565,
288,
3639,
6080,
91,
18,
1937,
1305,
2932,
4177,
3113,
17311,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
4868,
17311,
397,
6,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
17311,
397,
7923,
21159,
19,
4936,
19,
921,
31,
3113,
17311,
261,
6620,
21433,
797,
812,
2289,
18,
31414,
67,
14939,
4766,
1377,
571,
30614,
2289,
18,
31414,
67,
7263,
1013,
10019,
3639,
727,
1160,
432,
7783,
67,
13181,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
21,
31,
3639,
727,
1160,
432,
7783,
67,
19444,
273,
3506,
1085,
18,
1013,
51,
1880,
67,
22,
31,
3639,
514,
9026,
461,
273,
4374,
3834,
2
] |
public void handleFiles(List files) { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.newDocument(); Element overviewRoot = Util.addChildElement(doc, "overview-frame", null); Iterator iter = files.iterator(); while (iter.hasNext()) { File file = (File) iter.next(); if (!file.exists() || !file.canRead()) { continue; } Document xmlDoc = handleFile(file); if (xmlDoc != null) { String shortname = Util.getElementValue( xmlDoc.getDocumentElement(), "body/taglib/shortname"); Util.addChildElement(overviewRoot, "shortname", shortname); File reportHtml = new File(destdir, shortname + "-report.html"); Source xml = new DOMSource(xmlDoc); Source xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibreport/taglib-report.xsl")); Result out = new StreamResult(reportHtml); TransformerFactory tf = TransformerFactory.newInstance(); Transformer t = tf.newTransformer(xsl); t.transform(xml, out); } } Source xml = new DOMSource(overviewRoot); Source xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibreport/index.xsl")); Result out = new StreamResult(new File(destdir, "index.html")); TransformerFactory tf = TransformerFactory.newInstance(); Transformer t = tf.newTransformer(xsl); t.transform(xml, out); xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibreport/overview-frame.xsl")); out = new StreamResult(new File(destdir, "overview-frame.html")); t = tf.newTransformer(xsl); t.transform(xml, out); Util.copyFile( "/resources/taglibreport/stylesheet.css", new File(destdir, "stylesheet.css")); Util.copyFile( "/resources/taglibreport/xbPositionableElement.js", new File(destdir, "xbPositionableElement.js")); } catch (Exception e) { e.printStackTrace(); } }
|
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/bcf54ee9560f4fd9a0ff083d3f0ea7c829a28aea/TaglibReport.java/buggy/contrib/tag-doc/src/java/org/apache/struts/taskdefs/TaglibReport.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
4110,
2697,
12,
682,
2354,
15329,
202,
202,
698,
95,
1082,
202,
2519,
20692,
1966,
74,
33,
2519,
20692,
18,
2704,
1442,
5621,
1082,
202,
2519,
1263,
1966,
33,
1966,
74,
18,
2704,
2519,
1263,
5621,
1082,
202,
2519,
2434,
33,
1966,
18,
2704,
2519,
5621,
1082,
202,
1046,
26081,
2375,
33,
9506,
202,
1304,
18,
1289,
1763,
1046,
12,
2434,
10837,
26081,
17,
3789,
3113,
2011,
1769,
1082,
202,
3198,
2165,
33,
2354,
18,
9838,
5621,
1082,
202,
17523,
12,
2165,
18,
5332,
2134,
10756,
95,
9506,
202,
812,
768,
28657,
812,
13,
2165,
18,
4285,
5621,
9506,
202,
430,
12,
5,
768,
18,
1808,
1435,
20081,
5,
768,
18,
4169,
1994,
10756,
95,
6862,
202,
17143,
31,
9506,
202,
97,
9506,
202,
2519,
2902,
1759,
33,
4110,
812,
12,
768,
1769,
9506,
202,
430,
12,
2902,
1759,
5,
33,
2011,
15329,
6862,
202,
780,
28650,
33,
25083,
202,
1304,
18,
21336,
620,
12,
6862,
1082,
202,
2902,
1759,
18,
588,
2519,
1046,
9334,
6862,
1082,
202,
6,
3432,
19,
2692,
2941,
19,
28650,
8863,
6862,
202,
1304,
18,
1289,
1763,
1046,
12,
26081,
2375,
10837,
28650,
3113,
28650,
1769,
6862,
202,
25579,
822,
655,
4353,
33,
25083,
202,
2704,
812,
12,
10488,
1214,
16,
28650,
9078,
17,
6006,
18,
2620,
8863,
6862,
202,
1830,
2902,
33,
2704,
8168,
1830,
12,
2902,
1759,
1769,
6862,
202,
1830,
30903,
33,
25083,
202,
2704,
1228,
1830,
12,
6862,
1082,
202,
2211,
18,
588,
797,
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,
6459,
4110,
2697,
12,
682,
2354,
15329,
202,
202,
698,
95,
1082,
202,
2519,
20692,
1966,
74,
33,
2519,
20692,
18,
2704,
1442,
5621,
1082,
202,
2519,
1263,
1966,
33,
1966,
74,
18,
2704,
2519,
1263,
5621,
1082,
202,
2519,
2434,
33,
1966,
18,
2704,
2519,
5621,
1082,
202,
1046,
26081,
2375,
33,
9506,
202,
1304,
18,
1289,
1763,
1046,
12,
2434,
10837,
26081,
17,
3789,
3113,
2011,
1769,
1082,
202,
3198,
2165,
33,
2354,
18,
9838,
5621,
1082,
202,
17523,
12,
2165,
18,
5332,
2134,
10756,
95,
9506,
202,
812,
768,
28657,
812,
13,
2165,
18,
4285,
5621,
9506,
202,
430,
12,
5,
768,
18,
1808,
1435,
20081,
5,
768,
18,
4169,
1994,
10756,
95,
2
] |
||
if ((SAXDriver.FEATURE + "validation").equals (featureId)) { if (active) throw new SAXNotSupportedException ("already parsing"); if (state) forceValidating (); isValidating = state; } else aelfred2.setFeature (featureId, state); }
|
if ((SAXDriver.FEATURE + "validation").equals(featureId)) { if (active) { throw new SAXNotSupportedException("already parsing"); } if (state) { forceValidating(); } isValidating = state; } else { aelfred2.setFeature(featureId, state); } }
|
public void setFeature (String featureId, boolean state) throws SAXNotRecognizedException, SAXNotSupportedException { boolean value = getFeature (featureId); if (state == value) return; if ((SAXDriver.FEATURE + "validation").equals (featureId)) { if (active) throw new SAXNotSupportedException ("already parsing"); if (state) forceValidating (); isValidating = state; } else aelfred2.setFeature (featureId, state); }
|
13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/7fb7568e63c3fe14af521de4699cb37898923ca7/XmlReader.java/clean/libjava/gnu/xml/aelfred2/XmlReader.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
28669,
261,
780,
2572,
548,
16,
1250,
919,
13,
565,
1216,
10168,
1248,
5650,
9367,
503,
16,
10168,
25482,
565,
288,
202,
6494,
460,
273,
17961,
261,
7238,
548,
1769,
202,
430,
261,
2019,
422,
460,
13,
202,
565,
327,
31,
202,
430,
14015,
55,
2501,
4668,
18,
18257,
397,
315,
8685,
20387,
14963,
261,
7238,
548,
3719,
288,
202,
565,
309,
261,
3535,
13,
202,
202,
12849,
394,
10168,
25482,
7566,
17583,
5811,
8863,
202,
565,
309,
261,
2019,
13,
202,
202,
5734,
31496,
261,
1769,
202,
565,
4908,
1776,
273,
919,
31,
202,
97,
469,
202,
565,
279,
19079,
1118,
22,
18,
542,
4595,
261,
7238,
548,
16,
919,
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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,
1248,
5650,
9367,
503,
16,
10168,
25482,
565,
288,
202,
6494,
460,
273,
17961,
261,
7238,
548,
1769,
202,
430,
261,
2019,
422,
460,
13,
202,
565,
327,
31,
202,
430,
14015,
55,
2501,
4668,
18,
18257,
397,
315,
8685,
20387,
14963,
261,
7238,
548,
3719,
288,
202,
565,
309,
261,
3535,
13,
202,
202,
12849,
394,
10168,
25482,
7566,
17583,
5811,
8863,
202,
565,
309,
261,
2019,
13,
202,
202,
5734,
31496,
261,
1769,
202,
565,
4908,
1776,
273,
919,
31,
202,
97,
469,
202,
565,
279,
19079,
1118,
22,
18,
542,
4595,
261,
7238,
548,
16,
919,
1769,
565,
289,
2,
-100,
-100
] |
public Object evaluate(CodeContainer code) { return evaluate(code, null, new Object[0]);
|
public Object evaluate(Variable module) { return load(null, module);
|
public Object evaluate(CodeContainer code) { return evaluate(code, null, new Object[0]); }
|
55146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55146/701880c0290454195da336898d87d9bb07d20843/Evaluator.java/buggy/sources/scala/tools/scalai/Evaluator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
5956,
12,
1085,
2170,
981,
13,
288,
3639,
327,
5956,
12,
710,
16,
446,
16,
394,
1033,
63,
20,
19226,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
5956,
12,
1085,
2170,
981,
13,
288,
3639,
327,
5956,
12,
710,
16,
446,
16,
394,
1033,
63,
20,
19226,
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
] |
initScriptFunction(cx, "", itsData.argNames, itsData.argCount);
|
initScriptFunction(itsData.languageVersion, "", itsData.argNames, itsData.argCount);
|
InterpretedScript(Context cx, InterpreterData theData) { itsData = theData; initScriptFunction(cx, "", itsData.argNames, itsData.argCount); }
|
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/37375e32cf16d65268effed2bfea1cc25d1c3dcf/InterpretedScript.java/clean/js/rhino/src/org/mozilla/javascript/InterpretedScript.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
5294,
15089,
329,
3651,
12,
1042,
9494,
16,
5294,
11599,
751,
326,
751,
13,
565,
288,
3639,
2097,
751,
273,
326,
751,
31,
3639,
1208,
3651,
2083,
12,
1282,
751,
18,
4923,
1444,
16,
23453,
2097,
751,
18,
3175,
1557,
16,
2097,
751,
18,
3175,
1380,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
5294,
15089,
329,
3651,
12,
1042,
9494,
16,
5294,
11599,
751,
326,
751,
13,
565,
288,
3639,
2097,
751,
273,
326,
751,
31,
3639,
1208,
3651,
2083,
12,
1282,
751,
18,
4923,
1444,
16,
23453,
2097,
751,
18,
3175,
1557,
16,
2097,
751,
18,
3175,
1380,
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
] |
String result = null;
|
public String submitReportToRepository() throws BugzillaException, LoginException, PossibleBugzillaFailureException { BufferedOutputStream out = null; BufferedReader in = null; try { // connect to the bugzilla server URLConnection cntx = BugzillaPlugin.getUrlConnection(postUrl, proxySettings); if (cntx == null || !(cntx instanceof HttpURLConnection)) return null; HttpURLConnection postConnection = (HttpURLConnection) cntx; // set the connection method postConnection.setRequestMethod(METHOD_POST); String contentTypeString = POST_CONTENT_TYPE; if (charset != null) { contentTypeString += ";charset=" + charset; } postConnection.setRequestProperty(REQUEST_PROPERTY_CONTENT_TYPE, contentTypeString); // get the url for the update with all of the changed values // Used to debug posted report //System.err.println(">>> "+getPostBody()); byte[] body = getPostBody().getBytes(); postConnection.setRequestProperty(REQUEST_PROPERTY_CONTENT_LENGTH, String.valueOf(body.length)); // allow outgoing streams and open a stream to post to postConnection.setDoOutput(true); out = new BufferedOutputStream(postConnection.getOutputStream()); // write the data and close the stream out.write(body); out.flush(); int responseCode = postConnection.getResponseCode(); if (responseCode != HttpURLConnection.HTTP_OK && responseCode != HttpURLConnection.HTTP_CREATED) { throw new BugzillaException("Server returned HTTP error: " + responseCode + " - " + postConnection.getResponseMessage()); } // open a stream to receive response from bugzilla in = new BufferedReader(new InputStreamReader(postConnection.getInputStream())); String result = null; String aString = in.readLine(); // Used to debug reponse from bugzilla server // while (aString != null) { // System.err.println(aString); // aString = in.readLine(); // } boolean possibleFailure = true; error = ""; while (aString != null) { error += aString == null ? "" : aString + "\n"; // check if we have run into an error if (result == null && (aString.toLowerCase().indexOf("check e-mail") != -1 || aString.toLowerCase().indexOf( "error") != -1)) { throw new LoginException("Bugzilla login problem."); } else if (aString.indexOf("Invalid Username Or Password") != -1) { throw new LoginException("Invalid Username or Password."); } else if (aString.toLowerCase().matches(".*bug\\s+processed.*") // TODO: // make // this // configurable || aString.toLowerCase().matches(".*defect\\s+processed.*")) { possibleFailure = false; } // // get the bug number if it is required if (prefix != null && prefix2 != null && postfix != null && postfix2 != null && result == null) { int startIndex = -1; int startIndexPrefix = aString.toLowerCase().indexOf(prefix.toLowerCase()); int startIndexPrefix2 = aString.toLowerCase().indexOf(prefix2.toLowerCase()); if (startIndexPrefix != -1 || startIndexPrefix2 != -1) { if (startIndexPrefix != -1) { startIndex = startIndexPrefix + prefix.length(); } else { startIndex = startIndexPrefix2 + prefix2.length(); } int stopIndex = aString.toLowerCase().indexOf(postfix.toLowerCase(), startIndex); if (stopIndex == -1) stopIndex = aString.toLowerCase().indexOf(postfix2.toLowerCase(), startIndex); if (stopIndex > -1) { result = (aString.substring(startIndex, stopIndex)).trim(); possibleFailure = false; } } } aString = in.readLine(); } if ((result == null || result.compareTo("") == 0) && (prefix != null && prefix2 == null && postfix != null && postfix2 != null)) { throw new PossibleBugzillaFailureException("Could not find bug number for new bug."); } else if (possibleFailure) { throw new PossibleBugzillaFailureException( "Bug report may not have been submitted. Bugzilla message was: "); } // set the error to null if we dont think that there was one error = null; // return the bug number return result; } catch (IOException e) { throw new BugzillaException("An exception occurred while submitting the bug: " + e.getMessage(), e); } catch (KeyManagementException e) { throw new BugzillaException("Could not POST form. Communications error: " + e.getMessage(), e); } catch (NoSuchAlgorithmException e) { throw new BugzillaException("Could not POST form. Communications error: " + e.getMessage(), e); } finally { try { if (in != null) in.close(); if (out != null) out.close(); } catch (IOException e) { BugzillaPlugin.log(new Status(IStatus.ERROR, BugzillaPlugin.PLUGIN_ID, IStatus.ERROR, "Problem posting the bug", e)); } } }
|
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/20a0f58b54df2a45c03b2642a8eeca6861335dd1/BugzillaReportSubmitForm.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaReportSubmitForm.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
4879,
4820,
774,
3305,
1435,
1216,
16907,
15990,
503,
16,
11744,
503,
16,
25433,
19865,
15990,
14389,
288,
202,
202,
17947,
4632,
596,
273,
446,
31,
202,
202,
17947,
2514,
316,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
759,
3077,
358,
326,
7934,
15990,
1438,
1082,
202,
14790,
7599,
92,
273,
16907,
15990,
3773,
18,
588,
1489,
1952,
12,
2767,
1489,
16,
2889,
2628,
1769,
1082,
202,
430,
261,
13085,
92,
422,
446,
747,
401,
12,
13085,
92,
1276,
19084,
3719,
9506,
202,
2463,
446,
31,
1082,
202,
2940,
14790,
1603,
1952,
273,
261,
2940,
14790,
13,
7599,
92,
31,
1082,
202,
759,
444,
326,
1459,
707,
1082,
202,
2767,
1952,
18,
542,
691,
1305,
12,
5327,
67,
3798,
1769,
1082,
202,
780,
5064,
780,
273,
5485,
67,
9689,
67,
2399,
31,
1082,
202,
430,
261,
9999,
480,
446,
13,
288,
9506,
202,
22194,
780,
1011,
13636,
9999,
1546,
397,
4856,
31,
1082,
202,
97,
1082,
202,
2767,
1952,
18,
542,
691,
1396,
12,
5519,
67,
9900,
67,
9689,
67,
2399,
16,
5064,
780,
1769,
1082,
202,
759,
336,
326,
880,
364,
326,
1089,
598,
777,
434,
326,
3550,
924,
1082,
202,
759,
10286,
358,
1198,
23082,
2605,
1082,
202,
759,
3163,
18,
370,
18,
8222,
2932,
23012,
13773,
588,
3349,
2250,
10663,
1082,
202,
7229,
8526,
1417,
273,
14150,
2250,
7675,
588,
2160,
5621,
1082,
202,
2767,
1952,
18,
542,
691,
1396,
12,
5519,
67,
9900,
67,
9689,
67,
7096,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
4879,
4820,
774,
3305,
1435,
1216,
16907,
15990,
503,
16,
11744,
503,
16,
25433,
19865,
15990,
14389,
288,
202,
202,
17947,
4632,
596,
273,
446,
31,
202,
202,
17947,
2514,
316,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
759,
3077,
358,
326,
7934,
15990,
1438,
1082,
202,
14790,
7599,
92,
273,
16907,
15990,
3773,
18,
588,
1489,
1952,
12,
2767,
1489,
16,
2889,
2628,
1769,
1082,
202,
430,
261,
13085,
92,
422,
446,
747,
401,
12,
13085,
92,
1276,
19084,
3719,
9506,
202,
2463,
446,
31,
1082,
202,
2940,
14790,
1603,
1952,
273,
261,
2940,
14790,
13,
7599,
92,
31,
1082,
202,
759,
444,
326,
1459,
707,
1082,
202,
2767,
1952,
18,
542,
2
] |
|
toolItem.setImage(WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_ETOOL_DEF_PERSPECTIVE) .createImage());
|
toolItem.setText("");
|
public void update(IPerspectiveDescriptor newDesc) { perspective = newDesc; if (toolItem != null && !toolItem.isDisposed()) { ImageDescriptor imageDescriptor = perspective.getImageDescriptor(); if (imageDescriptor != null) { toolItem.setImage(imageDescriptor.createImage()); } else { toolItem.setImage(WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_ETOOL_DEF_PERSPECTIVE) .createImage()); } toolItem.setToolTipText(WorkbenchMessages.format( "PerspectiveBarContributionItem.toolTip", //$NON-NLS-1$ new Object[] { perspective.getLabel() })); } update(); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/0b575d3fd8a606ede9fefedd40c7d4e72d4f2a84/PerspectiveBarContributionItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PerspectiveBarContributionItem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1089,
12,
2579,
414,
16772,
3187,
394,
4217,
13,
288,
3639,
26651,
273,
394,
4217,
31,
3639,
309,
261,
6738,
1180,
480,
446,
597,
401,
6738,
1180,
18,
291,
1669,
7423,
10756,
288,
5411,
3421,
3187,
1316,
3187,
273,
26651,
18,
588,
2040,
3187,
5621,
5411,
309,
261,
2730,
3187,
480,
446,
13,
288,
7734,
5226,
1180,
18,
542,
2040,
12,
2730,
3187,
18,
2640,
2040,
10663,
5411,
289,
469,
288,
7734,
5226,
1180,
18,
542,
2040,
12,
2421,
22144,
8946,
18,
588,
2040,
3187,
12,
13491,
467,
2421,
22144,
29459,
2918,
18,
3445,
43,
67,
1584,
51,
1741,
67,
12904,
67,
3194,
23810,
1268,
5354,
13,
13491,
263,
2640,
2040,
10663,
5411,
289,
5411,
5226,
1180,
18,
542,
29250,
1528,
12,
2421,
22144,
5058,
18,
2139,
12,
10792,
315,
14781,
16772,
5190,
442,
4027,
1180,
18,
6738,
14189,
3113,
4329,
3993,
17,
5106,
17,
21,
8,
10792,
394,
1033,
8526,
288,
26651,
18,
588,
2224,
1435,
289,
10019,
3639,
289,
3639,
1089,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1089,
12,
2579,
414,
16772,
3187,
394,
4217,
13,
288,
3639,
26651,
273,
394,
4217,
31,
3639,
309,
261,
6738,
1180,
480,
446,
597,
401,
6738,
1180,
18,
291,
1669,
7423,
10756,
288,
5411,
3421,
3187,
1316,
3187,
273,
26651,
18,
588,
2040,
3187,
5621,
5411,
309,
261,
2730,
3187,
480,
446,
13,
288,
7734,
5226,
1180,
18,
542,
2040,
12,
2730,
3187,
18,
2640,
2040,
10663,
5411,
289,
469,
288,
7734,
5226,
1180,
18,
542,
2040,
12,
2421,
22144,
8946,
18,
588,
2040,
3187,
12,
13491,
467,
2421,
22144,
29459,
2918,
18,
3445,
43,
67,
1584,
51,
1741,
67,
12904,
67,
3194,
23810,
1268,
5354,
13,
13491,
263,
2640,
2040,
10663,
5411,
289,
5411,
5226,
2
] |
void remove(int value, boolean removeAll) { for (int i = 0; i < length; i++) if (array[i] == value) { array[i--] = array[length-- - 1]; if (!removeAll) break; } }
|
void remove(int value) { remove(value, true); }
|
void remove(int value, boolean removeAll) { for (int i = 0; i < length; i++) if (array[i] == value) { array[i--] = array[length-- - 1]; if (!removeAll) break; } }
|
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/01a5cb4329018dc20efb1840e9c0d94331c1f444/MailItem.java/clean/ZimbraServer/src/java/com/zimbra/cs/mailbox/MailItem.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
918,
1206,
12,
474,
460,
16,
1250,
12787,
13,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
769,
31,
277,
27245,
7734,
309,
261,
1126,
63,
77,
65,
422,
460,
13,
288,
10792,
526,
63,
77,
413,
65,
273,
526,
63,
2469,
413,
300,
404,
15533,
10792,
309,
16051,
4479,
1595,
13,
13491,
898,
31,
7734,
289,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
918,
1206,
12,
474,
460,
16,
1250,
12787,
13,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
769,
31,
277,
27245,
7734,
309,
261,
1126,
63,
77,
65,
422,
460,
13,
288,
10792,
526,
63,
77,
413,
65,
273,
526,
63,
2469,
413,
300,
404,
15533,
10792,
309,
16051,
4479,
1595,
13,
13491,
898,
31,
7734,
289,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
throw getRuntime().newNameError("uninitialized constant " + name.asSymbol());
|
throw getRuntime().newNameError("uninitialized constant " + name.asSymbol(), name.asSymbol());
|
public IRubyObject const_missing(IRubyObject name) { /* Uninitialized constant */ if (this != getRuntime().getObject()) { throw getRuntime().newNameError("uninitialized constant " + getName() + "::" + name.asSymbol()); } throw getRuntime().newNameError("uninitialized constant " + name.asSymbol()); }
|
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/1278c5bb3507a052d150d814f15453542ae41aed/RubyModule.java/clean/src/org/jruby/RubyModule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
1866,
67,
7337,
12,
7937,
10340,
921,
508,
13,
288,
3639,
1748,
1351,
13227,
5381,
1195,
3639,
309,
261,
2211,
480,
18814,
7675,
588,
921,
10756,
288,
5411,
604,
18814,
7675,
2704,
461,
668,
2932,
318,
13227,
5381,
315,
397,
1723,
1435,
397,
31120,
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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
1866,
67,
7337,
12,
7937,
10340,
921,
508,
13,
288,
3639,
1748,
1351,
13227,
5381,
1195,
3639,
309,
261,
2211,
480,
18814,
7675,
588,
921,
10756,
288,
5411,
604,
18814,
7675,
2704,
461,
668,
2932,
318,
13227,
5381,
315,
397,
1723,
1435,
397,
31120,
397,
508,
18,
345,
5335,
10663,
3639,
289,
540,
604,
18814,
7675,
2704,
461,
668,
2932,
318,
13227,
5381,
315,
397,
508,
18,
345,
5335,
9334,
508,
18,
345,
5335,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
throws SAXException { Log.logln(LOG_PROGRESS || SHOW_START_END, "endElement uri\t" + uri + "\tlocalName " + localName + "\tqName " + qName); try { pop(qName); } catch (RuntimeException e) { e.printStackTrace(); throw e; } }
|
throws SAXException { Log.logln(LOG_PROGRESS || SHOW_START_END, "endElement uri\t" + uri + "\tlocalName " + localName + "\tqName " + qName); try { pop(qName); } catch (RuntimeException e) { e.printStackTrace(); throw e; } }
|
public void endElement(String uri, String localName, String qName) throws SAXException { Log.logln(LOG_PROGRESS || SHOW_START_END, "endElement uri\t" + uri + "\tlocalName " + localName + "\tqName " + qName); try { pop(qName); } catch (RuntimeException e) { e.printStackTrace(); throw e; } }
|
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/4716264464632750d34da5032a0718e1d756a967/CLDRFile.java/buggy/tools/java/org/unicode/cldr/util/CLDRFile.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
14840,
12,
780,
2003,
16,
514,
11927,
16,
514,
22914,
13,
5411,
1216,
14366,
288,
377,
1082,
202,
1343,
18,
1330,
2370,
12,
4842,
67,
24022,
747,
27954,
67,
7570,
67,
4415,
16,
315,
409,
1046,
2003,
64,
88,
6,
397,
2003,
397,
1548,
88,
3729,
461,
315,
397,
11927,
377,
9506,
202,
15,
1548,
88,
85,
461,
315,
397,
22914,
1769,
7734,
775,
288,
10792,
1843,
12,
85,
461,
1769,
7734,
289,
1044,
261,
11949,
425,
13,
288,
10792,
425,
18,
1188,
6332,
5621,
10792,
604,
425,
31,
7734,
289,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
540,
1071,
918,
14840,
12,
780,
2003,
16,
514,
11927,
16,
514,
22914,
13,
5411,
1216,
14366,
288,
377,
1082,
202,
1343,
18,
1330,
2370,
12,
4842,
67,
24022,
747,
27954,
67,
7570,
67,
4415,
16,
315,
409,
1046,
2003,
64,
88,
6,
397,
2003,
397,
1548,
88,
3729,
461,
315,
397,
11927,
377,
9506,
202,
15,
1548,
88,
85,
461,
315,
397,
22914,
1769,
7734,
775,
288,
10792,
1843,
12,
85,
461,
1769,
7734,
289,
1044,
261,
11949,
425,
13,
288,
10792,
425,
18,
1188,
6332,
5621,
10792,
604,
425,
31,
7734,
289,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
f = f.resolve();
|
f = resolve(f);
|
public void visitLPUTSTATIC(jq_StaticField f) { super.visitLPUTSTATIC(f); f = f.resolve(); vm.putstatic_L(f, state.pop_L()); }
|
3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/d12f1e1bc9744829efc71c43906f1f511c2f07d2/Interpreter.java/clean/joeq_native/joeq/Interpreter/Interpreter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
48,
4762,
22741,
12,
78,
85,
67,
5788,
974,
284,
13,
288,
5411,
2240,
18,
11658,
48,
4762,
22741,
12,
74,
1769,
5411,
284,
273,
2245,
12,
74,
1769,
5411,
4268,
18,
458,
3845,
67,
48,
12,
74,
16,
919,
18,
5120,
67,
48,
10663,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
48,
4762,
22741,
12,
78,
85,
67,
5788,
974,
284,
13,
288,
5411,
2240,
18,
11658,
48,
4762,
22741,
12,
74,
1769,
5411,
284,
273,
2245,
12,
74,
1769,
5411,
4268,
18,
458,
3845,
67,
48,
12,
74,
16,
919,
18,
5120,
67,
48,
10663,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void setModuleExecution(org.openmicroscopy.omero.model.ModuleExecution moduleExecution) {
|
public void setModuleExecution(ModuleExecution moduleExecution) {
|
public void setModuleExecution(org.openmicroscopy.omero.model.ModuleExecution moduleExecution) { this.moduleExecution = moduleExecution; }
|
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/9570ef74198a070d72e77c417c9d25244a942de2/CategoryGroup.java/clean/components/common/src/org/openmicroscopy/omero/model/CategoryGroup.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3120,
3210,
12,
3120,
3210,
1605,
3210,
13,
288,
3639,
333,
18,
2978,
3210,
273,
1605,
3210,
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,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3120,
3210,
12,
3120,
3210,
1605,
3210,
13,
288,
3639,
333,
18,
2978,
3210,
273,
1605,
3210,
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
] |
else { animate.addActionListener(this); frameRate.addChangeListener(new FrameRateListener()); }
|
animate.addActionListener(this); frameRate.addChangeListener(new FrameRateListener());
|
void addPanel() { depth2 = stackSize/(depth*(hasTrans ? 2 : 1)); if (!hasTP && numFiles > 1) { if (hasZ) { sliceSel1 = new JScrollBar(JScrollBar.HORIZONTAL, 1, 1, 1, depth+1); sliceSel2 = new JScrollBar(JScrollBar.HORIZONTAL, 1, 1, 1, depth2+1); } else { sliceSel1 = new JScrollBar(JScrollBar.HORIZONTAL, 1, 1, 1, depth2+1); sliceSel2 = new JScrollBar(JScrollBar.HORIZONTAL, 1, 1, 1, depth+1); } } else { sliceSel1 = new JScrollBar(JScrollBar.HORIZONTAL, 1, 1, 1, depth+1); sliceSel2 = new JScrollBar(JScrollBar.HORIZONTAL, 1, 1, 1, depth2+1); } sliceSel1.addAdjustmentListener(this); sliceSel2.addAdjustmentListener(this); int blockIncrement = depth/10; if (blockIncrement < 1) blockIncrement = 1; sliceSel1.setUnitIncrement(1); sliceSel1.setBlockIncrement(blockIncrement*10); blockIncrement = depth2/10; if (blockIncrement<1) blockIncrement = 1; sliceSel2.setUnitIncrement(1); sliceSel2.setBlockIncrement(blockIncrement); // CTR 11 Feb 2005 add(sliceSel1); add(sliceSel2); Panel bottom = new Panel() { public Dimension getPreferredSize() { // panel is always the same width as the image canvas Dimension d = super.getPreferredSize(); d.width = ic.getWidth()<500?500:ic.getWidth(); return d; } }; GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); bottom.setLayout(gridbag); label1 = new JLabel(lab3D); label2 = new JLabel(lab4D); JCheckBox channel2 = new JCheckBox("Transmitted"); channel2.setBackground(Color.white); if (!hasTrans) channel2.setEnabled(false); else channel2.addItemListener(this); JButton animate = new JButton("Animate"); SpinnerModel model = new SpinnerNumberModel(10, 1, 99, 1); frameRate = new JSpinner(model); if ((!hasTP && depth == 1) || (hasTP && depth2 == 1) || numFiles == 1) { animate.setEnabled(false); frameRate.setEnabled(false); } else { animate.addActionListener(this); frameRate.addChangeListener(new FrameRateListener()); } if (!hasTP && hasZ) { if (numFiles > 1) { sliceSel1.setEnabled(false); } else { sliceSel2.setEnabled(false); } } else if (!hasTP && depth == 1) sliceSel2.setEnabled(false); c.gridx = 0; c.gridy = 0; c.fill = GridBagConstraints.NONE; c.weightx = 0.0; c.ipadx = 30; c.anchor = GridBagConstraints.LINE_START; gridbag.setConstraints(label1, c); c.gridy = 2; gridbag.setConstraints(label2, c); c.anchor = GridBagConstraints.CENTER; c.gridx = 1; c.gridy = 0; c.gridwidth = 5; c.fill = GridBagConstraints.HORIZONTAL; c.weightx = 1.0; gridbag.setConstraints(sliceSel1, c); c.gridy = 2; gridbag.setConstraints(sliceSel2, c); c.gridx = 6; c.gridy = 0; c.fill = GridBagConstraints.NONE; c.weightx = 0.0; c.insets = new Insets(0, 5, 0, 0); c.anchor = GridBagConstraints.LINE_END; c.gridwidth = 2; // end row gridbag.setConstraints(channel2, c); c.fill = GridBagConstraints.NONE; c.weightx = 0.0; c.gridheight = 1; c.gridx = 6; c.gridy = 3; c.gridwidth = GridBagConstraints.REMAINDER; //end row c.insets = new Insets(3, 5, 3, 0); gridbag.setConstraints(animate, c); // next row c.gridx = 7; c.gridy = 2; c.gridwidth = 1; c.fill = GridBagConstraints.REMAINDER; c.weightx = 0.0; bottom.add(new JLabel("fps"), c); c.gridx = 6; c.gridy = 2; c.ipadx = 20; //c.gridwidth = GridBagConstraints.REMAINDER; // end row gridbag.setConstraints(frameRate, c); bottom.add(frameRate); // add the XML button c.gridx = 5; c.gridy = 3; c.insets = new Insets(3, 30, 3, 5); xmlButton = new JButton("OME-XML"); xmlButton.addActionListener(this); xmlButton.setActionCommand("xml"); gridbag.setConstraints(xmlButton, c); c.gridx = 0; c.gridy = 3; c.gridwidth = 2; c.insets = new Insets(0, 0, 0, 0); JButton swapAxesButton = new JButton("Swap Axes"); swapAxesButton.addActionListener(this); swapAxesButton.setActionCommand("swap"); gridbag.setConstraints(swapAxesButton, c); bottom.add(label1); bottom.add(sliceSel1); bottom.add(channel2); bottom.add(label2); bottom.add(sliceSel2); bottom.add(animate); bottom.add(xmlButton); bottom.add(swapAxesButton); bottom.setLocation(-100,bottom.getLocation().y); add(bottom); pack(); setLayout(new FlowLayout()); setVisible(true); int previousSlice = imp.getCurrentSlice(); imp.setSlice(hasTrans ? depth+1 : 1); WindowManager.addWindow(this); try { extraData.put(new Integer(imp.getID()), d); } catch (NullPointerException n) { } if (previousSlice > 1 && previousSlice <= imp.getStackSize()) { imp.setSlice(previousSlice); } repaint(); }
|
46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/b5ef98852ba8417cbe1025293f096a0307c0ea24/LociDataBrowser.java/clean/loci/browser/LociDataBrowser.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
527,
5537,
1435,
288,
1377,
3598,
22,
273,
2110,
1225,
19,
12,
5979,
21556,
5332,
1429,
692,
576,
294,
404,
10019,
1377,
309,
16051,
5332,
11130,
597,
818,
2697,
405,
404,
13,
288,
3639,
309,
261,
5332,
62,
13,
288,
1850,
2788,
1877,
21,
273,
394,
804,
6806,
5190,
12,
46,
6806,
5190,
18,
44,
20344,
16,
404,
16,
404,
16,
404,
16,
3598,
15,
21,
1769,
1850,
2788,
1877,
22,
273,
394,
804,
6806,
5190,
12,
46,
6806,
5190,
18,
44,
20344,
16,
404,
16,
404,
16,
404,
16,
3598,
22,
15,
21,
1769,
3639,
289,
3639,
469,
288,
1850,
2788,
1877,
21,
273,
394,
804,
6806,
5190,
12,
46,
6806,
5190,
18,
44,
20344,
16,
404,
16,
404,
16,
404,
16,
3598,
22,
15,
21,
1769,
1850,
2788,
1877,
22,
273,
394,
804,
6806,
5190,
12,
46,
6806,
5190,
18,
44,
20344,
16,
404,
16,
404,
16,
404,
16,
3598,
15,
21,
1769,
3639,
289,
1377,
289,
1377,
469,
288,
3639,
2788,
1877,
21,
273,
394,
804,
6806,
5190,
12,
46,
6806,
5190,
18,
44,
20344,
16,
404,
16,
404,
16,
404,
16,
3598,
15,
21,
1769,
3639,
2788,
1877,
22,
273,
394,
804,
6806,
5190,
12,
46,
6806,
5190,
18,
44,
20344,
16,
404,
16,
404,
16,
404,
16,
3598,
22,
15,
21,
1769,
1377,
289,
1377,
2788,
1877,
21,
18,
1289,
19985,
2223,
12,
2211,
1769,
1377,
2788,
1877,
22,
18,
1289,
19985,
2223,
12,
2211,
1769,
1377,
509,
1203,
10798,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
527,
5537,
1435,
288,
1377,
3598,
22,
273,
2110,
1225,
19,
12,
5979,
21556,
5332,
1429,
692,
576,
294,
404,
10019,
1377,
309,
16051,
5332,
11130,
597,
818,
2697,
405,
404,
13,
288,
3639,
309,
261,
5332,
62,
13,
288,
1850,
2788,
1877,
21,
273,
394,
804,
6806,
5190,
12,
46,
6806,
5190,
18,
44,
20344,
16,
404,
16,
404,
16,
404,
16,
3598,
15,
21,
1769,
1850,
2788,
1877,
22,
273,
394,
804,
6806,
5190,
12,
46,
6806,
5190,
18,
44,
20344,
16,
404,
16,
404,
16,
404,
16,
3598,
22,
15,
21,
1769,
3639,
289,
3639,
469,
288,
1850,
2788,
1877,
21,
273,
394,
804,
6806,
5190,
12,
46,
6806,
5190,
18,
44,
20344,
16,
2
] |
updateBuildActions(ResourcesPlugin.getWorkspace().isAutoBuilding());
|
updateBuildActions();
|
public void makeAndPopulateActions(IWorkbenchConfigurer windowConfigurer, IActionBarConfigurer actionBarConfigurer) { makeActions(windowConfigurer, actionBarConfigurer); populateMenuBar(actionBarConfigurer); populateCoolBar(actionBarConfigurer); updateBuildActions(ResourcesPlugin.getWorkspace().isAutoBuilding()); populateStatusLine(actionBarConfigurer); hookListeners(); }
|
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/cf6dbe88c16d566306439f0a3a20accff5b1cafb/WorkbenchActionBuilder.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1221,
1876,
19097,
6100,
12,
45,
2421,
22144,
809,
11278,
2742,
809,
11278,
16,
5411,
467,
1803,
5190,
809,
11278,
1301,
5190,
809,
11278,
13,
288,
3639,
1221,
6100,
12,
5668,
809,
11278,
16,
1301,
5190,
809,
11278,
1769,
3639,
6490,
4599,
5190,
12,
1128,
5190,
809,
11278,
1769,
3639,
6490,
39,
1371,
5190,
12,
1128,
5190,
809,
11278,
1769,
3639,
1089,
3116,
6100,
5621,
3639,
6490,
1482,
1670,
12,
1128,
5190,
809,
11278,
1769,
3639,
3953,
5583,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1221,
1876,
19097,
6100,
12,
45,
2421,
22144,
809,
11278,
2742,
809,
11278,
16,
5411,
467,
1803,
5190,
809,
11278,
1301,
5190,
809,
11278,
13,
288,
3639,
1221,
6100,
12,
5668,
809,
11278,
16,
1301,
5190,
809,
11278,
1769,
3639,
6490,
4599,
5190,
12,
1128,
5190,
809,
11278,
1769,
3639,
6490,
39,
1371,
5190,
12,
1128,
5190,
809,
11278,
1769,
3639,
1089,
3116,
6100,
5621,
3639,
6490,
1482,
1670,
12,
1128,
5190,
809,
11278,
1769,
3639,
3953,
5583,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (fBufferOffset + fBufferLength == fDocument.getLength())
|
int end= fBufferOffset + fBufferLength; if (end == fDocument.getLength() || end == fRangeOffset + fRangeLength)
|
public final int read() { if (fOffset == fBufferLength) { if (fBufferOffset + fBufferLength == fDocument.getLength()) return EOF; else { updateBuffer(fBufferOffset + fBufferLength); fOffset= 0; } } return fBuffer[fOffset++]; }
|
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/b99f8f7b29a481f6e67088449d65461b15cb87bb/BufferedDocumentScanner.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/BufferedDocumentScanner.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
509,
855,
1435,
288,
202,
202,
430,
261,
74,
2335,
422,
284,
1892,
1782,
13,
288,
1082,
202,
430,
261,
74,
1892,
2335,
397,
284,
1892,
1782,
422,
284,
2519,
18,
588,
1782,
10756,
9506,
202,
2463,
6431,
31,
1082,
202,
12107,
288,
9506,
202,
2725,
1892,
12,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
509,
855,
1435,
288,
202,
202,
430,
261,
74,
2335,
422,
284,
1892,
1782,
13,
288,
1082,
202,
430,
261,
74,
1892,
2335,
397,
284,
1892,
1782,
422,
284,
2519,
18,
588,
1782,
10756,
9506,
202,
2463,
6431,
31,
1082,
202,
12107,
288,
9506,
202,
2725,
1892,
12,
74,
1892,
2335,
397,
284,
1892,
1782,
1769,
9506,
202,
74,
2335,
33,
374,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
284,
1892,
63,
74,
2335,
9904,
15533,
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
] |
private UserQuery storeOrUpdateQueryWithoutTransaction(String name, QueryHelper queryHelper, boolean isPrivate, boolean overwriteQuery, IWUserContext iwuc) throws IDOStoreException, IOException, CreateException, SQLException, FinderException { Group group = getCorrespondingGroup(iwuc); // get user query, get xml data XMLData data = null; UserQuery userQuery = queryHelper.getUserQuery(); if (userQuery !=null && overwriteQuery) { name = modifyNameIfNameAlreadyExistsIgnoreUserQuery(userQuery,name, group); // case: query is modified and should be overwritten data = XMLData.getInstanceForFile(userQuery.getSource()); // update user query and data // store old name before updating String oldName = userQuery.getName(); updateQueryData(name, userQuery, data, queryHelper, group, isPrivate); // do we have to create a new query sequence? if (!oldName.equals(name)) { createQuerySequence(name, userQuery, queryHelper); } } else { // case: brand new query name = modifyNameIfNameAlreadyExists(name, group); userQuery = getUserQueryHome().create(); // store to be sure that the primary key is set ! data = XMLData.getInstanceWithoutExistingFile(); // update user query and data updateQueryData(name, userQuery, data, queryHelper, group, isPrivate); createQuerySequence(name, userQuery, queryHelper); } return userQuery; }
|
57644 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57644/726d5e6858cf8bab2f102dac52b49bdeffe58d8b/QueryServiceBean.java/clean/src/java/com/idega/block/dataquery/business/QueryServiceBean.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1299,
1138,
2233,
10466,
1138,
8073,
3342,
12,
780,
529,
16,
1138,
2276,
2271,
2276,
16,
6494,
291,
6014,
16,
6494,
19274,
1138,
16,
45,
59,
1299,
1042,
22315,
5286,
13,
1082,
202,
15069,
734,
51,
21151,
16,
14106,
16,
1684,
503,
16,
23116,
16,
8441,
503,
95,
202,
202,
1114,
1655,
33,
588,
6217,
17863,
310,
1114,
12,
22315,
5286,
1769,
202,
202,
759,
588,
1355,
2271,
16,
588,
2902,
892,
202,
202,
4201,
5139,
361,
396,
33,
2011,
31,
202,
202,
1299,
1138,
1355,
1138,
33,
2271,
2276,
18,
588,
1299,
1138,
5621,
202,
202,
430,
12,
1355,
1138,
5,
33,
2011,
10,
10,
19274,
1138,
15329,
1082,
202,
529,
33,
17042,
461,
2047,
461,
16686,
3777,
1299,
1138,
12,
1355,
1138,
16,
529,
16,
1655,
1769,
1082,
202,
759,
3593,
30,
2271,
291,
7342,
464,
13139,
2196,
1643,
9748,
1082,
202,
892,
33,
4201,
751,
18,
588,
1442,
1290,
812,
12,
1355,
1138,
18,
588,
1830,
10663,
1082,
202,
759,
2725,
1355,
2271,
304,
449,
396,
1082,
202,
759,
2233,
1673,
529,
5771,
5533,
1776,
1082,
202,
780,
1673,
461,
33,
1355,
1138,
18,
17994,
5621,
1082,
202,
2725,
1138,
751,
12,
529,
16,
1355,
1138,
16,
892,
16,
2271,
2276,
16,
1655,
16,
291,
6014,
1769,
1082,
202,
759,
72,
543,
73,
76,
842,
278,
504,
602,
304,
359,
2271,
6178,
35,
1082,
202,
430,
12,
5,
1673,
461,
18,
14963,
12,
529,
3719,
95,
9506,
202,
2640,
1138,
4021,
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,
1299,
1138,
2233,
10466,
1138,
8073,
3342,
12,
780,
529,
16,
1138,
2276,
2271,
2276,
16,
6494,
291,
6014,
16,
6494,
19274,
1138,
16,
45,
59,
1299,
1042,
22315,
5286,
13,
1082,
202,
15069,
734,
51,
21151,
16,
14106,
16,
1684,
503,
16,
23116,
16,
8441,
503,
95,
202,
202,
1114,
1655,
33,
588,
6217,
17863,
310,
1114,
12,
22315,
5286,
1769,
202,
202,
759,
588,
1355,
2271,
16,
588,
2902,
892,
202,
202,
4201,
5139,
361,
396,
33,
2011,
31,
202,
202,
1299,
1138,
1355,
1138,
33,
2271,
2276,
18,
588,
1299,
1138,
5621,
202,
202,
430,
12,
1355,
1138,
5,
33,
2011,
10,
10,
19274,
1138,
15329,
1082,
202,
529,
33,
17042,
461,
2047,
2
] |
||
sJdbcPassword = jdbcProps.getProperty("jdbcPassword");
|
jdbcDriverProps.put("user", sJdbcUser); jdbcDriverProps.put("password", jdbcProps.getProperty("jdbcPassword")); jdbcDriver = (java.sql.Driver)Class.forName(sJdbcDriver).newInstance();
|
protected static void loadProps () throws Exception { if (!bPropsLoaded) { InputStream inStream = RDBMServices.class.getResourceAsStream("/properties/rdbm.properties"); Properties jdbcProps = new Properties(); jdbcProps.load(inStream); sJdbcDriver = jdbcProps.getProperty("jdbcDriver"); sJdbcUrl = jdbcProps.getProperty("jdbcUrl"); sJdbcUser = jdbcProps.getProperty("jdbcUser"); sJdbcPassword = jdbcProps.getProperty("jdbcPassword"); bPropsLoaded = true; } }
|
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/ad4a5592d326824a0ba31757ac3e4a3936db617f/RDBMServices.java/clean/source/org/jasig/portal/RDBMServices.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
760,
918,
1262,
5047,
1832,
1216,
1185,
288,
1377,
309,
16051,
70,
5047,
8835,
13,
288,
3639,
5037,
28987,
273,
534,
2290,
49,
5676,
18,
1106,
18,
588,
1420,
17052,
2932,
19,
4738,
19,
86,
1966,
81,
18,
4738,
8863,
3639,
6183,
16579,
5047,
273,
394,
6183,
5621,
3639,
16579,
5047,
18,
945,
12,
267,
1228,
1769,
3639,
272,
25316,
4668,
273,
16579,
5047,
18,
588,
1396,
2932,
24687,
4668,
8863,
3639,
272,
25316,
1489,
273,
16579,
5047,
18,
588,
1396,
2932,
24687,
1489,
8863,
3639,
272,
25316,
1299,
273,
16579,
5047,
18,
588,
1396,
2932,
24687,
1299,
8863,
3639,
16579,
4668,
5047,
18,
458,
2932,
1355,
3113,
272,
25316,
1299,
1769,
16579,
4668,
5047,
18,
458,
2932,
3664,
3113,
16579,
5047,
18,
588,
1396,
2932,
24687,
3913,
7923,
1769,
16579,
4668,
273,
261,
6290,
18,
4669,
18,
4668,
13,
797,
18,
1884,
461,
12,
87,
25316,
4668,
2934,
2704,
1442,
5621,
3639,
324,
5047,
8835,
273,
638,
31,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
760,
918,
1262,
5047,
1832,
1216,
1185,
288,
1377,
309,
16051,
70,
5047,
8835,
13,
288,
3639,
5037,
28987,
273,
534,
2290,
49,
5676,
18,
1106,
18,
588,
1420,
17052,
2932,
19,
4738,
19,
86,
1966,
81,
18,
4738,
8863,
3639,
6183,
16579,
5047,
273,
394,
6183,
5621,
3639,
16579,
5047,
18,
945,
12,
267,
1228,
1769,
3639,
272,
25316,
4668,
273,
16579,
5047,
18,
588,
1396,
2932,
24687,
4668,
8863,
3639,
272,
25316,
1489,
273,
16579,
5047,
18,
588,
1396,
2932,
24687,
1489,
8863,
3639,
272,
25316,
1299,
273,
16579,
5047,
18,
588,
1396,
2932,
24687,
1299,
8863,
3639,
16579,
4668,
5047,
18,
458,
2932,
1355,
3113,
272,
25316,
1299,
1769,
16579,
4668,
5047,
18,
458,
2
] |
Evaluator push();
|
Evaluator push(Member[] members);
|
Evaluator push();
|
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/04e646f31dd5b7942980cee630c94f49bdab0e26/Evaluator.java/buggy/src/main/mondrian/olap/Evaluator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
31956,
1817,
5621,
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,
0,
0,
0,
0,
0,
0,
0
] |
[
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,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
31956,
1817,
5621,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
private void setTOS(ValueNumberFrame vnaFrame, Location location, DefinitelyNullSet fact, boolean isNull) throws DataflowAnalysisException { ValueNumber valueNumber = vnaFrame.getTopValue(); fact.set(valueNumber.getNumber(), isNull); if (isNull) { fact.setAssignedNullLocation(valueNumber.getNumber(), compactLocationNumbering.getNumber(location)); } }
|
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/f47b52a2bea78a8ae70ad37e4db61531a5cdf2d8/DefinitelyNullSetAnalysis.java/clean/findbugs/src/java/edu/umd/cs/findbugs/ba/npe2/DefinitelyNullSetAnalysis.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6459,
542,
4296,
55,
12,
620,
1854,
3219,
90,
6582,
3219,
16,
2735,
3562,
16,
6443,
25818,
2041,
694,
3493,
16,
6494,
291,
2041,
13,
1082,
202,
15069,
751,
2426,
9418,
503,
95,
202,
202,
620,
1854,
1132,
1854,
33,
90,
6582,
3219,
18,
588,
3401,
620,
5621,
202,
202,
3493,
18,
542,
12,
1132,
1854,
18,
588,
1854,
9334,
291,
2041,
1769,
202,
202,
430,
12,
291,
2041,
15329,
1082,
202,
3493,
18,
542,
20363,
2041,
2735,
12,
1132,
1854,
18,
588,
1854,
9334,
21038,
2735,
1854,
310,
18,
588,
1854,
12,
3562,
10019,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6459,
542,
4296,
55,
12,
620,
1854,
3219,
90,
6582,
3219,
16,
2735,
3562,
16,
6443,
25818,
2041,
694,
3493,
16,
6494,
291,
2041,
13,
1082,
202,
15069,
751,
2426,
9418,
503,
95,
202,
202,
620,
1854,
1132,
1854,
33,
90,
6582,
3219,
18,
588,
3401,
620,
5621,
202,
202,
3493,
18,
542,
12,
1132,
1854,
18,
588,
1854,
9334,
291,
2041,
1769,
202,
202,
430,
12,
291,
2041,
15329,
1082,
202,
3493,
18,
542,
20363,
2041,
2735,
12,
1132,
1854,
18,
588,
1854,
9334,
21038,
2735,
1854,
310,
18,
588,
1854,
12,
3562,
10019,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
||
this.labelTitle.setText(Messages.getString("ConfirmationPanel.Title"));
|
this.labelTitle.setText(DeepaMehtaMessages.getString("SetupWizard.ConfirmationPanel.Title"));
|
private JPanel getPanelTitle() { if (this.panelTitle == null) { this.labelTitle = new JLabel(); this.panelTitle = new JPanel(); this.labelTitle.setText(Messages.getString("ConfirmationPanel.Title")); //$NON-NLS-1$ this.labelTitle.setFont(new java.awt.Font("Dialog", java.awt.Font.BOLD, 18)); this.panelTitle.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED)); this.panelTitle.add(this.labelTitle, null); } return this.panelTitle; }
|
13653 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13653/71da0c3787b04338fa24ead224d064913638ddab/ConfirmationPanel.java/clean/trunk/develop/src/de/deepamehta/launchpad/setup/wizard/ConfirmationPanel.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
24048,
1689,
30427,
4247,
1435,
288,
202,
202,
430,
261,
2211,
18,
13916,
4247,
422,
446,
13,
288,
1082,
202,
2211,
18,
1925,
4247,
273,
394,
21403,
5621,
1082,
202,
2211,
18,
13916,
4247,
273,
394,
24048,
5621,
1082,
202,
2211,
18,
1925,
4247,
18,
542,
1528,
12,
13980,
69,
4667,
11952,
5058,
18,
588,
780,
2932,
7365,
27130,
18,
17597,
5537,
18,
4247,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2211,
18,
1925,
4247,
18,
542,
5711,
12,
2704,
2252,
18,
2219,
88,
18,
5711,
2932,
6353,
3113,
2252,
18,
2219,
88,
18,
5711,
18,
38,
11846,
16,
6549,
10019,
1082,
202,
2211,
18,
13916,
4247,
18,
542,
8107,
12,
28384,
18,
5328,
310,
18,
8107,
1733,
18,
2640,
1919,
941,
8107,
12,
28384,
18,
5328,
310,
18,
8815,
18,
1919,
941,
8107,
18,
2849,
45,
18204,
10019,
1082,
202,
2211,
18,
13916,
4247,
18,
1289,
12,
2211,
18,
1925,
4247,
16,
446,
1769,
202,
202,
97,
202,
202,
2463,
333,
18,
13916,
4247,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
24048,
1689,
30427,
4247,
1435,
288,
202,
202,
430,
261,
2211,
18,
13916,
4247,
422,
446,
13,
288,
1082,
202,
2211,
18,
1925,
4247,
273,
394,
21403,
5621,
1082,
202,
2211,
18,
13916,
4247,
273,
394,
24048,
5621,
1082,
202,
2211,
18,
1925,
4247,
18,
542,
1528,
12,
13980,
69,
4667,
11952,
5058,
18,
588,
780,
2932,
7365,
27130,
18,
17597,
5537,
18,
4247,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2211,
18,
1925,
4247,
18,
542,
5711,
12,
2704,
2252,
18,
2219,
88,
18,
5711,
2932,
6353,
3113,
2252,
18,
2219,
88,
18,
5711,
18,
38,
11846,
16,
6549,
10019,
1082,
202,
2211,
18,
13916,
4247,
18,
542,
8107,
12,
28384,
2
] |
shutdown(); throw iex;
|
if (iex.getMessage().startsWith("No space left on device")) { throw new DiskOutOfSpaceException("No space left on device"); } else { shutdown(); throw iex; }
|
private void writeBlock(DataInputStream in) throws IOException { // // Read in the header // DataOutputStream reply = new DataOutputStream(new BufferedOutputStream(s.getOutputStream())); try { boolean shouldReportBlock = in.readBoolean(); Block b = new Block(); b.readFields(in); int numTargets = in.readInt(); if (numTargets <= 0) { throw new IOException("Mislabelled incoming datastream."); } DatanodeInfo targets[] = new DatanodeInfo[numTargets]; for (int i = 0; i < targets.length; i++) { DatanodeInfo tmp = new DatanodeInfo(); tmp.readFields(in); targets[i] = tmp; } byte encodingType = (byte) in.read(); long len = in.readLong(); // // Make sure curTarget is equal to this machine // DatanodeInfo curTarget = targets[0]; // // Track all the places we've successfully written the block // Vector mirrors = new Vector(); // // Open local disk out // DataOutputStream out = new DataOutputStream(new BufferedOutputStream(data.writeToBlock(b))); InetSocketAddress mirrorTarget = null; String mirrorNode = null; try { // // Open network conn to backup machine, if // appropriate // DataInputStream in2 = null; DataOutputStream out2 = null; if (targets.length > 1) { // Connect to backup machine mirrorNode = targets[1].getName(); mirrorTarget = createSocketAddr(mirrorNode); try { Socket s2 = new Socket(); s2.connect(mirrorTarget, READ_TIMEOUT); s2.setSoTimeout(READ_TIMEOUT); out2 = new DataOutputStream(new BufferedOutputStream(s2.getOutputStream())); in2 = new DataInputStream(new BufferedInputStream(s2.getInputStream())); // Write connection header out2.write(OP_WRITE_BLOCK); out2.writeBoolean(shouldReportBlock); b.write(out2); out2.writeInt(targets.length - 1); for (int i = 1; i < targets.length; i++) { targets[i].write(out2); } out2.write(encodingType); out2.writeLong(len); myMetrics.replicatedBlocks(1); } catch (IOException ie) { if (out2 != null) { LOG.info("Exception connecting to mirror " + mirrorNode + "\n" + StringUtils.stringifyException(ie)); try { out2.close(); in2.close(); } catch (IOException out2close) { } finally { out2 = null; in2 = null; } } } } // // Process incoming data, copy to disk and // maybe to network. // boolean anotherChunk = len != 0; byte buf[] = new byte[BUFFER_SIZE]; while (anotherChunk) { while (len > 0) { int bytesRead = in.read(buf, 0, (int)Math.min(buf.length, len)); if (bytesRead < 0) { throw new EOFException("EOF reading from "+s.toString()); } if (bytesRead > 0) { try { out.write(buf, 0, bytesRead); myMetrics.wroteBytes(bytesRead); } catch (IOException iex) { shutdown(); throw iex; } if (out2 != null) { try { out2.write(buf, 0, bytesRead); } catch (IOException out2e) { LOG.info("Exception writing to mirror " + mirrorNode + "\n" + StringUtils.stringifyException(out2e)); // // If stream-copy fails, continue // writing to disk. We shouldn't // interrupt client write. // try { out2.close(); in2.close(); } catch (IOException out2close) { } finally { out2 = null; in2 = null; } } } len -= bytesRead; } } if (encodingType == RUNLENGTH_ENCODING) { anotherChunk = false; } else if (encodingType == CHUNKED_ENCODING) { len = in.readLong(); if (out2 != null) { try { out2.writeLong(len); } catch (IOException ie) { LOG.info("Exception writing to mirror " + mirrorNode + "\n" + StringUtils.stringifyException(ie)); try { out2.close(); in2.close(); } catch (IOException ie2) { // NOTHING } finally { out2 = null; in2 = null; } } } if (len == 0) { anotherChunk = false; } } } if (out2 != null) { try { out2.flush(); long complete = in2.readLong(); if (complete != WRITE_COMPLETE) { LOG.info("Conflicting value for WRITE_COMPLETE: " + complete); } LocatedBlock newLB = new LocatedBlock(); newLB.readFields(in2); in2.close(); out2.close(); DatanodeInfo mirrorsSoFar[] = newLB.getLocations(); for (int k = 0; k < mirrorsSoFar.length; k++) { mirrors.add(mirrorsSoFar[k]); } } catch (IOException ie) { LOG.info("Exception writing to mirror " + mirrorNode + "\n" + StringUtils.stringifyException(ie)); try { out2.close(); in2.close(); } catch (IOException ie2) { // NOTHING } finally { out2 = null; in2 = null; } } } if (out2 == null) { LOG.info("Received block " + b + " from " + s.getInetAddress()); } else { LOG.info("Received block " + b + " from " + s.getInetAddress() + " and mirrored to " + mirrorTarget); } } finally { try { out.close(); } catch (IOException iex) { shutdown(); throw iex; } } data.finalizeBlock(b); myMetrics.wroteBlocks(1); // // Tell the namenode that we've received this block // in full, if we've been asked to. This is done // during NameNode-directed block transfers, but not // client writes. // if (shouldReportBlock) { synchronized (receivedBlockList) { receivedBlockList.add(b); receivedBlockList.notifyAll(); } } // // Tell client job is done, and reply with // the new LocatedBlock. // reply.writeLong(WRITE_COMPLETE); mirrors.add(curTarget); LocatedBlock newLB = new LocatedBlock(b, (DatanodeInfo[]) mirrors.toArray(new DatanodeInfo[mirrors.size()])); newLB.write(reply); } finally { reply.close(); } }
|
53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/67354d9a280bcc27ce256ba07c03704fc231475c/DataNode.java/buggy/src/java/org/apache/hadoop/dfs/DataNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
1045,
1768,
12,
751,
4348,
316,
13,
1216,
1860,
288,
1850,
368,
1850,
368,
2720,
316,
326,
1446,
1850,
368,
1850,
28680,
4332,
273,
2398,
394,
28680,
12,
2704,
28649,
12,
87,
18,
588,
4632,
1435,
10019,
1850,
775,
288,
5411,
1250,
1410,
4820,
1768,
273,
316,
18,
896,
5507,
5621,
5411,
3914,
324,
273,
394,
3914,
5621,
5411,
324,
18,
896,
2314,
12,
267,
1769,
5411,
509,
818,
9432,
273,
316,
18,
896,
1702,
5621,
5411,
309,
261,
2107,
9432,
1648,
374,
13,
288,
2868,
604,
394,
1860,
2932,
11729,
1925,
1259,
6935,
27973,
1199,
1769,
5411,
289,
5411,
26739,
966,
5774,
8526,
273,
394,
26739,
966,
63,
2107,
9432,
15533,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5774,
18,
2469,
31,
277,
27245,
288,
2868,
26739,
966,
1853,
273,
394,
26739,
966,
5621,
2868,
1853,
18,
896,
2314,
12,
267,
1769,
2868,
5774,
63,
77,
65,
273,
1853,
31,
5411,
289,
5411,
1160,
2688,
559,
273,
261,
7229,
13,
316,
18,
896,
5621,
5411,
1525,
562,
273,
316,
18,
896,
3708,
5621,
13491,
368,
5411,
368,
4344,
3071,
662,
2326,
353,
3959,
358,
333,
5228,
5411,
368,
5411,
26739,
966,
662,
2326,
273,
5774,
63,
20,
15533,
13491,
368,
5411,
368,
11065,
777,
326,
12576,
732,
8081,
4985,
5941,
326,
1203,
5411,
368,
5411,
5589,
312,
27026,
273,
394,
5589,
5621,
13491,
368,
5411,
368,
3502,
1191,
4234,
596,
5411,
368,
5411,
28680,
596,
273,
394,
28680,
12,
2704,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
1045,
1768,
12,
751,
4348,
316,
13,
1216,
1860,
288,
1850,
368,
1850,
368,
2720,
316,
326,
1446,
1850,
368,
1850,
28680,
4332,
273,
2398,
394,
28680,
12,
2704,
28649,
12,
87,
18,
588,
4632,
1435,
10019,
1850,
775,
288,
5411,
1250,
1410,
4820,
1768,
273,
316,
18,
896,
5507,
5621,
5411,
3914,
324,
273,
394,
3914,
5621,
5411,
324,
18,
896,
2314,
12,
267,
1769,
5411,
509,
818,
9432,
273,
316,
18,
896,
1702,
5621,
5411,
309,
261,
2107,
9432,
1648,
374,
13,
288,
2868,
604,
394,
1860,
2932,
11729,
1925,
1259,
6935,
27973,
1199,
1769,
5411,
289,
5411,
26739,
966,
5774,
8526,
273,
394,
26739,
966,
63,
2107,
9432,
15533,
5411,
364,
261,
474,
2
] |
println(" DECLARE @reftable nvarchar(60), @constraintname nvarchar(60)"); println(" DECLARE refcursor CURSOR FOR"); println(" select reftables.name tablename, cons.name constraintname"); println(" from sysobjects tables,"); println(" sysobjects reftables,"); println(" sysobjects cons,"); println(" sysreferences ref"); println(" where tables.id = ref.rkeyid"); println(" and cons.id = ref.constid"); println(" and reftables.id = ref.fkeyid"); print(" and tables.name = ");
|
println(" DECLARE @tablename nvarchar(60), @constraintname nvarchar(60)"); println(" DECLARE refcursor CURSOR FOR"); println(" SELECT object_name(objs.parent_obj) tablename, objs.name constraintname"); println(" FROM sysobjects objs JOIN sysconstraints cons ON objs.id = cons.constid"); print(" WHERE objs.xtype != 'PK' AND object_name(objs.parent_obj) = ");
|
public void dropTable(Table table) throws IOException { String tableName = getTableName(table); writeQuotationOnStatement(); print("IF EXISTS (SELECT 1 FROM sysobjects WHERE type = 'U' AND name = "); printAlwaysSingleQuotedIdentifier(tableName); println(")"); println("BEGIN"); println(" DECLARE @reftable nvarchar(60), @constraintname nvarchar(60)"); println(" DECLARE refcursor CURSOR FOR"); println(" select reftables.name tablename, cons.name constraintname"); println(" from sysobjects tables,"); println(" sysobjects reftables,"); println(" sysobjects cons,"); println(" sysreferences ref"); println(" where tables.id = ref.rkeyid"); println(" and cons.id = ref.constid"); println(" and reftables.id = ref.fkeyid"); print(" and tables.name = "); printAlwaysSingleQuotedIdentifier(tableName); println(" OPEN refcursor"); println(" FETCH NEXT from refcursor into @reftable, @constraintname"); println(" while @@FETCH_STATUS = 0"); println(" BEGIN"); println(" exec ('alter table '+@reftable+' drop constraint '+@constraintname)"); println(" FETCH NEXT from refcursor into @reftable, @constraintname"); println(" END"); println(" CLOSE refcursor"); println(" DEALLOCATE refcursor"); print(" DROP TABLE "); printlnIdentifier(tableName); print("END"); printEndOfStatement(); }
|
3517 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3517/a487371df6ee484b45085187e4180a8b8e845725/MSSqlBuilder.java/clean/src/java/org/apache/ddlutils/platform/mssql/MSSqlBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3640,
1388,
12,
1388,
1014,
13,
1216,
1860,
565,
288,
3639,
514,
4775,
273,
11996,
12,
2121,
1769,
3639,
1045,
7678,
367,
1398,
3406,
5621,
3639,
1172,
2932,
5501,
20476,
261,
4803,
404,
4571,
2589,
6911,
4852,
618,
273,
296,
57,
11,
4116,
508,
273,
315,
1769,
3639,
1172,
18806,
5281,
15919,
3004,
12,
18033,
1769,
3639,
3785,
2932,
2225,
1769,
3639,
3785,
2932,
16061,
8863,
3639,
3785,
2932,
377,
2030,
15961,
862,
632,
266,
1222,
429,
8779,
22483,
12,
4848,
3631,
632,
13364,
529,
8779,
22483,
12,
4848,
2225,
1769,
3639,
3785,
2932,
377,
2030,
15961,
862,
1278,
9216,
4706,
55,
916,
12108,
8863,
3639,
3785,
2932,
377,
2027,
283,
1222,
1538,
18,
529,
19096,
16,
1959,
18,
529,
4954,
529,
8863,
3639,
3785,
2932,
1377,
628,
2589,
6911,
4606,
16,
8863,
3639,
3785,
2932,
6647,
2589,
6911,
283,
1222,
1538,
16,
8863,
3639,
3785,
2932,
6647,
2589,
6911,
1959,
16,
8863,
3639,
3785,
2932,
6647,
2589,
14353,
1278,
8863,
3639,
3785,
2932,
4202,
1625,
4606,
18,
350,
273,
1278,
18,
86,
856,
350,
8863,
3639,
3785,
2932,
540,
471,
1959,
18,
350,
273,
1278,
18,
10248,
350,
8863,
3639,
3785,
2932,
540,
471,
283,
1222,
1538,
18,
350,
273,
1278,
18,
74,
856,
350,
8863,
3639,
1172,
2932,
540,
471,
4606,
18,
529,
273,
315,
1769,
3639,
1172,
18806,
5281,
15919,
3004,
12,
18033,
1769,
3639,
3785,
2932,
377,
11919,
1278,
9216,
8863,
3639,
3785,
2932,
377,
10994,
19252,
628,
1278,
9216,
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,
3640,
1388,
12,
1388,
1014,
13,
1216,
1860,
565,
288,
3639,
514,
4775,
273,
11996,
12,
2121,
1769,
3639,
1045,
7678,
367,
1398,
3406,
5621,
3639,
1172,
2932,
5501,
20476,
261,
4803,
404,
4571,
2589,
6911,
4852,
618,
273,
296,
57,
11,
4116,
508,
273,
315,
1769,
3639,
1172,
18806,
5281,
15919,
3004,
12,
18033,
1769,
3639,
3785,
2932,
2225,
1769,
3639,
3785,
2932,
16061,
8863,
3639,
3785,
2932,
377,
2030,
15961,
862,
632,
266,
1222,
429,
8779,
22483,
12,
4848,
3631,
632,
13364,
529,
8779,
22483,
12,
4848,
2225,
1769,
3639,
3785,
2932,
377,
2030,
15961,
862,
1278,
9216,
4706,
55,
916,
12108,
8863,
3639,
3785,
2932,
377,
2027,
283,
1222,
1538,
18,
529,
19096,
2
] |
public String getContent() { try { InputStream in = getInputStream(); byte[] byteBuffer = new byte[in.available()]; in.read(byteBuffer); in.close(); return new String(byteBuffer); } catch (Exception ignore) { return "";
|
public String getContent(String encoding) throws IOException { InputStream in = getInputStream(); int size = (int) file.length(); byte[] buf = new byte[size]; int read = 0; while (read < size) { int r = in.read(buf, read, size - read); if (r == -1) break; read += r;
|
public String getContent() { try { InputStream in = getInputStream(); byte[] byteBuffer = new byte[in.available()]; in.read(byteBuffer); in.close(); return new String(byteBuffer); } catch (Exception ignore) { return ""; } }
|
46029 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46029/1336e51ba065f1f5d4d790656b30ec798ec3ce31/FileResource.java/clean/src/helma/framework/repository/FileResource.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
5154,
1435,
288,
3639,
775,
288,
5411,
5037,
316,
273,
14424,
5621,
5411,
1160,
8526,
21734,
273,
394,
1160,
63,
267,
18,
5699,
1435,
15533,
5411,
316,
18,
896,
12,
7229,
1892,
1769,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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
5154,
1435,
288,
3639,
775,
288,
5411,
5037,
316,
273,
14424,
5621,
5411,
1160,
8526,
21734,
273,
394,
1160,
63,
267,
18,
5699,
1435,
15533,
5411,
316,
18,
896,
12,
7229,
1892,
1769,
5411,
316,
18,
4412,
5621,
5411,
327,
394,
514,
12,
7229,
1892,
1769,
3639,
289,
1044,
261,
503,
2305,
13,
288,
5411,
327,
1408,
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
] |
break; case STARTCDATA:
|
} else if (STARTCDATA.equals(type)) {
|
public void outputBuffer() throws SAXException { // for speed purposes, we don't allow contentHandler to be null if(contentHandler!=null) { Enumeration args = eventArguments.elements (); ThreeString ths; CharBlock cd; TwoString ts; FourString fs; SAXParseException e; for (Enumeration types = eventTypes.elements (); types.hasMoreElements ();) { int type = ((Integer)types.nextElement ()).intValue (); switch (type) { // ContentHandler events case STARTDOCUMENT: contentHandler.startDocument (); break; case ENDDOCUMENT: contentHandler.endDocument (); break; case STARTPREFIXMAPPING: ts=(TwoString) args.nextElement(); contentHandler.startPrefixMapping(ts.first,ts.second); break; case ENDPREFIXMAPPING: contentHandler.endPrefixMapping((String)args.nextElement()); break; case STARTELEMENT: StartElementData sed = (StartElementData) args.nextElement (); contentHandler.startElement (sed.getURI(), sed.getLocalName(), sed.getQName(),sed.getAtts()); break; case ENDELEMENT: ths = (ThreeString) args.nextElement (); contentHandler.endElement (ths.first,ths.second,ths.third); break; case CHARACTERS: cd = (CharBlock) args.nextElement (); contentHandler.characters (cd.getCh(), cd.getStart(), cd.getLength()); break; case IGNORABLEWHITESPACE: cd = (CharBlock) args.nextElement (); contentHandler.ignorableWhitespace (cd.getCh(), cd.getStart(), cd.getLength()); break; case PROCESSINGINSTRUCTION: ts=(TwoString) args.nextElement(); contentHandler.processingInstruction (ts.first,ts.second); break; // DTDHandler events case NOTATIONDECL: if(dtdHandler!=null) { ths=(ThreeString) args.nextElement(); dtdHandler.notationDecl(ths.first,ths.second,ths.third); } break; case UNPARSEDENTITYDECL: if(dtdHandler!=null) { fs=(FourString) args.nextElement(); dtdHandler.unparsedEntityDecl(fs.first,fs.second,fs.third,fs.fourth); } break; // ErrorHandler events case WARNING: if(errorHandler!=null) { e=(SAXParseException) args.nextElement(); errorHandler.warning(e); } break; case ERROR: if(errorHandler!=null) { e=(SAXParseException) args.nextElement(); errorHandler.error(e); } break; case FATALERROR: if(errorHandler!=null) { e=(SAXParseException) args.nextElement(); errorHandler.fatalError(e); } break; // LexicalHandler events case STARTDTD: if(lexicalHandler!=null) { ths=(ThreeString) args.nextElement(); lexicalHandler.startDTD(ths.first,ths.second,ths.third); } break; case ENDDTD: if(lexicalHandler!=null) { lexicalHandler.endDTD(); } break; case STARTENTITY: if(lexicalHandler!=null) { String n=(String) args.nextElement(); lexicalHandler.startEntity(n); } break; case ENDENTITY: if(lexicalHandler!=null) { String n=(String) args.nextElement(); lexicalHandler.endEntity(n); } break; case STARTCDATA: if(lexicalHandler!=null) { lexicalHandler.startCDATA(); } break; case ENDCDATA: if(lexicalHandler!=null) { lexicalHandler.endCDATA(); } break; case COMMENT: if(lexicalHandler!=null) { CharBlock ccd = (CharBlock) args.nextElement (); lexicalHandler.comment (ccd.getCh(), ccd.getStart(), ccd.getLength()); } break; } } } else { // Logger.log (Logger.ERROR, "SAX2BufferImpl:stopBuffering() : trying to ouput buffer to a null ContentHandler."); } }
|
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/5bd8136256b7a06c2a8f66363fbe38b5e9e9f206/SAX2BufferImpl.java/buggy/source/org/jasig/portal/utils/SAX2BufferImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
876,
1892,
1435,
1216,
14366,
288,
3639,
368,
364,
8632,
13694,
16,
732,
2727,
1404,
1699,
913,
1503,
358,
506,
446,
3639,
309,
12,
1745,
1503,
5,
33,
2011,
13,
288,
5411,
13864,
833,
273,
871,
4628,
18,
6274,
261,
1769,
5411,
935,
992,
780,
286,
87,
31,
5411,
3703,
1768,
7976,
31,
5411,
16896,
780,
3742,
31,
5411,
478,
477,
780,
2662,
31,
5411,
10168,
13047,
425,
31,
10792,
364,
261,
21847,
1953,
273,
871,
2016,
18,
6274,
261,
1769,
1953,
18,
5332,
7417,
3471,
261,
1769,
13,
288,
7734,
509,
618,
273,
14015,
4522,
13,
2352,
18,
4285,
1046,
1832,
2934,
474,
620,
261,
1769,
7734,
1620,
261,
723,
13,
288,
10792,
368,
3697,
1503,
2641,
7734,
648,
10485,
18450,
30,
10792,
913,
1503,
18,
1937,
2519,
261,
1769,
10792,
898,
31,
7734,
648,
7273,
18450,
30,
10792,
913,
1503,
18,
409,
2519,
261,
1769,
10792,
898,
31,
7734,
648,
10485,
6307,
20450,
30,
10792,
3742,
28657,
11710,
780,
13,
833,
18,
4285,
1046,
5621,
10792,
913,
1503,
18,
1937,
2244,
3233,
12,
3428,
18,
3645,
16,
3428,
18,
8538,
1769,
10792,
898,
31,
7734,
648,
7273,
6307,
20450,
30,
10792,
913,
1503,
18,
409,
2244,
3233,
12443,
780,
13,
1968,
18,
4285,
1046,
10663,
10792,
898,
31,
7734,
648,
21807,
1448,
7618,
30,
10792,
3603,
1046,
751,
24336,
273,
261,
1685,
1046,
751,
13,
833,
18,
4285,
1046,
261,
1769,
10792,
913,
1503,
18,
1937,
1046,
261,
730,
18,
588,
3098,
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,
876,
1892,
1435,
1216,
14366,
288,
3639,
368,
364,
8632,
13694,
16,
732,
2727,
1404,
1699,
913,
1503,
358,
506,
446,
3639,
309,
12,
1745,
1503,
5,
33,
2011,
13,
288,
5411,
13864,
833,
273,
871,
4628,
18,
6274,
261,
1769,
5411,
935,
992,
780,
286,
87,
31,
5411,
3703,
1768,
7976,
31,
5411,
16896,
780,
3742,
31,
5411,
478,
477,
780,
2662,
31,
5411,
10168,
13047,
425,
31,
10792,
364,
261,
21847,
1953,
273,
871,
2016,
18,
6274,
261,
1769,
1953,
18,
5332,
7417,
3471,
261,
1769,
13,
288,
7734,
509,
618,
273,
14015,
4522,
13,
2352,
18,
4285,
1046,
1832,
2934,
474,
620,
261,
1769,
7734,
1620,
261,
723,
13,
288,
10792,
368,
3697,
2
] |
if (b1 == 0x3C && b1 == 0x00 && b2 == 0x3F && b3 == 0x00) {
|
if (b0 == 0x3C && b1 == 0x00 && b2 == 0x3F && b3 == 0x00) {
|
protected String getEncodingName(byte[] b4, int count) { if (count < 2) { return "UTF-8"; } // UTF-16, with BOM int b0 = b4[0] & 0xFF; int b1 = b4[1] & 0xFF; if (b0 == 0xFE && b1 == 0xFF) { // UTF-16, big-endian return "UTF-16"; } if (b0 == 0xFF && b1 == 0xFE) { // UTF-16, little-endian return "UTF-16"; } // default to UTF-8 if we don't have enough bytes to make a // good determination of the encoding if (count < 3) { return "UTF-8"; } // UTF-8 with a BOM int b2 = b4[2] & 0xFF; if (b0 == 0xEF && b1 == 0xBB && b2 == 0xBF) { return "UTF-8"; } // default to UTF-8 if we don't have enough bytes to make a // good determination of the encoding if (count < 4) { return "UTF-8"; } // other encodings int b3 = b4[3] & 0xFF; if (b0 == 0x00 && b1 == 0x00 && b2 == 0x00 && b3 == 0x3C) { // UCS-4, big endian (1234) // REVISIT: What should this be? return "UCS-4"; } if (b0 == 0x3C && b1 == 0x00 && b2 == 0x00 && b3 == 0x00) { // UCS-4, little endian (4321) // REVISIT: What should this be? return "UCS-4"; } if (b0 == 0x00 && b1 == 0x00 && b2 == 0x3C && b3 == 0x00) { // UCS-4, unusual octet order (2143) // REVISIT: What should this be? return "UCS-4"; } if (b0 == 0x00 && b1 == 0x3C && b2 == 0x00 && b3 == 0x00) { // UCS-4, unusual octect order (3412) // REVISIT: What should this be? return "UCS-4"; } if (b1 == 0x00 && b1 == 0x3C && b2 == 0x00 && b3 == 0x3F) { // UTF-16, big-endian, no BOM // REVISIT: What should this be? return "UCS-4"; } if (b1 == 0x3C && b1 == 0x00 && b2 == 0x3F && b3 == 0x00) { // UTF-16, little-endian, no BOM return "UCS-4"; } if (b1 == 0x4C && b1 == 0x6F && b2 == 0xA7 && b3 == 0x94) { // EBCDIC return "EBCDIC"; } // default encoding return "UTF-8"; } // getEncodingName(byte[],int):String
|
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/790f245881c057a7863cee8a66a5056617ca8297/XMLEntityManager.java/buggy/src/org/apache/xerces/impl/XMLEntityManager.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
29505,
461,
12,
7229,
8526,
324,
24,
16,
509,
1056,
13,
288,
3639,
309,
261,
1883,
411,
576,
13,
288,
5411,
327,
315,
5159,
17,
28,
14432,
3639,
289,
3639,
368,
6380,
17,
2313,
16,
598,
25408,
3639,
509,
324,
20,
273,
324,
24,
63,
20,
65,
473,
374,
6356,
31,
3639,
509,
324,
21,
273,
324,
24,
63,
21,
65,
473,
374,
6356,
31,
3639,
309,
261,
70,
20,
422,
374,
92,
8090,
597,
324,
21,
422,
374,
6356,
13,
288,
5411,
368,
6380,
17,
2313,
16,
5446,
17,
22910,
5411,
327,
315,
5159,
17,
2313,
14432,
3639,
289,
3639,
309,
261,
70,
20,
422,
374,
6356,
597,
324,
21,
422,
374,
92,
8090,
13,
288,
5411,
368,
6380,
17,
2313,
16,
12720,
17,
22910,
5411,
327,
315,
5159,
17,
2313,
14432,
3639,
289,
3639,
368,
805,
358,
6380,
17,
28,
309,
732,
2727,
1404,
1240,
7304,
1731,
358,
1221,
279,
3639,
368,
7494,
6328,
367,
434,
326,
2688,
3639,
309,
261,
1883,
411,
890,
13,
288,
5411,
327,
315,
5159,
17,
28,
14432,
3639,
289,
3639,
368,
6380,
17,
28,
598,
279,
25408,
3639,
509,
324,
22,
273,
324,
24,
63,
22,
65,
473,
374,
6356,
31,
3639,
309,
261,
70,
20,
422,
374,
17432,
42,
597,
324,
21,
422,
374,
92,
9676,
597,
324,
22,
422,
374,
92,
15259,
13,
288,
5411,
327,
315,
5159,
17,
28,
14432,
3639,
289,
3639,
368,
805,
358,
6380,
17,
28,
309,
732,
2727,
1404,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
29505,
461,
12,
7229,
8526,
324,
24,
16,
509,
1056,
13,
288,
3639,
309,
261,
1883,
411,
576,
13,
288,
5411,
327,
315,
5159,
17,
28,
14432,
3639,
289,
3639,
368,
6380,
17,
2313,
16,
598,
25408,
3639,
509,
324,
20,
273,
324,
24,
63,
20,
65,
473,
374,
6356,
31,
3639,
509,
324,
21,
273,
324,
24,
63,
21,
65,
473,
374,
6356,
31,
3639,
309,
261,
70,
20,
422,
374,
92,
8090,
597,
324,
21,
422,
374,
6356,
13,
288,
5411,
368,
6380,
17,
2313,
16,
5446,
17,
22910,
5411,
327,
315,
5159,
17,
2313,
14432,
3639,
289,
3639,
309,
261,
70,
20,
422,
374,
6356,
597,
324,
21,
422,
374,
92,
8090,
13,
2
] |
Text categoryText = new Text(categoryString); categoryText.setFontStyle(_categoryStyle);
|
private void getCollectionView(BoxEntity box, BoxCategory[] categories, Table boxTable, IWContext iwc) { int row = 1; Image image = Table.getTransparentCell(iwc); image.setHeight(_boxSpacing); for (int a = 0; a < categories.length; a++) { String categoryString = BoxBusiness.getLocalizedString(categories[a], _iLocaleID); if (categoryString == null) { categoryString = "$language$"; } Text categoryText = new Text(categoryString); categoryText.setFontStyle(_categoryStyle); Table table = new Table(); table.setWidth("100%"); table.setCellspacing(0); table.setCellpadding(1); table.add(categoryText, 1, 1); int linkRow = 2; int column = 1; if (_showHeaders) { Text nameHeader = new Text(_iwrb.getLocalizedString("link_name", "Name")); if (_headerStyle != null) nameHeader.setStyleAttribute(_headerStyle); table.add(nameHeader, column++, linkRow); if (_showFileSize) { Text fileSizeHeader = new Text(_iwrb.getLocalizedString("link_file_size", "File size")); if (_headerStyle != null) fileSizeHeader.setStyleAttribute(_headerStyle); table.setWidth(column++, linkRow, 12); table.add(fileSizeHeader, column++, linkRow); if (_showMimeType) { Text mimetypeHeader = new Text(_iwrb.getLocalizedString("link_mimetype", "Mimetype")); if (_headerStyle != null) mimetypeHeader.setStyleAttribute(_headerStyle); table.setWidth(column++, linkRow, 12); table.add(mimetypeHeader, column, linkRow); } } linkRow++; } BoxLink[] links = null; System.out.println("Getting links in getCollectionView()"); System.out.println("_showOnlyBelongingToUser = " + _showOnlyBelongingToUser); if (_showCollection) { links = BoxFinder.getLinksInCategory(categories[a]); } else { if (_showOnlyBelongingToUser) links = BoxFinder.getLinksInBoxByUser(box, categories[a], iwc.getUserId()); else links = BoxFinder.getLinksInBox(box, categories[a]); } if (links != null) { List collection = Arrays.asList(links); if (iSortAlphabetically) { Collections.sort(collection, new BoxComparator(iwc.getCurrentLocale())); } Iterator iter = collection.iterator(); while (iter.hasNext()) { BoxLink boxLink = (BoxLink) iter.next(); column = 1; Link link = getLink(boxLink); if (link != null) { table.add(link, column++, linkRow); if (_showFileSize) { ICFile file = boxLink.getFile(); double size = 0; try { size = (double) file.getFileSize().intValue() / (double) 1024; } catch (Exception e) { size = 0; } DecimalFormat format = new DecimalFormat("0.0 KB"); Text fileSize = new Text(format.format(size)); fileSize.setStyle(_name); table.setWidth(column++, linkRow, 12); table.setAlignment(column, linkRow, Table.HORIZONTAL_ALIGN_RIGHT); table.add(fileSize, column++, linkRow); if (_showMimeType) { String mimeType = null; try { mimeType = file.getMimeType(); mimeType = mimeType.replace('\\', '_'); mimeType = mimeType.replace('/', '_'); mimeType = mimeType.replace(':', '_'); mimeType = mimeType.replace('*', '_'); mimeType = mimeType.replace('?', '_'); mimeType = mimeType.replace('<', '_'); mimeType = mimeType.replace('>', '_'); mimeType = mimeType.replace('|', '_'); mimeType = mimeType.replace('\"', '_'); } catch (Exception e) { mimeType = null; } if (mimeType != null) { Image mime = _iwb.getImage(_DEFAULT_ICON_PREFIX+mimeType+_DEFAULT_ICON_SUFFIX); table.setWidth(column++, linkRow, 12); table.add(mime, column++, linkRow); } } } if (_isAdmin) { table.setWidth(column++, linkRow, 5); table.add(getEditLink(boxLink.getID()), column, linkRow); table.add(getDeleteLink(boxLink.getID()), column, linkRow); } linkRow++; } } if (_isAdmin) { table.add(getAddLink(categories[a].getID()), 1, linkRow); } } boxTable.add(table, 1, row); row++; boxTable.add(image, 1, row); row++; } }
|
13829 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13829/eb0f84346a12ce3c7d0c6bfef55efe1ccb70e2f1/Box.java/buggy/src/java/com/idega/block/boxoffice/presentation/Box.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
12075,
1767,
12,
3514,
1943,
3919,
16,
8549,
4457,
8526,
6477,
16,
3555,
3919,
1388,
16,
467,
59,
1042,
25522,
71,
13,
288,
202,
202,
474,
1027,
273,
404,
31,
202,
202,
2040,
1316,
273,
3555,
18,
588,
1429,
2938,
4020,
12,
22315,
71,
1769,
202,
202,
2730,
18,
542,
2686,
24899,
2147,
18006,
1769,
202,
202,
1884,
261,
474,
279,
273,
374,
31,
279,
411,
6477,
18,
2469,
31,
279,
27245,
288,
1082,
202,
780,
3150,
780,
273,
8549,
13423,
18,
588,
2042,
1235,
780,
12,
8995,
63,
69,
6487,
389,
77,
3916,
734,
1769,
1082,
202,
430,
261,
4743,
780,
422,
446,
13,
288,
9506,
202,
4743,
780,
273,
4662,
4923,
12911,
31,
1082,
202,
97,
1082,
202,
1528,
3150,
1528,
273,
394,
3867,
12,
4743,
780,
1769,
1082,
202,
4743,
1528,
18,
542,
5711,
2885,
24899,
4743,
2885,
1769,
1082,
202,
1388,
1014,
273,
394,
3555,
5621,
1082,
202,
2121,
18,
542,
2384,
2932,
6625,
9,
8863,
1082,
202,
2121,
18,
542,
4020,
14080,
12,
20,
1769,
1082,
202,
2121,
18,
542,
4020,
9598,
12,
21,
1769,
1082,
202,
2121,
18,
1289,
12,
4743,
1528,
16,
404,
16,
404,
1769,
1082,
202,
474,
1692,
1999,
273,
576,
31,
1082,
202,
474,
1057,
273,
404,
31,
25083,
202,
430,
261,
67,
4500,
3121,
13,
288,
9506,
202,
1528,
508,
1864,
273,
394,
3867,
24899,
22315,
6731,
18,
588,
2042,
1235,
780,
2932,
1232,
67,
529,
3113,
315,
461,
7923,
1769,
9506,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
12075,
1767,
12,
3514,
1943,
3919,
16,
8549,
4457,
8526,
6477,
16,
3555,
3919,
1388,
16,
467,
59,
1042,
25522,
71,
13,
288,
202,
202,
474,
1027,
273,
404,
31,
202,
202,
2040,
1316,
273,
3555,
18,
588,
1429,
2938,
4020,
12,
22315,
71,
1769,
202,
202,
2730,
18,
542,
2686,
24899,
2147,
18006,
1769,
202,
202,
1884,
261,
474,
279,
273,
374,
31,
279,
411,
6477,
18,
2469,
31,
279,
27245,
288,
1082,
202,
780,
3150,
780,
273,
8549,
13423,
18,
588,
2042,
1235,
780,
12,
8995,
63,
69,
6487,
389,
77,
3916,
734,
1769,
1082,
202,
430,
261,
4743,
780,
422,
446,
13,
288,
9506,
202,
4743,
780,
273,
4662,
4923,
12911,
31,
2
] |
|
AST tmp969_AST_in = (AST)_t;
|
AST tmp968_AST_in = (AST)_t;
|
public final void definequerystate(AST _t) throws RecognitionException { AST definequerystate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1189 = _t; AST tmp965_AST_in = (AST)_t; match(_t,DEFINE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NEW: case SHARED: { def_shared(_t); _t = _retTree; break; } case PRIVATE: case PUBLIC: case QUERY: case PROTECTED: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PRIVATE: case PUBLIC: case PROTECTED: { def_visib(_t); _t = _retTree; break; } case QUERY: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp966_AST_in = (AST)_t; match(_t,QUERY); _t = _t.getNextSibling(); AST tmp967_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); AST tmp968_AST_in = (AST)_t; match(_t,FOR); _t = _t.getNextSibling(); AST tmp969_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: case FIELDS: { record_fields(_t); _t = _retTree; break; } case EOF: case PERIOD: case CACHE: case RCODEINFORMATION: case SCROLLING: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } { _loop1195: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp970_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); AST tmp971_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: case FIELDS: { record_fields(_t); _t = _retTree; break; } case EOF: case PERIOD: case CACHE: case RCODEINFORMATION: case SCROLLING: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } } else { break _loop1195; } } while (true); } { _loop1198: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CACHE: { AST __t1197 = _t; AST tmp972_AST_in = (AST)_t; match(_t,CACHE); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1197; _t = _t.getNextSibling(); break; } case SCROLLING: { AST tmp973_AST_in = (AST)_t; match(_t,SCROLLING); _t = _t.getNextSibling(); break; } case RCODEINFORMATION: { AST tmp974_AST_in = (AST)_t; match(_t,RCODEINFORMATION); _t = _t.getNextSibling(); break; } default: { break _loop1198; } } } while (true); } state_end(_t); _t = _retTree; _t = __t1189; _t = _t.getNextSibling(); _retTree = _t; }
|
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
4426,
2271,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
4426,
2271,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
2499,
6675,
273,
389,
88,
31,
202,
202,
9053,
1853,
29,
9222,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
12904,
3740,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
12887,
30,
202,
202,
3593,
9777,
5879,
30,
202,
202,
95,
1082,
202,
536,
67,
11574,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
23685,
30,
202,
202,
3593,
17187,
30,
202,
202,
3593,
17089,
30,
202,
202,
3593,
4629,
26729,
30,
202,
202,
95,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
1886,
30,
202,
202,
95,
1082,
202,
12849,
394,
17114,
24899,
88,
1769,
202,
202,
97,
202,
202,
97,
202,
202,
97,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
23685,
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,
4426,
2271,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
4426,
2271,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
2499,
6675,
273,
389,
88,
31,
202,
202,
9053,
1853,
29,
9222,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
12904,
3740,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
2
] |
cabFile.lastModified())
|
cabFile.lastModified()) {
|
protected boolean isUpToDate(Vector files) { boolean upToDate = true; for (int i=0; i<files.size() && upToDate; i++) { String file = files.elementAt(i).toString(); if (new File(baseDir,file).lastModified() > cabFile.lastModified()) upToDate = false; } return upToDate; }
|
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/7a4e9ca2278d5e22a3492abb964312150d0286b9/Cab.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/Cab.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
353,
1211,
31264,
12,
5018,
1390,
13,
565,
288,
3639,
1250,
731,
31264,
273,
638,
31,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
2354,
18,
1467,
1435,
597,
731,
31264,
31,
277,
27245,
3639,
288,
5411,
514,
585,
273,
1390,
18,
2956,
861,
12,
77,
2934,
10492,
5621,
5411,
309,
261,
2704,
1387,
12,
1969,
1621,
16,
768,
2934,
2722,
4575,
1435,
405,
1171,
276,
378,
812,
18,
2722,
4575,
10756,
288,
7734,
731,
31264,
273,
629,
31,
3639,
289,
3639,
327,
731,
31264,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
353,
1211,
31264,
12,
5018,
1390,
13,
565,
288,
3639,
1250,
731,
31264,
273,
638,
31,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
2354,
18,
1467,
1435,
597,
731,
31264,
31,
277,
27245,
3639,
288,
5411,
514,
585,
273,
1390,
18,
2956,
861,
12,
77,
2934,
10492,
5621,
5411,
309,
261,
2704,
1387,
12,
1969,
1621,
16,
768,
2934,
2722,
4575,
1435,
405,
1171,
276,
378,
812,
18,
2722,
4575,
10756,
288,
7734,
731,
31264,
273,
629,
31,
3639,
289,
3639,
327,
731,
31264,
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
] |
final AsmCodeGenerator codeGenerator = new AsmCodeGenerator(rootContainer, loader);
|
final AsmCodeGenerator codeGenerator = new AsmCodeGenerator(rootContainer, loader, new PsiNestedFormLoader(module));
|
public FileProcessingCompiler.ProcessingItem[] process(final CompileContext context, final FileProcessingCompiler.ProcessingItem[] items) { final ArrayList<FileProcessingCompiler.ProcessingItem> compiledItems = new ArrayList<FileProcessingCompiler.ProcessingItem>(); ApplicationManager.getApplication().runReadAction(new Runnable() { public void run() { context.getProgressIndicator().setText(UIDesignerBundle.message("progress.compiling.ui.forms")); final HashMap<Module, ArrayList<MyInstrumentationItem>> module2itemsList = sortByModules(items); int formsProcessed = 0; for (final Module module : module2itemsList.keySet()) { final String classPath = ProjectRootsTraversing.collectRoots(module, ProjectRootsTraversing.FULL_CLASSPATH_RECURSIVE).getPathsString(); final ClassLoader loader = createClassLoader(classPath); if (GuiDesignerConfiguration.getInstance(myProject).COPY_FORMS_RUNTIME_TO_OUTPUT) { final String moduleOutputPath = CompilerPaths.getModuleOutputPath(module, false); try { if (moduleOutputPath != null) { CopyResourcesUtil.copyFormsRuntime(moduleOutputPath, false); } final String testsOutputPath = CompilerPaths.getModuleOutputPath(module, true); if (testsOutputPath != null && !testsOutputPath.equals(moduleOutputPath)) { CopyResourcesUtil.copyFormsRuntime(testsOutputPath, false); } } catch (IOException e) { addError( context, UIDesignerBundle.message("error.cannot.copy.gui.designer.form.runtime", module.getName(), e.toString()), null ); } } final ArrayList<MyInstrumentationItem> list = module2itemsList.get(module); for (final MyInstrumentationItem item : list) { context.getProgressIndicator().setFraction((double)(++formsProcessed) / ((double)items.length)); final VirtualFile formFile = item.getFormFile(); final Document doc = FileDocumentManager.getInstance().getDocument(formFile); final LwRootContainer rootContainer; try { rootContainer = Utils.getRootContainer(doc.getText(), new CompiledClassPropertiesProvider(loader)); } catch (Exception e) { addError(context, UIDesignerBundle.message("error.cannot.process.form.file", e), formFile); continue; } final File classFile = VfsUtil.virtualToIoFile(item.getFile()); LOG.assertTrue(classFile.exists(), classFile.getPath()); final AsmCodeGenerator codeGenerator = new AsmCodeGenerator(rootContainer, loader); codeGenerator.patchFile(classFile); final String[] errors = codeGenerator.getErrors(); final String[] warnings = codeGenerator.getWarnings(); for (String warning : warnings) { addWarning(context, warning, formFile); } for (String error : errors) { addError(context, error, formFile); } if (errors.length == 0) { compiledItems.add(item); } } } } }); return compiledItems.toArray(new FileProcessingCompiler.ProcessingItem[compiledItems.size()]); }
|
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/0a8c7f6f897798de90c99991927c43760777d651/Form2ByteCodeCompiler.java/clean/ui-designer/impl/com/intellij/uiDesigner/make/Form2ByteCodeCompiler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1387,
7798,
9213,
18,
7798,
1180,
8526,
1207,
12,
6385,
16143,
1042,
819,
16,
4766,
7682,
727,
1387,
7798,
9213,
18,
7798,
1180,
8526,
1516,
13,
288,
565,
727,
2407,
32,
812,
7798,
9213,
18,
7798,
1180,
34,
7743,
3126,
273,
394,
2407,
32,
812,
7798,
9213,
18,
7798,
1180,
34,
5621,
565,
4257,
1318,
18,
588,
3208,
7675,
2681,
1994,
1803,
12,
2704,
10254,
1435,
288,
1377,
1071,
918,
1086,
1435,
288,
3639,
819,
18,
588,
5491,
13140,
7675,
542,
1528,
12,
3060,
281,
724,
264,
3405,
18,
2150,
2932,
8298,
18,
2919,
4973,
18,
4881,
18,
9741,
7923,
1769,
3639,
727,
4317,
32,
3120,
16,
2407,
32,
12062,
19228,
367,
1180,
9778,
1605,
22,
3319,
682,
273,
14021,
7782,
12,
3319,
1769,
3639,
509,
10138,
13533,
273,
374,
31,
3639,
364,
261,
6385,
5924,
1605,
294,
1605,
22,
3319,
682,
18,
856,
694,
10756,
288,
1850,
727,
514,
22503,
273,
5411,
5420,
17540,
15844,
310,
18,
14676,
17540,
12,
2978,
16,
5420,
17540,
15844,
310,
18,
18111,
67,
5237,
4211,
67,
862,
7509,
24870,
2934,
588,
4466,
780,
5621,
1850,
727,
9403,
4088,
273,
752,
7805,
12,
1106,
743,
1769,
1850,
309,
261,
18070,
15478,
264,
1750,
18,
588,
1442,
12,
4811,
4109,
2934,
24875,
67,
4983,
55,
67,
54,
25375,
67,
4296,
67,
15527,
13,
288,
5411,
727,
514,
1605,
1447,
743,
273,
12972,
4466,
18,
588,
3120,
1447,
743,
12,
2978,
16,
629,
1769,
5411,
775,
288,
2868,
309,
261,
2978,
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,
1387,
7798,
9213,
18,
7798,
1180,
8526,
1207,
12,
6385,
16143,
1042,
819,
16,
4766,
7682,
727,
1387,
7798,
9213,
18,
7798,
1180,
8526,
1516,
13,
288,
565,
727,
2407,
32,
812,
7798,
9213,
18,
7798,
1180,
34,
7743,
3126,
273,
394,
2407,
32,
812,
7798,
9213,
18,
7798,
1180,
34,
5621,
565,
4257,
1318,
18,
588,
3208,
7675,
2681,
1994,
1803,
12,
2704,
10254,
1435,
288,
1377,
1071,
918,
1086,
1435,
288,
3639,
819,
18,
588,
5491,
13140,
7675,
542,
1528,
12,
3060,
281,
724,
264,
3405,
18,
2150,
2932,
8298,
18,
2919,
4973,
18,
4881,
18,
9741,
7923,
1769,
3639,
727,
4317,
32,
3120,
16,
2407,
32,
12062,
19228,
367,
1180,
9778,
1605,
22,
3319,
2
] |
if(ReportPlugin.getDefault( ).getEnableCommentPreference( )){ fileName = file.getLocation( ).toOSString( ); InputStream is = new FileInputStream(fileName); ModuleHandle model = SessionHandleAdapter.getInstance( ).init( fileName,is ); model.setStringProperty( ModuleHandle.COMMENTS_PROP, ReportPlugin.getDefault( ).getCommentPreference( ) ); model.save(); is.close( ); }
|
private void doFinish( IPath containerName, String fileName, InputStream stream, String cheatSheetId, boolean showCheatSheet, IProgressMonitor monitor ) throws CoreException { // create a sample file monitor.beginTask( CREATING + fileName, 2 ); IResource resource = (IContainer) ResourcesPlugin.getWorkspace( ) .getRoot( ) .findMember( containerName ); IContainer container = null; if ( resource == null || !resource.exists( ) || !( resource instanceof IContainer ) ) { // create folder if not exist IFolder folder = createFolderHandle( containerName ); UIUtil.createFolder( folder, monitor ); container = folder; } else { container = (IContainer) resource; } final IFile file = container.getFile( new Path( fileName ) ); final String cheatId = cheatSheetId; final boolean showCheat = showCheatSheet; try { if ( file.exists( ) ) { file.setContents( stream, true, true, monitor ); } else { file.create( stream, true, monitor ); } stream.close( ); if(ReportPlugin.getDefault( ).getEnableCommentPreference( )){ fileName = file.getLocation( ).toOSString( ); InputStream is = new FileInputStream(fileName); ModuleHandle model = SessionHandleAdapter.getInstance( ).init( fileName,is ); model.setStringProperty( ModuleHandle.COMMENTS_PROP, ReportPlugin.getDefault( ).getCommentPreference( ) ); model.save(); is.close( ); } } catch ( Exception e ) { } monitor.worked( 1 ); monitor.setTaskName( OPENING_FILE_FOR_EDITING ); getShell( ).getDisplay( ).asyncExec( new Runnable( ) { public void run( ) { IWorkbench workbench = PlatformUI.getWorkbench( ); IWorkbenchWindow window = workbench.getActiveWorkbenchWindow( ); IWorkbenchPage page = window.getActivePage( ); try { IDE.openEditor( page, file, true ); //setReportSettings( ( (IDEReportEditor) editorPart ).getModel( ) ); //editorPart.doSave( null ); BasicNewProjectResourceWizard.updatePerspective( configElement ); if ( showCheat && !cheatId.equals( "" ) ) //$NON-NLS-1$ { OpenCheatSheetAction action = null; // Temporary remark the choice page for that feature is // not supported in R1 // if ( choicePage.isCustom( ) ) // { // action = new OpenCheatSheetAction( file.getName( ), // file.getName( ), // new URL( cheatId ) ); //$NON-NLS-1$ // } // else // { action = new OpenCheatSheetAction( cheatId ); // } action.run( ); } } catch ( Exception e ) { ExceptionHandler.handle( e ); } } } ); monitor.worked( 1 ); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/546229f93352dd11d3a374ba60974b1f75027225/NewReportWizard.java/buggy/UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/ui/ide/wizards/NewReportWizard.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
741,
11641,
12,
467,
743,
20408,
16,
514,
3968,
16,
1082,
202,
4348,
1407,
16,
514,
19315,
270,
8229,
548,
16,
1250,
2405,
39,
580,
270,
8229,
16,
1082,
202,
45,
5491,
7187,
6438,
262,
1216,
30015,
202,
95,
202,
202,
759,
752,
279,
3296,
585,
202,
202,
10259,
18,
10086,
2174,
12,
9666,
28054,
397,
3968,
16,
576,
11272,
202,
202,
45,
1420,
1058,
273,
261,
45,
2170,
13,
8128,
3773,
18,
588,
8241,
12,
262,
9506,
202,
18,
588,
2375,
12,
262,
9506,
202,
18,
4720,
4419,
12,
20408,
11272,
202,
202,
45,
2170,
1478,
273,
446,
31,
202,
202,
430,
261,
1058,
422,
446,
9506,
202,
20081,
401,
3146,
18,
1808,
12,
262,
9506,
202,
20081,
401,
12,
1058,
1276,
467,
2170,
262,
262,
202,
202,
95,
1082,
202,
759,
752,
3009,
309,
486,
1005,
1082,
202,
45,
3899,
3009,
273,
752,
3899,
3259,
12,
20408,
11272,
1082,
202,
5370,
1304,
18,
2640,
3899,
12,
3009,
16,
6438,
11272,
1082,
202,
3782,
273,
3009,
31,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
3782,
273,
261,
45,
2170,
13,
1058,
31,
202,
202,
97,
202,
202,
6385,
467,
812,
585,
273,
1478,
18,
29925,
12,
394,
2666,
12,
3968,
262,
11272,
202,
202,
6385,
514,
19315,
270,
548,
273,
19315,
270,
8229,
548,
31,
202,
202,
6385,
1250,
2405,
39,
580,
270,
273,
2405,
39,
580,
270,
8229,
31,
202,
202,
698,
202,
202,
95,
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,
1152,
918,
741,
11641,
12,
467,
743,
20408,
16,
514,
3968,
16,
1082,
202,
4348,
1407,
16,
514,
19315,
270,
8229,
548,
16,
1250,
2405,
39,
580,
270,
8229,
16,
1082,
202,
45,
5491,
7187,
6438,
262,
1216,
30015,
202,
95,
202,
202,
759,
752,
279,
3296,
585,
202,
202,
10259,
18,
10086,
2174,
12,
9666,
28054,
397,
3968,
16,
576,
11272,
202,
202,
45,
1420,
1058,
273,
261,
45,
2170,
13,
8128,
3773,
18,
588,
8241,
12,
262,
9506,
202,
18,
588,
2375,
12,
262,
9506,
202,
18,
4720,
4419,
12,
20408,
11272,
202,
202,
45,
2170,
1478,
273,
446,
31,
202,
202,
430,
261,
1058,
422,
446,
9506,
202,
20081,
401,
3146,
18,
1808,
12,
2
] |
|
return 110; }
|
return 110; }
|
public int getVersionOfFirstRelease(){ return 110; }
|
56479 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56479/ae5daeb6a447edf40a1be7e63cdb678c4d2bbaa1/NumForNodesWithChar.java/clean/Source/mesquite/trees/NumForNodesWithChar/NumForNodesWithChar.java
|
[
1,
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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
202,
482,
509,
8343,
951,
3759,
7391,
1435,
95,
377,
202,
202,
2463,
20168,
31,
4202,
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
] |
System.out.println(indent+"Field "+field+" Parent nodes: "+inEdges);
|
System.out.println(indent+"Field "+field.getName().toString()+" Parent nodes: "+inEdges);
|
static void printAllInclusionEdges(HashSet visited, MethodSummary.Node pnode, MethodSummary.Node node, String indent, boolean all, jq_Field f, boolean verbose) throws IOException { if (verbose) System.out.print(indent+"Node: "+node); if (pnode != null) { Quad q = (Quad)apa.edgesToQuads.get(Default.pair(pnode, node)); if (q != null) if (verbose) System.out.print(" from instruction "+q); } if (visited.contains(node)) { if (verbose) System.out.println(" <duplicate>, skipping."); return; } visited.add(node); if (verbose) System.out.println(); if (node instanceof MethodSummary.OutsideNode) { MethodSummary.OutsideNode onode = (MethodSummary.OutsideNode)node; while (onode.skip != null) { if (verbose) System.out.println(indent+onode+" equivalent to "+onode.skip); onode = onode.skip; } if (onode instanceof MethodSummary.FieldNode) { MethodSummary.FieldNode fnode = (MethodSummary.FieldNode)onode; jq_Field field = fnode.f; Set inEdges = fnode.getAccessPathPredecessors(); System.out.println(indent+"Field "+field+" Parent nodes: "+inEdges); System.out.print(indent+"Type 'w' to find matching writes to parent nodes, 'u' to go up: "); String s = in.readLine(); if (s.equalsIgnoreCase("u")) { for (Iterator it3 = inEdges.iterator(); it3.hasNext(); ) { MethodSummary.Node node4 = (MethodSummary.Node)it3.next(); printAllInclusionEdges(visited, null, node4, indent+"<", all, field, true); } } else if (s.equalsIgnoreCase("w")) { for (Iterator it3 = inEdges.iterator(); it3.hasNext(); ) { MethodSummary.Node node4 = (MethodSummary.Node)it3.next(); printAllInclusionEdges(visited, null, node4, indent+"<", all, field, false); } } } Set outEdges = (Set)apa.nodeToInclusionEdges.get(onode); if (outEdges != null) { boolean yes = all || !verbose; if (!yes) { System.out.print(indent+outEdges.size()+" out edges, print them? ('y' for yes, 'a' for all) "); String s = in.readLine(); if (s.equalsIgnoreCase("y")) yes = true; else if (s.equalsIgnoreCase("a")) all = yes = true; } if (yes) { for (Iterator it3 = outEdges.iterator(); it3.hasNext(); ) { MethodSummary.Node node2 = (MethodSummary.Node)it3.next(); printAllInclusionEdges(visited, onode, node2, indent+" ", all, null, verbose); } } } } else { Set s = node.getNonEscapingEdges(f); if (s.size() > 0) { boolean yes = all; System.out.println(indent+s.size()+" write edges match field "+((f==null)?"[]":f.getName().toString())); for (Iterator i=s.iterator(); i.hasNext(); ) { MethodSummary.Node node2 = (MethodSummary.Node)i.next(); Quad quad = node.getSourceQuad(f, node2); if (quad != null) System.out.println(indent+"From instruction: "+quad); printAllInclusionEdges(visited, null, node2, indent+">", all, null, verbose); } } } }
|
3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/b56367ecb88c2c6de9aaea3bde8aeed3587edcaf/PointerExplorer.java/clean/joeq_core/joeq/Compiler/Quad/PointerExplorer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
918,
1172,
1595,
382,
15335,
10697,
12,
13482,
9711,
16,
2985,
4733,
18,
907,
293,
2159,
16,
2985,
4733,
18,
907,
756,
16,
514,
3504,
16,
1250,
777,
16,
20656,
67,
974,
284,
16,
1250,
3988,
13,
1216,
1860,
288,
3639,
309,
261,
11369,
13,
2332,
18,
659,
18,
1188,
12,
9355,
9078,
907,
30,
13773,
2159,
1769,
3639,
309,
261,
84,
2159,
480,
446,
13,
288,
5411,
27258,
1043,
273,
261,
24483,
13,
438,
69,
18,
8746,
774,
928,
17318,
18,
588,
12,
1868,
18,
6017,
12,
84,
2159,
16,
756,
10019,
5411,
309,
261,
85,
480,
446,
13,
7734,
309,
261,
11369,
13,
2332,
18,
659,
18,
1188,
2932,
628,
7592,
13773,
85,
1769,
3639,
289,
3639,
309,
261,
30129,
18,
12298,
12,
2159,
3719,
288,
5411,
309,
261,
11369,
13,
2332,
18,
659,
18,
8222,
2932,
411,
17342,
20401,
14195,
1199,
1769,
5411,
327,
31,
3639,
289,
3639,
9711,
18,
1289,
12,
2159,
1769,
3639,
309,
261,
11369,
13,
2332,
18,
659,
18,
8222,
5621,
3639,
309,
261,
2159,
1276,
2985,
4733,
18,
28018,
907,
13,
288,
5411,
2985,
4733,
18,
28018,
907,
603,
390,
273,
261,
1305,
4733,
18,
28018,
907,
13,
2159,
31,
5411,
1323,
261,
265,
390,
18,
7457,
480,
446,
13,
288,
7734,
309,
261,
11369,
13,
2332,
18,
659,
18,
8222,
12,
9355,
15,
265,
390,
9078,
7680,
358,
13773,
265,
390,
18,
7457,
1769,
7734,
603,
390,
273,
603,
390,
18,
7457,
31,
5411,
289,
5411,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
918,
1172,
1595,
382,
15335,
10697,
12,
13482,
9711,
16,
2985,
4733,
18,
907,
293,
2159,
16,
2985,
4733,
18,
907,
756,
16,
514,
3504,
16,
1250,
777,
16,
20656,
67,
974,
284,
16,
1250,
3988,
13,
1216,
1860,
288,
3639,
309,
261,
11369,
13,
2332,
18,
659,
18,
1188,
12,
9355,
9078,
907,
30,
13773,
2159,
1769,
3639,
309,
261,
84,
2159,
480,
446,
13,
288,
5411,
27258,
1043,
273,
261,
24483,
13,
438,
69,
18,
8746,
774,
928,
17318,
18,
588,
12,
1868,
18,
6017,
12,
84,
2159,
16,
756,
10019,
5411,
309,
261,
85,
480,
446,
13,
7734,
309,
261,
11369,
13,
2332,
18,
659,
18,
1188,
2932,
628,
7592,
13773,
85,
1769,
3639,
2
] |
String oid = request.getParameter("oid"); Integer idInternal = Integer.valueOf(oid);
|
String oid = request.getParameter("oid"); Integer idInternal = Integer.valueOf(oid);
|
public ActionForward deleteIncompatibility(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { String oid = request.getParameter("oid"); Integer idInternal = Integer.valueOf(oid); Vigilant vigilant = (Vigilant) RootDomainObject .readDomainObjectByOID(Vigilant.class, idInternal); Object[] args = { vigilant }; executeService(request, "RemoveIncompatiblePerson", args); putIncompatibilitiesInRequest(request); return mapping.findForward("incompatibilities"); }
|
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/bf038d353ac7538e5827d426ae8c0c090973ac6b/VigilantGroupManagement.java/clean/src/net/sourceforge/fenixedu/presentationTier/Action/vigilancy/VigilantGroupManagement.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
8514,
1430,
382,
27303,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
5411,
9984,
590,
16,
12446,
766,
13,
1216,
1185,
288,
3639,
514,
7764,
273,
590,
18,
588,
1662,
2932,
839,
8863,
3639,
2144,
612,
3061,
273,
2144,
18,
1132,
951,
12,
839,
1769,
3639,
776,
360,
330,
970,
331,
360,
330,
970,
273,
261,
58,
360,
330,
970,
13,
7450,
3748,
921,
7734,
263,
896,
3748,
921,
858,
12945,
12,
58,
360,
330,
970,
18,
1106,
16,
612,
3061,
1769,
3639,
1033,
8526,
833,
273,
288,
331,
360,
330,
970,
289,
31,
3639,
1836,
1179,
12,
2293,
16,
315,
3288,
24272,
8346,
3113,
833,
1769,
3639,
1378,
382,
16239,
495,
5076,
382,
691,
12,
2293,
1769,
3639,
327,
2874,
18,
4720,
8514,
2932,
267,
16239,
495,
5076,
8863,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
8514,
1430,
382,
27303,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
5411,
9984,
590,
16,
12446,
766,
13,
1216,
1185,
288,
3639,
514,
7764,
273,
590,
18,
588,
1662,
2932,
839,
8863,
3639,
2144,
612,
3061,
273,
2144,
18,
1132,
951,
12,
839,
1769,
3639,
776,
360,
330,
970,
331,
360,
330,
970,
273,
261,
58,
360,
330,
970,
13,
7450,
3748,
921,
7734,
263,
896,
3748,
921,
858,
12945,
12,
58,
360,
330,
970,
18,
1106,
16,
612,
3061,
1769,
3639,
1033,
8526,
833,
273,
288,
331,
360,
330,
970,
289,
31,
3639,
1836,
1179,
12,
2293,
16,
315,
3288,
24272,
8346,
3113,
833,
1769,
3639,
1378,
382,
16239,
495,
5076,
382,
691,
2
] |
return TypeUtil.getDeclaringType(res);
|
return TypeUtil.getDeclaringClass(res);
|
private ICElement getDefiningType(ITypeHierarchy hierarchy, IMethodDeclaration method) throws CModelException { ICElement declaringType= TypeUtil.getDeclaringType(method); if ((method.getVisibility() == ASTAccessVisibility.PRIVATE) || method.isStatic() || method.isConstructor() || method.isDestructor()) { return null; } ICElement res= TypeUtil.findMethodDeclarationInHierarchy(hierarchy, declaringType, method.getElementName(), method.getParameterTypes(), false, false); if (res == null || method.equals(res)) { return null; } return TypeUtil.getDeclaringType(res); }
|
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/cd51bbd5f74702b10da18821cacea42e20722fe5/HierarchyViewerSorter.java/clean/core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/typehierarchy/HierarchyViewerSorter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
26899,
1046,
336,
6443,
310,
559,
12,
45,
559,
12074,
9360,
16,
467,
1305,
6094,
707,
13,
1216,
385,
1488,
503,
288,
202,
202,
2871,
1046,
20845,
559,
33,
1412,
1304,
18,
588,
3456,
5968,
559,
12,
2039,
1769,
202,
202,
430,
14015,
2039,
18,
588,
10135,
1435,
422,
9183,
1862,
10135,
18,
20055,
13,
747,
707,
18,
291,
5788,
1435,
747,
707,
18,
291,
6293,
1435,
747,
707,
18,
291,
6305,
8813,
280,
10756,
288,
1082,
565,
327,
446,
31,
202,
202,
97,
1082,
202,
2871,
1046,
400,
33,
1412,
1304,
18,
4720,
1305,
6094,
382,
12074,
12,
17937,
16,
20845,
559,
16,
707,
18,
21336,
461,
9334,
707,
18,
588,
1662,
2016,
9334,
629,
16,
629,
1769,
202,
202,
430,
261,
455,
422,
446,
747,
707,
18,
14963,
12,
455,
3719,
288,
1082,
202,
2463,
446,
31,
202,
202,
97,
202,
202,
2463,
1412,
1304,
18,
588,
3456,
5968,
559,
12,
455,
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,
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
430,
14015,
2039,
18,
588,
10135,
1435,
422,
9183,
1862,
10135,
18,
20055,
13,
747,
707,
18,
291,
5788,
1435,
747,
707,
18,
291,
6293,
1435,
747,
707,
18,
291,
6305,
8813,
280,
10756,
288,
1082,
565,
327,
446,
31,
202,
202,
97,
1082,
202,
2871,
1046,
400,
33,
1412,
1304,
18,
4720,
1305,
6094,
382,
12074,
12,
17937,
16,
20845,
559,
16,
707,
18,
21336,
461,
9334,
707,
18,
588,
1662,
2016,
9334,
629,
2
] |
void setStyle (HSSFCellStyle style) {
|
void setStyle(HSSFCellStyle style) {
|
void setStyle (HSSFCellStyle style) { if (style != null) { _cell.setCellStyle(style); } }
|
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/32307c8ad72f13555999cfde179d9a18f0487694/Cell.java/clean/src/blocks/poi/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/Cell.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
18995,
12,
44,
1260,
42,
4020,
2885,
2154,
13,
288,
3639,
309,
261,
4060,
480,
446,
13,
288,
5411,
389,
3855,
18,
542,
4020,
2885,
12,
4060,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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316,
326,
981,
30,
377,
918,
18995,
12,
44,
1260,
42,
4020,
2885,
2154,
13,
288,
3639,
309,
261,
4060,
480,
446,
13,
288,
5411,
389,
3855,
18,
542,
4020,
2885,
12,
4060,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return startTime.before(endTime) ? ((timeOnly.after(startTime) || timeOnly.equals(startTime)) && (timeOnly .before(endTime) || timeOnly.equals(endTime))) : ((timeOnly.after(startTime) || timeOnly .equals(startTime)) || (timeOnly.before(endTime) || timeOnly.equals(endTime)));
|
return startTime.before(endTime) ? ((timeOnly.after(startTime) || timeOnly.equals(startTime)) && (timeOnly .before(endTime) || timeOnly.equals(endTime))) : ((timeOnly.after(startTime) || timeOnly.equals(startTime)) || (timeOnly .before(endTime) || timeOnly.equals(endTime)));
|
private boolean isDailySessionTime(Calendar timestamp) { Calendar timeOnly = getTimeOnly(timestamp, calendar1); return startTime.before(endTime) ? ((timeOnly.after(startTime) || timeOnly.equals(startTime)) && (timeOnly .before(endTime) || timeOnly.equals(endTime))) : ((timeOnly.after(startTime) || timeOnly .equals(startTime)) || (timeOnly.before(endTime) || timeOnly.equals(endTime))); }
|
6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/1767d639ccd72514f6c22f90185d2090cac4fcd4/SessionSchedule.java/clean/src/quickfix/SessionSchedule.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
353,
40,
12857,
2157,
950,
12,
7335,
2858,
13,
288,
3639,
5542,
813,
3386,
273,
6135,
3386,
12,
5508,
16,
5686,
21,
1769,
3639,
327,
8657,
18,
5771,
12,
409,
950,
13,
692,
14015,
957,
3386,
18,
5205,
12,
1937,
950,
13,
747,
813,
3386,
18,
14963,
12,
1937,
950,
3719,
597,
261,
957,
3386,
7734,
263,
5771,
12,
409,
950,
13,
747,
813,
3386,
18,
14963,
12,
409,
950,
20349,
294,
14015,
957,
3386,
18,
5205,
12,
1937,
950,
13,
747,
813,
3386,
7734,
263,
14963,
12,
1937,
950,
3719,
747,
261,
957,
3386,
18,
5771,
12,
409,
950,
13,
747,
813,
3386,
18,
14963,
12,
409,
950,
3719,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
353,
40,
12857,
2157,
950,
12,
7335,
2858,
13,
288,
3639,
5542,
813,
3386,
273,
6135,
3386,
12,
5508,
16,
5686,
21,
1769,
3639,
327,
8657,
18,
5771,
12,
409,
950,
13,
692,
14015,
957,
3386,
18,
5205,
12,
1937,
950,
13,
747,
813,
3386,
18,
14963,
12,
1937,
950,
3719,
597,
261,
957,
3386,
7734,
263,
5771,
12,
409,
950,
13,
747,
813,
3386,
18,
14963,
12,
409,
950,
20349,
294,
14015,
957,
3386,
18,
5205,
12,
1937,
950,
13,
747,
813,
3386,
7734,
263,
14963,
12,
1937,
950,
3719,
747,
261,
957,
3386,
18,
5771,
12,
409,
950,
13,
747,
813,
3386,
18,
14963,
12,
409,
950,
3719,
1769,
565,
289,
2,
-100,
-100,
-100
] |
MarkerType type = MarkerTypesModel.getInstance().getType(rootTypes[i]);
|
MarkerType type = MarkerTypesModel.getInstance().getType( rootTypes[i]);
|
MarkerFilter(String filterName, String[] rootTypes) { name = filterName; for (int i = 0; i < rootTypes.length; i++) { MarkerType type = MarkerTypesModel.getInstance().getType(rootTypes[i]); if (!this.rootTypes.contains(type)) { this.rootTypes.add(type); } } resetState(); }
|
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/0645148767f084e4b686984a56e3496706cce525/MarkerFilter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerFilter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
7078,
1586,
12,
780,
25469,
16,
514,
8526,
1365,
2016,
13,
288,
202,
202,
529,
273,
25469,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1365,
2016,
18,
2469,
31,
277,
27245,
288,
1082,
202,
7078,
559,
618,
273,
14742,
2016,
1488,
18,
588,
1442,
7675,
588,
559,
12,
3085,
2016,
63,
77,
19226,
1082,
202,
430,
16051,
2211,
18,
3085,
2016,
18,
12298,
12,
723,
3719,
288,
9506,
202,
2211,
18,
3085,
2016,
18,
1289,
12,
723,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
6208,
1119,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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1082,
202,
7078,
559,
618,
273,
14742,
2016,
1488,
18,
588,
1442,
7675,
588,
559,
12,
3085,
2016,
63,
77,
19226,
1082,
202,
430,
16051,
2211,
18,
3085,
2016,
18,
12298,
12,
723,
3719,
288,
9506,
202,
2211,
18,
3085,
2016,
18,
1289,
12,
723,
1769,
1082,
202,
97,
202,
202,
97,
202,
202,
6208,
1119,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void delProfilePermissions(long id_profile) throws KettleDatabaseException
|
public synchronized void delProfilePermissions(long id_profile) throws KettleDatabaseException
|
public void delProfilePermissions(long id_profile) throws KettleDatabaseException { String sql = "DELETE FROM R_PROFILE_PERMISSION WHERE ID_PROFILE = " + id_profile; database.execStatement(sql); }
|
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/9a23bf7234591fe690816bbf6320414c2ad3eaae/Repository.java/clean/src/be/ibridge/kettle/repository/Repository.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1464,
4029,
6521,
12,
5748,
612,
67,
5040,
13,
1216,
1475,
278,
5929,
4254,
503,
202,
95,
202,
202,
780,
1847,
273,
315,
6460,
4571,
534,
67,
22462,
67,
23330,
4852,
1599,
67,
22462,
273,
315,
397,
612,
67,
5040,
31,
202,
202,
6231,
18,
4177,
3406,
12,
4669,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1464,
4029,
6521,
12,
5748,
612,
67,
5040,
13,
1216,
1475,
278,
5929,
4254,
503,
202,
95,
202,
202,
780,
1847,
273,
315,
6460,
4571,
534,
67,
22462,
67,
23330,
4852,
1599,
67,
22462,
273,
315,
397,
612,
67,
5040,
31,
202,
202,
6231,
18,
4177,
3406,
12,
4669,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
elfac = IsotopeFactory.getInstance();
|
elfac = IsotopeFactory.getInstance(atomContainer.getBuilder());
|
public DescriptorValue calculate(AtomContainer atomContainer) throws CDKException { int valence = 0; int atomicNumber = 0; int hcount = 0; int atomValue = 0; double val0 = 0; double val1 = 0; ArrayList chiAtom = new ArrayList(2); double chi1v = 0; double chi1vC = 0; Atom[] atoms = null; Atom[] neighatoms = null; Element element = null; IsotopeFactory elfac = null; String symbol = null; org.openscience.cdk.interfaces.Bond[] bonds = atomContainer.getBonds(); for (int b = 0; b < bonds.length; b++) { atoms = bonds[b].getAtoms(); if ((!atoms[0].getSymbol().equals("H")) && (!atoms[1].getSymbol().equals("H"))) { val0 = 0; val1 = 0; chiAtom.clear(); for (int a = 0; a < atoms.length; a++) { symbol = atoms[a].getSymbol(); try { elfac = IsotopeFactory.getInstance(); } catch (Exception exc) { logger.debug(exc); throw new CDKException("Problem instantiating IsotopeFactory: " + exc.toString(), exc); } try { element = elfac.getElement(symbol); } catch (Exception exc) { logger.debug(exc); throw new CDKException("Problem getting isotope " + symbol + " from ElementFactory: " + exc.toString(), exc); } atomicNumber = element.getAtomicNumber(); valence = ((Integer)valences.get(symbol)).intValue(); hcount = 0; atomValue = 0; neighatoms = atomContainer.getConnectedAtoms(atoms[a]); for (int n = 0; n < neighatoms.length; n++) { if (neighatoms[n].getSymbol().equals("H")) { hcount += 1; } } hcount += atoms[a].getHydrogenCount(); atomValue = (valence - hcount) / (atomicNumber - valence - 1); //if(atomValue > 0) { chiAtom.add(new Double(atomValue)); //System.out.println(symbol+"= atomvalue: "+atomValue+",val: "+valence); //} } val0 = ( (Double)chiAtom.get(0) ).doubleValue(); val1 = ( (Double)chiAtom.get(1) ).doubleValue(); if(val0 > 0 && val1 >0) { if((atoms[0].getSymbol().equals("C")) && (atoms[1].getSymbol().equals("C"))) { chi1vC += 1/(Math.sqrt(val0 * val1)); } } } } return new DescriptorValue(getSpecification(), getParameterNames(), getParameters(), new DoubleResult(chi1vC)); }
|
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/99fe3519d35ad1fd276844ab16fa237c545a01fc/ValenceCarbonConnectivityOrderOneDescriptor.java/clean/src/org/openscience/cdk/qsar/ValenceCarbonConnectivityOrderOneDescriptor.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12823,
620,
4604,
12,
3641,
2170,
22487,
13,
1216,
24570,
288,
202,
202,
474,
1244,
802,
273,
374,
31,
202,
202,
474,
7960,
1854,
273,
374,
31,
202,
202,
474,
366,
1883,
273,
374,
31,
202,
202,
474,
3179,
620,
273,
374,
31,
202,
202,
9056,
1244,
20,
273,
374,
31,
202,
202,
9056,
1244,
21,
273,
374,
31,
202,
202,
19558,
17198,
3641,
273,
394,
2407,
12,
22,
1769,
202,
202,
9056,
17198,
21,
90,
273,
374,
31,
202,
202,
9056,
17198,
21,
90,
39,
273,
374,
31,
202,
202,
3641,
8526,
9006,
273,
446,
31,
202,
202,
3641,
8526,
1073,
2031,
14937,
273,
446,
31,
202,
202,
1046,
930,
273,
446,
31,
202,
202,
2520,
18946,
1733,
415,
11639,
273,
446,
31,
202,
202,
780,
3273,
273,
446,
31,
202,
202,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
9807,
8526,
15692,
273,
22487,
18,
588,
26090,
5621,
202,
202,
1884,
261,
474,
324,
273,
374,
31,
324,
411,
15692,
18,
2469,
31,
324,
27245,
288,
1082,
202,
14937,
273,
15692,
63,
70,
8009,
588,
14280,
5621,
1082,
202,
430,
14015,
5,
14937,
63,
20,
8009,
588,
5335,
7675,
14963,
2932,
44,
6,
3719,
597,
16051,
14937,
63,
21,
8009,
588,
5335,
7675,
14963,
2932,
44,
6,
20349,
288,
9506,
202,
1125,
20,
273,
374,
31,
9506,
202,
1125,
21,
273,
374,
31,
9506,
202,
24010,
3641,
18,
8507,
5621,
9506,
202,
1884,
261,
474,
279,
273,
374,
31,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12823,
620,
4604,
12,
3641,
2170,
22487,
13,
1216,
24570,
288,
202,
202,
474,
1244,
802,
273,
374,
31,
202,
202,
474,
7960,
1854,
273,
374,
31,
202,
202,
474,
366,
1883,
273,
374,
31,
202,
202,
474,
3179,
620,
273,
374,
31,
202,
202,
9056,
1244,
20,
273,
374,
31,
202,
202,
9056,
1244,
21,
273,
374,
31,
202,
202,
19558,
17198,
3641,
273,
394,
2407,
12,
22,
1769,
202,
202,
9056,
17198,
21,
90,
273,
374,
31,
202,
202,
9056,
17198,
21,
90,
39,
273,
374,
31,
202,
202,
3641,
8526,
9006,
273,
446,
31,
202,
202,
3641,
8526,
1073,
2031,
14937,
273,
446,
31,
202,
202,
1046,
930,
273,
446,
31,
202,
202,
2
] |
if (aString.endsWith(")") && (Globals.getAbilityKeyed(Constants.FEAT_CATEGORY, aString) == null)) { final String featKey = aString.substring(0, aString.indexOf('(') - 1); final Ability anAbility = Globals.getAbilityKeyed(Constants.FEAT_CATEGORY, featKey); if (anAbility != null) {
|
if (aString.endsWith(")") && (Globals.getAbilityKeyed(Constants.FEAT_CATEGORY, aString) == null)) { final String featKey = aString.substring(0, aString .indexOf('(') - 1); final Ability anAbility = Globals.getAbilityKeyed( Constants.FEAT_CATEGORY, featKey); if (anAbility != null) {
|
public void setRace(final Race aRace) { final Race oldRace = getRace(); final boolean raceIsNull = (oldRace == null); // needed because race is set to null later final boolean firstLevel = getTotalClassLevels()==1; // remove current race attributes if (!raceIsNull) { oldRace.getSpellSupport().clearCharacterSpells(); if (PlayerCharacterUtilities.canReassignRacialFeats()) { final StringTokenizer aTok = new StringTokenizer(oldRace.getFeatList(this), Constants.PIPE); while (aTok.hasMoreTokens()) { final String aString = aTok.nextToken(); if (aString.endsWith(")") && (Globals.getAbilityKeyed(Constants.FEAT_CATEGORY, aString) == null)) { final String featKey = aString.substring(0, aString.indexOf('(') - 1); final Ability anAbility = Globals.getAbilityKeyed(Constants.FEAT_CATEGORY, featKey); if (anAbility != null) { AbilityUtilities.modFeat(this, null, aString, true, false);// setFeats(feats - anAbility.getCost(this)); adjustFeats(-anAbility.getCost(this)); } } else { final Ability anAbility = Globals.getAbilityKeyed(Constants.FEAT_CATEGORY, aString); if (anAbility != null) { final String featKey = anAbility.getKeyName(); if ((hasRealFeat(anAbility) || hasFeatAutomatic(featKey))) { AbilityUtilities.modFeat(this, null, aString, true, false);// setFeats(feats - anAbility.getCost(this)); adjustFeats(-anAbility.getCost(this)); } } else { ShowMessageDelegate.showMessageDialog("Removing unknown feat: " + aString, Constants.s_APPNAME, MessageType.INFORMATION); } } } } languages.removeAll(oldRace.getSafeListFor(ListKey.AUTO_LANGUAGES)); cachedWeaponProfs = null; if (stringChar.hasCharacteristic(StringKey.RACIAL_FAVORED_CLASS)) { favoredClasses.remove(stringChar.getCharacteristic(StringKey.RACIAL_FAVORED_CLASS)); } removeNaturalWeapons(race); for (String s : race.templatesAdded()) { removeTemplate(getTemplateKeyed(s)); } if ((race.getMonsterClass(this) != null) && (race.getMonsterClassLevels(this) != 0)) { final PCClass mclass = Globals.getClassKeyed(race.getMonsterClass(this)); if (mclass != null) { incrementClassLevel(race.getMonsterClassLevels(this) * -1, mclass, true); } } } // add new race attributes race = null; if (aRace != null) { race = (Race) aRace.clone(); } if (race != null) { race.activateBonuses(this); if (!isImporting()) { Globals.getBioSet().randomize("AGE.HT.WT", this); } // Get existing classes final List<PCClass> existingClasses = new ArrayList<PCClass>(classList); classList.clear(); // // Remove all saved monster level information // for (int i = getLevelInfoSize() - 1; i >= 0; --i) { final String classKeyName = getLevelInfoClassKeyName(i); final PCClass aClass = Globals.getClassKeyed(classKeyName); if ((aClass == null) || aClass.isMonster()) { removeLevelInfo(i); } } final List<PCLevelInfo> existingLevelInfo = new ArrayList<PCLevelInfo>(pcLevelInfo); pcLevelInfo.clear(); // Make sure monster classes are added first if (!isImporting() && (race.getMonsterClass(this) != null) && (race.getMonsterClassLevels(this) != 0)) { final PCClass mclass = Globals.getClassKeyed(race.getMonsterClass(this)); if (mclass != null) { incrementClassLevel(race.getMonsterClassLevels(this), mclass, true); } } pcLevelInfo.addAll(existingLevelInfo); // // If user has chosen a class before choosing a race, // we need to tweak the number of skill points and feats // if (!isImporting() && existingClasses.size()!=0) { int totalLevels = this.getTotalLevels();// final Integer zero = Integer.valueOf(0); for ( PCClass pcClass : existingClasses ) { // // Don't add monster classes back in. This will possibly mess up feats earned by level // ?Possibly convert to mclass if not null? // if (!pcClass.isMonster()) { classList.add(pcClass); final int cLevels = pcClass.getLevel(); //aClass.setLevel(0); pcClass.setSkillPool(0); int cMod = 0; for (int j = 0; j < cLevels; ++j) { cMod += pcClass.recalcSkillPointMod(this, ++totalLevels); } pcClass.setSkillPool(cMod); } } } addNaturalWeapons(race.getNaturalWeapons()); if (PlayerCharacterUtilities.canReassignRacialFeats()) { final StringTokenizer aTok = new StringTokenizer(getRace().getFeatList(this), Constants.PIPE); while (aTok.hasMoreTokens()) { final String aString = aTok.nextToken(); if (aString.endsWith(")") && (Globals.getAbilityKeyed(Constants.FEAT_CATEGORY, aString) == null)) { // we want the first instance of it, in case of Weapon Focus(Longbow (Composite)) final String featKey = aString.substring(0, aString.indexOf('(') - 1); final Ability anAbility = Globals.getAbilityKeyed(Constants.FEAT_CATEGORY, featKey); if (anAbility != null) {// setFeats(feats + anAbility.getCost(this)); adjustFeats(anAbility.getCost(this)); AbilityUtilities.modFeat(this, null, aString, true, true); } } else { final Ability anAbility = Globals.getAbilityKeyed(Constants.FEAT_CATEGORY, aString); if (anAbility != null) { final String featKey = anAbility.getKeyName(); if ((!this.hasRealFeat(anAbility) && !this.hasFeatAutomatic(featKey))) {// setFeats(feats + anAbility.getCost(this)); adjustFeats(anAbility.getCost(this)); //modFeat(featName, true, featName.endsWith("Proficiency")); AbilityUtilities.modFeat(this, null, aString, true, true); } } else { ShowMessageDelegate.showMessageDialog("Adding unknown feat: " + aString, Constants.s_APPNAME, MessageType.INFORMATION); } } } } getAutoLanguages(); getRacialFavoredClasses(); race.getTemplates(isImporting(), this); // gets and adds templates race.chooseLanguageAutos(isImporting(), this); }// TODO - Change this back// setAggregateAbilitiesStable(null, false); setAggregateFeatsStable(false); setAutomaticFeatsStable(false); setVirtualFeatsStable(false); if (!isImporting()) { getSpellList(); race.globalChecks(this); adjustMoveRates(); calcActiveBonuses(); } setDirty(true); }
|
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/376816acf8bf134fa77bd6ea5c602dbe9af9bfbd/PlayerCharacter.java/clean/code/src/java/pcgen/core/PlayerCharacter.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
54,
623,
12,
6385,
534,
623,
279,
54,
623,
13,
202,
95,
202,
202,
6385,
534,
623,
1592,
54,
623,
273,
4170,
623,
5621,
202,
202,
6385,
1250,
17996,
2520,
2041,
273,
261,
1673,
54,
623,
422,
446,
1769,
368,
3577,
2724,
17996,
353,
444,
358,
446,
5137,
202,
202,
6385,
1250,
1122,
2355,
273,
12831,
797,
12240,
1435,
631,
21,
31,
202,
202,
759,
1206,
783,
17996,
1677,
202,
202,
430,
16051,
9963,
2520,
2041,
13,
202,
202,
95,
1082,
202,
1673,
54,
623,
18,
588,
3389,
1165,
6289,
7675,
8507,
7069,
3389,
1165,
87,
5621,
1082,
202,
430,
261,
12148,
7069,
11864,
18,
4169,
426,
6145,
54,
1077,
649,
2954,
2323,
10756,
1082,
202,
95,
9506,
202,
6385,
16370,
279,
20477,
273,
394,
16370,
12,
1673,
54,
623,
18,
588,
11667,
682,
12,
2211,
3631,
5245,
18,
27602,
1769,
9506,
202,
17523,
261,
69,
20477,
18,
5332,
7417,
5157,
10756,
9506,
202,
95,
6862,
202,
6385,
514,
279,
780,
273,
279,
20477,
18,
4285,
1345,
5621,
6862,
202,
430,
261,
69,
780,
18,
5839,
1190,
2932,
2225,
13,
597,
261,
19834,
18,
588,
5895,
1889,
653,
329,
12,
2918,
18,
8090,
789,
67,
24847,
16,
279,
780,
13,
422,
446,
3719,
6862,
202,
95,
25083,
202,
6385,
514,
11002,
653,
273,
279,
780,
18,
28023,
12,
20,
16,
279,
780,
18,
31806,
2668,
2668,
13,
300,
404,
1769,
25083,
202,
6385,
9771,
1889,
392,
5895,
1889,
273,
18901,
1031,
18,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
54,
623,
12,
6385,
534,
623,
279,
54,
623,
13,
202,
95,
202,
202,
6385,
534,
623,
1592,
54,
623,
273,
4170,
623,
5621,
202,
202,
6385,
1250,
17996,
2520,
2041,
273,
261,
1673,
54,
623,
422,
446,
1769,
368,
3577,
2724,
17996,
353,
444,
358,
446,
5137,
202,
202,
6385,
1250,
1122,
2355,
273,
12831,
797,
12240,
1435,
631,
21,
31,
202,
202,
759,
1206,
783,
17996,
1677,
202,
202,
430,
16051,
9963,
2520,
2041,
13,
202,
202,
95,
1082,
202,
1673,
54,
623,
18,
588,
3389,
1165,
6289,
7675,
8507,
7069,
3389,
1165,
87,
5621,
1082,
202,
430,
261,
12148,
7069,
11864,
18,
4169,
426,
6145,
54,
1077,
649,
2954,
2323,
10756,
2
] |
if (!needInterface(ifaceSym)) {
|
if (!needInterface(ifaceSym))
|
protected Symbol getClassSym(Symbol ifaceSym) { assert !hasClassSuffix(ifaceSym.name) : ifaceSym.name; if (!needInterface(ifaceSym)) { return ifaceSym; } else { if (!ifaceToClass.containsKey(ifaceSym)) { Symbol classSym; Name ifaceName = ifaceSym.enclClass().fullName(); classSym = global.definitions.getClass(className(ifaceName)); if (ifaceSym.isPrimaryConstructor()) classSym = classSym.constructor(); assert classSym != Symbol.NONE : ifaceSym; ifaceToClass.put(ifaceSym, classSym); classToInterface.put(classSym, ifaceSym); } return (Symbol)ifaceToClass.get(ifaceSym); } }
|
9617 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9617/9523dad59863f61037acc6bf89359b9f3ad95489/AddInterfaces.java/buggy/sources/scalac/transformer/AddInterfaces.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8565,
2900,
11901,
12,
5335,
9751,
11901,
13,
288,
3639,
1815,
401,
5332,
797,
5791,
12,
31479,
11901,
18,
529,
13,
294,
9751,
11901,
18,
529,
31,
3639,
309,
16051,
14891,
1358,
12,
31479,
11901,
3719,
5411,
327,
9751,
11901,
31,
3639,
289,
469,
288,
5411,
309,
16051,
31479,
774,
797,
18,
12298,
653,
12,
31479,
11901,
3719,
288,
7734,
8565,
667,
11901,
31,
7734,
1770,
9751,
461,
273,
9751,
11901,
18,
275,
830,
797,
7675,
2854,
461,
5621,
7734,
667,
11901,
273,
2552,
18,
13314,
18,
588,
797,
12,
12434,
12,
31479,
461,
10019,
7734,
309,
261,
31479,
11901,
18,
291,
6793,
6293,
10756,
10792,
667,
11901,
273,
667,
11901,
18,
12316,
5621,
7734,
1815,
667,
11901,
480,
8565,
18,
9826,
294,
9751,
11901,
31,
7734,
9751,
774,
797,
18,
458,
12,
31479,
11901,
16,
667,
11901,
1769,
7734,
667,
774,
1358,
18,
458,
12,
1106,
11901,
16,
9751,
11901,
1769,
5411,
289,
5411,
327,
261,
5335,
13,
31479,
774,
797,
18,
588,
12,
31479,
11901,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
377,
4750,
8565,
2900,
11901,
12,
5335,
9751,
11901,
13,
288,
3639,
1815,
401,
5332,
797,
5791,
12,
31479,
11901,
18,
529,
13,
294,
9751,
11901,
18,
529,
31,
3639,
309,
16051,
14891,
1358,
12,
31479,
11901,
3719,
5411,
327,
9751,
11901,
31,
3639,
289,
469,
288,
5411,
309,
16051,
31479,
774,
797,
18,
12298,
653,
12,
31479,
11901,
3719,
288,
7734,
8565,
667,
11901,
31,
7734,
1770,
9751,
461,
273,
9751,
11901,
18,
275,
830,
797,
7675,
2854,
461,
5621,
7734,
667,
11901,
273,
2552,
18,
13314,
18,
588,
797,
12,
12434,
12,
31479,
461,
10019,
7734,
309,
261,
31479,
11901,
18,
291,
6793,
6293,
10756,
10792,
667,
11901,
273,
667,
11901,
18,
12316,
5621,
7734,
1815,
667,
2
] |
logger.debug(reflectedClass.getName(), " #fields: " + fields.length);
|
private DefaultMutableTreeNode getTree(ChemObject object) { DefaultMutableTreeNode node = new ChemObjectTreeNode(object); Class reflectedClass = object.getClass(); // get all fields in this ChemObject Field[] fields = getFields(reflectedClass); // logger.debug(reflectedClass.getName() + " #fields: " + fields.length); for (int i=0; i<fields.length; i++) { Field f = fields[i]; f.setAccessible(true); // logger.debug("Field name: " + f.getName()); // logger.debug("Field type: " + f.getType().getName()); try { // get an instance of the object in the field Object fieldObject = f.get(object); if (fieldObject != null) { // logger.debug("Field value: " + fieldObject.getClass().getName()); if (fieldObject instanceof ChemObject) { // yes, found a ChemObject! // logger.debug("Recursing into this object"); node.add(getTree((ChemObject)fieldObject)); } else if (fieldObject instanceof ChemObject[]) { // yes, found a Array! // logger.debug("Recursing into this Array"); // determine what kind of Array ChemObject[] objects = (ChemObject[])fieldObject; int count = objects.length; // Because the count above gives the array length and not the number // of not null objects the array, some intelligence must be added if (object instanceof AtomContainer) { if (objects[0] instanceof Atom) { count = ((AtomContainer)object).getAtomCount(); } else if (objects[0] instanceof Bond) { count = ((AtomContainer)object).getBondCount(); } } // now start actual looping over child objects for (int j=0; j<objects.length; j++) { if (objects[j] != null) { node.add(getTree(objects[j])); } } } } else { //logger.debug("Field value: null"); } } catch (Exception e) { logger.error(e.toString()); } } return node; }
|
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/a087356949ddf5adf7b02ebd8111b72c53eab132/ChemObjectTree.java/buggy/src/org/openscience/cdk/applications/swing/ChemObjectTree.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1194,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
1194,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
1194,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
1194,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
6015,
270,
12970,
693,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
2989,
19536,
2471,
50,
1009,
717,
693,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
15867,
12,
20200,
921,
4901,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
733,
13,
4901,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
288,
4901,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
1194,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
1194,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
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,
1194,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
1194,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
1194,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
1194,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
6015,
270,
12970,
693,
18,
4148,
12,
1734,
1582,
329,
797,
18,
17994,
9334,
315,
468,
2821,
30,
315,
397,
1466,
18,
2469,
1769,
2989,
19536,
2471,
50,
1009,
717,
693,
18,
4148,
12,
1734,
2
] |
|
outputMap.put(pt.getScuflPort().getName().toLowerCase(),pt);
|
outputMap.put(pt.getScuflPort().getName().toLowerCase(),pt); }
|
public uk.ac.soton.itinnovation.mygrid.workflow.enactor.core.eventservice.TaskStateMessage doTask() { try{ TalismanProcessor theProcessor = (TalismanProcessor)proc; // Get a map of the inputs, for each entry in the map the key is the // name of the port that the input came in on, the value is the value // of the input (obviously) Map inputMap = new HashMap(); // Parents are all PortTasks (I think?) GraphNode[] inputs = getParents(); for (int i = 0; i < inputs.length; i++) { PortTask pt = (PortTask)inputs[i]; Part p = pt.getData(); Element e = (Element)p.getValue(); inputMap.put(p.getName(),e.getFirstChild().getNodeValue()); } // Get a map of the output ports, keys are port names, values are // PortTask instances, used when we have named output and need to // set the port values. Map outputMap = new HashMap(); GraphNode[] outputs = getChildren(); for (int i = 0; i < outputs.length; i++) { PortTask pt = (PortTask)outputs[i]; logger.debug("Found an output port task, registering it with name : "+pt.getScuflPort().getName().toLowerCase()); // convert all port names to lower case, eases matching later on outputMap.put(pt.getScuflPort().getName().toLowerCase(),pt); } // Get the parameters for this invocation Map talismanInputMap = theProcessor.getInputMappings(); Map talismanOutputMap = theProcessor.getOutputMappings(); String definitionURL = theProcessor.getTalismanDefinitionURL(); String triggerName = theProcessor.getTriggerName(); // Create a new Talisman session etc. // Should use a singleton one of these here! Can't at the moment // because there's no way of cleaning up sessions, if we don't use // the singleton they'll be collected like any other object. TeaTray teaTray = new TeaTray(); URL url = new URL(definitionURL); String sessionID = teaTray.createSession(url); // Iterate over the talismanInputMap.... for (Iterator i = talismanInputMap.keySet().iterator(); i.hasNext(); ) { // portName is the name of one of the ports on this processor String portName = (String)i.next(); // talismanName is the specifier for a field in the talisman session String talismanName = (String)talismanInputMap.get(portName); // portValue is the string value of the port, and it had better be // a string or there will be much bitching! String portValue = (String)inputMap.get(portName.toLowerCase()); // Set the value in the talisman session logger.debug("Setting value : "+talismanName+" to "+portValue); teaTray.setStringValue(sessionID, talismanName, portValue); } // Invoke the trigger teaTray.invokeTrigger(sessionID, triggerName); // Iterate over the talismanOutputMap.... for (Iterator i = talismanOutputMap.keySet().iterator(); i.hasNext(); ) { // portName is the name of the port the value should be sent to String portName = (String)i.next(); // talismanName is the name of the field the value should be read from String talismanName = (String)talismanOutputMap.get(portName); // talismanValue is the contents of the field defined in talismanName String talismanValue = teaTray.getStringValue(sessionID, talismanName); logger.debug("Creating output - portName = "+portName+", fieldName = "+talismanName); // Write the value to the port, is this the right way to do it? PortTask pt = (PortTask)outputMap.get(portName.toLowerCase()); // If the port task wasn't found in the map, then the output isn't bound // to anything and therefore we shouldn't try to write the data out. if (pt != null) { logger.debug("Port task found : "+pt.toString()); Part outputPart = new Part(-1, portName, "string", talismanValue); pt.setData(outputPart); } } // Done? I think so anyway. // Success return new TaskStateMessage(getParentFlow().getID(), getID(), TaskStateMessage.COMPLETE, "Task finished successfully"); } catch(Exception ex) { logger.error("Error invoking talisman for task " +getID() ,ex); return new TaskStateMessage(getParentFlow().getID(),getID(),TaskStateMessage.FAILED,"Task " + getID() + " failed due to problem invoking talisman"); } }
|
7616 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7616/5f66d59db512d117e74cdf377b296e482887701a/TalismanTask.java/buggy/trunk/taverna1.0/src/uk/ac/soton/itinnovation/taverna/enactor/entities/TalismanTask.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
27178,
18,
1077,
18,
87,
352,
265,
18,
305,
267,
82,
1527,
367,
18,
81,
4338,
1691,
18,
13815,
18,
275,
3362,
18,
3644,
18,
2575,
3278,
18,
2174,
1119,
1079,
741,
2174,
1435,
288,
202,
698,
95,
202,
565,
399,
287,
291,
4728,
5164,
326,
5164,
273,
261,
56,
287,
291,
4728,
5164,
13,
9381,
31,
202,
565,
368,
968,
279,
852,
434,
326,
4540,
16,
364,
1517,
1241,
316,
326,
852,
326,
498,
353,
326,
202,
565,
368,
508,
434,
326,
1756,
716,
326,
810,
22497,
316,
603,
16,
326,
460,
353,
326,
460,
202,
565,
368,
434,
326,
810,
261,
947,
2084,
715,
13,
202,
565,
1635,
810,
863,
273,
394,
4317,
5621,
202,
565,
368,
9520,
87,
854,
777,
6008,
6685,
261,
45,
15507,
8535,
202,
565,
5601,
907,
8526,
4540,
273,
5089,
87,
5621,
202,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
4540,
18,
2469,
31,
277,
27245,
288,
202,
202,
2617,
2174,
5818,
273,
261,
2617,
2174,
13,
10029,
63,
77,
15533,
202,
202,
1988,
293,
273,
5818,
18,
588,
751,
5621,
202,
202,
1046,
425,
273,
261,
1046,
13,
84,
18,
24805,
5621,
202,
202,
2630,
863,
18,
458,
12,
84,
18,
17994,
9334,
73,
18,
588,
3759,
1763,
7675,
588,
907,
620,
10663,
202,
565,
289,
202,
565,
368,
968,
279,
852,
434,
326,
876,
9048,
16,
1311,
854,
1756,
1257,
16,
924,
854,
202,
565,
368,
6008,
2174,
3884,
16,
1399,
1347,
732,
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,
27178,
18,
1077,
18,
87,
352,
265,
18,
305,
267,
82,
1527,
367,
18,
81,
4338,
1691,
18,
13815,
18,
275,
3362,
18,
3644,
18,
2575,
3278,
18,
2174,
1119,
1079,
741,
2174,
1435,
288,
202,
698,
95,
202,
565,
399,
287,
291,
4728,
5164,
326,
5164,
273,
261,
56,
287,
291,
4728,
5164,
13,
9381,
31,
202,
565,
368,
968,
279,
852,
434,
326,
4540,
16,
364,
1517,
1241,
316,
326,
852,
326,
498,
353,
326,
202,
565,
368,
508,
434,
326,
1756,
716,
326,
810,
22497,
316,
603,
16,
326,
460,
353,
326,
460,
202,
565,
368,
434,
326,
810,
261,
947,
2084,
715,
13,
202,
565,
1635,
810,
863,
273,
394,
4317,
5621,
202,
2
] |
BrowserControlFactory.setAppData(args[0]);
|
BrowserControlFactory.setAppData("nonnative", args[0]);
|
public static void main(String [] args){ System.out.println("doing asserts"); Assert.setEnabled(true); Log.setApplicationName("BrowserControlFactory"); Log.setApplicationVersion("0.0"); Log.setApplicationVersionDate("$Id: BrowserControlFactory.java,v 1.4 2001/05/29 18:34:19 ashuk%eng.sun.com Exp $"); BrowserControlCanvas canvas = null; BrowserControl control = null; try { BrowserControlFactory.setAppData(args[0]); control = BrowserControlFactory.newBrowserControl(); Assert.assert_it(control != null); canvas = (BrowserControlCanvas) control.queryInterface("webclient.BrowserControlCanvas"); Assert.assert_it(canvas != null); } catch (Exception e) { System.out.println(e.getMessage()); }}
|
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/66014df74dc65067759144c17bf072521de6a32c/BrowserControlFactory.java/clean/java/webclient/classes_spec/org/mozilla/webclient/BrowserControlFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
918,
2774,
12,
780,
5378,
833,
15329,
565,
2332,
18,
659,
18,
8222,
2932,
2896,
310,
26124,
8863,
565,
5452,
18,
542,
1526,
12,
3767,
1769,
565,
1827,
18,
542,
3208,
461,
2932,
9132,
3367,
1733,
8863,
565,
1827,
18,
542,
3208,
1444,
2932,
20,
18,
20,
8863,
565,
1827,
18,
542,
3208,
1444,
1626,
2932,
8,
548,
30,
15408,
3367,
1733,
18,
6290,
16,
90,
404,
18,
24,
4044,
21,
19,
6260,
19,
5540,
6549,
30,
5026,
30,
3657,
487,
76,
19445,
9,
24688,
18,
16924,
18,
832,
7784,
271,
8863,
565,
15408,
3367,
12971,
5953,
273,
446,
31,
565,
15408,
3367,
3325,
273,
446,
31,
565,
775,
288,
3639,
15408,
3367,
1733,
18,
542,
3371,
751,
2932,
5836,
13635,
3113,
833,
63,
20,
19226,
3639,
3325,
273,
15408,
3367,
1733,
18,
2704,
9132,
3367,
5621,
3639,
5452,
18,
11231,
67,
305,
12,
7098,
480,
446,
1769,
3639,
5953,
273,
261,
9132,
3367,
12971,
13,
3325,
18,
2271,
1358,
2932,
4875,
2625,
18,
9132,
3367,
12971,
8863,
3639,
5452,
18,
11231,
67,
305,
12,
15424,
480,
446,
1769,
565,
289,
565,
1044,
261,
503,
425,
13,
288,
3639,
2332,
18,
659,
18,
8222,
12,
73,
18,
24906,
10663,
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
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
918,
2774,
12,
780,
5378,
833,
15329,
565,
2332,
18,
659,
18,
8222,
2932,
2896,
310,
26124,
8863,
565,
5452,
18,
542,
1526,
12,
3767,
1769,
565,
1827,
18,
542,
3208,
461,
2932,
9132,
3367,
1733,
8863,
565,
1827,
18,
542,
3208,
1444,
2932,
20,
18,
20,
8863,
565,
1827,
18,
542,
3208,
1444,
1626,
2932,
8,
548,
30,
15408,
3367,
1733,
18,
6290,
16,
90,
404,
18,
24,
4044,
21,
19,
6260,
19,
5540,
6549,
30,
5026,
30,
3657,
487,
76,
19445,
9,
24688,
18,
16924,
18,
832,
7784,
271,
8863,
565,
15408,
3367,
12971,
5953,
273,
446,
31,
565,
15408,
3367,
3325,
273,
446,
31,
565,
775,
288,
3639,
15408,
3367,
1733,
18,
542,
3371,
2
] |
progressListener = l;
|
progressListener = l;
|
public void setProgressListener(ProgressListener l) { progressListener = l; }
|
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/e52ac744cd6cb7bf0ce3a82e6530680ed5180cbc/AWTRenderer.java/clean/src/org/apache/fop/render/awt/AWTRenderer.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
5491,
2223,
12,
5491,
2223,
328,
13,
288,
565,
4007,
2223,
273,
328,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
5491,
2223,
12,
5491,
2223,
328,
13,
288,
565,
4007,
2223,
273,
328,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void close() throws IOException { out = 0; in = 0; closed = true; synchronized(this) { finished = true; this.notifyAll(); } }
|
public synchronized void close() throws IOException { closed = true; notifyAll(); }
|
public void close() throws IOException { out = 0; in = 0; closed = true; synchronized(this) { finished = true; this.notifyAll(); }}
|
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/af503bb72418d994f4439910bc3989d556fcdbd5/PipedInputStream.java/buggy/libraries/javalib/java/io/PipedInputStream.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1746,
1435,
1216,
1860,
288,
202,
659,
273,
374,
31,
202,
267,
273,
374,
31,
202,
12204,
273,
638,
31,
202,
22043,
12,
2211,
13,
202,
95,
202,
202,
13527,
273,
638,
31,
202,
202,
2211,
18,
12336,
1595,
5621,
202,
9090,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
22398,
316,
326,
981,
30,
1071,
918,
1746,
1435,
1216,
1860,
288,
202,
659,
273,
374,
31,
202,
267,
273,
374,
31,
202,
12204,
273,
638,
31,
202,
22043,
12,
2211,
13,
202,
95,
202,
202,
13527,
273,
638,
31,
202,
202,
2211,
18,
12336,
1595,
5621,
202,
9090,
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
] |
int changeRow = Integer.parseInt(rst.nextToken()); String thisRow = (String) rows.get(changeRow-1); consoleWriteLn("** Skriv om rad " + changeRow + ":"); consoleWriteLn(changeRow + ": " + thisRow); rows.set(changeRow-1, crtReadLine(changeRow + ": ")); consoleWriteLn("");
|
if (rst.hasMoreTokens()) { int changeRow = Integer.parseInt(rst.nextToken()); String thisRow = (String) rows.get(changeRow-1); consoleWriteLn("** Skriv om rad " + changeRow + ":"); consoleWriteLn(changeRow + ": " + thisRow); rows.set(changeRow-1, crtReadLine(changeRow + ": ")); consoleWriteLn(""); } else { consoleWriteLn("** Du mste ange ett radnummer."); }
|
Text editText(Text t) throws IOException { String subject = bytesToString(t.getSubject()); int[] rcpts = t.getRecipients(); for (int i=0; i < rcpts.length; i++) { consoleWriteLn("Mottagare: " + confNoToName(rcpts[i])); } int[] ccRcpts = t.getCcRecipients(); for (int i=0; i < ccRcpts.length; i++) { consoleWriteLn("Extra kopiemottagare: " + confNoToName(ccRcpts[i])); } if (subject.length() == 0) { subject = crtReadLine("rende: "); } else { consoleWriteLn("rende: " + subject); } consoleWriteLn("--- skriv \"!?\" p tom rad fr hjlp ----------------------------------"); if (subject == null) return null; int rowCount = 1; int currentRow = 1; List rows = t.getBodyList(); if (rows.size() > 0) { for (int i=0; i < rows.size(); i++) { consoleWriteLn((i+1) + ": " + rows.get(i)); } consoleWriteLn(""); } String row = crtReadLine(rows.size()+1 + ": "); while (row != null && !row.equals(".")) { if (row.startsWith("!")) { StringTokenizer rst = new StringTokenizer(row); String icmd = rst.nextToken(); if (icmd.startsWith("!f")) { String confs = rst.nextToken("").substring(1); int newConf = parseNameArgs(confs, true, true); if (newConf > 0) { consoleWriteLn("** Byter mottagare till " + confNoToName(newConf)); t.addCcRecipients(t.getRecipients()); t.clearRecipients(); t.addRecipient(newConf); } } else if (icmd.startsWith("!am")) { String confs = rst.nextToken("").substring(1); int newConf = parseNameArgs(confs, true, true); if (newConf > 0) { consoleWriteLn("** Adderar " + confNoToName(newConf) + " som mottagare"); t.addRecipient(newConf); } } else if (icmd.startsWith("!sk")) { String confs = rst.nextToken("").substring(1); int newConf = parseNameArgs(confs, true, true); if (newConf > 0) { consoleWriteLn("** Subtraherar " + confNoToName(newConf) + " frn kopiemottagarlista"); t.removeCcRecipient(newConf); } } else if (icmd.startsWith("!sm")) { String confs = rst.nextToken("").substring(1); int newConf = parseNameArgs(confs, true, true); if (newConf > 0) { consoleWriteLn("** Subtraherar " + confNoToName(newConf) + " frn mottagarlista"); t.removeRecipient(newConf); } } else if (icmd.startsWith("!ak")) { String confs = rst.nextToken("").substring(1); int newConf = parseNameArgs(confs, true, true); if (newConf > 0) { consoleWriteLn("** Adderar " + confNoToName(newConf) + " som kopiemottagare"); t.addCcRecipient(newConf); } } else if (icmd.startsWith("!r")) { int changeRow = Integer.parseInt(rst.nextToken()); String thisRow = (String) rows.get(changeRow-1); consoleWriteLn("** Skriv om rad " + changeRow + ":"); consoleWriteLn(changeRow + ": " + thisRow); rows.set(changeRow-1, crtReadLine(changeRow + ": ")); consoleWriteLn(""); } else if (icmd.startsWith("!rr")) { if (rst.hasMoreTokens()) { int delRow = Integer.parseInt(rst.nextToken()); String theRow = (String) rows.get(delRow-1); consoleWriteLn("** Ta bort rad " + delRow); consoleWriteLn(delRow + ": " + theRow); if (crtReadLine("Vill du ta bort denna rad? (j/N) ").equals("j")) { rows.remove(delRow-1); } } else { consoleWriteLn("** Du mste ange ett radnummer."); } consoleWriteLn(""); } else if (icmd.startsWith("!")) { if (rst.hasMoreElements()) { subject = rst.nextToken("").substring(1); consoleWriteLn("** ndrade rende till: " + subject); } else { consoleWriteLn("** ndra rende:"); subject = crtReadLine("rende: "); } } else if (icmd.startsWith("!v")) { consoleWriteLn("** Hela texten:"); for (int i=0; i < rows.size(); i++) { consoleWriteLn((i+1) + ": " + rows.get(i)); } consoleWriteLn(""); } else if (icmd.startsWith("!q")) { return null; } else if (icmd.startsWith("!?")) { consoleWriteLn("** Kommandon i editorlge:"); consoleWriteLn(" !f <mte> Flytta texten till <mte>"); consoleWriteLn(" !am <mte> Addera <mte> som mottagare"); consoleWriteLn(" !ak <mte> Addera <mte> som kopiemottagare"); consoleWriteLn(" !rr <radnr.> Radera <radnr.>"); consoleWriteLn(" !sm <mte> Subtrahera <mte> frn mottagarlista"); consoleWriteLn(" !sk <mte> Subtrahera <mte> frn kopiemottagarlista"); consoleWriteLn(" !v Visa hela texten"); consoleWriteLn(" !q Avsluta utan att spara"); consoleWriteLn(" !r <radnr.> Skriv om rad <radnr.>"); consoleWriteLn(" ! ndra rende"); consoleWriteLn(" . Spara och avsluta"); } else { consoleWriteLn("** Oknt editorkommando"); } } else { if (row.length() > 73) { consoleWriteLn("** Varning: rad " + (rows.size()+1) + " r ver 73 tecken lng."); } rows.add(row); rowCount++; } row = crtReadLine(rows.size()+1 + ": "); } StringBuffer textb = new StringBuffer(); Iterator i = rows.iterator(); while (i.hasNext()) { textb.append(i.next().toString() + "\n"); } t.setContents((subject + "\n" + textb.toString().trim()).getBytes(Session.serverEncoding)); return t; }
|
3721 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3721/6b691be982e35d50cab64e35b14bd50b89edf526/Test2.java/buggy/nu/dll/app/test/Test2.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3867,
3874,
1528,
12,
1528,
268,
13,
565,
1216,
1860,
288,
202,
780,
3221,
273,
1731,
5808,
12,
88,
18,
588,
6638,
10663,
202,
474,
8526,
4519,
1092,
273,
268,
18,
588,
22740,
5621,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
411,
4519,
1092,
18,
2469,
31,
277,
27245,
288,
202,
565,
2983,
3067,
13780,
2932,
24749,
2692,
834,
30,
315,
397,
2195,
2279,
774,
461,
12,
1310,
1092,
63,
77,
5717,
1769,
202,
97,
202,
474,
8526,
4946,
24599,
1092,
273,
268,
18,
588,
39,
71,
22740,
5621,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
411,
4946,
24599,
1092,
18,
2469,
31,
277,
27245,
288,
202,
565,
2983,
3067,
13780,
2932,
7800,
417,
556,
77,
351,
352,
2692,
834,
30,
315,
397,
2195,
2279,
774,
461,
12,
952,
24599,
1092,
63,
77,
5717,
1769,
202,
97,
202,
430,
261,
7857,
18,
2469,
1435,
422,
374,
13,
288,
202,
565,
3221,
273,
30677,
1994,
1670,
2932,
1187,
323,
30,
315,
1769,
202,
97,
469,
288,
202,
565,
2983,
3067,
13780,
2932,
1187,
323,
30,
315,
397,
3221,
1769,
202,
97,
202,
8698,
3067,
13780,
2932,
6062,
4343,
86,
427,
1239,
5,
35,
2412,
293,
29998,
6719,
3812,
366,
78,
9953,
19134,
17,
8863,
202,
430,
261,
7857,
422,
446,
13,
327,
446,
31,
202,
474,
14888,
273,
404,
31,
202,
474,
31185,
273,
404,
31,
202,
682,
2595,
273,
268,
18,
588,
2250,
682,
5621,
202,
430,
261,
3870,
18,
1467,
1435,
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,
3867,
3874,
1528,
12,
1528,
268,
13,
565,
1216,
1860,
288,
202,
780,
3221,
273,
1731,
5808,
12,
88,
18,
588,
6638,
10663,
202,
474,
8526,
4519,
1092,
273,
268,
18,
588,
22740,
5621,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
411,
4519,
1092,
18,
2469,
31,
277,
27245,
288,
202,
565,
2983,
3067,
13780,
2932,
24749,
2692,
834,
30,
315,
397,
2195,
2279,
774,
461,
12,
1310,
1092,
63,
77,
5717,
1769,
202,
97,
202,
474,
8526,
4946,
24599,
1092,
273,
268,
18,
588,
39,
71,
22740,
5621,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
411,
4946,
24599,
1092,
18,
2469,
31,
277,
27245,
288,
202,
565,
2983,
3067,
13780,
2932,
7800,
417,
2
] |
LOG.debug("Entering nullPropertyValue [target="+target+", property="+property+"]");
|
LOG.debug("Entering nullPropertyValue [context="+context+", target="+target+", property="+property+"]");
|
public Object nullPropertyValue(Map context, Object target, Object property) { LOG.debug("Entering nullPropertyValue [target="+target+", property="+property+"]"); boolean c = OgnlContextState.isCreatingNullObjects(context); if (!c) { return null; } if ((target == null) || (property == null)) { return null; } try { String propName = property.toString(); Object realTarget = OgnlUtil.getRealTarget(propName, context, target); Class clazz = null; if (realTarget != null) { PropertyDescriptor pd = OgnlRuntime.getPropertyDescriptor(realTarget.getClass(), propName); if (pd == null) { return null; } clazz = pd.getPropertyType(); } if (clazz == null) { // can't do much here! return null; } Object param = createObject(clazz, realTarget, propName, context); Ognl.setValue(propName, context, realTarget, param); return param; } catch (Exception e) { LOG.error("Could not create and/or set value back on to object", e); } return null; }
|
16468 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/16468/155d35a22b3a788136bd5f5fb6eb91a4a0d0d7e9/InstantiatingNullHandler.java/clean/src/java/com/opensymphony/xwork/util/InstantiatingNullHandler.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
446,
16107,
12,
863,
819,
16,
1033,
1018,
16,
1033,
1272,
13,
288,
377,
202,
4842,
18,
4148,
2932,
10237,
310,
446,
16107,
306,
2472,
1546,
15,
2472,
15,
3113,
1018,
1546,
15,
3299,
15,
3113,
1272,
1546,
15,
4468,
9078,
4279,
1769,
377,
202,
6494,
276,
273,
531,
1600,
80,
1042,
1119,
18,
291,
11092,
2041,
4710,
12,
2472,
1769,
3639,
309,
16051,
71,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
309,
14015,
3299,
422,
446,
13,
747,
261,
4468,
422,
446,
3719,
288,
5411,
327,
446,
31,
3639,
289,
3639,
775,
288,
5411,
514,
9994,
273,
1272,
18,
10492,
5621,
5411,
1033,
2863,
2326,
273,
531,
1600,
80,
1304,
18,
588,
6955,
2326,
12,
5986,
461,
16,
819,
16,
1018,
1769,
5411,
1659,
4003,
273,
446,
31,
5411,
309,
261,
7688,
2326,
480,
446,
13,
288,
7734,
26761,
4863,
273,
531,
1600,
80,
5576,
18,
588,
1396,
3187,
12,
7688,
2326,
18,
588,
797,
9334,
9994,
1769,
7734,
309,
261,
22353,
422,
446,
13,
288,
10792,
327,
446,
31,
7734,
289,
7734,
4003,
273,
4863,
18,
588,
22802,
5621,
5411,
289,
5411,
309,
261,
830,
3638,
422,
446,
13,
288,
7734,
368,
848,
1404,
741,
9816,
2674,
5,
7734,
327,
446,
31,
5411,
289,
5411,
1033,
579,
273,
17109,
12,
830,
3638,
16,
2863,
2326,
16,
9994,
16,
819,
1769,
5411,
531,
1600,
80,
18,
542,
620,
12,
5986,
461,
16,
819,
16,
2863,
2326,
16,
579,
1769,
5411,
327,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
446,
16107,
12,
863,
819,
16,
1033,
1018,
16,
1033,
1272,
13,
288,
377,
202,
4842,
18,
4148,
2932,
10237,
310,
446,
16107,
306,
2472,
1546,
15,
2472,
15,
3113,
1018,
1546,
15,
3299,
15,
3113,
1272,
1546,
15,
4468,
9078,
4279,
1769,
377,
202,
6494,
276,
273,
531,
1600,
80,
1042,
1119,
18,
291,
11092,
2041,
4710,
12,
2472,
1769,
3639,
309,
16051,
71,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
309,
14015,
3299,
422,
446,
13,
747,
261,
4468,
422,
446,
3719,
288,
5411,
327,
446,
31,
3639,
289,
3639,
775,
288,
5411,
514,
9994,
273,
1272,
18,
10492,
5621,
5411,
1033,
2863,
2326,
273,
531,
1600,
80,
1304,
18,
588,
6955,
2
] |
addPropValue( content, repeat ); addPropValue( content, attach ); addPropValue( content, x ); addPropValue( content, y ); content.append( ';' );
|
private static void buildBackground( StringBuffer content, IStyle style, HTMLReportEmitter emitter ) { buildProperty( content, HTMLTags.ATTR_COLOR, style.getColor( ) ); //$NON-NLS-1$ String color = style.getBackgroundColor( ); String image = style.getBackgroundImage( ); String repeat = style.getBackgroundRepeat( ); String attach = style.getBackgroundAttachment( ); String x = style.getBackgroundPositionX( ); String y = style.getBackgroundPositionY( ); if ( color == null && image == null && !"none".equalsIgnoreCase( image ) //$NON-NLS-1$ && repeat == null && attach == null && x == null && y == null ) { return; } content.append( " background:" ); //$NON-NLS-1$ addPropValue( content, color ); if(!"none".equalsIgnoreCase( image ) ) //$NON-NLS-1$ { if ( image!=null ) { image = HTMLBaseEmitter.handleStyleImage(image, emitter); } if(image!=null && image.length()>0) { addURLValue( content, image ); } } addPropValue( content, repeat ); addPropValue( content, attach ); addPropValue( content, x ); addPropValue( content, y ); content.append( ';' ); }
|
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/26e720886eb20318d2dd7875ea22a8e430dd3bf6/AttributeBuilder.java/clean/engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/AttributeBuilder.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1361,
8199,
12,
6674,
913,
16,
1082,
202,
45,
2885,
2154,
16,
3982,
4820,
13476,
11520,
262,
202,
95,
202,
202,
3510,
1396,
12,
913,
16,
3982,
3453,
18,
12043,
67,
10989,
16,
2154,
18,
588,
2957,
12,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
780,
2036,
273,
2154,
18,
588,
21699,
12,
11272,
202,
202,
780,
1316,
273,
2154,
18,
588,
8199,
2040,
12,
11272,
202,
202,
780,
7666,
273,
2154,
18,
588,
8199,
16750,
12,
11272,
202,
202,
780,
3306,
273,
2154,
18,
588,
8199,
6803,
12,
11272,
202,
202,
780,
619,
273,
2154,
18,
588,
8199,
2555,
60,
12,
11272,
202,
202,
780,
677,
273,
2154,
18,
588,
8199,
2555,
61,
12,
11272,
202,
202,
430,
261,
2036,
422,
446,
597,
1316,
422,
446,
597,
29054,
6102,
9654,
14963,
5556,
12,
1316,
262,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
10,
10,
7666,
422,
446,
597,
3306,
422,
446,
597,
619,
422,
446,
597,
677,
422,
446,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
1745,
18,
6923,
12,
315,
5412,
2773,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
1289,
4658,
620,
12,
913,
16,
2036,
11272,
202,
202,
430,
12,
4442,
6102,
9654,
14963,
5556,
12,
1316,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
95,
1082,
202,
430,
261,
1316,
5,
33,
2011,
262,
1082,
202,
95,
9506,
202,
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,
225,
202,
1152,
760,
918,
1361,
8199,
12,
6674,
913,
16,
1082,
202,
45,
2885,
2154,
16,
3982,
4820,
13476,
11520,
262,
202,
95,
202,
202,
3510,
1396,
12,
913,
16,
3982,
3453,
18,
12043,
67,
10989,
16,
2154,
18,
588,
2957,
12,
262,
11272,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
780,
2036,
273,
2154,
18,
588,
21699,
12,
11272,
202,
202,
780,
1316,
273,
2154,
18,
588,
8199,
2040,
12,
11272,
202,
202,
780,
7666,
273,
2154,
18,
588,
8199,
16750,
12,
11272,
202,
202,
780,
3306,
273,
2154,
18,
588,
8199,
6803,
12,
11272,
202,
202,
780,
619,
273,
2154,
18,
588,
8199,
2555,
60,
12,
11272,
202,
202,
780,
677,
273,
2154,
18,
2
] |
|
return fAugmentations.get(key);
|
return fAugmentationsContainer.getItem(key);
|
public Object getItem(String key){ return fAugmentations.get(key); }
|
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/319986a3e4c201ba350fabc02f1de2891c2708b6/AugmentationsImpl.java/buggy/src/org/apache/xerces/util/AugmentationsImpl.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
8143,
12,
780,
498,
15329,
3639,
327,
284,
37,
14870,
1012,
2170,
18,
588,
1180,
12,
856,
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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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
8143,
12,
780,
498,
15329,
3639,
327,
284,
37,
14870,
1012,
2170,
18,
588,
1180,
12,
856,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
field.setInitString(init.toString()); jClass.addField(field);
|
field.setInitString(init.toString()); jClass.addField(field);
|
void processEnumerationAsNewObject(final SimpleType simpleType, final FactoryState state) { Enumeration enumeration = simpleType.getFacets("enumeration"); //-- select naming for types and instances boolean useValuesAsName = true; useValuesAsName = selectNamingScheme(enumeration, useValuesAsName); enumeration = simpleType.getFacets("enumeration"); JClass jClass = state.jClass; String className = jClass.getLocalName(); jClass.addImport("java.util.Hashtable"); JField field = null; JField fHash = new JField(SGTypes.createHashtable(_config.useJava50()), "_memberTable"); fHash.setInitString("init()"); fHash.getModifiers().setStatic(true); JSourceCode jsc = null; //-- modify constructor JConstructor constructor = jClass.getConstructor(0); constructor.getModifiers().makePrivate(); constructor.addParameter(new JParameter(JType.INT, "type")); constructor.addParameter(new JParameter(SGTypes.String, "value")); jsc = constructor.getSourceCode(); jsc.add("this.type = type;"); jsc.add("this.stringValue = value;"); //-- #valueOf method createValueOfMethod(jClass, className); //-- #enumerate method createEnumerateMethod(jClass, className); //-- #toString method createToStringMethod(jClass, className); //-- #init method JMethod mInit = createInitMethod(jClass); //-- #readResolve method createReadResolveMethod(jClass); //-- Loop through "enumeration" facets int count = 0; while (enumeration.hasMoreElements()) { Facet facet = (Facet) enumeration.nextElement(); String value = facet.getValue(); String typeName = null; String objName = null; if (useValuesAsName) { objName = translateEnumValueToIdentifier(value); } else { objName = "VALUE_" + count; } //-- create typeName //-- Note: this could cause name conflicts typeName = objName + "_TYPE"; //-- Inheritence/Duplicate name cleanup boolean addInitializerCode = true; if (jClass.getField(objName) != null) { //-- either inheritence, duplicate name, or error. //-- if inheritence or duplicate name, always take //-- the later definition. Do same if error, for now. jClass.removeField(objName); jClass.removeField(typeName); addInitializerCode = false; } //-- handle int type field = new JField(JType.INT, typeName); field.setComment("The " + value + " type"); JModifiers modifiers = field.getModifiers(); modifiers.setFinal(true); modifiers.setStatic(true); modifiers.makePublic(); field.setInitString(Integer.toString(count)); jClass.addField(field); //-- handle Class type field = new JField(jClass, objName); field.setComment("The instance of the " + value + " type"); modifiers = field.getModifiers(); modifiers.setFinal(true); modifiers.setStatic(true); modifiers.makePublic(); StringBuffer init = new StringBuffer(); init.append("new "); init.append(className); init.append("("); init.append(typeName); init.append(", \""); init.append(escapeValue(value)); init.append("\")"); field.setInitString(init.toString()); jClass.addField(field); //-- initializer method if (addInitializerCode) { jsc = mInit.getSourceCode(); jsc.add("members.put(\""); jsc.append(escapeValue(value)); if (_caseInsensitive) { jsc.append("\".toLowerCase(), "); } else { jsc.append("\", "); } jsc.append(objName); jsc.append(");"); } ++count; } //-- finish init method mInit.getSourceCode().add("return members;"); //-- add memberTable to the class, we can only add this after all the types, //-- or we'll create source code that will generate null pointer exceptions, //-- because calling init() will try to add null values to the hashtable. jClass.addField(fHash); //-- add internal type field = new JField(JType.INT, "type"); field.setInitString("-1"); jClass.addField(field); //-- add internal stringValue field = new JField(SGTypes.String, "stringValue"); field.setInitString("null"); jClass.addField(field); createGetTypeMethod(jClass, className); } //-- processEnumerationAsNewObject
|
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/2f6ea37c53da29c8f134289d7765734040129cc3/EnumerationFactory.java/buggy/castor/trunk/src/main/java/org/exolab/castor/builder/EnumerationFactory.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1207,
21847,
1463,
1908,
921,
12,
6385,
4477,
559,
4143,
559,
16,
727,
7822,
1119,
919,
13,
288,
3639,
13864,
16836,
273,
4143,
559,
18,
588,
6645,
2413,
2932,
7924,
7067,
8863,
3639,
368,
413,
2027,
14634,
364,
1953,
471,
3884,
3639,
1250,
999,
1972,
1463,
461,
273,
638,
31,
3639,
999,
1972,
1463,
461,
273,
2027,
24102,
9321,
12,
7924,
7067,
16,
999,
1972,
1463,
461,
1769,
3639,
16836,
273,
4143,
559,
18,
588,
6645,
2413,
2932,
7924,
7067,
8863,
3639,
804,
797,
525,
797,
273,
919,
18,
78,
797,
31,
3639,
514,
2658,
273,
525,
797,
18,
588,
29583,
5621,
3639,
525,
797,
18,
1289,
5010,
2932,
6290,
18,
1367,
18,
5582,
14544,
8863,
3639,
804,
974,
225,
652,
225,
273,
446,
31,
3639,
804,
974,
225,
284,
2310,
225,
273,
394,
804,
974,
12,
30820,
2016,
18,
2640,
5582,
14544,
24899,
1425,
18,
1202,
5852,
3361,
1435,
3631,
4192,
5990,
1388,
8863,
3639,
284,
2310,
18,
542,
2570,
780,
2932,
2738,
1435,
8863,
3639,
284,
2310,
18,
588,
11948,
7675,
542,
5788,
12,
3767,
1769,
3639,
804,
1830,
1085,
525,
1017,
273,
446,
31,
3639,
368,
413,
5612,
3885,
3639,
804,
6293,
3885,
273,
525,
797,
18,
588,
6293,
12,
20,
1769,
3639,
3885,
18,
588,
11948,
7675,
6540,
6014,
5621,
3639,
3885,
18,
1289,
1662,
12,
2704,
804,
1662,
12,
46,
559,
18,
3217,
16,
315,
723,
7923,
1769,
3639,
3885,
18,
1289,
1662,
12,
2704,
804,
1662,
12,
30820,
2016,
2
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1207,
21847,
1463,
1908,
921,
12,
6385,
4477,
559,
4143,
559,
16,
727,
7822,
1119,
919,
13,
288,
3639,
13864,
16836,
273,
4143,
559,
18,
588,
6645,
2413,
2932,
7924,
7067,
8863,
3639,
368,
413,
2027,
14634,
364,
1953,
471,
3884,
3639,
1250,
999,
1972,
1463,
461,
273,
638,
31,
3639,
999,
1972,
1463,
461,
273,
2027,
24102,
9321,
12,
7924,
7067,
16,
999,
1972,
1463,
461,
1769,
3639,
16836,
273,
4143,
559,
18,
588,
6645,
2413,
2932,
7924,
7067,
8863,
3639,
804,
797,
525,
797,
273,
919,
18,
78,
797,
31,
3639,
514,
2658,
273,
525,
797,
18,
588,
29583,
5621,
3639,
525,
797,
18,
1289,
5010,
2932,
6290,
18,
1367,
18,
5582,
14544,
8863,
3639,
2
] |
command.setCommandId(getNextCommandId());
|
if (command.getCommandId() == 0) { command.setCommandId(getNextCommandId()); }
|
public FutureResponse asyncRequest(Command command) throws IOException { command.setCommandId(getNextCommandId()); command.setResponseRequired(true); FutureResponse future = new FutureResponse(); requestMap.put(new Integer(command.getCommandId()), future); next.oneway(command); return future; }
|
17032 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17032/72b382d0bd120ea500b56c53a9ed7a6b0fb07331/ResponseCorrelator.java/clean/activemq-core/src/main/java/org/apache/activemq/transport/ResponseCorrelator.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9108,
1064,
4326,
691,
12,
2189,
1296,
13,
1216,
1860,
288,
540,
309,
261,
3076,
18,
588,
2189,
548,
1435,
422,
374,
13,
288,
1296,
18,
542,
2189,
548,
12,
588,
2134,
2189,
548,
10663,
289,
3639,
1296,
18,
542,
1064,
3705,
12,
3767,
1769,
3639,
9108,
1064,
3563,
273,
394,
9108,
1064,
5621,
3639,
590,
863,
18,
458,
12,
2704,
2144,
12,
3076,
18,
588,
2189,
548,
1435,
3631,
3563,
1769,
3639,
1024,
18,
265,
359,
528,
12,
3076,
1769,
3639,
327,
3563,
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,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9108,
1064,
4326,
691,
12,
2189,
1296,
13,
1216,
1860,
288,
540,
309,
261,
3076,
18,
588,
2189,
548,
1435,
422,
374,
13,
288,
1296,
18,
542,
2189,
548,
12,
588,
2134,
2189,
548,
10663,
289,
3639,
1296,
18,
542,
1064,
3705,
12,
3767,
1769,
3639,
9108,
1064,
3563,
273,
394,
9108,
1064,
5621,
3639,
590,
863,
18,
458,
12,
2704,
2144,
12,
3076,
18,
588,
2189,
548,
1435,
3631,
3563,
1769,
3639,
1024,
18,
265,
359,
528,
12,
3076,
1769,
3639,
327,
3563,
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
] |
super(position);
|
super(position, NodeTypes.DEFSNODE);
|
public DefsNode(ISourcePosition position, Node receiverNode, String name, Node argsNode, ScopeNode bodyNode) { super(position); this.receiverNode = receiverNode; this.name = name.intern(); this.argsNode = argsNode; this.bodyNode = bodyNode; }
|
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/6e15491217631472c05c6928672f9c7064a978b3/DefsNode.java/buggy/src/org/jruby/ast/DefsNode.java
|
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1505,
2556,
907,
12,
45,
1830,
2555,
1754,
16,
2029,
5971,
907,
16,
514,
508,
16,
2029,
833,
907,
16,
5468,
907,
1417,
907,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
1639,
4931,
8744,
1769,
3639,
333,
18,
24454,
907,
273,
5971,
907,
31,
3639,
333,
18,
529,
273,
508,
18,
267,
798,
5621,
3639,
333,
18,
1968,
907,
273,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] |
[
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1505,
2556,
907,
12,
45,
1830,
2555,
1754,
16,
2029,
5971,
907,
16,
514,
508,
16,
2029,
833,
907,
16,
5468,
907,
1417,
907,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
1639,
4931,
8744,
1769,
3639,
333,
18,
24454,
907,
273,
5971,
907,
31,
3639,
333,
18,
529,
273,
508,
18,
267,
798,
5621,
3639,
333,
18,
1968,
907,
273,
833,
907,
31,
3639,
333,
18,
3432,
907,
273,
1417,
907,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.